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.6.2.
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.6.2'
274 PACKAGE_STRING
='wxWidgets 2.6.2'
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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP 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 RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_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 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 ac_ct_AR ac_ct_STRIP 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_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 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_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_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 WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_EXTRALIBS WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL 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.6.2 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.6.2:";;
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-compat22 enable wxWidgets
2.2 compatibility
893 --disable-compat24 disable wxWidgets
2.4 compatibility
894 --disable-rpath disable use of rpath
for uninstalled builds
895 --enable-intl use internationalization system
896 --enable-config use wxConfig
(and derived
) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP
(requires wxProtocol
899 --enable-http use wxHTTP
(requires wxProtocol
900 --enable-fileproto use wxFileProto class
(requires wxProtocol
901 --enable-sockets use socket
/network classes
902 --enable-ole use OLE classes
(Win32 only
)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication
(wxSocket etc.
)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-arcstream use wxArchive streams
907 --enable-backtrace use wxStackWalker class
for getting backtraces
908 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
909 --enable-cmdline use wxCmdLineParser class
910 --enable-datetime use wxDateTime class
911 --enable-debugreport use wxDebugReport class
912 --enable-dialupman use dialup network classes
913 --enable-dynlib use wxLibrary class
for DLL loading
914 --enable-dynamicloader use
(new
) wxDynamicLibrary class
915 --enable-exceptions build exception
-safe library
916 --enable-ffile use wxFFile class
917 --enable-file use wxFile class
918 --enable-filesystem use virtual
file systems classes
919 --enable-fontmap use font encodings conversion classes
920 --enable-fs_inet use virtual HTTP
/FTP filesystems
921 --enable-fs_zip use virtual ZIP filesystems
922 --enable-geometry use geometry class
923 --enable-log use logging system
924 --enable-longlong use wxLongLong class
925 --enable-mimetype use wxMimeTypesManager
926 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
927 --enable-snglinst use wxSingleInstanceChecker class
928 --enable-std_iostreams use standard C
++ stream classes
929 --enable-std_string use standard C
++ string classes
930 --enable-stdpaths use wxStandardPaths class
931 --enable-stopwatch use wxStopWatch class
932 --enable-streams use wxStream etc classes
933 --enable-sysoptions use wxSystemOptions
934 --enable-textbuf use wxTextBuffer class
935 --enable-textfile use wxTextFile class
936 --enable-timer use wxTimer class
937 --enable-unicode compile wxString with Unicode support
938 --enable-sound use wxSound class
939 --enable-mediactrl use wxMediaCtrl class
940 --enable-wxprintfv use wxWidgets implementation of vprintf
()
941 --enable-zipstream use wxZip streams
942 --enable-url use wxURL class
943 --enable-protocol use wxProtocol class
944 --enable-protocol-http HTTP support
in wxProtocol
945 --enable-protocol-ftp FTP support
in wxProtocol
946 --enable-protocol-file FILE support
in wxProtocol
947 --enable-threads use threads
948 --enable-docview use document view architecture
949 --enable-help use
help subsystem
950 --enable-mshtmlhelp use MS HTML Help
(win32
)
951 --enable-html use wxHTML sub
-library
952 --enable-htmlhelp use wxHTML
-based help
953 --enable-xrc use XRC resources sub
-library
954 --enable-constraints use layout
-constraints system
955 --enable-printarch use printing architecture
956 --enable-mdi use multiple document interface architecture
957 --enable-mdidoc use docview architecture with MDI
958 --enable-loggui use standard GUI logger
959 --enable-logwin use wxLogWindow
960 --enable-logdialog use wxLogDialog
961 --enable-webkit use wxWebKitCtrl
(Mac
)
962 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
963 --enable-prologio not available
; see contrib
964 --enable-resources not available
; see contrib
965 --enable-clipboard use wxClipboard class
966 --enable-dnd use Drag
'n'Drop classes
967 --enable-metafile use win32 metafiles
968 --enable-controls use all usual controls
969 --enable-accel use accelerators
970 --enable-button use wxButton class
971 --enable-bmpbutton use wxBitmapButton class
972 --enable-calendar use wxCalendarCtrl class
973 --enable-caret use wxCaret class
974 --enable-checkbox use wxCheckBox class
975 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
976 --enable-choice use wxChoice class
977 --enable-choicebook use wxChoicebook class
978 --enable-combobox use wxComboBox class
979 --enable-datepick use wxDatePickerCtrl class
980 --enable-display use wxDisplay class
981 --enable-gauge use wxGauge class
982 --enable-grid use wxGrid class
983 --enable-imaglist use wxImageList class
984 --enable-listbook use wxListbook class
985 --enable-listbox use wxListBox class
986 --enable-listctrl use wxListCtrl class
987 --enable-notebook use wxNotebook class
988 --enable-radiobox use wxRadioBox class
989 --enable-radiobtn use wxRadioButton class
990 --enable-sash use wxSashWindow class
991 --enable-scrollbar use wxScrollBar class and scrollable windows
992 --enable-slider use wxSlider class
993 --enable-spinbtn use wxSpinButton class
994 --enable-spinctrl use wxSpinCtrl class
995 --enable-splitter use wxSplitterWindow class
996 --enable-statbmp use wxStaticBitmap class
997 --enable-statbox use wxStaticBox class
998 --enable-statline use wxStaticLine class
999 --enable-stattext use wxStaticText class
1000 --enable-statusbar use wxStatusBar class
1001 --enable-tabdialog use wxTabControl class
1002 --enable-textctrl use wxTextCtrl class
1003 --enable-togglebtn use wxToggleButton class
1004 --enable-toolbar use wxToolBar class
1005 --enable-tbarnative use native wxToolBar class
1006 --enable-tbarsmpl use wxToolBarSimple class
1007 --enable-treectrl use wxTreeCtrl class
1008 --enable-tipwindow use wxTipWindow class
1009 --enable-popupwin use wxPopUpWindow class
1010 --enable-commondlg use all common dialogs
1011 --enable-choicedlg use wxChoiceDialog
1012 --enable-coldlg use wxColourDialog
1013 --enable-filedlg use wxFileDialog
1014 --enable-finddlg use wxFindReplaceDialog
1015 --enable-fontdlg use wxFontDialog
1016 --enable-dirdlg use wxDirDialog
1017 --enable-msgdlg use wxMessageDialog
1018 --enable-numberdlg use wxNumberEntryDialog
1019 --enable-splash use wxSplashScreen
1020 --enable-textdlg use wxTextDialog
1021 --enable-tipdlg use startup tips
1022 --enable-progressdlg use wxProgressDialog
1023 --enable-wizarddlg use wxWizard
1024 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1025 --enable-miniframe use wxMiniFrame class
1026 --enable-tooltips use wxToolTip class
1027 --enable-splines use spline drawing code
1028 --enable-mousewheel use mousewheel
1029 --enable-validators use wxValidator and derived classes
1030 --enable-busyinfo use wxBusyInfo
1031 --enable-joystick use wxJoystick
1032 --enable-metafiles use wxMetaFile
(Win32 only
)
1033 --enable-dragimage use wxDragImage
1034 --enable-accessibility enable accessibility support
1035 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1036 --enable-palette use wxPalette class
1037 --enable-image use wxImage class
1038 --enable-gif use gif images
(GIF
file format
)
1039 --enable-pcx use pcx images
(PCX
file format
)
1040 --enable-iff use iff images
(IFF
file format
)
1041 --enable-pnm use pnm images
(PNM
file format
)
1042 --enable-xpm use xpm images
(XPM
file format
)
1043 --enable-icocur use Windows ICO and CUR formats
1044 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1045 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1046 --disable-largefile omit support
for large files
1047 --disable-gtktest do not try to compile and run a
test GTK
+ program
1048 --disable-gtktest Do not try to compile and run a
test GTK program
1049 --disable-sdltest Do not try to compile and run a
test SDL program
1050 --enable-omf use OMF object format
(OS
/2)
1051 --disable-precomp-headers
1052 don
't use precompiled headers even if compiler can
1055 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1056 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1057 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1058 --with-motif use Motif/Lesstif
1059 --with-mac use Mac OS X
1060 --with-cocoa use Cocoa
1061 --with-wine use Wine
1062 --with-msw use MS-Windows
1063 --with-pm use OS/2 Presentation Manager
1064 --with-mgl use SciTech MGL
1065 --with-microwin use MicroWindows
1067 --with-libpng use libpng (PNG image format)
1068 --with-libjpeg use libjpeg (JPEG file format)
1069 --with-libtiff use libtiff (TIFF file format)
1070 --with-libxpm use libxpm (XPM file format)
1071 --with-libmspack use libmspack (CHM help files loading)
1072 --with-sdl use SDL for audio on Unix
1073 --with-gnomeprint use GNOME print for printing under Unix
1074 --with-opengl use OpenGL (or Mesa)
1075 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1076 --with-regex enable support for wxRegEx class
1077 --with-zlib use zlib for LZW compression
1078 --with-odbc use the IODBC and wxODBC classes
1079 --with-expat enable XML support using expat parser
1080 --with-flavour=NAME specify a name to identify this build
1081 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1082 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1083 --with-x use the X Window System
1084 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1085 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1086 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1087 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1088 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1090 Some influential environment variables:
1091 CC C compiler command
1092 CFLAGS C compiler flags
1093 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1094 nonstandard directory <lib dir>
1095 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1096 headers in a nonstandard directory <include dir>
1098 CXX C++ compiler command
1099 CXXFLAGS C++ compiler flags
1100 CXXCPP C++ preprocessor
1102 Use these variables to override the choices made by `configure' or to
help
1103 it to
find libraries and programs with nonstandard names
/locations.
1105 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1109 if test "$ac_init_help" = "recursive"; then
1110 # If there are subdirs, report their specific --help.
1112 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1113 test -d $ac_dir || continue
1116 if test "$ac_dir" != .
; then
1117 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1118 # A "../" for each directory in $ac_dir_suffix.
1119 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1121 ac_dir_suffix
= ac_top_builddir
=
1125 .
) # No --srcdir option. We are building in place.
1127 if test -z "$ac_top_builddir"; then
1130 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1132 [\\/]* | ?
:[\\/]* ) # Absolute path.
1133 ac_srcdir
=$srcdir$ac_dir_suffix;
1134 ac_top_srcdir
=$srcdir ;;
1136 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1137 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1140 # Do not use `cd foo && pwd` to compute absolute paths, because
1141 # the directories may not exist.
1143 .
) ac_abs_builddir
="$ac_dir";;
1146 .
) ac_abs_builddir
=`pwd`;;
1147 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1148 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1151 case $ac_abs_builddir in
1152 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1154 case ${ac_top_builddir}.
in
1155 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1156 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1157 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1160 case $ac_abs_builddir in
1161 .
) ac_abs_srcdir
=$ac_srcdir;;
1164 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1165 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1166 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1169 case $ac_abs_builddir in
1170 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1172 case $ac_top_srcdir in
1173 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1174 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1175 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1180 # Check for guested configure; otherwise get Cygnus style configure.
1181 if test -f $ac_srcdir/configure.gnu
; then
1183 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1184 elif test -f $ac_srcdir/configure
; then
1186 $SHELL $ac_srcdir/configure
--help=recursive
1187 elif test -f $ac_srcdir/configure.ac
||
1188 test -f $ac_srcdir/configure.
in; then
1190 $ac_configure --help
1192 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1198 test -n "$ac_init_help" && exit 0
1199 if $ac_init_version; then
1201 wxWidgets configure
2.6.2
1202 generated by GNU Autoconf
2.59
1204 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1205 This configure
script is free software
; the Free Software Foundation
1206 gives unlimited permission to copy
, distribute and modify it.
1212 This file contains any messages produced by compilers while
1213 running configure, to aid debugging if configure makes a mistake.
1215 It was created by wxWidgets $as_me 2.6.2, which was
1216 generated by GNU Autoconf 2.59. Invocation command line was
1227 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1228 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1229 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1230 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1231 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1233 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1234 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1236 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1237 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1238 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1239 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1240 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1241 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1242 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1250 test -z "$as_dir" && as_dir
=.
1251 echo "PATH: $as_dir"
1266 # Keep a trace of the command line.
1267 # Strip out --no-create and --no-recursion so they do not pile up.
1268 # Strip out --silent because we don't want to record it for future runs.
1269 # Also quote any args containing shell meta-characters.
1270 # Make two passes to allow for proper duplicate-argument suppression.
1275 ac_must_keep_next
=false
1281 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1282 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1283 | -silent | --silent | --silen | --sile | --sil)
1285 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1286 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1289 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1291 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1292 if test $ac_must_keep_next = true
; then
1293 ac_must_keep_next
=false
# Got value, back to normal.
1296 *=* | --config-cache | -C | -disable-* | --disable-* \
1297 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1298 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1299 | -with-* | --with-* | -without-* | --without-* | --x)
1300 case "$ac_configure_args0 " in
1301 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1304 -* ) ac_must_keep_next
=true
;;
1307 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1308 # Get rid of the leading space.
1314 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1315 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1317 # When interrupted or exit'd, cleanup temporary files, and complete
1318 # config.log. We remove comments because anyway the quotes in there
1319 # would cause problems or look ugly.
1320 # WARNING: Be sure not to use single quotes in there, as some shells,
1321 # such as our DU 5.0 friend, will then `close' the trap.
1322 trap 'exit_status=$?
1323 # Save into config.log some information that might help in debugging.
1328 ## ---------------- ##
1329 ## Cache variables. ##
1330 ## ---------------- ##
1333 # The following way of writing the cache mishandles newlines in values,
1336 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1339 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1340 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1344 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1351 ## ----------------- ##
1352 ## Output variables. ##
1353 ## ----------------- ##
1356 for ac_var in $ac_subst_vars
1358 eval ac_val=$`echo $ac_var`
1359 echo "$ac_var='"'"'$ac_val'"'"'"
1363 if test -n "$ac_subst_files"; then
1370 for ac_var in $ac_subst_files
1372 eval ac_val=$`echo $ac_var`
1373 echo "$ac_var='"'"'$ac_val'"'"'"
1378 if test -s confdefs.h; then
1385 sed "/^$/d" confdefs.h | sort
1388 test "$ac_signal" != 0 &&
1389 echo "$as_me: caught signal $ac_signal"
1390 echo "$as_me: exit $exit_status"
1392 rm -f core *.core &&
1393 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1396 for ac_signal
in 1 2 13 15; do
1397 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1401 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1402 rm -rf conftest
* confdefs.h
1403 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1406 # Predefined preprocessor variables.
1408 cat >>confdefs.h
<<_ACEOF
1409 #define PACKAGE_NAME "$PACKAGE_NAME"
1413 cat >>confdefs.h
<<_ACEOF
1414 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1418 cat >>confdefs.h
<<_ACEOF
1419 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1423 cat >>confdefs.h
<<_ACEOF
1424 #define PACKAGE_STRING "$PACKAGE_STRING"
1428 cat >>confdefs.h
<<_ACEOF
1429 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1433 # Let the site file select an alternate cache file if it wants to.
1434 # Prefer explicitly selected file to automatically selected ones.
1435 if test -z "$CONFIG_SITE"; then
1436 if test "x$prefix" != xNONE
; then
1437 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1439 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1442 for ac_site_file
in $CONFIG_SITE; do
1443 if test -r "$ac_site_file"; then
1444 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1445 echo "$as_me: loading site script $ac_site_file" >&6;}
1446 sed 's/^/| /' "$ac_site_file" >&5
1451 if test -r "$cache_file"; then
1452 # Some versions of bash will fail to source /dev/null (special
1453 # files actually), so we avoid doing that.
1454 if test -f "$cache_file"; then
1455 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1456 echo "$as_me: loading cache $cache_file" >&6;}
1458 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1459 *) . .
/$cache_file;;
1463 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1464 echo "$as_me: creating cache $cache_file" >&6;}
1468 # Check that the precious variables saved in the cache have kept the same
1470 ac_cache_corrupted
=false
1471 for ac_var
in `(set) 2>&1 |
1472 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1473 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1474 eval ac_new_set
=\
$ac_env_${ac_var}_set
1475 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1476 eval ac_new_val
="\$ac_env_${ac_var}_value"
1477 case $ac_old_set,$ac_new_set in
1479 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1480 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1481 ac_cache_corrupted
=: ;;
1483 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1484 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1485 ac_cache_corrupted
=: ;;
1488 if test "x$ac_old_val" != "x$ac_new_val"; then
1489 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1490 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1491 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1492 echo "$as_me: former value: $ac_old_val" >&2;}
1493 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1494 echo "$as_me: current value: $ac_new_val" >&2;}
1495 ac_cache_corrupted
=:
1498 # Pass precious variables to config.status.
1499 if test "$ac_new_set" = set; then
1501 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1502 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1503 *) ac_arg
=$ac_var=$ac_new_val ;;
1505 case " $ac_configure_args " in
1506 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1507 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1511 if $ac_cache_corrupted; then
1512 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1513 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1514 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1515 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1516 { (exit 1); exit 1; }; }
1520 ac_cpp
='$CPP $CPPFLAGS'
1521 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1522 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1523 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1555 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1556 if test -f $ac_dir/install-sh; then
1558 ac_install_sh
="$ac_aux_dir/install-sh -c"
1560 elif test -f $ac_dir/install.sh
; then
1562 ac_install_sh
="$ac_aux_dir/install.sh -c"
1564 elif test -f $ac_dir/shtool
; then
1566 ac_install_sh
="$ac_aux_dir/shtool install -c"
1570 if test -z "$ac_aux_dir"; then
1571 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1572 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1573 { (exit 1); exit 1; }; }
1575 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1576 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1577 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1579 # Make sure we can run config.sub.
1580 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1581 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1582 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1583 { (exit 1); exit 1; }; }
1585 echo "$as_me:$LINENO: checking build system type" >&5
1586 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1587 if test "${ac_cv_build+set}" = set; then
1588 echo $ECHO_N "(cached) $ECHO_C" >&6
1590 ac_cv_build_alias
=$build_alias
1591 test -z "$ac_cv_build_alias" &&
1592 ac_cv_build_alias
=`$ac_config_guess`
1593 test -z "$ac_cv_build_alias" &&
1594 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1595 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1596 { (exit 1); exit 1; }; }
1597 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1598 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1599 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1600 { (exit 1); exit 1; }; }
1603 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1604 echo "${ECHO_T}$ac_cv_build" >&6
1606 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1607 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1608 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1611 echo "$as_me:$LINENO: checking host system type" >&5
1612 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1613 if test "${ac_cv_host+set}" = set; then
1614 echo $ECHO_N "(cached) $ECHO_C" >&6
1616 ac_cv_host_alias
=$host_alias
1617 test -z "$ac_cv_host_alias" &&
1618 ac_cv_host_alias
=$ac_cv_build_alias
1619 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1620 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1621 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1622 { (exit 1); exit 1; }; }
1625 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1626 echo "${ECHO_T}$ac_cv_host" >&6
1628 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1629 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1630 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1633 echo "$as_me:$LINENO: checking target system type" >&5
1634 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1635 if test "${ac_cv_target+set}" = set; then
1636 echo $ECHO_N "(cached) $ECHO_C" >&6
1638 ac_cv_target_alias
=$target_alias
1639 test "x$ac_cv_target_alias" = "x" &&
1640 ac_cv_target_alias
=$ac_cv_host_alias
1641 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1642 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1643 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1644 { (exit 1); exit 1; }; }
1647 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1648 echo "${ECHO_T}$ac_cv_target" >&6
1649 target
=$ac_cv_target
1650 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1651 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1652 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1655 # The aliases save the names the user supplied, while $host etc.
1656 # will get canonicalized.
1657 test -n "$target_alias" &&
1658 test "$program_prefix$program_suffix$program_transform_name" = \
1660 program_prefix
=${target_alias}-
1664 wx_major_version_number
=2
1665 wx_minor_version_number
=6
1667 wx_subrelease_number
=1
1669 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1670 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1671 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1673 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1686 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1692 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1698 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1700 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1702 DEFAULT_wxUSE_COCOA
=0
1706 DEFAULT_wxUSE_MICROWIN
=0
1707 DEFAULT_wxUSE_MOTIF
=0
1712 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1713 DEFAULT_DEFAULT_wxUSE_GTK
=0
1714 DEFAULT_DEFAULT_wxUSE_MAC
=0
1715 DEFAULT_DEFAULT_wxUSE_MGL
=0
1716 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1717 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1718 DEFAULT_DEFAULT_wxUSE_MSW
=0
1719 DEFAULT_DEFAULT_wxUSE_PM
=0
1720 DEFAULT_DEFAULT_wxUSE_X11
=0
1725 SAMPLES_RPATH_POSTLINK
=
1727 DEFAULT_STD_FLAG
=yes
1732 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1733 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1735 cat >>confdefs.h
<<\_ACEOF
1742 cat >>confdefs.h
<<\_ACEOF
1747 if test "x$TMP" = "xalpha"; then
1749 cat >>confdefs.h
<<\_ACEOF
1754 DEFAULT_DEFAULT_wxUSE_GTK
=1
1756 *-*-gnu* | *-*-k*bsd
*-gnu )
1759 if test "x$TMP" = "xalpha"; then
1761 cat >>confdefs.h
<<\_ACEOF
1766 DEFAULT_DEFAULT_wxUSE_GTK
=1
1768 *-*-irix5* | *-*-irix6* )
1771 cat >>confdefs.h
<<\_ACEOF
1775 cat >>confdefs.h
<<\_ACEOF
1779 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1785 cat >>confdefs.h
<<\_ACEOF
1789 cat >>confdefs.h
<<\_ACEOF
1790 #define __SOLARIS__ 1
1793 cat >>confdefs.h
<<\_ACEOF
1797 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1798 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1804 cat >>confdefs.h
<<\_ACEOF
1808 cat >>confdefs.h
<<\_ACEOF
1812 cat >>confdefs.h
<<\_ACEOF
1816 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1821 cat >>confdefs.h
<<\_ACEOF
1822 #define __FREEBSD__ 1
1825 cat >>confdefs.h
<<\_ACEOF
1829 DEFAULT_DEFAULT_wxUSE_GTK
=1
1834 cat >>confdefs.h
<<\_ACEOF
1835 #define __OPENBSD__ 1
1838 cat >>confdefs.h
<<\_ACEOF
1842 DEFAULT_DEFAULT_wxUSE_GTK
=1
1847 cat >>confdefs.h
<<\_ACEOF
1848 #define __NETBSD__ 1
1851 cat >>confdefs.h
<<\_ACEOF
1855 DEFAULT_DEFAULT_wxUSE_GTK
=1
1860 cat >>confdefs.h
<<\_ACEOF
1864 cat >>confdefs.h
<<\_ACEOF
1868 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1869 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1874 cat >>confdefs.h
<<\_ACEOF
1878 cat >>confdefs.h
<<\_ACEOF
1882 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1887 cat >>confdefs.h
<<\_ACEOF
1891 cat >>confdefs.h
<<\_ACEOF
1895 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1902 cat >>confdefs.h
<<\_ACEOF
1906 cat >>confdefs.h
<<\_ACEOF
1910 cat >>confdefs.h
<<\_ACEOF
1914 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1921 cat >>confdefs.h
<<\_ACEOF
1922 #define __UNIXWARE__ 1
1927 *-*-cygwin* | *-*-mingw32* )
1931 DEFAULT_DEFAULT_wxUSE_MSW
=1
1938 cat >>confdefs.h
<<\_ACEOF
1943 DEFAULT_DEFAULT_wxUSE_MGL
=1
1946 *-pc-os2_emx | *-pc-os2-emx )
1947 cat >>confdefs.h
<<\_ACEOF
1952 cat >>confdefs.h
<<\_ACEOF
1957 DEFAULT_DEFAULT_wxUSE_PM
=1
1959 LDFLAGS
="$LDFLAGS -Zcrtdll"
1960 ac_executable_extensions
=".exe"
1961 export ac_executable_extensions
1965 for ac_dir
in $PATH; do
1967 if test -z "$ac_TEMP_PATH"; then
1968 ac_TEMP_PATH
="$ac_dir"
1970 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1973 export PATH
="$ac_TEMP_PATH"
1982 cat >>confdefs.h
<<\_ACEOF
1986 cat >>confdefs.h
<<\_ACEOF
1987 #define __DARWIN__ 1
1990 cat >>confdefs.h
<<\_ACEOF
1991 #define TARGET_CARBON 1
1994 DEFAULT_DEFAULT_wxUSE_MAC
=1
1997 powerpc
-apple-macos* )
1999 ac_cv_c_bigendian
=yes
2001 DEFAULT_DEFAULT_wxUSE_MAC
=1
2007 cat >>confdefs.h
<<\_ACEOF
2014 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2015 echo "$as_me: error: unknown system type ${host}." >&2;}
2016 { (exit 1); exit 1; }; }
2022 wx_arg_cache_file
="configarg.cache"
2023 echo "loading argument cache $wx_arg_cache_file"
2024 rm -f ${wx_arg_cache_file}.tmp
2025 touch ${wx_arg_cache_file}.tmp
2026 touch ${wx_arg_cache_file}
2030 if test $DEBUG_CONFIGURE = 1; then
2031 DEFAULT_wxUSE_UNIVERSAL
=no
2032 DEFAULT_wxUSE_STL
=no
2034 DEFAULT_wxUSE_NANOX
=no
2036 DEFAULT_wxUSE_THREADS
=yes
2038 DEFAULT_wxUSE_SHARED
=yes
2039 DEFAULT_wxUSE_OPTIMISE
=no
2040 DEFAULT_wxUSE_PROFILE
=no
2041 DEFAULT_wxUSE_NO_DEPS
=no
2042 DEFAULT_wxUSE_NO_RTTI
=no
2043 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2044 DEFAULT_wxUSE_RPATH
=yes
2045 DEFAULT_wxUSE_PERMISSIVE
=no
2046 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2047 DEFAULT_wxUSE_DEBUG_INFO
=yes
2048 DEFAULT_wxUSE_DEBUG_GDB
=yes
2049 DEFAULT_wxUSE_MEM_TRACING
=no
2050 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2051 DEFAULT_wxUSE_DMALLOC
=no
2052 DEFAULT_wxUSE_APPLE_IEEE
=no
2054 DEFAULT_wxUSE_EXCEPTIONS
=no
2055 DEFAULT_wxUSE_LOG
=yes
2056 DEFAULT_wxUSE_LOGWINDOW
=no
2057 DEFAULT_wxUSE_LOGGUI
=no
2058 DEFAULT_wxUSE_LOGDIALOG
=no
2060 DEFAULT_wxUSE_GUI
=yes
2061 DEFAULT_wxUSE_CONTROLS
=no
2063 DEFAULT_wxUSE_REGEX
=no
2064 DEFAULT_wxUSE_XML
=no
2065 DEFAULT_wxUSE_EXPAT
=no
2066 DEFAULT_wxUSE_ZLIB
=no
2067 DEFAULT_wxUSE_LIBPNG
=no
2068 DEFAULT_wxUSE_LIBJPEG
=no
2069 DEFAULT_wxUSE_LIBTIFF
=no
2070 DEFAULT_wxUSE_LIBXPM
=no
2071 DEFAULT_wxUSE_LIBMSPACK
=no
2072 DEFAULT_wxUSE_LIBSDL
=no
2073 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2074 DEFAULT_wxUSE_ODBC
=no
2075 DEFAULT_wxUSE_OPENGL
=no
2077 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2078 DEFAULT_wxUSE_STACKWALKER
=no
2079 DEFAULT_wxUSE_DEBUGREPORT
=no
2080 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2081 DEFAULT_wxUSE_STD_IOSTREAM
=no
2082 DEFAULT_wxUSE_STD_STRING
=no
2083 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2084 DEFAULT_wxUSE_DATETIME
=no
2085 DEFAULT_wxUSE_TIMER
=no
2086 DEFAULT_wxUSE_STOPWATCH
=no
2087 DEFAULT_wxUSE_FILE
=no
2088 DEFAULT_wxUSE_FFILE
=no
2089 DEFAULT_wxUSE_STDPATHS
=no
2090 DEFAULT_wxUSE_TEXTBUFFER
=no
2091 DEFAULT_wxUSE_TEXTFILE
=no
2092 DEFAULT_wxUSE_SOUND
=no
2093 DEFAULT_wxUSE_MEDIACTRL
=no
2094 DEFAULT_wxUSE_INTL
=no
2095 DEFAULT_wxUSE_CONFIG
=no
2096 DEFAULT_wxUSE_FONTMAP
=no
2097 DEFAULT_wxUSE_STREAMS
=no
2098 DEFAULT_wxUSE_SOCKETS
=no
2099 DEFAULT_wxUSE_OLE
=no
2100 DEFAULT_wxUSE_DATAOBJ
=no
2101 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2102 DEFAULT_wxUSE_JOYSTICK
=no
2103 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2104 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2105 DEFAULT_wxUSE_LONGLONG
=no
2106 DEFAULT_wxUSE_GEOMETRY
=no
2108 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2109 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2110 DEFAULT_wxUSE_POSTSCRIPT
=no
2112 DEFAULT_wxUSE_CLIPBOARD
=no
2113 DEFAULT_wxUSE_TOOLTIPS
=no
2114 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2115 DEFAULT_wxUSE_DRAGIMAGE
=no
2116 DEFAULT_wxUSE_SPLINES
=no
2117 DEFAULT_wxUSE_MOUSEWHEEL
=no
2119 DEFAULT_wxUSE_MDI
=no
2120 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2121 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2122 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2124 DEFAULT_wxUSE_RESOURCES
=no
2125 DEFAULT_wxUSE_CONSTRAINTS
=no
2126 DEFAULT_wxUSE_IPC
=no
2127 DEFAULT_wxUSE_HELP
=no
2128 DEFAULT_wxUSE_MS_HTML_HELP
=no
2129 DEFAULT_wxUSE_WXHTML_HELP
=no
2130 DEFAULT_wxUSE_TREELAYOUT
=no
2131 DEFAULT_wxUSE_METAFILE
=no
2132 DEFAULT_wxUSE_MIMETYPE
=no
2133 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2134 DEFAULT_wxUSE_PROTOCOL
=no
2135 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2136 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2137 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2138 DEFAULT_wxUSE_URL
=no
2140 DEFAULT_wxUSE_COMMONDLGS
=no
2141 DEFAULT_wxUSE_CHOICEDLG
=no
2142 DEFAULT_wxUSE_COLOURDLG
=no
2143 DEFAULT_wxUSE_DIRDLG
=no
2144 DEFAULT_wxUSE_FILEDLG
=no
2145 DEFAULT_wxUSE_FINDREPLDLG
=no
2146 DEFAULT_wxUSE_FONTDLG
=no
2147 DEFAULT_wxUSE_MSGDLG
=no
2148 DEFAULT_wxUSE_NUMBERDLG
=no
2149 DEFAULT_wxUSE_TEXTDLG
=no
2150 DEFAULT_wxUSE_SPLASH
=no
2151 DEFAULT_wxUSE_STARTUP_TIPS
=no
2152 DEFAULT_wxUSE_PROGRESSDLG
=no
2153 DEFAULT_wxUSE_WIZARDDLG
=no
2155 DEFAULT_wxUSE_MENUS
=no
2156 DEFAULT_wxUSE_MINIFRAME
=no
2157 DEFAULT_wxUSE_HTML
=no
2158 DEFAULT_wxUSE_XRC
=no
2159 DEFAULT_wxUSE_WEBKIT
=no
2160 DEFAULT_wxUSE_FILESYSTEM
=no
2161 DEFAULT_wxUSE_FS_INET
=no
2162 DEFAULT_wxUSE_FS_ZIP
=no
2163 DEFAULT_wxUSE_BUSYINFO
=no
2164 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2165 DEFAULT_wxUSE_ZIPSTREAM
=no
2166 DEFAULT_wxUSE_VALIDATORS
=no
2168 DEFAULT_wxUSE_ACCEL
=no
2169 DEFAULT_wxUSE_BUTTON
=no
2170 DEFAULT_wxUSE_BMPBUTTON
=no
2171 DEFAULT_wxUSE_CALCTRL
=no
2172 DEFAULT_wxUSE_CARET
=no
2173 DEFAULT_wxUSE_CHECKBOX
=no
2174 DEFAULT_wxUSE_CHECKLST
=no
2175 DEFAULT_wxUSE_CHOICE
=no
2176 DEFAULT_wxUSE_CHOICEBOOK
=no
2177 DEFAULT_wxUSE_COMBOBOX
=no
2178 DEFAULT_wxUSE_DATEPICKCTRL
=no
2179 DEFAULT_wxUSE_DISPLAY
=no
2180 DEFAULT_wxUSE_GAUGE
=no
2181 DEFAULT_wxUSE_GRID
=no
2182 DEFAULT_wxUSE_IMAGLIST
=no
2183 DEFAULT_wxUSE_LISTBOOK
=no
2184 DEFAULT_wxUSE_LISTBOX
=no
2185 DEFAULT_wxUSE_LISTCTRL
=no
2186 DEFAULT_wxUSE_NOTEBOOK
=no
2187 DEFAULT_wxUSE_RADIOBOX
=no
2188 DEFAULT_wxUSE_RADIOBTN
=no
2189 DEFAULT_wxUSE_SASH
=no
2190 DEFAULT_wxUSE_SCROLLBAR
=no
2191 DEFAULT_wxUSE_SLIDER
=no
2192 DEFAULT_wxUSE_SPINBTN
=no
2193 DEFAULT_wxUSE_SPINCTRL
=no
2194 DEFAULT_wxUSE_SPLITTER
=no
2195 DEFAULT_wxUSE_STATBMP
=no
2196 DEFAULT_wxUSE_STATBOX
=no
2197 DEFAULT_wxUSE_STATLINE
=no
2198 DEFAULT_wxUSE_STATTEXT
=no
2199 DEFAULT_wxUSE_STATUSBAR
=yes
2200 DEFAULT_wxUSE_TABDIALOG
=no
2201 DEFAULT_wxUSE_TEXTCTRL
=no
2202 DEFAULT_wxUSE_TOGGLEBTN
=no
2203 DEFAULT_wxUSE_TOOLBAR
=no
2204 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2205 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2206 DEFAULT_wxUSE_TREECTRL
=no
2207 DEFAULT_wxUSE_POPUPWIN
=no
2208 DEFAULT_wxUSE_TIPWINDOW
=no
2210 DEFAULT_wxUSE_UNICODE
=no
2211 DEFAULT_wxUSE_UNICODE_MSLU
=no
2212 DEFAULT_wxUSE_WCSRTOMBS
=no
2214 DEFAULT_wxUSE_PALETTE
=no
2215 DEFAULT_wxUSE_IMAGE
=no
2216 DEFAULT_wxUSE_GIF
=no
2217 DEFAULT_wxUSE_PCX
=no
2218 DEFAULT_wxUSE_PNM
=no
2219 DEFAULT_wxUSE_IFF
=no
2220 DEFAULT_wxUSE_XPM
=no
2221 DEFAULT_wxUSE_ICO_CUR
=no
2222 DEFAULT_wxUSE_ACCESSIBILITY
=no
2224 DEFAULT_wxUSE_MONOLITHIC
=no
2225 DEFAULT_wxUSE_PLUGINS
=no
2226 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2228 DEFAULT_wxUSE_UNIVERSAL
=no
2229 DEFAULT_wxUSE_STL
=no
2231 DEFAULT_wxUSE_NANOX
=no
2233 DEFAULT_wxUSE_THREADS
=yes
2235 DEFAULT_wxUSE_SHARED
=yes
2236 DEFAULT_wxUSE_OPTIMISE
=yes
2237 DEFAULT_wxUSE_PROFILE
=no
2238 DEFAULT_wxUSE_NO_DEPS
=no
2239 DEFAULT_wxUSE_NO_RTTI
=no
2240 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2241 DEFAULT_wxUSE_RPATH
=yes
2242 DEFAULT_wxUSE_PERMISSIVE
=no
2243 DEFAULT_wxUSE_DEBUG_FLAG
=no
2244 DEFAULT_wxUSE_DEBUG_INFO
=no
2245 DEFAULT_wxUSE_DEBUG_GDB
=no
2246 DEFAULT_wxUSE_MEM_TRACING
=no
2247 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2248 DEFAULT_wxUSE_DMALLOC
=no
2249 DEFAULT_wxUSE_APPLE_IEEE
=yes
2251 DEFAULT_wxUSE_EXCEPTIONS
=yes
2252 DEFAULT_wxUSE_LOG
=yes
2253 DEFAULT_wxUSE_LOGWINDOW
=yes
2254 DEFAULT_wxUSE_LOGGUI
=yes
2255 DEFAULT_wxUSE_LOGDIALOG
=yes
2257 DEFAULT_wxUSE_GUI
=yes
2259 DEFAULT_wxUSE_REGEX
=yes
2260 DEFAULT_wxUSE_XML
=yes
2261 DEFAULT_wxUSE_EXPAT
=yes
2262 DEFAULT_wxUSE_ZLIB
=yes
2263 DEFAULT_wxUSE_LIBPNG
=yes
2264 DEFAULT_wxUSE_LIBJPEG
=yes
2265 DEFAULT_wxUSE_LIBTIFF
=yes
2266 DEFAULT_wxUSE_LIBXPM
=yes
2267 DEFAULT_wxUSE_LIBMSPACK
=yes
2268 DEFAULT_wxUSE_LIBSDL
=no
2269 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2270 DEFAULT_wxUSE_ODBC
=no
2271 DEFAULT_wxUSE_OPENGL
=no
2273 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2274 DEFAULT_wxUSE_STACKWALKER
=yes
2275 DEFAULT_wxUSE_DEBUGREPORT
=yes
2276 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2277 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2278 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2279 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2280 DEFAULT_wxUSE_DATETIME
=yes
2281 DEFAULT_wxUSE_TIMER
=yes
2282 DEFAULT_wxUSE_STOPWATCH
=yes
2283 DEFAULT_wxUSE_FILE
=yes
2284 DEFAULT_wxUSE_FFILE
=yes
2285 DEFAULT_wxUSE_STDPATHS
=yes
2286 DEFAULT_wxUSE_TEXTBUFFER
=yes
2287 DEFAULT_wxUSE_TEXTFILE
=yes
2288 DEFAULT_wxUSE_SOUND
=yes
2289 DEFAULT_wxUSE_MEDIACTRL
=no
2290 DEFAULT_wxUSE_INTL
=yes
2291 DEFAULT_wxUSE_CONFIG
=yes
2292 DEFAULT_wxUSE_FONTMAP
=yes
2293 DEFAULT_wxUSE_STREAMS
=yes
2294 DEFAULT_wxUSE_SOCKETS
=yes
2295 DEFAULT_wxUSE_OLE
=yes
2296 DEFAULT_wxUSE_DATAOBJ
=yes
2297 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2298 DEFAULT_wxUSE_JOYSTICK
=yes
2299 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2300 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2301 DEFAULT_wxUSE_LONGLONG
=yes
2302 DEFAULT_wxUSE_GEOMETRY
=yes
2304 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2305 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2306 DEFAULT_wxUSE_POSTSCRIPT
=yes
2308 DEFAULT_wxUSE_CLIPBOARD
=yes
2309 DEFAULT_wxUSE_TOOLTIPS
=yes
2310 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2311 DEFAULT_wxUSE_DRAGIMAGE
=yes
2312 DEFAULT_wxUSE_SPLINES
=yes
2313 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2315 DEFAULT_wxUSE_MDI
=yes
2316 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2317 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2318 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2320 DEFAULT_wxUSE_RESOURCES
=no
2321 DEFAULT_wxUSE_CONSTRAINTS
=yes
2322 DEFAULT_wxUSE_IPC
=yes
2323 DEFAULT_wxUSE_HELP
=yes
2324 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2325 DEFAULT_wxUSE_WXHTML_HELP
=yes
2326 DEFAULT_wxUSE_TREELAYOUT
=yes
2327 DEFAULT_wxUSE_METAFILE
=yes
2328 DEFAULT_wxUSE_MIMETYPE
=yes
2329 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2330 DEFAULT_wxUSE_PROTOCOL
=yes
2331 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2332 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2333 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2334 DEFAULT_wxUSE_URL
=yes
2336 DEFAULT_wxUSE_COMMONDLGS
=yes
2337 DEFAULT_wxUSE_CHOICEDLG
=yes
2338 DEFAULT_wxUSE_COLOURDLG
=yes
2339 DEFAULT_wxUSE_DIRDLG
=yes
2340 DEFAULT_wxUSE_FILEDLG
=yes
2341 DEFAULT_wxUSE_FINDREPLDLG
=yes
2342 DEFAULT_wxUSE_FONTDLG
=yes
2343 DEFAULT_wxUSE_MSGDLG
=yes
2344 DEFAULT_wxUSE_NUMBERDLG
=yes
2345 DEFAULT_wxUSE_TEXTDLG
=yes
2346 DEFAULT_wxUSE_SPLASH
=yes
2347 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2348 DEFAULT_wxUSE_PROGRESSDLG
=yes
2349 DEFAULT_wxUSE_WIZARDDLG
=yes
2351 DEFAULT_wxUSE_MENUS
=yes
2352 DEFAULT_wxUSE_MINIFRAME
=yes
2353 DEFAULT_wxUSE_HTML
=yes
2354 DEFAULT_wxUSE_XRC
=yes
2355 DEFAULT_wxUSE_WEBKIT
=yes
2356 DEFAULT_wxUSE_FILESYSTEM
=yes
2357 DEFAULT_wxUSE_FS_INET
=yes
2358 DEFAULT_wxUSE_FS_ZIP
=yes
2359 DEFAULT_wxUSE_BUSYINFO
=yes
2360 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2361 DEFAULT_wxUSE_ZIPSTREAM
=yes
2362 DEFAULT_wxUSE_VALIDATORS
=yes
2364 DEFAULT_wxUSE_ACCEL
=yes
2365 DEFAULT_wxUSE_BUTTON
=yes
2366 DEFAULT_wxUSE_BMPBUTTON
=yes
2367 DEFAULT_wxUSE_CALCTRL
=yes
2368 DEFAULT_wxUSE_CARET
=yes
2369 DEFAULT_wxUSE_CHECKBOX
=yes
2370 DEFAULT_wxUSE_CHECKLST
=yes
2371 DEFAULT_wxUSE_CHOICE
=yes
2372 DEFAULT_wxUSE_CHOICEBOOK
=yes
2373 DEFAULT_wxUSE_COMBOBOX
=yes
2374 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2375 DEFAULT_wxUSE_DISPLAY
=yes
2376 DEFAULT_wxUSE_GAUGE
=yes
2377 DEFAULT_wxUSE_GRID
=yes
2378 DEFAULT_wxUSE_IMAGLIST
=yes
2379 DEFAULT_wxUSE_LISTBOOK
=yes
2380 DEFAULT_wxUSE_LISTBOX
=yes
2381 DEFAULT_wxUSE_LISTCTRL
=yes
2382 DEFAULT_wxUSE_NOTEBOOK
=yes
2383 DEFAULT_wxUSE_RADIOBOX
=yes
2384 DEFAULT_wxUSE_RADIOBTN
=yes
2385 DEFAULT_wxUSE_SASH
=yes
2386 DEFAULT_wxUSE_SCROLLBAR
=yes
2387 DEFAULT_wxUSE_SLIDER
=yes
2388 DEFAULT_wxUSE_SPINBTN
=yes
2389 DEFAULT_wxUSE_SPINCTRL
=yes
2390 DEFAULT_wxUSE_SPLITTER
=yes
2391 DEFAULT_wxUSE_STATBMP
=yes
2392 DEFAULT_wxUSE_STATBOX
=yes
2393 DEFAULT_wxUSE_STATLINE
=yes
2394 DEFAULT_wxUSE_STATTEXT
=yes
2395 DEFAULT_wxUSE_STATUSBAR
=yes
2396 DEFAULT_wxUSE_TABDIALOG
=no
2397 DEFAULT_wxUSE_TEXTCTRL
=yes
2398 DEFAULT_wxUSE_TOGGLEBTN
=yes
2399 DEFAULT_wxUSE_TOOLBAR
=yes
2400 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2401 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2402 DEFAULT_wxUSE_TREECTRL
=yes
2403 DEFAULT_wxUSE_POPUPWIN
=yes
2404 DEFAULT_wxUSE_TIPWINDOW
=yes
2406 DEFAULT_wxUSE_UNICODE
=no
2407 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2408 DEFAULT_wxUSE_WCSRTOMBS
=no
2410 DEFAULT_wxUSE_PALETTE
=yes
2411 DEFAULT_wxUSE_IMAGE
=yes
2412 DEFAULT_wxUSE_GIF
=yes
2413 DEFAULT_wxUSE_PCX
=yes
2414 DEFAULT_wxUSE_IFF
=no
2415 DEFAULT_wxUSE_PNM
=yes
2416 DEFAULT_wxUSE_XPM
=yes
2417 DEFAULT_wxUSE_ICO_CUR
=yes
2418 DEFAULT_wxUSE_ACCESSIBILITY
=no
2420 DEFAULT_wxUSE_MONOLITHIC
=no
2421 DEFAULT_wxUSE_PLUGINS
=no
2422 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2424 DEFAULT_wxUSE_GTK2
=yes
2430 for toolkit
in `echo $ALL_TOOLKITS`; do
2431 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2432 if test "x$LINE" != "x" ; then
2433 has_toolkit_in_cache
=1
2434 eval "DEFAULT_$LINE"
2435 eval "CACHE_$toolkit=1"
2437 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2438 if test "x$LINE" != "x" ; then
2439 eval "DEFAULT_$LINE"
2447 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2448 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2450 # Check whether --enable-gui or --disable-gui was given.
2451 if test "${enable_gui+set}" = set; then
2452 enableval
="$enable_gui"
2454 if test "$enableval" = yes; then
2455 ac_cv_use_gui
='wxUSE_GUI=yes'
2457 ac_cv_use_gui
='wxUSE_GUI=no'
2462 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2463 if test "x$LINE" != x
; then
2464 eval "DEFAULT_$LINE"
2469 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2473 eval "$ac_cv_use_gui"
2474 if test "$no_cache" != 1; then
2475 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2478 if test "$wxUSE_GUI" = yes; then
2479 echo "$as_me:$LINENO: result: yes" >&5
2480 echo "${ECHO_T}yes" >&6
2482 echo "$as_me:$LINENO: result: no" >&5
2483 echo "${ECHO_T}no" >&6
2488 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2489 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2491 # Check whether --enable-monolithic or --disable-monolithic was given.
2492 if test "${enable_monolithic+set}" = set; then
2493 enableval
="$enable_monolithic"
2495 if test "$enableval" = yes; then
2496 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2498 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2503 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2504 if test "x$LINE" != x
; then
2505 eval "DEFAULT_$LINE"
2510 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2514 eval "$ac_cv_use_monolithic"
2515 if test "$no_cache" != 1; then
2516 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2519 if test "$wxUSE_MONOLITHIC" = yes; then
2520 echo "$as_me:$LINENO: result: yes" >&5
2521 echo "${ECHO_T}yes" >&6
2523 echo "$as_me:$LINENO: result: no" >&5
2524 echo "${ECHO_T}no" >&6
2529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2530 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2532 # Check whether --enable-plugins or --disable-plugins was given.
2533 if test "${enable_plugins+set}" = set; then
2534 enableval
="$enable_plugins"
2536 if test "$enableval" = yes; then
2537 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2539 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2544 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2545 if test "x$LINE" != x
; then
2546 eval "DEFAULT_$LINE"
2551 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2555 eval "$ac_cv_use_plugins"
2556 if test "$no_cache" != 1; then
2557 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2560 if test "$wxUSE_PLUGINS" = yes; then
2561 echo "$as_me:$LINENO: result: yes" >&5
2562 echo "${ECHO_T}yes" >&6
2564 echo "$as_me:$LINENO: result: no" >&5
2565 echo "${ECHO_T}no" >&6
2569 if test "$wxUSE_GUI" = "yes"; then
2573 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2574 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2576 # Check whether --enable-universal or --disable-universal was given.
2577 if test "${enable_universal+set}" = set; then
2578 enableval
="$enable_universal"
2580 if test "$enableval" = yes; then
2581 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2583 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2588 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2589 if test "x$LINE" != x
; then
2590 eval "DEFAULT_$LINE"
2595 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2599 eval "$ac_cv_use_universal"
2600 if test "$no_cache" != 1; then
2601 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2604 if test "$wxUSE_UNIVERSAL" = yes; then
2605 echo "$as_me:$LINENO: result: yes" >&5
2606 echo "${ECHO_T}yes" >&6
2608 echo "$as_me:$LINENO: result: no" >&5
2609 echo "${ECHO_T}no" >&6
2613 # Check whether --with-gtk or --without-gtk was given.
2614 if test "${with_gtk+set}" = set; then
2616 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2619 # Check whether --with-motif or --without-motif was given.
2620 if test "${with_motif+set}" = set; then
2621 withval
="$with_motif"
2622 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2625 # Check whether --with-mac or --without-mac was given.
2626 if test "${with_mac+set}" = set; then
2628 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2631 # Check whether --with-cocoa or --without-cocoa was given.
2632 if test "${with_cocoa+set}" = set; then
2633 withval
="$with_cocoa"
2634 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2637 # Check whether --with-wine or --without-wine was given.
2638 if test "${with_wine+set}" = set; then
2639 withval
="$with_wine"
2640 wxUSE_WINE
="$withval" CACHE_WINE
=1
2643 # Check whether --with-msw or --without-msw was given.
2644 if test "${with_msw+set}" = set; then
2646 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2649 # Check whether --with-pm or --without-pm was given.
2650 if test "${with_pm+set}" = set; then
2652 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2655 # Check whether --with-mgl or --without-mgl was given.
2656 if test "${with_mgl+set}" = set; then
2658 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2661 # Check whether --with-microwin or --without-microwin was given.
2662 if test "${with_microwin+set}" = set; then
2663 withval
="$with_microwin"
2664 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2667 # Check whether --with-x11 or --without-x11 was given.
2668 if test "${with_x11+set}" = set; then
2670 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2674 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2675 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2677 # Check whether --enable-nanox or --disable-nanox was given.
2678 if test "${enable_nanox+set}" = set; then
2679 enableval
="$enable_nanox"
2681 if test "$enableval" = yes; then
2682 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2684 ac_cv_use_nanox
='wxUSE_NANOX=no'
2689 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2690 if test "x$LINE" != x
; then
2691 eval "DEFAULT_$LINE"
2696 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2700 eval "$ac_cv_use_nanox"
2701 if test "$no_cache" != 1; then
2702 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2705 if test "$wxUSE_NANOX" = yes; then
2706 echo "$as_me:$LINENO: result: yes" >&5
2707 echo "${ECHO_T}yes" >&6
2709 echo "$as_me:$LINENO: result: no" >&5
2710 echo "${ECHO_T}no" >&6
2714 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2715 if test "${enable_gtk2+set}" = set; then
2716 enableval
="$enable_gtk2"
2717 wxUSE_GTK2
="$enableval"
2721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2722 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2724 # Check whether --enable-gpe or --disable-gpe was given.
2725 if test "${enable_gpe+set}" = set; then
2726 enableval
="$enable_gpe"
2728 if test "$enableval" = yes; then
2729 ac_cv_use_gpe
='wxUSE_GPE=yes'
2731 ac_cv_use_gpe
='wxUSE_GPE=no'
2736 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2737 if test "x$LINE" != x
; then
2738 eval "DEFAULT_$LINE"
2743 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2747 eval "$ac_cv_use_gpe"
2748 if test "$no_cache" != 1; then
2749 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2752 if test "$wxUSE_GPE" = yes; then
2753 echo "$as_me:$LINENO: result: yes" >&5
2754 echo "${ECHO_T}yes" >&6
2756 echo "$as_me:$LINENO: result: no" >&5
2757 echo "${ECHO_T}no" >&6
2762 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2763 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2766 # Check whether --with-libpng or --without-libpng was given.
2767 if test "${with_libpng+set}" = set; then
2768 withval
="$with_libpng"
2770 if test "$withval" = yes; then
2771 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2772 elif test "$withval" = no
; then
2773 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2774 elif test "$withval" = sys
; then
2775 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2776 elif test "$withval" = builtin; then
2777 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2779 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2780 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2781 { (exit 1); exit 1; }; }
2786 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2787 if test "x$LINE" != x
; then
2788 eval "DEFAULT_$LINE"
2793 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2797 eval "$ac_cv_use_libpng"
2798 if test "$no_cache" != 1; then
2799 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2802 if test "$wxUSE_LIBPNG" = yes; then
2803 echo "$as_me:$LINENO: result: yes" >&5
2804 echo "${ECHO_T}yes" >&6
2805 elif test "$wxUSE_LIBPNG" = no
; then
2806 echo "$as_me:$LINENO: result: no" >&5
2807 echo "${ECHO_T}no" >&6
2808 elif test "$wxUSE_LIBPNG" = sys
; then
2809 echo "$as_me:$LINENO: result: system version" >&5
2810 echo "${ECHO_T}system version" >&6
2811 elif test "$wxUSE_LIBPNG" = builtin; then
2812 echo "$as_me:$LINENO: result: builtin version" >&5
2813 echo "${ECHO_T}builtin version" >&6
2815 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2816 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2817 { (exit 1); exit 1; }; }
2821 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2822 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2825 # Check whether --with-libjpeg or --without-libjpeg was given.
2826 if test "${with_libjpeg+set}" = set; then
2827 withval
="$with_libjpeg"
2829 if test "$withval" = yes; then
2830 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2831 elif test "$withval" = no
; then
2832 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2833 elif test "$withval" = sys
; then
2834 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2835 elif test "$withval" = builtin; then
2836 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2838 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2839 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2840 { (exit 1); exit 1; }; }
2845 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2846 if test "x$LINE" != x
; then
2847 eval "DEFAULT_$LINE"
2852 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2856 eval "$ac_cv_use_libjpeg"
2857 if test "$no_cache" != 1; then
2858 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2861 if test "$wxUSE_LIBJPEG" = yes; then
2862 echo "$as_me:$LINENO: result: yes" >&5
2863 echo "${ECHO_T}yes" >&6
2864 elif test "$wxUSE_LIBJPEG" = no
; then
2865 echo "$as_me:$LINENO: result: no" >&5
2866 echo "${ECHO_T}no" >&6
2867 elif test "$wxUSE_LIBJPEG" = sys
; then
2868 echo "$as_me:$LINENO: result: system version" >&5
2869 echo "${ECHO_T}system version" >&6
2870 elif test "$wxUSE_LIBJPEG" = builtin; then
2871 echo "$as_me:$LINENO: result: builtin version" >&5
2872 echo "${ECHO_T}builtin version" >&6
2874 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2875 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2876 { (exit 1); exit 1; }; }
2880 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2881 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2884 # Check whether --with-libtiff or --without-libtiff was given.
2885 if test "${with_libtiff+set}" = set; then
2886 withval
="$with_libtiff"
2888 if test "$withval" = yes; then
2889 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2890 elif test "$withval" = no
; then
2891 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2892 elif test "$withval" = sys
; then
2893 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2894 elif test "$withval" = builtin; then
2895 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2897 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2898 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2899 { (exit 1); exit 1; }; }
2904 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2905 if test "x$LINE" != x
; then
2906 eval "DEFAULT_$LINE"
2911 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2915 eval "$ac_cv_use_libtiff"
2916 if test "$no_cache" != 1; then
2917 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2920 if test "$wxUSE_LIBTIFF" = yes; then
2921 echo "$as_me:$LINENO: result: yes" >&5
2922 echo "${ECHO_T}yes" >&6
2923 elif test "$wxUSE_LIBTIFF" = no
; then
2924 echo "$as_me:$LINENO: result: no" >&5
2925 echo "${ECHO_T}no" >&6
2926 elif test "$wxUSE_LIBTIFF" = sys
; then
2927 echo "$as_me:$LINENO: result: system version" >&5
2928 echo "${ECHO_T}system version" >&6
2929 elif test "$wxUSE_LIBTIFF" = builtin; then
2930 echo "$as_me:$LINENO: result: builtin version" >&5
2931 echo "${ECHO_T}builtin version" >&6
2933 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2934 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2935 { (exit 1); exit 1; }; }
2939 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2940 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2943 # Check whether --with-libxpm or --without-libxpm was given.
2944 if test "${with_libxpm+set}" = set; then
2945 withval
="$with_libxpm"
2947 if test "$withval" = yes; then
2948 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2949 elif test "$withval" = no
; then
2950 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2951 elif test "$withval" = sys
; then
2952 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2953 elif test "$withval" = builtin; then
2954 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2956 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2957 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2958 { (exit 1); exit 1; }; }
2963 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2964 if test "x$LINE" != x
; then
2965 eval "DEFAULT_$LINE"
2970 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2974 eval "$ac_cv_use_libxpm"
2975 if test "$no_cache" != 1; then
2976 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2979 if test "$wxUSE_LIBXPM" = yes; then
2980 echo "$as_me:$LINENO: result: yes" >&5
2981 echo "${ECHO_T}yes" >&6
2982 elif test "$wxUSE_LIBXPM" = no
; then
2983 echo "$as_me:$LINENO: result: no" >&5
2984 echo "${ECHO_T}no" >&6
2985 elif test "$wxUSE_LIBXPM" = sys
; then
2986 echo "$as_me:$LINENO: result: system version" >&5
2987 echo "${ECHO_T}system version" >&6
2988 elif test "$wxUSE_LIBXPM" = builtin; then
2989 echo "$as_me:$LINENO: result: builtin version" >&5
2990 echo "${ECHO_T}builtin version" >&6
2992 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2993 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2994 { (exit 1); exit 1; }; }
2998 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2999 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3002 # Check whether --with-libmspack or --without-libmspack was given.
3003 if test "${with_libmspack+set}" = set; then
3004 withval
="$with_libmspack"
3006 if test "$withval" = yes; then
3007 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3009 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3014 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3015 if test "x$LINE" != x
; then
3016 eval "DEFAULT_$LINE"
3021 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3025 eval "$ac_cv_use_libmspack"
3026 if test "$no_cache" != 1; then
3027 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3030 if test "$wxUSE_LIBMSPACK" = yes; then
3031 echo "$as_me:$LINENO: result: yes" >&5
3032 echo "${ECHO_T}yes" >&6
3034 echo "$as_me:$LINENO: result: no" >&5
3035 echo "${ECHO_T}no" >&6
3039 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3040 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3043 # Check whether --with-sdl or --without-sdl was given.
3044 if test "${with_sdl+set}" = set; then
3047 if test "$withval" = yes; then
3048 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3050 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3055 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3056 if test "x$LINE" != x
; then
3057 eval "DEFAULT_$LINE"
3062 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3066 eval "$ac_cv_use_sdl"
3067 if test "$no_cache" != 1; then
3068 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3071 if test "$wxUSE_LIBSDL" = yes; then
3072 echo "$as_me:$LINENO: result: yes" >&5
3073 echo "${ECHO_T}yes" >&6
3075 echo "$as_me:$LINENO: result: no" >&5
3076 echo "${ECHO_T}no" >&6
3080 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3081 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3084 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3085 if test "${with_gnomeprint+set}" = set; then
3086 withval
="$with_gnomeprint"
3088 if test "$withval" = yes; then
3089 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3091 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3096 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3097 if test "x$LINE" != x
; then
3098 eval "DEFAULT_$LINE"
3103 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3107 eval "$ac_cv_use_gnomeprint"
3108 if test "$no_cache" != 1; then
3109 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3112 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3113 echo "$as_me:$LINENO: result: yes" >&5
3114 echo "${ECHO_T}yes" >&6
3116 echo "$as_me:$LINENO: result: no" >&5
3117 echo "${ECHO_T}no" >&6
3121 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3122 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3125 # Check whether --with-opengl or --without-opengl was given.
3126 if test "${with_opengl+set}" = set; then
3127 withval
="$with_opengl"
3129 if test "$withval" = yes; then
3130 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3132 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3137 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3138 if test "x$LINE" != x
; then
3139 eval "DEFAULT_$LINE"
3144 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3148 eval "$ac_cv_use_opengl"
3149 if test "$no_cache" != 1; then
3150 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3153 if test "$wxUSE_OPENGL" = yes; then
3154 echo "$as_me:$LINENO: result: yes" >&5
3155 echo "${ECHO_T}yes" >&6
3157 echo "$as_me:$LINENO: result: no" >&5
3158 echo "${ECHO_T}no" >&6
3165 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3166 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3169 # Check whether --with-dmalloc or --without-dmalloc was given.
3170 if test "${with_dmalloc+set}" = set; then
3171 withval
="$with_dmalloc"
3173 if test "$withval" = yes; then
3174 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3176 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3181 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3182 if test "x$LINE" != x
; then
3183 eval "DEFAULT_$LINE"
3188 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3192 eval "$ac_cv_use_dmalloc"
3193 if test "$no_cache" != 1; then
3194 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3197 if test "$wxUSE_DMALLOC" = yes; then
3198 echo "$as_me:$LINENO: result: yes" >&5
3199 echo "${ECHO_T}yes" >&6
3201 echo "$as_me:$LINENO: result: no" >&5
3202 echo "${ECHO_T}no" >&6
3206 echo "$as_me:$LINENO: checking for --with-regex" >&5
3207 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3210 # Check whether --with-regex or --without-regex was given.
3211 if test "${with_regex+set}" = set; then
3212 withval
="$with_regex"
3214 if test "$withval" = yes; then
3215 ac_cv_use_regex
='wxUSE_REGEX=yes'
3216 elif test "$withval" = no
; then
3217 ac_cv_use_regex
='wxUSE_REGEX=no'
3218 elif test "$withval" = sys
; then
3219 ac_cv_use_regex
='wxUSE_REGEX=sys'
3220 elif test "$withval" = builtin; then
3221 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3223 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3224 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3225 { (exit 1); exit 1; }; }
3230 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3231 if test "x$LINE" != x
; then
3232 eval "DEFAULT_$LINE"
3237 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3241 eval "$ac_cv_use_regex"
3242 if test "$no_cache" != 1; then
3243 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3246 if test "$wxUSE_REGEX" = yes; then
3247 echo "$as_me:$LINENO: result: yes" >&5
3248 echo "${ECHO_T}yes" >&6
3249 elif test "$wxUSE_REGEX" = no
; then
3250 echo "$as_me:$LINENO: result: no" >&5
3251 echo "${ECHO_T}no" >&6
3252 elif test "$wxUSE_REGEX" = sys
; then
3253 echo "$as_me:$LINENO: result: system version" >&5
3254 echo "${ECHO_T}system version" >&6
3255 elif test "$wxUSE_REGEX" = builtin; then
3256 echo "$as_me:$LINENO: result: builtin version" >&5
3257 echo "${ECHO_T}builtin version" >&6
3259 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3260 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3261 { (exit 1); exit 1; }; }
3265 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3266 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3269 # Check whether --with-zlib or --without-zlib was given.
3270 if test "${with_zlib+set}" = set; then
3271 withval
="$with_zlib"
3273 if test "$withval" = yes; then
3274 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3275 elif test "$withval" = no
; then
3276 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3277 elif test "$withval" = sys
; then
3278 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3279 elif test "$withval" = builtin; then
3280 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3282 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3283 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3284 { (exit 1); exit 1; }; }
3289 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3290 if test "x$LINE" != x
; then
3291 eval "DEFAULT_$LINE"
3296 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3300 eval "$ac_cv_use_zlib"
3301 if test "$no_cache" != 1; then
3302 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3305 if test "$wxUSE_ZLIB" = yes; then
3306 echo "$as_me:$LINENO: result: yes" >&5
3307 echo "${ECHO_T}yes" >&6
3308 elif test "$wxUSE_ZLIB" = no
; then
3309 echo "$as_me:$LINENO: result: no" >&5
3310 echo "${ECHO_T}no" >&6
3311 elif test "$wxUSE_ZLIB" = sys
; then
3312 echo "$as_me:$LINENO: result: system version" >&5
3313 echo "${ECHO_T}system version" >&6
3314 elif test "$wxUSE_ZLIB" = builtin; then
3315 echo "$as_me:$LINENO: result: builtin version" >&5
3316 echo "${ECHO_T}builtin version" >&6
3318 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3319 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3320 { (exit 1); exit 1; }; }
3324 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3325 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3328 # Check whether --with-odbc or --without-odbc was given.
3329 if test "${with_odbc+set}" = set; then
3330 withval
="$with_odbc"
3332 if test "$withval" = yes; then
3333 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3334 elif test "$withval" = no
; then
3335 ac_cv_use_odbc
='wxUSE_ODBC=no'
3336 elif test "$withval" = sys
; then
3337 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3338 elif test "$withval" = builtin; then
3339 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3341 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3342 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3343 { (exit 1); exit 1; }; }
3348 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3349 if test "x$LINE" != x
; then
3350 eval "DEFAULT_$LINE"
3355 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3359 eval "$ac_cv_use_odbc"
3360 if test "$no_cache" != 1; then
3361 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3364 if test "$wxUSE_ODBC" = yes; then
3365 echo "$as_me:$LINENO: result: yes" >&5
3366 echo "${ECHO_T}yes" >&6
3367 elif test "$wxUSE_ODBC" = no
; then
3368 echo "$as_me:$LINENO: result: no" >&5
3369 echo "${ECHO_T}no" >&6
3370 elif test "$wxUSE_ODBC" = sys
; then
3371 echo "$as_me:$LINENO: result: system version" >&5
3372 echo "${ECHO_T}system version" >&6
3373 elif test "$wxUSE_ODBC" = builtin; then
3374 echo "$as_me:$LINENO: result: builtin version" >&5
3375 echo "${ECHO_T}builtin version" >&6
3377 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3378 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3379 { (exit 1); exit 1; }; }
3383 echo "$as_me:$LINENO: checking for --with-expat" >&5
3384 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3387 # Check whether --with-expat or --without-expat was given.
3388 if test "${with_expat+set}" = set; then
3389 withval
="$with_expat"
3391 if test "$withval" = yes; then
3392 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3393 elif test "$withval" = no
; then
3394 ac_cv_use_expat
='wxUSE_EXPAT=no'
3395 elif test "$withval" = sys
; then
3396 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3397 elif test "$withval" = builtin; then
3398 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3400 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3401 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3402 { (exit 1); exit 1; }; }
3407 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3408 if test "x$LINE" != x
; then
3409 eval "DEFAULT_$LINE"
3414 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3418 eval "$ac_cv_use_expat"
3419 if test "$no_cache" != 1; then
3420 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3423 if test "$wxUSE_EXPAT" = yes; then
3424 echo "$as_me:$LINENO: result: yes" >&5
3425 echo "${ECHO_T}yes" >&6
3426 elif test "$wxUSE_EXPAT" = no
; then
3427 echo "$as_me:$LINENO: result: no" >&5
3428 echo "${ECHO_T}no" >&6
3429 elif test "$wxUSE_EXPAT" = sys
; then
3430 echo "$as_me:$LINENO: result: system version" >&5
3431 echo "${ECHO_T}system version" >&6
3432 elif test "$wxUSE_EXPAT" = builtin; then
3433 echo "$as_me:$LINENO: result: builtin version" >&5
3434 echo "${ECHO_T}builtin version" >&6
3436 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3437 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3438 { (exit 1); exit 1; }; }
3445 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3446 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3448 # Check whether --enable-shared or --disable-shared was given.
3449 if test "${enable_shared+set}" = set; then
3450 enableval
="$enable_shared"
3452 if test "$enableval" = yes; then
3453 ac_cv_use_shared
='wxUSE_SHARED=yes'
3455 ac_cv_use_shared
='wxUSE_SHARED=no'
3460 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3461 if test "x$LINE" != x
; then
3462 eval "DEFAULT_$LINE"
3467 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3471 eval "$ac_cv_use_shared"
3472 if test "$no_cache" != 1; then
3473 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3476 if test "$wxUSE_SHARED" = yes; then
3477 echo "$as_me:$LINENO: result: yes" >&5
3478 echo "${ECHO_T}yes" >&6
3480 echo "$as_me:$LINENO: result: no" >&5
3481 echo "${ECHO_T}no" >&6
3486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3487 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3489 # Check whether --enable-optimise or --disable-optimise was given.
3490 if test "${enable_optimise+set}" = set; then
3491 enableval
="$enable_optimise"
3493 if test "$enableval" = yes; then
3494 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3496 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3501 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3502 if test "x$LINE" != x
; then
3503 eval "DEFAULT_$LINE"
3508 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3512 eval "$ac_cv_use_optimise"
3513 if test "$no_cache" != 1; then
3514 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3517 if test "$wxUSE_OPTIMISE" = yes; then
3518 echo "$as_me:$LINENO: result: yes" >&5
3519 echo "${ECHO_T}yes" >&6
3521 echo "$as_me:$LINENO: result: no" >&5
3522 echo "${ECHO_T}no" >&6
3527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3528 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3530 # Check whether --enable-debug or --disable-debug was given.
3531 if test "${enable_debug+set}" = set; then
3532 enableval
="$enable_debug"
3534 if test "$enableval" = yes; then
3535 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3537 ac_cv_use_debug
='wxUSE_DEBUG=no'
3542 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3543 if test "x$LINE" != x
; then
3544 eval "DEFAULT_$LINE"
3549 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3553 eval "$ac_cv_use_debug"
3554 if test "$no_cache" != 1; then
3555 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3558 if test "$wxUSE_DEBUG" = yes; then
3559 echo "$as_me:$LINENO: result: yes" >&5
3560 echo "${ECHO_T}yes" >&6
3562 echo "$as_me:$LINENO: result: no" >&5
3563 echo "${ECHO_T}no" >&6
3568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3569 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3571 # Check whether --enable-stl or --disable-stl was given.
3572 if test "${enable_stl+set}" = set; then
3573 enableval
="$enable_stl"
3575 if test "$enableval" = yes; then
3576 ac_cv_use_stl
='wxUSE_STL=yes'
3578 ac_cv_use_stl
='wxUSE_STL=no'
3583 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3584 if test "x$LINE" != x
; then
3585 eval "DEFAULT_$LINE"
3590 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3594 eval "$ac_cv_use_stl"
3595 if test "$no_cache" != 1; then
3596 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3599 if test "$wxUSE_STL" = yes; then
3600 echo "$as_me:$LINENO: result: yes" >&5
3601 echo "${ECHO_T}yes" >&6
3603 echo "$as_me:$LINENO: result: no" >&5
3604 echo "${ECHO_T}no" >&6
3607 if test "$USE_OS2" = "1"; then
3608 DEFAULT_wxUSE_OMF
=no
3611 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3612 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3614 # Check whether --enable-omf or --disable-omf was given.
3615 if test "${enable_omf+set}" = set; then
3616 enableval
="$enable_omf"
3618 if test "$enableval" = yes; then
3619 ac_cv_use_omf
='wxUSE_OMF=yes'
3621 ac_cv_use_omf
='wxUSE_OMF=no'
3626 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3627 if test "x$LINE" != x
; then
3628 eval "DEFAULT_$LINE"
3633 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3637 eval "$ac_cv_use_omf"
3638 if test "$no_cache" != 1; then
3639 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3642 if test "$wxUSE_OMF" = yes; then
3643 echo "$as_me:$LINENO: result: yes" >&5
3644 echo "${ECHO_T}yes" >&6
3646 echo "$as_me:$LINENO: result: no" >&5
3647 echo "${ECHO_T}no" >&6
3652 if test "$wxUSE_DEBUG" = "yes"; then
3653 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3654 DEFAULT_wxUSE_DEBUG_INFO
=yes
3656 elif test "$wxUSE_DEBUG" = "no"; then
3657 DEFAULT_wxUSE_DEBUG_FLAG
=no
3658 DEFAULT_wxUSE_DEBUG_INFO
=no
3664 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3665 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3667 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3668 if test "${enable_debug_flag+set}" = set; then
3669 enableval
="$enable_debug_flag"
3671 if test "$enableval" = yes; then
3672 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3674 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3679 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3680 if test "x$LINE" != x
; then
3681 eval "DEFAULT_$LINE"
3686 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3690 eval "$ac_cv_use_debug_flag"
3691 if test "$no_cache" != 1; then
3692 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3695 if test "$wxUSE_DEBUG_FLAG" = yes; then
3696 echo "$as_me:$LINENO: result: yes" >&5
3697 echo "${ECHO_T}yes" >&6
3699 echo "$as_me:$LINENO: result: no" >&5
3700 echo "${ECHO_T}no" >&6
3705 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3706 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3708 # Check whether --enable-debug_info or --disable-debug_info was given.
3709 if test "${enable_debug_info+set}" = set; then
3710 enableval
="$enable_debug_info"
3712 if test "$enableval" = yes; then
3713 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3715 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3720 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3721 if test "x$LINE" != x
; then
3722 eval "DEFAULT_$LINE"
3727 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3731 eval "$ac_cv_use_debug_info"
3732 if test "$no_cache" != 1; then
3733 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3736 if test "$wxUSE_DEBUG_INFO" = yes; then
3737 echo "$as_me:$LINENO: result: yes" >&5
3738 echo "${ECHO_T}yes" >&6
3740 echo "$as_me:$LINENO: result: no" >&5
3741 echo "${ECHO_T}no" >&6
3746 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3747 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3749 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3750 if test "${enable_debug_gdb+set}" = set; then
3751 enableval
="$enable_debug_gdb"
3753 if test "$enableval" = yes; then
3754 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3756 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3761 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3762 if test "x$LINE" != x
; then
3763 eval "DEFAULT_$LINE"
3768 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3772 eval "$ac_cv_use_debug_gdb"
3773 if test "$no_cache" != 1; then
3774 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3777 if test "$wxUSE_DEBUG_GDB" = yes; then
3778 echo "$as_me:$LINENO: result: yes" >&5
3779 echo "${ECHO_T}yes" >&6
3781 echo "$as_me:$LINENO: result: no" >&5
3782 echo "${ECHO_T}no" >&6
3787 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3788 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3790 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3791 if test "${enable_debug_cntxt+set}" = set; then
3792 enableval
="$enable_debug_cntxt"
3794 if test "$enableval" = yes; then
3795 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3797 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3802 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3803 if test "x$LINE" != x
; then
3804 eval "DEFAULT_$LINE"
3809 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3813 eval "$ac_cv_use_debug_cntxt"
3814 if test "$no_cache" != 1; then
3815 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3818 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3819 echo "$as_me:$LINENO: result: yes" >&5
3820 echo "${ECHO_T}yes" >&6
3822 echo "$as_me:$LINENO: result: no" >&5
3823 echo "${ECHO_T}no" >&6
3828 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3829 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3831 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3832 if test "${enable_mem_tracing+set}" = set; then
3833 enableval
="$enable_mem_tracing"
3835 if test "$enableval" = yes; then
3836 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3838 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3843 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3844 if test "x$LINE" != x
; then
3845 eval "DEFAULT_$LINE"
3850 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3854 eval "$ac_cv_use_mem_tracing"
3855 if test "$no_cache" != 1; then
3856 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3859 if test "$wxUSE_MEM_TRACING" = yes; then
3860 echo "$as_me:$LINENO: result: yes" >&5
3861 echo "${ECHO_T}yes" >&6
3863 echo "$as_me:$LINENO: result: no" >&5
3864 echo "${ECHO_T}no" >&6
3869 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3870 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3872 # Check whether --enable-profile or --disable-profile was given.
3873 if test "${enable_profile+set}" = set; then
3874 enableval
="$enable_profile"
3876 if test "$enableval" = yes; then
3877 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3879 ac_cv_use_profile
='wxUSE_PROFILE=no'
3884 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3885 if test "x$LINE" != x
; then
3886 eval "DEFAULT_$LINE"
3891 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3895 eval "$ac_cv_use_profile"
3896 if test "$no_cache" != 1; then
3897 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3900 if test "$wxUSE_PROFILE" = yes; then
3901 echo "$as_me:$LINENO: result: yes" >&5
3902 echo "${ECHO_T}yes" >&6
3904 echo "$as_me:$LINENO: result: no" >&5
3905 echo "${ECHO_T}no" >&6
3910 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3911 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3913 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3914 if test "${enable_no_rtti+set}" = set; then
3915 enableval
="$enable_no_rtti"
3917 if test "$enableval" = yes; then
3918 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3920 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3925 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3926 if test "x$LINE" != x
; then
3927 eval "DEFAULT_$LINE"
3932 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3936 eval "$ac_cv_use_no_rtti"
3937 if test "$no_cache" != 1; then
3938 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3941 if test "$wxUSE_NO_RTTI" = yes; then
3942 echo "$as_me:$LINENO: result: yes" >&5
3943 echo "${ECHO_T}yes" >&6
3945 echo "$as_me:$LINENO: result: no" >&5
3946 echo "${ECHO_T}no" >&6
3951 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3952 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3954 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3955 if test "${enable_no_exceptions+set}" = set; then
3956 enableval
="$enable_no_exceptions"
3958 if test "$enableval" = yes; then
3959 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3961 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3966 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3967 if test "x$LINE" != x
; then
3968 eval "DEFAULT_$LINE"
3973 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3977 eval "$ac_cv_use_no_exceptions"
3978 if test "$no_cache" != 1; then
3979 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3982 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3983 echo "$as_me:$LINENO: result: yes" >&5
3984 echo "${ECHO_T}yes" >&6
3986 echo "$as_me:$LINENO: result: no" >&5
3987 echo "${ECHO_T}no" >&6
3992 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3993 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3995 # Check whether --enable-permissive or --disable-permissive was given.
3996 if test "${enable_permissive+set}" = set; then
3997 enableval
="$enable_permissive"
3999 if test "$enableval" = yes; then
4000 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4002 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4007 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4008 if test "x$LINE" != x
; then
4009 eval "DEFAULT_$LINE"
4014 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4018 eval "$ac_cv_use_permissive"
4019 if test "$no_cache" != 1; then
4020 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4023 if test "$wxUSE_PERMISSIVE" = yes; then
4024 echo "$as_me:$LINENO: result: yes" >&5
4025 echo "${ECHO_T}yes" >&6
4027 echo "$as_me:$LINENO: result: no" >&5
4028 echo "${ECHO_T}no" >&6
4033 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4034 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4036 # Check whether --enable-no_deps or --disable-no_deps was given.
4037 if test "${enable_no_deps+set}" = set; then
4038 enableval
="$enable_no_deps"
4040 if test "$enableval" = yes; then
4041 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4043 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4048 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4049 if test "x$LINE" != x
; then
4050 eval "DEFAULT_$LINE"
4055 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4059 eval "$ac_cv_use_no_deps"
4060 if test "$no_cache" != 1; then
4061 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4064 if test "$wxUSE_NO_DEPS" = yes; then
4065 echo "$as_me:$LINENO: result: yes" >&5
4066 echo "${ECHO_T}yes" >&6
4068 echo "$as_me:$LINENO: result: no" >&5
4069 echo "${ECHO_T}no" >&6
4075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4076 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4078 # Check whether --enable-compat22 or --disable-compat22 was given.
4079 if test "${enable_compat22+set}" = set; then
4080 enableval
="$enable_compat22"
4082 if test "$enableval" = yes; then
4083 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4085 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4090 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4091 if test "x$LINE" != x
; then
4092 eval "DEFAULT_$LINE"
4097 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4101 eval "$ac_cv_use_compat22"
4102 if test "$no_cache" != 1; then
4103 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4106 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4107 echo "$as_me:$LINENO: result: yes" >&5
4108 echo "${ECHO_T}yes" >&6
4110 echo "$as_me:$LINENO: result: no" >&5
4111 echo "${ECHO_T}no" >&6
4115 enablestring
=disable
4116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4117 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4119 # Check whether --enable-compat24 or --disable-compat24 was given.
4120 if test "${enable_compat24+set}" = set; then
4121 enableval
="$enable_compat24"
4123 if test "$enableval" = yes; then
4124 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4126 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4131 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4132 if test "x$LINE" != x
; then
4133 eval "DEFAULT_$LINE"
4138 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4142 eval "$ac_cv_use_compat24"
4143 if test "$no_cache" != 1; then
4144 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4147 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4148 echo "$as_me:$LINENO: result: yes" >&5
4149 echo "${ECHO_T}yes" >&6
4151 echo "$as_me:$LINENO: result: no" >&5
4152 echo "${ECHO_T}no" >&6
4158 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4159 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4161 # Check whether --enable-rpath or --disable-rpath was given.
4162 if test "${enable_rpath+set}" = set; then
4163 enableval
="$enable_rpath"
4165 if test "$enableval" = yes; then
4166 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4168 ac_cv_use_rpath
='wxUSE_RPATH=no'
4173 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4174 if test "x$LINE" != x
; then
4175 eval "DEFAULT_$LINE"
4180 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4184 eval "$ac_cv_use_rpath"
4185 if test "$no_cache" != 1; then
4186 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4189 if test "$wxUSE_RPATH" = yes; then
4190 echo "$as_me:$LINENO: result: yes" >&5
4191 echo "${ECHO_T}yes" >&6
4193 echo "$as_me:$LINENO: result: no" >&5
4194 echo "${ECHO_T}no" >&6
4202 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4203 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4205 # Check whether --enable-intl or --disable-intl was given.
4206 if test "${enable_intl+set}" = set; then
4207 enableval
="$enable_intl"
4209 if test "$enableval" = yes; then
4210 ac_cv_use_intl
='wxUSE_INTL=yes'
4212 ac_cv_use_intl
='wxUSE_INTL=no'
4217 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4218 if test "x$LINE" != x
; then
4219 eval "DEFAULT_$LINE"
4224 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4228 eval "$ac_cv_use_intl"
4229 if test "$no_cache" != 1; then
4230 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4233 if test "$wxUSE_INTL" = yes; then
4234 echo "$as_me:$LINENO: result: yes" >&5
4235 echo "${ECHO_T}yes" >&6
4237 echo "$as_me:$LINENO: result: no" >&5
4238 echo "${ECHO_T}no" >&6
4243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4244 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4246 # Check whether --enable-config or --disable-config was given.
4247 if test "${enable_config+set}" = set; then
4248 enableval
="$enable_config"
4250 if test "$enableval" = yes; then
4251 ac_cv_use_config
='wxUSE_CONFIG=yes'
4253 ac_cv_use_config
='wxUSE_CONFIG=no'
4258 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4259 if test "x$LINE" != x
; then
4260 eval "DEFAULT_$LINE"
4265 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4269 eval "$ac_cv_use_config"
4270 if test "$no_cache" != 1; then
4271 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4274 if test "$wxUSE_CONFIG" = yes; then
4275 echo "$as_me:$LINENO: result: yes" >&5
4276 echo "${ECHO_T}yes" >&6
4278 echo "$as_me:$LINENO: result: no" >&5
4279 echo "${ECHO_T}no" >&6
4285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4286 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4288 # Check whether --enable-protocols or --disable-protocols was given.
4289 if test "${enable_protocols+set}" = set; then
4290 enableval
="$enable_protocols"
4292 if test "$enableval" = yes; then
4293 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4295 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4300 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4301 if test "x$LINE" != x
; then
4302 eval "DEFAULT_$LINE"
4307 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4311 eval "$ac_cv_use_protocols"
4312 if test "$no_cache" != 1; then
4313 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4316 if test "$wxUSE_PROTOCOL" = yes; then
4317 echo "$as_me:$LINENO: result: yes" >&5
4318 echo "${ECHO_T}yes" >&6
4320 echo "$as_me:$LINENO: result: no" >&5
4321 echo "${ECHO_T}no" >&6
4326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4327 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4329 # Check whether --enable-ftp or --disable-ftp was given.
4330 if test "${enable_ftp+set}" = set; then
4331 enableval
="$enable_ftp"
4333 if test "$enableval" = yes; then
4334 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4336 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4341 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4342 if test "x$LINE" != x
; then
4343 eval "DEFAULT_$LINE"
4348 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4352 eval "$ac_cv_use_ftp"
4353 if test "$no_cache" != 1; then
4354 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4357 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4358 echo "$as_me:$LINENO: result: yes" >&5
4359 echo "${ECHO_T}yes" >&6
4361 echo "$as_me:$LINENO: result: no" >&5
4362 echo "${ECHO_T}no" >&6
4367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4368 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4370 # Check whether --enable-http or --disable-http was given.
4371 if test "${enable_http+set}" = set; then
4372 enableval
="$enable_http"
4374 if test "$enableval" = yes; then
4375 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4377 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4382 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4383 if test "x$LINE" != x
; then
4384 eval "DEFAULT_$LINE"
4389 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4393 eval "$ac_cv_use_http"
4394 if test "$no_cache" != 1; then
4395 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4398 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4399 echo "$as_me:$LINENO: result: yes" >&5
4400 echo "${ECHO_T}yes" >&6
4402 echo "$as_me:$LINENO: result: no" >&5
4403 echo "${ECHO_T}no" >&6
4408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4409 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4411 # Check whether --enable-fileproto or --disable-fileproto was given.
4412 if test "${enable_fileproto+set}" = set; then
4413 enableval
="$enable_fileproto"
4415 if test "$enableval" = yes; then
4416 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4418 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4423 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4424 if test "x$LINE" != x
; then
4425 eval "DEFAULT_$LINE"
4430 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4434 eval "$ac_cv_use_fileproto"
4435 if test "$no_cache" != 1; then
4436 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4439 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4440 echo "$as_me:$LINENO: result: yes" >&5
4441 echo "${ECHO_T}yes" >&6
4443 echo "$as_me:$LINENO: result: no" >&5
4444 echo "${ECHO_T}no" >&6
4449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4450 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4452 # Check whether --enable-sockets or --disable-sockets was given.
4453 if test "${enable_sockets+set}" = set; then
4454 enableval
="$enable_sockets"
4456 if test "$enableval" = yes; then
4457 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4459 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4464 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4465 if test "x$LINE" != x
; then
4466 eval "DEFAULT_$LINE"
4471 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4475 eval "$ac_cv_use_sockets"
4476 if test "$no_cache" != 1; then
4477 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4480 if test "$wxUSE_SOCKETS" = yes; then
4481 echo "$as_me:$LINENO: result: yes" >&5
4482 echo "${ECHO_T}yes" >&6
4484 echo "$as_me:$LINENO: result: no" >&5
4485 echo "${ECHO_T}no" >&6
4490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4491 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4493 # Check whether --enable-ole or --disable-ole was given.
4494 if test "${enable_ole+set}" = set; then
4495 enableval
="$enable_ole"
4497 if test "$enableval" = yes; then
4498 ac_cv_use_ole
='wxUSE_OLE=yes'
4500 ac_cv_use_ole
='wxUSE_OLE=no'
4505 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4506 if test "x$LINE" != x
; then
4507 eval "DEFAULT_$LINE"
4512 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4516 eval "$ac_cv_use_ole"
4517 if test "$no_cache" != 1; then
4518 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4521 if test "$wxUSE_OLE" = yes; then
4522 echo "$as_me:$LINENO: result: yes" >&5
4523 echo "${ECHO_T}yes" >&6
4525 echo "$as_me:$LINENO: result: no" >&5
4526 echo "${ECHO_T}no" >&6
4531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4532 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4534 # Check whether --enable-dataobj or --disable-dataobj was given.
4535 if test "${enable_dataobj+set}" = set; then
4536 enableval
="$enable_dataobj"
4538 if test "$enableval" = yes; then
4539 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4541 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4546 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4547 if test "x$LINE" != x
; then
4548 eval "DEFAULT_$LINE"
4553 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4557 eval "$ac_cv_use_dataobj"
4558 if test "$no_cache" != 1; then
4559 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4562 if test "$wxUSE_DATAOBJ" = yes; then
4563 echo "$as_me:$LINENO: result: yes" >&5
4564 echo "${ECHO_T}yes" >&6
4566 echo "$as_me:$LINENO: result: no" >&5
4567 echo "${ECHO_T}no" >&6
4573 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4574 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4576 # Check whether --enable-ipc or --disable-ipc was given.
4577 if test "${enable_ipc+set}" = set; then
4578 enableval
="$enable_ipc"
4580 if test "$enableval" = yes; then
4581 ac_cv_use_ipc
='wxUSE_IPC=yes'
4583 ac_cv_use_ipc
='wxUSE_IPC=no'
4588 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4589 if test "x$LINE" != x
; then
4590 eval "DEFAULT_$LINE"
4595 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4599 eval "$ac_cv_use_ipc"
4600 if test "$no_cache" != 1; then
4601 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4604 if test "$wxUSE_IPC" = yes; then
4605 echo "$as_me:$LINENO: result: yes" >&5
4606 echo "${ECHO_T}yes" >&6
4608 echo "$as_me:$LINENO: result: no" >&5
4609 echo "${ECHO_T}no" >&6
4615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4616 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4618 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4619 if test "${enable_apple_ieee+set}" = set; then
4620 enableval
="$enable_apple_ieee"
4622 if test "$enableval" = yes; then
4623 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4625 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4630 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4631 if test "x$LINE" != x
; then
4632 eval "DEFAULT_$LINE"
4637 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4641 eval "$ac_cv_use_apple_ieee"
4642 if test "$no_cache" != 1; then
4643 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4646 if test "$wxUSE_APPLE_IEEE" = yes; then
4647 echo "$as_me:$LINENO: result: yes" >&5
4648 echo "${ECHO_T}yes" >&6
4650 echo "$as_me:$LINENO: result: no" >&5
4651 echo "${ECHO_T}no" >&6
4656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4657 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4659 # Check whether --enable-arcstream or --disable-arcstream was given.
4660 if test "${enable_arcstream+set}" = set; then
4661 enableval
="$enable_arcstream"
4663 if test "$enableval" = yes; then
4664 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
4666 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
4671 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4672 if test "x$LINE" != x
; then
4673 eval "DEFAULT_$LINE"
4678 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4682 eval "$ac_cv_use_arcstream"
4683 if test "$no_cache" != 1; then
4684 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4687 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4688 echo "$as_me:$LINENO: result: yes" >&5
4689 echo "${ECHO_T}yes" >&6
4691 echo "$as_me:$LINENO: result: no" >&5
4692 echo "${ECHO_T}no" >&6
4697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4698 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4700 # Check whether --enable-backtrace or --disable-backtrace was given.
4701 if test "${enable_backtrace+set}" = set; then
4702 enableval
="$enable_backtrace"
4704 if test "$enableval" = yes; then
4705 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
4707 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
4712 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4713 if test "x$LINE" != x
; then
4714 eval "DEFAULT_$LINE"
4719 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4723 eval "$ac_cv_use_backtrace"
4724 if test "$no_cache" != 1; then
4725 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4728 if test "$wxUSE_STACKWALKER" = yes; then
4729 echo "$as_me:$LINENO: result: yes" >&5
4730 echo "${ECHO_T}yes" >&6
4732 echo "$as_me:$LINENO: result: no" >&5
4733 echo "${ECHO_T}no" >&6
4738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4739 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4741 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4742 if test "${enable_catch_segvs+set}" = set; then
4743 enableval
="$enable_catch_segvs"
4745 if test "$enableval" = yes; then
4746 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4748 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4753 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4754 if test "x$LINE" != x
; then
4755 eval "DEFAULT_$LINE"
4760 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4764 eval "$ac_cv_use_catch_segvs"
4765 if test "$no_cache" != 1; then
4766 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4769 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4770 echo "$as_me:$LINENO: result: yes" >&5
4771 echo "${ECHO_T}yes" >&6
4773 echo "$as_me:$LINENO: result: no" >&5
4774 echo "${ECHO_T}no" >&6
4779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4780 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4782 # Check whether --enable-cmdline or --disable-cmdline was given.
4783 if test "${enable_cmdline+set}" = set; then
4784 enableval
="$enable_cmdline"
4786 if test "$enableval" = yes; then
4787 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4789 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4794 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4795 if test "x$LINE" != x
; then
4796 eval "DEFAULT_$LINE"
4801 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4805 eval "$ac_cv_use_cmdline"
4806 if test "$no_cache" != 1; then
4807 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4810 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4811 echo "$as_me:$LINENO: result: yes" >&5
4812 echo "${ECHO_T}yes" >&6
4814 echo "$as_me:$LINENO: result: no" >&5
4815 echo "${ECHO_T}no" >&6
4820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4821 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4823 # Check whether --enable-datetime or --disable-datetime was given.
4824 if test "${enable_datetime+set}" = set; then
4825 enableval
="$enable_datetime"
4827 if test "$enableval" = yes; then
4828 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4830 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4835 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4836 if test "x$LINE" != x
; then
4837 eval "DEFAULT_$LINE"
4842 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4846 eval "$ac_cv_use_datetime"
4847 if test "$no_cache" != 1; then
4848 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4851 if test "$wxUSE_DATETIME" = yes; then
4852 echo "$as_me:$LINENO: result: yes" >&5
4853 echo "${ECHO_T}yes" >&6
4855 echo "$as_me:$LINENO: result: no" >&5
4856 echo "${ECHO_T}no" >&6
4861 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4862 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4864 # Check whether --enable-debugreport or --disable-debugreport was given.
4865 if test "${enable_debugreport+set}" = set; then
4866 enableval
="$enable_debugreport"
4868 if test "$enableval" = yes; then
4869 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
4871 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
4876 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4877 if test "x$LINE" != x
; then
4878 eval "DEFAULT_$LINE"
4883 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
4887 eval "$ac_cv_use_debugreport"
4888 if test "$no_cache" != 1; then
4889 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4892 if test "$wxUSE_DEBUGREPORT" = yes; then
4893 echo "$as_me:$LINENO: result: yes" >&5
4894 echo "${ECHO_T}yes" >&6
4896 echo "$as_me:$LINENO: result: no" >&5
4897 echo "${ECHO_T}no" >&6
4902 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4903 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4905 # Check whether --enable-dialupman or --disable-dialupman was given.
4906 if test "${enable_dialupman+set}" = set; then
4907 enableval
="$enable_dialupman"
4909 if test "$enableval" = yes; then
4910 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4912 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4917 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4918 if test "x$LINE" != x
; then
4919 eval "DEFAULT_$LINE"
4924 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4928 eval "$ac_cv_use_dialupman"
4929 if test "$no_cache" != 1; then
4930 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4933 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4934 echo "$as_me:$LINENO: result: yes" >&5
4935 echo "${ECHO_T}yes" >&6
4937 echo "$as_me:$LINENO: result: no" >&5
4938 echo "${ECHO_T}no" >&6
4943 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4944 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4946 # Check whether --enable-dynlib or --disable-dynlib was given.
4947 if test "${enable_dynlib+set}" = set; then
4948 enableval
="$enable_dynlib"
4950 if test "$enableval" = yes; then
4951 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4953 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4958 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4959 if test "x$LINE" != x
; then
4960 eval "DEFAULT_$LINE"
4965 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4969 eval "$ac_cv_use_dynlib"
4970 if test "$no_cache" != 1; then
4971 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4974 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4975 echo "$as_me:$LINENO: result: yes" >&5
4976 echo "${ECHO_T}yes" >&6
4978 echo "$as_me:$LINENO: result: no" >&5
4979 echo "${ECHO_T}no" >&6
4984 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4985 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4987 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4988 if test "${enable_dynamicloader+set}" = set; then
4989 enableval
="$enable_dynamicloader"
4991 if test "$enableval" = yes; then
4992 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4994 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4999 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5000 if test "x$LINE" != x
; then
5001 eval "DEFAULT_$LINE"
5006 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5010 eval "$ac_cv_use_dynamicloader"
5011 if test "$no_cache" != 1; then
5012 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5015 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5016 echo "$as_me:$LINENO: result: yes" >&5
5017 echo "${ECHO_T}yes" >&6
5019 echo "$as_me:$LINENO: result: no" >&5
5020 echo "${ECHO_T}no" >&6
5025 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5026 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5028 # Check whether --enable-exceptions or --disable-exceptions was given.
5029 if test "${enable_exceptions+set}" = set; then
5030 enableval
="$enable_exceptions"
5032 if test "$enableval" = yes; then
5033 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5035 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5040 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5041 if test "x$LINE" != x
; then
5042 eval "DEFAULT_$LINE"
5047 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5051 eval "$ac_cv_use_exceptions"
5052 if test "$no_cache" != 1; then
5053 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5056 if test "$wxUSE_EXCEPTIONS" = yes; then
5057 echo "$as_me:$LINENO: result: yes" >&5
5058 echo "${ECHO_T}yes" >&6
5060 echo "$as_me:$LINENO: result: no" >&5
5061 echo "${ECHO_T}no" >&6
5066 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5067 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5069 # Check whether --enable-ffile or --disable-ffile was given.
5070 if test "${enable_ffile+set}" = set; then
5071 enableval
="$enable_ffile"
5073 if test "$enableval" = yes; then
5074 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5076 ac_cv_use_ffile
='wxUSE_FFILE=no'
5081 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5082 if test "x$LINE" != x
; then
5083 eval "DEFAULT_$LINE"
5088 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5092 eval "$ac_cv_use_ffile"
5093 if test "$no_cache" != 1; then
5094 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5097 if test "$wxUSE_FFILE" = yes; then
5098 echo "$as_me:$LINENO: result: yes" >&5
5099 echo "${ECHO_T}yes" >&6
5101 echo "$as_me:$LINENO: result: no" >&5
5102 echo "${ECHO_T}no" >&6
5107 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5108 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5110 # Check whether --enable-file or --disable-file was given.
5111 if test "${enable_file+set}" = set; then
5112 enableval
="$enable_file"
5114 if test "$enableval" = yes; then
5115 ac_cv_use_file
='wxUSE_FILE=yes'
5117 ac_cv_use_file
='wxUSE_FILE=no'
5122 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5123 if test "x$LINE" != x
; then
5124 eval "DEFAULT_$LINE"
5129 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5133 eval "$ac_cv_use_file"
5134 if test "$no_cache" != 1; then
5135 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5138 if test "$wxUSE_FILE" = yes; then
5139 echo "$as_me:$LINENO: result: yes" >&5
5140 echo "${ECHO_T}yes" >&6
5142 echo "$as_me:$LINENO: result: no" >&5
5143 echo "${ECHO_T}no" >&6
5148 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5149 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5151 # Check whether --enable-filesystem or --disable-filesystem was given.
5152 if test "${enable_filesystem+set}" = set; then
5153 enableval
="$enable_filesystem"
5155 if test "$enableval" = yes; then
5156 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5158 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5163 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5164 if test "x$LINE" != x
; then
5165 eval "DEFAULT_$LINE"
5170 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5174 eval "$ac_cv_use_filesystem"
5175 if test "$no_cache" != 1; then
5176 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5179 if test "$wxUSE_FILESYSTEM" = yes; then
5180 echo "$as_me:$LINENO: result: yes" >&5
5181 echo "${ECHO_T}yes" >&6
5183 echo "$as_me:$LINENO: result: no" >&5
5184 echo "${ECHO_T}no" >&6
5189 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5190 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5192 # Check whether --enable-fontmap or --disable-fontmap was given.
5193 if test "${enable_fontmap+set}" = set; then
5194 enableval
="$enable_fontmap"
5196 if test "$enableval" = yes; then
5197 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5199 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5204 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5205 if test "x$LINE" != x
; then
5206 eval "DEFAULT_$LINE"
5211 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5215 eval "$ac_cv_use_fontmap"
5216 if test "$no_cache" != 1; then
5217 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5220 if test "$wxUSE_FONTMAP" = yes; then
5221 echo "$as_me:$LINENO: result: yes" >&5
5222 echo "${ECHO_T}yes" >&6
5224 echo "$as_me:$LINENO: result: no" >&5
5225 echo "${ECHO_T}no" >&6
5230 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5231 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5233 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5234 if test "${enable_fs_inet+set}" = set; then
5235 enableval
="$enable_fs_inet"
5237 if test "$enableval" = yes; then
5238 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5240 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5245 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5246 if test "x$LINE" != x
; then
5247 eval "DEFAULT_$LINE"
5252 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5256 eval "$ac_cv_use_fs_inet"
5257 if test "$no_cache" != 1; then
5258 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5261 if test "$wxUSE_FS_INET" = yes; then
5262 echo "$as_me:$LINENO: result: yes" >&5
5263 echo "${ECHO_T}yes" >&6
5265 echo "$as_me:$LINENO: result: no" >&5
5266 echo "${ECHO_T}no" >&6
5271 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5272 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5274 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5275 if test "${enable_fs_zip+set}" = set; then
5276 enableval
="$enable_fs_zip"
5278 if test "$enableval" = yes; then
5279 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5281 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5286 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5287 if test "x$LINE" != x
; then
5288 eval "DEFAULT_$LINE"
5293 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5297 eval "$ac_cv_use_fs_zip"
5298 if test "$no_cache" != 1; then
5299 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5302 if test "$wxUSE_FS_ZIP" = yes; then
5303 echo "$as_me:$LINENO: result: yes" >&5
5304 echo "${ECHO_T}yes" >&6
5306 echo "$as_me:$LINENO: result: no" >&5
5307 echo "${ECHO_T}no" >&6
5312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5313 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5315 # Check whether --enable-geometry or --disable-geometry was given.
5316 if test "${enable_geometry+set}" = set; then
5317 enableval
="$enable_geometry"
5319 if test "$enableval" = yes; then
5320 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5322 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5327 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5328 if test "x$LINE" != x
; then
5329 eval "DEFAULT_$LINE"
5334 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5338 eval "$ac_cv_use_geometry"
5339 if test "$no_cache" != 1; then
5340 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5343 if test "$wxUSE_GEOMETRY" = yes; then
5344 echo "$as_me:$LINENO: result: yes" >&5
5345 echo "${ECHO_T}yes" >&6
5347 echo "$as_me:$LINENO: result: no" >&5
5348 echo "${ECHO_T}no" >&6
5353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5354 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5356 # Check whether --enable-log or --disable-log was given.
5357 if test "${enable_log+set}" = set; then
5358 enableval
="$enable_log"
5360 if test "$enableval" = yes; then
5361 ac_cv_use_log
='wxUSE_LOG=yes'
5363 ac_cv_use_log
='wxUSE_LOG=no'
5368 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5369 if test "x$LINE" != x
; then
5370 eval "DEFAULT_$LINE"
5375 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5379 eval "$ac_cv_use_log"
5380 if test "$no_cache" != 1; then
5381 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5384 if test "$wxUSE_LOG" = yes; then
5385 echo "$as_me:$LINENO: result: yes" >&5
5386 echo "${ECHO_T}yes" >&6
5388 echo "$as_me:$LINENO: result: no" >&5
5389 echo "${ECHO_T}no" >&6
5394 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5395 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5397 # Check whether --enable-longlong or --disable-longlong was given.
5398 if test "${enable_longlong+set}" = set; then
5399 enableval
="$enable_longlong"
5401 if test "$enableval" = yes; then
5402 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5404 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5409 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5410 if test "x$LINE" != x
; then
5411 eval "DEFAULT_$LINE"
5416 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5420 eval "$ac_cv_use_longlong"
5421 if test "$no_cache" != 1; then
5422 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5425 if test "$wxUSE_LONGLONG" = yes; then
5426 echo "$as_me:$LINENO: result: yes" >&5
5427 echo "${ECHO_T}yes" >&6
5429 echo "$as_me:$LINENO: result: no" >&5
5430 echo "${ECHO_T}no" >&6
5435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5436 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5438 # Check whether --enable-mimetype or --disable-mimetype was given.
5439 if test "${enable_mimetype+set}" = set; then
5440 enableval
="$enable_mimetype"
5442 if test "$enableval" = yes; then
5443 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5445 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5450 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5451 if test "x$LINE" != x
; then
5452 eval "DEFAULT_$LINE"
5457 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5461 eval "$ac_cv_use_mimetype"
5462 if test "$no_cache" != 1; then
5463 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5466 if test "$wxUSE_MIMETYPE" = yes; then
5467 echo "$as_me:$LINENO: result: yes" >&5
5468 echo "${ECHO_T}yes" >&6
5470 echo "$as_me:$LINENO: result: no" >&5
5471 echo "${ECHO_T}no" >&6
5476 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5477 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5479 # Check whether --enable-mslu or --disable-mslu was given.
5480 if test "${enable_mslu+set}" = set; then
5481 enableval
="$enable_mslu"
5483 if test "$enableval" = yes; then
5484 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5486 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5491 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5492 if test "x$LINE" != x
; then
5493 eval "DEFAULT_$LINE"
5498 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5502 eval "$ac_cv_use_mslu"
5503 if test "$no_cache" != 1; then
5504 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5507 if test "$wxUSE_UNICODE_MSLU" = yes; then
5508 echo "$as_me:$LINENO: result: yes" >&5
5509 echo "${ECHO_T}yes" >&6
5511 echo "$as_me:$LINENO: result: no" >&5
5512 echo "${ECHO_T}no" >&6
5517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5518 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5520 # Check whether --enable-snglinst or --disable-snglinst was given.
5521 if test "${enable_snglinst+set}" = set; then
5522 enableval
="$enable_snglinst"
5524 if test "$enableval" = yes; then
5525 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5527 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5532 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5533 if test "x$LINE" != x
; then
5534 eval "DEFAULT_$LINE"
5539 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5543 eval "$ac_cv_use_snglinst"
5544 if test "$no_cache" != 1; then
5545 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5548 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5549 echo "$as_me:$LINENO: result: yes" >&5
5550 echo "${ECHO_T}yes" >&6
5552 echo "$as_me:$LINENO: result: no" >&5
5553 echo "${ECHO_T}no" >&6
5558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5559 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5561 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5562 if test "${enable_std_iostreams+set}" = set; then
5563 enableval
="$enable_std_iostreams"
5565 if test "$enableval" = yes; then
5566 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5568 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5573 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5574 if test "x$LINE" != x
; then
5575 eval "DEFAULT_$LINE"
5580 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5584 eval "$ac_cv_use_std_iostreams"
5585 if test "$no_cache" != 1; then
5586 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5589 if test "$wxUSE_STD_IOSTREAM" = yes; then
5590 echo "$as_me:$LINENO: result: yes" >&5
5591 echo "${ECHO_T}yes" >&6
5593 echo "$as_me:$LINENO: result: no" >&5
5594 echo "${ECHO_T}no" >&6
5599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5600 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5602 # Check whether --enable-std_string or --disable-std_string was given.
5603 if test "${enable_std_string+set}" = set; then
5604 enableval
="$enable_std_string"
5606 if test "$enableval" = yes; then
5607 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
5609 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
5614 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5615 if test "x$LINE" != x
; then
5616 eval "DEFAULT_$LINE"
5621 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5625 eval "$ac_cv_use_std_string"
5626 if test "$no_cache" != 1; then
5627 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5630 if test "$wxUSE_STD_STRING" = yes; then
5631 echo "$as_me:$LINENO: result: yes" >&5
5632 echo "${ECHO_T}yes" >&6
5634 echo "$as_me:$LINENO: result: no" >&5
5635 echo "${ECHO_T}no" >&6
5640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5641 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5643 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5644 if test "${enable_stdpaths+set}" = set; then
5645 enableval
="$enable_stdpaths"
5647 if test "$enableval" = yes; then
5648 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
5650 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
5655 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5656 if test "x$LINE" != x
; then
5657 eval "DEFAULT_$LINE"
5662 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5666 eval "$ac_cv_use_stdpaths"
5667 if test "$no_cache" != 1; then
5668 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5671 if test "$wxUSE_STDPATHS" = yes; then
5672 echo "$as_me:$LINENO: result: yes" >&5
5673 echo "${ECHO_T}yes" >&6
5675 echo "$as_me:$LINENO: result: no" >&5
5676 echo "${ECHO_T}no" >&6
5681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5682 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5684 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5685 if test "${enable_stopwatch+set}" = set; then
5686 enableval
="$enable_stopwatch"
5688 if test "$enableval" = yes; then
5689 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5691 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5696 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5697 if test "x$LINE" != x
; then
5698 eval "DEFAULT_$LINE"
5703 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5707 eval "$ac_cv_use_stopwatch"
5708 if test "$no_cache" != 1; then
5709 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5712 if test "$wxUSE_STOPWATCH" = yes; then
5713 echo "$as_me:$LINENO: result: yes" >&5
5714 echo "${ECHO_T}yes" >&6
5716 echo "$as_me:$LINENO: result: no" >&5
5717 echo "${ECHO_T}no" >&6
5722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5723 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5725 # Check whether --enable-streams or --disable-streams was given.
5726 if test "${enable_streams+set}" = set; then
5727 enableval
="$enable_streams"
5729 if test "$enableval" = yes; then
5730 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5732 ac_cv_use_streams
='wxUSE_STREAMS=no'
5737 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5738 if test "x$LINE" != x
; then
5739 eval "DEFAULT_$LINE"
5744 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5748 eval "$ac_cv_use_streams"
5749 if test "$no_cache" != 1; then
5750 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5753 if test "$wxUSE_STREAMS" = yes; then
5754 echo "$as_me:$LINENO: result: yes" >&5
5755 echo "${ECHO_T}yes" >&6
5757 echo "$as_me:$LINENO: result: no" >&5
5758 echo "${ECHO_T}no" >&6
5763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5764 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5766 # Check whether --enable-system_options or --disable-system_options was given.
5767 if test "${enable_system_options+set}" = set; then
5768 enableval
="$enable_system_options"
5770 if test "$enableval" = yes; then
5771 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5773 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5778 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5779 if test "x$LINE" != x
; then
5780 eval "DEFAULT_$LINE"
5785 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5789 eval "$ac_cv_use_system_options"
5790 if test "$no_cache" != 1; then
5791 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5794 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5795 echo "$as_me:$LINENO: result: yes" >&5
5796 echo "${ECHO_T}yes" >&6
5798 echo "$as_me:$LINENO: result: no" >&5
5799 echo "${ECHO_T}no" >&6
5804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5805 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5807 # Check whether --enable-textbuf or --disable-textbuf was given.
5808 if test "${enable_textbuf+set}" = set; then
5809 enableval
="$enable_textbuf"
5811 if test "$enableval" = yes; then
5812 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5814 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5819 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5820 if test "x$LINE" != x
; then
5821 eval "DEFAULT_$LINE"
5826 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5830 eval "$ac_cv_use_textbuf"
5831 if test "$no_cache" != 1; then
5832 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5835 if test "$wxUSE_TEXTBUFFER" = yes; then
5836 echo "$as_me:$LINENO: result: yes" >&5
5837 echo "${ECHO_T}yes" >&6
5839 echo "$as_me:$LINENO: result: no" >&5
5840 echo "${ECHO_T}no" >&6
5845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5846 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5848 # Check whether --enable-textfile or --disable-textfile was given.
5849 if test "${enable_textfile+set}" = set; then
5850 enableval
="$enable_textfile"
5852 if test "$enableval" = yes; then
5853 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5855 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5860 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5861 if test "x$LINE" != x
; then
5862 eval "DEFAULT_$LINE"
5867 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5871 eval "$ac_cv_use_textfile"
5872 if test "$no_cache" != 1; then
5873 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5876 if test "$wxUSE_TEXTFILE" = yes; then
5877 echo "$as_me:$LINENO: result: yes" >&5
5878 echo "${ECHO_T}yes" >&6
5880 echo "$as_me:$LINENO: result: no" >&5
5881 echo "${ECHO_T}no" >&6
5886 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5887 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5889 # Check whether --enable-timer or --disable-timer was given.
5890 if test "${enable_timer+set}" = set; then
5891 enableval
="$enable_timer"
5893 if test "$enableval" = yes; then
5894 ac_cv_use_timer
='wxUSE_TIMER=yes'
5896 ac_cv_use_timer
='wxUSE_TIMER=no'
5901 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5902 if test "x$LINE" != x
; then
5903 eval "DEFAULT_$LINE"
5908 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5912 eval "$ac_cv_use_timer"
5913 if test "$no_cache" != 1; then
5914 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5917 if test "$wxUSE_TIMER" = yes; then
5918 echo "$as_me:$LINENO: result: yes" >&5
5919 echo "${ECHO_T}yes" >&6
5921 echo "$as_me:$LINENO: result: no" >&5
5922 echo "${ECHO_T}no" >&6
5927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5928 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5930 # Check whether --enable-unicode or --disable-unicode was given.
5931 if test "${enable_unicode+set}" = set; then
5932 enableval
="$enable_unicode"
5934 if test "$enableval" = yes; then
5935 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5937 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5942 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5943 if test "x$LINE" != x
; then
5944 eval "DEFAULT_$LINE"
5949 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5953 eval "$ac_cv_use_unicode"
5954 if test "$no_cache" != 1; then
5955 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5958 if test "$wxUSE_UNICODE" = yes; then
5959 echo "$as_me:$LINENO: result: yes" >&5
5960 echo "${ECHO_T}yes" >&6
5962 echo "$as_me:$LINENO: result: no" >&5
5963 echo "${ECHO_T}no" >&6
5968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5969 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5971 # Check whether --enable-sound or --disable-sound was given.
5972 if test "${enable_sound+set}" = set; then
5973 enableval
="$enable_sound"
5975 if test "$enableval" = yes; then
5976 ac_cv_use_sound
='wxUSE_SOUND=yes'
5978 ac_cv_use_sound
='wxUSE_SOUND=no'
5983 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5984 if test "x$LINE" != x
; then
5985 eval "DEFAULT_$LINE"
5990 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5994 eval "$ac_cv_use_sound"
5995 if test "$no_cache" != 1; then
5996 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5999 if test "$wxUSE_SOUND" = yes; then
6000 echo "$as_me:$LINENO: result: yes" >&5
6001 echo "${ECHO_T}yes" >&6
6003 echo "$as_me:$LINENO: result: no" >&5
6004 echo "${ECHO_T}no" >&6
6009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6010 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6012 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6013 if test "${enable_mediactrl+set}" = set; then
6014 enableval
="$enable_mediactrl"
6016 if test "$enableval" = yes; then
6017 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6019 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6024 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6025 if test "x$LINE" != x
; then
6026 eval "DEFAULT_$LINE"
6031 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6035 eval "$ac_cv_use_mediactrl"
6036 if test "$no_cache" != 1; then
6037 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6040 if test "$wxUSE_MEDIACTRL" = yes; then
6041 echo "$as_me:$LINENO: result: yes" >&5
6042 echo "${ECHO_T}yes" >&6
6044 echo "$as_me:$LINENO: result: no" >&5
6045 echo "${ECHO_T}no" >&6
6050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6051 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6053 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6054 if test "${enable_wxprintfv+set}" = set; then
6055 enableval
="$enable_wxprintfv"
6057 if test "$enableval" = yes; then
6058 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
6060 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
6065 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6066 if test "x$LINE" != x
; then
6067 eval "DEFAULT_$LINE"
6072 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6076 eval "$ac_cv_use_wxprintfv"
6077 if test "$no_cache" != 1; then
6078 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6081 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6082 echo "$as_me:$LINENO: result: yes" >&5
6083 echo "${ECHO_T}yes" >&6
6085 echo "$as_me:$LINENO: result: no" >&5
6086 echo "${ECHO_T}no" >&6
6091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6092 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6094 # Check whether --enable-zipstream or --disable-zipstream was given.
6095 if test "${enable_zipstream+set}" = set; then
6096 enableval
="$enable_zipstream"
6098 if test "$enableval" = yes; then
6099 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6101 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6106 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6107 if test "x$LINE" != x
; then
6108 eval "DEFAULT_$LINE"
6113 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6117 eval "$ac_cv_use_zipstream"
6118 if test "$no_cache" != 1; then
6119 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6122 if test "$wxUSE_ZIPSTREAM" = yes; then
6123 echo "$as_me:$LINENO: result: yes" >&5
6124 echo "${ECHO_T}yes" >&6
6126 echo "$as_me:$LINENO: result: no" >&5
6127 echo "${ECHO_T}no" >&6
6133 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6134 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6136 # Check whether --enable-url or --disable-url was given.
6137 if test "${enable_url+set}" = set; then
6138 enableval
="$enable_url"
6140 if test "$enableval" = yes; then
6141 ac_cv_use_url
='wxUSE_URL=yes'
6143 ac_cv_use_url
='wxUSE_URL=no'
6148 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6149 if test "x$LINE" != x
; then
6150 eval "DEFAULT_$LINE"
6155 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6159 eval "$ac_cv_use_url"
6160 if test "$no_cache" != 1; then
6161 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6164 if test "$wxUSE_URL" = yes; then
6165 echo "$as_me:$LINENO: result: yes" >&5
6166 echo "${ECHO_T}yes" >&6
6168 echo "$as_me:$LINENO: result: no" >&5
6169 echo "${ECHO_T}no" >&6
6174 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6175 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6177 # Check whether --enable-protocol or --disable-protocol was given.
6178 if test "${enable_protocol+set}" = set; then
6179 enableval
="$enable_protocol"
6181 if test "$enableval" = yes; then
6182 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6184 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6189 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6190 if test "x$LINE" != x
; then
6191 eval "DEFAULT_$LINE"
6196 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6200 eval "$ac_cv_use_protocol"
6201 if test "$no_cache" != 1; then
6202 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6205 if test "$wxUSE_PROTOCOL" = yes; then
6206 echo "$as_me:$LINENO: result: yes" >&5
6207 echo "${ECHO_T}yes" >&6
6209 echo "$as_me:$LINENO: result: no" >&5
6210 echo "${ECHO_T}no" >&6
6215 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6216 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6218 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6219 if test "${enable_protocol_http+set}" = set; then
6220 enableval
="$enable_protocol_http"
6222 if test "$enableval" = yes; then
6223 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6225 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6230 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6231 if test "x$LINE" != x
; then
6232 eval "DEFAULT_$LINE"
6237 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6241 eval "$ac_cv_use_protocol_http"
6242 if test "$no_cache" != 1; then
6243 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6246 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6247 echo "$as_me:$LINENO: result: yes" >&5
6248 echo "${ECHO_T}yes" >&6
6250 echo "$as_me:$LINENO: result: no" >&5
6251 echo "${ECHO_T}no" >&6
6256 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6257 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6259 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6260 if test "${enable_protocol_ftp+set}" = set; then
6261 enableval
="$enable_protocol_ftp"
6263 if test "$enableval" = yes; then
6264 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6266 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6271 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6272 if test "x$LINE" != x
; then
6273 eval "DEFAULT_$LINE"
6278 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6282 eval "$ac_cv_use_protocol_ftp"
6283 if test "$no_cache" != 1; then
6284 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6287 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6288 echo "$as_me:$LINENO: result: yes" >&5
6289 echo "${ECHO_T}yes" >&6
6291 echo "$as_me:$LINENO: result: no" >&5
6292 echo "${ECHO_T}no" >&6
6297 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6298 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6300 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6301 if test "${enable_protocol_file+set}" = set; then
6302 enableval
="$enable_protocol_file"
6304 if test "$enableval" = yes; then
6305 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6307 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6312 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6313 if test "x$LINE" != x
; then
6314 eval "DEFAULT_$LINE"
6319 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6323 eval "$ac_cv_use_protocol_file"
6324 if test "$no_cache" != 1; then
6325 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6328 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6329 echo "$as_me:$LINENO: result: yes" >&5
6330 echo "${ECHO_T}yes" >&6
6332 echo "$as_me:$LINENO: result: no" >&5
6333 echo "${ECHO_T}no" >&6
6341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6342 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6344 # Check whether --enable-threads or --disable-threads was given.
6345 if test "${enable_threads+set}" = set; then
6346 enableval
="$enable_threads"
6348 if test "$enableval" = yes; then
6349 ac_cv_use_threads
='wxUSE_THREADS=yes'
6351 ac_cv_use_threads
='wxUSE_THREADS=no'
6356 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6357 if test "x$LINE" != x
; then
6358 eval "DEFAULT_$LINE"
6363 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6367 eval "$ac_cv_use_threads"
6368 if test "$no_cache" != 1; then
6369 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6372 if test "$wxUSE_THREADS" = yes; then
6373 echo "$as_me:$LINENO: result: yes" >&5
6374 echo "${ECHO_T}yes" >&6
6376 echo "$as_me:$LINENO: result: no" >&5
6377 echo "${ECHO_T}no" >&6
6381 if test "$wxUSE_GUI" = "yes"; then
6386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6387 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6389 # Check whether --enable-docview or --disable-docview was given.
6390 if test "${enable_docview+set}" = set; then
6391 enableval
="$enable_docview"
6393 if test "$enableval" = yes; then
6394 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6396 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6401 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6402 if test "x$LINE" != x
; then
6403 eval "DEFAULT_$LINE"
6408 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6412 eval "$ac_cv_use_docview"
6413 if test "$no_cache" != 1; then
6414 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6417 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6418 echo "$as_me:$LINENO: result: yes" >&5
6419 echo "${ECHO_T}yes" >&6
6421 echo "$as_me:$LINENO: result: no" >&5
6422 echo "${ECHO_T}no" >&6
6427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6428 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6430 # Check whether --enable-help or --disable-help was given.
6431 if test "${enable_help+set}" = set; then
6432 enableval
="$enable_help"
6434 if test "$enableval" = yes; then
6435 ac_cv_use_help
='wxUSE_HELP=yes'
6437 ac_cv_use_help
='wxUSE_HELP=no'
6442 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6443 if test "x$LINE" != x
; then
6444 eval "DEFAULT_$LINE"
6449 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6453 eval "$ac_cv_use_help"
6454 if test "$no_cache" != 1; then
6455 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6458 if test "$wxUSE_HELP" = yes; then
6459 echo "$as_me:$LINENO: result: yes" >&5
6460 echo "${ECHO_T}yes" >&6
6462 echo "$as_me:$LINENO: result: no" >&5
6463 echo "${ECHO_T}no" >&6
6468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6469 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6471 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6472 if test "${enable_mshtmlhelp+set}" = set; then
6473 enableval
="$enable_mshtmlhelp"
6475 if test "$enableval" = yes; then
6476 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6478 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6483 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6484 if test "x$LINE" != x
; then
6485 eval "DEFAULT_$LINE"
6490 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6494 eval "$ac_cv_use_mshtmlhelp"
6495 if test "$no_cache" != 1; then
6496 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6499 if test "$wxUSE_MS_HTML_HELP" = yes; then
6500 echo "$as_me:$LINENO: result: yes" >&5
6501 echo "${ECHO_T}yes" >&6
6503 echo "$as_me:$LINENO: result: no" >&5
6504 echo "${ECHO_T}no" >&6
6509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6510 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6512 # Check whether --enable-html or --disable-html was given.
6513 if test "${enable_html+set}" = set; then
6514 enableval
="$enable_html"
6516 if test "$enableval" = yes; then
6517 ac_cv_use_html
='wxUSE_HTML=yes'
6519 ac_cv_use_html
='wxUSE_HTML=no'
6524 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6525 if test "x$LINE" != x
; then
6526 eval "DEFAULT_$LINE"
6531 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6535 eval "$ac_cv_use_html"
6536 if test "$no_cache" != 1; then
6537 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6540 if test "$wxUSE_HTML" = yes; then
6541 echo "$as_me:$LINENO: result: yes" >&5
6542 echo "${ECHO_T}yes" >&6
6544 echo "$as_me:$LINENO: result: no" >&5
6545 echo "${ECHO_T}no" >&6
6550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6551 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6553 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6554 if test "${enable_htmlhelp+set}" = set; then
6555 enableval
="$enable_htmlhelp"
6557 if test "$enableval" = yes; then
6558 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6560 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6565 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6566 if test "x$LINE" != x
; then
6567 eval "DEFAULT_$LINE"
6572 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6576 eval "$ac_cv_use_htmlhelp"
6577 if test "$no_cache" != 1; then
6578 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6581 if test "$wxUSE_WXHTML_HELP" = yes; then
6582 echo "$as_me:$LINENO: result: yes" >&5
6583 echo "${ECHO_T}yes" >&6
6585 echo "$as_me:$LINENO: result: no" >&5
6586 echo "${ECHO_T}no" >&6
6591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6592 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6594 # Check whether --enable-xrc or --disable-xrc was given.
6595 if test "${enable_xrc+set}" = set; then
6596 enableval
="$enable_xrc"
6598 if test "$enableval" = yes; then
6599 ac_cv_use_xrc
='wxUSE_XRC=yes'
6601 ac_cv_use_xrc
='wxUSE_XRC=no'
6606 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6607 if test "x$LINE" != x
; then
6608 eval "DEFAULT_$LINE"
6613 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6617 eval "$ac_cv_use_xrc"
6618 if test "$no_cache" != 1; then
6619 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6622 if test "$wxUSE_XRC" = yes; then
6623 echo "$as_me:$LINENO: result: yes" >&5
6624 echo "${ECHO_T}yes" >&6
6626 echo "$as_me:$LINENO: result: no" >&5
6627 echo "${ECHO_T}no" >&6
6632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6633 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6635 # Check whether --enable-constraints or --disable-constraints was given.
6636 if test "${enable_constraints+set}" = set; then
6637 enableval
="$enable_constraints"
6639 if test "$enableval" = yes; then
6640 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6642 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6647 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6648 if test "x$LINE" != x
; then
6649 eval "DEFAULT_$LINE"
6654 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6658 eval "$ac_cv_use_constraints"
6659 if test "$no_cache" != 1; then
6660 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6663 if test "$wxUSE_CONSTRAINTS" = yes; then
6664 echo "$as_me:$LINENO: result: yes" >&5
6665 echo "${ECHO_T}yes" >&6
6667 echo "$as_me:$LINENO: result: no" >&5
6668 echo "${ECHO_T}no" >&6
6673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6674 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6676 # Check whether --enable-printarch or --disable-printarch was given.
6677 if test "${enable_printarch+set}" = set; then
6678 enableval
="$enable_printarch"
6680 if test "$enableval" = yes; then
6681 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6683 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6688 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6689 if test "x$LINE" != x
; then
6690 eval "DEFAULT_$LINE"
6695 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6699 eval "$ac_cv_use_printarch"
6700 if test "$no_cache" != 1; then
6701 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6704 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6705 echo "$as_me:$LINENO: result: yes" >&5
6706 echo "${ECHO_T}yes" >&6
6708 echo "$as_me:$LINENO: result: no" >&5
6709 echo "${ECHO_T}no" >&6
6714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6715 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6717 # Check whether --enable-mdi or --disable-mdi was given.
6718 if test "${enable_mdi+set}" = set; then
6719 enableval
="$enable_mdi"
6721 if test "$enableval" = yes; then
6722 ac_cv_use_mdi
='wxUSE_MDI=yes'
6724 ac_cv_use_mdi
='wxUSE_MDI=no'
6729 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6730 if test "x$LINE" != x
; then
6731 eval "DEFAULT_$LINE"
6736 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6740 eval "$ac_cv_use_mdi"
6741 if test "$no_cache" != 1; then
6742 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6745 if test "$wxUSE_MDI" = yes; then
6746 echo "$as_me:$LINENO: result: yes" >&5
6747 echo "${ECHO_T}yes" >&6
6749 echo "$as_me:$LINENO: result: no" >&5
6750 echo "${ECHO_T}no" >&6
6755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6756 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6758 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6759 if test "${enable_mdidoc+set}" = set; then
6760 enableval
="$enable_mdidoc"
6762 if test "$enableval" = yes; then
6763 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6765 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6770 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6771 if test "x$LINE" != x
; then
6772 eval "DEFAULT_$LINE"
6777 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6781 eval "$ac_cv_use_mdidoc"
6782 if test "$no_cache" != 1; then
6783 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6786 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6787 echo "$as_me:$LINENO: result: yes" >&5
6788 echo "${ECHO_T}yes" >&6
6790 echo "$as_me:$LINENO: result: no" >&5
6791 echo "${ECHO_T}no" >&6
6796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6797 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6799 # Check whether --enable-loggui or --disable-loggui was given.
6800 if test "${enable_loggui+set}" = set; then
6801 enableval
="$enable_loggui"
6803 if test "$enableval" = yes; then
6804 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6806 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6811 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6812 if test "x$LINE" != x
; then
6813 eval "DEFAULT_$LINE"
6818 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6822 eval "$ac_cv_use_loggui"
6823 if test "$no_cache" != 1; then
6824 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6827 if test "$wxUSE_LOGGUI" = yes; then
6828 echo "$as_me:$LINENO: result: yes" >&5
6829 echo "${ECHO_T}yes" >&6
6831 echo "$as_me:$LINENO: result: no" >&5
6832 echo "${ECHO_T}no" >&6
6837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6838 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6840 # Check whether --enable-logwin or --disable-logwin was given.
6841 if test "${enable_logwin+set}" = set; then
6842 enableval
="$enable_logwin"
6844 if test "$enableval" = yes; then
6845 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6847 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6852 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6853 if test "x$LINE" != x
; then
6854 eval "DEFAULT_$LINE"
6859 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6863 eval "$ac_cv_use_logwin"
6864 if test "$no_cache" != 1; then
6865 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6868 if test "$wxUSE_LOGWINDOW" = yes; then
6869 echo "$as_me:$LINENO: result: yes" >&5
6870 echo "${ECHO_T}yes" >&6
6872 echo "$as_me:$LINENO: result: no" >&5
6873 echo "${ECHO_T}no" >&6
6878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6879 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6881 # Check whether --enable-logdialog or --disable-logdialog was given.
6882 if test "${enable_logdialog+set}" = set; then
6883 enableval
="$enable_logdialog"
6885 if test "$enableval" = yes; then
6886 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6888 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6893 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6894 if test "x$LINE" != x
; then
6895 eval "DEFAULT_$LINE"
6900 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6904 eval "$ac_cv_use_logdialog"
6905 if test "$no_cache" != 1; then
6906 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6909 if test "$wxUSE_LOGDIALOG" = yes; then
6910 echo "$as_me:$LINENO: result: yes" >&5
6911 echo "${ECHO_T}yes" >&6
6913 echo "$as_me:$LINENO: result: no" >&5
6914 echo "${ECHO_T}no" >&6
6919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6920 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6922 # Check whether --enable-webkit or --disable-webkit was given.
6923 if test "${enable_webkit+set}" = set; then
6924 enableval
="$enable_webkit"
6926 if test "$enableval" = yes; then
6927 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6929 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6934 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6935 if test "x$LINE" != x
; then
6936 eval "DEFAULT_$LINE"
6941 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6945 eval "$ac_cv_use_webkit"
6946 if test "$no_cache" != 1; then
6947 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6950 if test "$wxUSE_WEBKIT" = yes; then
6951 echo "$as_me:$LINENO: result: yes" >&5
6952 echo "${ECHO_T}yes" >&6
6954 echo "$as_me:$LINENO: result: no" >&5
6955 echo "${ECHO_T}no" >&6
6961 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6962 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6964 # Check whether --enable-postscript or --disable-postscript was given.
6965 if test "${enable_postscript+set}" = set; then
6966 enableval
="$enable_postscript"
6968 if test "$enableval" = yes; then
6969 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6971 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6976 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6977 if test "x$LINE" != x
; then
6978 eval "DEFAULT_$LINE"
6983 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6987 eval "$ac_cv_use_postscript"
6988 if test "$no_cache" != 1; then
6989 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6992 if test "$wxUSE_POSTSCRIPT" = yes; then
6993 echo "$as_me:$LINENO: result: yes" >&5
6994 echo "${ECHO_T}yes" >&6
6996 echo "$as_me:$LINENO: result: no" >&5
6997 echo "${ECHO_T}no" >&6
7005 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7006 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7008 # Check whether --enable-prologio or --disable-prologio was given.
7009 if test "${enable_prologio+set}" = set; then
7010 enableval
="$enable_prologio"
7012 if test "$enableval" = yes; then
7013 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7015 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7020 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7021 if test "x$LINE" != x
; then
7022 eval "DEFAULT_$LINE"
7027 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7031 eval "$ac_cv_use_prologio"
7032 if test "$no_cache" != 1; then
7033 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7036 if test "$wxUSE_PROLOGIO" = yes; then
7037 echo "$as_me:$LINENO: result: yes" >&5
7038 echo "${ECHO_T}yes" >&6
7040 echo "$as_me:$LINENO: result: no" >&5
7041 echo "${ECHO_T}no" >&6
7046 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7047 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7049 # Check whether --enable-resources or --disable-resources was given.
7050 if test "${enable_resources+set}" = set; then
7051 enableval
="$enable_resources"
7053 if test "$enableval" = yes; then
7054 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7056 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7061 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7062 if test "x$LINE" != x
; then
7063 eval "DEFAULT_$LINE"
7068 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7072 eval "$ac_cv_use_resources"
7073 if test "$no_cache" != 1; then
7074 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7077 if test "$wxUSE_RESOURCES" = yes; then
7078 echo "$as_me:$LINENO: result: yes" >&5
7079 echo "${ECHO_T}yes" >&6
7081 echo "$as_me:$LINENO: result: no" >&5
7082 echo "${ECHO_T}no" >&6
7089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7090 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7092 # Check whether --enable-clipboard or --disable-clipboard was given.
7093 if test "${enable_clipboard+set}" = set; then
7094 enableval
="$enable_clipboard"
7096 if test "$enableval" = yes; then
7097 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7099 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7104 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7105 if test "x$LINE" != x
; then
7106 eval "DEFAULT_$LINE"
7111 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7115 eval "$ac_cv_use_clipboard"
7116 if test "$no_cache" != 1; then
7117 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7120 if test "$wxUSE_CLIPBOARD" = yes; then
7121 echo "$as_me:$LINENO: result: yes" >&5
7122 echo "${ECHO_T}yes" >&6
7124 echo "$as_me:$LINENO: result: no" >&5
7125 echo "${ECHO_T}no" >&6
7130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7131 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7133 # Check whether --enable-dnd or --disable-dnd was given.
7134 if test "${enable_dnd+set}" = set; then
7135 enableval
="$enable_dnd"
7137 if test "$enableval" = yes; then
7138 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7140 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7145 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7146 if test "x$LINE" != x
; then
7147 eval "DEFAULT_$LINE"
7152 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7156 eval "$ac_cv_use_dnd"
7157 if test "$no_cache" != 1; then
7158 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7161 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7162 echo "$as_me:$LINENO: result: yes" >&5
7163 echo "${ECHO_T}yes" >&6
7165 echo "$as_me:$LINENO: result: no" >&5
7166 echo "${ECHO_T}no" >&6
7171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7172 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7174 # Check whether --enable-metafile or --disable-metafile was given.
7175 if test "${enable_metafile+set}" = set; then
7176 enableval
="$enable_metafile"
7178 if test "$enableval" = yes; then
7179 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7181 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7186 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7187 if test "x$LINE" != x
; then
7188 eval "DEFAULT_$LINE"
7193 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7197 eval "$ac_cv_use_metafile"
7198 if test "$no_cache" != 1; then
7199 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7202 if test "$wxUSE_METAFILE" = yes; then
7203 echo "$as_me:$LINENO: result: yes" >&5
7204 echo "${ECHO_T}yes" >&6
7206 echo "$as_me:$LINENO: result: no" >&5
7207 echo "${ECHO_T}no" >&6
7215 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7216 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7218 # Check whether --enable-controls or --disable-controls was given.
7219 if test "${enable_controls+set}" = set; then
7220 enableval
="$enable_controls"
7222 if test "$enableval" = yes; then
7223 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7225 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7230 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7231 if test "x$LINE" != x
; then
7232 eval "DEFAULT_$LINE"
7237 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7241 eval "$ac_cv_use_controls"
7242 if test "$no_cache" != 1; then
7243 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7246 if test "$wxUSE_CONTROLS" = yes; then
7247 echo "$as_me:$LINENO: result: yes" >&5
7248 echo "${ECHO_T}yes" >&6
7250 echo "$as_me:$LINENO: result: no" >&5
7251 echo "${ECHO_T}no" >&6
7255 if test "$wxUSE_CONTROLS" = "yes"; then
7256 DEFAULT_wxUSE_ACCEL
=yes
7257 DEFAULT_wxUSE_BMPBUTTON
=yes
7258 DEFAULT_wxUSE_BUTTON
=yes
7259 DEFAULT_wxUSE_CALCTRL
=yes
7260 DEFAULT_wxUSE_CARET
=yes
7261 DEFAULT_wxUSE_COMBOBOX
=yes
7262 DEFAULT_wxUSE_CHECKBOX
=yes
7263 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7264 DEFAULT_wxUSE_CHOICE
=yes
7265 DEFAULT_wxUSE_CHOICEBOOK
=yes
7266 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7267 DEFAULT_wxUSE_GAUGE
=yes
7268 DEFAULT_wxUSE_GRID
=yes
7269 DEFAULT_wxUSE_IMAGLIST
=yes
7270 DEFAULT_wxUSE_LISTBOOK
=yes
7271 DEFAULT_wxUSE_LISTBOX
=yes
7272 DEFAULT_wxUSE_LISTCTRL
=yes
7273 DEFAULT_wxUSE_NOTEBOOK
=yes
7274 DEFAULT_wxUSE_RADIOBOX
=yes
7275 DEFAULT_wxUSE_RADIOBTN
=yes
7276 DEFAULT_wxUSE_SASH
=yes
7277 DEFAULT_wxUSE_SCROLLBAR
=yes
7278 DEFAULT_wxUSE_SLIDER
=yes
7279 DEFAULT_wxUSE_SPINBTN
=yes
7280 DEFAULT_wxUSE_SPINCTRL
=yes
7281 DEFAULT_wxUSE_SPLITTER
=yes
7282 DEFAULT_wxUSE_STATBMP
=yes
7283 DEFAULT_wxUSE_STATBOX
=yes
7284 DEFAULT_wxUSE_STATLINE
=yes
7285 DEFAULT_wxUSE_STATUSBAR
=yes
7286 DEFAULT_wxUSE_TAB_DIALOG
=yes
7287 DEFAULT_wxUSE_TOGGLEBTN
=yes
7288 DEFAULT_wxUSE_TOOLBAR
=yes
7289 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7290 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7291 DEFAULT_wxUSE_TOOLTIPS
=yes
7292 DEFAULT_wxUSE_TREECTRL
=yes
7293 DEFAULT_wxUSE_POPUPWIN
=yes
7294 DEFAULT_wxUSE_TIPWINDOW
=yes
7295 elif test "$wxUSE_CONTROLS" = "no"; then
7296 DEFAULT_wxUSE_ACCEL
=no
7297 DEFAULT_wxUSE_BMPBUTTON
=no
7298 DEFAULT_wxUSE_BUTTON
=no
7299 DEFAULT_wxUSE_CALCTRL
=no
7300 DEFAULT_wxUSE_CARET
=no
7301 DEFAULT_wxUSE_COMBOBOX
=no
7302 DEFAULT_wxUSE_CHECKBOX
=no
7303 DEFAULT_wxUSE_CHECKLISTBOX
=no
7304 DEFAULT_wxUSE_CHOICE
=no
7305 DEFAULT_wxUSE_CHOICEBOOK
=no
7306 DEFAULT_wxUSE_DATEPICKCTRL
=no
7307 DEFAULT_wxUSE_GAUGE
=no
7308 DEFAULT_wxUSE_GRID
=no
7309 DEFAULT_wxUSE_IMAGLIST
=no
7310 DEFAULT_wxUSE_LISTBOOK
=no
7311 DEFAULT_wxUSE_LISTBOX
=no
7312 DEFAULT_wxUSE_LISTCTRL
=no
7313 DEFAULT_wxUSE_NOTEBOOK
=no
7314 DEFAULT_wxUSE_RADIOBOX
=no
7315 DEFAULT_wxUSE_RADIOBTN
=no
7316 DEFAULT_wxUSE_SASH
=no
7317 DEFAULT_wxUSE_SCROLLBAR
=no
7318 DEFAULT_wxUSE_SLIDER
=no
7319 DEFAULT_wxUSE_SPINBTN
=no
7320 DEFAULT_wxUSE_SPINCTRL
=no
7321 DEFAULT_wxUSE_SPLITTER
=no
7322 DEFAULT_wxUSE_STATBMP
=no
7323 DEFAULT_wxUSE_STATBOX
=no
7324 DEFAULT_wxUSE_STATLINE
=no
7325 DEFAULT_wxUSE_STATUSBAR
=no
7326 DEFAULT_wxUSE_TAB_DIALOG
=no
7327 DEFAULT_wxUSE_TOGGLEBTN
=no
7328 DEFAULT_wxUSE_TOOLBAR
=no
7329 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7330 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7331 DEFAULT_wxUSE_TOOLTIPS
=no
7332 DEFAULT_wxUSE_TREECTRL
=no
7333 DEFAULT_wxUSE_POPUPWIN
=no
7334 DEFAULT_wxUSE_TIPWINDOW
=no
7339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7340 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7342 # Check whether --enable-accel or --disable-accel was given.
7343 if test "${enable_accel+set}" = set; then
7344 enableval
="$enable_accel"
7346 if test "$enableval" = yes; then
7347 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7349 ac_cv_use_accel
='wxUSE_ACCEL=no'
7354 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7355 if test "x$LINE" != x
; then
7356 eval "DEFAULT_$LINE"
7361 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7365 eval "$ac_cv_use_accel"
7366 if test "$no_cache" != 1; then
7367 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7370 if test "$wxUSE_ACCEL" = yes; then
7371 echo "$as_me:$LINENO: result: yes" >&5
7372 echo "${ECHO_T}yes" >&6
7374 echo "$as_me:$LINENO: result: no" >&5
7375 echo "${ECHO_T}no" >&6
7380 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7381 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7383 # Check whether --enable-button or --disable-button was given.
7384 if test "${enable_button+set}" = set; then
7385 enableval
="$enable_button"
7387 if test "$enableval" = yes; then
7388 ac_cv_use_button
='wxUSE_BUTTON=yes'
7390 ac_cv_use_button
='wxUSE_BUTTON=no'
7395 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7396 if test "x$LINE" != x
; then
7397 eval "DEFAULT_$LINE"
7402 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7406 eval "$ac_cv_use_button"
7407 if test "$no_cache" != 1; then
7408 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7411 if test "$wxUSE_BUTTON" = yes; then
7412 echo "$as_me:$LINENO: result: yes" >&5
7413 echo "${ECHO_T}yes" >&6
7415 echo "$as_me:$LINENO: result: no" >&5
7416 echo "${ECHO_T}no" >&6
7421 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7422 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7424 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7425 if test "${enable_bmpbutton+set}" = set; then
7426 enableval
="$enable_bmpbutton"
7428 if test "$enableval" = yes; then
7429 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7431 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7436 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7437 if test "x$LINE" != x
; then
7438 eval "DEFAULT_$LINE"
7443 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7447 eval "$ac_cv_use_bmpbutton"
7448 if test "$no_cache" != 1; then
7449 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7452 if test "$wxUSE_BMPBUTTON" = yes; then
7453 echo "$as_me:$LINENO: result: yes" >&5
7454 echo "${ECHO_T}yes" >&6
7456 echo "$as_me:$LINENO: result: no" >&5
7457 echo "${ECHO_T}no" >&6
7462 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7463 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7465 # Check whether --enable-calendar or --disable-calendar was given.
7466 if test "${enable_calendar+set}" = set; then
7467 enableval
="$enable_calendar"
7469 if test "$enableval" = yes; then
7470 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7472 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7477 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7478 if test "x$LINE" != x
; then
7479 eval "DEFAULT_$LINE"
7484 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7488 eval "$ac_cv_use_calendar"
7489 if test "$no_cache" != 1; then
7490 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7493 if test "$wxUSE_CALCTRL" = yes; then
7494 echo "$as_me:$LINENO: result: yes" >&5
7495 echo "${ECHO_T}yes" >&6
7497 echo "$as_me:$LINENO: result: no" >&5
7498 echo "${ECHO_T}no" >&6
7503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7504 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7506 # Check whether --enable-caret or --disable-caret was given.
7507 if test "${enable_caret+set}" = set; then
7508 enableval
="$enable_caret"
7510 if test "$enableval" = yes; then
7511 ac_cv_use_caret
='wxUSE_CARET=yes'
7513 ac_cv_use_caret
='wxUSE_CARET=no'
7518 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7519 if test "x$LINE" != x
; then
7520 eval "DEFAULT_$LINE"
7525 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7529 eval "$ac_cv_use_caret"
7530 if test "$no_cache" != 1; then
7531 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7534 if test "$wxUSE_CARET" = yes; then
7535 echo "$as_me:$LINENO: result: yes" >&5
7536 echo "${ECHO_T}yes" >&6
7538 echo "$as_me:$LINENO: result: no" >&5
7539 echo "${ECHO_T}no" >&6
7544 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7545 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7547 # Check whether --enable-checkbox or --disable-checkbox was given.
7548 if test "${enable_checkbox+set}" = set; then
7549 enableval
="$enable_checkbox"
7551 if test "$enableval" = yes; then
7552 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7554 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7559 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7560 if test "x$LINE" != x
; then
7561 eval "DEFAULT_$LINE"
7566 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7570 eval "$ac_cv_use_checkbox"
7571 if test "$no_cache" != 1; then
7572 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7575 if test "$wxUSE_CHECKBOX" = yes; then
7576 echo "$as_me:$LINENO: result: yes" >&5
7577 echo "${ECHO_T}yes" >&6
7579 echo "$as_me:$LINENO: result: no" >&5
7580 echo "${ECHO_T}no" >&6
7585 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7586 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7588 # Check whether --enable-checklst or --disable-checklst was given.
7589 if test "${enable_checklst+set}" = set; then
7590 enableval
="$enable_checklst"
7592 if test "$enableval" = yes; then
7593 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7595 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7600 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7601 if test "x$LINE" != x
; then
7602 eval "DEFAULT_$LINE"
7607 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7611 eval "$ac_cv_use_checklst"
7612 if test "$no_cache" != 1; then
7613 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7616 if test "$wxUSE_CHECKLST" = yes; then
7617 echo "$as_me:$LINENO: result: yes" >&5
7618 echo "${ECHO_T}yes" >&6
7620 echo "$as_me:$LINENO: result: no" >&5
7621 echo "${ECHO_T}no" >&6
7626 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7627 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7629 # Check whether --enable-choice or --disable-choice was given.
7630 if test "${enable_choice+set}" = set; then
7631 enableval
="$enable_choice"
7633 if test "$enableval" = yes; then
7634 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7636 ac_cv_use_choice
='wxUSE_CHOICE=no'
7641 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7642 if test "x$LINE" != x
; then
7643 eval "DEFAULT_$LINE"
7648 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7652 eval "$ac_cv_use_choice"
7653 if test "$no_cache" != 1; then
7654 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7657 if test "$wxUSE_CHOICE" = yes; then
7658 echo "$as_me:$LINENO: result: yes" >&5
7659 echo "${ECHO_T}yes" >&6
7661 echo "$as_me:$LINENO: result: no" >&5
7662 echo "${ECHO_T}no" >&6
7667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7668 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7670 # Check whether --enable-choicebook or --disable-choicebook was given.
7671 if test "${enable_choicebook+set}" = set; then
7672 enableval
="$enable_choicebook"
7674 if test "$enableval" = yes; then
7675 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7677 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7682 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7683 if test "x$LINE" != x
; then
7684 eval "DEFAULT_$LINE"
7689 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7693 eval "$ac_cv_use_choicebook"
7694 if test "$no_cache" != 1; then
7695 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7698 if test "$wxUSE_CHOICEBOOK" = yes; then
7699 echo "$as_me:$LINENO: result: yes" >&5
7700 echo "${ECHO_T}yes" >&6
7702 echo "$as_me:$LINENO: result: no" >&5
7703 echo "${ECHO_T}no" >&6
7708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7709 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7711 # Check whether --enable-combobox or --disable-combobox was given.
7712 if test "${enable_combobox+set}" = set; then
7713 enableval
="$enable_combobox"
7715 if test "$enableval" = yes; then
7716 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7718 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7723 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7724 if test "x$LINE" != x
; then
7725 eval "DEFAULT_$LINE"
7730 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7734 eval "$ac_cv_use_combobox"
7735 if test "$no_cache" != 1; then
7736 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7739 if test "$wxUSE_COMBOBOX" = yes; then
7740 echo "$as_me:$LINENO: result: yes" >&5
7741 echo "${ECHO_T}yes" >&6
7743 echo "$as_me:$LINENO: result: no" >&5
7744 echo "${ECHO_T}no" >&6
7749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7750 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7752 # Check whether --enable-datepick or --disable-datepick was given.
7753 if test "${enable_datepick+set}" = set; then
7754 enableval
="$enable_datepick"
7756 if test "$enableval" = yes; then
7757 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
7759 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
7764 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7765 if test "x$LINE" != x
; then
7766 eval "DEFAULT_$LINE"
7771 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7775 eval "$ac_cv_use_datepick"
7776 if test "$no_cache" != 1; then
7777 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7780 if test "$wxUSE_DATEPICKCTRL" = yes; then
7781 echo "$as_me:$LINENO: result: yes" >&5
7782 echo "${ECHO_T}yes" >&6
7784 echo "$as_me:$LINENO: result: no" >&5
7785 echo "${ECHO_T}no" >&6
7790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7791 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7793 # Check whether --enable-display or --disable-display was given.
7794 if test "${enable_display+set}" = set; then
7795 enableval
="$enable_display"
7797 if test "$enableval" = yes; then
7798 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7800 ac_cv_use_display
='wxUSE_DISPLAY=no'
7805 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7806 if test "x$LINE" != x
; then
7807 eval "DEFAULT_$LINE"
7812 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7816 eval "$ac_cv_use_display"
7817 if test "$no_cache" != 1; then
7818 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7821 if test "$wxUSE_DISPLAY" = yes; then
7822 echo "$as_me:$LINENO: result: yes" >&5
7823 echo "${ECHO_T}yes" >&6
7825 echo "$as_me:$LINENO: result: no" >&5
7826 echo "${ECHO_T}no" >&6
7831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7832 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7834 # Check whether --enable-gauge or --disable-gauge was given.
7835 if test "${enable_gauge+set}" = set; then
7836 enableval
="$enable_gauge"
7838 if test "$enableval" = yes; then
7839 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7841 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7846 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7847 if test "x$LINE" != x
; then
7848 eval "DEFAULT_$LINE"
7853 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7857 eval "$ac_cv_use_gauge"
7858 if test "$no_cache" != 1; then
7859 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7862 if test "$wxUSE_GAUGE" = yes; then
7863 echo "$as_me:$LINENO: result: yes" >&5
7864 echo "${ECHO_T}yes" >&6
7866 echo "$as_me:$LINENO: result: no" >&5
7867 echo "${ECHO_T}no" >&6
7872 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7873 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7875 # Check whether --enable-grid or --disable-grid was given.
7876 if test "${enable_grid+set}" = set; then
7877 enableval
="$enable_grid"
7879 if test "$enableval" = yes; then
7880 ac_cv_use_grid
='wxUSE_GRID=yes'
7882 ac_cv_use_grid
='wxUSE_GRID=no'
7887 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7888 if test "x$LINE" != x
; then
7889 eval "DEFAULT_$LINE"
7894 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7898 eval "$ac_cv_use_grid"
7899 if test "$no_cache" != 1; then
7900 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7903 if test "$wxUSE_GRID" = yes; then
7904 echo "$as_me:$LINENO: result: yes" >&5
7905 echo "${ECHO_T}yes" >&6
7907 echo "$as_me:$LINENO: result: no" >&5
7908 echo "${ECHO_T}no" >&6
7913 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7914 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7916 # Check whether --enable-imaglist or --disable-imaglist was given.
7917 if test "${enable_imaglist+set}" = set; then
7918 enableval
="$enable_imaglist"
7920 if test "$enableval" = yes; then
7921 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7923 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7928 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7929 if test "x$LINE" != x
; then
7930 eval "DEFAULT_$LINE"
7935 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7939 eval "$ac_cv_use_imaglist"
7940 if test "$no_cache" != 1; then
7941 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7944 if test "$wxUSE_IMAGLIST" = yes; then
7945 echo "$as_me:$LINENO: result: yes" >&5
7946 echo "${ECHO_T}yes" >&6
7948 echo "$as_me:$LINENO: result: no" >&5
7949 echo "${ECHO_T}no" >&6
7954 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7955 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7957 # Check whether --enable-listbook or --disable-listbook was given.
7958 if test "${enable_listbook+set}" = set; then
7959 enableval
="$enable_listbook"
7961 if test "$enableval" = yes; then
7962 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7964 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7969 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7970 if test "x$LINE" != x
; then
7971 eval "DEFAULT_$LINE"
7976 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7980 eval "$ac_cv_use_listbook"
7981 if test "$no_cache" != 1; then
7982 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7985 if test "$wxUSE_LISTBOOK" = yes; then
7986 echo "$as_me:$LINENO: result: yes" >&5
7987 echo "${ECHO_T}yes" >&6
7989 echo "$as_me:$LINENO: result: no" >&5
7990 echo "${ECHO_T}no" >&6
7995 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7996 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7998 # Check whether --enable-listbox or --disable-listbox was given.
7999 if test "${enable_listbox+set}" = set; then
8000 enableval
="$enable_listbox"
8002 if test "$enableval" = yes; then
8003 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
8005 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
8010 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8011 if test "x$LINE" != x
; then
8012 eval "DEFAULT_$LINE"
8017 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8021 eval "$ac_cv_use_listbox"
8022 if test "$no_cache" != 1; then
8023 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8026 if test "$wxUSE_LISTBOX" = yes; then
8027 echo "$as_me:$LINENO: result: yes" >&5
8028 echo "${ECHO_T}yes" >&6
8030 echo "$as_me:$LINENO: result: no" >&5
8031 echo "${ECHO_T}no" >&6
8036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8037 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8039 # Check whether --enable-listctrl or --disable-listctrl was given.
8040 if test "${enable_listctrl+set}" = set; then
8041 enableval
="$enable_listctrl"
8043 if test "$enableval" = yes; then
8044 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
8046 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
8051 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8052 if test "x$LINE" != x
; then
8053 eval "DEFAULT_$LINE"
8058 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8062 eval "$ac_cv_use_listctrl"
8063 if test "$no_cache" != 1; then
8064 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8067 if test "$wxUSE_LISTCTRL" = yes; then
8068 echo "$as_me:$LINENO: result: yes" >&5
8069 echo "${ECHO_T}yes" >&6
8071 echo "$as_me:$LINENO: result: no" >&5
8072 echo "${ECHO_T}no" >&6
8077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8078 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8080 # Check whether --enable-notebook or --disable-notebook was given.
8081 if test "${enable_notebook+set}" = set; then
8082 enableval
="$enable_notebook"
8084 if test "$enableval" = yes; then
8085 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
8087 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
8092 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8093 if test "x$LINE" != x
; then
8094 eval "DEFAULT_$LINE"
8099 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8103 eval "$ac_cv_use_notebook"
8104 if test "$no_cache" != 1; then
8105 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8108 if test "$wxUSE_NOTEBOOK" = yes; then
8109 echo "$as_me:$LINENO: result: yes" >&5
8110 echo "${ECHO_T}yes" >&6
8112 echo "$as_me:$LINENO: result: no" >&5
8113 echo "${ECHO_T}no" >&6
8118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8119 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8121 # Check whether --enable-radiobox or --disable-radiobox was given.
8122 if test "${enable_radiobox+set}" = set; then
8123 enableval
="$enable_radiobox"
8125 if test "$enableval" = yes; then
8126 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
8128 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
8133 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8134 if test "x$LINE" != x
; then
8135 eval "DEFAULT_$LINE"
8140 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8144 eval "$ac_cv_use_radiobox"
8145 if test "$no_cache" != 1; then
8146 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8149 if test "$wxUSE_RADIOBOX" = yes; then
8150 echo "$as_me:$LINENO: result: yes" >&5
8151 echo "${ECHO_T}yes" >&6
8153 echo "$as_me:$LINENO: result: no" >&5
8154 echo "${ECHO_T}no" >&6
8159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8160 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8162 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8163 if test "${enable_radiobtn+set}" = set; then
8164 enableval
="$enable_radiobtn"
8166 if test "$enableval" = yes; then
8167 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
8169 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
8174 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8175 if test "x$LINE" != x
; then
8176 eval "DEFAULT_$LINE"
8181 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8185 eval "$ac_cv_use_radiobtn"
8186 if test "$no_cache" != 1; then
8187 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8190 if test "$wxUSE_RADIOBTN" = yes; then
8191 echo "$as_me:$LINENO: result: yes" >&5
8192 echo "${ECHO_T}yes" >&6
8194 echo "$as_me:$LINENO: result: no" >&5
8195 echo "${ECHO_T}no" >&6
8200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8201 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8203 # Check whether --enable-sash or --disable-sash was given.
8204 if test "${enable_sash+set}" = set; then
8205 enableval
="$enable_sash"
8207 if test "$enableval" = yes; then
8208 ac_cv_use_sash
='wxUSE_SASH=yes'
8210 ac_cv_use_sash
='wxUSE_SASH=no'
8215 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8216 if test "x$LINE" != x
; then
8217 eval "DEFAULT_$LINE"
8222 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8226 eval "$ac_cv_use_sash"
8227 if test "$no_cache" != 1; then
8228 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8231 if test "$wxUSE_SASH" = yes; then
8232 echo "$as_me:$LINENO: result: yes" >&5
8233 echo "${ECHO_T}yes" >&6
8235 echo "$as_me:$LINENO: result: no" >&5
8236 echo "${ECHO_T}no" >&6
8241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8242 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8244 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8245 if test "${enable_scrollbar+set}" = set; then
8246 enableval
="$enable_scrollbar"
8248 if test "$enableval" = yes; then
8249 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
8251 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
8256 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8257 if test "x$LINE" != x
; then
8258 eval "DEFAULT_$LINE"
8263 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8267 eval "$ac_cv_use_scrollbar"
8268 if test "$no_cache" != 1; then
8269 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8272 if test "$wxUSE_SCROLLBAR" = yes; then
8273 echo "$as_me:$LINENO: result: yes" >&5
8274 echo "${ECHO_T}yes" >&6
8276 echo "$as_me:$LINENO: result: no" >&5
8277 echo "${ECHO_T}no" >&6
8282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8283 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8285 # Check whether --enable-slider or --disable-slider was given.
8286 if test "${enable_slider+set}" = set; then
8287 enableval
="$enable_slider"
8289 if test "$enableval" = yes; then
8290 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8292 ac_cv_use_slider
='wxUSE_SLIDER=no'
8297 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8298 if test "x$LINE" != x
; then
8299 eval "DEFAULT_$LINE"
8304 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8308 eval "$ac_cv_use_slider"
8309 if test "$no_cache" != 1; then
8310 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8313 if test "$wxUSE_SLIDER" = yes; then
8314 echo "$as_me:$LINENO: result: yes" >&5
8315 echo "${ECHO_T}yes" >&6
8317 echo "$as_me:$LINENO: result: no" >&5
8318 echo "${ECHO_T}no" >&6
8323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8324 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8326 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8327 if test "${enable_spinbtn+set}" = set; then
8328 enableval
="$enable_spinbtn"
8330 if test "$enableval" = yes; then
8331 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8333 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8338 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8339 if test "x$LINE" != x
; then
8340 eval "DEFAULT_$LINE"
8345 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8349 eval "$ac_cv_use_spinbtn"
8350 if test "$no_cache" != 1; then
8351 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8354 if test "$wxUSE_SPINBTN" = yes; then
8355 echo "$as_me:$LINENO: result: yes" >&5
8356 echo "${ECHO_T}yes" >&6
8358 echo "$as_me:$LINENO: result: no" >&5
8359 echo "${ECHO_T}no" >&6
8364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8365 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8367 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8368 if test "${enable_spinctrl+set}" = set; then
8369 enableval
="$enable_spinctrl"
8371 if test "$enableval" = yes; then
8372 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8374 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8379 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8380 if test "x$LINE" != x
; then
8381 eval "DEFAULT_$LINE"
8386 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8390 eval "$ac_cv_use_spinctrl"
8391 if test "$no_cache" != 1; then
8392 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8395 if test "$wxUSE_SPINCTRL" = yes; then
8396 echo "$as_me:$LINENO: result: yes" >&5
8397 echo "${ECHO_T}yes" >&6
8399 echo "$as_me:$LINENO: result: no" >&5
8400 echo "${ECHO_T}no" >&6
8405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8406 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8408 # Check whether --enable-splitter or --disable-splitter was given.
8409 if test "${enable_splitter+set}" = set; then
8410 enableval
="$enable_splitter"
8412 if test "$enableval" = yes; then
8413 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8415 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8420 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8421 if test "x$LINE" != x
; then
8422 eval "DEFAULT_$LINE"
8427 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8431 eval "$ac_cv_use_splitter"
8432 if test "$no_cache" != 1; then
8433 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8436 if test "$wxUSE_SPLITTER" = yes; then
8437 echo "$as_me:$LINENO: result: yes" >&5
8438 echo "${ECHO_T}yes" >&6
8440 echo "$as_me:$LINENO: result: no" >&5
8441 echo "${ECHO_T}no" >&6
8446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8447 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8449 # Check whether --enable-statbmp or --disable-statbmp was given.
8450 if test "${enable_statbmp+set}" = set; then
8451 enableval
="$enable_statbmp"
8453 if test "$enableval" = yes; then
8454 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8456 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8461 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8462 if test "x$LINE" != x
; then
8463 eval "DEFAULT_$LINE"
8468 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8472 eval "$ac_cv_use_statbmp"
8473 if test "$no_cache" != 1; then
8474 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8477 if test "$wxUSE_STATBMP" = yes; then
8478 echo "$as_me:$LINENO: result: yes" >&5
8479 echo "${ECHO_T}yes" >&6
8481 echo "$as_me:$LINENO: result: no" >&5
8482 echo "${ECHO_T}no" >&6
8487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8488 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8490 # Check whether --enable-statbox or --disable-statbox was given.
8491 if test "${enable_statbox+set}" = set; then
8492 enableval
="$enable_statbox"
8494 if test "$enableval" = yes; then
8495 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8497 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8502 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8503 if test "x$LINE" != x
; then
8504 eval "DEFAULT_$LINE"
8509 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8513 eval "$ac_cv_use_statbox"
8514 if test "$no_cache" != 1; then
8515 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8518 if test "$wxUSE_STATBOX" = yes; then
8519 echo "$as_me:$LINENO: result: yes" >&5
8520 echo "${ECHO_T}yes" >&6
8522 echo "$as_me:$LINENO: result: no" >&5
8523 echo "${ECHO_T}no" >&6
8528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8529 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8531 # Check whether --enable-statline or --disable-statline was given.
8532 if test "${enable_statline+set}" = set; then
8533 enableval
="$enable_statline"
8535 if test "$enableval" = yes; then
8536 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8538 ac_cv_use_statline
='wxUSE_STATLINE=no'
8543 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8544 if test "x$LINE" != x
; then
8545 eval "DEFAULT_$LINE"
8550 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8554 eval "$ac_cv_use_statline"
8555 if test "$no_cache" != 1; then
8556 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8559 if test "$wxUSE_STATLINE" = yes; then
8560 echo "$as_me:$LINENO: result: yes" >&5
8561 echo "${ECHO_T}yes" >&6
8563 echo "$as_me:$LINENO: result: no" >&5
8564 echo "${ECHO_T}no" >&6
8569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8570 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8572 # Check whether --enable-stattext or --disable-stattext was given.
8573 if test "${enable_stattext+set}" = set; then
8574 enableval
="$enable_stattext"
8576 if test "$enableval" = yes; then
8577 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8579 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8584 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8585 if test "x$LINE" != x
; then
8586 eval "DEFAULT_$LINE"
8591 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8595 eval "$ac_cv_use_stattext"
8596 if test "$no_cache" != 1; then
8597 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8600 if test "$wxUSE_STATTEXT" = yes; then
8601 echo "$as_me:$LINENO: result: yes" >&5
8602 echo "${ECHO_T}yes" >&6
8604 echo "$as_me:$LINENO: result: no" >&5
8605 echo "${ECHO_T}no" >&6
8610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8611 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8613 # Check whether --enable-statusbar or --disable-statusbar was given.
8614 if test "${enable_statusbar+set}" = set; then
8615 enableval
="$enable_statusbar"
8617 if test "$enableval" = yes; then
8618 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8620 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8625 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8626 if test "x$LINE" != x
; then
8627 eval "DEFAULT_$LINE"
8632 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8636 eval "$ac_cv_use_statusbar"
8637 if test "$no_cache" != 1; then
8638 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8641 if test "$wxUSE_STATUSBAR" = yes; then
8642 echo "$as_me:$LINENO: result: yes" >&5
8643 echo "${ECHO_T}yes" >&6
8645 echo "$as_me:$LINENO: result: no" >&5
8646 echo "${ECHO_T}no" >&6
8651 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8652 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8654 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8655 if test "${enable_tabdialog+set}" = set; then
8656 enableval
="$enable_tabdialog"
8658 if test "$enableval" = yes; then
8659 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8661 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8666 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8667 if test "x$LINE" != x
; then
8668 eval "DEFAULT_$LINE"
8673 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8677 eval "$ac_cv_use_tabdialog"
8678 if test "$no_cache" != 1; then
8679 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8682 if test "$wxUSE_TABDIALOG" = yes; then
8683 echo "$as_me:$LINENO: result: yes" >&5
8684 echo "${ECHO_T}yes" >&6
8686 echo "$as_me:$LINENO: result: no" >&5
8687 echo "${ECHO_T}no" >&6
8692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8693 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8695 # Check whether --enable-textctrl or --disable-textctrl was given.
8696 if test "${enable_textctrl+set}" = set; then
8697 enableval
="$enable_textctrl"
8699 if test "$enableval" = yes; then
8700 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8702 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8707 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8708 if test "x$LINE" != x
; then
8709 eval "DEFAULT_$LINE"
8714 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8718 eval "$ac_cv_use_textctrl"
8719 if test "$no_cache" != 1; then
8720 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8723 if test "$wxUSE_TEXTCTRL" = yes; then
8724 echo "$as_me:$LINENO: result: yes" >&5
8725 echo "${ECHO_T}yes" >&6
8727 echo "$as_me:$LINENO: result: no" >&5
8728 echo "${ECHO_T}no" >&6
8733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8734 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8736 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8737 if test "${enable_togglebtn+set}" = set; then
8738 enableval
="$enable_togglebtn"
8740 if test "$enableval" = yes; then
8741 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8743 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8748 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8749 if test "x$LINE" != x
; then
8750 eval "DEFAULT_$LINE"
8755 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8759 eval "$ac_cv_use_togglebtn"
8760 if test "$no_cache" != 1; then
8761 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8764 if test "$wxUSE_TOGGLEBTN" = yes; then
8765 echo "$as_me:$LINENO: result: yes" >&5
8766 echo "${ECHO_T}yes" >&6
8768 echo "$as_me:$LINENO: result: no" >&5
8769 echo "${ECHO_T}no" >&6
8774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8775 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8777 # Check whether --enable-toolbar or --disable-toolbar was given.
8778 if test "${enable_toolbar+set}" = set; then
8779 enableval
="$enable_toolbar"
8781 if test "$enableval" = yes; then
8782 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8784 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8789 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8790 if test "x$LINE" != x
; then
8791 eval "DEFAULT_$LINE"
8796 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8800 eval "$ac_cv_use_toolbar"
8801 if test "$no_cache" != 1; then
8802 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8805 if test "$wxUSE_TOOLBAR" = yes; then
8806 echo "$as_me:$LINENO: result: yes" >&5
8807 echo "${ECHO_T}yes" >&6
8809 echo "$as_me:$LINENO: result: no" >&5
8810 echo "${ECHO_T}no" >&6
8815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8816 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8818 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8819 if test "${enable_tbarnative+set}" = set; then
8820 enableval
="$enable_tbarnative"
8822 if test "$enableval" = yes; then
8823 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8825 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8830 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8831 if test "x$LINE" != x
; then
8832 eval "DEFAULT_$LINE"
8837 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8841 eval "$ac_cv_use_tbarnative"
8842 if test "$no_cache" != 1; then
8843 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8846 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8847 echo "$as_me:$LINENO: result: yes" >&5
8848 echo "${ECHO_T}yes" >&6
8850 echo "$as_me:$LINENO: result: no" >&5
8851 echo "${ECHO_T}no" >&6
8856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8857 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8859 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8860 if test "${enable_tbarsmpl+set}" = set; then
8861 enableval
="$enable_tbarsmpl"
8863 if test "$enableval" = yes; then
8864 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8866 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8871 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8872 if test "x$LINE" != x
; then
8873 eval "DEFAULT_$LINE"
8878 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8882 eval "$ac_cv_use_tbarsmpl"
8883 if test "$no_cache" != 1; then
8884 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8887 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8888 echo "$as_me:$LINENO: result: yes" >&5
8889 echo "${ECHO_T}yes" >&6
8891 echo "$as_me:$LINENO: result: no" >&5
8892 echo "${ECHO_T}no" >&6
8897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8898 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8900 # Check whether --enable-treectrl or --disable-treectrl was given.
8901 if test "${enable_treectrl+set}" = set; then
8902 enableval
="$enable_treectrl"
8904 if test "$enableval" = yes; then
8905 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8907 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8912 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8913 if test "x$LINE" != x
; then
8914 eval "DEFAULT_$LINE"
8919 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8923 eval "$ac_cv_use_treectrl"
8924 if test "$no_cache" != 1; then
8925 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8928 if test "$wxUSE_TREECTRL" = yes; then
8929 echo "$as_me:$LINENO: result: yes" >&5
8930 echo "${ECHO_T}yes" >&6
8932 echo "$as_me:$LINENO: result: no" >&5
8933 echo "${ECHO_T}no" >&6
8938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8939 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8941 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8942 if test "${enable_tipwindow+set}" = set; then
8943 enableval
="$enable_tipwindow"
8945 if test "$enableval" = yes; then
8946 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8948 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8953 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8954 if test "x$LINE" != x
; then
8955 eval "DEFAULT_$LINE"
8960 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8964 eval "$ac_cv_use_tipwindow"
8965 if test "$no_cache" != 1; then
8966 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8969 if test "$wxUSE_TIPWINDOW" = yes; then
8970 echo "$as_me:$LINENO: result: yes" >&5
8971 echo "${ECHO_T}yes" >&6
8973 echo "$as_me:$LINENO: result: no" >&5
8974 echo "${ECHO_T}no" >&6
8979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8980 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8982 # Check whether --enable-popupwin or --disable-popupwin was given.
8983 if test "${enable_popupwin+set}" = set; then
8984 enableval
="$enable_popupwin"
8986 if test "$enableval" = yes; then
8987 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8989 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8994 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8995 if test "x$LINE" != x
; then
8996 eval "DEFAULT_$LINE"
9001 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9005 eval "$ac_cv_use_popupwin"
9006 if test "$no_cache" != 1; then
9007 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9010 if test "$wxUSE_POPUPWIN" = yes; then
9011 echo "$as_me:$LINENO: result: yes" >&5
9012 echo "${ECHO_T}yes" >&6
9014 echo "$as_me:$LINENO: result: no" >&5
9015 echo "${ECHO_T}no" >&6
9022 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9023 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9025 # Check whether --enable-commondlg or --disable-commondlg was given.
9026 if test "${enable_commondlg+set}" = set; then
9027 enableval
="$enable_commondlg"
9029 if test "$enableval" = yes; then
9030 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
9032 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
9037 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9038 if test "x$LINE" != x
; then
9039 eval "DEFAULT_$LINE"
9044 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9048 eval "$ac_cv_use_commondlg"
9049 if test "$no_cache" != 1; then
9050 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9053 if test "$wxUSE_COMMONDLGS" = yes; then
9054 echo "$as_me:$LINENO: result: yes" >&5
9055 echo "${ECHO_T}yes" >&6
9057 echo "$as_me:$LINENO: result: no" >&5
9058 echo "${ECHO_T}no" >&6
9063 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9064 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9066 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9067 if test "${enable_choicedlg+set}" = set; then
9068 enableval
="$enable_choicedlg"
9070 if test "$enableval" = yes; then
9071 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
9073 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
9078 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9079 if test "x$LINE" != x
; then
9080 eval "DEFAULT_$LINE"
9085 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9089 eval "$ac_cv_use_choicedlg"
9090 if test "$no_cache" != 1; then
9091 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9094 if test "$wxUSE_CHOICEDLG" = yes; then
9095 echo "$as_me:$LINENO: result: yes" >&5
9096 echo "${ECHO_T}yes" >&6
9098 echo "$as_me:$LINENO: result: no" >&5
9099 echo "${ECHO_T}no" >&6
9104 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9105 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9107 # Check whether --enable-coldlg or --disable-coldlg was given.
9108 if test "${enable_coldlg+set}" = set; then
9109 enableval
="$enable_coldlg"
9111 if test "$enableval" = yes; then
9112 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
9114 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
9119 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9120 if test "x$LINE" != x
; then
9121 eval "DEFAULT_$LINE"
9126 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9130 eval "$ac_cv_use_coldlg"
9131 if test "$no_cache" != 1; then
9132 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9135 if test "$wxUSE_COLOURDLG" = yes; then
9136 echo "$as_me:$LINENO: result: yes" >&5
9137 echo "${ECHO_T}yes" >&6
9139 echo "$as_me:$LINENO: result: no" >&5
9140 echo "${ECHO_T}no" >&6
9145 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9146 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9148 # Check whether --enable-filedlg or --disable-filedlg was given.
9149 if test "${enable_filedlg+set}" = set; then
9150 enableval
="$enable_filedlg"
9152 if test "$enableval" = yes; then
9153 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
9155 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
9160 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9161 if test "x$LINE" != x
; then
9162 eval "DEFAULT_$LINE"
9167 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9171 eval "$ac_cv_use_filedlg"
9172 if test "$no_cache" != 1; then
9173 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9176 if test "$wxUSE_FILEDLG" = yes; then
9177 echo "$as_me:$LINENO: result: yes" >&5
9178 echo "${ECHO_T}yes" >&6
9180 echo "$as_me:$LINENO: result: no" >&5
9181 echo "${ECHO_T}no" >&6
9186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9187 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9189 # Check whether --enable-finddlg or --disable-finddlg was given.
9190 if test "${enable_finddlg+set}" = set; then
9191 enableval
="$enable_finddlg"
9193 if test "$enableval" = yes; then
9194 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
9196 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
9201 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9202 if test "x$LINE" != x
; then
9203 eval "DEFAULT_$LINE"
9208 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9212 eval "$ac_cv_use_finddlg"
9213 if test "$no_cache" != 1; then
9214 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9217 if test "$wxUSE_FINDREPLDLG" = yes; then
9218 echo "$as_me:$LINENO: result: yes" >&5
9219 echo "${ECHO_T}yes" >&6
9221 echo "$as_me:$LINENO: result: no" >&5
9222 echo "${ECHO_T}no" >&6
9227 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9228 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9230 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9231 if test "${enable_fontdlg+set}" = set; then
9232 enableval
="$enable_fontdlg"
9234 if test "$enableval" = yes; then
9235 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
9237 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
9242 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9243 if test "x$LINE" != x
; then
9244 eval "DEFAULT_$LINE"
9249 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9253 eval "$ac_cv_use_fontdlg"
9254 if test "$no_cache" != 1; then
9255 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9258 if test "$wxUSE_FONTDLG" = yes; then
9259 echo "$as_me:$LINENO: result: yes" >&5
9260 echo "${ECHO_T}yes" >&6
9262 echo "$as_me:$LINENO: result: no" >&5
9263 echo "${ECHO_T}no" >&6
9268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9269 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9271 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9272 if test "${enable_dirdlg+set}" = set; then
9273 enableval
="$enable_dirdlg"
9275 if test "$enableval" = yes; then
9276 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
9278 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
9283 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9284 if test "x$LINE" != x
; then
9285 eval "DEFAULT_$LINE"
9290 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9294 eval "$ac_cv_use_dirdlg"
9295 if test "$no_cache" != 1; then
9296 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9299 if test "$wxUSE_DIRDLG" = yes; then
9300 echo "$as_me:$LINENO: result: yes" >&5
9301 echo "${ECHO_T}yes" >&6
9303 echo "$as_me:$LINENO: result: no" >&5
9304 echo "${ECHO_T}no" >&6
9309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9310 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9312 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9313 if test "${enable_msgdlg+set}" = set; then
9314 enableval
="$enable_msgdlg"
9316 if test "$enableval" = yes; then
9317 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
9319 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
9324 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9325 if test "x$LINE" != x
; then
9326 eval "DEFAULT_$LINE"
9331 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9335 eval "$ac_cv_use_msgdlg"
9336 if test "$no_cache" != 1; then
9337 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9340 if test "$wxUSE_MSGDLG" = yes; then
9341 echo "$as_me:$LINENO: result: yes" >&5
9342 echo "${ECHO_T}yes" >&6
9344 echo "$as_me:$LINENO: result: no" >&5
9345 echo "${ECHO_T}no" >&6
9350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9351 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9353 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9354 if test "${enable_numberdlg+set}" = set; then
9355 enableval
="$enable_numberdlg"
9357 if test "$enableval" = yes; then
9358 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9360 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9365 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9366 if test "x$LINE" != x
; then
9367 eval "DEFAULT_$LINE"
9372 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9376 eval "$ac_cv_use_numberdlg"
9377 if test "$no_cache" != 1; then
9378 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9381 if test "$wxUSE_NUMBERDLG" = yes; then
9382 echo "$as_me:$LINENO: result: yes" >&5
9383 echo "${ECHO_T}yes" >&6
9385 echo "$as_me:$LINENO: result: no" >&5
9386 echo "${ECHO_T}no" >&6
9391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9392 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9394 # Check whether --enable-splash or --disable-splash was given.
9395 if test "${enable_splash+set}" = set; then
9396 enableval
="$enable_splash"
9398 if test "$enableval" = yes; then
9399 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9401 ac_cv_use_splash
='wxUSE_SPLASH=no'
9406 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9407 if test "x$LINE" != x
; then
9408 eval "DEFAULT_$LINE"
9413 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9417 eval "$ac_cv_use_splash"
9418 if test "$no_cache" != 1; then
9419 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9422 if test "$wxUSE_SPLASH" = yes; then
9423 echo "$as_me:$LINENO: result: yes" >&5
9424 echo "${ECHO_T}yes" >&6
9426 echo "$as_me:$LINENO: result: no" >&5
9427 echo "${ECHO_T}no" >&6
9432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9433 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9435 # Check whether --enable-textdlg or --disable-textdlg was given.
9436 if test "${enable_textdlg+set}" = set; then
9437 enableval
="$enable_textdlg"
9439 if test "$enableval" = yes; then
9440 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9442 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9447 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9448 if test "x$LINE" != x
; then
9449 eval "DEFAULT_$LINE"
9454 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9458 eval "$ac_cv_use_textdlg"
9459 if test "$no_cache" != 1; then
9460 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9463 if test "$wxUSE_TEXTDLG" = yes; then
9464 echo "$as_me:$LINENO: result: yes" >&5
9465 echo "${ECHO_T}yes" >&6
9467 echo "$as_me:$LINENO: result: no" >&5
9468 echo "${ECHO_T}no" >&6
9473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9474 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9476 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9477 if test "${enable_tipdlg+set}" = set; then
9478 enableval
="$enable_tipdlg"
9480 if test "$enableval" = yes; then
9481 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9483 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9488 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9489 if test "x$LINE" != x
; then
9490 eval "DEFAULT_$LINE"
9495 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9499 eval "$ac_cv_use_tipdlg"
9500 if test "$no_cache" != 1; then
9501 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9504 if test "$wxUSE_STARTUP_TIPS" = yes; then
9505 echo "$as_me:$LINENO: result: yes" >&5
9506 echo "${ECHO_T}yes" >&6
9508 echo "$as_me:$LINENO: result: no" >&5
9509 echo "${ECHO_T}no" >&6
9514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9515 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9517 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9518 if test "${enable_progressdlg+set}" = set; then
9519 enableval
="$enable_progressdlg"
9521 if test "$enableval" = yes; then
9522 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9524 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9529 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9530 if test "x$LINE" != x
; then
9531 eval "DEFAULT_$LINE"
9536 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9540 eval "$ac_cv_use_progressdlg"
9541 if test "$no_cache" != 1; then
9542 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9545 if test "$wxUSE_PROGRESSDLG" = yes; then
9546 echo "$as_me:$LINENO: result: yes" >&5
9547 echo "${ECHO_T}yes" >&6
9549 echo "$as_me:$LINENO: result: no" >&5
9550 echo "${ECHO_T}no" >&6
9555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9556 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9558 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9559 if test "${enable_wizarddlg+set}" = set; then
9560 enableval
="$enable_wizarddlg"
9562 if test "$enableval" = yes; then
9563 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9565 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9570 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9571 if test "x$LINE" != x
; then
9572 eval "DEFAULT_$LINE"
9577 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9581 eval "$ac_cv_use_wizarddlg"
9582 if test "$no_cache" != 1; then
9583 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9586 if test "$wxUSE_WIZARDDLG" = yes; then
9587 echo "$as_me:$LINENO: result: yes" >&5
9588 echo "${ECHO_T}yes" >&6
9590 echo "$as_me:$LINENO: result: no" >&5
9591 echo "${ECHO_T}no" >&6
9598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9599 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9601 # Check whether --enable-menus or --disable-menus was given.
9602 if test "${enable_menus+set}" = set; then
9603 enableval
="$enable_menus"
9605 if test "$enableval" = yes; then
9606 ac_cv_use_menus
='wxUSE_MENUS=yes'
9608 ac_cv_use_menus
='wxUSE_MENUS=no'
9613 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9614 if test "x$LINE" != x
; then
9615 eval "DEFAULT_$LINE"
9620 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9624 eval "$ac_cv_use_menus"
9625 if test "$no_cache" != 1; then
9626 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9629 if test "$wxUSE_MENUS" = yes; then
9630 echo "$as_me:$LINENO: result: yes" >&5
9631 echo "${ECHO_T}yes" >&6
9633 echo "$as_me:$LINENO: result: no" >&5
9634 echo "${ECHO_T}no" >&6
9639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9640 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9642 # Check whether --enable-miniframe or --disable-miniframe was given.
9643 if test "${enable_miniframe+set}" = set; then
9644 enableval
="$enable_miniframe"
9646 if test "$enableval" = yes; then
9647 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9649 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9654 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9655 if test "x$LINE" != x
; then
9656 eval "DEFAULT_$LINE"
9661 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9665 eval "$ac_cv_use_miniframe"
9666 if test "$no_cache" != 1; then
9667 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9670 if test "$wxUSE_MINIFRAME" = yes; then
9671 echo "$as_me:$LINENO: result: yes" >&5
9672 echo "${ECHO_T}yes" >&6
9674 echo "$as_me:$LINENO: result: no" >&5
9675 echo "${ECHO_T}no" >&6
9680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9681 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9683 # Check whether --enable-tooltips or --disable-tooltips was given.
9684 if test "${enable_tooltips+set}" = set; then
9685 enableval
="$enable_tooltips"
9687 if test "$enableval" = yes; then
9688 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9690 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9695 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9696 if test "x$LINE" != x
; then
9697 eval "DEFAULT_$LINE"
9702 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9706 eval "$ac_cv_use_tooltips"
9707 if test "$no_cache" != 1; then
9708 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9711 if test "$wxUSE_TOOLTIPS" = yes; then
9712 echo "$as_me:$LINENO: result: yes" >&5
9713 echo "${ECHO_T}yes" >&6
9715 echo "$as_me:$LINENO: result: no" >&5
9716 echo "${ECHO_T}no" >&6
9721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9722 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9724 # Check whether --enable-splines or --disable-splines was given.
9725 if test "${enable_splines+set}" = set; then
9726 enableval
="$enable_splines"
9728 if test "$enableval" = yes; then
9729 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9731 ac_cv_use_splines
='wxUSE_SPLINES=no'
9736 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9737 if test "x$LINE" != x
; then
9738 eval "DEFAULT_$LINE"
9743 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9747 eval "$ac_cv_use_splines"
9748 if test "$no_cache" != 1; then
9749 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9752 if test "$wxUSE_SPLINES" = yes; then
9753 echo "$as_me:$LINENO: result: yes" >&5
9754 echo "${ECHO_T}yes" >&6
9756 echo "$as_me:$LINENO: result: no" >&5
9757 echo "${ECHO_T}no" >&6
9762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
9763 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
9765 # Check whether --enable-mousewheel or --disable-mousewheel was given.
9766 if test "${enable_mousewheel+set}" = set; then
9767 enableval
="$enable_mousewheel"
9769 if test "$enableval" = yes; then
9770 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
9772 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
9777 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
9778 if test "x$LINE" != x
; then
9779 eval "DEFAULT_$LINE"
9784 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
9788 eval "$ac_cv_use_mousewheel"
9789 if test "$no_cache" != 1; then
9790 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
9793 if test "$wxUSE_MOUSEWHEEL" = yes; then
9794 echo "$as_me:$LINENO: result: yes" >&5
9795 echo "${ECHO_T}yes" >&6
9797 echo "$as_me:$LINENO: result: no" >&5
9798 echo "${ECHO_T}no" >&6
9803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9804 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9806 # Check whether --enable-validators or --disable-validators was given.
9807 if test "${enable_validators+set}" = set; then
9808 enableval
="$enable_validators"
9810 if test "$enableval" = yes; then
9811 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9813 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9818 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9819 if test "x$LINE" != x
; then
9820 eval "DEFAULT_$LINE"
9825 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9829 eval "$ac_cv_use_validators"
9830 if test "$no_cache" != 1; then
9831 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9834 if test "$wxUSE_VALIDATORS" = yes; then
9835 echo "$as_me:$LINENO: result: yes" >&5
9836 echo "${ECHO_T}yes" >&6
9838 echo "$as_me:$LINENO: result: no" >&5
9839 echo "${ECHO_T}no" >&6
9844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9845 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9847 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9848 if test "${enable_busyinfo+set}" = set; then
9849 enableval
="$enable_busyinfo"
9851 if test "$enableval" = yes; then
9852 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9854 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9859 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9860 if test "x$LINE" != x
; then
9861 eval "DEFAULT_$LINE"
9866 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9870 eval "$ac_cv_use_busyinfo"
9871 if test "$no_cache" != 1; then
9872 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9875 if test "$wxUSE_BUSYINFO" = yes; then
9876 echo "$as_me:$LINENO: result: yes" >&5
9877 echo "${ECHO_T}yes" >&6
9879 echo "$as_me:$LINENO: result: no" >&5
9880 echo "${ECHO_T}no" >&6
9885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9886 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9888 # Check whether --enable-joystick or --disable-joystick was given.
9889 if test "${enable_joystick+set}" = set; then
9890 enableval
="$enable_joystick"
9892 if test "$enableval" = yes; then
9893 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9895 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9900 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9901 if test "x$LINE" != x
; then
9902 eval "DEFAULT_$LINE"
9907 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9911 eval "$ac_cv_use_joystick"
9912 if test "$no_cache" != 1; then
9913 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9916 if test "$wxUSE_JOYSTICK" = yes; then
9917 echo "$as_me:$LINENO: result: yes" >&5
9918 echo "${ECHO_T}yes" >&6
9920 echo "$as_me:$LINENO: result: no" >&5
9921 echo "${ECHO_T}no" >&6
9926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9927 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9929 # Check whether --enable-metafile or --disable-metafile was given.
9930 if test "${enable_metafile+set}" = set; then
9931 enableval
="$enable_metafile"
9933 if test "$enableval" = yes; then
9934 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9936 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9941 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9942 if test "x$LINE" != x
; then
9943 eval "DEFAULT_$LINE"
9948 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9952 eval "$ac_cv_use_metafile"
9953 if test "$no_cache" != 1; then
9954 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9957 if test "$wxUSE_METAFILE" = yes; then
9958 echo "$as_me:$LINENO: result: yes" >&5
9959 echo "${ECHO_T}yes" >&6
9961 echo "$as_me:$LINENO: result: no" >&5
9962 echo "${ECHO_T}no" >&6
9967 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9968 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9970 # Check whether --enable-dragimage or --disable-dragimage was given.
9971 if test "${enable_dragimage+set}" = set; then
9972 enableval
="$enable_dragimage"
9974 if test "$enableval" = yes; then
9975 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9977 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9982 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9983 if test "x$LINE" != x
; then
9984 eval "DEFAULT_$LINE"
9989 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9993 eval "$ac_cv_use_dragimage"
9994 if test "$no_cache" != 1; then
9995 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9998 if test "$wxUSE_DRAGIMAGE" = yes; then
9999 echo "$as_me:$LINENO: result: yes" >&5
10000 echo "${ECHO_T}yes" >&6
10002 echo "$as_me:$LINENO: result: no" >&5
10003 echo "${ECHO_T}no" >&6
10008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10009 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10011 # Check whether --enable-accessibility or --disable-accessibility was given.
10012 if test "${enable_accessibility+set}" = set; then
10013 enableval
="$enable_accessibility"
10015 if test "$enableval" = yes; then
10016 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
10018 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
10023 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10024 if test "x$LINE" != x
; then
10025 eval "DEFAULT_$LINE"
10030 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10034 eval "$ac_cv_use_accessibility"
10035 if test "$no_cache" != 1; then
10036 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10039 if test "$wxUSE_ACCESSIBILITY" = yes; then
10040 echo "$as_me:$LINENO: result: yes" >&5
10041 echo "${ECHO_T}yes" >&6
10043 echo "$as_me:$LINENO: result: no" >&5
10044 echo "${ECHO_T}no" >&6
10048 if test "$wxUSE_MSW" = "1"; then
10051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10052 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10054 # Check whether --enable-dccache or --disable-dccache was given.
10055 if test "${enable_dccache+set}" = set; then
10056 enableval
="$enable_dccache"
10058 if test "$enableval" = yes; then
10059 ac_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
10061 ac_cv_use_dccache
='wxUSE_DC_CACHEING=no'
10066 LINE
=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10067 if test "x$LINE" != x
; then
10068 eval "DEFAULT_$LINE"
10073 ac_cv_use_dccache
='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
10077 eval "$ac_cv_use_dccache"
10078 if test "$no_cache" != 1; then
10079 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10082 if test "$wxUSE_DC_CACHEING" = yes; then
10083 echo "$as_me:$LINENO: result: yes" >&5
10084 echo "${ECHO_T}yes" >&6
10086 echo "$as_me:$LINENO: result: no" >&5
10087 echo "${ECHO_T}no" >&6
10095 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10096 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10098 # Check whether --enable-palette or --disable-palette was given.
10099 if test "${enable_palette+set}" = set; then
10100 enableval
="$enable_palette"
10102 if test "$enableval" = yes; then
10103 ac_cv_use_palette
='wxUSE_PALETTE=yes'
10105 ac_cv_use_palette
='wxUSE_PALETTE=no'
10110 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10111 if test "x$LINE" != x
; then
10112 eval "DEFAULT_$LINE"
10117 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10121 eval "$ac_cv_use_palette"
10122 if test "$no_cache" != 1; then
10123 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10126 if test "$wxUSE_PALETTE" = yes; then
10127 echo "$as_me:$LINENO: result: yes" >&5
10128 echo "${ECHO_T}yes" >&6
10130 echo "$as_me:$LINENO: result: no" >&5
10131 echo "${ECHO_T}no" >&6
10136 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10137 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10139 # Check whether --enable-image or --disable-image was given.
10140 if test "${enable_image+set}" = set; then
10141 enableval
="$enable_image"
10143 if test "$enableval" = yes; then
10144 ac_cv_use_image
='wxUSE_IMAGE=yes'
10146 ac_cv_use_image
='wxUSE_IMAGE=no'
10151 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10152 if test "x$LINE" != x
; then
10153 eval "DEFAULT_$LINE"
10158 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10162 eval "$ac_cv_use_image"
10163 if test "$no_cache" != 1; then
10164 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10167 if test "$wxUSE_IMAGE" = yes; then
10168 echo "$as_me:$LINENO: result: yes" >&5
10169 echo "${ECHO_T}yes" >&6
10171 echo "$as_me:$LINENO: result: no" >&5
10172 echo "${ECHO_T}no" >&6
10177 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10178 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10180 # Check whether --enable-gif or --disable-gif was given.
10181 if test "${enable_gif+set}" = set; then
10182 enableval
="$enable_gif"
10184 if test "$enableval" = yes; then
10185 ac_cv_use_gif
='wxUSE_GIF=yes'
10187 ac_cv_use_gif
='wxUSE_GIF=no'
10192 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10193 if test "x$LINE" != x
; then
10194 eval "DEFAULT_$LINE"
10199 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10203 eval "$ac_cv_use_gif"
10204 if test "$no_cache" != 1; then
10205 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10208 if test "$wxUSE_GIF" = yes; then
10209 echo "$as_me:$LINENO: result: yes" >&5
10210 echo "${ECHO_T}yes" >&6
10212 echo "$as_me:$LINENO: result: no" >&5
10213 echo "${ECHO_T}no" >&6
10218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10219 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10221 # Check whether --enable-pcx or --disable-pcx was given.
10222 if test "${enable_pcx+set}" = set; then
10223 enableval
="$enable_pcx"
10225 if test "$enableval" = yes; then
10226 ac_cv_use_pcx
='wxUSE_PCX=yes'
10228 ac_cv_use_pcx
='wxUSE_PCX=no'
10233 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10234 if test "x$LINE" != x
; then
10235 eval "DEFAULT_$LINE"
10240 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10244 eval "$ac_cv_use_pcx"
10245 if test "$no_cache" != 1; then
10246 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10249 if test "$wxUSE_PCX" = yes; then
10250 echo "$as_me:$LINENO: result: yes" >&5
10251 echo "${ECHO_T}yes" >&6
10253 echo "$as_me:$LINENO: result: no" >&5
10254 echo "${ECHO_T}no" >&6
10259 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10260 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10262 # Check whether --enable-iff or --disable-iff was given.
10263 if test "${enable_iff+set}" = set; then
10264 enableval
="$enable_iff"
10266 if test "$enableval" = yes; then
10267 ac_cv_use_iff
='wxUSE_IFF=yes'
10269 ac_cv_use_iff
='wxUSE_IFF=no'
10274 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10275 if test "x$LINE" != x
; then
10276 eval "DEFAULT_$LINE"
10281 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10285 eval "$ac_cv_use_iff"
10286 if test "$no_cache" != 1; then
10287 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10290 if test "$wxUSE_IFF" = yes; then
10291 echo "$as_me:$LINENO: result: yes" >&5
10292 echo "${ECHO_T}yes" >&6
10294 echo "$as_me:$LINENO: result: no" >&5
10295 echo "${ECHO_T}no" >&6
10300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10301 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10303 # Check whether --enable-pnm or --disable-pnm was given.
10304 if test "${enable_pnm+set}" = set; then
10305 enableval
="$enable_pnm"
10307 if test "$enableval" = yes; then
10308 ac_cv_use_pnm
='wxUSE_PNM=yes'
10310 ac_cv_use_pnm
='wxUSE_PNM=no'
10315 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10316 if test "x$LINE" != x
; then
10317 eval "DEFAULT_$LINE"
10322 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10326 eval "$ac_cv_use_pnm"
10327 if test "$no_cache" != 1; then
10328 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10331 if test "$wxUSE_PNM" = yes; then
10332 echo "$as_me:$LINENO: result: yes" >&5
10333 echo "${ECHO_T}yes" >&6
10335 echo "$as_me:$LINENO: result: no" >&5
10336 echo "${ECHO_T}no" >&6
10341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10342 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10344 # Check whether --enable-xpm or --disable-xpm was given.
10345 if test "${enable_xpm+set}" = set; then
10346 enableval
="$enable_xpm"
10348 if test "$enableval" = yes; then
10349 ac_cv_use_xpm
='wxUSE_XPM=yes'
10351 ac_cv_use_xpm
='wxUSE_XPM=no'
10356 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10357 if test "x$LINE" != x
; then
10358 eval "DEFAULT_$LINE"
10363 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10367 eval "$ac_cv_use_xpm"
10368 if test "$no_cache" != 1; then
10369 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10372 if test "$wxUSE_XPM" = yes; then
10373 echo "$as_me:$LINENO: result: yes" >&5
10374 echo "${ECHO_T}yes" >&6
10376 echo "$as_me:$LINENO: result: no" >&5
10377 echo "${ECHO_T}no" >&6
10382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10383 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10385 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10386 if test "${enable_ico_cur+set}" = set; then
10387 enableval
="$enable_ico_cur"
10389 if test "$enableval" = yes; then
10390 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
10392 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
10397 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10398 if test "x$LINE" != x
; then
10399 eval "DEFAULT_$LINE"
10404 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10408 eval "$ac_cv_use_ico_cur"
10409 if test "$no_cache" != 1; then
10410 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10413 if test "$wxUSE_ICO_CUR" = yes; then
10414 echo "$as_me:$LINENO: result: yes" >&5
10415 echo "${ECHO_T}yes" >&6
10417 echo "$as_me:$LINENO: result: no" >&5
10418 echo "${ECHO_T}no" >&6
10426 # Check whether --with-flavour or --without-flavour was given.
10427 if test "${with_flavour+set}" = set; then
10428 withval
="$with_flavour"
10429 WX_FLAVOUR
="$withval"
10435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10436 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10438 # Check whether --enable-official_build or --disable-official_build was given.
10439 if test "${enable_official_build+set}" = set; then
10440 enableval
="$enable_official_build"
10442 if test "$enableval" = yes; then
10443 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10445 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10450 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10451 if test "x$LINE" != x
; then
10452 eval "DEFAULT_$LINE"
10457 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10461 eval "$ac_cv_use_official_build"
10462 if test "$no_cache" != 1; then
10463 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10466 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10467 echo "$as_me:$LINENO: result: yes" >&5
10468 echo "${ECHO_T}yes" >&6
10470 echo "$as_me:$LINENO: result: no" >&5
10471 echo "${ECHO_T}no" >&6
10474 # Check whether --enable-vendor or --disable-vendor was given.
10475 if test "${enable_vendor+set}" = set; then
10476 enableval
="$enable_vendor"
10477 VENDOR
="$enableval"
10479 if test "x$VENDOR" = "x"; then
10486 echo "saving argument cache $wx_arg_cache_file"
10487 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10491 echo "$as_me:$LINENO: checking for toolkit" >&5
10492 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10494 # In Wine, we need to default to MSW, not GTK or MOTIF
10495 if test "$wxUSE_WINE" = "yes"; then
10496 DEFAULT_DEFAULT_wxUSE_GTK
=0
10497 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10498 DEFAULT_DEFAULT_wxUSE_MSW
=1
10503 if test "$wxUSE_GUI" = "yes"; then
10505 if test "$USE_BEOS" = 1; then
10506 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10507 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10508 { (exit 1); exit 1; }; }
10511 if test "$TOOLKIT_GIVEN" = 1; then
10512 for toolkit
in `echo $ALL_TOOLKITS`; do
10514 eval "value=\$${var}"
10515 if test "x$value" = "xno"; then
10517 elif test "x$value" != "x"; then
10521 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10522 eval "wx${toolkit}_VERSION=$value"
10526 for toolkit
in `echo $ALL_TOOLKITS`; do
10527 if test "$has_toolkit_in_cache" != 1; then
10528 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10530 var
=DEFAULT_wxUSE_
$toolkit
10532 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10533 if test "x$version" != "x"; then
10534 eval "wx${toolkit}_VERSION=$version"
10537 eval "wxUSE_$toolkit=\$${var}"
10541 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10542 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10543 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10546 *-pc-os2_emx | *-pc-os2-emx )
10547 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10550 case "$NUM_TOOLKITS" in
10554 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10555 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10556 { (exit 1); exit 1; }; }
10559 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10560 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10561 { (exit 1); exit 1; }; }
10564 # to be removed when --disable-gtk2 isn't needed
10565 if test "x$wxUSE_GTK2" = "xyes"; then
10567 elif test "x$wxUSE_GTK2" = "xno"; then
10571 for toolkit
in `echo $ALL_TOOLKITS`; do
10573 eval "value=\$${var}"
10574 if test "x$value" != x
; then
10575 cache_var
=CACHE_
$toolkit
10576 eval "cache=\$${cache_var}"
10577 if test "$cache" = 1; then
10578 echo "$var=$value" >> ${wx_arg_cache_file}
10579 eval "version=\$wx${toolkit}_VERSION"
10580 if test "x$version" != "x"; then
10581 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10584 if test "$value" = 1; then
10585 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10586 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10587 echo "${ECHO_T}$toolkit_echo" >&6
10592 if test "x$host_alias" != "x"; then
10593 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10594 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10596 echo "$as_me:$LINENO: result: base only" >&5
10597 echo "${ECHO_T}base only" >&6
10602 doesnt_want_win32
=0
10605 if test "$wxUSE_MSW" = 1 ; then
10607 BAKEFILE_FORCE_PLATFORM
=win32
10609 doesnt_want_win32
=1
10617 if test "$wxUSE_WINE" = "yes"; then
10622 LDFLAGS_GUI
="-mwindows"
10625 if test "$wants_win32" = 1 ; then
10628 cat >>confdefs.h
<<\_ACEOF
10629 #define __WIN32__ 1
10632 cat >>confdefs.h
<<\_ACEOF
10633 #define __WIN95__ 1
10636 cat >>confdefs.h
<<\_ACEOF
10637 #define __WINDOWS__ 1
10640 cat >>confdefs.h
<<\_ACEOF
10641 #define __GNUWIN32__ 1
10644 cat >>confdefs.h
<<\_ACEOF
10648 cat >>confdefs.h
<<\_ACEOF
10649 #define WINVER 0x0400
10653 if test "$doesnt_want_win32" = 1 ; then
10658 if test "$USE_UNIX" = 1 ; then
10660 cat >>confdefs.h
<<\_ACEOF
10667 cat >confcache
<<\_ACEOF
10668 # This file is a shell script that caches the results of configure
10669 # tests run on this system so they can be shared between configure
10670 # scripts and configure runs, see configure's option --config-cache.
10671 # It is not useful on other systems. If it contains results you don't
10672 # want to keep, you may remove or edit it.
10674 # config.status only pays attention to the cache file if you give it
10675 # the --recheck option to rerun configure.
10677 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10678 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10679 # following values.
10683 # The following way of writing the cache mishandles newlines in values,
10684 # but we know of no workaround that is simple, portable, and efficient.
10685 # So, don't put newlines in cache variables' values.
10686 # Ultrix sh set writes to stderr and can't be redirected directly,
10687 # and sets the high bit in the cache file unless we assign to the vars.
10690 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10692 # `set' does not quote correctly, so add quotes (double-quote
10693 # substitution turns \\\\ into \\, and sed turns \\ into \).
10696 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10699 # `set' quotes correctly as required by POSIX, so do not add quotes.
10701 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10708 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10710 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10712 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10713 if test -w $cache_file; then
10714 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10715 cat confcache
>$cache_file
10717 echo "not updating unwritable cache $cache_file"
10722 if test "$build" != "$host" ; then
10723 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10725 CXX
=$host_alias-c++
10727 RANLIB
=$host_alias-ranlib
10728 DLLTOOL
=$host_alias-dlltool
10729 RESCOMP
=$host_alias-windres
10730 STRIP
=$host_alias-strip
10731 elif test "x$CC" '!=' "x"; then
10732 echo "You set CC, I assume you know what you are doing."
10734 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10735 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10736 { (exit 1); exit 1; }; }
10744 ac_cpp
='$CPP $CPPFLAGS'
10745 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10746 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10747 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10748 if test -n "$ac_tool_prefix"; then
10749 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10750 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10751 echo "$as_me:$LINENO: checking for $ac_word" >&5
10752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10753 if test "${ac_cv_prog_CC+set}" = set; then
10754 echo $ECHO_N "(cached) $ECHO_C" >&6
10756 if test -n "$CC"; then
10757 ac_cv_prog_CC
="$CC" # Let the user override the test.
10759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10760 for as_dir
in $PATH
10763 test -z "$as_dir" && as_dir
=.
10764 for ac_exec_ext
in '' $ac_executable_extensions; do
10765 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10766 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10776 if test -n "$CC"; then
10777 echo "$as_me:$LINENO: result: $CC" >&5
10778 echo "${ECHO_T}$CC" >&6
10780 echo "$as_me:$LINENO: result: no" >&5
10781 echo "${ECHO_T}no" >&6
10785 if test -z "$ac_cv_prog_CC"; then
10787 # Extract the first word of "gcc", so it can be a program name with args.
10788 set dummy gcc
; ac_word
=$2
10789 echo "$as_me:$LINENO: checking for $ac_word" >&5
10790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10791 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10792 echo $ECHO_N "(cached) $ECHO_C" >&6
10794 if test -n "$ac_ct_CC"; then
10795 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10798 for as_dir
in $PATH
10801 test -z "$as_dir" && as_dir
=.
10802 for ac_exec_ext
in '' $ac_executable_extensions; do
10803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10804 ac_cv_prog_ac_ct_CC
="gcc"
10805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10813 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10814 if test -n "$ac_ct_CC"; then
10815 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10816 echo "${ECHO_T}$ac_ct_CC" >&6
10818 echo "$as_me:$LINENO: result: no" >&5
10819 echo "${ECHO_T}no" >&6
10824 CC
="$ac_cv_prog_CC"
10827 if test -z "$CC"; then
10828 if test -n "$ac_tool_prefix"; then
10829 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10830 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10831 echo "$as_me:$LINENO: checking for $ac_word" >&5
10832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10833 if test "${ac_cv_prog_CC+set}" = set; then
10834 echo $ECHO_N "(cached) $ECHO_C" >&6
10836 if test -n "$CC"; then
10837 ac_cv_prog_CC
="$CC" # Let the user override the test.
10839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10840 for as_dir
in $PATH
10843 test -z "$as_dir" && as_dir
=.
10844 for ac_exec_ext
in '' $ac_executable_extensions; do
10845 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10846 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10856 if test -n "$CC"; then
10857 echo "$as_me:$LINENO: result: $CC" >&5
10858 echo "${ECHO_T}$CC" >&6
10860 echo "$as_me:$LINENO: result: no" >&5
10861 echo "${ECHO_T}no" >&6
10865 if test -z "$ac_cv_prog_CC"; then
10867 # Extract the first word of "cc", so it can be a program name with args.
10868 set dummy cc
; ac_word
=$2
10869 echo "$as_me:$LINENO: checking for $ac_word" >&5
10870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10871 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10872 echo $ECHO_N "(cached) $ECHO_C" >&6
10874 if test -n "$ac_ct_CC"; then
10875 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10878 for as_dir
in $PATH
10881 test -z "$as_dir" && as_dir
=.
10882 for ac_exec_ext
in '' $ac_executable_extensions; do
10883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10884 ac_cv_prog_ac_ct_CC
="cc"
10885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10893 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10894 if test -n "$ac_ct_CC"; then
10895 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10896 echo "${ECHO_T}$ac_ct_CC" >&6
10898 echo "$as_me:$LINENO: result: no" >&5
10899 echo "${ECHO_T}no" >&6
10904 CC
="$ac_cv_prog_CC"
10908 if test -z "$CC"; then
10909 # Extract the first word of "cc", so it can be a program name with args.
10910 set dummy cc
; ac_word
=$2
10911 echo "$as_me:$LINENO: checking for $ac_word" >&5
10912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10913 if test "${ac_cv_prog_CC+set}" = set; then
10914 echo $ECHO_N "(cached) $ECHO_C" >&6
10916 if test -n "$CC"; then
10917 ac_cv_prog_CC
="$CC" # Let the user override the test.
10919 ac_prog_rejected
=no
10920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10921 for as_dir
in $PATH
10924 test -z "$as_dir" && as_dir
=.
10925 for ac_exec_ext
in '' $ac_executable_extensions; do
10926 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10927 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10928 ac_prog_rejected
=yes
10932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10938 if test $ac_prog_rejected = yes; then
10939 # We found a bogon in the path, so make sure we never use it.
10940 set dummy
$ac_cv_prog_CC
10942 if test $# != 0; then
10943 # We chose a different compiler from the bogus one.
10944 # However, it has the same basename, so the bogon will be chosen
10945 # first if we set CC to just the basename; use the full file name.
10947 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10953 if test -n "$CC"; then
10954 echo "$as_me:$LINENO: result: $CC" >&5
10955 echo "${ECHO_T}$CC" >&6
10957 echo "$as_me:$LINENO: result: no" >&5
10958 echo "${ECHO_T}no" >&6
10962 if test -z "$CC"; then
10963 if test -n "$ac_tool_prefix"; then
10966 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10967 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10968 echo "$as_me:$LINENO: checking for $ac_word" >&5
10969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10970 if test "${ac_cv_prog_CC+set}" = set; then
10971 echo $ECHO_N "(cached) $ECHO_C" >&6
10973 if test -n "$CC"; then
10974 ac_cv_prog_CC
="$CC" # Let the user override the test.
10976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10977 for as_dir
in $PATH
10980 test -z "$as_dir" && as_dir
=.
10981 for ac_exec_ext
in '' $ac_executable_extensions; do
10982 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10983 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10993 if test -n "$CC"; then
10994 echo "$as_me:$LINENO: result: $CC" >&5
10995 echo "${ECHO_T}$CC" >&6
10997 echo "$as_me:$LINENO: result: no" >&5
10998 echo "${ECHO_T}no" >&6
11001 test -n "$CC" && break
11004 if test -z "$CC"; then
11008 # Extract the first word of "$ac_prog", so it can be a program name with args.
11009 set dummy
$ac_prog; 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_ac_ct_CC+set}" = set; then
11013 echo $ECHO_N "(cached) $ECHO_C" >&6
11015 if test -n "$ac_ct_CC"; then
11016 ac_cv_prog_ac_ct_CC
="$ac_ct_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_ac_ct_CC
="$ac_prog"
11026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11034 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11035 if test -n "$ac_ct_CC"; then
11036 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11037 echo "${ECHO_T}$ac_ct_CC" >&6
11039 echo "$as_me:$LINENO: result: no" >&5
11040 echo "${ECHO_T}no" >&6
11043 test -n "$ac_ct_CC" && break
11052 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11053 See \`config.log' for more details." >&5
11054 echo "$as_me: error: no acceptable C compiler found in \$PATH
11055 See \`config.log' for more details." >&2;}
11056 { (exit 1); exit 1; }; }
11058 # Provide some information about the compiler.
11059 echo "$as_me:$LINENO:" \
11060 "checking for C compiler version" >&5
11061 ac_compiler
=`set X $ac_compile; echo $2`
11062 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11063 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066 (exit $ac_status); }
11067 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11068 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11071 (exit $ac_status); }
11072 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11073 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11076 (exit $ac_status); }
11078 cat >conftest.
$ac_ext <<_ACEOF
11081 cat confdefs.h
>>conftest.
$ac_ext
11082 cat >>conftest.
$ac_ext <<_ACEOF
11083 /* end confdefs.h. */
11093 ac_clean_files_save
=$ac_clean_files
11094 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
11095 # Try to create an executable without -o first, disregard a.out.
11096 # It will help us diagnose broken compilers, and finding out an intuition
11098 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11099 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11100 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11101 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11102 (eval $ac_link_default) 2>&5
11104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11105 (exit $ac_status); }; then
11106 # Find the output, starting from the most likely. This scheme is
11107 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11110 # Be careful to initialize this variable, since it used to be cached.
11111 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11113 # b.out is created by i960 compilers.
11114 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
11116 test -f "$ac_file" || continue
11118 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
11121 # This is the source file.
11124 # We found the default executable, but exeext='' is most
11128 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11129 # FIXME: I believe we export ac_cv_exeext for Libtool,
11130 # but it would be cool to find out if it's true. Does anybody
11131 # maintain Libtool? --akim.
11132 export ac_cv_exeext
11139 echo "$as_me: failed program was:" >&5
11140 sed 's/^/| /' conftest.
$ac_ext >&5
11142 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11143 See \`config.log' for more details." >&5
11144 echo "$as_me: error: C compiler cannot create executables
11145 See \`config.log' for more details." >&2;}
11146 { (exit 77); exit 77; }; }
11149 ac_exeext
=$ac_cv_exeext
11150 echo "$as_me:$LINENO: result: $ac_file" >&5
11151 echo "${ECHO_T}$ac_file" >&6
11153 # Check the compiler produces executables we can run. If not, either
11154 # the compiler is broken, or we cross compile.
11155 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11156 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11157 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11158 # If not cross compiling, check that we can run a simple program.
11159 if test "$cross_compiling" != yes; then
11160 if { ac_try
='./$ac_file'
11161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11162 (eval $ac_try) 2>&5
11164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11165 (exit $ac_status); }; }; then
11168 if test "$cross_compiling" = maybe
; then
11169 cross_compiling
=yes
11171 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11172 If you meant to cross compile, use \`--host'.
11173 See \`config.log' for more details." >&5
11174 echo "$as_me: error: cannot run C compiled programs.
11175 If you meant to cross compile, use \`--host'.
11176 See \`config.log' for more details." >&2;}
11177 { (exit 1); exit 1; }; }
11181 echo "$as_me:$LINENO: result: yes" >&5
11182 echo "${ECHO_T}yes" >&6
11184 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11185 ac_clean_files
=$ac_clean_files_save
11186 # Check the compiler produces executables we can run. If not, either
11187 # the compiler is broken, or we cross compile.
11188 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11189 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11190 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11191 echo "${ECHO_T}$cross_compiling" >&6
11193 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11194 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11196 (eval $ac_link) 2>&5
11198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11199 (exit $ac_status); }; then
11200 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11201 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11202 # work properly (i.e., refer to `conftest.exe'), while it won't with
11204 for ac_file
in conftest.exe conftest conftest.
*; do
11205 test -f "$ac_file" || continue
11207 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11208 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11209 export ac_cv_exeext
11215 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11216 See \`config.log' for more details." >&5
11217 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11218 See \`config.log' for more details." >&2;}
11219 { (exit 1); exit 1; }; }
11222 rm -f conftest
$ac_cv_exeext
11223 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11224 echo "${ECHO_T}$ac_cv_exeext" >&6
11226 rm -f conftest.
$ac_ext
11227 EXEEXT
=$ac_cv_exeext
11229 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11230 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11231 if test "${ac_cv_objext+set}" = set; then
11232 echo $ECHO_N "(cached) $ECHO_C" >&6
11234 cat >conftest.
$ac_ext <<_ACEOF
11237 cat confdefs.h
>>conftest.
$ac_ext
11238 cat >>conftest.
$ac_ext <<_ACEOF
11239 /* end confdefs.h. */
11249 rm -f conftest.o conftest.obj
11250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11251 (eval $ac_compile) 2>&5
11253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11254 (exit $ac_status); }; then
11255 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11257 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
11258 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11263 echo "$as_me: failed program was:" >&5
11264 sed 's/^/| /' conftest.
$ac_ext >&5
11266 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11267 See \`config.log' for more details." >&5
11268 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11269 See \`config.log' for more details." >&2;}
11270 { (exit 1); exit 1; }; }
11273 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11275 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11276 echo "${ECHO_T}$ac_cv_objext" >&6
11277 OBJEXT
=$ac_cv_objext
11279 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11280 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11281 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11282 echo $ECHO_N "(cached) $ECHO_C" >&6
11284 cat >conftest.
$ac_ext <<_ACEOF
11287 cat confdefs.h
>>conftest.
$ac_ext
11288 cat >>conftest.
$ac_ext <<_ACEOF
11289 /* end confdefs.h. */
11302 rm -f conftest.
$ac_objext
11303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11304 (eval $ac_compile) 2>conftest.er1
11306 grep -v '^ *+' conftest.er1
>conftest.err
11308 cat conftest.err
>&5
11309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11310 (exit $ac_status); } &&
11311 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11313 (eval $ac_try) 2>&5
11315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11316 (exit $ac_status); }; } &&
11317 { ac_try
='test -s conftest.$ac_objext'
11318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11319 (eval $ac_try) 2>&5
11321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11322 (exit $ac_status); }; }; then
11323 ac_compiler_gnu
=yes
11325 echo "$as_me: failed program was:" >&5
11326 sed 's/^/| /' conftest.
$ac_ext >&5
11330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11331 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11334 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11335 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11336 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11337 ac_test_CFLAGS
=${CFLAGS+set}
11338 ac_save_CFLAGS
=$CFLAGS
11340 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11341 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11342 if test "${ac_cv_prog_cc_g+set}" = set; then
11343 echo $ECHO_N "(cached) $ECHO_C" >&6
11345 cat >conftest.
$ac_ext <<_ACEOF
11348 cat confdefs.h
>>conftest.
$ac_ext
11349 cat >>conftest.
$ac_ext <<_ACEOF
11350 /* end confdefs.h. */
11360 rm -f conftest.
$ac_objext
11361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11362 (eval $ac_compile) 2>conftest.er1
11364 grep -v '^ *+' conftest.er1
>conftest.err
11366 cat conftest.err
>&5
11367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11368 (exit $ac_status); } &&
11369 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11371 (eval $ac_try) 2>&5
11373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11374 (exit $ac_status); }; } &&
11375 { ac_try
='test -s conftest.$ac_objext'
11376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11377 (eval $ac_try) 2>&5
11379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11380 (exit $ac_status); }; }; then
11381 ac_cv_prog_cc_g
=yes
11383 echo "$as_me: failed program was:" >&5
11384 sed 's/^/| /' conftest.
$ac_ext >&5
11388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11390 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11391 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11392 if test "$ac_test_CFLAGS" = set; then
11393 CFLAGS
=$ac_save_CFLAGS
11394 elif test $ac_cv_prog_cc_g = yes; then
11395 if test "$GCC" = yes; then
11401 if test "$GCC" = yes; then
11407 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11408 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11409 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11410 echo $ECHO_N "(cached) $ECHO_C" >&6
11412 ac_cv_prog_cc_stdc
=no
11414 cat >conftest.
$ac_ext <<_ACEOF
11417 cat confdefs.h
>>conftest.
$ac_ext
11418 cat >>conftest.
$ac_ext <<_ACEOF
11419 /* end confdefs.h. */
11420 #include <stdarg.h>
11422 #include <sys/types.h>
11423 #include <sys/stat.h>
11424 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11425 struct buf { int x; };
11426 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11427 static char *e (p, i)
11433 static char *f (char * (*g) (char **, int), char **p, ...)
11438 s = g (p, va_arg (v,int));
11443 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11444 function prototypes and stuff, but not '\xHH' hex character constants.
11445 These don't provoke an error unfortunately, instead are silently treated
11446 as 'x'. The following induces an error, until -std1 is added to get
11447 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11448 array size at least. It's necessary to write '\x00'==0 to get something
11449 that's true only with -std1. */
11450 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11452 int test (int i, double x);
11453 struct s1 {int (*f) (int a);};
11454 struct s2 {int (*f) (double a);};
11455 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11461 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11466 # Don't try gcc -ansi; that turns off useful extensions and
11467 # breaks some systems' header files.
11468 # AIX -qlanglvl=ansi
11469 # Ultrix and OSF/1 -std1
11470 # HP-UX 10.20 and later -Ae
11471 # HP-UX older versions -Aa -D_HPUX_SOURCE
11472 # SVR4 -Xc -D__EXTENSIONS__
11473 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11475 CC
="$ac_save_CC $ac_arg"
11476 rm -f conftest.
$ac_objext
11477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11478 (eval $ac_compile) 2>conftest.er1
11480 grep -v '^ *+' conftest.er1
>conftest.err
11482 cat conftest.err
>&5
11483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11484 (exit $ac_status); } &&
11485 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11487 (eval $ac_try) 2>&5
11489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11490 (exit $ac_status); }; } &&
11491 { ac_try
='test -s conftest.$ac_objext'
11492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11493 (eval $ac_try) 2>&5
11495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11496 (exit $ac_status); }; }; then
11497 ac_cv_prog_cc_stdc
=$ac_arg
11500 echo "$as_me: failed program was:" >&5
11501 sed 's/^/| /' conftest.
$ac_ext >&5
11504 rm -f conftest.err conftest.
$ac_objext
11506 rm -f conftest.
$ac_ext conftest.
$ac_objext
11511 case "x$ac_cv_prog_cc_stdc" in
11513 echo "$as_me:$LINENO: result: none needed" >&5
11514 echo "${ECHO_T}none needed" >&6 ;;
11516 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11517 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11518 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11521 # Some people use a C++ compiler to compile C. Since we use `exit',
11522 # in C++ we need to declare it. In case someone uses the same compiler
11523 # for both compiling C and C++ we need to have the C++ compiler decide
11524 # the declaration of exit, since it's the most demanding environment.
11525 cat >conftest.
$ac_ext <<_ACEOF
11526 #ifndef __cplusplus
11530 rm -f conftest.
$ac_objext
11531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11532 (eval $ac_compile) 2>conftest.er1
11534 grep -v '^ *+' conftest.er1
>conftest.err
11536 cat conftest.err
>&5
11537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11538 (exit $ac_status); } &&
11539 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11541 (eval $ac_try) 2>&5
11543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11544 (exit $ac_status); }; } &&
11545 { ac_try
='test -s conftest.$ac_objext'
11546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11547 (eval $ac_try) 2>&5
11549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11550 (exit $ac_status); }; }; then
11551 for ac_declaration
in \
11553 'extern "C" void std::exit (int) throw (); using std::exit;' \
11554 'extern "C" void std::exit (int); using std::exit;' \
11555 'extern "C" void exit (int) throw ();' \
11556 'extern "C" void exit (int);' \
11559 cat >conftest.
$ac_ext <<_ACEOF
11562 cat confdefs.h
>>conftest.
$ac_ext
11563 cat >>conftest.
$ac_ext <<_ACEOF
11564 /* end confdefs.h. */
11566 #include <stdlib.h>
11575 rm -f conftest.
$ac_objext
11576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11577 (eval $ac_compile) 2>conftest.er1
11579 grep -v '^ *+' conftest.er1
>conftest.err
11581 cat conftest.err
>&5
11582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11583 (exit $ac_status); } &&
11584 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11586 (eval $ac_try) 2>&5
11588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11589 (exit $ac_status); }; } &&
11590 { ac_try
='test -s conftest.$ac_objext'
11591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11592 (eval $ac_try) 2>&5
11594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11595 (exit $ac_status); }; }; then
11598 echo "$as_me: failed program was:" >&5
11599 sed 's/^/| /' conftest.
$ac_ext >&5
11603 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11604 cat >conftest.
$ac_ext <<_ACEOF
11607 cat confdefs.h
>>conftest.
$ac_ext
11608 cat >>conftest.
$ac_ext <<_ACEOF
11609 /* end confdefs.h. */
11619 rm -f conftest.
$ac_objext
11620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11621 (eval $ac_compile) 2>conftest.er1
11623 grep -v '^ *+' conftest.er1
>conftest.err
11625 cat conftest.err
>&5
11626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11627 (exit $ac_status); } &&
11628 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11630 (eval $ac_try) 2>&5
11632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11633 (exit $ac_status); }; } &&
11634 { ac_try
='test -s conftest.$ac_objext'
11635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11636 (eval $ac_try) 2>&5
11638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11639 (exit $ac_status); }; }; then
11642 echo "$as_me: failed program was:" >&5
11643 sed 's/^/| /' conftest.
$ac_ext >&5
11646 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11649 if test -n "$ac_declaration"; then
11650 echo '#ifdef __cplusplus' >>confdefs.h
11651 echo $ac_declaration >>confdefs.h
11652 echo '#endif' >>confdefs.h
11656 echo "$as_me: failed program was:" >&5
11657 sed 's/^/| /' conftest.
$ac_ext >&5
11660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11662 ac_cpp
='$CPP $CPPFLAGS'
11663 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11664 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11665 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11667 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11668 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11669 if test "${wx_cv_c_exto+set}" = set; then
11670 echo $ECHO_N "(cached) $ECHO_C" >&6
11672 cat >conftest.
$ac_ext <<_ACEOF
11675 cat confdefs.h
>>conftest.
$ac_ext
11676 cat >>conftest.
$ac_ext <<_ACEOF
11677 /* end confdefs.h. */
11687 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
11688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11689 (eval $ac_compile) 2>&5
11691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11692 (exit $ac_status); }; then
11693 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
11695 conftest.
$ac_ext.o
)
11696 wx_cv_c_exto
="-ext o"
11703 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11704 See \`config.log' for more details." >&5
11705 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11706 See \`config.log' for more details." >&2;}
11707 { (exit 1); exit 1; }; }
11711 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
11714 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5
11715 echo "${ECHO_T}$wx_cv_c_exto" >&6
11716 if test "x$wx_cv_c_exto" '!=' "x"; then
11717 if test "c" = "c"; then
11718 CFLAGS
="$wx_cv_c_exto $CFLAGS"
11720 if test "c" = "cxx"; then
11721 CXXFLAGS
="$wx_cv_c_exto $CXXFLAGS"
11725 if test "x$wx_cv_c_exto" '!=' "x"; then
11726 unset ac_cv_prog_cc_g
11727 ac_test_CFLAGS
=${CFLAGS+set}
11728 ac_save_CFLAGS
=$CFLAGS
11730 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11731 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11732 if test "${ac_cv_prog_cc_g+set}" = set; then
11733 echo $ECHO_N "(cached) $ECHO_C" >&6
11735 cat >conftest.
$ac_ext <<_ACEOF
11738 cat confdefs.h
>>conftest.
$ac_ext
11739 cat >>conftest.
$ac_ext <<_ACEOF
11740 /* end confdefs.h. */
11750 rm -f conftest.
$ac_objext
11751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11752 (eval $ac_compile) 2>conftest.er1
11754 grep -v '^ *+' conftest.er1
>conftest.err
11756 cat conftest.err
>&5
11757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11758 (exit $ac_status); } &&
11759 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11761 (eval $ac_try) 2>&5
11763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11764 (exit $ac_status); }; } &&
11765 { ac_try
='test -s conftest.$ac_objext'
11766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11767 (eval $ac_try) 2>&5
11769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11770 (exit $ac_status); }; }; then
11771 ac_cv_prog_cc_g
=yes
11773 echo "$as_me: failed program was:" >&5
11774 sed 's/^/| /' conftest.
$ac_ext >&5
11778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11780 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11781 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11782 if test "$ac_test_CFLAGS" = set; then
11783 CFLAGS
=$ac_save_CFLAGS
11784 elif test $ac_cv_prog_cc_g = yes; then
11785 if test "$GCC" = yes; then
11791 if test "$GCC" = yes; then
11799 ac_cpp
='$CPP $CPPFLAGS'
11800 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11801 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11802 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11804 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11805 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11806 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11807 echo $ECHO_N "(cached) $ECHO_C" >&6
11809 cat >conftest.
$ac_ext <<_ACEOF
11812 cat confdefs.h
>>conftest.
$ac_ext
11813 cat >>conftest.
$ac_ext <<_ACEOF
11814 /* end confdefs.h. */
11827 rm -f conftest.
$ac_objext
11828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11829 (eval $ac_compile) 2>conftest.er1
11831 grep -v '^ *+' conftest.er1
>conftest.err
11833 cat conftest.err
>&5
11834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11835 (exit $ac_status); } &&
11836 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11838 (eval $ac_try) 2>&5
11840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11841 (exit $ac_status); }; } &&
11842 { ac_try
='test -s conftest.$ac_objext'
11843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11844 (eval $ac_try) 2>&5
11846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11847 (exit $ac_status); }; }; then
11848 bakefile_compiler_mwerks
=yes
11850 echo "$as_me: failed program was:" >&5
11851 sed 's/^/| /' conftest.
$ac_ext >&5
11853 bakefile_compiler_mwerks
=no
11855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11856 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
11859 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11860 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11862 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
11864 ac_cpp
='$CPP $CPPFLAGS'
11865 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11866 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11867 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11871 ac_cpp
='$CPP $CPPFLAGS'
11872 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11873 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11874 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11876 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11877 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11878 if test "${wx_cv_c_compiler_xlc+set}" = set; then
11879 echo $ECHO_N "(cached) $ECHO_C" >&6
11881 cat >conftest.
$ac_ext <<_ACEOF
11884 cat confdefs.h
>>conftest.
$ac_ext
11885 cat >>conftest.
$ac_ext <<_ACEOF
11886 /* end confdefs.h. */
11899 rm -f conftest.
$ac_objext
11900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11901 (eval $ac_compile) 2>conftest.er1
11903 grep -v '^ *+' conftest.er1
>conftest.err
11905 cat conftest.err
>&5
11906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11907 (exit $ac_status); } &&
11908 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11910 (eval $ac_try) 2>&5
11912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11913 (exit $ac_status); }; } &&
11914 { ac_try
='test -s conftest.$ac_objext'
11915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11916 (eval $ac_try) 2>&5
11918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11919 (exit $ac_status); }; }; then
11920 wx_compiler_xlc
=yes
11922 echo "$as_me: failed program was:" >&5
11923 sed 's/^/| /' conftest.
$ac_ext >&5
11927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11928 wx_cv_c_compiler_xlc
=$wx_compiler_xlc
11931 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
11932 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
11934 XLCC
=`test $wx_cv_c_compiler_xlc = yes && echo yes`
11936 ac_cpp
='$CPP $CPPFLAGS'
11937 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11938 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11939 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11945 ac_cpp
='$CPP $CPPFLAGS'
11946 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11947 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11948 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11950 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
11951 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
11952 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
11953 echo $ECHO_N "(cached) $ECHO_C" >&6
11955 cat >conftest.
$ac_ext <<_ACEOF
11958 cat confdefs.h
>>conftest.
$ac_ext
11959 cat >>conftest.
$ac_ext <<_ACEOF
11960 /* end confdefs.h. */
11974 rm -f conftest.
$ac_objext
11975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11976 (eval $ac_compile) 2>conftest.er1
11978 grep -v '^ *+' conftest.er1
>conftest.err
11980 cat conftest.err
>&5
11981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11982 (exit $ac_status); } &&
11983 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11985 (eval $ac_try) 2>&5
11987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11988 (exit $ac_status); }; } &&
11989 { ac_try
='test -s conftest.$ac_objext'
11990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11991 (eval $ac_try) 2>&5
11993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11994 (exit $ac_status); }; }; then
11995 bakefile_cv_c_compiler___SUNPRO_C
=yes
11997 echo "$as_me: failed program was:" >&5
11998 sed 's/^/| /' conftest.
$ac_ext >&5
12000 bakefile_cv_c_compiler___SUNPRO_C
=no
12003 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12007 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
12008 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
12010 ac_cpp
='$CPP $CPPFLAGS'
12011 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12012 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12013 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12015 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
12025 ac_cpp
='$CPP $CPPFLAGS'
12026 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12027 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12028 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12029 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
12030 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
12031 # On Suns, sometimes $CPP names a directory.
12032 if test -n "$CPP" && test -d "$CPP"; then
12035 if test -z "$CPP"; then
12036 if test "${ac_cv_prog_CPP+set}" = set; then
12037 echo $ECHO_N "(cached) $ECHO_C" >&6
12039 # Double quotes because CPP needs to be expanded
12040 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12042 ac_preproc_ok
=false
12043 for ac_c_preproc_warn_flag
in '' yes
12045 # Use a header file that comes with gcc, so configuring glibc
12046 # with a fresh cross-compiler works.
12047 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12048 # <limits.h> exists even on freestanding compilers.
12049 # On the NeXT, cc -E runs the code through the compiler's parser,
12050 # not just through cpp. "Syntax error" is here to catch this case.
12051 cat >conftest.
$ac_ext <<_ACEOF
12054 cat confdefs.h
>>conftest.
$ac_ext
12055 cat >>conftest.
$ac_ext <<_ACEOF
12056 /* end confdefs.h. */
12058 # include <limits.h>
12060 # include <assert.h>
12064 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12065 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12067 grep -v '^ *+' conftest.er1
>conftest.err
12069 cat conftest.err
>&5
12070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12071 (exit $ac_status); } >/dev
/null
; then
12072 if test -s conftest.err
; then
12073 ac_cpp_err
=$ac_c_preproc_warn_flag
12074 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12081 if test -z "$ac_cpp_err"; then
12084 echo "$as_me: failed program was:" >&5
12085 sed 's/^/| /' conftest.
$ac_ext >&5
12087 # Broken: fails on valid input.
12090 rm -f conftest.err conftest.
$ac_ext
12092 # OK, works on sane cases. Now check whether non-existent headers
12093 # can be detected and how.
12094 cat >conftest.
$ac_ext <<_ACEOF
12097 cat confdefs.h
>>conftest.
$ac_ext
12098 cat >>conftest.
$ac_ext <<_ACEOF
12099 /* end confdefs.h. */
12100 #include <ac_nonexistent.h>
12102 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12103 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12105 grep -v '^ *+' conftest.er1
>conftest.err
12107 cat conftest.err
>&5
12108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12109 (exit $ac_status); } >/dev
/null
; then
12110 if test -s conftest.err
; then
12111 ac_cpp_err
=$ac_c_preproc_warn_flag
12112 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12119 if test -z "$ac_cpp_err"; then
12120 # Broken: success on invalid input.
12123 echo "$as_me: failed program was:" >&5
12124 sed 's/^/| /' conftest.
$ac_ext >&5
12126 # Passes both tests.
12130 rm -f conftest.err conftest.
$ac_ext
12133 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12134 rm -f conftest.err conftest.
$ac_ext
12135 if $ac_preproc_ok; then
12140 ac_cv_prog_CPP
=$CPP
12143 CPP
=$ac_cv_prog_CPP
12145 ac_cv_prog_CPP
=$CPP
12147 echo "$as_me:$LINENO: result: $CPP" >&5
12148 echo "${ECHO_T}$CPP" >&6
12149 ac_preproc_ok
=false
12150 for ac_c_preproc_warn_flag
in '' yes
12152 # Use a header file that comes with gcc, so configuring glibc
12153 # with a fresh cross-compiler works.
12154 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12155 # <limits.h> exists even on freestanding compilers.
12156 # On the NeXT, cc -E runs the code through the compiler's parser,
12157 # not just through cpp. "Syntax error" is here to catch this case.
12158 cat >conftest.
$ac_ext <<_ACEOF
12161 cat confdefs.h
>>conftest.
$ac_ext
12162 cat >>conftest.
$ac_ext <<_ACEOF
12163 /* end confdefs.h. */
12165 # include <limits.h>
12167 # include <assert.h>
12171 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12172 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12174 grep -v '^ *+' conftest.er1
>conftest.err
12176 cat conftest.err
>&5
12177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12178 (exit $ac_status); } >/dev
/null
; then
12179 if test -s conftest.err
; then
12180 ac_cpp_err
=$ac_c_preproc_warn_flag
12181 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12188 if test -z "$ac_cpp_err"; then
12191 echo "$as_me: failed program was:" >&5
12192 sed 's/^/| /' conftest.
$ac_ext >&5
12194 # Broken: fails on valid input.
12197 rm -f conftest.err conftest.
$ac_ext
12199 # OK, works on sane cases. Now check whether non-existent headers
12200 # can be detected and how.
12201 cat >conftest.
$ac_ext <<_ACEOF
12204 cat confdefs.h
>>conftest.
$ac_ext
12205 cat >>conftest.
$ac_ext <<_ACEOF
12206 /* end confdefs.h. */
12207 #include <ac_nonexistent.h>
12209 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12210 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12212 grep -v '^ *+' conftest.er1
>conftest.err
12214 cat conftest.err
>&5
12215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12216 (exit $ac_status); } >/dev
/null
; then
12217 if test -s conftest.err
; then
12218 ac_cpp_err
=$ac_c_preproc_warn_flag
12219 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12226 if test -z "$ac_cpp_err"; then
12227 # Broken: success on invalid input.
12230 echo "$as_me: failed program was:" >&5
12231 sed 's/^/| /' conftest.
$ac_ext >&5
12233 # Passes both tests.
12237 rm -f conftest.err conftest.
$ac_ext
12240 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12241 rm -f conftest.err conftest.
$ac_ext
12242 if $ac_preproc_ok; then
12245 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12246 See \`config.log' for more details." >&5
12247 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12248 See \`config.log' for more details." >&2;}
12249 { (exit 1); exit 1; }; }
12253 ac_cpp
='$CPP $CPPFLAGS'
12254 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12255 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12256 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12259 echo "$as_me:$LINENO: checking for egrep" >&5
12260 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12261 if test "${ac_cv_prog_egrep+set}" = set; then
12262 echo $ECHO_N "(cached) $ECHO_C" >&6
12264 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
12265 then ac_cv_prog_egrep
='grep -E'
12266 else ac_cv_prog_egrep
='egrep'
12269 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12270 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12271 EGREP
=$ac_cv_prog_egrep
12274 if test $ac_cv_c_compiler_gnu = yes; then
12275 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12276 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12277 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12278 echo $ECHO_N "(cached) $ECHO_C" >&6
12280 ac_pattern
="Autoconf.*'x'"
12281 cat >conftest.
$ac_ext <<_ACEOF
12284 cat confdefs.h
>>conftest.
$ac_ext
12285 cat >>conftest.
$ac_ext <<_ACEOF
12286 /* end confdefs.h. */
12290 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12291 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12292 ac_cv_prog_gcc_traditional
=yes
12294 ac_cv_prog_gcc_traditional
=no
12299 if test $ac_cv_prog_gcc_traditional = no
; then
12300 cat >conftest.
$ac_ext <<_ACEOF
12303 cat confdefs.h
>>conftest.
$ac_ext
12304 cat >>conftest.
$ac_ext <<_ACEOF
12305 /* end confdefs.h. */
12306 #include <termio.h>
12309 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12310 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12311 ac_cv_prog_gcc_traditional
=yes
12317 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12318 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12319 if test $ac_cv_prog_gcc_traditional = yes; then
12320 CC
="$CC -traditional"
12328 ac_cpp
='$CXXCPP $CPPFLAGS'
12329 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12330 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12331 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12334 CXXFLAGS
=${CXXFLAGS:=}
12338 ac_cpp
='$CXXCPP $CPPFLAGS'
12339 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12340 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12341 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12342 if test -n "$ac_tool_prefix"; then
12343 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12345 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12346 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12347 echo "$as_me:$LINENO: checking for $ac_word" >&5
12348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12349 if test "${ac_cv_prog_CXX+set}" = set; then
12350 echo $ECHO_N "(cached) $ECHO_C" >&6
12352 if test -n "$CXX"; then
12353 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
12355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12356 for as_dir
in $PATH
12359 test -z "$as_dir" && as_dir
=.
12360 for ac_exec_ext
in '' $ac_executable_extensions; do
12361 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12362 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
12363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12371 CXX
=$ac_cv_prog_CXX
12372 if test -n "$CXX"; then
12373 echo "$as_me:$LINENO: result: $CXX" >&5
12374 echo "${ECHO_T}$CXX" >&6
12376 echo "$as_me:$LINENO: result: no" >&5
12377 echo "${ECHO_T}no" >&6
12380 test -n "$CXX" && break
12383 if test -z "$CXX"; then
12385 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12387 # Extract the first word of "$ac_prog", so it can be a program name with args.
12388 set dummy
$ac_prog; ac_word
=$2
12389 echo "$as_me:$LINENO: checking for $ac_word" >&5
12390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12391 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12392 echo $ECHO_N "(cached) $ECHO_C" >&6
12394 if test -n "$ac_ct_CXX"; then
12395 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
12397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12398 for as_dir
in $PATH
12401 test -z "$as_dir" && as_dir
=.
12402 for ac_exec_ext
in '' $ac_executable_extensions; do
12403 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12404 ac_cv_prog_ac_ct_CXX
="$ac_prog"
12405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12413 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
12414 if test -n "$ac_ct_CXX"; then
12415 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12416 echo "${ECHO_T}$ac_ct_CXX" >&6
12418 echo "$as_me:$LINENO: result: no" >&5
12419 echo "${ECHO_T}no" >&6
12422 test -n "$ac_ct_CXX" && break
12424 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
12430 # Provide some information about the compiler.
12431 echo "$as_me:$LINENO:" \
12432 "checking for C++ compiler version" >&5
12433 ac_compiler
=`set X $ac_compile; echo $2`
12434 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12435 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12438 (exit $ac_status); }
12439 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12440 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12443 (exit $ac_status); }
12444 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12445 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12448 (exit $ac_status); }
12450 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12451 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12452 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12453 echo $ECHO_N "(cached) $ECHO_C" >&6
12455 cat >conftest.
$ac_ext <<_ACEOF
12458 cat confdefs.h
>>conftest.
$ac_ext
12459 cat >>conftest.
$ac_ext <<_ACEOF
12460 /* end confdefs.h. */
12473 rm -f conftest.
$ac_objext
12474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12475 (eval $ac_compile) 2>conftest.er1
12477 grep -v '^ *+' conftest.er1
>conftest.err
12479 cat conftest.err
>&5
12480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12481 (exit $ac_status); } &&
12482 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12484 (eval $ac_try) 2>&5
12486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12487 (exit $ac_status); }; } &&
12488 { ac_try
='test -s conftest.$ac_objext'
12489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12490 (eval $ac_try) 2>&5
12492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12493 (exit $ac_status); }; }; then
12494 ac_compiler_gnu
=yes
12496 echo "$as_me: failed program was:" >&5
12497 sed 's/^/| /' conftest.
$ac_ext >&5
12501 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12502 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
12505 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12506 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12507 GXX
=`test $ac_compiler_gnu = yes && echo yes`
12508 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12509 ac_save_CXXFLAGS
=$CXXFLAGS
12511 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12512 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12513 if test "${ac_cv_prog_cxx_g+set}" = set; then
12514 echo $ECHO_N "(cached) $ECHO_C" >&6
12516 cat >conftest.
$ac_ext <<_ACEOF
12519 cat confdefs.h
>>conftest.
$ac_ext
12520 cat >>conftest.
$ac_ext <<_ACEOF
12521 /* end confdefs.h. */
12531 rm -f conftest.
$ac_objext
12532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12533 (eval $ac_compile) 2>conftest.er1
12535 grep -v '^ *+' conftest.er1
>conftest.err
12537 cat conftest.err
>&5
12538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12539 (exit $ac_status); } &&
12540 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12542 (eval $ac_try) 2>&5
12544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12545 (exit $ac_status); }; } &&
12546 { ac_try
='test -s conftest.$ac_objext'
12547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12548 (eval $ac_try) 2>&5
12550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12551 (exit $ac_status); }; }; then
12552 ac_cv_prog_cxx_g
=yes
12554 echo "$as_me: failed program was:" >&5
12555 sed 's/^/| /' conftest.
$ac_ext >&5
12557 ac_cv_prog_cxx_g
=no
12559 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12561 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12562 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12563 if test "$ac_test_CXXFLAGS" = set; then
12564 CXXFLAGS
=$ac_save_CXXFLAGS
12565 elif test $ac_cv_prog_cxx_g = yes; then
12566 if test "$GXX" = yes; then
12572 if test "$GXX" = yes; then
12578 for ac_declaration
in \
12580 'extern "C" void std::exit (int) throw (); using std::exit;' \
12581 'extern "C" void std::exit (int); using std::exit;' \
12582 'extern "C" void exit (int) throw ();' \
12583 'extern "C" void exit (int);' \
12586 cat >conftest.
$ac_ext <<_ACEOF
12589 cat confdefs.h
>>conftest.
$ac_ext
12590 cat >>conftest.
$ac_ext <<_ACEOF
12591 /* end confdefs.h. */
12593 #include <stdlib.h>
12602 rm -f conftest.
$ac_objext
12603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12604 (eval $ac_compile) 2>conftest.er1
12606 grep -v '^ *+' conftest.er1
>conftest.err
12608 cat conftest.err
>&5
12609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12610 (exit $ac_status); } &&
12611 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12613 (eval $ac_try) 2>&5
12615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12616 (exit $ac_status); }; } &&
12617 { ac_try
='test -s conftest.$ac_objext'
12618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12619 (eval $ac_try) 2>&5
12621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12622 (exit $ac_status); }; }; then
12625 echo "$as_me: failed program was:" >&5
12626 sed 's/^/| /' conftest.
$ac_ext >&5
12630 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12631 cat >conftest.
$ac_ext <<_ACEOF
12634 cat confdefs.h
>>conftest.
$ac_ext
12635 cat >>conftest.
$ac_ext <<_ACEOF
12636 /* end confdefs.h. */
12646 rm -f conftest.
$ac_objext
12647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12648 (eval $ac_compile) 2>conftest.er1
12650 grep -v '^ *+' conftest.er1
>conftest.err
12652 cat conftest.err
>&5
12653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12654 (exit $ac_status); } &&
12655 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12657 (eval $ac_try) 2>&5
12659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12660 (exit $ac_status); }; } &&
12661 { ac_try
='test -s conftest.$ac_objext'
12662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12663 (eval $ac_try) 2>&5
12665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12666 (exit $ac_status); }; }; then
12669 echo "$as_me: failed program was:" >&5
12670 sed 's/^/| /' conftest.
$ac_ext >&5
12673 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12676 if test -n "$ac_declaration"; then
12677 echo '#ifdef __cplusplus' >>confdefs.h
12678 echo $ac_declaration >>confdefs.h
12679 echo '#endif' >>confdefs.h
12683 ac_cpp
='$CXXCPP $CPPFLAGS'
12684 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12685 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12686 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12688 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
12689 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
12690 if test "${wx_cv_cxx_exto+set}" = set; then
12691 echo $ECHO_N "(cached) $ECHO_C" >&6
12693 cat >conftest.
$ac_ext <<_ACEOF
12696 cat confdefs.h
>>conftest.
$ac_ext
12697 cat >>conftest.
$ac_ext <<_ACEOF
12698 /* end confdefs.h. */
12708 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12710 (eval $ac_compile) 2>&5
12712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12713 (exit $ac_status); }; then
12714 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12716 conftest.
$ac_ext.o
)
12717 wx_cv_cxx_exto
="-ext o"
12724 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12725 See \`config.log' for more details." >&5
12726 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12727 See \`config.log' for more details." >&2;}
12728 { (exit 1); exit 1; }; }
12732 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12735 echo "$as_me:$LINENO: result: $wx_cv_cxx_exto" >&5
12736 echo "${ECHO_T}$wx_cv_cxx_exto" >&6
12737 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12738 if test "cxx" = "c"; then
12739 CFLAGS
="$wx_cv_cxx_exto $CFLAGS"
12741 if test "cxx" = "cxx"; then
12742 CXXFLAGS
="$wx_cv_cxx_exto $CXXFLAGS"
12746 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12747 unset ac_cv_prog_cxx_g
12748 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12749 ac_save_CXXFLAGS
=$CXXFLAGS
12751 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12752 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12753 if test "${ac_cv_prog_cxx_g+set}" = set; then
12754 echo $ECHO_N "(cached) $ECHO_C" >&6
12756 cat >conftest.
$ac_ext <<_ACEOF
12759 cat confdefs.h
>>conftest.
$ac_ext
12760 cat >>conftest.
$ac_ext <<_ACEOF
12761 /* end confdefs.h. */
12771 rm -f conftest.
$ac_objext
12772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12773 (eval $ac_compile) 2>conftest.er1
12775 grep -v '^ *+' conftest.er1
>conftest.err
12777 cat conftest.err
>&5
12778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12779 (exit $ac_status); } &&
12780 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12782 (eval $ac_try) 2>&5
12784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12785 (exit $ac_status); }; } &&
12786 { ac_try
='test -s conftest.$ac_objext'
12787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12788 (eval $ac_try) 2>&5
12790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12791 (exit $ac_status); }; }; then
12792 ac_cv_prog_cxx_g
=yes
12794 echo "$as_me: failed program was:" >&5
12795 sed 's/^/| /' conftest.
$ac_ext >&5
12797 ac_cv_prog_cxx_g
=no
12799 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12801 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12802 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12803 if test "$ac_test_CXXFLAGS" = set; then
12804 CXXFLAGS
=$ac_save_CXXFLAGS
12805 elif test $ac_cv_prog_cxx_g = yes; then
12806 if test "$GXX" = yes; then
12812 if test "$GXX" = yes; then
12820 ac_cpp
='$CXXCPP $CPPFLAGS'
12821 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12822 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12823 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12825 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12826 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12827 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12828 echo $ECHO_N "(cached) $ECHO_C" >&6
12830 cat >conftest.
$ac_ext <<_ACEOF
12833 cat confdefs.h
>>conftest.
$ac_ext
12834 cat >>conftest.
$ac_ext <<_ACEOF
12835 /* end confdefs.h. */
12848 rm -f conftest.
$ac_objext
12849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12850 (eval $ac_compile) 2>conftest.er1
12852 grep -v '^ *+' conftest.er1
>conftest.err
12854 cat conftest.err
>&5
12855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12856 (exit $ac_status); } &&
12857 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12859 (eval $ac_try) 2>&5
12861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12862 (exit $ac_status); }; } &&
12863 { ac_try
='test -s conftest.$ac_objext'
12864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12865 (eval $ac_try) 2>&5
12867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12868 (exit $ac_status); }; }; then
12869 bakefile_compiler_mwerks
=yes
12871 echo "$as_me: failed program was:" >&5
12872 sed 's/^/| /' conftest.
$ac_ext >&5
12874 bakefile_compiler_mwerks
=no
12876 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12877 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
12880 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12881 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12883 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
12885 ac_cpp
='$CXXCPP $CPPFLAGS'
12886 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12887 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12888 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12892 ac_cpp
='$CXXCPP $CPPFLAGS'
12893 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12894 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12895 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12897 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
12898 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
12899 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
12900 echo $ECHO_N "(cached) $ECHO_C" >&6
12902 cat >conftest.
$ac_ext <<_ACEOF
12905 cat confdefs.h
>>conftest.
$ac_ext
12906 cat >>conftest.
$ac_ext <<_ACEOF
12907 /* end confdefs.h. */
12920 rm -f conftest.
$ac_objext
12921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12922 (eval $ac_compile) 2>conftest.er1
12924 grep -v '^ *+' conftest.er1
>conftest.err
12926 cat conftest.err
>&5
12927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12928 (exit $ac_status); } &&
12929 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12931 (eval $ac_try) 2>&5
12933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12934 (exit $ac_status); }; } &&
12935 { ac_try
='test -s conftest.$ac_objext'
12936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12937 (eval $ac_try) 2>&5
12939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12940 (exit $ac_status); }; }; then
12941 wx_compiler_xlc
=yes
12943 echo "$as_me: failed program was:" >&5
12944 sed 's/^/| /' conftest.
$ac_ext >&5
12948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12949 wx_cv_cxx_compiler_xlc
=$wx_compiler_xlc
12952 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
12953 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
12955 XLCXX
=`test $wx_cv_cxx_compiler_xlc = yes && echo yes`
12957 ac_cpp
='$CXXCPP $CPPFLAGS'
12958 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12959 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12960 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12966 ac_cpp
='$CXXCPP $CPPFLAGS'
12967 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12968 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12969 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12971 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
12972 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
12973 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
12974 echo $ECHO_N "(cached) $ECHO_C" >&6
12976 cat >conftest.
$ac_ext <<_ACEOF
12979 cat confdefs.h
>>conftest.
$ac_ext
12980 cat >>conftest.
$ac_ext <<_ACEOF
12981 /* end confdefs.h. */
12987 #ifndef __SUNPRO_CC
12995 rm -f conftest.
$ac_objext
12996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12997 (eval $ac_compile) 2>conftest.er1
12999 grep -v '^ *+' conftest.er1
>conftest.err
13001 cat conftest.err
>&5
13002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13003 (exit $ac_status); } &&
13004 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13006 (eval $ac_try) 2>&5
13008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13009 (exit $ac_status); }; } &&
13010 { ac_try
='test -s conftest.$ac_objext'
13011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13012 (eval $ac_try) 2>&5
13014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13015 (exit $ac_status); }; }; then
13016 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
13018 echo "$as_me: failed program was:" >&5
13019 sed 's/^/| /' conftest.
$ac_ext >&5
13021 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
13024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13028 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
13029 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
13031 ac_cpp
='$CXXCPP $CPPFLAGS'
13032 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13033 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13034 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13036 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
13046 ac_cpp
='$CPP $CPPFLAGS'
13047 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13048 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13049 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13052 if test -n "$ac_tool_prefix"; then
13053 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
13054 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
13055 echo "$as_me:$LINENO: checking for $ac_word" >&5
13056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13057 if test "${ac_cv_prog_RANLIB+set}" = set; then
13058 echo $ECHO_N "(cached) $ECHO_C" >&6
13060 if test -n "$RANLIB"; then
13061 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
13063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13064 for as_dir
in $PATH
13067 test -z "$as_dir" && as_dir
=.
13068 for ac_exec_ext
in '' $ac_executable_extensions; do
13069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13070 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
13071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13079 RANLIB
=$ac_cv_prog_RANLIB
13080 if test -n "$RANLIB"; then
13081 echo "$as_me:$LINENO: result: $RANLIB" >&5
13082 echo "${ECHO_T}$RANLIB" >&6
13084 echo "$as_me:$LINENO: result: no" >&5
13085 echo "${ECHO_T}no" >&6
13089 if test -z "$ac_cv_prog_RANLIB"; then
13090 ac_ct_RANLIB
=$RANLIB
13091 # Extract the first word of "ranlib", so it can be a program name with args.
13092 set dummy ranlib
; ac_word
=$2
13093 echo "$as_me:$LINENO: checking for $ac_word" >&5
13094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13095 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
13096 echo $ECHO_N "(cached) $ECHO_C" >&6
13098 if test -n "$ac_ct_RANLIB"; then
13099 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
13101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13102 for as_dir
in $PATH
13105 test -z "$as_dir" && as_dir
=.
13106 for ac_exec_ext
in '' $ac_executable_extensions; do
13107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13108 ac_cv_prog_ac_ct_RANLIB
="ranlib"
13109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13115 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
13118 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
13119 if test -n "$ac_ct_RANLIB"; then
13120 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
13121 echo "${ECHO_T}$ac_ct_RANLIB" >&6
13123 echo "$as_me:$LINENO: result: no" >&5
13124 echo "${ECHO_T}no" >&6
13127 RANLIB
=$ac_ct_RANLIB
13129 RANLIB
="$ac_cv_prog_RANLIB"
13133 # Extract the first word of "ar", so it can be a program name with args.
13134 set dummy
ar; ac_word
=$2
13135 echo "$as_me:$LINENO: checking for $ac_word" >&5
13136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13137 if test "${ac_cv_prog_AR+set}" = set; then
13138 echo $ECHO_N "(cached) $ECHO_C" >&6
13140 if test -n "$AR"; then
13141 ac_cv_prog_AR
="$AR" # Let the user override the test.
13143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13144 for as_dir
in $PATH
13147 test -z "$as_dir" && as_dir
=.
13148 for ac_exec_ext
in '' $ac_executable_extensions; do
13149 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13160 if test -n "$AR"; then
13161 echo "$as_me:$LINENO: result: $AR" >&5
13162 echo "${ECHO_T}$AR" >&6
13164 echo "$as_me:$LINENO: result: no" >&5
13165 echo "${ECHO_T}no" >&6
13168 if test "x$AR" = "x" ; then
13169 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
13170 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
13171 { (exit 1); exit 1; }; }
13174 # Find a good install program. We prefer a C program (faster),
13175 # so one script is as good as another. But avoid the broken or
13176 # incompatible versions:
13177 # SysV /etc/install, /usr/sbin/install
13178 # SunOS /usr/etc/install
13179 # IRIX /sbin/install
13181 # AmigaOS /C/install, which installs bootblocks on floppy discs
13182 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
13183 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
13184 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
13185 # OS/2's system install, which has a completely different semantic
13186 # ./install, which can be erroneously created by make from ./install.sh.
13187 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
13188 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
13189 if test -z "$INSTALL"; then
13190 if test "${ac_cv_path_install+set}" = set; then
13191 echo $ECHO_N "(cached) $ECHO_C" >&6
13193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13194 for as_dir
in $PATH
13197 test -z "$as_dir" && as_dir
=.
13198 # Account for people who put trailing slashes in PATH elements.
13200 .
/ | .
// | /cC
/* | \
13201 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
13202 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
13205 # OSF1 and SCO ODT 3.0 have their own names for install.
13206 # Don't use installbsd from OSF since it installs stuff as root
13208 for ac_prog
in ginstall scoinst
install; do
13209 for ac_exec_ext
in '' $ac_executable_extensions; do
13210 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
13211 if test $ac_prog = install &&
13212 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
13213 # AIX install. It has an incompatible calling convention.
13215 elif test $ac_prog = install &&
13216 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
13217 # program-specific install script used by HP pwplus--don't use.
13220 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
13232 if test "${ac_cv_path_install+set}" = set; then
13233 INSTALL
=$ac_cv_path_install
13235 # As a last resort, use the slow shell script. We don't cache a
13236 # path for INSTALL within a source directory, because that will
13237 # break other packages using the cache if that directory is
13238 # removed, or if the path is relative.
13239 INSTALL
=$ac_install_sh
13242 echo "$as_me:$LINENO: result: $INSTALL" >&5
13243 echo "${ECHO_T}$INSTALL" >&6
13245 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
13246 # It thinks the first close brace ends the variable substitution.
13247 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
13249 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
13251 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
13257 ?
:* ) # Drive letter, considered as absolute.
13260 INSTALL
=`pwd`/${INSTALL} ;;
13267 INSTALL_PROGRAM
="cp -fp"
13268 INSTALL_DATA
="cp -fp"
13274 # Extract the first word of "strip", so it can be a program name with args.
13275 set dummy strip
; ac_word
=$2
13276 echo "$as_me:$LINENO: checking for $ac_word" >&5
13277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13278 if test "${ac_cv_prog_STRIP+set}" = set; then
13279 echo $ECHO_N "(cached) $ECHO_C" >&6
13281 if test -n "$STRIP"; then
13282 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
13284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13285 for as_dir
in $PATH
13288 test -z "$as_dir" && as_dir
=.
13289 for ac_exec_ext
in '' $ac_executable_extensions; do
13290 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13291 ac_cv_prog_STRIP
="strip"
13292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13298 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
13301 STRIP
=$ac_cv_prog_STRIP
13302 if test -n "$STRIP"; then
13303 echo "$as_me:$LINENO: result: $STRIP" >&5
13304 echo "${ECHO_T}$STRIP" >&6
13306 echo "$as_me:$LINENO: result: no" >&5
13307 echo "${ECHO_T}no" >&6
13311 echo "$as_me:$LINENO: checking if make is GNU make" >&5
13312 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
13313 if test "${wx_cv_prog_makeisgnu+set}" = set; then
13314 echo $ECHO_N "(cached) $ECHO_C" >&6
13317 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
13318 egrep -s GNU
> /dev
/null
); then
13319 wx_cv_prog_makeisgnu
="yes"
13321 wx_cv_prog_makeisgnu
="no"
13325 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
13326 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
13328 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
13336 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
13337 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
13338 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
13339 if test "${wx_cv_prog_makevpath+set}" = set; then
13340 echo $ECHO_N "(cached) $ECHO_C" >&6
13343 cat - << EOF > confMake
13349 if test ! -d sub
; then
13352 echo dummy
> sub
/file
13353 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
13355 rm -f sub
/file check final_file confMake
13357 if test "$RESULT" = 0; then
13358 wx_cv_prog_makevpath
="yes"
13360 wx_cv_prog_makevpath
="no"
13364 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
13365 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
13367 if test "x$wx_cv_prog_makevpath" != "xyes"; then
13368 { { echo "$as_me:$LINENO: error:
13369 You need a make-utility that is able to use the variable
13371 If your version of make does not support VPATH correctly,
13372 please install GNU-make (possibly as gmake), and start
13373 configure with the following command:
13374 export MAKE=gmake; ./configure for sh-type shells
13375 setenv MAKE gmake; ./configure for csh-type shells
13376 Also please do remember to use gmake in this case every time
13377 you are trying to compile.
13379 echo "$as_me: error:
13380 You need a make-utility that is able to use the variable
13382 If your version of make does not support VPATH correctly,
13383 please install GNU-make (possibly as gmake), and start
13384 configure with the following command:
13385 export MAKE=gmake; ./configure for sh-type shells
13386 setenv MAKE gmake; ./configure for csh-type shells
13387 Also please do remember to use gmake in this case every time
13388 you are trying to compile.
13390 { (exit 1); exit 1; }; }
13392 echo "$as_me:$LINENO: checking whether ln -s works" >&5
13393 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
13395 if test "$LN_S" = "ln -s"; then
13396 echo "$as_me:$LINENO: result: yes" >&5
13397 echo "${ECHO_T}yes" >&6
13399 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13400 echo "${ECHO_T}no, using $LN_S" >&6
13405 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
13406 CXXFLAGS
="$CXXFLAGS -qunique"
13411 powerpc
-*-darwin* )
13412 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
13413 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
13414 cat >conftest.
$ac_ext <<_ACEOF
13417 cat confdefs.h
>>conftest.
$ac_ext
13418 cat >>conftest.
$ac_ext <<_ACEOF
13419 /* end confdefs.h. */
13424 #ifndef __POWERPC__
13425 choke me for lack of PowerPC
13432 rm -f conftest.
$ac_objext
13433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13434 (eval $ac_compile) 2>conftest.er1
13436 grep -v '^ *+' conftest.er1
>conftest.err
13438 cat conftest.err
>&5
13439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13440 (exit $ac_status); } &&
13441 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13443 (eval $ac_try) 2>&5
13445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13446 (exit $ac_status); }; } &&
13447 { ac_try
='test -s conftest.$ac_objext'
13448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13449 (eval $ac_try) 2>&5
13451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13452 (exit $ac_status); }; }; then
13453 echo "$as_me:$LINENO: result: yes" >&5
13454 echo "${ECHO_T}yes" >&6
13456 echo "$as_me: failed program was:" >&5
13457 sed 's/^/| /' conftest.
$ac_ext >&5
13459 echo "$as_me:$LINENO: result: no" >&5
13460 echo "${ECHO_T}no" >&6
13461 cat >>confdefs.h
<<\_ACEOF
13462 #define __POWERPC__ 1
13467 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13473 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
13474 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
13475 cat >conftest.
$ac_ext <<_ACEOF
13478 cat confdefs.h
>>conftest.
$ac_ext
13479 cat >>conftest.
$ac_ext <<_ACEOF
13480 /* end confdefs.h. */
13481 #include <CoreFoundation/CFBase.h>
13491 rm -f conftest.
$ac_objext
13492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13493 (eval $ac_compile) 2>conftest.er1
13495 grep -v '^ *+' conftest.er1
>conftest.err
13497 cat conftest.err
>&5
13498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13499 (exit $ac_status); } &&
13500 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13502 (eval $ac_try) 2>&5
13504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13505 (exit $ac_status); }; } &&
13506 { ac_try
='test -s conftest.$ac_objext'
13507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13508 (eval $ac_try) 2>&5
13510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13511 (exit $ac_status); }; }; then
13512 echo "$as_me:$LINENO: result: yes" >&5
13513 echo "${ECHO_T}yes" >&6
13515 echo "$as_me: failed program was:" >&5
13516 sed 's/^/| /' conftest.
$ac_ext >&5
13518 echo "$as_me:$LINENO: result: no" >&5
13519 echo "${ECHO_T}no" >&6
13520 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
13521 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
13522 cat >conftest.
$ac_ext <<_ACEOF
13525 cat confdefs.h
>>conftest.
$ac_ext
13526 cat >>conftest.
$ac_ext <<_ACEOF
13527 /* end confdefs.h. */
13528 #define __CF_USE_FRAMEWORK_INCLUDES__
13529 #include <CoreFoundation/CFBase.h>
13539 rm -f conftest.
$ac_objext
13540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13541 (eval $ac_compile) 2>conftest.er1
13543 grep -v '^ *+' conftest.er1
>conftest.err
13545 cat conftest.err
>&5
13546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13547 (exit $ac_status); } &&
13548 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13550 (eval $ac_try) 2>&5
13552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13553 (exit $ac_status); }; } &&
13554 { ac_try
='test -s conftest.$ac_objext'
13555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13556 (eval $ac_try) 2>&5
13558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13559 (exit $ac_status); }; }; then
13560 echo "$as_me:$LINENO: result: yes" >&5
13561 echo "${ECHO_T}yes" >&6
13562 CPPFLAGS
="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
13564 echo "$as_me: failed program was:" >&5
13565 sed 's/^/| /' conftest.
$ac_ext >&5
13567 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
13568 See \`config.log' for more details." >&5
13569 echo "$as_me: error: no. CoreFoundation not available.
13570 See \`config.log' for more details." >&2;}
13571 { (exit 1); exit 1; }; }
13574 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13578 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13583 *-pc-os2_emx | *-pc-os2-emx )
13584 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
13585 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
13586 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
13587 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
13588 echo $ECHO_N "(cached) $ECHO_C" >&6
13590 ac_check_lib_save_LIBS
=$LIBS
13591 LIBS
="-lcExt $LIBS"
13592 cat >conftest.
$ac_ext <<_ACEOF
13595 cat confdefs.h
>>conftest.
$ac_ext
13596 cat >>conftest.
$ac_ext <<_ACEOF
13597 /* end confdefs.h. */
13599 /* Override any gcc2 internal prototype to avoid an error. */
13603 /* We use char because int might match the return type of a gcc2
13604 builtin and then its argument prototype would still apply. */
13614 rm -f conftest.
$ac_objext conftest
$ac_exeext
13615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13616 (eval $ac_link) 2>conftest.er1
13618 grep -v '^ *+' conftest.er1
>conftest.err
13620 cat conftest.err
>&5
13621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13622 (exit $ac_status); } &&
13623 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13625 (eval $ac_try) 2>&5
13627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13628 (exit $ac_status); }; } &&
13629 { ac_try
='test -s conftest$ac_exeext'
13630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13631 (eval $ac_try) 2>&5
13633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13634 (exit $ac_status); }; }; then
13635 ac_cv_lib_cExt_drand48
=yes
13637 echo "$as_me: failed program was:" >&5
13638 sed 's/^/| /' conftest.
$ac_ext >&5
13640 ac_cv_lib_cExt_drand48
=no
13642 rm -f conftest.err conftest.
$ac_objext \
13643 conftest
$ac_exeext conftest.
$ac_ext
13644 LIBS
=$ac_check_lib_save_LIBS
13646 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
13647 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
13648 if test $ac_cv_lib_cExt_drand48 = yes; then
13649 LIBS
="$LIBS -lcExt"
13653 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
13655 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
13656 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
13657 if test "${wx_cv_gccversion+set}" = set; then
13658 echo $ECHO_N "(cached) $ECHO_C" >&6
13661 if test "$cross_compiling" = yes; then
13662 wx_cv_gccversion
="EMX2"
13665 cat >conftest.
$ac_ext <<_ACEOF
13668 cat confdefs.h
>>conftest.
$ac_ext
13669 cat >>conftest.
$ac_ext <<_ACEOF
13670 /* end confdefs.h. */
13676 FILE *f=fopen("conftestval", "w");
13681 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
13683 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
13693 rm -f conftest
$ac_exeext
13694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13695 (eval $ac_link) 2>&5
13697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13698 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13700 (eval $ac_try) 2>&5
13702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13703 (exit $ac_status); }; }; then
13704 wx_cv_gccversion
=`cat conftestval`
13706 echo "$as_me: program exited with status $ac_status" >&5
13707 echo "$as_me: failed program was:" >&5
13708 sed 's/^/| /' conftest.
$ac_ext >&5
13710 ( exit $ac_status )
13711 wx_cv_gccversion
="EMX2"
13713 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13717 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
13718 echo "${ECHO_T}$wx_cv_gccversion" >&6
13719 if test "$wx_cv_gccversion" = "EMX2"; then
13720 LIBS
="$LIBS -lstdcpp"
13721 LDFLAGS
="$LDFLAGS -Zsysv-signals"
13723 if test "$wx_cv_gccversion" = "EMX3"; then
13724 LIBS
="$LIBS -lstdcxx -lgcc"
13725 LDFLAGS
="$LDFLAGS -Zsysv-signals"
13727 LIBS
="$LIBS -lstdc++"
13730 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
13731 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
13732 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
13742 ac_cpp
='$CXXCPP $CPPFLAGS'
13743 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13744 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13745 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13748 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
13749 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
13750 if test "${ac_cv_string_strcasecmp+set}" = set; then
13751 echo $ECHO_N "(cached) $ECHO_C" >&6
13754 cat >conftest.
$ac_ext <<_ACEOF
13757 cat confdefs.h
>>conftest.
$ac_ext
13758 cat >>conftest.
$ac_ext <<_ACEOF
13759 /* end confdefs.h. */
13761 #include <string.h>
13767 strcasecmp("foo", "bar");
13773 rm -f conftest.
$ac_objext conftest
$ac_exeext
13774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13775 (eval $ac_link) 2>conftest.er1
13777 grep -v '^ *+' conftest.er1
>conftest.err
13779 cat conftest.err
>&5
13780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13781 (exit $ac_status); } &&
13782 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13784 (eval $ac_try) 2>&5
13786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13787 (exit $ac_status); }; } &&
13788 { ac_try
='test -s conftest$ac_exeext'
13789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13790 (eval $ac_try) 2>&5
13792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13793 (exit $ac_status); }; }; then
13794 ac_cv_string_strcasecmp
=yes
13796 echo "$as_me: failed program was:" >&5
13797 sed 's/^/| /' conftest.
$ac_ext >&5
13799 ac_cv_string_strcasecmp
=no
13802 rm -f conftest.err conftest.
$ac_objext \
13803 conftest
$ac_exeext conftest.
$ac_ext
13806 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
13807 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
13809 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
13810 cat >>confdefs.h
<<\_ACEOF
13811 #define HAVE_STRCASECMP_IN_STRING_H 1
13815 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
13816 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
13817 if test "${ac_cv_strings_strcasecmp+set}" = set; then
13818 echo $ECHO_N "(cached) $ECHO_C" >&6
13821 cat >conftest.
$ac_ext <<_ACEOF
13824 cat confdefs.h
>>conftest.
$ac_ext
13825 cat >>conftest.
$ac_ext <<_ACEOF
13826 /* end confdefs.h. */
13828 #include <strings.h>
13834 strcasecmp("foo", "bar");
13840 rm -f conftest.
$ac_objext conftest
$ac_exeext
13841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13842 (eval $ac_link) 2>conftest.er1
13844 grep -v '^ *+' conftest.er1
>conftest.err
13846 cat conftest.err
>&5
13847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13848 (exit $ac_status); } &&
13849 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13851 (eval $ac_try) 2>&5
13853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13854 (exit $ac_status); }; } &&
13855 { ac_try
='test -s conftest$ac_exeext'
13856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13857 (eval $ac_try) 2>&5
13859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13860 (exit $ac_status); }; }; then
13861 ac_cv_strings_strcasecmp
=yes
13863 echo "$as_me: failed program was:" >&5
13864 sed 's/^/| /' conftest.
$ac_ext >&5
13866 ac_cv_strings_strcasecmp
=no
13869 rm -f conftest.err conftest.
$ac_objext \
13870 conftest
$ac_exeext conftest.
$ac_ext
13873 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
13874 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
13876 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
13877 cat >>confdefs.h
<<\_ACEOF
13878 #define HAVE_STRCASECMP_IN_STRINGS_H 1
13882 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
13883 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
13884 { (exit 1); exit 1; }; }
13889 ac_cpp
='$CPP $CPPFLAGS'
13890 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13891 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13892 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13898 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13899 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13900 if test "${ac_cv_header_stdc+set}" = set; then
13901 echo $ECHO_N "(cached) $ECHO_C" >&6
13903 cat >conftest.
$ac_ext <<_ACEOF
13906 cat confdefs.h
>>conftest.
$ac_ext
13907 cat >>conftest.
$ac_ext <<_ACEOF
13908 /* end confdefs.h. */
13909 #include <stdlib.h>
13910 #include <stdarg.h>
13911 #include <string.h>
13922 rm -f conftest.
$ac_objext
13923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13924 (eval $ac_compile) 2>conftest.er1
13926 grep -v '^ *+' conftest.er1
>conftest.err
13928 cat conftest.err
>&5
13929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13930 (exit $ac_status); } &&
13931 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13933 (eval $ac_try) 2>&5
13935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13936 (exit $ac_status); }; } &&
13937 { ac_try
='test -s conftest.$ac_objext'
13938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13939 (eval $ac_try) 2>&5
13941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13942 (exit $ac_status); }; }; then
13943 ac_cv_header_stdc
=yes
13945 echo "$as_me: failed program was:" >&5
13946 sed 's/^/| /' conftest.
$ac_ext >&5
13948 ac_cv_header_stdc
=no
13950 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13952 if test $ac_cv_header_stdc = yes; then
13953 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13954 cat >conftest.
$ac_ext <<_ACEOF
13957 cat confdefs.h
>>conftest.
$ac_ext
13958 cat >>conftest.
$ac_ext <<_ACEOF
13959 /* end confdefs.h. */
13960 #include <string.h>
13963 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13964 $EGREP "memchr" >/dev
/null
2>&1; then
13967 ac_cv_header_stdc
=no
13973 if test $ac_cv_header_stdc = yes; then
13974 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13975 cat >conftest.
$ac_ext <<_ACEOF
13978 cat confdefs.h
>>conftest.
$ac_ext
13979 cat >>conftest.
$ac_ext <<_ACEOF
13980 /* end confdefs.h. */
13981 #include <stdlib.h>
13984 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13985 $EGREP "free" >/dev
/null
2>&1; then
13988 ac_cv_header_stdc
=no
13994 if test $ac_cv_header_stdc = yes; then
13995 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13996 if test "$cross_compiling" = yes; then
13999 cat >conftest.
$ac_ext <<_ACEOF
14002 cat confdefs.h
>>conftest.
$ac_ext
14003 cat >>conftest.
$ac_ext <<_ACEOF
14004 /* end confdefs.h. */
14006 #if ((' ' & 0x0FF) == 0x020)
14007 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14008 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14010 # define ISLOWER(c) \
14011 (('a' <= (c) && (c) <= 'i') \
14012 || ('j' <= (c) && (c) <= 'r') \
14013 || ('s' <= (c) && (c) <= 'z'))
14014 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14017 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14022 for (i = 0; i < 256; i++)
14023 if (XOR (islower (i), ISLOWER (i))
14024 || toupper (i) != TOUPPER (i))
14029 rm -f conftest
$ac_exeext
14030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14031 (eval $ac_link) 2>&5
14033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14034 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14036 (eval $ac_try) 2>&5
14038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14039 (exit $ac_status); }; }; then
14042 echo "$as_me: program exited with status $ac_status" >&5
14043 echo "$as_me: failed program was:" >&5
14044 sed 's/^/| /' conftest.
$ac_ext >&5
14046 ( exit $ac_status )
14047 ac_cv_header_stdc
=no
14049 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14053 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14054 echo "${ECHO_T}$ac_cv_header_stdc" >&6
14055 if test $ac_cv_header_stdc = yes; then
14057 cat >>confdefs.h
<<\_ACEOF
14058 #define STDC_HEADERS 1
14063 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
14073 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
14074 inttypes.h stdint.h unistd.h
14076 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14077 echo "$as_me:$LINENO: checking for $ac_header" >&5
14078 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14079 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14080 echo $ECHO_N "(cached) $ECHO_C" >&6
14082 cat >conftest.
$ac_ext <<_ACEOF
14085 cat confdefs.h
>>conftest.
$ac_ext
14086 cat >>conftest.
$ac_ext <<_ACEOF
14087 /* end confdefs.h. */
14088 $ac_includes_default
14090 #include <$ac_header>
14092 rm -f conftest.
$ac_objext
14093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14094 (eval $ac_compile) 2>conftest.er1
14096 grep -v '^ *+' conftest.er1
>conftest.err
14098 cat conftest.err
>&5
14099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14100 (exit $ac_status); } &&
14101 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14103 (eval $ac_try) 2>&5
14105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14106 (exit $ac_status); }; } &&
14107 { ac_try
='test -s conftest.$ac_objext'
14108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14109 (eval $ac_try) 2>&5
14111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14112 (exit $ac_status); }; }; then
14113 eval "$as_ac_Header=yes"
14115 echo "$as_me: failed program was:" >&5
14116 sed 's/^/| /' conftest.
$ac_ext >&5
14118 eval "$as_ac_Header=no"
14120 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14123 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14124 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14125 cat >>confdefs.h
<<_ACEOF
14126 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14135 for ac_header
in stdlib.h
14137 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14138 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14139 echo "$as_me:$LINENO: checking for $ac_header" >&5
14140 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14141 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14142 echo $ECHO_N "(cached) $ECHO_C" >&6
14144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14145 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14147 # Is the header compilable?
14148 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14149 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14150 cat >conftest.
$ac_ext <<_ACEOF
14153 cat confdefs.h
>>conftest.
$ac_ext
14154 cat >>conftest.
$ac_ext <<_ACEOF
14155 /* end confdefs.h. */
14156 $ac_includes_default
14157 #include <$ac_header>
14159 rm -f conftest.
$ac_objext
14160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14161 (eval $ac_compile) 2>conftest.er1
14163 grep -v '^ *+' conftest.er1
>conftest.err
14165 cat conftest.err
>&5
14166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14167 (exit $ac_status); } &&
14168 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14170 (eval $ac_try) 2>&5
14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); }; } &&
14174 { ac_try
='test -s conftest.$ac_objext'
14175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14176 (eval $ac_try) 2>&5
14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179 (exit $ac_status); }; }; then
14180 ac_header_compiler
=yes
14182 echo "$as_me: failed program was:" >&5
14183 sed 's/^/| /' conftest.
$ac_ext >&5
14185 ac_header_compiler
=no
14187 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14188 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14189 echo "${ECHO_T}$ac_header_compiler" >&6
14191 # Is the header present?
14192 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14193 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14194 cat >conftest.
$ac_ext <<_ACEOF
14197 cat confdefs.h
>>conftest.
$ac_ext
14198 cat >>conftest.
$ac_ext <<_ACEOF
14199 /* end confdefs.h. */
14200 #include <$ac_header>
14202 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14203 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14205 grep -v '^ *+' conftest.er1
>conftest.err
14207 cat conftest.err
>&5
14208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14209 (exit $ac_status); } >/dev
/null
; then
14210 if test -s conftest.err
; then
14211 ac_cpp_err
=$ac_c_preproc_warn_flag
14212 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14219 if test -z "$ac_cpp_err"; then
14220 ac_header_preproc
=yes
14222 echo "$as_me: failed program was:" >&5
14223 sed 's/^/| /' conftest.
$ac_ext >&5
14225 ac_header_preproc
=no
14227 rm -f conftest.err conftest.
$ac_ext
14228 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14229 echo "${ECHO_T}$ac_header_preproc" >&6
14231 # So? What about this header?
14232 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14234 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14235 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14236 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14237 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14238 ac_header_preproc
=yes
14241 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14242 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14243 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14244 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14245 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14246 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14247 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14248 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14249 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14250 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14251 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14252 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14255 ## ----------------------------------------- ##
14256 ## Report this to wx-dev@lists.wxwidgets.org ##
14257 ## ----------------------------------------- ##
14260 sed "s/^/$as_me: WARNING: /" >&2
14263 echo "$as_me:$LINENO: checking for $ac_header" >&5
14264 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14265 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14266 echo $ECHO_N "(cached) $ECHO_C" >&6
14268 eval "$as_ac_Header=\$ac_header_preproc"
14270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14271 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14274 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14275 cat >>confdefs.h
<<_ACEOF
14276 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14284 for ac_header
in malloc.h
14286 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14287 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14288 echo "$as_me:$LINENO: checking for $ac_header" >&5
14289 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14290 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14291 echo $ECHO_N "(cached) $ECHO_C" >&6
14293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14294 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14296 # Is the header compilable?
14297 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14298 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14299 cat >conftest.
$ac_ext <<_ACEOF
14302 cat confdefs.h
>>conftest.
$ac_ext
14303 cat >>conftest.
$ac_ext <<_ACEOF
14304 /* end confdefs.h. */
14305 $ac_includes_default
14306 #include <$ac_header>
14308 rm -f conftest.
$ac_objext
14309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14310 (eval $ac_compile) 2>conftest.er1
14312 grep -v '^ *+' conftest.er1
>conftest.err
14314 cat conftest.err
>&5
14315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14316 (exit $ac_status); } &&
14317 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14319 (eval $ac_try) 2>&5
14321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14322 (exit $ac_status); }; } &&
14323 { ac_try
='test -s conftest.$ac_objext'
14324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14325 (eval $ac_try) 2>&5
14327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14328 (exit $ac_status); }; }; then
14329 ac_header_compiler
=yes
14331 echo "$as_me: failed program was:" >&5
14332 sed 's/^/| /' conftest.
$ac_ext >&5
14334 ac_header_compiler
=no
14336 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14337 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14338 echo "${ECHO_T}$ac_header_compiler" >&6
14340 # Is the header present?
14341 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14342 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14343 cat >conftest.
$ac_ext <<_ACEOF
14346 cat confdefs.h
>>conftest.
$ac_ext
14347 cat >>conftest.
$ac_ext <<_ACEOF
14348 /* end confdefs.h. */
14349 #include <$ac_header>
14351 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14352 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14354 grep -v '^ *+' conftest.er1
>conftest.err
14356 cat conftest.err
>&5
14357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14358 (exit $ac_status); } >/dev
/null
; then
14359 if test -s conftest.err
; then
14360 ac_cpp_err
=$ac_c_preproc_warn_flag
14361 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14368 if test -z "$ac_cpp_err"; then
14369 ac_header_preproc
=yes
14371 echo "$as_me: failed program was:" >&5
14372 sed 's/^/| /' conftest.
$ac_ext >&5
14374 ac_header_preproc
=no
14376 rm -f conftest.err conftest.
$ac_ext
14377 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14378 echo "${ECHO_T}$ac_header_preproc" >&6
14380 # So? What about this header?
14381 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14383 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14384 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14385 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14386 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14387 ac_header_preproc
=yes
14390 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14391 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14392 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14393 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14394 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14395 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14396 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14397 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14398 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14399 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14400 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14401 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14404 ## ----------------------------------------- ##
14405 ## Report this to wx-dev@lists.wxwidgets.org ##
14406 ## ----------------------------------------- ##
14409 sed "s/^/$as_me: WARNING: /" >&2
14412 echo "$as_me:$LINENO: checking for $ac_header" >&5
14413 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14414 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14415 echo $ECHO_N "(cached) $ECHO_C" >&6
14417 eval "$as_ac_Header=\$ac_header_preproc"
14419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14420 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14423 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14424 cat >>confdefs.h
<<_ACEOF
14425 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14433 for ac_header
in unistd.h
14435 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14436 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14437 echo "$as_me:$LINENO: checking for $ac_header" >&5
14438 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14439 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14440 echo $ECHO_N "(cached) $ECHO_C" >&6
14442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14443 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14445 # Is the header compilable?
14446 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14447 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14448 cat >conftest.
$ac_ext <<_ACEOF
14451 cat confdefs.h
>>conftest.
$ac_ext
14452 cat >>conftest.
$ac_ext <<_ACEOF
14453 /* end confdefs.h. */
14454 $ac_includes_default
14455 #include <$ac_header>
14457 rm -f conftest.
$ac_objext
14458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14459 (eval $ac_compile) 2>conftest.er1
14461 grep -v '^ *+' conftest.er1
>conftest.err
14463 cat conftest.err
>&5
14464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14465 (exit $ac_status); } &&
14466 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14468 (eval $ac_try) 2>&5
14470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14471 (exit $ac_status); }; } &&
14472 { ac_try
='test -s conftest.$ac_objext'
14473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14474 (eval $ac_try) 2>&5
14476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14477 (exit $ac_status); }; }; then
14478 ac_header_compiler
=yes
14480 echo "$as_me: failed program was:" >&5
14481 sed 's/^/| /' conftest.
$ac_ext >&5
14483 ac_header_compiler
=no
14485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14486 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14487 echo "${ECHO_T}$ac_header_compiler" >&6
14489 # Is the header present?
14490 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14491 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14492 cat >conftest.
$ac_ext <<_ACEOF
14495 cat confdefs.h
>>conftest.
$ac_ext
14496 cat >>conftest.
$ac_ext <<_ACEOF
14497 /* end confdefs.h. */
14498 #include <$ac_header>
14500 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14501 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14503 grep -v '^ *+' conftest.er1
>conftest.err
14505 cat conftest.err
>&5
14506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14507 (exit $ac_status); } >/dev
/null
; then
14508 if test -s conftest.err
; then
14509 ac_cpp_err
=$ac_c_preproc_warn_flag
14510 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14517 if test -z "$ac_cpp_err"; then
14518 ac_header_preproc
=yes
14520 echo "$as_me: failed program was:" >&5
14521 sed 's/^/| /' conftest.
$ac_ext >&5
14523 ac_header_preproc
=no
14525 rm -f conftest.err conftest.
$ac_ext
14526 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14527 echo "${ECHO_T}$ac_header_preproc" >&6
14529 # So? What about this header?
14530 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14532 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14533 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14534 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14535 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14536 ac_header_preproc
=yes
14539 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14540 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14541 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14542 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14543 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14544 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14545 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14546 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14547 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14548 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14549 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14550 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14553 ## ----------------------------------------- ##
14554 ## Report this to wx-dev@lists.wxwidgets.org ##
14555 ## ----------------------------------------- ##
14558 sed "s/^/$as_me: WARNING: /" >&2
14561 echo "$as_me:$LINENO: checking for $ac_header" >&5
14562 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14563 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14564 echo $ECHO_N "(cached) $ECHO_C" >&6
14566 eval "$as_ac_Header=\$ac_header_preproc"
14568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14569 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14572 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14573 cat >>confdefs.h
<<_ACEOF
14574 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14582 for ac_header
in wchar.h
14584 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14585 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14586 echo "$as_me:$LINENO: checking for $ac_header" >&5
14587 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14588 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14589 echo $ECHO_N "(cached) $ECHO_C" >&6
14591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14592 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14594 # Is the header compilable?
14595 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14596 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14597 cat >conftest.
$ac_ext <<_ACEOF
14600 cat confdefs.h
>>conftest.
$ac_ext
14601 cat >>conftest.
$ac_ext <<_ACEOF
14602 /* end confdefs.h. */
14603 $ac_includes_default
14604 #include <$ac_header>
14606 rm -f conftest.
$ac_objext
14607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14608 (eval $ac_compile) 2>conftest.er1
14610 grep -v '^ *+' conftest.er1
>conftest.err
14612 cat conftest.err
>&5
14613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14614 (exit $ac_status); } &&
14615 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14617 (eval $ac_try) 2>&5
14619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14620 (exit $ac_status); }; } &&
14621 { ac_try
='test -s conftest.$ac_objext'
14622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14623 (eval $ac_try) 2>&5
14625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14626 (exit $ac_status); }; }; then
14627 ac_header_compiler
=yes
14629 echo "$as_me: failed program was:" >&5
14630 sed 's/^/| /' conftest.
$ac_ext >&5
14632 ac_header_compiler
=no
14634 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14635 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14636 echo "${ECHO_T}$ac_header_compiler" >&6
14638 # Is the header present?
14639 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14640 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14641 cat >conftest.
$ac_ext <<_ACEOF
14644 cat confdefs.h
>>conftest.
$ac_ext
14645 cat >>conftest.
$ac_ext <<_ACEOF
14646 /* end confdefs.h. */
14647 #include <$ac_header>
14649 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14650 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14652 grep -v '^ *+' conftest.er1
>conftest.err
14654 cat conftest.err
>&5
14655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14656 (exit $ac_status); } >/dev
/null
; then
14657 if test -s conftest.err
; then
14658 ac_cpp_err
=$ac_c_preproc_warn_flag
14659 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14666 if test -z "$ac_cpp_err"; then
14667 ac_header_preproc
=yes
14669 echo "$as_me: failed program was:" >&5
14670 sed 's/^/| /' conftest.
$ac_ext >&5
14672 ac_header_preproc
=no
14674 rm -f conftest.err conftest.
$ac_ext
14675 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14676 echo "${ECHO_T}$ac_header_preproc" >&6
14678 # So? What about this header?
14679 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14681 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14682 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14683 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14684 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14685 ac_header_preproc
=yes
14688 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14689 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14690 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14691 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14692 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14693 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14694 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14695 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14696 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14697 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14698 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14699 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14702 ## ----------------------------------------- ##
14703 ## Report this to wx-dev@lists.wxwidgets.org ##
14704 ## ----------------------------------------- ##
14707 sed "s/^/$as_me: WARNING: /" >&2
14710 echo "$as_me:$LINENO: checking for $ac_header" >&5
14711 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14712 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14713 echo $ECHO_N "(cached) $ECHO_C" >&6
14715 eval "$as_ac_Header=\$ac_header_preproc"
14717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14718 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14721 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14722 cat >>confdefs.h
<<_ACEOF
14723 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14731 if test "$ac_cv_header_wchar_h" != "yes"; then
14733 for ac_header
in wcstr.h
14735 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14736 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14737 echo "$as_me:$LINENO: checking for $ac_header" >&5
14738 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14739 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14740 echo $ECHO_N "(cached) $ECHO_C" >&6
14742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14743 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14745 # Is the header compilable?
14746 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14747 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14748 cat >conftest.
$ac_ext <<_ACEOF
14751 cat confdefs.h
>>conftest.
$ac_ext
14752 cat >>conftest.
$ac_ext <<_ACEOF
14753 /* end confdefs.h. */
14754 $ac_includes_default
14755 #include <$ac_header>
14757 rm -f conftest.
$ac_objext
14758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14759 (eval $ac_compile) 2>conftest.er1
14761 grep -v '^ *+' conftest.er1
>conftest.err
14763 cat conftest.err
>&5
14764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14765 (exit $ac_status); } &&
14766 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14768 (eval $ac_try) 2>&5
14770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14771 (exit $ac_status); }; } &&
14772 { ac_try
='test -s conftest.$ac_objext'
14773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14774 (eval $ac_try) 2>&5
14776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14777 (exit $ac_status); }; }; then
14778 ac_header_compiler
=yes
14780 echo "$as_me: failed program was:" >&5
14781 sed 's/^/| /' conftest.
$ac_ext >&5
14783 ac_header_compiler
=no
14785 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14786 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14787 echo "${ECHO_T}$ac_header_compiler" >&6
14789 # Is the header present?
14790 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14791 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14792 cat >conftest.
$ac_ext <<_ACEOF
14795 cat confdefs.h
>>conftest.
$ac_ext
14796 cat >>conftest.
$ac_ext <<_ACEOF
14797 /* end confdefs.h. */
14798 #include <$ac_header>
14800 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14801 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14803 grep -v '^ *+' conftest.er1
>conftest.err
14805 cat conftest.err
>&5
14806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14807 (exit $ac_status); } >/dev
/null
; then
14808 if test -s conftest.err
; then
14809 ac_cpp_err
=$ac_c_preproc_warn_flag
14810 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14817 if test -z "$ac_cpp_err"; then
14818 ac_header_preproc
=yes
14820 echo "$as_me: failed program was:" >&5
14821 sed 's/^/| /' conftest.
$ac_ext >&5
14823 ac_header_preproc
=no
14825 rm -f conftest.err conftest.
$ac_ext
14826 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14827 echo "${ECHO_T}$ac_header_preproc" >&6
14829 # So? What about this header?
14830 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14832 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14833 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14834 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14835 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14836 ac_header_preproc
=yes
14839 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14840 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14841 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14842 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14843 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14844 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14845 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14846 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14847 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14848 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14849 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14850 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14853 ## ----------------------------------------- ##
14854 ## Report this to wx-dev@lists.wxwidgets.org ##
14855 ## ----------------------------------------- ##
14858 sed "s/^/$as_me: WARNING: /" >&2
14861 echo "$as_me:$LINENO: checking for $ac_header" >&5
14862 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14863 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14864 echo $ECHO_N "(cached) $ECHO_C" >&6
14866 eval "$as_ac_Header=\$ac_header_preproc"
14868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14869 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14872 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14873 cat >>confdefs.h
<<_ACEOF
14874 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14884 for ac_header
in fnmatch.h
14886 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14887 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14888 echo "$as_me:$LINENO: checking for $ac_header" >&5
14889 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14890 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14891 echo $ECHO_N "(cached) $ECHO_C" >&6
14893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14894 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14896 # Is the header compilable?
14897 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14898 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14899 cat >conftest.
$ac_ext <<_ACEOF
14902 cat confdefs.h
>>conftest.
$ac_ext
14903 cat >>conftest.
$ac_ext <<_ACEOF
14904 /* end confdefs.h. */
14905 $ac_includes_default
14906 #include <$ac_header>
14908 rm -f conftest.
$ac_objext
14909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14910 (eval $ac_compile) 2>conftest.er1
14912 grep -v '^ *+' conftest.er1
>conftest.err
14914 cat conftest.err
>&5
14915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14916 (exit $ac_status); } &&
14917 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14919 (eval $ac_try) 2>&5
14921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14922 (exit $ac_status); }; } &&
14923 { ac_try
='test -s conftest.$ac_objext'
14924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14925 (eval $ac_try) 2>&5
14927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14928 (exit $ac_status); }; }; then
14929 ac_header_compiler
=yes
14931 echo "$as_me: failed program was:" >&5
14932 sed 's/^/| /' conftest.
$ac_ext >&5
14934 ac_header_compiler
=no
14936 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14937 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14938 echo "${ECHO_T}$ac_header_compiler" >&6
14940 # Is the header present?
14941 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14942 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14943 cat >conftest.
$ac_ext <<_ACEOF
14946 cat confdefs.h
>>conftest.
$ac_ext
14947 cat >>conftest.
$ac_ext <<_ACEOF
14948 /* end confdefs.h. */
14949 #include <$ac_header>
14951 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14952 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14954 grep -v '^ *+' conftest.er1
>conftest.err
14956 cat conftest.err
>&5
14957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14958 (exit $ac_status); } >/dev
/null
; then
14959 if test -s conftest.err
; then
14960 ac_cpp_err
=$ac_c_preproc_warn_flag
14961 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14968 if test -z "$ac_cpp_err"; then
14969 ac_header_preproc
=yes
14971 echo "$as_me: failed program was:" >&5
14972 sed 's/^/| /' conftest.
$ac_ext >&5
14974 ac_header_preproc
=no
14976 rm -f conftest.err conftest.
$ac_ext
14977 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14978 echo "${ECHO_T}$ac_header_preproc" >&6
14980 # So? What about this header?
14981 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14983 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14984 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14985 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14986 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14987 ac_header_preproc
=yes
14990 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14991 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14992 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14993 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14994 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14995 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14996 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14997 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14998 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14999 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15000 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15001 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15004 ## ----------------------------------------- ##
15005 ## Report this to wx-dev@lists.wxwidgets.org ##
15006 ## ----------------------------------------- ##
15009 sed "s/^/$as_me: WARNING: /" >&2
15012 echo "$as_me:$LINENO: checking for $ac_header" >&5
15013 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15014 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15015 echo $ECHO_N "(cached) $ECHO_C" >&6
15017 eval "$as_ac_Header=\$ac_header_preproc"
15019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15020 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15023 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15024 cat >>confdefs.h
<<_ACEOF
15025 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15034 for ac_header
in langinfo.h
15036 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15037 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15038 echo "$as_me:$LINENO: checking for $ac_header" >&5
15039 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15040 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15041 echo $ECHO_N "(cached) $ECHO_C" >&6
15043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15044 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15046 # Is the header compilable?
15047 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15048 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15049 cat >conftest.
$ac_ext <<_ACEOF
15052 cat confdefs.h
>>conftest.
$ac_ext
15053 cat >>conftest.
$ac_ext <<_ACEOF
15054 /* end confdefs.h. */
15055 $ac_includes_default
15056 #include <$ac_header>
15058 rm -f conftest.
$ac_objext
15059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15060 (eval $ac_compile) 2>conftest.er1
15062 grep -v '^ *+' conftest.er1
>conftest.err
15064 cat conftest.err
>&5
15065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15066 (exit $ac_status); } &&
15067 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15069 (eval $ac_try) 2>&5
15071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15072 (exit $ac_status); }; } &&
15073 { ac_try
='test -s conftest.$ac_objext'
15074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15075 (eval $ac_try) 2>&5
15077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15078 (exit $ac_status); }; }; then
15079 ac_header_compiler
=yes
15081 echo "$as_me: failed program was:" >&5
15082 sed 's/^/| /' conftest.
$ac_ext >&5
15084 ac_header_compiler
=no
15086 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15087 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15088 echo "${ECHO_T}$ac_header_compiler" >&6
15090 # Is the header present?
15091 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15092 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15093 cat >conftest.
$ac_ext <<_ACEOF
15096 cat confdefs.h
>>conftest.
$ac_ext
15097 cat >>conftest.
$ac_ext <<_ACEOF
15098 /* end confdefs.h. */
15099 #include <$ac_header>
15101 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15102 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15104 grep -v '^ *+' conftest.er1
>conftest.err
15106 cat conftest.err
>&5
15107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15108 (exit $ac_status); } >/dev
/null
; then
15109 if test -s conftest.err
; then
15110 ac_cpp_err
=$ac_c_preproc_warn_flag
15111 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15118 if test -z "$ac_cpp_err"; then
15119 ac_header_preproc
=yes
15121 echo "$as_me: failed program was:" >&5
15122 sed 's/^/| /' conftest.
$ac_ext >&5
15124 ac_header_preproc
=no
15126 rm -f conftest.err conftest.
$ac_ext
15127 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15128 echo "${ECHO_T}$ac_header_preproc" >&6
15130 # So? What about this header?
15131 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15133 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15134 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15135 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15136 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15137 ac_header_preproc
=yes
15140 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15141 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15142 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15143 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15144 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15145 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15146 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15147 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15148 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15149 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15150 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15151 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15154 ## ----------------------------------------- ##
15155 ## Report this to wx-dev@lists.wxwidgets.org ##
15156 ## ----------------------------------------- ##
15159 sed "s/^/$as_me: WARNING: /" >&2
15162 echo "$as_me:$LINENO: checking for $ac_header" >&5
15163 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15165 echo $ECHO_N "(cached) $ECHO_C" >&6
15167 eval "$as_ac_Header=\$ac_header_preproc"
15169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15170 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15173 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15174 cat >>confdefs.h
<<_ACEOF
15175 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15184 *-pc-os2_emx | *-pc-os2-emx )
15185 if test $ac_cv_header_langinfo_h = "yes" \
15186 -a \
( "$wx_cv_gccversion" = "EMX2" \
15187 -o "$wx_cv_gccversion" = "EMX3" \
15188 -o "$wx_cv_gccversion" = "Innotek5" \
); then
15189 LIBS
="$LIBS -lintl"
15195 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15196 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15197 if test "${ac_cv_c_const+set}" = set; then
15198 echo $ECHO_N "(cached) $ECHO_C" >&6
15200 cat >conftest.
$ac_ext <<_ACEOF
15203 cat confdefs.h
>>conftest.
$ac_ext
15204 cat >>conftest.
$ac_ext <<_ACEOF
15205 /* end confdefs.h. */
15210 /* FIXME: Include the comments suggested by Paul. */
15211 #ifndef __cplusplus
15212 /* Ultrix mips cc rejects this. */
15213 typedef int charset[2];
15215 /* SunOS 4.1.1 cc rejects this. */
15216 char const *const *ccp;
15218 /* NEC SVR4.0.2 mips cc rejects this. */
15219 struct point {int x, y;};
15220 static struct point const zero = {0,0};
15221 /* AIX XL C 1.02.0.0 rejects this.
15222 It does not let you subtract one const X* pointer from another in
15223 an arm of an if-expression whose if-part is not a constant
15225 const char *g = "string";
15226 ccp = &g + (g ? g-g : 0);
15227 /* HPUX 7.0 cc rejects these. */
15230 ccp = (char const *const *) p;
15231 { /* SCO 3.2v4 cc rejects this. */
15233 char const *s = 0 ? (char *) 0 : (char const *) 0;
15237 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15238 int x[] = {25, 17};
15239 const int *foo = &x[0];
15242 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15243 typedef const int *iptr;
15247 { /* AIX XL C 1.02.0.0 rejects this saying
15248 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15249 struct s { int j; const int *ap[3]; };
15250 struct s *b; b->j = 5;
15252 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15253 const int foo = 10;
15261 rm -f conftest.
$ac_objext
15262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15263 (eval $ac_compile) 2>conftest.er1
15265 grep -v '^ *+' conftest.er1
>conftest.err
15267 cat conftest.err
>&5
15268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15269 (exit $ac_status); } &&
15270 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15272 (eval $ac_try) 2>&5
15274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15275 (exit $ac_status); }; } &&
15276 { ac_try
='test -s conftest.$ac_objext'
15277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15278 (eval $ac_try) 2>&5
15280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15281 (exit $ac_status); }; }; then
15284 echo "$as_me: failed program was:" >&5
15285 sed 's/^/| /' conftest.
$ac_ext >&5
15289 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15291 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15292 echo "${ECHO_T}$ac_cv_c_const" >&6
15293 if test $ac_cv_c_const = no
; then
15295 cat >>confdefs.h
<<\_ACEOF
15301 echo "$as_me:$LINENO: checking for inline" >&5
15302 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15303 if test "${ac_cv_c_inline+set}" = set; then
15304 echo $ECHO_N "(cached) $ECHO_C" >&6
15307 for ac_kw
in inline __inline__ __inline
; do
15308 cat >conftest.
$ac_ext <<_ACEOF
15311 cat confdefs.h
>>conftest.
$ac_ext
15312 cat >>conftest.
$ac_ext <<_ACEOF
15313 /* end confdefs.h. */
15314 #ifndef __cplusplus
15316 static $ac_kw foo_t static_foo () {return 0; }
15317 $ac_kw foo_t foo () {return 0; }
15321 rm -f conftest.
$ac_objext
15322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15323 (eval $ac_compile) 2>conftest.er1
15325 grep -v '^ *+' conftest.er1
>conftest.err
15327 cat conftest.err
>&5
15328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15329 (exit $ac_status); } &&
15330 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15332 (eval $ac_try) 2>&5
15334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15335 (exit $ac_status); }; } &&
15336 { ac_try
='test -s conftest.$ac_objext'
15337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15338 (eval $ac_try) 2>&5
15340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15341 (exit $ac_status); }; }; then
15342 ac_cv_c_inline
=$ac_kw; break
15344 echo "$as_me: failed program was:" >&5
15345 sed 's/^/| /' conftest.
$ac_ext >&5
15348 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15352 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15353 echo "${ECHO_T}$ac_cv_c_inline" >&6
15356 case $ac_cv_c_inline in
15359 case $ac_cv_c_inline in
15361 *) ac_val
=$ac_cv_c_inline;;
15363 cat >>confdefs.h
<<_ACEOF
15364 #ifndef __cplusplus
15365 #define inline $ac_val
15372 echo "$as_me:$LINENO: checking for char" >&5
15373 echo $ECHO_N "checking for char... $ECHO_C" >&6
15374 if test "${ac_cv_type_char+set}" = set; then
15375 echo $ECHO_N "(cached) $ECHO_C" >&6
15377 cat >conftest.
$ac_ext <<_ACEOF
15380 cat confdefs.h
>>conftest.
$ac_ext
15381 cat >>conftest.
$ac_ext <<_ACEOF
15382 /* end confdefs.h. */
15383 $ac_includes_default
15395 rm -f conftest.
$ac_objext
15396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15397 (eval $ac_compile) 2>conftest.er1
15399 grep -v '^ *+' conftest.er1
>conftest.err
15401 cat conftest.err
>&5
15402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15403 (exit $ac_status); } &&
15404 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15406 (eval $ac_try) 2>&5
15408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15409 (exit $ac_status); }; } &&
15410 { ac_try
='test -s conftest.$ac_objext'
15411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15412 (eval $ac_try) 2>&5
15414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15415 (exit $ac_status); }; }; then
15416 ac_cv_type_char
=yes
15418 echo "$as_me: failed program was:" >&5
15419 sed 's/^/| /' conftest.
$ac_ext >&5
15423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15425 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15426 echo "${ECHO_T}$ac_cv_type_char" >&6
15428 echo "$as_me:$LINENO: checking size of char" >&5
15429 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15430 if test "${ac_cv_sizeof_char+set}" = set; then
15431 echo $ECHO_N "(cached) $ECHO_C" >&6
15433 if test "$ac_cv_type_char" = yes; then
15434 # The cast to unsigned long works around a bug in the HP C Compiler
15435 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15436 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15437 # This bug is HP SR number 8606223364.
15438 if test "$cross_compiling" = yes; then
15439 # Depending upon the size, compute the lo and hi bounds.
15440 cat >conftest.
$ac_ext <<_ACEOF
15443 cat confdefs.h
>>conftest.
$ac_ext
15444 cat >>conftest.
$ac_ext <<_ACEOF
15445 /* end confdefs.h. */
15446 $ac_includes_default
15450 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15457 rm -f conftest.
$ac_objext
15458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15459 (eval $ac_compile) 2>conftest.er1
15461 grep -v '^ *+' conftest.er1
>conftest.err
15463 cat conftest.err
>&5
15464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15465 (exit $ac_status); } &&
15466 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15468 (eval $ac_try) 2>&5
15470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15471 (exit $ac_status); }; } &&
15472 { ac_try
='test -s conftest.$ac_objext'
15473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15474 (eval $ac_try) 2>&5
15476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15477 (exit $ac_status); }; }; then
15480 cat >conftest.
$ac_ext <<_ACEOF
15483 cat confdefs.h
>>conftest.
$ac_ext
15484 cat >>conftest.
$ac_ext <<_ACEOF
15485 /* end confdefs.h. */
15486 $ac_includes_default
15490 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15497 rm -f conftest.
$ac_objext
15498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15499 (eval $ac_compile) 2>conftest.er1
15501 grep -v '^ *+' conftest.er1
>conftest.err
15503 cat conftest.err
>&5
15504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15505 (exit $ac_status); } &&
15506 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15508 (eval $ac_try) 2>&5
15510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15511 (exit $ac_status); }; } &&
15512 { ac_try
='test -s conftest.$ac_objext'
15513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15514 (eval $ac_try) 2>&5
15516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15517 (exit $ac_status); }; }; then
15518 ac_hi
=$ac_mid; break
15520 echo "$as_me: failed program was:" >&5
15521 sed 's/^/| /' conftest.
$ac_ext >&5
15523 ac_lo
=`expr $ac_mid + 1`
15524 if test $ac_lo -le $ac_mid; then
15528 ac_mid
=`expr 2 '*' $ac_mid + 1`
15530 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15533 echo "$as_me: failed program was:" >&5
15534 sed 's/^/| /' conftest.
$ac_ext >&5
15536 cat >conftest.
$ac_ext <<_ACEOF
15539 cat confdefs.h
>>conftest.
$ac_ext
15540 cat >>conftest.
$ac_ext <<_ACEOF
15541 /* end confdefs.h. */
15542 $ac_includes_default
15546 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15553 rm -f conftest.
$ac_objext
15554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15555 (eval $ac_compile) 2>conftest.er1
15557 grep -v '^ *+' conftest.er1
>conftest.err
15559 cat conftest.err
>&5
15560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15561 (exit $ac_status); } &&
15562 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15564 (eval $ac_try) 2>&5
15566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15567 (exit $ac_status); }; } &&
15568 { ac_try
='test -s conftest.$ac_objext'
15569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15570 (eval $ac_try) 2>&5
15572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15573 (exit $ac_status); }; }; then
15576 cat >conftest.
$ac_ext <<_ACEOF
15579 cat confdefs.h
>>conftest.
$ac_ext
15580 cat >>conftest.
$ac_ext <<_ACEOF
15581 /* end confdefs.h. */
15582 $ac_includes_default
15586 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15593 rm -f conftest.
$ac_objext
15594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15595 (eval $ac_compile) 2>conftest.er1
15597 grep -v '^ *+' conftest.er1
>conftest.err
15599 cat conftest.err
>&5
15600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15601 (exit $ac_status); } &&
15602 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15604 (eval $ac_try) 2>&5
15606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15607 (exit $ac_status); }; } &&
15608 { ac_try
='test -s conftest.$ac_objext'
15609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15610 (eval $ac_try) 2>&5
15612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15613 (exit $ac_status); }; }; then
15614 ac_lo
=$ac_mid; break
15616 echo "$as_me: failed program was:" >&5
15617 sed 's/^/| /' conftest.
$ac_ext >&5
15619 ac_hi
=`expr '(' $ac_mid ')' - 1`
15620 if test $ac_mid -le $ac_hi; then
15624 ac_mid
=`expr 2 '*' $ac_mid`
15626 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15629 echo "$as_me: failed program was:" >&5
15630 sed 's/^/| /' conftest.
$ac_ext >&5
15634 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15636 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15637 # Binary search between lo and hi bounds.
15638 while test "x$ac_lo" != "x$ac_hi"; do
15639 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15640 cat >conftest.
$ac_ext <<_ACEOF
15643 cat confdefs.h
>>conftest.
$ac_ext
15644 cat >>conftest.
$ac_ext <<_ACEOF
15645 /* end confdefs.h. */
15646 $ac_includes_default
15650 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15657 rm -f conftest.
$ac_objext
15658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15659 (eval $ac_compile) 2>conftest.er1
15661 grep -v '^ *+' conftest.er1
>conftest.err
15663 cat conftest.err
>&5
15664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15665 (exit $ac_status); } &&
15666 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15668 (eval $ac_try) 2>&5
15670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15671 (exit $ac_status); }; } &&
15672 { ac_try
='test -s conftest.$ac_objext'
15673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15674 (eval $ac_try) 2>&5
15676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15677 (exit $ac_status); }; }; then
15680 echo "$as_me: failed program was:" >&5
15681 sed 's/^/| /' conftest.
$ac_ext >&5
15683 ac_lo
=`expr '(' $ac_mid ')' + 1`
15685 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15688 ?
*) ac_cv_sizeof_char
=$ac_lo;;
15689 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15690 See \`config.log' for more details." >&5
15691 echo "$as_me: error: cannot compute sizeof (char), 77
15692 See \`config.log' for more details." >&2;}
15693 { (exit 1); exit 1; }; } ;;
15696 if test "$cross_compiling" = yes; then
15697 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15698 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15699 { (exit 1); exit 1; }; }
15701 cat >conftest.
$ac_ext <<_ACEOF
15704 cat confdefs.h
>>conftest.
$ac_ext
15705 cat >>conftest.
$ac_ext <<_ACEOF
15706 /* end confdefs.h. */
15707 $ac_includes_default
15708 long longval () { return (long) (sizeof (char)); }
15709 unsigned long ulongval () { return (long) (sizeof (char)); }
15711 #include <stdlib.h>
15716 FILE *f = fopen ("conftest.val", "w");
15719 if (((long) (sizeof (char))) < 0)
15721 long i = longval ();
15722 if (i != ((long) (sizeof (char))))
15724 fprintf (f, "%ld\n", i);
15728 unsigned long i = ulongval ();
15729 if (i != ((long) (sizeof (char))))
15731 fprintf (f, "%lu\n", i);
15733 exit (ferror (f) || fclose (f) != 0);
15739 rm -f conftest
$ac_exeext
15740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15741 (eval $ac_link) 2>&5
15743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15744 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15746 (eval $ac_try) 2>&5
15748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15749 (exit $ac_status); }; }; then
15750 ac_cv_sizeof_char
=`cat conftest.val`
15752 echo "$as_me: program exited with status $ac_status" >&5
15753 echo "$as_me: failed program was:" >&5
15754 sed 's/^/| /' conftest.
$ac_ext >&5
15756 ( exit $ac_status )
15757 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15758 See \`config.log' for more details." >&5
15759 echo "$as_me: error: cannot compute sizeof (char), 77
15760 See \`config.log' for more details." >&2;}
15761 { (exit 1); exit 1; }; }
15763 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15768 ac_cv_sizeof_char
=0
15771 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15772 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15773 cat >>confdefs.h
<<_ACEOF
15774 #define SIZEOF_CHAR $ac_cv_sizeof_char
15778 echo "$as_me:$LINENO: checking for short" >&5
15779 echo $ECHO_N "checking for short... $ECHO_C" >&6
15780 if test "${ac_cv_type_short+set}" = set; then
15781 echo $ECHO_N "(cached) $ECHO_C" >&6
15783 cat >conftest.
$ac_ext <<_ACEOF
15786 cat confdefs.h
>>conftest.
$ac_ext
15787 cat >>conftest.
$ac_ext <<_ACEOF
15788 /* end confdefs.h. */
15789 $ac_includes_default
15795 if (sizeof (short))
15801 rm -f conftest.
$ac_objext
15802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15803 (eval $ac_compile) 2>conftest.er1
15805 grep -v '^ *+' conftest.er1
>conftest.err
15807 cat conftest.err
>&5
15808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15809 (exit $ac_status); } &&
15810 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15812 (eval $ac_try) 2>&5
15814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15815 (exit $ac_status); }; } &&
15816 { ac_try
='test -s conftest.$ac_objext'
15817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15818 (eval $ac_try) 2>&5
15820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15821 (exit $ac_status); }; }; then
15822 ac_cv_type_short
=yes
15824 echo "$as_me: failed program was:" >&5
15825 sed 's/^/| /' conftest.
$ac_ext >&5
15827 ac_cv_type_short
=no
15829 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15831 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15832 echo "${ECHO_T}$ac_cv_type_short" >&6
15834 echo "$as_me:$LINENO: checking size of short" >&5
15835 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15836 if test "${ac_cv_sizeof_short+set}" = set; then
15837 echo $ECHO_N "(cached) $ECHO_C" >&6
15839 if test "$ac_cv_type_short" = yes; then
15840 # The cast to unsigned long works around a bug in the HP C Compiler
15841 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15842 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15843 # This bug is HP SR number 8606223364.
15844 if test "$cross_compiling" = yes; then
15845 # Depending upon the size, compute the lo and hi bounds.
15846 cat >conftest.
$ac_ext <<_ACEOF
15849 cat confdefs.h
>>conftest.
$ac_ext
15850 cat >>conftest.
$ac_ext <<_ACEOF
15851 /* end confdefs.h. */
15852 $ac_includes_default
15856 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15863 rm -f conftest.
$ac_objext
15864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15865 (eval $ac_compile) 2>conftest.er1
15867 grep -v '^ *+' conftest.er1
>conftest.err
15869 cat conftest.err
>&5
15870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15871 (exit $ac_status); } &&
15872 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15874 (eval $ac_try) 2>&5
15876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15877 (exit $ac_status); }; } &&
15878 { ac_try
='test -s conftest.$ac_objext'
15879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15880 (eval $ac_try) 2>&5
15882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15883 (exit $ac_status); }; }; then
15886 cat >conftest.
$ac_ext <<_ACEOF
15889 cat confdefs.h
>>conftest.
$ac_ext
15890 cat >>conftest.
$ac_ext <<_ACEOF
15891 /* end confdefs.h. */
15892 $ac_includes_default
15896 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15903 rm -f conftest.
$ac_objext
15904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15905 (eval $ac_compile) 2>conftest.er1
15907 grep -v '^ *+' conftest.er1
>conftest.err
15909 cat conftest.err
>&5
15910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15911 (exit $ac_status); } &&
15912 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15914 (eval $ac_try) 2>&5
15916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15917 (exit $ac_status); }; } &&
15918 { ac_try
='test -s conftest.$ac_objext'
15919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15920 (eval $ac_try) 2>&5
15922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15923 (exit $ac_status); }; }; then
15924 ac_hi
=$ac_mid; break
15926 echo "$as_me: failed program was:" >&5
15927 sed 's/^/| /' conftest.
$ac_ext >&5
15929 ac_lo
=`expr $ac_mid + 1`
15930 if test $ac_lo -le $ac_mid; then
15934 ac_mid
=`expr 2 '*' $ac_mid + 1`
15936 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15939 echo "$as_me: failed program was:" >&5
15940 sed 's/^/| /' conftest.
$ac_ext >&5
15942 cat >conftest.
$ac_ext <<_ACEOF
15945 cat confdefs.h
>>conftest.
$ac_ext
15946 cat >>conftest.
$ac_ext <<_ACEOF
15947 /* end confdefs.h. */
15948 $ac_includes_default
15952 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15959 rm -f conftest.
$ac_objext
15960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15961 (eval $ac_compile) 2>conftest.er1
15963 grep -v '^ *+' conftest.er1
>conftest.err
15965 cat conftest.err
>&5
15966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15967 (exit $ac_status); } &&
15968 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15970 (eval $ac_try) 2>&5
15972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15973 (exit $ac_status); }; } &&
15974 { ac_try
='test -s conftest.$ac_objext'
15975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15976 (eval $ac_try) 2>&5
15978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15979 (exit $ac_status); }; }; then
15982 cat >conftest.
$ac_ext <<_ACEOF
15985 cat confdefs.h
>>conftest.
$ac_ext
15986 cat >>conftest.
$ac_ext <<_ACEOF
15987 /* end confdefs.h. */
15988 $ac_includes_default
15992 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15999 rm -f conftest.
$ac_objext
16000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16001 (eval $ac_compile) 2>conftest.er1
16003 grep -v '^ *+' conftest.er1
>conftest.err
16005 cat conftest.err
>&5
16006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16007 (exit $ac_status); } &&
16008 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16010 (eval $ac_try) 2>&5
16012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16013 (exit $ac_status); }; } &&
16014 { ac_try
='test -s conftest.$ac_objext'
16015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16016 (eval $ac_try) 2>&5
16018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16019 (exit $ac_status); }; }; then
16020 ac_lo
=$ac_mid; break
16022 echo "$as_me: failed program was:" >&5
16023 sed 's/^/| /' conftest.
$ac_ext >&5
16025 ac_hi
=`expr '(' $ac_mid ')' - 1`
16026 if test $ac_mid -le $ac_hi; then
16030 ac_mid
=`expr 2 '*' $ac_mid`
16032 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16035 echo "$as_me: failed program was:" >&5
16036 sed 's/^/| /' conftest.
$ac_ext >&5
16040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16042 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16043 # Binary search between lo and hi bounds.
16044 while test "x$ac_lo" != "x$ac_hi"; do
16045 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16046 cat >conftest.
$ac_ext <<_ACEOF
16049 cat confdefs.h
>>conftest.
$ac_ext
16050 cat >>conftest.
$ac_ext <<_ACEOF
16051 /* end confdefs.h. */
16052 $ac_includes_default
16056 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16063 rm -f conftest.
$ac_objext
16064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16065 (eval $ac_compile) 2>conftest.er1
16067 grep -v '^ *+' conftest.er1
>conftest.err
16069 cat conftest.err
>&5
16070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16071 (exit $ac_status); } &&
16072 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16074 (eval $ac_try) 2>&5
16076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16077 (exit $ac_status); }; } &&
16078 { ac_try
='test -s conftest.$ac_objext'
16079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16080 (eval $ac_try) 2>&5
16082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16083 (exit $ac_status); }; }; then
16086 echo "$as_me: failed program was:" >&5
16087 sed 's/^/| /' conftest.
$ac_ext >&5
16089 ac_lo
=`expr '(' $ac_mid ')' + 1`
16091 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16094 ?
*) ac_cv_sizeof_short
=$ac_lo;;
16095 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16096 See \`config.log' for more details." >&5
16097 echo "$as_me: error: cannot compute sizeof (short), 77
16098 See \`config.log' for more details." >&2;}
16099 { (exit 1); exit 1; }; } ;;
16102 if test "$cross_compiling" = yes; then
16103 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16104 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16105 { (exit 1); exit 1; }; }
16107 cat >conftest.
$ac_ext <<_ACEOF
16110 cat confdefs.h
>>conftest.
$ac_ext
16111 cat >>conftest.
$ac_ext <<_ACEOF
16112 /* end confdefs.h. */
16113 $ac_includes_default
16114 long longval () { return (long) (sizeof (short)); }
16115 unsigned long ulongval () { return (long) (sizeof (short)); }
16117 #include <stdlib.h>
16122 FILE *f = fopen ("conftest.val", "w");
16125 if (((long) (sizeof (short))) < 0)
16127 long i = longval ();
16128 if (i != ((long) (sizeof (short))))
16130 fprintf (f, "%ld\n", i);
16134 unsigned long i = ulongval ();
16135 if (i != ((long) (sizeof (short))))
16137 fprintf (f, "%lu\n", i);
16139 exit (ferror (f) || fclose (f) != 0);
16145 rm -f conftest
$ac_exeext
16146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16147 (eval $ac_link) 2>&5
16149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16150 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16152 (eval $ac_try) 2>&5
16154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16155 (exit $ac_status); }; }; then
16156 ac_cv_sizeof_short
=`cat conftest.val`
16158 echo "$as_me: program exited with status $ac_status" >&5
16159 echo "$as_me: failed program was:" >&5
16160 sed 's/^/| /' conftest.
$ac_ext >&5
16162 ( exit $ac_status )
16163 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16164 See \`config.log' for more details." >&5
16165 echo "$as_me: error: cannot compute sizeof (short), 77
16166 See \`config.log' for more details." >&2;}
16167 { (exit 1); exit 1; }; }
16169 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16174 ac_cv_sizeof_short
=0
16177 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16178 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16179 cat >>confdefs.h
<<_ACEOF
16180 #define SIZEOF_SHORT $ac_cv_sizeof_short
16184 echo "$as_me:$LINENO: checking for void *" >&5
16185 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16186 if test "${ac_cv_type_void_p+set}" = set; then
16187 echo $ECHO_N "(cached) $ECHO_C" >&6
16189 cat >conftest.
$ac_ext <<_ACEOF
16192 cat confdefs.h
>>conftest.
$ac_ext
16193 cat >>conftest.
$ac_ext <<_ACEOF
16194 /* end confdefs.h. */
16195 $ac_includes_default
16201 if (sizeof (void *))
16207 rm -f conftest.
$ac_objext
16208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16209 (eval $ac_compile) 2>conftest.er1
16211 grep -v '^ *+' conftest.er1
>conftest.err
16213 cat conftest.err
>&5
16214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16215 (exit $ac_status); } &&
16216 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16218 (eval $ac_try) 2>&5
16220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16221 (exit $ac_status); }; } &&
16222 { ac_try
='test -s conftest.$ac_objext'
16223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16224 (eval $ac_try) 2>&5
16226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16227 (exit $ac_status); }; }; then
16228 ac_cv_type_void_p
=yes
16230 echo "$as_me: failed program was:" >&5
16231 sed 's/^/| /' conftest.
$ac_ext >&5
16233 ac_cv_type_void_p
=no
16235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16237 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16238 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16240 echo "$as_me:$LINENO: checking size of void *" >&5
16241 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16242 if test "${ac_cv_sizeof_void_p+set}" = set; then
16243 echo $ECHO_N "(cached) $ECHO_C" >&6
16245 if test "$ac_cv_type_void_p" = yes; then
16246 # The cast to unsigned long works around a bug in the HP C Compiler
16247 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16248 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16249 # This bug is HP SR number 8606223364.
16250 if test "$cross_compiling" = yes; then
16251 # Depending upon the size, compute the lo and hi bounds.
16252 cat >conftest.
$ac_ext <<_ACEOF
16255 cat confdefs.h
>>conftest.
$ac_ext
16256 cat >>conftest.
$ac_ext <<_ACEOF
16257 /* end confdefs.h. */
16258 $ac_includes_default
16262 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16269 rm -f conftest.
$ac_objext
16270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16271 (eval $ac_compile) 2>conftest.er1
16273 grep -v '^ *+' conftest.er1
>conftest.err
16275 cat conftest.err
>&5
16276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16277 (exit $ac_status); } &&
16278 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16280 (eval $ac_try) 2>&5
16282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16283 (exit $ac_status); }; } &&
16284 { ac_try
='test -s conftest.$ac_objext'
16285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16286 (eval $ac_try) 2>&5
16288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16289 (exit $ac_status); }; }; then
16292 cat >conftest.
$ac_ext <<_ACEOF
16295 cat confdefs.h
>>conftest.
$ac_ext
16296 cat >>conftest.
$ac_ext <<_ACEOF
16297 /* end confdefs.h. */
16298 $ac_includes_default
16302 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16309 rm -f conftest.
$ac_objext
16310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16311 (eval $ac_compile) 2>conftest.er1
16313 grep -v '^ *+' conftest.er1
>conftest.err
16315 cat conftest.err
>&5
16316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16317 (exit $ac_status); } &&
16318 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16320 (eval $ac_try) 2>&5
16322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16323 (exit $ac_status); }; } &&
16324 { ac_try
='test -s conftest.$ac_objext'
16325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16326 (eval $ac_try) 2>&5
16328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16329 (exit $ac_status); }; }; then
16330 ac_hi
=$ac_mid; break
16332 echo "$as_me: failed program was:" >&5
16333 sed 's/^/| /' conftest.
$ac_ext >&5
16335 ac_lo
=`expr $ac_mid + 1`
16336 if test $ac_lo -le $ac_mid; then
16340 ac_mid
=`expr 2 '*' $ac_mid + 1`
16342 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16345 echo "$as_me: failed program was:" >&5
16346 sed 's/^/| /' conftest.
$ac_ext >&5
16348 cat >conftest.
$ac_ext <<_ACEOF
16351 cat confdefs.h
>>conftest.
$ac_ext
16352 cat >>conftest.
$ac_ext <<_ACEOF
16353 /* end confdefs.h. */
16354 $ac_includes_default
16358 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16365 rm -f conftest.
$ac_objext
16366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16367 (eval $ac_compile) 2>conftest.er1
16369 grep -v '^ *+' conftest.er1
>conftest.err
16371 cat conftest.err
>&5
16372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16373 (exit $ac_status); } &&
16374 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16376 (eval $ac_try) 2>&5
16378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16379 (exit $ac_status); }; } &&
16380 { ac_try
='test -s conftest.$ac_objext'
16381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16382 (eval $ac_try) 2>&5
16384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16385 (exit $ac_status); }; }; then
16388 cat >conftest.
$ac_ext <<_ACEOF
16391 cat confdefs.h
>>conftest.
$ac_ext
16392 cat >>conftest.
$ac_ext <<_ACEOF
16393 /* end confdefs.h. */
16394 $ac_includes_default
16398 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16405 rm -f conftest.
$ac_objext
16406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16407 (eval $ac_compile) 2>conftest.er1
16409 grep -v '^ *+' conftest.er1
>conftest.err
16411 cat conftest.err
>&5
16412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16413 (exit $ac_status); } &&
16414 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16416 (eval $ac_try) 2>&5
16418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16419 (exit $ac_status); }; } &&
16420 { ac_try
='test -s conftest.$ac_objext'
16421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16422 (eval $ac_try) 2>&5
16424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16425 (exit $ac_status); }; }; then
16426 ac_lo
=$ac_mid; break
16428 echo "$as_me: failed program was:" >&5
16429 sed 's/^/| /' conftest.
$ac_ext >&5
16431 ac_hi
=`expr '(' $ac_mid ')' - 1`
16432 if test $ac_mid -le $ac_hi; then
16436 ac_mid
=`expr 2 '*' $ac_mid`
16438 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16441 echo "$as_me: failed program was:" >&5
16442 sed 's/^/| /' conftest.
$ac_ext >&5
16446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16448 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16449 # Binary search between lo and hi bounds.
16450 while test "x$ac_lo" != "x$ac_hi"; do
16451 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16452 cat >conftest.
$ac_ext <<_ACEOF
16455 cat confdefs.h
>>conftest.
$ac_ext
16456 cat >>conftest.
$ac_ext <<_ACEOF
16457 /* end confdefs.h. */
16458 $ac_includes_default
16462 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16469 rm -f conftest.
$ac_objext
16470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16471 (eval $ac_compile) 2>conftest.er1
16473 grep -v '^ *+' conftest.er1
>conftest.err
16475 cat conftest.err
>&5
16476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16477 (exit $ac_status); } &&
16478 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16480 (eval $ac_try) 2>&5
16482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16483 (exit $ac_status); }; } &&
16484 { ac_try
='test -s conftest.$ac_objext'
16485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16486 (eval $ac_try) 2>&5
16488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16489 (exit $ac_status); }; }; then
16492 echo "$as_me: failed program was:" >&5
16493 sed 's/^/| /' conftest.
$ac_ext >&5
16495 ac_lo
=`expr '(' $ac_mid ')' + 1`
16497 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16500 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
16501 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16502 See \`config.log' for more details." >&5
16503 echo "$as_me: error: cannot compute sizeof (void *), 77
16504 See \`config.log' for more details." >&2;}
16505 { (exit 1); exit 1; }; } ;;
16508 if test "$cross_compiling" = yes; then
16509 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16510 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16511 { (exit 1); exit 1; }; }
16513 cat >conftest.
$ac_ext <<_ACEOF
16516 cat confdefs.h
>>conftest.
$ac_ext
16517 cat >>conftest.
$ac_ext <<_ACEOF
16518 /* end confdefs.h. */
16519 $ac_includes_default
16520 long longval () { return (long) (sizeof (void *)); }
16521 unsigned long ulongval () { return (long) (sizeof (void *)); }
16523 #include <stdlib.h>
16528 FILE *f = fopen ("conftest.val", "w");
16531 if (((long) (sizeof (void *))) < 0)
16533 long i = longval ();
16534 if (i != ((long) (sizeof (void *))))
16536 fprintf (f, "%ld\n", i);
16540 unsigned long i = ulongval ();
16541 if (i != ((long) (sizeof (void *))))
16543 fprintf (f, "%lu\n", i);
16545 exit (ferror (f) || fclose (f) != 0);
16551 rm -f conftest
$ac_exeext
16552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16553 (eval $ac_link) 2>&5
16555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16556 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16558 (eval $ac_try) 2>&5
16560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16561 (exit $ac_status); }; }; then
16562 ac_cv_sizeof_void_p
=`cat conftest.val`
16564 echo "$as_me: program exited with status $ac_status" >&5
16565 echo "$as_me: failed program was:" >&5
16566 sed 's/^/| /' conftest.
$ac_ext >&5
16568 ( exit $ac_status )
16569 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16570 See \`config.log' for more details." >&5
16571 echo "$as_me: error: cannot compute sizeof (void *), 77
16572 See \`config.log' for more details." >&2;}
16573 { (exit 1); exit 1; }; }
16575 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16580 ac_cv_sizeof_void_p
=0
16583 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16584 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16585 cat >>confdefs.h
<<_ACEOF
16586 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16590 echo "$as_me:$LINENO: checking for int" >&5
16591 echo $ECHO_N "checking for int... $ECHO_C" >&6
16592 if test "${ac_cv_type_int+set}" = set; then
16593 echo $ECHO_N "(cached) $ECHO_C" >&6
16595 cat >conftest.
$ac_ext <<_ACEOF
16598 cat confdefs.h
>>conftest.
$ac_ext
16599 cat >>conftest.
$ac_ext <<_ACEOF
16600 /* end confdefs.h. */
16601 $ac_includes_default
16613 rm -f conftest.
$ac_objext
16614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16615 (eval $ac_compile) 2>conftest.er1
16617 grep -v '^ *+' conftest.er1
>conftest.err
16619 cat conftest.err
>&5
16620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16621 (exit $ac_status); } &&
16622 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16624 (eval $ac_try) 2>&5
16626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16627 (exit $ac_status); }; } &&
16628 { ac_try
='test -s conftest.$ac_objext'
16629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16630 (eval $ac_try) 2>&5
16632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16633 (exit $ac_status); }; }; then
16636 echo "$as_me: failed program was:" >&5
16637 sed 's/^/| /' conftest.
$ac_ext >&5
16641 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16643 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16644 echo "${ECHO_T}$ac_cv_type_int" >&6
16646 echo "$as_me:$LINENO: checking size of int" >&5
16647 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16648 if test "${ac_cv_sizeof_int+set}" = set; then
16649 echo $ECHO_N "(cached) $ECHO_C" >&6
16651 if test "$ac_cv_type_int" = yes; then
16652 # The cast to unsigned long works around a bug in the HP C Compiler
16653 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16654 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16655 # This bug is HP SR number 8606223364.
16656 if test "$cross_compiling" = yes; then
16657 # Depending upon the size, compute the lo and hi bounds.
16658 cat >conftest.
$ac_ext <<_ACEOF
16661 cat confdefs.h
>>conftest.
$ac_ext
16662 cat >>conftest.
$ac_ext <<_ACEOF
16663 /* end confdefs.h. */
16664 $ac_includes_default
16668 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16675 rm -f conftest.
$ac_objext
16676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16677 (eval $ac_compile) 2>conftest.er1
16679 grep -v '^ *+' conftest.er1
>conftest.err
16681 cat conftest.err
>&5
16682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16683 (exit $ac_status); } &&
16684 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16686 (eval $ac_try) 2>&5
16688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16689 (exit $ac_status); }; } &&
16690 { ac_try
='test -s conftest.$ac_objext'
16691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16692 (eval $ac_try) 2>&5
16694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16695 (exit $ac_status); }; }; then
16698 cat >conftest.
$ac_ext <<_ACEOF
16701 cat confdefs.h
>>conftest.
$ac_ext
16702 cat >>conftest.
$ac_ext <<_ACEOF
16703 /* end confdefs.h. */
16704 $ac_includes_default
16708 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16715 rm -f conftest.
$ac_objext
16716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16717 (eval $ac_compile) 2>conftest.er1
16719 grep -v '^ *+' conftest.er1
>conftest.err
16721 cat conftest.err
>&5
16722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16723 (exit $ac_status); } &&
16724 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16726 (eval $ac_try) 2>&5
16728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16729 (exit $ac_status); }; } &&
16730 { ac_try
='test -s conftest.$ac_objext'
16731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16732 (eval $ac_try) 2>&5
16734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16735 (exit $ac_status); }; }; then
16736 ac_hi
=$ac_mid; break
16738 echo "$as_me: failed program was:" >&5
16739 sed 's/^/| /' conftest.
$ac_ext >&5
16741 ac_lo
=`expr $ac_mid + 1`
16742 if test $ac_lo -le $ac_mid; then
16746 ac_mid
=`expr 2 '*' $ac_mid + 1`
16748 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16751 echo "$as_me: failed program was:" >&5
16752 sed 's/^/| /' conftest.
$ac_ext >&5
16754 cat >conftest.
$ac_ext <<_ACEOF
16757 cat confdefs.h
>>conftest.
$ac_ext
16758 cat >>conftest.
$ac_ext <<_ACEOF
16759 /* end confdefs.h. */
16760 $ac_includes_default
16764 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16771 rm -f conftest.
$ac_objext
16772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16773 (eval $ac_compile) 2>conftest.er1
16775 grep -v '^ *+' conftest.er1
>conftest.err
16777 cat conftest.err
>&5
16778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16779 (exit $ac_status); } &&
16780 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16782 (eval $ac_try) 2>&5
16784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16785 (exit $ac_status); }; } &&
16786 { ac_try
='test -s conftest.$ac_objext'
16787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16788 (eval $ac_try) 2>&5
16790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16791 (exit $ac_status); }; }; then
16794 cat >conftest.
$ac_ext <<_ACEOF
16797 cat confdefs.h
>>conftest.
$ac_ext
16798 cat >>conftest.
$ac_ext <<_ACEOF
16799 /* end confdefs.h. */
16800 $ac_includes_default
16804 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16811 rm -f conftest.
$ac_objext
16812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16813 (eval $ac_compile) 2>conftest.er1
16815 grep -v '^ *+' conftest.er1
>conftest.err
16817 cat conftest.err
>&5
16818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16819 (exit $ac_status); } &&
16820 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16822 (eval $ac_try) 2>&5
16824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16825 (exit $ac_status); }; } &&
16826 { ac_try
='test -s conftest.$ac_objext'
16827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16828 (eval $ac_try) 2>&5
16830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16831 (exit $ac_status); }; }; then
16832 ac_lo
=$ac_mid; break
16834 echo "$as_me: failed program was:" >&5
16835 sed 's/^/| /' conftest.
$ac_ext >&5
16837 ac_hi
=`expr '(' $ac_mid ')' - 1`
16838 if test $ac_mid -le $ac_hi; then
16842 ac_mid
=`expr 2 '*' $ac_mid`
16844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16847 echo "$as_me: failed program was:" >&5
16848 sed 's/^/| /' conftest.
$ac_ext >&5
16852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16855 # Binary search between lo and hi bounds.
16856 while test "x$ac_lo" != "x$ac_hi"; do
16857 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16858 cat >conftest.
$ac_ext <<_ACEOF
16861 cat confdefs.h
>>conftest.
$ac_ext
16862 cat >>conftest.
$ac_ext <<_ACEOF
16863 /* end confdefs.h. */
16864 $ac_includes_default
16868 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16875 rm -f conftest.
$ac_objext
16876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16877 (eval $ac_compile) 2>conftest.er1
16879 grep -v '^ *+' conftest.er1
>conftest.err
16881 cat conftest.err
>&5
16882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16883 (exit $ac_status); } &&
16884 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16886 (eval $ac_try) 2>&5
16888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16889 (exit $ac_status); }; } &&
16890 { ac_try
='test -s conftest.$ac_objext'
16891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16892 (eval $ac_try) 2>&5
16894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16895 (exit $ac_status); }; }; then
16898 echo "$as_me: failed program was:" >&5
16899 sed 's/^/| /' conftest.
$ac_ext >&5
16901 ac_lo
=`expr '(' $ac_mid ')' + 1`
16903 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16906 ?
*) ac_cv_sizeof_int
=$ac_lo;;
16907 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16908 See \`config.log' for more details." >&5
16909 echo "$as_me: error: cannot compute sizeof (int), 77
16910 See \`config.log' for more details." >&2;}
16911 { (exit 1); exit 1; }; } ;;
16914 if test "$cross_compiling" = yes; then
16915 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16916 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16917 { (exit 1); exit 1; }; }
16919 cat >conftest.
$ac_ext <<_ACEOF
16922 cat confdefs.h
>>conftest.
$ac_ext
16923 cat >>conftest.
$ac_ext <<_ACEOF
16924 /* end confdefs.h. */
16925 $ac_includes_default
16926 long longval () { return (long) (sizeof (int)); }
16927 unsigned long ulongval () { return (long) (sizeof (int)); }
16929 #include <stdlib.h>
16934 FILE *f = fopen ("conftest.val", "w");
16937 if (((long) (sizeof (int))) < 0)
16939 long i = longval ();
16940 if (i != ((long) (sizeof (int))))
16942 fprintf (f, "%ld\n", i);
16946 unsigned long i = ulongval ();
16947 if (i != ((long) (sizeof (int))))
16949 fprintf (f, "%lu\n", i);
16951 exit (ferror (f) || fclose (f) != 0);
16957 rm -f conftest
$ac_exeext
16958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16959 (eval $ac_link) 2>&5
16961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16964 (eval $ac_try) 2>&5
16966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16967 (exit $ac_status); }; }; then
16968 ac_cv_sizeof_int
=`cat conftest.val`
16970 echo "$as_me: program exited with status $ac_status" >&5
16971 echo "$as_me: failed program was:" >&5
16972 sed 's/^/| /' conftest.
$ac_ext >&5
16974 ( exit $ac_status )
16975 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16976 See \`config.log' for more details." >&5
16977 echo "$as_me: error: cannot compute sizeof (int), 77
16978 See \`config.log' for more details." >&2;}
16979 { (exit 1); exit 1; }; }
16981 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16989 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16990 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16991 cat >>confdefs.h
<<_ACEOF
16992 #define SIZEOF_INT $ac_cv_sizeof_int
16996 echo "$as_me:$LINENO: checking for long" >&5
16997 echo $ECHO_N "checking for long... $ECHO_C" >&6
16998 if test "${ac_cv_type_long+set}" = set; then
16999 echo $ECHO_N "(cached) $ECHO_C" >&6
17001 cat >conftest.
$ac_ext <<_ACEOF
17004 cat confdefs.h
>>conftest.
$ac_ext
17005 cat >>conftest.
$ac_ext <<_ACEOF
17006 /* end confdefs.h. */
17007 $ac_includes_default
17019 rm -f conftest.
$ac_objext
17020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17021 (eval $ac_compile) 2>conftest.er1
17023 grep -v '^ *+' conftest.er1
>conftest.err
17025 cat conftest.err
>&5
17026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17027 (exit $ac_status); } &&
17028 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17030 (eval $ac_try) 2>&5
17032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17033 (exit $ac_status); }; } &&
17034 { ac_try
='test -s conftest.$ac_objext'
17035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17036 (eval $ac_try) 2>&5
17038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17039 (exit $ac_status); }; }; then
17040 ac_cv_type_long
=yes
17042 echo "$as_me: failed program was:" >&5
17043 sed 's/^/| /' conftest.
$ac_ext >&5
17047 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17049 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17050 echo "${ECHO_T}$ac_cv_type_long" >&6
17052 echo "$as_me:$LINENO: checking size of long" >&5
17053 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17054 if test "${ac_cv_sizeof_long+set}" = set; then
17055 echo $ECHO_N "(cached) $ECHO_C" >&6
17057 if test "$ac_cv_type_long" = yes; then
17058 # The cast to unsigned long works around a bug in the HP C Compiler
17059 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17060 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17061 # This bug is HP SR number 8606223364.
17062 if test "$cross_compiling" = yes; then
17063 # Depending upon the size, compute the lo and hi bounds.
17064 cat >conftest.
$ac_ext <<_ACEOF
17067 cat confdefs.h
>>conftest.
$ac_ext
17068 cat >>conftest.
$ac_ext <<_ACEOF
17069 /* end confdefs.h. */
17070 $ac_includes_default
17074 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17081 rm -f conftest.
$ac_objext
17082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17083 (eval $ac_compile) 2>conftest.er1
17085 grep -v '^ *+' conftest.er1
>conftest.err
17087 cat conftest.err
>&5
17088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17089 (exit $ac_status); } &&
17090 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17092 (eval $ac_try) 2>&5
17094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17095 (exit $ac_status); }; } &&
17096 { ac_try
='test -s conftest.$ac_objext'
17097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17098 (eval $ac_try) 2>&5
17100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17101 (exit $ac_status); }; }; then
17104 cat >conftest.
$ac_ext <<_ACEOF
17107 cat confdefs.h
>>conftest.
$ac_ext
17108 cat >>conftest.
$ac_ext <<_ACEOF
17109 /* end confdefs.h. */
17110 $ac_includes_default
17114 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17121 rm -f conftest.
$ac_objext
17122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17123 (eval $ac_compile) 2>conftest.er1
17125 grep -v '^ *+' conftest.er1
>conftest.err
17127 cat conftest.err
>&5
17128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17129 (exit $ac_status); } &&
17130 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17132 (eval $ac_try) 2>&5
17134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17135 (exit $ac_status); }; } &&
17136 { ac_try
='test -s conftest.$ac_objext'
17137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17138 (eval $ac_try) 2>&5
17140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17141 (exit $ac_status); }; }; then
17142 ac_hi
=$ac_mid; break
17144 echo "$as_me: failed program was:" >&5
17145 sed 's/^/| /' conftest.
$ac_ext >&5
17147 ac_lo
=`expr $ac_mid + 1`
17148 if test $ac_lo -le $ac_mid; then
17152 ac_mid
=`expr 2 '*' $ac_mid + 1`
17154 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17157 echo "$as_me: failed program was:" >&5
17158 sed 's/^/| /' conftest.
$ac_ext >&5
17160 cat >conftest.
$ac_ext <<_ACEOF
17163 cat confdefs.h
>>conftest.
$ac_ext
17164 cat >>conftest.
$ac_ext <<_ACEOF
17165 /* end confdefs.h. */
17166 $ac_includes_default
17170 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17177 rm -f conftest.
$ac_objext
17178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17179 (eval $ac_compile) 2>conftest.er1
17181 grep -v '^ *+' conftest.er1
>conftest.err
17183 cat conftest.err
>&5
17184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17185 (exit $ac_status); } &&
17186 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17188 (eval $ac_try) 2>&5
17190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17191 (exit $ac_status); }; } &&
17192 { ac_try
='test -s conftest.$ac_objext'
17193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17194 (eval $ac_try) 2>&5
17196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17197 (exit $ac_status); }; }; then
17200 cat >conftest.
$ac_ext <<_ACEOF
17203 cat confdefs.h
>>conftest.
$ac_ext
17204 cat >>conftest.
$ac_ext <<_ACEOF
17205 /* end confdefs.h. */
17206 $ac_includes_default
17210 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17217 rm -f conftest.
$ac_objext
17218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17219 (eval $ac_compile) 2>conftest.er1
17221 grep -v '^ *+' conftest.er1
>conftest.err
17223 cat conftest.err
>&5
17224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17225 (exit $ac_status); } &&
17226 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
17232 { ac_try
='test -s conftest.$ac_objext'
17233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17234 (eval $ac_try) 2>&5
17236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17237 (exit $ac_status); }; }; then
17238 ac_lo
=$ac_mid; break
17240 echo "$as_me: failed program was:" >&5
17241 sed 's/^/| /' conftest.
$ac_ext >&5
17243 ac_hi
=`expr '(' $ac_mid ')' - 1`
17244 if test $ac_mid -le $ac_hi; then
17248 ac_mid
=`expr 2 '*' $ac_mid`
17250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17253 echo "$as_me: failed program was:" >&5
17254 sed 's/^/| /' conftest.
$ac_ext >&5
17258 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17260 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17261 # Binary search between lo and hi bounds.
17262 while test "x$ac_lo" != "x$ac_hi"; do
17263 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17264 cat >conftest.
$ac_ext <<_ACEOF
17267 cat confdefs.h
>>conftest.
$ac_ext
17268 cat >>conftest.
$ac_ext <<_ACEOF
17269 /* end confdefs.h. */
17270 $ac_includes_default
17274 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17281 rm -f conftest.
$ac_objext
17282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17283 (eval $ac_compile) 2>conftest.er1
17285 grep -v '^ *+' conftest.er1
>conftest.err
17287 cat conftest.err
>&5
17288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17289 (exit $ac_status); } &&
17290 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17292 (eval $ac_try) 2>&5
17294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17295 (exit $ac_status); }; } &&
17296 { ac_try
='test -s conftest.$ac_objext'
17297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17298 (eval $ac_try) 2>&5
17300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17301 (exit $ac_status); }; }; then
17304 echo "$as_me: failed program was:" >&5
17305 sed 's/^/| /' conftest.
$ac_ext >&5
17307 ac_lo
=`expr '(' $ac_mid ')' + 1`
17309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17312 ?
*) ac_cv_sizeof_long
=$ac_lo;;
17313 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17314 See \`config.log' for more details." >&5
17315 echo "$as_me: error: cannot compute sizeof (long), 77
17316 See \`config.log' for more details." >&2;}
17317 { (exit 1); exit 1; }; } ;;
17320 if test "$cross_compiling" = yes; then
17321 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17322 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17323 { (exit 1); exit 1; }; }
17325 cat >conftest.
$ac_ext <<_ACEOF
17328 cat confdefs.h
>>conftest.
$ac_ext
17329 cat >>conftest.
$ac_ext <<_ACEOF
17330 /* end confdefs.h. */
17331 $ac_includes_default
17332 long longval () { return (long) (sizeof (long)); }
17333 unsigned long ulongval () { return (long) (sizeof (long)); }
17335 #include <stdlib.h>
17340 FILE *f = fopen ("conftest.val", "w");
17343 if (((long) (sizeof (long))) < 0)
17345 long i = longval ();
17346 if (i != ((long) (sizeof (long))))
17348 fprintf (f, "%ld\n", i);
17352 unsigned long i = ulongval ();
17353 if (i != ((long) (sizeof (long))))
17355 fprintf (f, "%lu\n", i);
17357 exit (ferror (f) || fclose (f) != 0);
17363 rm -f conftest
$ac_exeext
17364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17365 (eval $ac_link) 2>&5
17367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17368 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17370 (eval $ac_try) 2>&5
17372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17373 (exit $ac_status); }; }; then
17374 ac_cv_sizeof_long
=`cat conftest.val`
17376 echo "$as_me: program exited with status $ac_status" >&5
17377 echo "$as_me: failed program was:" >&5
17378 sed 's/^/| /' conftest.
$ac_ext >&5
17380 ( exit $ac_status )
17381 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17382 See \`config.log' for more details." >&5
17383 echo "$as_me: error: cannot compute sizeof (long), 77
17384 See \`config.log' for more details." >&2;}
17385 { (exit 1); exit 1; }; }
17387 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17392 ac_cv_sizeof_long
=0
17395 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17396 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17397 cat >>confdefs.h
<<_ACEOF
17398 #define SIZEOF_LONG $ac_cv_sizeof_long
17402 echo "$as_me:$LINENO: checking for size_t" >&5
17403 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17404 if test "${ac_cv_type_size_t+set}" = set; then
17405 echo $ECHO_N "(cached) $ECHO_C" >&6
17407 cat >conftest.
$ac_ext <<_ACEOF
17410 cat confdefs.h
>>conftest.
$ac_ext
17411 cat >>conftest.
$ac_ext <<_ACEOF
17412 /* end confdefs.h. */
17413 $ac_includes_default
17419 if (sizeof (size_t))
17425 rm -f conftest.
$ac_objext
17426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17427 (eval $ac_compile) 2>conftest.er1
17429 grep -v '^ *+' conftest.er1
>conftest.err
17431 cat conftest.err
>&5
17432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17433 (exit $ac_status); } &&
17434 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17436 (eval $ac_try) 2>&5
17438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17439 (exit $ac_status); }; } &&
17440 { ac_try
='test -s conftest.$ac_objext'
17441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17442 (eval $ac_try) 2>&5
17444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17445 (exit $ac_status); }; }; then
17446 ac_cv_type_size_t
=yes
17448 echo "$as_me: failed program was:" >&5
17449 sed 's/^/| /' conftest.
$ac_ext >&5
17451 ac_cv_type_size_t
=no
17453 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17455 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17456 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17458 echo "$as_me:$LINENO: checking size of size_t" >&5
17459 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
17460 if test "${ac_cv_sizeof_size_t+set}" = set; then
17461 echo $ECHO_N "(cached) $ECHO_C" >&6
17463 if test "$ac_cv_type_size_t" = yes; then
17464 # The cast to unsigned long works around a bug in the HP C Compiler
17465 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17466 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17467 # This bug is HP SR number 8606223364.
17468 if test "$cross_compiling" = yes; then
17469 # Depending upon the size, compute the lo and hi bounds.
17470 cat >conftest.
$ac_ext <<_ACEOF
17473 cat confdefs.h
>>conftest.
$ac_ext
17474 cat >>conftest.
$ac_ext <<_ACEOF
17475 /* end confdefs.h. */
17476 $ac_includes_default
17480 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
17487 rm -f conftest.
$ac_objext
17488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17489 (eval $ac_compile) 2>conftest.er1
17491 grep -v '^ *+' conftest.er1
>conftest.err
17493 cat conftest.err
>&5
17494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17495 (exit $ac_status); } &&
17496 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17498 (eval $ac_try) 2>&5
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); }; } &&
17502 { ac_try
='test -s conftest.$ac_objext'
17503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17504 (eval $ac_try) 2>&5
17506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507 (exit $ac_status); }; }; then
17510 cat >conftest.
$ac_ext <<_ACEOF
17513 cat confdefs.h
>>conftest.
$ac_ext
17514 cat >>conftest.
$ac_ext <<_ACEOF
17515 /* end confdefs.h. */
17516 $ac_includes_default
17520 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17527 rm -f conftest.
$ac_objext
17528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17529 (eval $ac_compile) 2>conftest.er1
17531 grep -v '^ *+' conftest.er1
>conftest.err
17533 cat conftest.err
>&5
17534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17535 (exit $ac_status); } &&
17536 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17538 (eval $ac_try) 2>&5
17540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17541 (exit $ac_status); }; } &&
17542 { ac_try
='test -s conftest.$ac_objext'
17543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17544 (eval $ac_try) 2>&5
17546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17547 (exit $ac_status); }; }; then
17548 ac_hi
=$ac_mid; break
17550 echo "$as_me: failed program was:" >&5
17551 sed 's/^/| /' conftest.
$ac_ext >&5
17553 ac_lo
=`expr $ac_mid + 1`
17554 if test $ac_lo -le $ac_mid; then
17558 ac_mid
=`expr 2 '*' $ac_mid + 1`
17560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17563 echo "$as_me: failed program was:" >&5
17564 sed 's/^/| /' conftest.
$ac_ext >&5
17566 cat >conftest.
$ac_ext <<_ACEOF
17569 cat confdefs.h
>>conftest.
$ac_ext
17570 cat >>conftest.
$ac_ext <<_ACEOF
17571 /* end confdefs.h. */
17572 $ac_includes_default
17576 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
17583 rm -f conftest.
$ac_objext
17584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17585 (eval $ac_compile) 2>conftest.er1
17587 grep -v '^ *+' conftest.er1
>conftest.err
17589 cat conftest.err
>&5
17590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17591 (exit $ac_status); } &&
17592 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17594 (eval $ac_try) 2>&5
17596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17597 (exit $ac_status); }; } &&
17598 { ac_try
='test -s conftest.$ac_objext'
17599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17600 (eval $ac_try) 2>&5
17602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17603 (exit $ac_status); }; }; then
17606 cat >conftest.
$ac_ext <<_ACEOF
17609 cat confdefs.h
>>conftest.
$ac_ext
17610 cat >>conftest.
$ac_ext <<_ACEOF
17611 /* end confdefs.h. */
17612 $ac_includes_default
17616 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17623 rm -f conftest.
$ac_objext
17624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17625 (eval $ac_compile) 2>conftest.er1
17627 grep -v '^ *+' conftest.er1
>conftest.err
17629 cat conftest.err
>&5
17630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17631 (exit $ac_status); } &&
17632 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17634 (eval $ac_try) 2>&5
17636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17637 (exit $ac_status); }; } &&
17638 { ac_try
='test -s conftest.$ac_objext'
17639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17640 (eval $ac_try) 2>&5
17642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17643 (exit $ac_status); }; }; then
17644 ac_lo
=$ac_mid; break
17646 echo "$as_me: failed program was:" >&5
17647 sed 's/^/| /' conftest.
$ac_ext >&5
17649 ac_hi
=`expr '(' $ac_mid ')' - 1`
17650 if test $ac_mid -le $ac_hi; then
17654 ac_mid
=`expr 2 '*' $ac_mid`
17656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17659 echo "$as_me: failed program was:" >&5
17660 sed 's/^/| /' conftest.
$ac_ext >&5
17664 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17667 # Binary search between lo and hi bounds.
17668 while test "x$ac_lo" != "x$ac_hi"; do
17669 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17670 cat >conftest.
$ac_ext <<_ACEOF
17673 cat confdefs.h
>>conftest.
$ac_ext
17674 cat >>conftest.
$ac_ext <<_ACEOF
17675 /* end confdefs.h. */
17676 $ac_includes_default
17680 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17687 rm -f conftest.
$ac_objext
17688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17689 (eval $ac_compile) 2>conftest.er1
17691 grep -v '^ *+' conftest.er1
>conftest.err
17693 cat conftest.err
>&5
17694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17695 (exit $ac_status); } &&
17696 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17698 (eval $ac_try) 2>&5
17700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17701 (exit $ac_status); }; } &&
17702 { ac_try
='test -s conftest.$ac_objext'
17703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17704 (eval $ac_try) 2>&5
17706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17707 (exit $ac_status); }; }; then
17710 echo "$as_me: failed program was:" >&5
17711 sed 's/^/| /' conftest.
$ac_ext >&5
17713 ac_lo
=`expr '(' $ac_mid ')' + 1`
17715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17718 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
17719 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17720 See \`config.log' for more details." >&5
17721 echo "$as_me: error: cannot compute sizeof (size_t), 77
17722 See \`config.log' for more details." >&2;}
17723 { (exit 1); exit 1; }; } ;;
17726 if test "$cross_compiling" = yes; then
17727 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17728 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17729 { (exit 1); exit 1; }; }
17731 cat >conftest.
$ac_ext <<_ACEOF
17734 cat confdefs.h
>>conftest.
$ac_ext
17735 cat >>conftest.
$ac_ext <<_ACEOF
17736 /* end confdefs.h. */
17737 $ac_includes_default
17738 long longval () { return (long) (sizeof (size_t)); }
17739 unsigned long ulongval () { return (long) (sizeof (size_t)); }
17741 #include <stdlib.h>
17746 FILE *f = fopen ("conftest.val", "w");
17749 if (((long) (sizeof (size_t))) < 0)
17751 long i = longval ();
17752 if (i != ((long) (sizeof (size_t))))
17754 fprintf (f, "%ld\n", i);
17758 unsigned long i = ulongval ();
17759 if (i != ((long) (sizeof (size_t))))
17761 fprintf (f, "%lu\n", i);
17763 exit (ferror (f) || fclose (f) != 0);
17769 rm -f conftest
$ac_exeext
17770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17771 (eval $ac_link) 2>&5
17773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17774 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17776 (eval $ac_try) 2>&5
17778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17779 (exit $ac_status); }; }; then
17780 ac_cv_sizeof_size_t
=`cat conftest.val`
17782 echo "$as_me: program exited with status $ac_status" >&5
17783 echo "$as_me: failed program was:" >&5
17784 sed 's/^/| /' conftest.
$ac_ext >&5
17786 ( exit $ac_status )
17787 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17788 See \`config.log' for more details." >&5
17789 echo "$as_me: error: cannot compute sizeof (size_t), 77
17790 See \`config.log' for more details." >&2;}
17791 { (exit 1); exit 1; }; }
17793 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17798 ac_cv_sizeof_size_t
=0
17801 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
17802 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
17803 cat >>confdefs.h
<<_ACEOF
17804 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
17811 echo "$as_me:$LINENO: checking for long long" >&5
17812 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17813 if test "${ac_cv_type_long_long+set}" = set; then
17814 echo $ECHO_N "(cached) $ECHO_C" >&6
17816 cat >conftest.
$ac_ext <<_ACEOF
17819 cat confdefs.h
>>conftest.
$ac_ext
17820 cat >>conftest.
$ac_ext <<_ACEOF
17821 /* end confdefs.h. */
17822 $ac_includes_default
17826 if ((long long *) 0)
17828 if (sizeof (long long))
17834 rm -f conftest.
$ac_objext
17835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17836 (eval $ac_compile) 2>conftest.er1
17838 grep -v '^ *+' conftest.er1
>conftest.err
17840 cat conftest.err
>&5
17841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17842 (exit $ac_status); } &&
17843 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17845 (eval $ac_try) 2>&5
17847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17848 (exit $ac_status); }; } &&
17849 { ac_try
='test -s conftest.$ac_objext'
17850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17851 (eval $ac_try) 2>&5
17853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854 (exit $ac_status); }; }; then
17855 ac_cv_type_long_long
=yes
17857 echo "$as_me: failed program was:" >&5
17858 sed 's/^/| /' conftest.
$ac_ext >&5
17860 ac_cv_type_long_long
=no
17862 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17864 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17865 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17867 echo "$as_me:$LINENO: checking size of long long" >&5
17868 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17869 if test "${ac_cv_sizeof_long_long+set}" = set; then
17870 echo $ECHO_N "(cached) $ECHO_C" >&6
17872 if test "$ac_cv_type_long_long" = yes; then
17873 # The cast to unsigned long works around a bug in the HP C Compiler
17874 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17875 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17876 # This bug is HP SR number 8606223364.
17877 if test "$cross_compiling" = yes; then
17878 # Depending upon the size, compute the lo and hi bounds.
17879 cat >conftest.
$ac_ext <<_ACEOF
17882 cat confdefs.h
>>conftest.
$ac_ext
17883 cat >>conftest.
$ac_ext <<_ACEOF
17884 /* end confdefs.h. */
17885 $ac_includes_default
17889 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17896 rm -f conftest.
$ac_objext
17897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17898 (eval $ac_compile) 2>conftest.er1
17900 grep -v '^ *+' conftest.er1
>conftest.err
17902 cat conftest.err
>&5
17903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17904 (exit $ac_status); } &&
17905 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17907 (eval $ac_try) 2>&5
17909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17910 (exit $ac_status); }; } &&
17911 { ac_try
='test -s conftest.$ac_objext'
17912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17913 (eval $ac_try) 2>&5
17915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17916 (exit $ac_status); }; }; then
17919 cat >conftest.
$ac_ext <<_ACEOF
17922 cat confdefs.h
>>conftest.
$ac_ext
17923 cat >>conftest.
$ac_ext <<_ACEOF
17924 /* end confdefs.h. */
17925 $ac_includes_default
17929 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17936 rm -f conftest.
$ac_objext
17937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17938 (eval $ac_compile) 2>conftest.er1
17940 grep -v '^ *+' conftest.er1
>conftest.err
17942 cat conftest.err
>&5
17943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17944 (exit $ac_status); } &&
17945 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17947 (eval $ac_try) 2>&5
17949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17950 (exit $ac_status); }; } &&
17951 { ac_try
='test -s conftest.$ac_objext'
17952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17953 (eval $ac_try) 2>&5
17955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17956 (exit $ac_status); }; }; then
17957 ac_hi
=$ac_mid; break
17959 echo "$as_me: failed program was:" >&5
17960 sed 's/^/| /' conftest.
$ac_ext >&5
17962 ac_lo
=`expr $ac_mid + 1`
17963 if test $ac_lo -le $ac_mid; then
17967 ac_mid
=`expr 2 '*' $ac_mid + 1`
17969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17972 echo "$as_me: failed program was:" >&5
17973 sed 's/^/| /' conftest.
$ac_ext >&5
17975 cat >conftest.
$ac_ext <<_ACEOF
17978 cat confdefs.h
>>conftest.
$ac_ext
17979 cat >>conftest.
$ac_ext <<_ACEOF
17980 /* end confdefs.h. */
17981 $ac_includes_default
17985 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17992 rm -f conftest.
$ac_objext
17993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17994 (eval $ac_compile) 2>conftest.er1
17996 grep -v '^ *+' conftest.er1
>conftest.err
17998 cat conftest.err
>&5
17999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18000 (exit $ac_status); } &&
18001 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18003 (eval $ac_try) 2>&5
18005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18006 (exit $ac_status); }; } &&
18007 { ac_try
='test -s conftest.$ac_objext'
18008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18009 (eval $ac_try) 2>&5
18011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18012 (exit $ac_status); }; }; then
18015 cat >conftest.
$ac_ext <<_ACEOF
18018 cat confdefs.h
>>conftest.
$ac_ext
18019 cat >>conftest.
$ac_ext <<_ACEOF
18020 /* end confdefs.h. */
18021 $ac_includes_default
18025 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18032 rm -f conftest.
$ac_objext
18033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18034 (eval $ac_compile) 2>conftest.er1
18036 grep -v '^ *+' conftest.er1
>conftest.err
18038 cat conftest.err
>&5
18039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18040 (exit $ac_status); } &&
18041 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18043 (eval $ac_try) 2>&5
18045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18046 (exit $ac_status); }; } &&
18047 { ac_try
='test -s conftest.$ac_objext'
18048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18049 (eval $ac_try) 2>&5
18051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18052 (exit $ac_status); }; }; then
18053 ac_lo
=$ac_mid; break
18055 echo "$as_me: failed program was:" >&5
18056 sed 's/^/| /' conftest.
$ac_ext >&5
18058 ac_hi
=`expr '(' $ac_mid ')' - 1`
18059 if test $ac_mid -le $ac_hi; then
18063 ac_mid
=`expr 2 '*' $ac_mid`
18065 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18068 echo "$as_me: failed program was:" >&5
18069 sed 's/^/| /' conftest.
$ac_ext >&5
18073 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18076 # Binary search between lo and hi bounds.
18077 while test "x$ac_lo" != "x$ac_hi"; do
18078 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18079 cat >conftest.
$ac_ext <<_ACEOF
18082 cat confdefs.h
>>conftest.
$ac_ext
18083 cat >>conftest.
$ac_ext <<_ACEOF
18084 /* end confdefs.h. */
18085 $ac_includes_default
18089 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18096 rm -f conftest.
$ac_objext
18097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18098 (eval $ac_compile) 2>conftest.er1
18100 grep -v '^ *+' conftest.er1
>conftest.err
18102 cat conftest.err
>&5
18103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18104 (exit $ac_status); } &&
18105 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18107 (eval $ac_try) 2>&5
18109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18110 (exit $ac_status); }; } &&
18111 { ac_try
='test -s conftest.$ac_objext'
18112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18113 (eval $ac_try) 2>&5
18115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18116 (exit $ac_status); }; }; then
18119 echo "$as_me: failed program was:" >&5
18120 sed 's/^/| /' conftest.
$ac_ext >&5
18122 ac_lo
=`expr '(' $ac_mid ')' + 1`
18124 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18127 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18128 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18129 See \`config.log' for more details." >&5
18130 echo "$as_me: error: cannot compute sizeof (long long), 77
18131 See \`config.log' for more details." >&2;}
18132 { (exit 1); exit 1; }; } ;;
18135 if test "$cross_compiling" = yes; then
18136 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18137 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18138 { (exit 1); exit 1; }; }
18140 cat >conftest.
$ac_ext <<_ACEOF
18143 cat confdefs.h
>>conftest.
$ac_ext
18144 cat >>conftest.
$ac_ext <<_ACEOF
18145 /* end confdefs.h. */
18146 $ac_includes_default
18147 long longval () { return (long) (sizeof (long long)); }
18148 unsigned long ulongval () { return (long) (sizeof (long long)); }
18150 #include <stdlib.h>
18155 FILE *f = fopen ("conftest.val", "w");
18158 if (((long) (sizeof (long long))) < 0)
18160 long i = longval ();
18161 if (i != ((long) (sizeof (long long))))
18163 fprintf (f, "%ld\n", i);
18167 unsigned long i = ulongval ();
18168 if (i != ((long) (sizeof (long long))))
18170 fprintf (f, "%lu\n", i);
18172 exit (ferror (f) || fclose (f) != 0);
18178 rm -f conftest
$ac_exeext
18179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18180 (eval $ac_link) 2>&5
18182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18183 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18185 (eval $ac_try) 2>&5
18187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18188 (exit $ac_status); }; }; then
18189 ac_cv_sizeof_long_long
=`cat conftest.val`
18191 echo "$as_me: program exited with status $ac_status" >&5
18192 echo "$as_me: failed program was:" >&5
18193 sed 's/^/| /' conftest.
$ac_ext >&5
18195 ( exit $ac_status )
18196 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18197 See \`config.log' for more details." >&5
18198 echo "$as_me: error: cannot compute sizeof (long long), 77
18199 See \`config.log' for more details." >&2;}
18200 { (exit 1); exit 1; }; }
18202 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18207 ac_cv_sizeof_long_long
=0
18210 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18211 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18212 cat >>confdefs.h
<<_ACEOF
18213 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18219 echo "$as_me:$LINENO: checking for long long" >&5
18220 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18221 if test "${ac_cv_type_long_long+set}" = set; then
18222 echo $ECHO_N "(cached) $ECHO_C" >&6
18224 cat >conftest.
$ac_ext <<_ACEOF
18227 cat confdefs.h
>>conftest.
$ac_ext
18228 cat >>conftest.
$ac_ext <<_ACEOF
18229 /* end confdefs.h. */
18230 $ac_includes_default
18234 if ((long long *) 0)
18236 if (sizeof (long long))
18242 rm -f conftest.
$ac_objext
18243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18244 (eval $ac_compile) 2>conftest.er1
18246 grep -v '^ *+' conftest.er1
>conftest.err
18248 cat conftest.err
>&5
18249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18250 (exit $ac_status); } &&
18251 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18253 (eval $ac_try) 2>&5
18255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18256 (exit $ac_status); }; } &&
18257 { ac_try
='test -s conftest.$ac_objext'
18258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18259 (eval $ac_try) 2>&5
18261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18262 (exit $ac_status); }; }; then
18263 ac_cv_type_long_long
=yes
18265 echo "$as_me: failed program was:" >&5
18266 sed 's/^/| /' conftest.
$ac_ext >&5
18268 ac_cv_type_long_long
=no
18270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18272 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18273 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18275 echo "$as_me:$LINENO: checking size of long long" >&5
18276 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18277 if test "${ac_cv_sizeof_long_long+set}" = set; then
18278 echo $ECHO_N "(cached) $ECHO_C" >&6
18280 if test "$ac_cv_type_long_long" = yes; then
18281 # The cast to unsigned long works around a bug in the HP C Compiler
18282 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18283 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18284 # This bug is HP SR number 8606223364.
18285 if test "$cross_compiling" = yes; then
18286 # Depending upon the size, compute the lo and hi bounds.
18287 cat >conftest.
$ac_ext <<_ACEOF
18290 cat confdefs.h
>>conftest.
$ac_ext
18291 cat >>conftest.
$ac_ext <<_ACEOF
18292 /* end confdefs.h. */
18293 $ac_includes_default
18297 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18304 rm -f conftest.
$ac_objext
18305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18306 (eval $ac_compile) 2>conftest.er1
18308 grep -v '^ *+' conftest.er1
>conftest.err
18310 cat conftest.err
>&5
18311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18312 (exit $ac_status); } &&
18313 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18315 (eval $ac_try) 2>&5
18317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18318 (exit $ac_status); }; } &&
18319 { ac_try
='test -s conftest.$ac_objext'
18320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18321 (eval $ac_try) 2>&5
18323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18324 (exit $ac_status); }; }; then
18327 cat >conftest.
$ac_ext <<_ACEOF
18330 cat confdefs.h
>>conftest.
$ac_ext
18331 cat >>conftest.
$ac_ext <<_ACEOF
18332 /* end confdefs.h. */
18333 $ac_includes_default
18337 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18344 rm -f conftest.
$ac_objext
18345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18346 (eval $ac_compile) 2>conftest.er1
18348 grep -v '^ *+' conftest.er1
>conftest.err
18350 cat conftest.err
>&5
18351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18352 (exit $ac_status); } &&
18353 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18355 (eval $ac_try) 2>&5
18357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18358 (exit $ac_status); }; } &&
18359 { ac_try
='test -s conftest.$ac_objext'
18360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18361 (eval $ac_try) 2>&5
18363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18364 (exit $ac_status); }; }; then
18365 ac_hi
=$ac_mid; break
18367 echo "$as_me: failed program was:" >&5
18368 sed 's/^/| /' conftest.
$ac_ext >&5
18370 ac_lo
=`expr $ac_mid + 1`
18371 if test $ac_lo -le $ac_mid; then
18375 ac_mid
=`expr 2 '*' $ac_mid + 1`
18377 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18380 echo "$as_me: failed program was:" >&5
18381 sed 's/^/| /' conftest.
$ac_ext >&5
18383 cat >conftest.
$ac_ext <<_ACEOF
18386 cat confdefs.h
>>conftest.
$ac_ext
18387 cat >>conftest.
$ac_ext <<_ACEOF
18388 /* end confdefs.h. */
18389 $ac_includes_default
18393 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18400 rm -f conftest.
$ac_objext
18401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18402 (eval $ac_compile) 2>conftest.er1
18404 grep -v '^ *+' conftest.er1
>conftest.err
18406 cat conftest.err
>&5
18407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18408 (exit $ac_status); } &&
18409 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18411 (eval $ac_try) 2>&5
18413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18414 (exit $ac_status); }; } &&
18415 { ac_try
='test -s conftest.$ac_objext'
18416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18417 (eval $ac_try) 2>&5
18419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18420 (exit $ac_status); }; }; then
18423 cat >conftest.
$ac_ext <<_ACEOF
18426 cat confdefs.h
>>conftest.
$ac_ext
18427 cat >>conftest.
$ac_ext <<_ACEOF
18428 /* end confdefs.h. */
18429 $ac_includes_default
18433 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18440 rm -f conftest.
$ac_objext
18441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18442 (eval $ac_compile) 2>conftest.er1
18444 grep -v '^ *+' conftest.er1
>conftest.err
18446 cat conftest.err
>&5
18447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18448 (exit $ac_status); } &&
18449 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18451 (eval $ac_try) 2>&5
18453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18454 (exit $ac_status); }; } &&
18455 { ac_try
='test -s conftest.$ac_objext'
18456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18457 (eval $ac_try) 2>&5
18459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18460 (exit $ac_status); }; }; then
18461 ac_lo
=$ac_mid; break
18463 echo "$as_me: failed program was:" >&5
18464 sed 's/^/| /' conftest.
$ac_ext >&5
18466 ac_hi
=`expr '(' $ac_mid ')' - 1`
18467 if test $ac_mid -le $ac_hi; then
18471 ac_mid
=`expr 2 '*' $ac_mid`
18473 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18476 echo "$as_me: failed program was:" >&5
18477 sed 's/^/| /' conftest.
$ac_ext >&5
18481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18484 # Binary search between lo and hi bounds.
18485 while test "x$ac_lo" != "x$ac_hi"; do
18486 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18487 cat >conftest.
$ac_ext <<_ACEOF
18490 cat confdefs.h
>>conftest.
$ac_ext
18491 cat >>conftest.
$ac_ext <<_ACEOF
18492 /* end confdefs.h. */
18493 $ac_includes_default
18497 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18504 rm -f conftest.
$ac_objext
18505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18506 (eval $ac_compile) 2>conftest.er1
18508 grep -v '^ *+' conftest.er1
>conftest.err
18510 cat conftest.err
>&5
18511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18512 (exit $ac_status); } &&
18513 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18515 (eval $ac_try) 2>&5
18517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18518 (exit $ac_status); }; } &&
18519 { ac_try
='test -s conftest.$ac_objext'
18520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18521 (eval $ac_try) 2>&5
18523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18524 (exit $ac_status); }; }; then
18527 echo "$as_me: failed program was:" >&5
18528 sed 's/^/| /' conftest.
$ac_ext >&5
18530 ac_lo
=`expr '(' $ac_mid ')' + 1`
18532 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18535 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18536 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18537 See \`config.log' for more details." >&5
18538 echo "$as_me: error: cannot compute sizeof (long long), 77
18539 See \`config.log' for more details." >&2;}
18540 { (exit 1); exit 1; }; } ;;
18543 if test "$cross_compiling" = yes; then
18544 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18545 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18546 { (exit 1); exit 1; }; }
18548 cat >conftest.
$ac_ext <<_ACEOF
18551 cat confdefs.h
>>conftest.
$ac_ext
18552 cat >>conftest.
$ac_ext <<_ACEOF
18553 /* end confdefs.h. */
18554 $ac_includes_default
18555 long longval () { return (long) (sizeof (long long)); }
18556 unsigned long ulongval () { return (long) (sizeof (long long)); }
18558 #include <stdlib.h>
18563 FILE *f = fopen ("conftest.val", "w");
18566 if (((long) (sizeof (long long))) < 0)
18568 long i = longval ();
18569 if (i != ((long) (sizeof (long long))))
18571 fprintf (f, "%ld\n", i);
18575 unsigned long i = ulongval ();
18576 if (i != ((long) (sizeof (long long))))
18578 fprintf (f, "%lu\n", i);
18580 exit (ferror (f) || fclose (f) != 0);
18586 rm -f conftest
$ac_exeext
18587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18588 (eval $ac_link) 2>&5
18590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18591 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18593 (eval $ac_try) 2>&5
18595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596 (exit $ac_status); }; }; then
18597 ac_cv_sizeof_long_long
=`cat conftest.val`
18599 echo "$as_me: program exited with status $ac_status" >&5
18600 echo "$as_me: failed program was:" >&5
18601 sed 's/^/| /' conftest.
$ac_ext >&5
18603 ( exit $ac_status )
18604 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18605 See \`config.log' for more details." >&5
18606 echo "$as_me: error: cannot compute sizeof (long long), 77
18607 See \`config.log' for more details." >&2;}
18608 { (exit 1); exit 1; }; }
18610 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18615 ac_cv_sizeof_long_long
=0
18618 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18619 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18620 cat >>confdefs.h
<<_ACEOF
18621 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18625 if test "$ac_cv_sizeof_long_long" != "0"; then
18626 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
18630 echo "$as_me:$LINENO: checking for long long" >&5
18631 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18632 if test "${ac_cv_type_long_long+set}" = set; then
18633 echo $ECHO_N "(cached) $ECHO_C" >&6
18635 cat >conftest.
$ac_ext <<_ACEOF
18638 cat confdefs.h
>>conftest.
$ac_ext
18639 cat >>conftest.
$ac_ext <<_ACEOF
18640 /* end confdefs.h. */
18641 $ac_includes_default
18645 if ((long long *) 0)
18647 if (sizeof (long long))
18653 rm -f conftest.
$ac_objext
18654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18655 (eval $ac_compile) 2>conftest.er1
18657 grep -v '^ *+' conftest.er1
>conftest.err
18659 cat conftest.err
>&5
18660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18661 (exit $ac_status); } &&
18662 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18664 (eval $ac_try) 2>&5
18666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18667 (exit $ac_status); }; } &&
18668 { ac_try
='test -s conftest.$ac_objext'
18669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18670 (eval $ac_try) 2>&5
18672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18673 (exit $ac_status); }; }; then
18674 ac_cv_type_long_long
=yes
18676 echo "$as_me: failed program was:" >&5
18677 sed 's/^/| /' conftest.
$ac_ext >&5
18679 ac_cv_type_long_long
=no
18681 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18683 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18684 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18686 echo "$as_me:$LINENO: checking size of long long" >&5
18687 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18688 if test "${ac_cv_sizeof_long_long+set}" = set; then
18689 echo $ECHO_N "(cached) $ECHO_C" >&6
18691 if test "$ac_cv_type_long_long" = yes; then
18692 # The cast to unsigned long works around a bug in the HP C Compiler
18693 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18694 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18695 # This bug is HP SR number 8606223364.
18696 if test "$cross_compiling" = yes; then
18697 # Depending upon the size, compute the lo and hi bounds.
18698 cat >conftest.
$ac_ext <<_ACEOF
18701 cat confdefs.h
>>conftest.
$ac_ext
18702 cat >>conftest.
$ac_ext <<_ACEOF
18703 /* end confdefs.h. */
18704 $ac_includes_default
18708 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18715 rm -f conftest.
$ac_objext
18716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18717 (eval $ac_compile) 2>conftest.er1
18719 grep -v '^ *+' conftest.er1
>conftest.err
18721 cat conftest.err
>&5
18722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18723 (exit $ac_status); } &&
18724 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18726 (eval $ac_try) 2>&5
18728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18729 (exit $ac_status); }; } &&
18730 { ac_try
='test -s conftest.$ac_objext'
18731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18732 (eval $ac_try) 2>&5
18734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18735 (exit $ac_status); }; }; then
18738 cat >conftest.
$ac_ext <<_ACEOF
18741 cat confdefs.h
>>conftest.
$ac_ext
18742 cat >>conftest.
$ac_ext <<_ACEOF
18743 /* end confdefs.h. */
18744 $ac_includes_default
18748 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18755 rm -f conftest.
$ac_objext
18756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18757 (eval $ac_compile) 2>conftest.er1
18759 grep -v '^ *+' conftest.er1
>conftest.err
18761 cat conftest.err
>&5
18762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18763 (exit $ac_status); } &&
18764 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18766 (eval $ac_try) 2>&5
18768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18769 (exit $ac_status); }; } &&
18770 { ac_try
='test -s conftest.$ac_objext'
18771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18772 (eval $ac_try) 2>&5
18774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18775 (exit $ac_status); }; }; then
18776 ac_hi
=$ac_mid; break
18778 echo "$as_me: failed program was:" >&5
18779 sed 's/^/| /' conftest.
$ac_ext >&5
18781 ac_lo
=`expr $ac_mid + 1`
18782 if test $ac_lo -le $ac_mid; then
18786 ac_mid
=`expr 2 '*' $ac_mid + 1`
18788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18791 echo "$as_me: failed program was:" >&5
18792 sed 's/^/| /' conftest.
$ac_ext >&5
18794 cat >conftest.
$ac_ext <<_ACEOF
18797 cat confdefs.h
>>conftest.
$ac_ext
18798 cat >>conftest.
$ac_ext <<_ACEOF
18799 /* end confdefs.h. */
18800 $ac_includes_default
18804 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18811 rm -f conftest.
$ac_objext
18812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18813 (eval $ac_compile) 2>conftest.er1
18815 grep -v '^ *+' conftest.er1
>conftest.err
18817 cat conftest.err
>&5
18818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18819 (exit $ac_status); } &&
18820 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18822 (eval $ac_try) 2>&5
18824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18825 (exit $ac_status); }; } &&
18826 { ac_try
='test -s conftest.$ac_objext'
18827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18828 (eval $ac_try) 2>&5
18830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18831 (exit $ac_status); }; }; then
18834 cat >conftest.
$ac_ext <<_ACEOF
18837 cat confdefs.h
>>conftest.
$ac_ext
18838 cat >>conftest.
$ac_ext <<_ACEOF
18839 /* end confdefs.h. */
18840 $ac_includes_default
18844 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18851 rm -f conftest.
$ac_objext
18852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18853 (eval $ac_compile) 2>conftest.er1
18855 grep -v '^ *+' conftest.er1
>conftest.err
18857 cat conftest.err
>&5
18858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18859 (exit $ac_status); } &&
18860 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18862 (eval $ac_try) 2>&5
18864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18865 (exit $ac_status); }; } &&
18866 { ac_try
='test -s conftest.$ac_objext'
18867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18868 (eval $ac_try) 2>&5
18870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18871 (exit $ac_status); }; }; then
18872 ac_lo
=$ac_mid; break
18874 echo "$as_me: failed program was:" >&5
18875 sed 's/^/| /' conftest.
$ac_ext >&5
18877 ac_hi
=`expr '(' $ac_mid ')' - 1`
18878 if test $ac_mid -le $ac_hi; then
18882 ac_mid
=`expr 2 '*' $ac_mid`
18884 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18887 echo "$as_me: failed program was:" >&5
18888 sed 's/^/| /' conftest.
$ac_ext >&5
18892 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18894 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18895 # Binary search between lo and hi bounds.
18896 while test "x$ac_lo" != "x$ac_hi"; do
18897 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18898 cat >conftest.
$ac_ext <<_ACEOF
18901 cat confdefs.h
>>conftest.
$ac_ext
18902 cat >>conftest.
$ac_ext <<_ACEOF
18903 /* end confdefs.h. */
18904 $ac_includes_default
18908 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18915 rm -f conftest.
$ac_objext
18916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18917 (eval $ac_compile) 2>conftest.er1
18919 grep -v '^ *+' conftest.er1
>conftest.err
18921 cat conftest.err
>&5
18922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18923 (exit $ac_status); } &&
18924 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18926 (eval $ac_try) 2>&5
18928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18929 (exit $ac_status); }; } &&
18930 { ac_try
='test -s conftest.$ac_objext'
18931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18932 (eval $ac_try) 2>&5
18934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18935 (exit $ac_status); }; }; then
18938 echo "$as_me: failed program was:" >&5
18939 sed 's/^/| /' conftest.
$ac_ext >&5
18941 ac_lo
=`expr '(' $ac_mid ')' + 1`
18943 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18946 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18947 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18948 See \`config.log' for more details." >&5
18949 echo "$as_me: error: cannot compute sizeof (long long), 77
18950 See \`config.log' for more details." >&2;}
18951 { (exit 1); exit 1; }; } ;;
18954 if test "$cross_compiling" = yes; then
18955 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18956 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18957 { (exit 1); exit 1; }; }
18959 cat >conftest.
$ac_ext <<_ACEOF
18962 cat confdefs.h
>>conftest.
$ac_ext
18963 cat >>conftest.
$ac_ext <<_ACEOF
18964 /* end confdefs.h. */
18965 $ac_includes_default
18966 long longval () { return (long) (sizeof (long long)); }
18967 unsigned long ulongval () { return (long) (sizeof (long long)); }
18969 #include <stdlib.h>
18974 FILE *f = fopen ("conftest.val", "w");
18977 if (((long) (sizeof (long long))) < 0)
18979 long i = longval ();
18980 if (i != ((long) (sizeof (long long))))
18982 fprintf (f, "%ld\n", i);
18986 unsigned long i = ulongval ();
18987 if (i != ((long) (sizeof (long long))))
18989 fprintf (f, "%lu\n", i);
18991 exit (ferror (f) || fclose (f) != 0);
18997 rm -f conftest
$ac_exeext
18998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18999 (eval $ac_link) 2>&5
19001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19004 (eval $ac_try) 2>&5
19006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19007 (exit $ac_status); }; }; then
19008 ac_cv_sizeof_long_long
=`cat conftest.val`
19010 echo "$as_me: program exited with status $ac_status" >&5
19011 echo "$as_me: failed program was:" >&5
19012 sed 's/^/| /' conftest.
$ac_ext >&5
19014 ( exit $ac_status )
19015 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19016 See \`config.log' for more details." >&5
19017 echo "$as_me: error: cannot compute sizeof (long long), 77
19018 See \`config.log' for more details." >&2;}
19019 { (exit 1); exit 1; }; }
19021 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19026 ac_cv_sizeof_long_long
=0
19029 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19030 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19031 cat >>confdefs.h
<<_ACEOF
19032 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19038 echo "$as_me:$LINENO: checking for wchar_t" >&5
19039 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
19040 if test "${ac_cv_type_wchar_t+set}" = set; then
19041 echo $ECHO_N "(cached) $ECHO_C" >&6
19043 cat >conftest.
$ac_ext <<_ACEOF
19046 cat confdefs.h
>>conftest.
$ac_ext
19047 cat >>conftest.
$ac_ext <<_ACEOF
19048 /* end confdefs.h. */
19050 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19051 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19052 # error "fake wchar_t"
19054 #ifdef HAVE_WCHAR_H
19056 # include <stddef.h>
19058 # include <wchar.h>
19060 #ifdef HAVE_STDLIB_H
19061 # include <stdlib.h>
19072 if (sizeof (wchar_t))
19078 rm -f conftest.
$ac_objext
19079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19080 (eval $ac_compile) 2>conftest.er1
19082 grep -v '^ *+' conftest.er1
>conftest.err
19084 cat conftest.err
>&5
19085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19086 (exit $ac_status); } &&
19087 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19089 (eval $ac_try) 2>&5
19091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19092 (exit $ac_status); }; } &&
19093 { ac_try
='test -s conftest.$ac_objext'
19094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19095 (eval $ac_try) 2>&5
19097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19098 (exit $ac_status); }; }; then
19099 ac_cv_type_wchar_t
=yes
19101 echo "$as_me: failed program was:" >&5
19102 sed 's/^/| /' conftest.
$ac_ext >&5
19104 ac_cv_type_wchar_t
=no
19106 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19108 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
19109 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
19111 echo "$as_me:$LINENO: checking size of wchar_t" >&5
19112 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
19113 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
19114 echo $ECHO_N "(cached) $ECHO_C" >&6
19116 if test "$ac_cv_type_wchar_t" = yes; then
19117 # The cast to unsigned long works around a bug in the HP C Compiler
19118 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19119 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19120 # This bug is HP SR number 8606223364.
19121 if test "$cross_compiling" = yes; then
19122 # Depending upon the size, compute the lo and hi bounds.
19123 cat >conftest.
$ac_ext <<_ACEOF
19126 cat confdefs.h
>>conftest.
$ac_ext
19127 cat >>conftest.
$ac_ext <<_ACEOF
19128 /* end confdefs.h. */
19130 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19131 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19132 # error "fake wchar_t"
19134 #ifdef HAVE_WCHAR_H
19136 # include <stddef.h>
19138 # include <wchar.h>
19140 #ifdef HAVE_STDLIB_H
19141 # include <stdlib.h>
19150 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
19157 rm -f conftest.
$ac_objext
19158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19159 (eval $ac_compile) 2>conftest.er1
19161 grep -v '^ *+' conftest.er1
>conftest.err
19163 cat conftest.err
>&5
19164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19165 (exit $ac_status); } &&
19166 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19168 (eval $ac_try) 2>&5
19170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19171 (exit $ac_status); }; } &&
19172 { ac_try
='test -s conftest.$ac_objext'
19173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19174 (eval $ac_try) 2>&5
19176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19177 (exit $ac_status); }; }; then
19180 cat >conftest.
$ac_ext <<_ACEOF
19183 cat confdefs.h
>>conftest.
$ac_ext
19184 cat >>conftest.
$ac_ext <<_ACEOF
19185 /* end confdefs.h. */
19187 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19188 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19189 # error "fake wchar_t"
19191 #ifdef HAVE_WCHAR_H
19193 # include <stddef.h>
19195 # include <wchar.h>
19197 #ifdef HAVE_STDLIB_H
19198 # include <stdlib.h>
19207 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19214 rm -f conftest.
$ac_objext
19215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19216 (eval $ac_compile) 2>conftest.er1
19218 grep -v '^ *+' conftest.er1
>conftest.err
19220 cat conftest.err
>&5
19221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19222 (exit $ac_status); } &&
19223 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19225 (eval $ac_try) 2>&5
19227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19228 (exit $ac_status); }; } &&
19229 { ac_try
='test -s conftest.$ac_objext'
19230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19231 (eval $ac_try) 2>&5
19233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19234 (exit $ac_status); }; }; then
19235 ac_hi
=$ac_mid; break
19237 echo "$as_me: failed program was:" >&5
19238 sed 's/^/| /' conftest.
$ac_ext >&5
19240 ac_lo
=`expr $ac_mid + 1`
19241 if test $ac_lo -le $ac_mid; then
19245 ac_mid
=`expr 2 '*' $ac_mid + 1`
19247 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19250 echo "$as_me: failed program was:" >&5
19251 sed 's/^/| /' conftest.
$ac_ext >&5
19253 cat >conftest.
$ac_ext <<_ACEOF
19256 cat confdefs.h
>>conftest.
$ac_ext
19257 cat >>conftest.
$ac_ext <<_ACEOF
19258 /* end confdefs.h. */
19260 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19261 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19262 # error "fake wchar_t"
19264 #ifdef HAVE_WCHAR_H
19266 # include <stddef.h>
19268 # include <wchar.h>
19270 #ifdef HAVE_STDLIB_H
19271 # include <stdlib.h>
19280 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
19287 rm -f conftest.
$ac_objext
19288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19289 (eval $ac_compile) 2>conftest.er1
19291 grep -v '^ *+' conftest.er1
>conftest.err
19293 cat conftest.err
>&5
19294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19295 (exit $ac_status); } &&
19296 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
19302 { ac_try
='test -s conftest.$ac_objext'
19303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19304 (eval $ac_try) 2>&5
19306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19307 (exit $ac_status); }; }; then
19310 cat >conftest.
$ac_ext <<_ACEOF
19313 cat confdefs.h
>>conftest.
$ac_ext
19314 cat >>conftest.
$ac_ext <<_ACEOF
19315 /* end confdefs.h. */
19317 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19318 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19319 # error "fake wchar_t"
19321 #ifdef HAVE_WCHAR_H
19323 # include <stddef.h>
19325 # include <wchar.h>
19327 #ifdef HAVE_STDLIB_H
19328 # include <stdlib.h>
19337 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
19344 rm -f conftest.
$ac_objext
19345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19346 (eval $ac_compile) 2>conftest.er1
19348 grep -v '^ *+' conftest.er1
>conftest.err
19350 cat conftest.err
>&5
19351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19352 (exit $ac_status); } &&
19353 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19355 (eval $ac_try) 2>&5
19357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19358 (exit $ac_status); }; } &&
19359 { ac_try
='test -s conftest.$ac_objext'
19360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19361 (eval $ac_try) 2>&5
19363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19364 (exit $ac_status); }; }; then
19365 ac_lo
=$ac_mid; break
19367 echo "$as_me: failed program was:" >&5
19368 sed 's/^/| /' conftest.
$ac_ext >&5
19370 ac_hi
=`expr '(' $ac_mid ')' - 1`
19371 if test $ac_mid -le $ac_hi; then
19375 ac_mid
=`expr 2 '*' $ac_mid`
19377 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19380 echo "$as_me: failed program was:" >&5
19381 sed 's/^/| /' conftest.
$ac_ext >&5
19385 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19387 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19388 # Binary search between lo and hi bounds.
19389 while test "x$ac_lo" != "x$ac_hi"; do
19390 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19391 cat >conftest.
$ac_ext <<_ACEOF
19394 cat confdefs.h
>>conftest.
$ac_ext
19395 cat >>conftest.
$ac_ext <<_ACEOF
19396 /* end confdefs.h. */
19398 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19399 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19400 # error "fake wchar_t"
19402 #ifdef HAVE_WCHAR_H
19404 # include <stddef.h>
19406 # include <wchar.h>
19408 #ifdef HAVE_STDLIB_H
19409 # include <stdlib.h>
19418 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19425 rm -f conftest.
$ac_objext
19426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19427 (eval $ac_compile) 2>conftest.er1
19429 grep -v '^ *+' conftest.er1
>conftest.err
19431 cat conftest.err
>&5
19432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19433 (exit $ac_status); } &&
19434 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19436 (eval $ac_try) 2>&5
19438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19439 (exit $ac_status); }; } &&
19440 { ac_try
='test -s conftest.$ac_objext'
19441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19442 (eval $ac_try) 2>&5
19444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19445 (exit $ac_status); }; }; then
19448 echo "$as_me: failed program was:" >&5
19449 sed 's/^/| /' conftest.
$ac_ext >&5
19451 ac_lo
=`expr '(' $ac_mid ')' + 1`
19453 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19456 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
19457 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19458 See \`config.log' for more details." >&5
19459 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19460 See \`config.log' for more details." >&2;}
19461 { (exit 1); exit 1; }; } ;;
19464 if test "$cross_compiling" = yes; then
19465 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19466 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19467 { (exit 1); exit 1; }; }
19469 cat >conftest.
$ac_ext <<_ACEOF
19472 cat confdefs.h
>>conftest.
$ac_ext
19473 cat >>conftest.
$ac_ext <<_ACEOF
19474 /* end confdefs.h. */
19476 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19477 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19478 # error "fake wchar_t"
19480 #ifdef HAVE_WCHAR_H
19482 # include <stddef.h>
19484 # include <wchar.h>
19486 #ifdef HAVE_STDLIB_H
19487 # include <stdlib.h>
19493 long longval () { return (long) (sizeof (wchar_t)); }
19494 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
19496 #include <stdlib.h>
19501 FILE *f = fopen ("conftest.val", "w");
19504 if (((long) (sizeof (wchar_t))) < 0)
19506 long i = longval ();
19507 if (i != ((long) (sizeof (wchar_t))))
19509 fprintf (f, "%ld\n", i);
19513 unsigned long i = ulongval ();
19514 if (i != ((long) (sizeof (wchar_t))))
19516 fprintf (f, "%lu\n", i);
19518 exit (ferror (f) || fclose (f) != 0);
19524 rm -f conftest
$ac_exeext
19525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19526 (eval $ac_link) 2>&5
19528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19529 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19531 (eval $ac_try) 2>&5
19533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19534 (exit $ac_status); }; }; then
19535 ac_cv_sizeof_wchar_t
=`cat conftest.val`
19537 echo "$as_me: program exited with status $ac_status" >&5
19538 echo "$as_me: failed program was:" >&5
19539 sed 's/^/| /' conftest.
$ac_ext >&5
19541 ( exit $ac_status )
19542 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19543 See \`config.log' for more details." >&5
19544 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19545 See \`config.log' for more details." >&2;}
19546 { (exit 1); exit 1; }; }
19548 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19553 ac_cv_sizeof_wchar_t
=0
19556 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
19557 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
19558 cat >>confdefs.h
<<_ACEOF
19559 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
19563 if test "$ac_cv_sizeof_wchar_t" != "0"; then
19569 echo "$as_me:$LINENO: checking for va_copy" >&5
19570 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
19571 if test "${wx_cv_func_va_copy+set}" = set; then
19572 echo $ECHO_N "(cached) $ECHO_C" >&6
19575 cat >conftest.
$ac_ext <<_ACEOF
19577 #include <stdarg.h>
19578 void foo(char *f, ...)
19592 rm -f conftest.
$ac_objext conftest
$ac_exeext
19593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19594 (eval $ac_link) 2>conftest.er1
19596 grep -v '^ *+' conftest.er1
>conftest.err
19598 cat conftest.err
>&5
19599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19600 (exit $ac_status); } &&
19601 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19603 (eval $ac_try) 2>&5
19605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19606 (exit $ac_status); }; } &&
19607 { ac_try
='test -s conftest$ac_exeext'
19608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19609 (eval $ac_try) 2>&5
19611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19612 (exit $ac_status); }; }; then
19613 wx_cv_func_va_copy
=yes
19615 echo "$as_me: failed program was:" >&5
19616 sed 's/^/| /' conftest.
$ac_ext >&5
19618 wx_cv_func_va_copy
=no
19621 rm -f conftest.err conftest.
$ac_objext \
19622 conftest
$ac_exeext conftest.
$ac_ext
19626 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
19627 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
19629 if test $wx_cv_func_va_copy = "yes"; then
19630 cat >>confdefs.h
<<\_ACEOF
19631 #define HAVE_VA_COPY 1
19635 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
19636 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
19637 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
19638 echo $ECHO_N "(cached) $ECHO_C" >&6
19641 if test "$cross_compiling" = yes; then
19642 wx_cv_type_va_list_lvalue
=yes
19645 cat >conftest.
$ac_ext <<_ACEOF
19647 #include <stdarg.h>
19648 int foo(char *f, ...)
19653 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
19661 return foo("hi", 17);
19664 rm -f conftest
$ac_exeext
19665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19666 (eval $ac_link) 2>&5
19668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19669 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19671 (eval $ac_try) 2>&5
19673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19674 (exit $ac_status); }; }; then
19675 wx_cv_type_va_list_lvalue
=yes
19677 echo "$as_me: program exited with status $ac_status" >&5
19678 echo "$as_me: failed program was:" >&5
19679 sed 's/^/| /' conftest.
$ac_ext >&5
19681 ( exit $ac_status )
19682 wx_cv_type_va_list_lvalue
=no
19684 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19689 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
19690 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
19692 if test $wx_cv_type_va_list_lvalue != "yes"; then
19693 cat >>confdefs.h
<<\_ACEOF
19694 #define VA_LIST_IS_ARRAY 1
19700 # Check whether --enable-largefile or --disable-largefile was given.
19701 if test "${enable_largefile+set}" = set; then
19702 enableval
="$enable_largefile"
19705 if test "$enable_largefile" != no
; then
19708 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
19709 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
19710 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
19711 echo $ECHO_N "(cached) $ECHO_C" >&6
19714 cat >conftest.
$ac_ext <<_ACEOF
19717 cat confdefs.h
>>conftest.
$ac_ext
19718 cat >>conftest.
$ac_ext <<_ACEOF
19719 /* end confdefs.h. */
19720 #define _FILE_OFFSET_BITS 64
19721 #include <sys/types.h>
19726 unsigned int field: sizeof(off_t) == 8;
19733 rm -f conftest.
$ac_objext
19734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19735 (eval $ac_compile) 2>conftest.er1
19737 grep -v '^ *+' conftest.er1
>conftest.err
19739 cat conftest.err
>&5
19740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19741 (exit $ac_status); } &&
19742 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19744 (eval $ac_try) 2>&5
19746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19747 (exit $ac_status); }; } &&
19748 { ac_try
='test -s conftest.$ac_objext'
19749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19750 (eval $ac_try) 2>&5
19752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19753 (exit $ac_status); }; }; then
19754 ac_cv_sys_file_offset_bits
=64
19756 echo "$as_me: failed program was:" >&5
19757 sed 's/^/| /' conftest.
$ac_ext >&5
19759 ac_cv_sys_file_offset_bits
=no
19761 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19765 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
19766 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
19768 if test "$ac_cv_sys_file_offset_bits" != no
; then
19770 cat >>confdefs.h
<<_ACEOF
19771 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
19776 if test "x$wx_largefile" != "xyes"; then
19778 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
19779 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
19780 if test "${ac_cv_sys_large_files+set}" = set; then
19781 echo $ECHO_N "(cached) $ECHO_C" >&6
19784 cat >conftest.
$ac_ext <<_ACEOF
19787 cat confdefs.h
>>conftest.
$ac_ext
19788 cat >>conftest.
$ac_ext <<_ACEOF
19789 /* end confdefs.h. */
19790 #define _LARGE_FILES 1
19791 #include <sys/types.h>
19796 unsigned int field: sizeof(off_t) == 8;
19803 rm -f conftest.
$ac_objext
19804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19805 (eval $ac_compile) 2>conftest.er1
19807 grep -v '^ *+' conftest.er1
>conftest.err
19809 cat conftest.err
>&5
19810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19811 (exit $ac_status); } &&
19812 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19814 (eval $ac_try) 2>&5
19816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19817 (exit $ac_status); }; } &&
19818 { ac_try
='test -s conftest.$ac_objext'
19819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19820 (eval $ac_try) 2>&5
19822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19823 (exit $ac_status); }; }; then
19824 ac_cv_sys_large_files
=1
19826 echo "$as_me: failed program was:" >&5
19827 sed 's/^/| /' conftest.
$ac_ext >&5
19829 ac_cv_sys_large_files
=no
19831 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19835 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
19836 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
19838 if test "$ac_cv_sys_large_files" != no
; then
19840 cat >>confdefs.h
<<_ACEOF
19841 #define _LARGE_FILES $ac_cv_sys_large_files
19848 echo "$as_me:$LINENO: checking if large file support is available" >&5
19849 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
19850 if test "x$wx_largefile" = "xyes"; then
19851 cat >>confdefs.h
<<\_ACEOF
19852 #define HAVE_LARGEFILE_SUPPORT 1
19856 echo "$as_me:$LINENO: result: $wx_largefile" >&5
19857 echo "${ECHO_T}$wx_largefile" >&6
19861 if test "x$wx_largefile" = "xyes"; then
19862 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
19863 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
19865 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
19866 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
19867 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
19868 if test "${wx_cv_STDC_EXT_required+set}" = set; then
19869 echo $ECHO_N "(cached) $ECHO_C" >&6
19875 ac_cpp
='$CXXCPP $CPPFLAGS'
19876 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19877 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19878 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19880 cat >conftest.
$ac_ext <<_ACEOF
19883 cat confdefs.h
>>conftest.
$ac_ext
19884 cat >>conftest.
$ac_ext <<_ACEOF
19885 /* end confdefs.h. */
19891 #ifndef __STDC_EXT__
19899 rm -f conftest.
$ac_objext
19900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19901 (eval $ac_compile) 2>conftest.er1
19903 grep -v '^ *+' conftest.er1
>conftest.err
19905 cat conftest.err
>&5
19906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19907 (exit $ac_status); } &&
19908 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19910 (eval $ac_try) 2>&5
19912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19913 (exit $ac_status); }; } &&
19914 { ac_try
='test -s conftest.$ac_objext'
19915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19916 (eval $ac_try) 2>&5
19918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19919 (exit $ac_status); }; }; then
19920 wx_cv_STDC_EXT_required
=no
19922 echo "$as_me: failed program was:" >&5
19923 sed 's/^/| /' conftest.
$ac_ext >&5
19925 wx_cv_STDC_EXT_required
=yes
19928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19930 ac_cpp
='$CPP $CPPFLAGS'
19931 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19932 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19933 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19938 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
19939 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
19940 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
19941 CXXFLAGS
="$CXXFLAGS -D__STDC_EXT__"
19945 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
19947 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
19948 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
19949 if test "${ac_cv_sys_largefile_source+set}" = set; then
19950 echo $ECHO_N "(cached) $ECHO_C" >&6
19953 ac_cv_sys_largefile_source
=no
19954 cat >conftest.
$ac_ext <<_ACEOF
19957 cat confdefs.h
>>conftest.
$ac_ext
19958 cat >>conftest.
$ac_ext <<_ACEOF
19959 /* end confdefs.h. */
19969 rm -f conftest.
$ac_objext
19970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19971 (eval $ac_compile) 2>conftest.er1
19973 grep -v '^ *+' conftest.er1
>conftest.err
19975 cat conftest.err
>&5
19976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19977 (exit $ac_status); } &&
19978 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19980 (eval $ac_try) 2>&5
19982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19983 (exit $ac_status); }; } &&
19984 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
19992 echo "$as_me: failed program was:" >&5
19993 sed 's/^/| /' conftest.
$ac_ext >&5
19996 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19997 cat >conftest.
$ac_ext <<_ACEOF
20000 cat confdefs.h
>>conftest.
$ac_ext
20001 cat >>conftest.
$ac_ext <<_ACEOF
20002 /* end confdefs.h. */
20003 #define _LARGEFILE_SOURCE 1
20013 rm -f conftest.
$ac_objext
20014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20015 (eval $ac_compile) 2>conftest.er1
20017 grep -v '^ *+' conftest.er1
>conftest.err
20019 cat conftest.err
>&5
20020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20021 (exit $ac_status); } &&
20022 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20024 (eval $ac_try) 2>&5
20026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20027 (exit $ac_status); }; } &&
20028 { ac_try
='test -s conftest.$ac_objext'
20029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20030 (eval $ac_try) 2>&5
20032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20033 (exit $ac_status); }; }; then
20034 ac_cv_sys_largefile_source
=1; break
20036 echo "$as_me: failed program was:" >&5
20037 sed 's/^/| /' conftest.
$ac_ext >&5
20040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20044 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
20045 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
20046 if test "$ac_cv_sys_largefile_source" != no
; then
20048 cat >>confdefs.h
<<_ACEOF
20049 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20055 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20056 # in glibc 2.1.3, but that breaks too many other things.
20057 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20058 echo "$as_me:$LINENO: checking for fseeko" >&5
20059 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
20060 if test "${ac_cv_func_fseeko+set}" = set; then
20061 echo $ECHO_N "(cached) $ECHO_C" >&6
20063 cat >conftest.
$ac_ext <<_ACEOF
20066 cat confdefs.h
>>conftest.
$ac_ext
20067 cat >>conftest.
$ac_ext <<_ACEOF
20068 /* end confdefs.h. */
20073 return fseeko && fseeko (stdin, 0, 0);
20078 rm -f conftest.
$ac_objext conftest
$ac_exeext
20079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20080 (eval $ac_link) 2>conftest.er1
20082 grep -v '^ *+' conftest.er1
>conftest.err
20084 cat conftest.err
>&5
20085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20086 (exit $ac_status); } &&
20087 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20089 (eval $ac_try) 2>&5
20091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20092 (exit $ac_status); }; } &&
20093 { ac_try
='test -s conftest$ac_exeext'
20094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20095 (eval $ac_try) 2>&5
20097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20098 (exit $ac_status); }; }; then
20099 ac_cv_func_fseeko
=yes
20101 echo "$as_me: failed program was:" >&5
20102 sed 's/^/| /' conftest.
$ac_ext >&5
20104 ac_cv_func_fseeko
=no
20106 rm -f conftest.err conftest.
$ac_objext \
20107 conftest
$ac_exeext conftest.
$ac_ext
20109 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
20110 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
20111 if test $ac_cv_func_fseeko = yes; then
20113 cat >>confdefs.h
<<\_ACEOF
20114 #define HAVE_FSEEKO 1
20119 if test "$ac_cv_sys_largefile_source" != no
; then
20120 WX_LARGEFILE_FLAGS
="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20122 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
20125 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20126 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20127 if test "${ac_cv_c_bigendian+set}" = set; then
20128 echo $ECHO_N "(cached) $ECHO_C" >&6
20130 ac_cv_c_bigendian
=unknown
20131 # See if sys/param.h defines the BYTE_ORDER macro.
20132 cat >conftest.
$ac_ext <<_ACEOF
20135 cat confdefs.h
>>conftest.
$ac_ext
20136 cat >>conftest.
$ac_ext <<_ACEOF
20137 /* end confdefs.h. */
20138 #include <sys/types.h>
20139 #include <sys/param.h>
20144 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20145 bogus endian macros
20151 rm -f conftest.
$ac_objext
20152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20153 (eval $ac_compile) 2>conftest.er1
20155 grep -v '^ *+' conftest.er1
>conftest.err
20157 cat conftest.err
>&5
20158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20159 (exit $ac_status); } &&
20160 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20162 (eval $ac_try) 2>&5
20164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20165 (exit $ac_status); }; } &&
20166 { ac_try
='test -s conftest.$ac_objext'
20167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20168 (eval $ac_try) 2>&5
20170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20171 (exit $ac_status); }; }; then
20172 # It does; now see whether it defined to BIG_ENDIAN or not.
20173 cat >conftest.
$ac_ext <<_ACEOF
20176 cat confdefs.h
>>conftest.
$ac_ext
20177 cat >>conftest.
$ac_ext <<_ACEOF
20178 /* end confdefs.h. */
20179 #include <sys/types.h>
20180 #include <sys/param.h>
20185 #if BYTE_ORDER != BIG_ENDIAN
20192 rm -f conftest.
$ac_objext
20193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20194 (eval $ac_compile) 2>conftest.er1
20196 grep -v '^ *+' conftest.er1
>conftest.err
20198 cat conftest.err
>&5
20199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20200 (exit $ac_status); } &&
20201 { ac_try
='test -z "$ac_c_werror_flag" || 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_c_bigendian
=yes
20215 echo "$as_me: failed program was:" >&5
20216 sed 's/^/| /' conftest.
$ac_ext >&5
20218 ac_cv_c_bigendian
=no
20220 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20222 echo "$as_me: failed program was:" >&5
20223 sed 's/^/| /' conftest.
$ac_ext >&5
20226 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20227 if test $ac_cv_c_bigendian = unknown
; then
20228 if test "$cross_compiling" = yes; then
20229 ac_cv_c_bigendian
=unknown
20231 cat >conftest.
$ac_ext <<_ACEOF
20234 cat confdefs.h
>>conftest.
$ac_ext
20235 cat >>conftest.
$ac_ext <<_ACEOF
20236 /* end confdefs.h. */
20238 /* Are we little or big endian? From Harbison&Steele. */
20242 char c[sizeof (long)];
20245 exit (u.c[sizeof (long) - 1] == 1);
20248 rm -f conftest
$ac_exeext
20249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20250 (eval $ac_link) 2>&5
20252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20253 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20255 (eval $ac_try) 2>&5
20257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20258 (exit $ac_status); }; }; then
20259 ac_cv_c_bigendian
=no
20261 echo "$as_me: program exited with status $ac_status" >&5
20262 echo "$as_me: failed program was:" >&5
20263 sed 's/^/| /' conftest.
$ac_ext >&5
20265 ( exit $ac_status )
20266 ac_cv_c_bigendian
=yes
20268 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20272 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20273 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20274 if test $ac_cv_c_bigendian = unknown
; then
20275 { 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
20276 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;}
20278 if test $ac_cv_c_bigendian = yes; then
20279 cat >>confdefs.h
<<\_ACEOF
20280 #define WORDS_BIGENDIAN 1
20287 ac_cpp
='$CXXCPP $CPPFLAGS'
20288 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20289 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20290 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20291 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
20292 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
20293 if test -z "$CXXCPP"; then
20294 if test "${ac_cv_prog_CXXCPP+set}" = set; then
20295 echo $ECHO_N "(cached) $ECHO_C" >&6
20297 # Double quotes because CXXCPP needs to be expanded
20298 for CXXCPP
in "$CXX -E" "/lib/cpp"
20300 ac_preproc_ok
=false
20301 for ac_cxx_preproc_warn_flag
in '' yes
20303 # Use a header file that comes with gcc, so configuring glibc
20304 # with a fresh cross-compiler works.
20305 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20306 # <limits.h> exists even on freestanding compilers.
20307 # On the NeXT, cc -E runs the code through the compiler's parser,
20308 # not just through cpp. "Syntax error" is here to catch this case.
20309 cat >conftest.
$ac_ext <<_ACEOF
20312 cat confdefs.h
>>conftest.
$ac_ext
20313 cat >>conftest.
$ac_ext <<_ACEOF
20314 /* end confdefs.h. */
20316 # include <limits.h>
20318 # include <assert.h>
20322 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20323 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20325 grep -v '^ *+' conftest.er1
>conftest.err
20327 cat conftest.err
>&5
20328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20329 (exit $ac_status); } >/dev
/null
; then
20330 if test -s conftest.err
; then
20331 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20332 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20339 if test -z "$ac_cpp_err"; then
20342 echo "$as_me: failed program was:" >&5
20343 sed 's/^/| /' conftest.
$ac_ext >&5
20345 # Broken: fails on valid input.
20348 rm -f conftest.err conftest.
$ac_ext
20350 # OK, works on sane cases. Now check whether non-existent headers
20351 # can be detected and how.
20352 cat >conftest.
$ac_ext <<_ACEOF
20355 cat confdefs.h
>>conftest.
$ac_ext
20356 cat >>conftest.
$ac_ext <<_ACEOF
20357 /* end confdefs.h. */
20358 #include <ac_nonexistent.h>
20360 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20361 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20363 grep -v '^ *+' conftest.er1
>conftest.err
20365 cat conftest.err
>&5
20366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20367 (exit $ac_status); } >/dev
/null
; then
20368 if test -s conftest.err
; then
20369 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20370 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20377 if test -z "$ac_cpp_err"; then
20378 # Broken: success on invalid input.
20381 echo "$as_me: failed program was:" >&5
20382 sed 's/^/| /' conftest.
$ac_ext >&5
20384 # Passes both tests.
20388 rm -f conftest.err conftest.
$ac_ext
20391 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20392 rm -f conftest.err conftest.
$ac_ext
20393 if $ac_preproc_ok; then
20398 ac_cv_prog_CXXCPP
=$CXXCPP
20401 CXXCPP
=$ac_cv_prog_CXXCPP
20403 ac_cv_prog_CXXCPP
=$CXXCPP
20405 echo "$as_me:$LINENO: result: $CXXCPP" >&5
20406 echo "${ECHO_T}$CXXCPP" >&6
20407 ac_preproc_ok
=false
20408 for ac_cxx_preproc_warn_flag
in '' yes
20410 # Use a header file that comes with gcc, so configuring glibc
20411 # with a fresh cross-compiler works.
20412 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20413 # <limits.h> exists even on freestanding compilers.
20414 # On the NeXT, cc -E runs the code through the compiler's parser,
20415 # not just through cpp. "Syntax error" is here to catch this case.
20416 cat >conftest.
$ac_ext <<_ACEOF
20419 cat confdefs.h
>>conftest.
$ac_ext
20420 cat >>conftest.
$ac_ext <<_ACEOF
20421 /* end confdefs.h. */
20423 # include <limits.h>
20425 # include <assert.h>
20429 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20430 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20432 grep -v '^ *+' conftest.er1
>conftest.err
20434 cat conftest.err
>&5
20435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20436 (exit $ac_status); } >/dev
/null
; then
20437 if test -s conftest.err
; then
20438 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20439 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20446 if test -z "$ac_cpp_err"; then
20449 echo "$as_me: failed program was:" >&5
20450 sed 's/^/| /' conftest.
$ac_ext >&5
20452 # Broken: fails on valid input.
20455 rm -f conftest.err conftest.
$ac_ext
20457 # OK, works on sane cases. Now check whether non-existent headers
20458 # can be detected and how.
20459 cat >conftest.
$ac_ext <<_ACEOF
20462 cat confdefs.h
>>conftest.
$ac_ext
20463 cat >>conftest.
$ac_ext <<_ACEOF
20464 /* end confdefs.h. */
20465 #include <ac_nonexistent.h>
20467 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20468 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20470 grep -v '^ *+' conftest.er1
>conftest.err
20472 cat conftest.err
>&5
20473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20474 (exit $ac_status); } >/dev
/null
; then
20475 if test -s conftest.err
; then
20476 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20477 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20484 if test -z "$ac_cpp_err"; then
20485 # Broken: success on invalid input.
20488 echo "$as_me: failed program was:" >&5
20489 sed 's/^/| /' conftest.
$ac_ext >&5
20491 # Passes both tests.
20495 rm -f conftest.err conftest.
$ac_ext
20498 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20499 rm -f conftest.err conftest.
$ac_ext
20500 if $ac_preproc_ok; then
20503 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20504 See \`config.log' for more details." >&5
20505 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20506 See \`config.log' for more details." >&2;}
20507 { (exit 1); exit 1; }; }
20511 ac_cpp
='$CXXCPP $CPPFLAGS'
20512 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20513 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20514 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20521 ac_cpp
='$CXXCPP $CPPFLAGS'
20522 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20523 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20524 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20528 for ac_header
in iostream
20530 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20531 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20532 echo "$as_me:$LINENO: checking for $ac_header" >&5
20533 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20534 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20535 echo $ECHO_N "(cached) $ECHO_C" >&6
20537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20538 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20540 # Is the header compilable?
20541 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20542 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20543 cat >conftest.
$ac_ext <<_ACEOF
20546 cat confdefs.h
>>conftest.
$ac_ext
20547 cat >>conftest.
$ac_ext <<_ACEOF
20548 /* end confdefs.h. */
20549 $ac_includes_default
20550 #include <$ac_header>
20552 rm -f conftest.
$ac_objext
20553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20554 (eval $ac_compile) 2>conftest.er1
20556 grep -v '^ *+' conftest.er1
>conftest.err
20558 cat conftest.err
>&5
20559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20560 (exit $ac_status); } &&
20561 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20563 (eval $ac_try) 2>&5
20565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20566 (exit $ac_status); }; } &&
20567 { ac_try
='test -s conftest.$ac_objext'
20568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20569 (eval $ac_try) 2>&5
20571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20572 (exit $ac_status); }; }; then
20573 ac_header_compiler
=yes
20575 echo "$as_me: failed program was:" >&5
20576 sed 's/^/| /' conftest.
$ac_ext >&5
20578 ac_header_compiler
=no
20580 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20581 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20582 echo "${ECHO_T}$ac_header_compiler" >&6
20584 # Is the header present?
20585 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20586 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20587 cat >conftest.
$ac_ext <<_ACEOF
20590 cat confdefs.h
>>conftest.
$ac_ext
20591 cat >>conftest.
$ac_ext <<_ACEOF
20592 /* end confdefs.h. */
20593 #include <$ac_header>
20595 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20596 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20598 grep -v '^ *+' conftest.er1
>conftest.err
20600 cat conftest.err
>&5
20601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20602 (exit $ac_status); } >/dev
/null
; then
20603 if test -s conftest.err
; then
20604 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20605 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20612 if test -z "$ac_cpp_err"; then
20613 ac_header_preproc
=yes
20615 echo "$as_me: failed program was:" >&5
20616 sed 's/^/| /' conftest.
$ac_ext >&5
20618 ac_header_preproc
=no
20620 rm -f conftest.err conftest.
$ac_ext
20621 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20622 echo "${ECHO_T}$ac_header_preproc" >&6
20624 # So? What about this header?
20625 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20627 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20628 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20629 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20630 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20631 ac_header_preproc
=yes
20634 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20635 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20636 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20637 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20638 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20639 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20640 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20641 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20642 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20643 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20644 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20645 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20648 ## ----------------------------------------- ##
20649 ## Report this to wx-dev@lists.wxwidgets.org ##
20650 ## ----------------------------------------- ##
20653 sed "s/^/$as_me: WARNING: /" >&2
20656 echo "$as_me:$LINENO: checking for $ac_header" >&5
20657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20659 echo $ECHO_N "(cached) $ECHO_C" >&6
20661 eval "$as_ac_Header=\$ac_header_preproc"
20663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20664 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20667 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20668 cat >>confdefs.h
<<_ACEOF
20669 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20677 if test "$ac_cv_header_iostream" = "yes" ; then
20680 cat >>confdefs.h
<<\_ACEOF
20681 #define wxUSE_IOSTREAMH 1
20687 ac_cpp
='$CPP $CPPFLAGS'
20688 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20689 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20690 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20695 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
20696 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
20697 if test "${wx_cv_cpp_bool+set}" = set; then
20698 echo $ECHO_N "(cached) $ECHO_C" >&6
20704 ac_cpp
='$CXXCPP $CPPFLAGS'
20705 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20706 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20707 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20710 cat >conftest.
$ac_ext <<_ACEOF
20713 cat confdefs.h
>>conftest.
$ac_ext
20714 cat >>conftest.
$ac_ext <<_ACEOF
20715 /* end confdefs.h. */
20730 rm -f conftest.
$ac_objext
20731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20732 (eval $ac_compile) 2>conftest.er1
20734 grep -v '^ *+' conftest.er1
>conftest.err
20736 cat conftest.err
>&5
20737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20738 (exit $ac_status); } &&
20739 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20741 (eval $ac_try) 2>&5
20743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20744 (exit $ac_status); }; } &&
20745 { ac_try
='test -s conftest.$ac_objext'
20746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20747 (eval $ac_try) 2>&5
20749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20750 (exit $ac_status); }; }; then
20755 echo "$as_me: failed program was:" >&5
20756 sed 's/^/| /' conftest.
$ac_ext >&5
20763 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20766 ac_cpp
='$CPP $CPPFLAGS'
20767 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20768 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20769 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20773 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
20774 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
20776 if test "$wx_cv_cpp_bool" = "yes"; then
20777 cat >>confdefs.h
<<\_ACEOF
20778 #define HAVE_BOOL 1
20785 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
20786 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
20787 if test "${wx_cv_explicit+set}" = set; then
20788 echo $ECHO_N "(cached) $ECHO_C" >&6
20794 ac_cpp
='$CXXCPP $CPPFLAGS'
20795 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20796 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20797 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20800 cat >conftest.
$ac_ext <<_ACEOF
20803 cat confdefs.h
>>conftest.
$ac_ext
20804 cat >>conftest.
$ac_ext <<_ACEOF
20805 /* end confdefs.h. */
20807 class Foo { public: explicit Foo(int) {} };
20819 rm -f conftest.
$ac_objext
20820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20821 (eval $ac_compile) 2>conftest.er1
20823 grep -v '^ *+' conftest.er1
>conftest.err
20825 cat conftest.err
>&5
20826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20827 (exit $ac_status); } &&
20828 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20830 (eval $ac_try) 2>&5
20832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20833 (exit $ac_status); }; } &&
20834 { ac_try
='test -s conftest.$ac_objext'
20835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20836 (eval $ac_try) 2>&5
20838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20839 (exit $ac_status); }; }; then
20841 cat >conftest.
$ac_ext <<_ACEOF
20844 cat confdefs.h
>>conftest.
$ac_ext
20845 cat >>conftest.
$ac_ext <<_ACEOF
20846 /* end confdefs.h. */
20848 class Foo { public: explicit Foo(int) {} };
20849 static void TakeFoo(const Foo& foo) { }
20862 rm -f conftest.
$ac_objext
20863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20864 (eval $ac_compile) 2>conftest.er1
20866 grep -v '^ *+' conftest.er1
>conftest.err
20868 cat conftest.err
>&5
20869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20870 (exit $ac_status); } &&
20871 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20873 (eval $ac_try) 2>&5
20875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20876 (exit $ac_status); }; } &&
20877 { ac_try
='test -s conftest.$ac_objext'
20878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20879 (eval $ac_try) 2>&5
20881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20882 (exit $ac_status); }; }; then
20885 echo "$as_me: failed program was:" >&5
20886 sed 's/^/| /' conftest.
$ac_ext >&5
20891 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20894 echo "$as_me: failed program was:" >&5
20895 sed 's/^/| /' conftest.
$ac_ext >&5
20900 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20903 ac_cpp
='$CPP $CPPFLAGS'
20904 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20905 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20906 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20910 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
20911 echo "${ECHO_T}$wx_cv_explicit" >&6
20913 if test "$wx_cv_explicit" = "yes"; then
20914 cat >>confdefs.h
<<\_ACEOF
20915 #define HAVE_EXPLICIT 1
20921 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
20922 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
20923 if test "${ac_cv_cxx_const_cast+set}" = set; then
20924 echo $ECHO_N "(cached) $ECHO_C" >&6
20929 ac_cpp
='$CXXCPP $CPPFLAGS'
20930 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20931 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20932 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20934 cat >conftest.
$ac_ext <<_ACEOF
20937 cat confdefs.h
>>conftest.
$ac_ext
20938 cat >>conftest.
$ac_ext <<_ACEOF
20939 /* end confdefs.h. */
20944 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
20949 rm -f conftest.
$ac_objext
20950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20951 (eval $ac_compile) 2>conftest.er1
20953 grep -v '^ *+' conftest.er1
>conftest.err
20955 cat conftest.err
>&5
20956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20957 (exit $ac_status); } &&
20958 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20960 (eval $ac_try) 2>&5
20962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20963 (exit $ac_status); }; } &&
20964 { ac_try
='test -s conftest.$ac_objext'
20965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20966 (eval $ac_try) 2>&5
20968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20969 (exit $ac_status); }; }; then
20970 ac_cv_cxx_const_cast
=yes
20972 echo "$as_me: failed program was:" >&5
20973 sed 's/^/| /' conftest.
$ac_ext >&5
20975 ac_cv_cxx_const_cast
=no
20977 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20979 ac_cpp
='$CPP $CPPFLAGS'
20980 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20981 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20982 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20986 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
20987 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
20988 if test "$ac_cv_cxx_const_cast" = yes; then
20990 cat >>confdefs.h
<<\_ACEOF
20991 #define HAVE_CONST_CAST
20996 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
20997 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
20998 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
20999 echo $ECHO_N "(cached) $ECHO_C" >&6
21004 ac_cpp
='$CXXCPP $CPPFLAGS'
21005 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21006 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21007 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21009 cat >conftest.
$ac_ext <<_ACEOF
21012 cat confdefs.h
>>conftest.
$ac_ext
21013 cat >>conftest.
$ac_ext <<_ACEOF
21014 /* end confdefs.h. */
21015 #include <typeinfo>
21016 class Base { public : Base () {} virtual void f () = 0;};
21017 class Derived : public Base { public : Derived () {} virtual void f () {} };
21018 class Unrelated { public : Unrelated () {} };
21019 int g (Unrelated&) { return 0; }
21024 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
21029 rm -f conftest.
$ac_objext
21030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21031 (eval $ac_compile) 2>conftest.er1
21033 grep -v '^ *+' conftest.er1
>conftest.err
21035 cat conftest.err
>&5
21036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21037 (exit $ac_status); } &&
21038 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21040 (eval $ac_try) 2>&5
21042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21043 (exit $ac_status); }; } &&
21044 { ac_try
='test -s conftest.$ac_objext'
21045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21046 (eval $ac_try) 2>&5
21048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21049 (exit $ac_status); }; }; then
21050 ac_cv_cxx_reinterpret_cast
=yes
21052 echo "$as_me: failed program was:" >&5
21053 sed 's/^/| /' conftest.
$ac_ext >&5
21055 ac_cv_cxx_reinterpret_cast
=no
21057 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21059 ac_cpp
='$CPP $CPPFLAGS'
21060 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21061 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21062 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21066 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
21067 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
21068 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
21070 cat >>confdefs.h
<<\_ACEOF
21071 #define HAVE_REINTERPRET_CAST
21076 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
21077 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
21078 if test "${ac_cv_cxx_static_cast+set}" = set; then
21079 echo $ECHO_N "(cached) $ECHO_C" >&6
21084 ac_cpp
='$CXXCPP $CPPFLAGS'
21085 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21086 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21087 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21089 cat >conftest.
$ac_ext <<_ACEOF
21092 cat confdefs.h
>>conftest.
$ac_ext
21093 cat >>conftest.
$ac_ext <<_ACEOF
21094 /* end confdefs.h. */
21095 #include <typeinfo>
21096 class Base { public : Base () {} virtual void f () = 0; };
21097 class Derived : public Base { public : Derived () {} virtual void f () {} };
21098 int g (Derived&) { return 0; }
21103 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
21108 rm -f conftest.
$ac_objext
21109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21110 (eval $ac_compile) 2>conftest.er1
21112 grep -v '^ *+' conftest.er1
>conftest.err
21114 cat conftest.err
>&5
21115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21116 (exit $ac_status); } &&
21117 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21119 (eval $ac_try) 2>&5
21121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21122 (exit $ac_status); }; } &&
21123 { ac_try
='test -s conftest.$ac_objext'
21124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21125 (eval $ac_try) 2>&5
21127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21128 (exit $ac_status); }; }; then
21129 ac_cv_cxx_static_cast
=yes
21131 echo "$as_me: failed program was:" >&5
21132 sed 's/^/| /' conftest.
$ac_ext >&5
21134 ac_cv_cxx_static_cast
=no
21136 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21138 ac_cpp
='$CPP $CPPFLAGS'
21139 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21140 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21141 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21145 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
21146 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
21147 if test "$ac_cv_cxx_static_cast" = yes; then
21149 cat >>confdefs.h
<<\_ACEOF
21150 #define HAVE_STATIC_CAST
21156 if test "x$SUNCXX" = xyes
; then
21157 CXXFLAGS
="$CXXFLAGS -features=tmplife"
21160 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21162 ac_cpp
='$CXXCPP $CPPFLAGS'
21163 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21164 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21165 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21168 if test "$wxUSE_UNICODE" = "yes"; then
21169 std_string
="std::wstring"
21170 char_type
="wchar_t"
21172 std_string
="std::string"
21176 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
21177 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
21178 cat >conftest.
$ac_ext <<_ACEOF
21181 cat confdefs.h
>>conftest.
$ac_ext
21182 cat >>conftest.
$ac_ext <<_ACEOF
21183 /* end confdefs.h. */
21193 rm -f conftest.
$ac_objext
21194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21195 (eval $ac_compile) 2>conftest.er1
21197 grep -v '^ *+' conftest.er1
>conftest.err
21199 cat conftest.err
>&5
21200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21201 (exit $ac_status); } &&
21202 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21204 (eval $ac_try) 2>&5
21206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21207 (exit $ac_status); }; } &&
21208 { ac_try
='test -s conftest.$ac_objext'
21209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21210 (eval $ac_try) 2>&5
21212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21213 (exit $ac_status); }; }; then
21214 echo "$as_me:$LINENO: result: yes" >&5
21215 echo "${ECHO_T}yes" >&6
21216 cat >>confdefs.h
<<\_ACEOF
21217 #define HAVE_STD_WSTRING 1
21221 echo "$as_me: failed program was:" >&5
21222 sed 's/^/| /' conftest.
$ac_ext >&5
21224 echo "$as_me:$LINENO: result: no" >&5
21225 echo "${ECHO_T}no" >&6
21226 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
21227 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
21228 cat >conftest.
$ac_ext <<_ACEOF
21231 cat confdefs.h
>>conftest.
$ac_ext
21232 cat >>conftest.
$ac_ext <<_ACEOF
21233 /* end confdefs.h. */
21235 #ifdef HAVE_WCHAR_H
21237 # include <stddef.h>
21239 # include <wchar.h>
21241 #ifdef HAVE_STDLIB_H
21242 # include <stdlib.h>
21250 std::basic_string<$char_type> foo;
21251 const $char_type* dummy = foo.c_str();
21256 rm -f conftest.
$ac_objext
21257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21258 (eval $ac_compile) 2>conftest.er1
21260 grep -v '^ *+' conftest.er1
>conftest.err
21262 cat conftest.err
>&5
21263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21264 (exit $ac_status); } &&
21265 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21267 (eval $ac_try) 2>&5
21269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21270 (exit $ac_status); }; } &&
21271 { ac_try
='test -s conftest.$ac_objext'
21272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21273 (eval $ac_try) 2>&5
21275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21276 (exit $ac_status); }; }; then
21277 echo "$as_me:$LINENO: result: yes" >&5
21278 echo "${ECHO_T}yes" >&6
21280 echo "$as_me: failed program was:" >&5
21281 sed 's/^/| /' conftest.
$ac_ext >&5
21283 echo "$as_me:$LINENO: result: no" >&5
21284 echo "${ECHO_T}no" >&6
21285 if test "$wxUSE_STL" = "yes"; then
21286 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
21287 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
21288 { (exit 1); exit 1; }; }
21289 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
21290 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
21291 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
21292 { (exit 1); exit 1; }; }
21294 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21295 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21296 wxUSE_STD_STRING
=no
21301 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21304 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21307 ac_cpp
='$CPP $CPPFLAGS'
21308 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21309 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21310 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21314 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21316 ac_cpp
='$CXXCPP $CPPFLAGS'
21317 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21318 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21319 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21322 echo "$as_me:$LINENO: checking for std::istream" >&5
21323 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
21324 if test "${ac_cv_type_std__istream+set}" = set; then
21325 echo $ECHO_N "(cached) $ECHO_C" >&6
21327 cat >conftest.
$ac_ext <<_ACEOF
21330 cat confdefs.h
>>conftest.
$ac_ext
21331 cat >>conftest.
$ac_ext <<_ACEOF
21332 /* end confdefs.h. */
21333 #include <iostream>
21338 if ((std::istream *) 0)
21340 if (sizeof (std::istream))
21346 rm -f conftest.
$ac_objext
21347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21348 (eval $ac_compile) 2>conftest.er1
21350 grep -v '^ *+' conftest.er1
>conftest.err
21352 cat conftest.err
>&5
21353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21354 (exit $ac_status); } &&
21355 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21357 (eval $ac_try) 2>&5
21359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21360 (exit $ac_status); }; } &&
21361 { ac_try
='test -s conftest.$ac_objext'
21362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21363 (eval $ac_try) 2>&5
21365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21366 (exit $ac_status); }; }; then
21367 ac_cv_type_std__istream
=yes
21369 echo "$as_me: failed program was:" >&5
21370 sed 's/^/| /' conftest.
$ac_ext >&5
21372 ac_cv_type_std__istream
=no
21374 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21376 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
21377 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
21378 if test $ac_cv_type_std__istream = yes; then
21380 cat >>confdefs.h
<<_ACEOF
21381 #define HAVE_STD__ISTREAM 1
21386 wxUSE_STD_IOSTREAM
=no
21388 echo "$as_me:$LINENO: checking for std::ostream" >&5
21389 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
21390 if test "${ac_cv_type_std__ostream+set}" = set; then
21391 echo $ECHO_N "(cached) $ECHO_C" >&6
21393 cat >conftest.
$ac_ext <<_ACEOF
21396 cat confdefs.h
>>conftest.
$ac_ext
21397 cat >>conftest.
$ac_ext <<_ACEOF
21398 /* end confdefs.h. */
21399 #include <iostream>
21404 if ((std::ostream *) 0)
21406 if (sizeof (std::ostream))
21412 rm -f conftest.
$ac_objext
21413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21414 (eval $ac_compile) 2>conftest.er1
21416 grep -v '^ *+' conftest.er1
>conftest.err
21418 cat conftest.err
>&5
21419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21420 (exit $ac_status); } &&
21421 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21423 (eval $ac_try) 2>&5
21425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21426 (exit $ac_status); }; } &&
21427 { ac_try
='test -s conftest.$ac_objext'
21428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21429 (eval $ac_try) 2>&5
21431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21432 (exit $ac_status); }; }; then
21433 ac_cv_type_std__ostream
=yes
21435 echo "$as_me: failed program was:" >&5
21436 sed 's/^/| /' conftest.
$ac_ext >&5
21438 ac_cv_type_std__ostream
=no
21440 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21442 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
21443 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
21444 if test $ac_cv_type_std__ostream = yes; then
21446 cat >>confdefs.h
<<_ACEOF
21447 #define HAVE_STD__OSTREAM 1
21452 wxUSE_STD_IOSTREAM
=no
21456 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21457 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
21458 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
21459 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
21460 { (exit 1); exit 1; }; }
21462 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21463 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21468 ac_cpp
='$CPP $CPPFLAGS'
21469 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21470 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21471 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21475 if test "$wxUSE_STL" = "yes"; then
21477 ac_cpp
='$CXXCPP $CPPFLAGS'
21478 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21479 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21480 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21483 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
21484 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
21485 cat >conftest.
$ac_ext <<_ACEOF
21488 cat confdefs.h
>>conftest.
$ac_ext
21489 cat >>conftest.
$ac_ext <<_ACEOF
21490 /* end confdefs.h. */
21492 #include <functional>
21493 #include <algorithm>
21499 std::vector<int> moo;
21500 std::list<int> foo;
21501 std::vector<int>::iterator it =
21502 std::find_if(moo.begin(), moo.end(),
21503 std::bind2nd(std::less<int>(), 3));
21508 rm -f conftest.
$ac_objext
21509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21510 (eval $ac_compile) 2>conftest.er1
21512 grep -v '^ *+' conftest.er1
>conftest.err
21514 cat conftest.err
>&5
21515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21516 (exit $ac_status); } &&
21517 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21519 (eval $ac_try) 2>&5
21521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21522 (exit $ac_status); }; } &&
21523 { ac_try
='test -s conftest.$ac_objext'
21524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21525 (eval $ac_try) 2>&5
21527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21528 (exit $ac_status); }; }; then
21529 echo "$as_me:$LINENO: result: yes" >&5
21530 echo "${ECHO_T}yes" >&6
21532 echo "$as_me: failed program was:" >&5
21533 sed 's/^/| /' conftest.
$ac_ext >&5
21535 echo "$as_me:$LINENO: result: no" >&5
21536 echo "${ECHO_T}no" >&6
21537 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
21538 echo "$as_me: error: Basic STL functionality missing" >&2;}
21539 { (exit 1); exit 1; }; }
21541 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21543 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
21544 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
21545 cat >conftest.
$ac_ext <<_ACEOF
21548 cat confdefs.h
>>conftest.
$ac_ext
21549 cat >>conftest.
$ac_ext <<_ACEOF
21550 /* end confdefs.h. */
21555 std::string foo, bar;
21557 foo.compare(1, 1, bar);
21558 foo.compare(1, 1, bar, 1, 1);
21560 foo.compare(1, 1, "");
21561 foo.compare(1, 1, "", 2);
21566 rm -f conftest.
$ac_objext
21567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21568 (eval $ac_compile) 2>conftest.er1
21570 grep -v '^ *+' conftest.er1
>conftest.err
21572 cat conftest.err
>&5
21573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21574 (exit $ac_status); } &&
21575 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21577 (eval $ac_try) 2>&5
21579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21580 (exit $ac_status); }; } &&
21581 { ac_try
='test -s conftest.$ac_objext'
21582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21583 (eval $ac_try) 2>&5
21585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21586 (exit $ac_status); }; }; then
21587 echo "$as_me:$LINENO: result: yes" >&5
21588 echo "${ECHO_T}yes" >&6
21589 cat >>confdefs.h
<<\_ACEOF
21590 #define HAVE_STD_STRING_COMPARE 1
21594 echo "$as_me: failed program was:" >&5
21595 sed 's/^/| /' conftest.
$ac_ext >&5
21597 echo "$as_me:$LINENO: result: no" >&5
21598 echo "${ECHO_T}no" >&6
21600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21602 if test "${ac_cv_header_hash_map+set}" = set; then
21603 echo "$as_me:$LINENO: checking for hash_map" >&5
21604 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21605 if test "${ac_cv_header_hash_map+set}" = set; then
21606 echo $ECHO_N "(cached) $ECHO_C" >&6
21608 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21609 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21611 # Is the header compilable?
21612 echo "$as_me:$LINENO: checking hash_map usability" >&5
21613 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
21614 cat >conftest.
$ac_ext <<_ACEOF
21617 cat confdefs.h
>>conftest.
$ac_ext
21618 cat >>conftest.
$ac_ext <<_ACEOF
21619 /* end confdefs.h. */
21620 $ac_includes_default
21621 #include <hash_map>
21623 rm -f conftest.
$ac_objext
21624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21625 (eval $ac_compile) 2>conftest.er1
21627 grep -v '^ *+' conftest.er1
>conftest.err
21629 cat conftest.err
>&5
21630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21631 (exit $ac_status); } &&
21632 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21634 (eval $ac_try) 2>&5
21636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21637 (exit $ac_status); }; } &&
21638 { ac_try
='test -s conftest.$ac_objext'
21639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21640 (eval $ac_try) 2>&5
21642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21643 (exit $ac_status); }; }; then
21644 ac_header_compiler
=yes
21646 echo "$as_me: failed program was:" >&5
21647 sed 's/^/| /' conftest.
$ac_ext >&5
21649 ac_header_compiler
=no
21651 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21652 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21653 echo "${ECHO_T}$ac_header_compiler" >&6
21655 # Is the header present?
21656 echo "$as_me:$LINENO: checking hash_map presence" >&5
21657 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
21658 cat >conftest.
$ac_ext <<_ACEOF
21661 cat confdefs.h
>>conftest.
$ac_ext
21662 cat >>conftest.
$ac_ext <<_ACEOF
21663 /* end confdefs.h. */
21664 #include <hash_map>
21666 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21667 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21669 grep -v '^ *+' conftest.er1
>conftest.err
21671 cat conftest.err
>&5
21672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21673 (exit $ac_status); } >/dev
/null
; then
21674 if test -s conftest.err
; then
21675 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21676 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21683 if test -z "$ac_cpp_err"; then
21684 ac_header_preproc
=yes
21686 echo "$as_me: failed program was:" >&5
21687 sed 's/^/| /' conftest.
$ac_ext >&5
21689 ac_header_preproc
=no
21691 rm -f conftest.err conftest.
$ac_ext
21692 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21693 echo "${ECHO_T}$ac_header_preproc" >&6
21695 # So? What about this header?
21696 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21698 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21699 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21700 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
21701 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
21702 ac_header_preproc
=yes
21705 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
21706 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
21707 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
21708 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
21709 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
21710 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
21711 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
21712 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21713 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
21714 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
21715 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
21716 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
21719 ## ----------------------------------------- ##
21720 ## Report this to wx-dev@lists.wxwidgets.org ##
21721 ## ----------------------------------------- ##
21724 sed "s/^/$as_me: WARNING: /" >&2
21727 echo "$as_me:$LINENO: checking for hash_map" >&5
21728 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21729 if test "${ac_cv_header_hash_map+set}" = set; then
21730 echo $ECHO_N "(cached) $ECHO_C" >&6
21732 ac_cv_header_hash_map
=$ac_header_preproc
21734 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21735 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21738 if test $ac_cv_header_hash_map = yes; then
21739 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21740 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21741 cat >conftest.
$ac_ext <<_ACEOF
21744 cat confdefs.h
>>conftest.
$ac_ext
21745 cat >>conftest.
$ac_ext <<_ACEOF
21746 /* end confdefs.h. */
21747 #include <hash_map>
21748 #include <hash_set>
21752 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21753 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21758 rm -f conftest.
$ac_objext
21759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21760 (eval $ac_compile) 2>conftest.er1
21762 grep -v '^ *+' conftest.er1
>conftest.err
21764 cat conftest.err
>&5
21765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21766 (exit $ac_status); } &&
21767 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21769 (eval $ac_try) 2>&5
21771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21772 (exit $ac_status); }; } &&
21773 { ac_try
='test -s conftest.$ac_objext'
21774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21775 (eval $ac_try) 2>&5
21777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21778 (exit $ac_status); }; }; then
21779 echo "$as_me:$LINENO: result: yes" >&5
21780 echo "${ECHO_T}yes" >&6
21781 cat >>confdefs.h
<<\_ACEOF
21782 #define HAVE_HASH_MAP 1
21785 cat >>confdefs.h
<<\_ACEOF
21786 #define HAVE_STD_HASH_MAP 1
21790 echo "$as_me: failed program was:" >&5
21791 sed 's/^/| /' conftest.
$ac_ext >&5
21793 echo "$as_me:$LINENO: result: no" >&5
21794 echo "${ECHO_T}no" >&6
21796 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21802 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21803 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21804 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21805 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21806 echo $ECHO_N "(cached) $ECHO_C" >&6
21808 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21809 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21811 # Is the header compilable?
21812 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
21813 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
21814 cat >conftest.
$ac_ext <<_ACEOF
21817 cat confdefs.h
>>conftest.
$ac_ext
21818 cat >>conftest.
$ac_ext <<_ACEOF
21819 /* end confdefs.h. */
21820 $ac_includes_default
21821 #include <ext/hash_map>
21823 rm -f conftest.
$ac_objext
21824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21825 (eval $ac_compile) 2>conftest.er1
21827 grep -v '^ *+' conftest.er1
>conftest.err
21829 cat conftest.err
>&5
21830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21831 (exit $ac_status); } &&
21832 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21834 (eval $ac_try) 2>&5
21836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21837 (exit $ac_status); }; } &&
21838 { ac_try
='test -s conftest.$ac_objext'
21839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21840 (eval $ac_try) 2>&5
21842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21843 (exit $ac_status); }; }; then
21844 ac_header_compiler
=yes
21846 echo "$as_me: failed program was:" >&5
21847 sed 's/^/| /' conftest.
$ac_ext >&5
21849 ac_header_compiler
=no
21851 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21852 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21853 echo "${ECHO_T}$ac_header_compiler" >&6
21855 # Is the header present?
21856 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
21857 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
21858 cat >conftest.
$ac_ext <<_ACEOF
21861 cat confdefs.h
>>conftest.
$ac_ext
21862 cat >>conftest.
$ac_ext <<_ACEOF
21863 /* end confdefs.h. */
21864 #include <ext/hash_map>
21866 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21867 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21869 grep -v '^ *+' conftest.er1
>conftest.err
21871 cat conftest.err
>&5
21872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21873 (exit $ac_status); } >/dev
/null
; then
21874 if test -s conftest.err
; then
21875 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21876 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21883 if test -z "$ac_cpp_err"; then
21884 ac_header_preproc
=yes
21886 echo "$as_me: failed program was:" >&5
21887 sed 's/^/| /' conftest.
$ac_ext >&5
21889 ac_header_preproc
=no
21891 rm -f conftest.err conftest.
$ac_ext
21892 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21893 echo "${ECHO_T}$ac_header_preproc" >&6
21895 # So? What about this header?
21896 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21898 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21899 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21900 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
21901 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
21902 ac_header_preproc
=yes
21905 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
21906 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
21907 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
21908 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
21909 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
21910 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
21911 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
21912 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21913 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
21914 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
21915 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
21916 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
21919 ## ----------------------------------------- ##
21920 ## Report this to wx-dev@lists.wxwidgets.org ##
21921 ## ----------------------------------------- ##
21924 sed "s/^/$as_me: WARNING: /" >&2
21927 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21928 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21929 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21930 echo $ECHO_N "(cached) $ECHO_C" >&6
21932 ac_cv_header_ext_hash_map
=$ac_header_preproc
21934 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21935 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21938 if test $ac_cv_header_ext_hash_map = yes; then
21939 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21940 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21941 cat >conftest.
$ac_ext <<_ACEOF
21944 cat confdefs.h
>>conftest.
$ac_ext
21945 cat >>conftest.
$ac_ext <<_ACEOF
21946 /* end confdefs.h. */
21947 #include <ext/hash_map>
21948 #include <ext/hash_set>
21952 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21953 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21958 rm -f conftest.
$ac_objext
21959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21960 (eval $ac_compile) 2>conftest.er1
21962 grep -v '^ *+' conftest.er1
>conftest.err
21964 cat conftest.err
>&5
21965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21966 (exit $ac_status); } &&
21967 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21969 (eval $ac_try) 2>&5
21971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21972 (exit $ac_status); }; } &&
21973 { ac_try
='test -s conftest.$ac_objext'
21974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21975 (eval $ac_try) 2>&5
21977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21978 (exit $ac_status); }; }; then
21979 echo "$as_me:$LINENO: result: yes" >&5
21980 echo "${ECHO_T}yes" >&6
21981 cat >>confdefs.h
<<\_ACEOF
21982 #define HAVE_EXT_HASH_MAP 1
21985 cat >>confdefs.h
<<\_ACEOF
21986 #define HAVE_GNU_CXX_HASH_MAP 1
21990 echo "$as_me: failed program was:" >&5
21991 sed 's/^/| /' conftest.
$ac_ext >&5
21993 echo "$as_me:$LINENO: result: no" >&5
21994 echo "${ECHO_T}no" >&6
21996 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22003 ac_cpp
='$CPP $CPPFLAGS'
22004 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22005 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22006 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22012 /usr/local/include \
22014 /usr/Motif-2.1/include \
22015 /usr/Motif-1.2/include \
22016 /usr/include/Motif1.2 \
22017 /opt/xpm/include/X11 \
22018 /opt/GBxpm/include/ \
22019 /opt/GBxpm/X11/include/ \
22022 /usr/openwin/include \
22026 /usr/X11R6/include \
22027 /usr/X11R6.4/include \
22028 /usr/X11R5/include \
22029 /usr/X11R4/include \
22031 /usr/include/X11R6 \
22032 /usr/include/X11R5 \
22033 /usr/include/X11R4 \
22035 /usr/local/X11R6/include \
22036 /usr/local/X11R5/include \
22037 /usr/local/X11R4/include \
22039 /usr/local/include/X11R6 \
22040 /usr/local/include/X11R5 \
22041 /usr/local/include/X11R4 \
22045 /usr/local/X11/include \
22046 /usr/local/include/X11 \
22048 /usr/X386/include \
22049 /usr/x386/include \
22050 /usr/XFree86/include/X11 \
22054 X:/XFree86/include \
22055 X:/XFree86/include/X11 \
22058 /usr/local/include/gtk \
22059 /usr/include/glib \
22060 /usr/local/include/glib \
22063 /usr/local/include/qt \
22065 /usr/local/arm/3.3.2/include \
22067 /usr/include/windows \
22068 /usr/include/wine \
22069 /usr/local/include/wine \
22071 /usr/unsupported/include \
22072 /usr/athena/include \
22073 /usr/local/x11r5/include \
22074 /usr/lpp/Xamples/include \
22076 /usr/openwin/share/include"
22078 SEARCH_LIB
="/usr/lib /usr/lib32 /usr/lib64 /usr/X11R6/lib64 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g`"
22080 if test "$build" != "$host" -a "$GCC" = yes; then
22081 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
22082 cross_root
=`dirname $cross_root`
22083 cross_root
=`dirname $cross_root`
22085 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22086 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22088 if test -z "$PKG_CONFIG_PATH"; then
22089 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
22090 export PKG_CONFIG_PATH
22093 if test -z "$x_includes" -o "$x_includes" = NONE
; then
22096 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
22098 if test -f "$ac_dir/X11/Intrinsic.h"; then
22099 ac_find_includes
=$ac_dir
22104 x_includes
=$ac_find_includes
22106 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
22109 for ac_dir
in $SEARCH_LIB /usr
/lib
;
22111 for ac_extension
in a so sl dylib dll.a
; do
22112 if test -f "$ac_dir/libXt.$ac_extension"; then
22113 ac_find_libraries
=$ac_dir
22119 x_libraries
=$ac_find_libraries
22125 cat >confcache
<<\_ACEOF
22126 # This file is a shell script that caches the results of configure
22127 # tests run on this system so they can be shared between configure
22128 # scripts and configure runs, see configure's option --config-cache.
22129 # It is not useful on other systems. If it contains results you don't
22130 # want to keep, you may remove or edit it.
22132 # config.status only pays attention to the cache file if you give it
22133 # the --recheck option to rerun configure.
22135 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22136 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22137 # following values.
22141 # The following way of writing the cache mishandles newlines in values,
22142 # but we know of no workaround that is simple, portable, and efficient.
22143 # So, don't put newlines in cache variables' values.
22144 # Ultrix sh set writes to stderr and can't be redirected directly,
22145 # and sets the high bit in the cache file unless we assign to the vars.
22148 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22150 # `set' does not quote correctly, so add quotes (double-quote
22151 # substitution turns \\\\ into \\, and sed turns \\ into \).
22154 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22157 # `set' quotes correctly as required by POSIX, so do not add quotes.
22159 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22166 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22168 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22170 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
22171 if test -w $cache_file; then
22172 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22173 cat confcache
>$cache_file
22175 echo "not updating unwritable cache $cache_file"
22180 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
22181 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
22182 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
22183 if test "${wx_cv_lib_glibc21+set}" = set; then
22184 echo $ECHO_N "(cached) $ECHO_C" >&6
22187 cat >conftest.
$ac_ext <<_ACEOF
22190 cat confdefs.h
>>conftest.
$ac_ext
22191 cat >>conftest.
$ac_ext <<_ACEOF
22192 /* end confdefs.h. */
22193 #include <features.h>
22198 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
22206 rm -f conftest.
$ac_objext
22207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22208 (eval $ac_compile) 2>conftest.er1
22210 grep -v '^ *+' conftest.er1
>conftest.err
22212 cat conftest.err
>&5
22213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22214 (exit $ac_status); } &&
22215 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22217 (eval $ac_try) 2>&5
22219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22220 (exit $ac_status); }; } &&
22221 { ac_try
='test -s conftest.$ac_objext'
22222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22223 (eval $ac_try) 2>&5
22225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22226 (exit $ac_status); }; }; then
22228 wx_cv_lib_glibc21
=yes
22231 echo "$as_me: failed program was:" >&5
22232 sed 's/^/| /' conftest.
$ac_ext >&5
22235 wx_cv_lib_glibc21
=no
22239 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22242 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
22243 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
22244 if test "$wx_cv_lib_glibc21" = "yes"; then
22245 cat >>confdefs.h
<<\_ACEOF
22246 #define wxHAVE_GLIBC2 1
22252 if test "x$wx_cv_lib_glibc21" = "xyes"; then
22253 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
22254 cat >>confdefs.h
<<\_ACEOF
22255 #define _GNU_SOURCE 1
22263 if test "$wxUSE_REGEX" != "no"; then
22264 cat >>confdefs.h
<<\_ACEOF
22265 #define wxUSE_REGEX 1
22269 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22270 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
22271 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
22272 wxUSE_REGEX
=builtin
22275 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22276 if test "${ac_cv_header_regex_h+set}" = set; then
22277 echo "$as_me:$LINENO: checking for regex.h" >&5
22278 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22279 if test "${ac_cv_header_regex_h+set}" = set; then
22280 echo $ECHO_N "(cached) $ECHO_C" >&6
22282 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22283 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22285 # Is the header compilable?
22286 echo "$as_me:$LINENO: checking regex.h usability" >&5
22287 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
22288 cat >conftest.
$ac_ext <<_ACEOF
22291 cat confdefs.h
>>conftest.
$ac_ext
22292 cat >>conftest.
$ac_ext <<_ACEOF
22293 /* end confdefs.h. */
22294 $ac_includes_default
22297 rm -f conftest.
$ac_objext
22298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22299 (eval $ac_compile) 2>conftest.er1
22301 grep -v '^ *+' conftest.er1
>conftest.err
22303 cat conftest.err
>&5
22304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22305 (exit $ac_status); } &&
22306 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22308 (eval $ac_try) 2>&5
22310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22311 (exit $ac_status); }; } &&
22312 { ac_try
='test -s conftest.$ac_objext'
22313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22314 (eval $ac_try) 2>&5
22316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22317 (exit $ac_status); }; }; then
22318 ac_header_compiler
=yes
22320 echo "$as_me: failed program was:" >&5
22321 sed 's/^/| /' conftest.
$ac_ext >&5
22323 ac_header_compiler
=no
22325 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22326 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22327 echo "${ECHO_T}$ac_header_compiler" >&6
22329 # Is the header present?
22330 echo "$as_me:$LINENO: checking regex.h presence" >&5
22331 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
22332 cat >conftest.
$ac_ext <<_ACEOF
22335 cat confdefs.h
>>conftest.
$ac_ext
22336 cat >>conftest.
$ac_ext <<_ACEOF
22337 /* end confdefs.h. */
22340 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22341 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22343 grep -v '^ *+' conftest.er1
>conftest.err
22345 cat conftest.err
>&5
22346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22347 (exit $ac_status); } >/dev
/null
; then
22348 if test -s conftest.err
; then
22349 ac_cpp_err
=$ac_c_preproc_warn_flag
22350 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22357 if test -z "$ac_cpp_err"; then
22358 ac_header_preproc
=yes
22360 echo "$as_me: failed program was:" >&5
22361 sed 's/^/| /' conftest.
$ac_ext >&5
22363 ac_header_preproc
=no
22365 rm -f conftest.err conftest.
$ac_ext
22366 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22367 echo "${ECHO_T}$ac_header_preproc" >&6
22369 # So? What about this header?
22370 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22372 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
22373 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22374 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
22375 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
22376 ac_header_preproc
=yes
22379 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
22380 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
22381 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
22382 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
22383 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
22384 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
22385 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
22386 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
22387 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
22388 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
22389 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
22390 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
22393 ## ----------------------------------------- ##
22394 ## Report this to wx-dev@lists.wxwidgets.org ##
22395 ## ----------------------------------------- ##
22398 sed "s/^/$as_me: WARNING: /" >&2
22401 echo "$as_me:$LINENO: checking for regex.h" >&5
22402 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22403 if test "${ac_cv_header_regex_h+set}" = set; then
22404 echo $ECHO_N "(cached) $ECHO_C" >&6
22406 ac_cv_header_regex_h
=$ac_header_preproc
22408 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22409 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22412 if test $ac_cv_header_regex_h = yes; then
22414 for ac_func
in regcomp
22416 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22417 echo "$as_me:$LINENO: checking for $ac_func" >&5
22418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22419 if eval "test \"\${$as_ac_var+set}\" = set"; then
22420 echo $ECHO_N "(cached) $ECHO_C" >&6
22422 cat >conftest.
$ac_ext <<_ACEOF
22425 cat confdefs.h
>>conftest.
$ac_ext
22426 cat >>conftest.
$ac_ext <<_ACEOF
22427 /* end confdefs.h. */
22428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22430 #define $ac_func innocuous_$ac_func
22432 /* System header to define __stub macros and hopefully few prototypes,
22433 which can conflict with char $ac_func (); below.
22434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22435 <limits.h> exists even on freestanding compilers. */
22438 # include <limits.h>
22440 # include <assert.h>
22445 /* Override any gcc2 internal prototype to avoid an error. */
22450 /* We use char because int might match the return type of a gcc2
22451 builtin and then its argument prototype would still apply. */
22453 /* The GNU C library defines this for functions which it implements
22454 to always fail with ENOSYS. Some functions are actually named
22455 something starting with __ and the normal name is an alias. */
22456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22459 char (*f) () = $ac_func;
22468 return f != $ac_func;
22473 rm -f conftest.
$ac_objext conftest
$ac_exeext
22474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22475 (eval $ac_link) 2>conftest.er1
22477 grep -v '^ *+' conftest.er1
>conftest.err
22479 cat conftest.err
>&5
22480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22481 (exit $ac_status); } &&
22482 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22484 (eval $ac_try) 2>&5
22486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22487 (exit $ac_status); }; } &&
22488 { ac_try
='test -s conftest$ac_exeext'
22489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22490 (eval $ac_try) 2>&5
22492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22493 (exit $ac_status); }; }; then
22494 eval "$as_ac_var=yes"
22496 echo "$as_me: failed program was:" >&5
22497 sed 's/^/| /' conftest.
$ac_ext >&5
22499 eval "$as_ac_var=no"
22501 rm -f conftest.err conftest.
$ac_objext \
22502 conftest
$ac_exeext conftest.
$ac_ext
22504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22506 if test `eval echo '${'$as_ac_var'}'` = yes; then
22507 cat >>confdefs.h
<<_ACEOF
22508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22518 if test "x$ac_cv_func_regcomp" != "xyes"; then
22519 if test "$wxUSE_REGEX" = "sys" ; then
22520 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
22521 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
22522 { (exit 1); exit 1; }; }
22524 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
22525 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22526 wxUSE_REGEX
=builtin
22530 cat >>confdefs.h
<<\_ACEOF
22531 #define WX_NO_REGEX_ADVANCED 1
22540 if test "$wxUSE_ZLIB" != "no" ; then
22541 cat >>confdefs.h
<<\_ACEOF
22542 #define wxUSE_ZLIB 1
22546 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22547 if test "$USE_DARWIN" = 1; then
22548 system_zlib_h_ok
="yes"
22550 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
22551 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
22552 if test "${ac_cv_header_zlib_h+set}" = set; then
22553 echo $ECHO_N "(cached) $ECHO_C" >&6
22555 if test "$cross_compiling" = yes; then
22556 unset ac_cv_header_zlib_h
22559 cat >conftest.
$ac_ext <<_ACEOF
22562 cat confdefs.h
>>conftest.
$ac_ext
22563 cat >>conftest.
$ac_ext <<_ACEOF
22564 /* end confdefs.h. */
22571 FILE *f=fopen("conftestval", "w");
22574 ZLIB_VERSION[0] == '1' &&
22575 (ZLIB_VERSION[2] > '1' ||
22576 (ZLIB_VERSION[2] == '1' &&
22577 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22582 rm -f conftest
$ac_exeext
22583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22584 (eval $ac_link) 2>&5
22586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22587 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22589 (eval $ac_try) 2>&5
22591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22592 (exit $ac_status); }; }; then
22593 ac_cv_header_zlib_h
=`cat conftestval`
22595 echo "$as_me: program exited with status $ac_status" >&5
22596 echo "$as_me: failed program was:" >&5
22597 sed 's/^/| /' conftest.
$ac_ext >&5
22599 ( exit $ac_status )
22600 ac_cv_header_zlib_h
=no
22602 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22606 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22607 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22608 if test "${ac_cv_header_zlib_h+set}" = set; then
22609 echo "$as_me:$LINENO: checking for zlib.h" >&5
22610 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22611 if test "${ac_cv_header_zlib_h+set}" = set; then
22612 echo $ECHO_N "(cached) $ECHO_C" >&6
22614 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22615 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22617 # Is the header compilable?
22618 echo "$as_me:$LINENO: checking zlib.h usability" >&5
22619 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
22620 cat >conftest.
$ac_ext <<_ACEOF
22623 cat confdefs.h
>>conftest.
$ac_ext
22624 cat >>conftest.
$ac_ext <<_ACEOF
22625 /* end confdefs.h. */
22626 $ac_includes_default
22629 rm -f conftest.
$ac_objext
22630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22631 (eval $ac_compile) 2>conftest.er1
22633 grep -v '^ *+' conftest.er1
>conftest.err
22635 cat conftest.err
>&5
22636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22637 (exit $ac_status); } &&
22638 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22640 (eval $ac_try) 2>&5
22642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22643 (exit $ac_status); }; } &&
22644 { ac_try
='test -s conftest.$ac_objext'
22645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22646 (eval $ac_try) 2>&5
22648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22649 (exit $ac_status); }; }; then
22650 ac_header_compiler
=yes
22652 echo "$as_me: failed program was:" >&5
22653 sed 's/^/| /' conftest.
$ac_ext >&5
22655 ac_header_compiler
=no
22657 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22658 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22659 echo "${ECHO_T}$ac_header_compiler" >&6
22661 # Is the header present?
22662 echo "$as_me:$LINENO: checking zlib.h presence" >&5
22663 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
22664 cat >conftest.
$ac_ext <<_ACEOF
22667 cat confdefs.h
>>conftest.
$ac_ext
22668 cat >>conftest.
$ac_ext <<_ACEOF
22669 /* end confdefs.h. */
22672 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22673 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22675 grep -v '^ *+' conftest.er1
>conftest.err
22677 cat conftest.err
>&5
22678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22679 (exit $ac_status); } >/dev
/null
; then
22680 if test -s conftest.err
; then
22681 ac_cpp_err
=$ac_c_preproc_warn_flag
22682 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22689 if test -z "$ac_cpp_err"; then
22690 ac_header_preproc
=yes
22692 echo "$as_me: failed program was:" >&5
22693 sed 's/^/| /' conftest.
$ac_ext >&5
22695 ac_header_preproc
=no
22697 rm -f conftest.err conftest.
$ac_ext
22698 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22699 echo "${ECHO_T}$ac_header_preproc" >&6
22701 # So? What about this header?
22702 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22704 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
22705 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22706 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
22707 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
22708 ac_header_preproc
=yes
22711 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
22712 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
22713 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
22714 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
22715 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
22716 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
22717 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
22718 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
22719 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
22720 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
22721 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
22722 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
22725 ## ----------------------------------------- ##
22726 ## Report this to wx-dev@lists.wxwidgets.org ##
22727 ## ----------------------------------------- ##
22730 sed "s/^/$as_me: WARNING: /" >&2
22733 echo "$as_me:$LINENO: checking for zlib.h" >&5
22734 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22735 if test "${ac_cv_header_zlib_h+set}" = set; then
22736 echo $ECHO_N "(cached) $ECHO_C" >&6
22738 ac_cv_header_zlib_h
=$ac_header_preproc
22740 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22741 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22747 system_zlib_h_ok
=$ac_cv_header_zlib_h
22750 if test "$system_zlib_h_ok" = "yes"; then
22751 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
22752 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
22753 if test "${ac_cv_lib_z_deflate+set}" = set; then
22754 echo $ECHO_N "(cached) $ECHO_C" >&6
22756 ac_check_lib_save_LIBS
=$LIBS
22758 cat >conftest.
$ac_ext <<_ACEOF
22761 cat confdefs.h
>>conftest.
$ac_ext
22762 cat >>conftest.
$ac_ext <<_ACEOF
22763 /* end confdefs.h. */
22765 /* Override any gcc2 internal prototype to avoid an error. */
22769 /* We use char because int might match the return type of a gcc2
22770 builtin and then its argument prototype would still apply. */
22780 rm -f conftest.
$ac_objext conftest
$ac_exeext
22781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22782 (eval $ac_link) 2>conftest.er1
22784 grep -v '^ *+' conftest.er1
>conftest.err
22786 cat conftest.err
>&5
22787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22788 (exit $ac_status); } &&
22789 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22791 (eval $ac_try) 2>&5
22793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22794 (exit $ac_status); }; } &&
22795 { ac_try
='test -s conftest$ac_exeext'
22796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22797 (eval $ac_try) 2>&5
22799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22800 (exit $ac_status); }; }; then
22801 ac_cv_lib_z_deflate
=yes
22803 echo "$as_me: failed program was:" >&5
22804 sed 's/^/| /' conftest.
$ac_ext >&5
22806 ac_cv_lib_z_deflate
=no
22808 rm -f conftest.err conftest.
$ac_objext \
22809 conftest
$ac_exeext conftest.
$ac_ext
22810 LIBS
=$ac_check_lib_save_LIBS
22812 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
22813 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
22814 if test $ac_cv_lib_z_deflate = yes; then
22820 if test "x$ZLIB_LINK" = "x" ; then
22821 if test "$wxUSE_ZLIB" = "sys" ; then
22822 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
22823 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
22824 { (exit 1); exit 1; }; }
22826 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
22827 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22838 if test "$wxUSE_LIBPNG" != "no" ; then
22839 cat >>confdefs.h
<<\_ACEOF
22840 #define wxUSE_LIBPNG 1
22844 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
22845 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
22846 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
22850 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22851 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22852 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22853 wxUSE_LIBPNG
=builtin
22856 if test "$wxUSE_MGL" != 1 ; then
22857 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22858 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
22859 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
22860 if test "${ac_cv_header_png_h+set}" = set; then
22861 echo $ECHO_N "(cached) $ECHO_C" >&6
22863 if test "$cross_compiling" = yes; then
22864 unset ac_cv_header_png_h
22867 cat >conftest.
$ac_ext <<_ACEOF
22870 cat confdefs.h
>>conftest.
$ac_ext
22871 cat >>conftest.
$ac_ext <<_ACEOF
22872 /* end confdefs.h. */
22879 FILE *f=fopen("conftestval", "w");
22882 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22887 rm -f conftest
$ac_exeext
22888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22889 (eval $ac_link) 2>&5
22891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22892 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22894 (eval $ac_try) 2>&5
22896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22897 (exit $ac_status); }; }; then
22898 ac_cv_header_png_h
=`cat conftestval`
22900 echo "$as_me: program exited with status $ac_status" >&5
22901 echo "$as_me: failed program was:" >&5
22902 sed 's/^/| /' conftest.
$ac_ext >&5
22904 ( exit $ac_status )
22905 ac_cv_header_png_h
=no
22907 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22911 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22912 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22913 if test "${ac_cv_header_png_h+set}" = set; then
22914 echo "$as_me:$LINENO: checking for png.h" >&5
22915 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
22916 if test "${ac_cv_header_png_h+set}" = set; then
22917 echo $ECHO_N "(cached) $ECHO_C" >&6
22919 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22920 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22922 # Is the header compilable?
22923 echo "$as_me:$LINENO: checking png.h usability" >&5
22924 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
22925 cat >conftest.
$ac_ext <<_ACEOF
22928 cat confdefs.h
>>conftest.
$ac_ext
22929 cat >>conftest.
$ac_ext <<_ACEOF
22930 /* end confdefs.h. */
22931 $ac_includes_default
22934 rm -f conftest.
$ac_objext
22935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22936 (eval $ac_compile) 2>conftest.er1
22938 grep -v '^ *+' conftest.er1
>conftest.err
22940 cat conftest.err
>&5
22941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22942 (exit $ac_status); } &&
22943 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22945 (eval $ac_try) 2>&5
22947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22948 (exit $ac_status); }; } &&
22949 { ac_try
='test -s conftest.$ac_objext'
22950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22951 (eval $ac_try) 2>&5
22953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22954 (exit $ac_status); }; }; then
22955 ac_header_compiler
=yes
22957 echo "$as_me: failed program was:" >&5
22958 sed 's/^/| /' conftest.
$ac_ext >&5
22960 ac_header_compiler
=no
22962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22963 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22964 echo "${ECHO_T}$ac_header_compiler" >&6
22966 # Is the header present?
22967 echo "$as_me:$LINENO: checking png.h presence" >&5
22968 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
22969 cat >conftest.
$ac_ext <<_ACEOF
22972 cat confdefs.h
>>conftest.
$ac_ext
22973 cat >>conftest.
$ac_ext <<_ACEOF
22974 /* end confdefs.h. */
22977 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22978 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22980 grep -v '^ *+' conftest.er1
>conftest.err
22982 cat conftest.err
>&5
22983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22984 (exit $ac_status); } >/dev
/null
; then
22985 if test -s conftest.err
; then
22986 ac_cpp_err
=$ac_c_preproc_warn_flag
22987 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22994 if test -z "$ac_cpp_err"; then
22995 ac_header_preproc
=yes
22997 echo "$as_me: failed program was:" >&5
22998 sed 's/^/| /' conftest.
$ac_ext >&5
23000 ac_header_preproc
=no
23002 rm -f conftest.err conftest.
$ac_ext
23003 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23004 echo "${ECHO_T}$ac_header_preproc" >&6
23006 # So? What about this header?
23007 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23009 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
23010 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23011 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
23012 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
23013 ac_header_preproc
=yes
23016 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
23017 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
23018 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
23019 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
23020 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
23021 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
23022 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
23023 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
23024 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
23025 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
23026 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
23027 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
23030 ## ----------------------------------------- ##
23031 ## Report this to wx-dev@lists.wxwidgets.org ##
23032 ## ----------------------------------------- ##
23035 sed "s/^/$as_me: WARNING: /" >&2
23038 echo "$as_me:$LINENO: checking for png.h" >&5
23039 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
23040 if test "${ac_cv_header_png_h+set}" = set; then
23041 echo $ECHO_N "(cached) $ECHO_C" >&6
23043 ac_cv_header_png_h
=$ac_header_preproc
23045 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23046 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23052 if test "$ac_cv_header_png_h" = "yes"; then
23053 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
23054 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
23055 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
23056 echo $ECHO_N "(cached) $ECHO_C" >&6
23058 ac_check_lib_save_LIBS
=$LIBS
23059 LIBS
="-lpng -lz -lm $LIBS"
23060 cat >conftest.
$ac_ext <<_ACEOF
23063 cat confdefs.h
>>conftest.
$ac_ext
23064 cat >>conftest.
$ac_ext <<_ACEOF
23065 /* end confdefs.h. */
23067 /* Override any gcc2 internal prototype to avoid an error. */
23071 /* We use char because int might match the return type of a gcc2
23072 builtin and then its argument prototype would still apply. */
23073 char png_check_sig ();
23082 rm -f conftest.
$ac_objext conftest
$ac_exeext
23083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23084 (eval $ac_link) 2>conftest.er1
23086 grep -v '^ *+' conftest.er1
>conftest.err
23088 cat conftest.err
>&5
23089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23090 (exit $ac_status); } &&
23091 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23093 (eval $ac_try) 2>&5
23095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23096 (exit $ac_status); }; } &&
23097 { ac_try
='test -s conftest$ac_exeext'
23098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23099 (eval $ac_try) 2>&5
23101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23102 (exit $ac_status); }; }; then
23103 ac_cv_lib_png_png_check_sig
=yes
23105 echo "$as_me: failed program was:" >&5
23106 sed 's/^/| /' conftest.
$ac_ext >&5
23108 ac_cv_lib_png_png_check_sig
=no
23110 rm -f conftest.err conftest.
$ac_objext \
23111 conftest
$ac_exeext conftest.
$ac_ext
23112 LIBS
=$ac_check_lib_save_LIBS
23114 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
23115 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
23116 if test $ac_cv_lib_png_png_check_sig = yes; then
23117 PNG_LINK
=" -lpng -lz"
23122 if test "x$PNG_LINK" = "x" ; then
23123 if test "$wxUSE_LIBPNG" = "sys" ; then
23124 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
23125 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
23126 { (exit 1); exit 1; }; }
23128 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
23129 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
23130 wxUSE_LIBPNG
=builtin
23138 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
23143 if test "$wxUSE_LIBJPEG" != "no" ; then
23144 cat >>confdefs.h
<<\_ACEOF
23145 #define wxUSE_LIBJPEG 1
23149 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
23150 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
23151 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
23155 if test "$wxUSE_MGL" != 1 ; then
23156 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
23157 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
23158 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
23159 if test "${ac_cv_header_jpeglib_h+set}" = set; then
23160 echo $ECHO_N "(cached) $ECHO_C" >&6
23162 cat >conftest.
$ac_ext <<_ACEOF
23165 cat confdefs.h
>>conftest.
$ac_ext
23166 cat >>conftest.
$ac_ext <<_ACEOF
23167 /* end confdefs.h. */
23169 #undef HAVE_STDLIB_H
23171 #include <jpeglib.h>
23182 rm -f conftest.
$ac_objext
23183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23184 (eval $ac_compile) 2>conftest.er1
23186 grep -v '^ *+' conftest.er1
>conftest.err
23188 cat conftest.err
>&5
23189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23190 (exit $ac_status); } &&
23191 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23193 (eval $ac_try) 2>&5
23195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23196 (exit $ac_status); }; } &&
23197 { ac_try
='test -s conftest.$ac_objext'
23198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23199 (eval $ac_try) 2>&5
23201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23202 (exit $ac_status); }; }; then
23203 ac_cv_header_jpeglib_h
=yes
23205 echo "$as_me: failed program was:" >&5
23206 sed 's/^/| /' conftest.
$ac_ext >&5
23208 ac_cv_header_jpeglib_h
=no
23211 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23215 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
23216 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
23218 if test "$ac_cv_header_jpeglib_h" = "yes"; then
23219 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
23220 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
23221 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
23222 echo $ECHO_N "(cached) $ECHO_C" >&6
23224 ac_check_lib_save_LIBS
=$LIBS
23225 LIBS
="-ljpeg $LIBS"
23226 cat >conftest.
$ac_ext <<_ACEOF
23229 cat confdefs.h
>>conftest.
$ac_ext
23230 cat >>conftest.
$ac_ext <<_ACEOF
23231 /* end confdefs.h. */
23233 /* Override any gcc2 internal prototype to avoid an error. */
23237 /* We use char because int might match the return type of a gcc2
23238 builtin and then its argument prototype would still apply. */
23239 char jpeg_read_header ();
23243 jpeg_read_header ();
23248 rm -f conftest.
$ac_objext conftest
$ac_exeext
23249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23250 (eval $ac_link) 2>conftest.er1
23252 grep -v '^ *+' conftest.er1
>conftest.err
23254 cat conftest.err
>&5
23255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23256 (exit $ac_status); } &&
23257 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23259 (eval $ac_try) 2>&5
23261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23262 (exit $ac_status); }; } &&
23263 { ac_try
='test -s conftest$ac_exeext'
23264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23265 (eval $ac_try) 2>&5
23267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23268 (exit $ac_status); }; }; then
23269 ac_cv_lib_jpeg_jpeg_read_header
=yes
23271 echo "$as_me: failed program was:" >&5
23272 sed 's/^/| /' conftest.
$ac_ext >&5
23274 ac_cv_lib_jpeg_jpeg_read_header
=no
23276 rm -f conftest.err conftest.
$ac_objext \
23277 conftest
$ac_exeext conftest.
$ac_ext
23278 LIBS
=$ac_check_lib_save_LIBS
23280 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
23281 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
23282 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
23283 JPEG_LINK
=" -ljpeg"
23288 if test "x$JPEG_LINK" = "x" ; then
23289 if test "$wxUSE_LIBJPEG" = "sys" ; then
23290 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
23291 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
23292 { (exit 1); exit 1; }; }
23294 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
23295 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
23296 wxUSE_LIBJPEG
=builtin
23307 TIFF_PREREQ_LINKS
=-lm
23308 if test "$wxUSE_LIBTIFF" != "no" ; then
23309 cat >>confdefs.h
<<\_ACEOF
23310 #define wxUSE_LIBTIFF 1
23314 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
23315 if test "$wxUSE_LIBJPEG" = "sys"; then
23316 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
23318 if test "$wxUSE_ZLIB" = "sys"; then
23319 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
23321 if test "${ac_cv_header_tiffio_h+set}" = set; then
23322 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23323 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23324 if test "${ac_cv_header_tiffio_h+set}" = set; then
23325 echo $ECHO_N "(cached) $ECHO_C" >&6
23327 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23328 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23330 # Is the header compilable?
23331 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
23332 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
23333 cat >conftest.
$ac_ext <<_ACEOF
23336 cat confdefs.h
>>conftest.
$ac_ext
23337 cat >>conftest.
$ac_ext <<_ACEOF
23338 /* end confdefs.h. */
23339 $ac_includes_default
23340 #include <tiffio.h>
23342 rm -f conftest.
$ac_objext
23343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23344 (eval $ac_compile) 2>conftest.er1
23346 grep -v '^ *+' conftest.er1
>conftest.err
23348 cat conftest.err
>&5
23349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23350 (exit $ac_status); } &&
23351 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23353 (eval $ac_try) 2>&5
23355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23356 (exit $ac_status); }; } &&
23357 { ac_try
='test -s conftest.$ac_objext'
23358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23359 (eval $ac_try) 2>&5
23361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23362 (exit $ac_status); }; }; then
23363 ac_header_compiler
=yes
23365 echo "$as_me: failed program was:" >&5
23366 sed 's/^/| /' conftest.
$ac_ext >&5
23368 ac_header_compiler
=no
23370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23371 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23372 echo "${ECHO_T}$ac_header_compiler" >&6
23374 # Is the header present?
23375 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
23376 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
23377 cat >conftest.
$ac_ext <<_ACEOF
23380 cat confdefs.h
>>conftest.
$ac_ext
23381 cat >>conftest.
$ac_ext <<_ACEOF
23382 /* end confdefs.h. */
23383 #include <tiffio.h>
23385 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23386 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23388 grep -v '^ *+' conftest.er1
>conftest.err
23390 cat conftest.err
>&5
23391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23392 (exit $ac_status); } >/dev
/null
; then
23393 if test -s conftest.err
; then
23394 ac_cpp_err
=$ac_c_preproc_warn_flag
23395 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23402 if test -z "$ac_cpp_err"; then
23403 ac_header_preproc
=yes
23405 echo "$as_me: failed program was:" >&5
23406 sed 's/^/| /' conftest.
$ac_ext >&5
23408 ac_header_preproc
=no
23410 rm -f conftest.err conftest.
$ac_ext
23411 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23412 echo "${ECHO_T}$ac_header_preproc" >&6
23414 # So? What about this header?
23415 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23417 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
23418 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23419 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
23420 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
23421 ac_header_preproc
=yes
23424 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
23425 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
23426 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
23427 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
23428 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
23429 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
23430 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
23431 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
23432 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
23433 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
23434 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
23435 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
23438 ## ----------------------------------------- ##
23439 ## Report this to wx-dev@lists.wxwidgets.org ##
23440 ## ----------------------------------------- ##
23443 sed "s/^/$as_me: WARNING: /" >&2
23446 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23447 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23448 if test "${ac_cv_header_tiffio_h+set}" = set; then
23449 echo $ECHO_N "(cached) $ECHO_C" >&6
23451 ac_cv_header_tiffio_h
=$ac_header_preproc
23453 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23454 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23457 if test $ac_cv_header_tiffio_h = yes; then
23459 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
23460 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
23461 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
23462 echo $ECHO_N "(cached) $ECHO_C" >&6
23464 ac_check_lib_save_LIBS
=$LIBS
23465 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
23466 cat >conftest.
$ac_ext <<_ACEOF
23469 cat confdefs.h
>>conftest.
$ac_ext
23470 cat >>conftest.
$ac_ext <<_ACEOF
23471 /* end confdefs.h. */
23473 /* Override any gcc2 internal prototype to avoid an error. */
23477 /* We use char because int might match the return type of a gcc2
23478 builtin and then its argument prototype would still apply. */
23488 rm -f conftest.
$ac_objext conftest
$ac_exeext
23489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23490 (eval $ac_link) 2>conftest.er1
23492 grep -v '^ *+' conftest.er1
>conftest.err
23494 cat conftest.err
>&5
23495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23496 (exit $ac_status); } &&
23497 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23499 (eval $ac_try) 2>&5
23501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23502 (exit $ac_status); }; } &&
23503 { ac_try
='test -s conftest$ac_exeext'
23504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23505 (eval $ac_try) 2>&5
23507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23508 (exit $ac_status); }; }; then
23509 ac_cv_lib_tiff_TIFFError
=yes
23511 echo "$as_me: failed program was:" >&5
23512 sed 's/^/| /' conftest.
$ac_ext >&5
23514 ac_cv_lib_tiff_TIFFError
=no
23516 rm -f conftest.err conftest.
$ac_objext \
23517 conftest
$ac_exeext conftest.
$ac_ext
23518 LIBS
=$ac_check_lib_save_LIBS
23520 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
23521 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
23522 if test $ac_cv_lib_tiff_TIFFError = yes; then
23523 TIFF_LINK
=" -ltiff"
23532 if test "x$TIFF_LINK" = "x" ; then
23533 if test "$wxUSE_LIBTIFF" = "sys" ; then
23534 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
23535 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
23536 { (exit 1); exit 1; }; }
23538 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
23539 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
23540 wxUSE_LIBTIFF
=builtin
23549 if test "$wxUSE_WCHAR_T" != "yes"; then
23550 if test "$wxUSE_EXPAT" != "no"; then
23551 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
23552 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
23555 if test "$wxUSE_XML" != "no"; then
23556 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
23557 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
23562 if test "$wxUSE_EXPAT" != "no"; then
23564 cat >>confdefs.h
<<\_ACEOF
23565 #define wxUSE_EXPAT 1
23568 cat >>confdefs.h
<<\_ACEOF
23569 #define wxUSE_XML 1
23573 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23574 if test "${ac_cv_header_expat_h+set}" = set; then
23575 echo "$as_me:$LINENO: checking for expat.h" >&5
23576 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23577 if test "${ac_cv_header_expat_h+set}" = set; then
23578 echo $ECHO_N "(cached) $ECHO_C" >&6
23580 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23581 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23583 # Is the header compilable?
23584 echo "$as_me:$LINENO: checking expat.h usability" >&5
23585 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
23586 cat >conftest.
$ac_ext <<_ACEOF
23589 cat confdefs.h
>>conftest.
$ac_ext
23590 cat >>conftest.
$ac_ext <<_ACEOF
23591 /* end confdefs.h. */
23592 $ac_includes_default
23595 rm -f conftest.
$ac_objext
23596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23597 (eval $ac_compile) 2>conftest.er1
23599 grep -v '^ *+' conftest.er1
>conftest.err
23601 cat conftest.err
>&5
23602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23603 (exit $ac_status); } &&
23604 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23606 (eval $ac_try) 2>&5
23608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23609 (exit $ac_status); }; } &&
23610 { ac_try
='test -s conftest.$ac_objext'
23611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23612 (eval $ac_try) 2>&5
23614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23615 (exit $ac_status); }; }; then
23616 ac_header_compiler
=yes
23618 echo "$as_me: failed program was:" >&5
23619 sed 's/^/| /' conftest.
$ac_ext >&5
23621 ac_header_compiler
=no
23623 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23624 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23625 echo "${ECHO_T}$ac_header_compiler" >&6
23627 # Is the header present?
23628 echo "$as_me:$LINENO: checking expat.h presence" >&5
23629 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
23630 cat >conftest.
$ac_ext <<_ACEOF
23633 cat confdefs.h
>>conftest.
$ac_ext
23634 cat >>conftest.
$ac_ext <<_ACEOF
23635 /* end confdefs.h. */
23638 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23639 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23641 grep -v '^ *+' conftest.er1
>conftest.err
23643 cat conftest.err
>&5
23644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23645 (exit $ac_status); } >/dev
/null
; then
23646 if test -s conftest.err
; then
23647 ac_cpp_err
=$ac_c_preproc_warn_flag
23648 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23655 if test -z "$ac_cpp_err"; then
23656 ac_header_preproc
=yes
23658 echo "$as_me: failed program was:" >&5
23659 sed 's/^/| /' conftest.
$ac_ext >&5
23661 ac_header_preproc
=no
23663 rm -f conftest.err conftest.
$ac_ext
23664 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23665 echo "${ECHO_T}$ac_header_preproc" >&6
23667 # So? What about this header?
23668 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23670 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
23671 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23672 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
23673 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
23674 ac_header_preproc
=yes
23677 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
23678 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
23679 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
23680 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
23681 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
23682 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
23683 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
23684 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
23685 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
23686 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
23687 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
23688 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
23691 ## ----------------------------------------- ##
23692 ## Report this to wx-dev@lists.wxwidgets.org ##
23693 ## ----------------------------------------- ##
23696 sed "s/^/$as_me: WARNING: /" >&2
23699 echo "$as_me:$LINENO: checking for expat.h" >&5
23700 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23701 if test "${ac_cv_header_expat_h+set}" = set; then
23702 echo $ECHO_N "(cached) $ECHO_C" >&6
23704 ac_cv_header_expat_h
=$ac_header_preproc
23706 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23707 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23710 if test $ac_cv_header_expat_h = yes; then
23715 if test "x$found_expat_h" = "x1"; then
23716 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
23717 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
23718 if test "${wx_cv_expat_is_not_broken+set}" = set; then
23719 echo $ECHO_N "(cached) $ECHO_C" >&6
23725 ac_cpp
='$CXXCPP $CPPFLAGS'
23726 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23727 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23728 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23730 cat >conftest.
$ac_ext <<_ACEOF
23733 cat confdefs.h
>>conftest.
$ac_ext
23734 cat >>conftest.
$ac_ext <<_ACEOF
23735 /* end confdefs.h. */
23745 rm -f conftest.
$ac_objext
23746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23747 (eval $ac_compile) 2>conftest.er1
23749 grep -v '^ *+' conftest.er1
>conftest.err
23751 cat conftest.err
>&5
23752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23753 (exit $ac_status); } &&
23754 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23756 (eval $ac_try) 2>&5
23758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23759 (exit $ac_status); }; } &&
23760 { ac_try
='test -s conftest.$ac_objext'
23761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23762 (eval $ac_try) 2>&5
23764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23765 (exit $ac_status); }; }; then
23766 wx_cv_expat_is_not_broken
=yes
23768 echo "$as_me: failed program was:" >&5
23769 sed 's/^/| /' conftest.
$ac_ext >&5
23771 wx_cv_expat_is_not_broken
=no
23774 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23776 ac_cpp
='$CPP $CPPFLAGS'
23777 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23778 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23779 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23784 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
23785 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
23786 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23787 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
23788 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
23789 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
23790 echo $ECHO_N "(cached) $ECHO_C" >&6
23792 ac_check_lib_save_LIBS
=$LIBS
23793 LIBS
="-lexpat $LIBS"
23794 cat >conftest.
$ac_ext <<_ACEOF
23797 cat confdefs.h
>>conftest.
$ac_ext
23798 cat >>conftest.
$ac_ext <<_ACEOF
23799 /* end confdefs.h. */
23801 /* Override any gcc2 internal prototype to avoid an error. */
23805 /* We use char because int might match the return type of a gcc2
23806 builtin and then its argument prototype would still apply. */
23807 char XML_ParserCreate ();
23811 XML_ParserCreate ();
23816 rm -f conftest.
$ac_objext conftest
$ac_exeext
23817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23818 (eval $ac_link) 2>conftest.er1
23820 grep -v '^ *+' conftest.er1
>conftest.err
23822 cat conftest.err
>&5
23823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23824 (exit $ac_status); } &&
23825 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23827 (eval $ac_try) 2>&5
23829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23830 (exit $ac_status); }; } &&
23831 { ac_try
='test -s conftest$ac_exeext'
23832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23833 (eval $ac_try) 2>&5
23835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23836 (exit $ac_status); }; }; then
23837 ac_cv_lib_expat_XML_ParserCreate
=yes
23839 echo "$as_me: failed program was:" >&5
23840 sed 's/^/| /' conftest.
$ac_ext >&5
23842 ac_cv_lib_expat_XML_ParserCreate
=no
23844 rm -f conftest.err conftest.
$ac_objext \
23845 conftest
$ac_exeext conftest.
$ac_ext
23846 LIBS
=$ac_check_lib_save_LIBS
23848 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23849 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
23850 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
23851 EXPAT_LINK
=" -lexpat"
23856 if test "x$EXPAT_LINK" = "x" ; then
23857 if test "$wxUSE_EXPAT" = "sys" ; then
23858 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
23859 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
23860 { (exit 1); exit 1; }; }
23862 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
23863 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
23864 wxUSE_EXPAT
=builtin
23870 if test "$wxUSE_EXPAT" = "builtin" ; then
23873 subdirs
="$subdirs src/expat"
23880 if test "$wxUSE_LIBMSPACK" != "no"; then
23881 if test "${ac_cv_header_mspack_h+set}" = set; then
23882 echo "$as_me:$LINENO: checking for mspack.h" >&5
23883 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
23884 if test "${ac_cv_header_mspack_h+set}" = set; then
23885 echo $ECHO_N "(cached) $ECHO_C" >&6
23887 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
23888 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
23890 # Is the header compilable?
23891 echo "$as_me:$LINENO: checking mspack.h usability" >&5
23892 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
23893 cat >conftest.
$ac_ext <<_ACEOF
23896 cat confdefs.h
>>conftest.
$ac_ext
23897 cat >>conftest.
$ac_ext <<_ACEOF
23898 /* end confdefs.h. */
23899 $ac_includes_default
23900 #include <mspack.h>
23902 rm -f conftest.
$ac_objext
23903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23904 (eval $ac_compile) 2>conftest.er1
23906 grep -v '^ *+' conftest.er1
>conftest.err
23908 cat conftest.err
>&5
23909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23910 (exit $ac_status); } &&
23911 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23913 (eval $ac_try) 2>&5
23915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23916 (exit $ac_status); }; } &&
23917 { ac_try
='test -s conftest.$ac_objext'
23918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23919 (eval $ac_try) 2>&5
23921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23922 (exit $ac_status); }; }; then
23923 ac_header_compiler
=yes
23925 echo "$as_me: failed program was:" >&5
23926 sed 's/^/| /' conftest.
$ac_ext >&5
23928 ac_header_compiler
=no
23930 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23931 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23932 echo "${ECHO_T}$ac_header_compiler" >&6
23934 # Is the header present?
23935 echo "$as_me:$LINENO: checking mspack.h presence" >&5
23936 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
23937 cat >conftest.
$ac_ext <<_ACEOF
23940 cat confdefs.h
>>conftest.
$ac_ext
23941 cat >>conftest.
$ac_ext <<_ACEOF
23942 /* end confdefs.h. */
23943 #include <mspack.h>
23945 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23946 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23948 grep -v '^ *+' conftest.er1
>conftest.err
23950 cat conftest.err
>&5
23951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23952 (exit $ac_status); } >/dev
/null
; then
23953 if test -s conftest.err
; then
23954 ac_cpp_err
=$ac_c_preproc_warn_flag
23955 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23962 if test -z "$ac_cpp_err"; then
23963 ac_header_preproc
=yes
23965 echo "$as_me: failed program was:" >&5
23966 sed 's/^/| /' conftest.
$ac_ext >&5
23968 ac_header_preproc
=no
23970 rm -f conftest.err conftest.
$ac_ext
23971 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23972 echo "${ECHO_T}$ac_header_preproc" >&6
23974 # So? What about this header?
23975 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23977 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
23978 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23979 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
23980 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
23981 ac_header_preproc
=yes
23984 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
23985 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
23986 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
23987 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
23988 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
23989 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
23990 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
23991 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
23992 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
23993 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
23994 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
23995 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
23998 ## ----------------------------------------- ##
23999 ## Report this to wx-dev@lists.wxwidgets.org ##
24000 ## ----------------------------------------- ##
24003 sed "s/^/$as_me: WARNING: /" >&2
24006 echo "$as_me:$LINENO: checking for mspack.h" >&5
24007 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
24008 if test "${ac_cv_header_mspack_h+set}" = set; then
24009 echo $ECHO_N "(cached) $ECHO_C" >&6
24011 ac_cv_header_mspack_h
=$ac_header_preproc
24013 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
24014 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
24017 if test $ac_cv_header_mspack_h = yes; then
24022 if test "x$found_mspack_h" = "x1"; then
24023 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
24024 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
24025 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
24026 echo $ECHO_N "(cached) $ECHO_C" >&6
24028 ac_check_lib_save_LIBS
=$LIBS
24029 LIBS
="-lmspack $LIBS"
24030 cat >conftest.
$ac_ext <<_ACEOF
24033 cat confdefs.h
>>conftest.
$ac_ext
24034 cat >>conftest.
$ac_ext <<_ACEOF
24035 /* end confdefs.h. */
24037 /* Override any gcc2 internal prototype to avoid an error. */
24041 /* We use char because int might match the return type of a gcc2
24042 builtin and then its argument prototype would still apply. */
24043 char mspack_create_chm_decompressor ();
24047 mspack_create_chm_decompressor ();
24052 rm -f conftest.
$ac_objext conftest
$ac_exeext
24053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24054 (eval $ac_link) 2>conftest.er1
24056 grep -v '^ *+' conftest.er1
>conftest.err
24058 cat conftest.err
>&5
24059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24060 (exit $ac_status); } &&
24061 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24063 (eval $ac_try) 2>&5
24065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24066 (exit $ac_status); }; } &&
24067 { ac_try
='test -s conftest$ac_exeext'
24068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24069 (eval $ac_try) 2>&5
24071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24072 (exit $ac_status); }; }; then
24073 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
24075 echo "$as_me: failed program was:" >&5
24076 sed 's/^/| /' conftest.
$ac_ext >&5
24078 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
24080 rm -f conftest.err conftest.
$ac_objext \
24081 conftest
$ac_exeext conftest.
$ac_ext
24082 LIBS
=$ac_check_lib_save_LIBS
24084 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
24085 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
24086 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
24087 MSPACK_LINK
=" -lmspack"
24091 if test "x$MSPACK_LINK" = "x" ; then
24096 if test "$wxUSE_LIBMSPACK" != "no"; then
24097 cat >>confdefs.h
<<\_ACEOF
24098 #define wxUSE_LIBMSPACK 1
24112 if test "$USE_WIN32" = 1 ; then
24114 for ac_header
in w32api.h
24116 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24117 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24118 echo "$as_me:$LINENO: checking for $ac_header" >&5
24119 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24121 echo $ECHO_N "(cached) $ECHO_C" >&6
24123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24124 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24126 # Is the header compilable?
24127 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24128 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24129 cat >conftest.
$ac_ext <<_ACEOF
24132 cat confdefs.h
>>conftest.
$ac_ext
24133 cat >>conftest.
$ac_ext <<_ACEOF
24134 /* end confdefs.h. */
24135 $ac_includes_default
24136 #include <$ac_header>
24138 rm -f conftest.
$ac_objext
24139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24140 (eval $ac_compile) 2>conftest.er1
24142 grep -v '^ *+' conftest.er1
>conftest.err
24144 cat conftest.err
>&5
24145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24146 (exit $ac_status); } &&
24147 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24149 (eval $ac_try) 2>&5
24151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24152 (exit $ac_status); }; } &&
24153 { ac_try
='test -s conftest.$ac_objext'
24154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24155 (eval $ac_try) 2>&5
24157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24158 (exit $ac_status); }; }; then
24159 ac_header_compiler
=yes
24161 echo "$as_me: failed program was:" >&5
24162 sed 's/^/| /' conftest.
$ac_ext >&5
24164 ac_header_compiler
=no
24166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24167 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24168 echo "${ECHO_T}$ac_header_compiler" >&6
24170 # Is the header present?
24171 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24172 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24173 cat >conftest.
$ac_ext <<_ACEOF
24176 cat confdefs.h
>>conftest.
$ac_ext
24177 cat >>conftest.
$ac_ext <<_ACEOF
24178 /* end confdefs.h. */
24179 #include <$ac_header>
24181 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24182 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24184 grep -v '^ *+' conftest.er1
>conftest.err
24186 cat conftest.err
>&5
24187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24188 (exit $ac_status); } >/dev
/null
; then
24189 if test -s conftest.err
; then
24190 ac_cpp_err
=$ac_c_preproc_warn_flag
24191 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24198 if test -z "$ac_cpp_err"; then
24199 ac_header_preproc
=yes
24201 echo "$as_me: failed program was:" >&5
24202 sed 's/^/| /' conftest.
$ac_ext >&5
24204 ac_header_preproc
=no
24206 rm -f conftest.err conftest.
$ac_ext
24207 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24208 echo "${ECHO_T}$ac_header_preproc" >&6
24210 # So? What about this header?
24211 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24213 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24214 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24215 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24216 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24217 ac_header_preproc
=yes
24220 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24221 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24222 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24223 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24224 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24225 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24226 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24227 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24228 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24229 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24230 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24231 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24234 ## ----------------------------------------- ##
24235 ## Report this to wx-dev@lists.wxwidgets.org ##
24236 ## ----------------------------------------- ##
24239 sed "s/^/$as_me: WARNING: /" >&2
24242 echo "$as_me:$LINENO: checking for $ac_header" >&5
24243 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24244 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24245 echo $ECHO_N "(cached) $ECHO_C" >&6
24247 eval "$as_ac_Header=\$ac_header_preproc"
24249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24250 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24253 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24254 cat >>confdefs.h
<<_ACEOF
24255 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24262 if test "${ac_cv_header_windows_h+set}" = set; then
24263 echo "$as_me:$LINENO: checking for windows.h" >&5
24264 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24265 if test "${ac_cv_header_windows_h+set}" = set; then
24266 echo $ECHO_N "(cached) $ECHO_C" >&6
24268 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24269 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24271 # Is the header compilable?
24272 echo "$as_me:$LINENO: checking windows.h usability" >&5
24273 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
24274 cat >conftest.
$ac_ext <<_ACEOF
24277 cat confdefs.h
>>conftest.
$ac_ext
24278 cat >>conftest.
$ac_ext <<_ACEOF
24279 /* end confdefs.h. */
24280 $ac_includes_default
24281 #include <windows.h>
24283 rm -f conftest.
$ac_objext
24284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24285 (eval $ac_compile) 2>conftest.er1
24287 grep -v '^ *+' conftest.er1
>conftest.err
24289 cat conftest.err
>&5
24290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24291 (exit $ac_status); } &&
24292 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24294 (eval $ac_try) 2>&5
24296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24297 (exit $ac_status); }; } &&
24298 { ac_try
='test -s conftest.$ac_objext'
24299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24300 (eval $ac_try) 2>&5
24302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24303 (exit $ac_status); }; }; then
24304 ac_header_compiler
=yes
24306 echo "$as_me: failed program was:" >&5
24307 sed 's/^/| /' conftest.
$ac_ext >&5
24309 ac_header_compiler
=no
24311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24312 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24313 echo "${ECHO_T}$ac_header_compiler" >&6
24315 # Is the header present?
24316 echo "$as_me:$LINENO: checking windows.h presence" >&5
24317 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
24318 cat >conftest.
$ac_ext <<_ACEOF
24321 cat confdefs.h
>>conftest.
$ac_ext
24322 cat >>conftest.
$ac_ext <<_ACEOF
24323 /* end confdefs.h. */
24324 #include <windows.h>
24326 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24327 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24329 grep -v '^ *+' conftest.er1
>conftest.err
24331 cat conftest.err
>&5
24332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24333 (exit $ac_status); } >/dev
/null
; then
24334 if test -s conftest.err
; then
24335 ac_cpp_err
=$ac_c_preproc_warn_flag
24336 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24343 if test -z "$ac_cpp_err"; then
24344 ac_header_preproc
=yes
24346 echo "$as_me: failed program was:" >&5
24347 sed 's/^/| /' conftest.
$ac_ext >&5
24349 ac_header_preproc
=no
24351 rm -f conftest.err conftest.
$ac_ext
24352 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24353 echo "${ECHO_T}$ac_header_preproc" >&6
24355 # So? What about this header?
24356 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24358 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
24359 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24360 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
24361 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
24362 ac_header_preproc
=yes
24365 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
24366 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
24367 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
24368 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
24369 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
24370 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
24371 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
24372 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
24373 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
24374 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
24375 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
24376 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
24379 ## ----------------------------------------- ##
24380 ## Report this to wx-dev@lists.wxwidgets.org ##
24381 ## ----------------------------------------- ##
24384 sed "s/^/$as_me: WARNING: /" >&2
24387 echo "$as_me:$LINENO: checking for windows.h" >&5
24388 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24389 if test "${ac_cv_header_windows_h+set}" = set; then
24390 echo $ECHO_N "(cached) $ECHO_C" >&6
24392 ac_cv_header_windows_h
=$ac_header_preproc
24394 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24395 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24398 if test $ac_cv_header_windows_h = yes; then
24402 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
24403 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
24404 { (exit 1); exit 1; }; }
24410 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
24412 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
24413 LIBS
="$LIBS -loleacc"
24418 LIBS
="$LIBS -lkernel32 -luser32"
24419 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
24422 if test "$wxUSE_ODBC" = "sys" ; then
24425 if test "$wxUSE_ODBC" = "yes" ; then
24426 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
24427 cat >>confdefs.h
<<\_ACEOF
24428 #define wxUSE_ODBC 1
24433 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
24434 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
24436 WIN32INSTALL
=win32install
24439 if test "$wxUSE_GUI" = "yes"; then
24449 if test "$wxUSE_COCOA" = 1 ; then
24450 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
24451 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
24452 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
24453 wxUSE_PRINTING_ARCHITECTURE
=no
24455 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
24456 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
24457 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
24458 wxUSE_DRAG_AND_DROP
=no
24460 if test "$wxUSE_DRAGIMAGE" = "yes"; then
24461 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
24462 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
24467 if test "$wxUSE_MSW" = 1 ; then
24473 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
24477 if test "$wxUSE_GTK" = 1; then
24478 echo "$as_me:$LINENO: checking for GTK+ version" >&5
24479 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
24481 gtk_version_cached
=1
24482 if test "${wx_cv_lib_gtk+set}" = set; then
24483 echo $ECHO_N "(cached) $ECHO_C" >&6
24486 gtk_version_cached
=0
24487 echo "$as_me:$LINENO: result: " >&5
24488 echo "${ECHO_T}" >&6
24491 if test "$wxUSE_THREADS" = "yes"; then
24492 GTK_MODULES
=gthread
24496 if test "x$wxGTK_VERSION" != "x1"; then
24497 # Check whether --enable-gtktest or --disable-gtktest was given.
24498 if test "${enable_gtktest+set}" = set; then
24499 enableval
="$enable_gtktest"
24505 pkg_config_args
=gtk
+-2.0
24506 for module
in .
$GTK_MODULES
24510 pkg_config_args
="$pkg_config_args gthread-2.0"
24517 # Extract the first word of "pkg-config", so it can be a program name with args.
24518 set dummy pkg
-config; ac_word
=$2
24519 echo "$as_me:$LINENO: checking for $ac_word" >&5
24520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24521 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24522 echo $ECHO_N "(cached) $ECHO_C" >&6
24524 case $PKG_CONFIG in
24526 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24530 for as_dir
in $PATH
24533 test -z "$as_dir" && as_dir
=.
24534 for ac_exec_ext
in '' $ac_executable_extensions; do
24535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24536 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24543 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24547 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24549 if test -n "$PKG_CONFIG"; then
24550 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24551 echo "${ECHO_T}$PKG_CONFIG" >&6
24553 echo "$as_me:$LINENO: result: no" >&5
24554 echo "${ECHO_T}no" >&6
24558 if test x
$PKG_CONFIG != xno
; then
24559 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
24562 echo "*** pkg-config too old; version 0.7 or better required."
24570 min_gtk_version
=2.0.0
24571 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
24572 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
24574 if test x
$PKG_CONFIG != xno
; then
24575 ## don't try to run the test against uninstalled libtool libs
24576 if $PKG_CONFIG --uninstalled $pkg_config_args; then
24577 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
24581 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
24588 if test x
"$no_gtk" = x
; then
24589 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
24590 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
24591 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24592 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24593 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24594 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24595 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24596 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24597 if test "x$enable_gtktest" = "xyes" ; then
24598 ac_save_CFLAGS
="$CFLAGS"
24599 ac_save_LIBS
="$LIBS"
24600 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24601 LIBS
="$GTK_LIBS $LIBS"
24603 if test "$cross_compiling" = yes; then
24604 echo $ac_n "cross compiling; assumed OK... $ac_c"
24606 cat >conftest.
$ac_ext <<_ACEOF
24609 cat confdefs.h
>>conftest.
$ac_ext
24610 cat >>conftest.
$ac_ext <<_ACEOF
24611 /* end confdefs.h. */
24613 #include <gtk/gtk.h>
24615 #include <stdlib.h>
24620 int major, minor, micro;
24623 system ("touch conf.gtktest");
24625 /* HP/UX 9 (%@#!) writes to sscanf strings */
24626 tmp_version = g_strdup("$min_gtk_version");
24627 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24628 printf("%s, bad version string\n", "$min_gtk_version");
24632 if ((gtk_major_version != $gtk_config_major_version) ||
24633 (gtk_minor_version != $gtk_config_minor_version) ||
24634 (gtk_micro_version != $gtk_config_micro_version))
24636 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24637 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24638 gtk_major_version, gtk_minor_version, gtk_micro_version);
24639 printf ("*** was found! If pkg-config was correct, then it is best\n");
24640 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24641 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24642 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24643 printf("*** required on your system.\n");
24644 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
24645 printf("*** to point to the correct configuration files\n");
24647 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24648 (gtk_minor_version != GTK_MINOR_VERSION) ||
24649 (gtk_micro_version != GTK_MICRO_VERSION))
24651 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24652 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24653 printf("*** library (version %d.%d.%d)\n",
24654 gtk_major_version, gtk_minor_version, gtk_micro_version);
24658 if ((gtk_major_version > major) ||
24659 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24660 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24666 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24667 gtk_major_version, gtk_minor_version, gtk_micro_version);
24668 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24669 major, minor, micro);
24670 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24672 printf("*** If you have already installed a sufficiently new version, this error\n");
24673 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
24674 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24675 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
24676 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
24677 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24678 printf("*** so that the correct libraries are found at run-time))\n");
24685 rm -f conftest
$ac_exeext
24686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24687 (eval $ac_link) 2>&5
24689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24690 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24692 (eval $ac_try) 2>&5
24694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24695 (exit $ac_status); }; }; then
24698 echo "$as_me: program exited with status $ac_status" >&5
24699 echo "$as_me: failed program was:" >&5
24700 sed 's/^/| /' conftest.
$ac_ext >&5
24702 ( exit $ac_status )
24705 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24707 CFLAGS
="$ac_save_CFLAGS"
24708 LIBS
="$ac_save_LIBS"
24711 if test "x$no_gtk" = x
; then
24712 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
24713 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
24716 echo "$as_me:$LINENO: result: no" >&5
24717 echo "${ECHO_T}no" >&6
24718 if test "$PKG_CONFIG" = "no" ; then
24719 echo "*** A new enough version of pkg-config was not found."
24720 echo "*** See http://pkgconfig.sourceforge.net"
24722 if test -f conf.gtktest
; then
24725 echo "*** Could not run GTK+ test program, checking why..."
24726 ac_save_CFLAGS
="$CFLAGS"
24727 ac_save_LIBS
="$LIBS"
24728 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24729 LIBS
="$LIBS $GTK_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 #include <gtk/gtk.h>
24743 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24748 rm -f conftest.
$ac_objext conftest
$ac_exeext
24749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24750 (eval $ac_link) 2>conftest.er1
24752 grep -v '^ *+' conftest.er1
>conftest.err
24754 cat conftest.err
>&5
24755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24756 (exit $ac_status); } &&
24757 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24759 (eval $ac_try) 2>&5
24761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24762 (exit $ac_status); }; } &&
24763 { ac_try
='test -s conftest$ac_exeext'
24764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24765 (eval $ac_try) 2>&5
24767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24768 (exit $ac_status); }; }; then
24769 echo "*** The test program compiled, but did not run. This usually means"
24770 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
24771 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
24772 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24773 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24774 echo "*** is required on your system"
24776 echo "*** If you have an old version installed, it is best to remove it, although"
24777 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24779 echo "$as_me: failed program was:" >&5
24780 sed 's/^/| /' conftest.
$ac_ext >&5
24782 echo "*** The test program failed to compile or link. See the file config.log for the"
24783 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
24785 rm -f conftest.err conftest.
$ac_objext \
24786 conftest
$ac_exeext conftest.
$ac_ext
24787 CFLAGS
="$ac_save_CFLAGS"
24788 LIBS
="$ac_save_LIBS"
24801 if test -z "$wx_cv_lib_gtk"; then
24802 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
24804 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24805 if test "${with_gtk_prefix+set}" = set; then
24806 withval
="$with_gtk_prefix"
24807 gtk_config_prefix
="$withval"
24809 gtk_config_prefix
=""
24812 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24813 if test "${with_gtk_exec_prefix+set}" = set; then
24814 withval
="$with_gtk_exec_prefix"
24815 gtk_config_exec_prefix
="$withval"
24817 gtk_config_exec_prefix
=""
24819 # Check whether --enable-gtktest or --disable-gtktest was given.
24820 if test "${enable_gtktest+set}" = set; then
24821 enableval
="$enable_gtktest"
24827 for module
in .
$GTK_MODULES
24831 gtk_config_args
="$gtk_config_args gthread"
24836 if test x
$gtk_config_exec_prefix != x
; then
24837 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24838 if test x
${GTK_CONFIG+set} != xset
; then
24839 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
24842 if test x
$gtk_config_prefix != x
; then
24843 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
24844 if test x
${GTK_CONFIG+set} != xset
; then
24845 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
24849 # Extract the first word of "gtk-config", so it can be a program name with args.
24850 set dummy gtk
-config; ac_word
=$2
24851 echo "$as_me:$LINENO: checking for $ac_word" >&5
24852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24853 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24854 echo $ECHO_N "(cached) $ECHO_C" >&6
24856 case $GTK_CONFIG in
24858 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
24861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24862 for as_dir
in $PATH
24865 test -z "$as_dir" && as_dir
=.
24866 for ac_exec_ext
in '' $ac_executable_extensions; do
24867 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24868 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24875 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
24879 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
24881 if test -n "$GTK_CONFIG"; then
24882 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
24883 echo "${ECHO_T}$GTK_CONFIG" >&6
24885 echo "$as_me:$LINENO: result: no" >&5
24886 echo "${ECHO_T}no" >&6
24889 min_gtk_version
=1.2.7
24890 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
24891 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
24893 if test "$GTK_CONFIG" = "no" ; then
24896 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
24897 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
24898 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
24899 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24900 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
24901 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24902 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
24903 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24904 if test "x$enable_gtktest" = "xyes" ; then
24905 ac_save_CFLAGS
="$CFLAGS"
24906 ac_save_LIBS
="$LIBS"
24907 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24908 LIBS
="$GTK_LIBS $LIBS"
24910 if test "$cross_compiling" = yes; then
24911 echo $ac_n "cross compiling; assumed OK... $ac_c"
24913 cat >conftest.
$ac_ext <<_ACEOF
24916 cat confdefs.h
>>conftest.
$ac_ext
24917 cat >>conftest.
$ac_ext <<_ACEOF
24918 /* end confdefs.h. */
24920 #include <gtk/gtk.h>
24922 #include <stdlib.h>
24927 int major, minor, micro;
24930 system ("touch conf.gtktest");
24932 /* HP/UX 9 (%@#!) writes to sscanf strings */
24933 tmp_version = g_strdup("$min_gtk_version");
24934 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24935 printf("%s, bad version string\n", "$min_gtk_version");
24939 if ((gtk_major_version != $gtk_config_major_version) ||
24940 (gtk_minor_version != $gtk_config_minor_version) ||
24941 (gtk_micro_version != $gtk_config_micro_version))
24943 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24944 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24945 gtk_major_version, gtk_minor_version, gtk_micro_version);
24946 printf ("*** was found! If gtk-config was correct, then it is best\n");
24947 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24948 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24949 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24950 printf("*** required on your system.\n");
24951 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24952 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24953 printf("*** before re-running configure\n");
24955 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24956 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24957 (gtk_minor_version != GTK_MINOR_VERSION) ||
24958 (gtk_micro_version != GTK_MICRO_VERSION))
24960 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24961 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24962 printf("*** library (version %d.%d.%d)\n",
24963 gtk_major_version, gtk_minor_version, gtk_micro_version);
24965 #endif /* defined (GTK_MAJOR_VERSION) ... */
24968 if ((gtk_major_version > major) ||
24969 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24970 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24976 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24977 gtk_major_version, gtk_minor_version, gtk_micro_version);
24978 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24979 major, minor, micro);
24980 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24982 printf("*** If you have already installed a sufficiently new version, this error\n");
24983 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24984 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24985 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24986 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24987 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24988 printf("*** so that the correct libraries are found at run-time))\n");
24995 rm -f conftest
$ac_exeext
24996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24997 (eval $ac_link) 2>&5
24999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25000 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25002 (eval $ac_try) 2>&5
25004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25005 (exit $ac_status); }; }; then
25008 echo "$as_me: program exited with status $ac_status" >&5
25009 echo "$as_me: failed program was:" >&5
25010 sed 's/^/| /' conftest.
$ac_ext >&5
25012 ( exit $ac_status )
25015 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25017 CFLAGS
="$ac_save_CFLAGS"
25018 LIBS
="$ac_save_LIBS"
25021 if test "x$no_gtk" = x
; then
25022 echo "$as_me:$LINENO: result: yes" >&5
25023 echo "${ECHO_T}yes" >&6
25024 wx_cv_lib_gtk
=1.2.7
25026 echo "$as_me:$LINENO: result: no" >&5
25027 echo "${ECHO_T}no" >&6
25028 if test "$GTK_CONFIG" = "no" ; then
25029 echo "*** The gtk-config script installed by GTK could not be found"
25030 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25031 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25032 echo "*** full path to gtk-config."
25034 if test -f conf.gtktest
; then
25037 echo "*** Could not run GTK test program, checking why..."
25038 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25039 LIBS
="$LIBS $GTK_LIBS"
25040 cat >conftest.
$ac_ext <<_ACEOF
25043 cat confdefs.h
>>conftest.
$ac_ext
25044 cat >>conftest.
$ac_ext <<_ACEOF
25045 /* end confdefs.h. */
25047 #include <gtk/gtk.h>
25053 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25058 rm -f conftest.
$ac_objext conftest
$ac_exeext
25059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25060 (eval $ac_link) 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); } &&
25067 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25069 (eval $ac_try) 2>&5
25071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25072 (exit $ac_status); }; } &&
25073 { ac_try
='test -s conftest$ac_exeext'
25074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25075 (eval $ac_try) 2>&5
25077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25078 (exit $ac_status); }; }; then
25079 echo "*** The test program compiled, but did not run. This usually means"
25080 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25081 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25082 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25083 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25084 echo "*** is required on your system"
25086 echo "*** If you have an old version installed, it is best to remove it, although"
25087 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25089 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25090 echo "*** came with the system with the command"
25092 echo "*** rpm --erase --nodeps gtk gtk-devel"
25094 echo "$as_me: failed program was:" >&5
25095 sed 's/^/| /' conftest.
$ac_ext >&5
25097 echo "*** The test program failed to compile or link. See the file config.log for the"
25098 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25099 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25100 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25102 rm -f conftest.err conftest.
$ac_objext \
25103 conftest
$ac_exeext conftest.
$ac_ext
25104 CFLAGS
="$ac_save_CFLAGS"
25105 LIBS
="$ac_save_LIBS"
25117 if test -z "$wx_cv_lib_gtk"; then
25119 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
25120 if test "${with_gtk_prefix+set}" = set; then
25121 withval
="$with_gtk_prefix"
25122 gtk_config_prefix
="$withval"
25124 gtk_config_prefix
=""
25127 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
25128 if test "${with_gtk_exec_prefix+set}" = set; then
25129 withval
="$with_gtk_exec_prefix"
25130 gtk_config_exec_prefix
="$withval"
25132 gtk_config_exec_prefix
=""
25134 # Check whether --enable-gtktest or --disable-gtktest was given.
25135 if test "${enable_gtktest+set}" = set; then
25136 enableval
="$enable_gtktest"
25142 for module
in .
$GTK_MODULES
25146 gtk_config_args
="$gtk_config_args gthread"
25151 if test x
$gtk_config_exec_prefix != x
; then
25152 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
25153 if test x
${GTK_CONFIG+set} != xset
; then
25154 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
25157 if test x
$gtk_config_prefix != x
; then
25158 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
25159 if test x
${GTK_CONFIG+set} != xset
; then
25160 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
25164 # Extract the first word of "gtk-config", so it can be a program name with args.
25165 set dummy gtk
-config; ac_word
=$2
25166 echo "$as_me:$LINENO: checking for $ac_word" >&5
25167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25168 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
25169 echo $ECHO_N "(cached) $ECHO_C" >&6
25171 case $GTK_CONFIG in
25173 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
25176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25177 for as_dir
in $PATH
25180 test -z "$as_dir" && as_dir
=.
25181 for ac_exec_ext
in '' $ac_executable_extensions; do
25182 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25183 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25190 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
25194 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
25196 if test -n "$GTK_CONFIG"; then
25197 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25198 echo "${ECHO_T}$GTK_CONFIG" >&6
25200 echo "$as_me:$LINENO: result: no" >&5
25201 echo "${ECHO_T}no" >&6
25204 min_gtk_version
=1.2.3
25205 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25206 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25208 if test "$GTK_CONFIG" = "no" ; then
25211 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
25212 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
25213 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
25214 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25215 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
25216 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25217 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
25218 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25219 if test "x$enable_gtktest" = "xyes" ; then
25220 ac_save_CFLAGS
="$CFLAGS"
25221 ac_save_LIBS
="$LIBS"
25222 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25223 LIBS
="$GTK_LIBS $LIBS"
25225 if test "$cross_compiling" = yes; then
25226 echo $ac_n "cross compiling; assumed OK... $ac_c"
25228 cat >conftest.
$ac_ext <<_ACEOF
25231 cat confdefs.h
>>conftest.
$ac_ext
25232 cat >>conftest.
$ac_ext <<_ACEOF
25233 /* end confdefs.h. */
25235 #include <gtk/gtk.h>
25237 #include <stdlib.h>
25242 int major, minor, micro;
25245 system ("touch conf.gtktest");
25247 /* HP/UX 9 (%@#!) writes to sscanf strings */
25248 tmp_version = g_strdup("$min_gtk_version");
25249 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
25250 printf("%s, bad version string\n", "$min_gtk_version");
25254 if ((gtk_major_version != $gtk_config_major_version) ||
25255 (gtk_minor_version != $gtk_config_minor_version) ||
25256 (gtk_micro_version != $gtk_config_micro_version))
25258 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25259 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25260 gtk_major_version, gtk_minor_version, gtk_micro_version);
25261 printf ("*** was found! If gtk-config was correct, then it is best\n");
25262 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25263 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25264 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25265 printf("*** required on your system.\n");
25266 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25267 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25268 printf("*** before re-running configure\n");
25270 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25271 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25272 (gtk_minor_version != GTK_MINOR_VERSION) ||
25273 (gtk_micro_version != GTK_MICRO_VERSION))
25275 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25276 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25277 printf("*** library (version %d.%d.%d)\n",
25278 gtk_major_version, gtk_minor_version, gtk_micro_version);
25280 #endif /* defined (GTK_MAJOR_VERSION) ... */
25283 if ((gtk_major_version > major) ||
25284 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25285 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25291 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25292 gtk_major_version, gtk_minor_version, gtk_micro_version);
25293 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25294 major, minor, micro);
25295 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25297 printf("*** If you have already installed a sufficiently new version, this error\n");
25298 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25299 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25300 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25301 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25302 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25303 printf("*** so that the correct libraries are found at run-time))\n");
25310 rm -f conftest
$ac_exeext
25311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25312 (eval $ac_link) 2>&5
25314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25315 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25317 (eval $ac_try) 2>&5
25319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25320 (exit $ac_status); }; }; then
25323 echo "$as_me: program exited with status $ac_status" >&5
25324 echo "$as_me: failed program was:" >&5
25325 sed 's/^/| /' conftest.
$ac_ext >&5
25327 ( exit $ac_status )
25330 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25332 CFLAGS
="$ac_save_CFLAGS"
25333 LIBS
="$ac_save_LIBS"
25336 if test "x$no_gtk" = x
; then
25337 echo "$as_me:$LINENO: result: yes" >&5
25338 echo "${ECHO_T}yes" >&6
25339 wx_cv_lib_gtk
=1.2.3
25341 echo "$as_me:$LINENO: result: no" >&5
25342 echo "${ECHO_T}no" >&6
25343 if test "$GTK_CONFIG" = "no" ; then
25344 echo "*** The gtk-config script installed by GTK could not be found"
25345 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25346 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25347 echo "*** full path to gtk-config."
25349 if test -f conf.gtktest
; then
25352 echo "*** Could not run GTK test program, checking why..."
25353 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25354 LIBS
="$LIBS $GTK_LIBS"
25355 cat >conftest.
$ac_ext <<_ACEOF
25358 cat confdefs.h
>>conftest.
$ac_ext
25359 cat >>conftest.
$ac_ext <<_ACEOF
25360 /* end confdefs.h. */
25362 #include <gtk/gtk.h>
25368 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25373 rm -f conftest.
$ac_objext conftest
$ac_exeext
25374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25375 (eval $ac_link) 2>conftest.er1
25377 grep -v '^ *+' conftest.er1
>conftest.err
25379 cat conftest.err
>&5
25380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25381 (exit $ac_status); } &&
25382 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25384 (eval $ac_try) 2>&5
25386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25387 (exit $ac_status); }; } &&
25388 { ac_try
='test -s conftest$ac_exeext'
25389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25390 (eval $ac_try) 2>&5
25392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25393 (exit $ac_status); }; }; then
25394 echo "*** The test program compiled, but did not run. This usually means"
25395 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25396 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25397 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25398 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25399 echo "*** is required on your system"
25401 echo "*** If you have an old version installed, it is best to remove it, although"
25402 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25404 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25405 echo "*** came with the system with the command"
25407 echo "*** rpm --erase --nodeps gtk gtk-devel"
25409 echo "$as_me: failed program was:" >&5
25410 sed 's/^/| /' conftest.
$ac_ext >&5
25412 echo "*** The test program failed to compile or link. See the file config.log for the"
25413 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25414 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25415 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25417 rm -f conftest.err conftest.
$ac_objext \
25418 conftest
$ac_exeext conftest.
$ac_ext
25419 CFLAGS
="$ac_save_CFLAGS"
25420 LIBS
="$ac_save_LIBS"
25435 if test -z "$wx_cv_lib_gtk"; then
25438 wx_cv_cflags_gtk
=$GTK_CFLAGS
25439 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
25446 if test "$gtk_version_cached" = 1; then
25447 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
25448 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
25451 case "$wx_cv_lib_gtk" in
25460 *) { { echo "$as_me:$LINENO: error:
25461 The development files for GTK+ were not found. For GTK+ 2, please
25462 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25463 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25464 and that the version is 1.2.3 or above. Also check that the
25465 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25466 --libs' are in the LD_LIBRARY_PATH or equivalent.
25468 echo "$as_me: error:
25469 The development files for GTK+ were not found. For GTK+ 2, please
25470 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25471 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25472 and that the version is 1.2.3 or above. Also check that the
25473 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25474 --libs' are in the LD_LIBRARY_PATH or equivalent.
25476 { (exit 1); exit 1; }; }
25480 if test "$WXGTK20" = 1; then
25481 save_CFLAGS
="$CFLAGS"
25483 CFLAGS
="$CFLAGS $wx_cv_cflags_gtk"
25484 LIBS
="$LIBS $wx_cv_libs_gtk"
25486 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
25487 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
25488 cat >conftest.
$ac_ext <<_ACEOF
25491 cat confdefs.h
>>conftest.
$ac_ext
25492 cat >>conftest.
$ac_ext <<_ACEOF
25493 /* end confdefs.h. */
25495 #include <gtk/gtk.h>
25501 void *f = gtk_icon_size_lookup;
25507 rm -f conftest.
$ac_objext
25508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25509 (eval $ac_compile) 2>conftest.er1
25511 grep -v '^ *+' conftest.er1
>conftest.err
25513 cat conftest.err
>&5
25514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25515 (exit $ac_status); } &&
25516 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25518 (eval $ac_try) 2>&5
25520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25521 (exit $ac_status); }; } &&
25522 { ac_try
='test -s conftest.$ac_objext'
25523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25524 (eval $ac_try) 2>&5
25526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25527 (exit $ac_status); }; }; then
25529 echo "$as_me:$LINENO: result: no" >&5
25530 echo "${ECHO_T}no" >&6
25533 echo "$as_me: failed program was:" >&5
25534 sed 's/^/| /' conftest.
$ac_ext >&5
25537 cat >>confdefs.h
<<\_ACEOF
25538 #define NEED_GTK_ICON_SIZE_LOOKUP 1
25541 echo "$as_me:$LINENO: result: yes" >&5
25542 echo "${ECHO_T}yes" >&6
25545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25547 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
25548 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
25549 cat >conftest.
$ac_ext <<_ACEOF
25552 cat confdefs.h
>>conftest.
$ac_ext
25553 cat >>conftest.
$ac_ext <<_ACEOF
25554 /* end confdefs.h. */
25556 #include <gtk/gtk.h>
25562 #if !GTK_CHECK_VERSION(2,4,0)
25570 rm -f conftest.
$ac_objext
25571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25572 (eval $ac_compile) 2>conftest.er1
25574 grep -v '^ *+' conftest.er1
>conftest.err
25576 cat conftest.err
>&5
25577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25578 (exit $ac_status); } &&
25579 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25581 (eval $ac_try) 2>&5
25583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25584 (exit $ac_status); }; } &&
25585 { ac_try
='test -s conftest.$ac_objext'
25586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25587 (eval $ac_try) 2>&5
25589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25590 (exit $ac_status); }; }; then
25592 cat >>confdefs.h
<<\_ACEOF
25593 #define __WXGTK24__ 1
25596 echo "$as_me:$LINENO: result: yes" >&5
25597 echo "${ECHO_T}yes" >&6
25600 echo "$as_me: failed program was:" >&5
25601 sed 's/^/| /' conftest.
$ac_ext >&5
25604 echo "$as_me:$LINENO: result: no" >&5
25605 echo "${ECHO_T}no" >&6
25608 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25610 CFLAGS
="$save_CFLAGS"
25613 if test "$wxUSE_UNICODE" = "yes"; then
25614 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
25615 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
25620 if test "$USE_DARWIN" != 1; then
25622 for ac_func
in poll
25624 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25625 echo "$as_me:$LINENO: checking for $ac_func" >&5
25626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25627 if eval "test \"\${$as_ac_var+set}\" = set"; then
25628 echo $ECHO_N "(cached) $ECHO_C" >&6
25630 cat >conftest.
$ac_ext <<_ACEOF
25633 cat confdefs.h
>>conftest.
$ac_ext
25634 cat >>conftest.
$ac_ext <<_ACEOF
25635 /* end confdefs.h. */
25636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25638 #define $ac_func innocuous_$ac_func
25640 /* System header to define __stub macros and hopefully few prototypes,
25641 which can conflict with char $ac_func (); below.
25642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25643 <limits.h> exists even on freestanding compilers. */
25646 # include <limits.h>
25648 # include <assert.h>
25653 /* Override any gcc2 internal prototype to avoid an error. */
25658 /* We use char because int might match the return type of a gcc2
25659 builtin and then its argument prototype would still apply. */
25661 /* The GNU C library defines this for functions which it implements
25662 to always fail with ENOSYS. Some functions are actually named
25663 something starting with __ and the normal name is an alias. */
25664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25667 char (*f) () = $ac_func;
25676 return f != $ac_func;
25681 rm -f conftest.
$ac_objext conftest
$ac_exeext
25682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25683 (eval $ac_link) 2>conftest.er1
25685 grep -v '^ *+' conftest.er1
>conftest.err
25687 cat conftest.err
>&5
25688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25689 (exit $ac_status); } &&
25690 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25692 (eval $ac_try) 2>&5
25694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25695 (exit $ac_status); }; } &&
25696 { ac_try
='test -s conftest$ac_exeext'
25697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25698 (eval $ac_try) 2>&5
25700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25701 (exit $ac_status); }; }; then
25702 eval "$as_ac_var=yes"
25704 echo "$as_me: failed program was:" >&5
25705 sed 's/^/| /' conftest.
$ac_ext >&5
25707 eval "$as_ac_var=no"
25709 rm -f conftest.err conftest.
$ac_objext \
25710 conftest
$ac_exeext conftest.
$ac_ext
25712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25713 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25714 if test `eval echo '${'$as_ac_var'}'` = yes; then
25715 cat >>confdefs.h
<<_ACEOF
25716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25724 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
25725 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
25727 AFMINSTALL
=afminstall
25731 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
25732 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
25733 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
25734 echo $ECHO_N "(cached) $ECHO_C" >&6
25736 ac_check_lib_save_LIBS
=$LIBS
25738 cat >conftest.
$ac_ext <<_ACEOF
25741 cat confdefs.h
>>conftest.
$ac_ext
25742 cat >>conftest.
$ac_ext <<_ACEOF
25743 /* end confdefs.h. */
25745 /* Override any gcc2 internal prototype to avoid an error. */
25749 /* We use char because int might match the return type of a gcc2
25750 builtin and then its argument prototype would still apply. */
25751 char gdk_im_open ();
25760 rm -f conftest.
$ac_objext conftest
$ac_exeext
25761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25762 (eval $ac_link) 2>conftest.er1
25764 grep -v '^ *+' conftest.er1
>conftest.err
25766 cat conftest.err
>&5
25767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25768 (exit $ac_status); } &&
25769 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25771 (eval $ac_try) 2>&5
25773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25774 (exit $ac_status); }; } &&
25775 { ac_try
='test -s conftest$ac_exeext'
25776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25777 (eval $ac_try) 2>&5
25779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25780 (exit $ac_status); }; }; then
25781 ac_cv_lib_gdk_gdk_im_open
=yes
25783 echo "$as_me: failed program was:" >&5
25784 sed 's/^/| /' conftest.
$ac_ext >&5
25786 ac_cv_lib_gdk_gdk_im_open
=no
25788 rm -f conftest.err conftest.
$ac_objext \
25789 conftest
$ac_exeext conftest.
$ac_ext
25790 LIBS
=$ac_check_lib_save_LIBS
25792 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
25793 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
25794 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
25795 cat >>confdefs.h
<<\_ACEOF
25803 if test "$wxUSE_GPE" = "yes"; then
25804 echo "$as_me:$LINENO: checking for gpewidget library" >&5
25805 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
25808 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25810 for ac_extension
in a so sl dylib dll.a
; do
25811 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
25812 ac_find_libraries
=$ac_dir
25818 if test "$ac_find_libraries" != "" ; then
25820 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
25822 if test $result = 0; then
25825 ac_path_to_link
=" -L$ac_find_libraries"
25828 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
25830 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25831 echo "${ECHO_T}found at $ac_find_libraries" >&6
25833 echo "$as_me:$LINENO: result: not found" >&5
25834 echo "${ECHO_T}not found" >&6
25840 if test "$wxUSE_MGL" = 1; then
25841 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
25842 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
25843 if test "x$MGL_ROOT" = x
; then
25844 echo "$as_me:$LINENO: result: not found" >&5
25845 echo "${ECHO_T}not found" >&6
25846 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
25847 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
25848 { (exit 1); exit 1; }; }
25850 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
25851 echo "${ECHO_T}$MGL_ROOT" >&6
25854 echo "$as_me:$LINENO: checking for libmgl location" >&5
25855 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
25858 if test "x$wxUSE_SHARED" = xyes
; then
25859 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
25861 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
25865 mgl_os_candidates
="dos32/dj2"
25868 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
25869 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
25870 { (exit 1); exit 1; }; }
25876 for mgl_os_i
in $mgl_os_candidates ; do
25877 if test "x$mgl_os" = x
; then
25878 if test "$wxUSE_DEBUG_FLAG" = yes ; then
25879 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
25880 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
25885 if test "x$mgl_lib_type" = x
; then
25886 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
25887 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
25888 mgl_lib_type
=release
25895 if test "x$mgl_os" = x
; then
25896 echo "$as_me:$LINENO: result: not found" >&5
25897 echo "${ECHO_T}not found" >&6
25898 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
25899 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
25900 { (exit 1); exit 1; }; }
25902 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
25903 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
25905 wxUSE_UNIVERSAL
="yes"
25907 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
25908 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
25910 AFMINSTALL
=afminstall
25915 if test "$wxUSE_MICROWIN" = 1; then
25916 echo "$as_me:$LINENO: checking for MicroWindows" >&5
25917 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
25918 if test "x$MICROWINDOWS" = x
; then
25919 echo "$as_me:$LINENO: result: not found" >&5
25920 echo "${ECHO_T}not found" >&6
25921 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
25922 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
25923 { (exit 1); exit 1; }; }
25925 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
25926 echo "${ECHO_T}$MICROWINDOWS" >&6
25929 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
25930 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
25931 echo "${ECHO_T}MicroWindows' libraries found." >&6
25933 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
25934 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
25935 { (exit 1); exit 1; }; }
25938 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
25939 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
25941 wxUSE_UNIVERSAL
="yes"
25943 AFMINSTALL
=afminstall
25945 GUIDIST
=MICROWIN_DIST
25947 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
25950 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
25952 if test "x$ac_path_x_has_been_run" != xyes
; then
25953 echo "$as_me:$LINENO: checking for X" >&5
25954 echo $ECHO_N "checking for X... $ECHO_C" >&6
25956 ac_path_x_has_been_run
=yes
25958 # Check whether --with-x or --without-x was given.
25959 if test "${with_x+set}" = set; then
25963 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
25964 if test "x$with_x" = xno
; then
25965 # The user explicitly disabled X.
25968 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
25969 # Both variables are already set.
25972 if test "${ac_cv_have_x+set}" = set; then
25973 echo $ECHO_N "(cached) $ECHO_C" >&6
25975 # One or both of the vars are not set, and there is no cached value.
25976 ac_x_includes
=no ac_x_libraries
=no
25977 rm -fr conftest.dir
25978 if mkdir conftest.dir
; then
25980 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
25981 cat >Imakefile
<<'_ACEOF'
25983 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
25985 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
25986 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
25987 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
25988 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
25989 for ac_extension
in a so sl
; do
25990 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
25991 test -f $ac_im_libdir/libX11.
$ac_extension; then
25992 ac_im_usrlibdir
=$ac_im_libdir; break
25995 # Screen out bogus values from the imake configuration. They are
25996 # bogus both because they are the default anyway, and because
25997 # using them would break gcc on systems where it needs fixed includes.
25998 case $ac_im_incroot in
26000 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
26002 case $ac_im_usrlibdir in
26003 /usr
/lib
| /lib
) ;;
26004 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
26008 rm -fr conftest.dir
26011 # Standard set of common directories for X headers.
26012 # Check X11 before X11Rn because it is often a symlink to the current release.
26024 /usr/local/X11/include
26025 /usr/local/X11R6/include
26026 /usr/local/X11R5/include
26027 /usr/local/X11R4/include
26029 /usr/local/include/X11
26030 /usr/local/include/X11R6
26031 /usr/local/include/X11R5
26032 /usr/local/include/X11R4
26036 /usr/XFree86/include/X11
26040 /usr/unsupported/include
26041 /usr/athena/include
26042 /usr/local/x11r5/include
26043 /usr/lpp/Xamples/include
26045 /usr/openwin/include
26046 /usr/openwin/share/include'
26048 if test "$ac_x_includes" = no
; then
26049 # Guess where to find include files, by looking for a specified header file.
26050 # First, try using that file with no special directory specified.
26051 cat >conftest.
$ac_ext <<_ACEOF
26054 cat confdefs.h
>>conftest.
$ac_ext
26055 cat >>conftest.
$ac_ext <<_ACEOF
26056 /* end confdefs.h. */
26057 #include <X11/Intrinsic.h>
26059 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26060 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26062 grep -v '^ *+' conftest.er1
>conftest.err
26064 cat conftest.err
>&5
26065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26066 (exit $ac_status); } >/dev
/null
; then
26067 if test -s conftest.err
; then
26068 ac_cpp_err
=$ac_c_preproc_warn_flag
26069 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26076 if test -z "$ac_cpp_err"; then
26077 # We can compile using X headers with no special include directory.
26080 echo "$as_me: failed program was:" >&5
26081 sed 's/^/| /' conftest.
$ac_ext >&5
26083 for ac_dir
in $ac_x_header_dirs; do
26084 if test -r "$ac_dir/X11/Intrinsic.h"; then
26085 ac_x_includes
=$ac_dir
26090 rm -f conftest.err conftest.
$ac_ext
26091 fi # $ac_x_includes = no
26093 if test "$ac_x_libraries" = no
; then
26094 # Check for the libraries.
26095 # See if we find them without any special options.
26096 # Don't add to $LIBS permanently.
26099 cat >conftest.
$ac_ext <<_ACEOF
26102 cat confdefs.h
>>conftest.
$ac_ext
26103 cat >>conftest.
$ac_ext <<_ACEOF
26104 /* end confdefs.h. */
26105 #include <X11/Intrinsic.h>
26114 rm -f conftest.
$ac_objext conftest
$ac_exeext
26115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26116 (eval $ac_link) 2>conftest.er1
26118 grep -v '^ *+' conftest.er1
>conftest.err
26120 cat conftest.err
>&5
26121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26122 (exit $ac_status); } &&
26123 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26125 (eval $ac_try) 2>&5
26127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26128 (exit $ac_status); }; } &&
26129 { ac_try
='test -s conftest$ac_exeext'
26130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26131 (eval $ac_try) 2>&5
26133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26134 (exit $ac_status); }; }; then
26136 # We can link X programs with no special library path.
26139 echo "$as_me: failed program was:" >&5
26140 sed 's/^/| /' conftest.
$ac_ext >&5
26143 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
26145 # Don't even attempt the hair of trying to link an X program!
26146 for ac_extension
in a so sl
; do
26147 if test -r $ac_dir/libXt.
$ac_extension; then
26148 ac_x_libraries
=$ac_dir
26154 rm -f conftest.err conftest.
$ac_objext \
26155 conftest
$ac_exeext conftest.
$ac_ext
26156 fi # $ac_x_libraries = no
26158 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
26159 # Didn't find X anywhere. Cache the known absence of X.
26160 ac_cv_have_x
="have_x=no"
26162 # Record where we found X for the cache.
26163 ac_cv_have_x
="have_x=yes \
26164 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
26169 eval "$ac_cv_have_x"
26172 if test "$have_x" != yes; then
26173 echo "$as_me:$LINENO: result: $have_x" >&5
26174 echo "${ECHO_T}$have_x" >&6
26177 # If each of the values was on the command line, it overrides each guess.
26178 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
26179 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
26180 # Update the cache value to reflect the command line values.
26181 ac_cv_have_x
="have_x=yes \
26182 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
26183 # It might be that x_includes is empty (headers are found in the
26184 # standard search path. Then output the corresponding message
26185 ac_out_x_includes
=$x_includes
26186 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
26187 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
26188 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
26192 if test "$no_x" = yes; then
26193 # Not all programs may use this symbol, but it does not hurt to define it.
26195 cat >>confdefs.h
<<\_ACEOF
26196 #define X_DISPLAY_MISSING 1
26199 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
26201 if test -n "$x_includes"; then
26202 X_CFLAGS
="$X_CFLAGS -I$x_includes"
26205 # It would also be nice to do this for all -L options, not just this one.
26206 if test -n "$x_libraries"; then
26207 X_LIBS
="$X_LIBS -L$x_libraries"
26208 # For Solaris; some versions of Sun CC require a space after -R and
26209 # others require no space. Words are not sufficient . . . .
26210 case `(uname -sr) 2>/dev/null` in
26212 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
26213 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
26214 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
26215 cat >conftest.
$ac_ext <<_ACEOF
26218 cat confdefs.h
>>conftest.
$ac_ext
26219 cat >>conftest.
$ac_ext <<_ACEOF
26220 /* end confdefs.h. */
26230 rm -f conftest.
$ac_objext conftest
$ac_exeext
26231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26232 (eval $ac_link) 2>conftest.er1
26234 grep -v '^ *+' conftest.er1
>conftest.err
26236 cat conftest.err
>&5
26237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26238 (exit $ac_status); } &&
26239 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26241 (eval $ac_try) 2>&5
26243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26244 (exit $ac_status); }; } &&
26245 { ac_try
='test -s conftest$ac_exeext'
26246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26247 (eval $ac_try) 2>&5
26249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26250 (exit $ac_status); }; }; then
26253 echo "$as_me: failed program was:" >&5
26254 sed 's/^/| /' conftest.
$ac_ext >&5
26258 rm -f conftest.err conftest.
$ac_objext \
26259 conftest
$ac_exeext conftest.
$ac_ext
26260 if test $ac_R_nospace = yes; then
26261 echo "$as_me:$LINENO: result: no" >&5
26262 echo "${ECHO_T}no" >&6
26263 X_LIBS
="$X_LIBS -R$x_libraries"
26265 LIBS
="$ac_xsave_LIBS -R $x_libraries"
26266 cat >conftest.
$ac_ext <<_ACEOF
26269 cat confdefs.h
>>conftest.
$ac_ext
26270 cat >>conftest.
$ac_ext <<_ACEOF
26271 /* end confdefs.h. */
26281 rm -f conftest.
$ac_objext conftest
$ac_exeext
26282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26283 (eval $ac_link) 2>conftest.er1
26285 grep -v '^ *+' conftest.er1
>conftest.err
26287 cat conftest.err
>&5
26288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26289 (exit $ac_status); } &&
26290 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26292 (eval $ac_try) 2>&5
26294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26295 (exit $ac_status); }; } &&
26296 { ac_try
='test -s conftest$ac_exeext'
26297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26298 (eval $ac_try) 2>&5
26300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26301 (exit $ac_status); }; }; then
26304 echo "$as_me: failed program was:" >&5
26305 sed 's/^/| /' conftest.
$ac_ext >&5
26309 rm -f conftest.err conftest.
$ac_objext \
26310 conftest
$ac_exeext conftest.
$ac_ext
26311 if test $ac_R_space = yes; then
26312 echo "$as_me:$LINENO: result: yes" >&5
26313 echo "${ECHO_T}yes" >&6
26314 X_LIBS
="$X_LIBS -R $x_libraries"
26316 echo "$as_me:$LINENO: result: neither works" >&5
26317 echo "${ECHO_T}neither works" >&6
26320 LIBS
=$ac_xsave_LIBS
26324 # Check for system-dependent libraries X programs must link with.
26325 # Do this before checking for the system-independent R6 libraries
26326 # (-lICE), since we may need -lsocket or whatever for X linking.
26328 if test "$ISC" = yes; then
26329 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
26331 # Martyn Johnson says this is needed for Ultrix, if the X
26332 # libraries were built with DECnet support. And Karl Berry says
26333 # the Alpha needs dnet_stub (dnet does not exist).
26334 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
26335 cat >conftest.
$ac_ext <<_ACEOF
26338 cat confdefs.h
>>conftest.
$ac_ext
26339 cat >>conftest.
$ac_ext <<_ACEOF
26340 /* end confdefs.h. */
26342 /* Override any gcc2 internal prototype to avoid an error. */
26346 /* We use char because int might match the return type of a gcc2
26347 builtin and then its argument prototype would still apply. */
26348 char XOpenDisplay ();
26357 rm -f conftest.
$ac_objext conftest
$ac_exeext
26358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26359 (eval $ac_link) 2>conftest.er1
26361 grep -v '^ *+' conftest.er1
>conftest.err
26363 cat conftest.err
>&5
26364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26365 (exit $ac_status); } &&
26366 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26368 (eval $ac_try) 2>&5
26370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26371 (exit $ac_status); }; } &&
26372 { ac_try
='test -s conftest$ac_exeext'
26373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26374 (eval $ac_try) 2>&5
26376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26377 (exit $ac_status); }; }; then
26380 echo "$as_me: failed program was:" >&5
26381 sed 's/^/| /' conftest.
$ac_ext >&5
26383 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
26384 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
26385 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
26386 echo $ECHO_N "(cached) $ECHO_C" >&6
26388 ac_check_lib_save_LIBS
=$LIBS
26389 LIBS
="-ldnet $LIBS"
26390 cat >conftest.
$ac_ext <<_ACEOF
26393 cat confdefs.h
>>conftest.
$ac_ext
26394 cat >>conftest.
$ac_ext <<_ACEOF
26395 /* end confdefs.h. */
26397 /* Override any gcc2 internal prototype to avoid an error. */
26401 /* We use char because int might match the return type of a gcc2
26402 builtin and then its argument prototype would still apply. */
26412 rm -f conftest.
$ac_objext conftest
$ac_exeext
26413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26414 (eval $ac_link) 2>conftest.er1
26416 grep -v '^ *+' conftest.er1
>conftest.err
26418 cat conftest.err
>&5
26419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26420 (exit $ac_status); } &&
26421 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26423 (eval $ac_try) 2>&5
26425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26426 (exit $ac_status); }; } &&
26427 { ac_try
='test -s conftest$ac_exeext'
26428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26429 (eval $ac_try) 2>&5
26431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26432 (exit $ac_status); }; }; then
26433 ac_cv_lib_dnet_dnet_ntoa
=yes
26435 echo "$as_me: failed program was:" >&5
26436 sed 's/^/| /' conftest.
$ac_ext >&5
26438 ac_cv_lib_dnet_dnet_ntoa
=no
26440 rm -f conftest.err conftest.
$ac_objext \
26441 conftest
$ac_exeext conftest.
$ac_ext
26442 LIBS
=$ac_check_lib_save_LIBS
26444 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
26445 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
26446 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
26447 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
26450 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
26451 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
26452 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
26453 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
26454 echo $ECHO_N "(cached) $ECHO_C" >&6
26456 ac_check_lib_save_LIBS
=$LIBS
26457 LIBS
="-ldnet_stub $LIBS"
26458 cat >conftest.
$ac_ext <<_ACEOF
26461 cat confdefs.h
>>conftest.
$ac_ext
26462 cat >>conftest.
$ac_ext <<_ACEOF
26463 /* end confdefs.h. */
26465 /* Override any gcc2 internal prototype to avoid an error. */
26469 /* We use char because int might match the return type of a gcc2
26470 builtin and then its argument prototype would still apply. */
26480 rm -f conftest.
$ac_objext conftest
$ac_exeext
26481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26482 (eval $ac_link) 2>conftest.er1
26484 grep -v '^ *+' conftest.er1
>conftest.err
26486 cat conftest.err
>&5
26487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26488 (exit $ac_status); } &&
26489 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26491 (eval $ac_try) 2>&5
26493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26494 (exit $ac_status); }; } &&
26495 { ac_try
='test -s conftest$ac_exeext'
26496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26497 (eval $ac_try) 2>&5
26499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26500 (exit $ac_status); }; }; then
26501 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
26503 echo "$as_me: failed program was:" >&5
26504 sed 's/^/| /' conftest.
$ac_ext >&5
26506 ac_cv_lib_dnet_stub_dnet_ntoa
=no
26508 rm -f conftest.err conftest.
$ac_objext \
26509 conftest
$ac_exeext conftest.
$ac_ext
26510 LIBS
=$ac_check_lib_save_LIBS
26512 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26513 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
26514 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
26515 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
26520 rm -f conftest.err conftest.
$ac_objext \
26521 conftest
$ac_exeext conftest.
$ac_ext
26522 LIBS
="$ac_xsave_LIBS"
26524 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26525 # to get the SysV transport functions.
26526 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26528 # The nsl library prevents programs from opening the X display
26529 # on Irix 5.2, according to T.E. Dickey.
26530 # The functions gethostbyname, getservbyname, and inet_addr are
26531 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26532 echo "$as_me:$LINENO: checking for gethostbyname" >&5
26533 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
26534 if test "${ac_cv_func_gethostbyname+set}" = set; then
26535 echo $ECHO_N "(cached) $ECHO_C" >&6
26537 cat >conftest.
$ac_ext <<_ACEOF
26540 cat confdefs.h
>>conftest.
$ac_ext
26541 cat >>conftest.
$ac_ext <<_ACEOF
26542 /* end confdefs.h. */
26543 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26545 #define gethostbyname innocuous_gethostbyname
26547 /* System header to define __stub macros and hopefully few prototypes,
26548 which can conflict with char gethostbyname (); below.
26549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26550 <limits.h> exists even on freestanding compilers. */
26553 # include <limits.h>
26555 # include <assert.h>
26558 #undef gethostbyname
26560 /* Override any gcc2 internal prototype to avoid an error. */
26565 /* We use char because int might match the return type of a gcc2
26566 builtin and then its argument prototype would still apply. */
26567 char gethostbyname ();
26568 /* The GNU C library defines this for functions which it implements
26569 to always fail with ENOSYS. Some functions are actually named
26570 something starting with __ and the normal name is an alias. */
26571 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
26574 char (*f) () = gethostbyname;
26583 return f != gethostbyname;
26588 rm -f conftest.
$ac_objext conftest
$ac_exeext
26589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26590 (eval $ac_link) 2>conftest.er1
26592 grep -v '^ *+' conftest.er1
>conftest.err
26594 cat conftest.err
>&5
26595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26596 (exit $ac_status); } &&
26597 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26599 (eval $ac_try) 2>&5
26601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26602 (exit $ac_status); }; } &&
26603 { ac_try
='test -s conftest$ac_exeext'
26604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26605 (eval $ac_try) 2>&5
26607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26608 (exit $ac_status); }; }; then
26609 ac_cv_func_gethostbyname
=yes
26611 echo "$as_me: failed program was:" >&5
26612 sed 's/^/| /' conftest.
$ac_ext >&5
26614 ac_cv_func_gethostbyname
=no
26616 rm -f conftest.err conftest.
$ac_objext \
26617 conftest
$ac_exeext conftest.
$ac_ext
26619 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
26620 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
26622 if test $ac_cv_func_gethostbyname = no
; then
26623 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
26624 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
26625 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
26626 echo $ECHO_N "(cached) $ECHO_C" >&6
26628 ac_check_lib_save_LIBS
=$LIBS
26630 cat >conftest.
$ac_ext <<_ACEOF
26633 cat confdefs.h
>>conftest.
$ac_ext
26634 cat >>conftest.
$ac_ext <<_ACEOF
26635 /* end confdefs.h. */
26637 /* Override any gcc2 internal prototype to avoid an error. */
26641 /* We use char because int might match the return type of a gcc2
26642 builtin and then its argument prototype would still apply. */
26643 char gethostbyname ();
26652 rm -f conftest.
$ac_objext conftest
$ac_exeext
26653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26654 (eval $ac_link) 2>conftest.er1
26656 grep -v '^ *+' conftest.er1
>conftest.err
26658 cat conftest.err
>&5
26659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26660 (exit $ac_status); } &&
26661 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26663 (eval $ac_try) 2>&5
26665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26666 (exit $ac_status); }; } &&
26667 { ac_try
='test -s conftest$ac_exeext'
26668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26669 (eval $ac_try) 2>&5
26671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26672 (exit $ac_status); }; }; then
26673 ac_cv_lib_nsl_gethostbyname
=yes
26675 echo "$as_me: failed program was:" >&5
26676 sed 's/^/| /' conftest.
$ac_ext >&5
26678 ac_cv_lib_nsl_gethostbyname
=no
26680 rm -f conftest.err conftest.
$ac_objext \
26681 conftest
$ac_exeext conftest.
$ac_ext
26682 LIBS
=$ac_check_lib_save_LIBS
26684 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
26685 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
26686 if test $ac_cv_lib_nsl_gethostbyname = yes; then
26687 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
26690 if test $ac_cv_lib_nsl_gethostbyname = no
; then
26691 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
26692 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
26693 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
26694 echo $ECHO_N "(cached) $ECHO_C" >&6
26696 ac_check_lib_save_LIBS
=$LIBS
26698 cat >conftest.
$ac_ext <<_ACEOF
26701 cat confdefs.h
>>conftest.
$ac_ext
26702 cat >>conftest.
$ac_ext <<_ACEOF
26703 /* end confdefs.h. */
26705 /* Override any gcc2 internal prototype to avoid an error. */
26709 /* We use char because int might match the return type of a gcc2
26710 builtin and then its argument prototype would still apply. */
26711 char gethostbyname ();
26720 rm -f conftest.
$ac_objext conftest
$ac_exeext
26721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26722 (eval $ac_link) 2>conftest.er1
26724 grep -v '^ *+' conftest.er1
>conftest.err
26726 cat conftest.err
>&5
26727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26728 (exit $ac_status); } &&
26729 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26731 (eval $ac_try) 2>&5
26733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26734 (exit $ac_status); }; } &&
26735 { ac_try
='test -s conftest$ac_exeext'
26736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26737 (eval $ac_try) 2>&5
26739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26740 (exit $ac_status); }; }; then
26741 ac_cv_lib_bsd_gethostbyname
=yes
26743 echo "$as_me: failed program was:" >&5
26744 sed 's/^/| /' conftest.
$ac_ext >&5
26746 ac_cv_lib_bsd_gethostbyname
=no
26748 rm -f conftest.err conftest.
$ac_objext \
26749 conftest
$ac_exeext conftest.
$ac_ext
26750 LIBS
=$ac_check_lib_save_LIBS
26752 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
26753 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
26754 if test $ac_cv_lib_bsd_gethostbyname = yes; then
26755 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
26761 # lieder@skyler.mavd.honeywell.com says without -lsocket,
26762 # socket/setsockopt and other routines are undefined under SCO ODT
26763 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
26764 # on later versions), says Simon Leinen: it contains gethostby*
26765 # variants that don't use the name server (or something). -lsocket
26766 # must be given before -lnsl if both are needed. We assume that
26767 # if connect needs -lnsl, so does gethostbyname.
26768 echo "$as_me:$LINENO: checking for connect" >&5
26769 echo $ECHO_N "checking for connect... $ECHO_C" >&6
26770 if test "${ac_cv_func_connect+set}" = set; then
26771 echo $ECHO_N "(cached) $ECHO_C" >&6
26773 cat >conftest.
$ac_ext <<_ACEOF
26776 cat confdefs.h
>>conftest.
$ac_ext
26777 cat >>conftest.
$ac_ext <<_ACEOF
26778 /* end confdefs.h. */
26779 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
26780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26781 #define connect innocuous_connect
26783 /* System header to define __stub macros and hopefully few prototypes,
26784 which can conflict with char connect (); below.
26785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26786 <limits.h> exists even on freestanding compilers. */
26789 # include <limits.h>
26791 # include <assert.h>
26796 /* Override any gcc2 internal prototype to avoid an error. */
26801 /* We use char because int might match the return type of a gcc2
26802 builtin and then its argument prototype would still apply. */
26804 /* The GNU C library defines this for functions which it implements
26805 to always fail with ENOSYS. Some functions are actually named
26806 something starting with __ and the normal name is an alias. */
26807 #if defined (__stub_connect) || defined (__stub___connect)
26810 char (*f) () = connect;
26819 return f != connect;
26824 rm -f conftest.
$ac_objext conftest
$ac_exeext
26825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26826 (eval $ac_link) 2>conftest.er1
26828 grep -v '^ *+' conftest.er1
>conftest.err
26830 cat conftest.err
>&5
26831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26832 (exit $ac_status); } &&
26833 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26835 (eval $ac_try) 2>&5
26837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26838 (exit $ac_status); }; } &&
26839 { ac_try
='test -s conftest$ac_exeext'
26840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26841 (eval $ac_try) 2>&5
26843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26844 (exit $ac_status); }; }; then
26845 ac_cv_func_connect
=yes
26847 echo "$as_me: failed program was:" >&5
26848 sed 's/^/| /' conftest.
$ac_ext >&5
26850 ac_cv_func_connect
=no
26852 rm -f conftest.err conftest.
$ac_objext \
26853 conftest
$ac_exeext conftest.
$ac_ext
26855 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
26856 echo "${ECHO_T}$ac_cv_func_connect" >&6
26858 if test $ac_cv_func_connect = no
; then
26859 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
26860 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
26861 if test "${ac_cv_lib_socket_connect+set}" = set; then
26862 echo $ECHO_N "(cached) $ECHO_C" >&6
26864 ac_check_lib_save_LIBS
=$LIBS
26865 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
26866 cat >conftest.
$ac_ext <<_ACEOF
26869 cat confdefs.h
>>conftest.
$ac_ext
26870 cat >>conftest.
$ac_ext <<_ACEOF
26871 /* end confdefs.h. */
26873 /* Override any gcc2 internal prototype to avoid an error. */
26877 /* We use char because int might match the return type of a gcc2
26878 builtin and then its argument prototype would still apply. */
26888 rm -f conftest.
$ac_objext conftest
$ac_exeext
26889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26890 (eval $ac_link) 2>conftest.er1
26892 grep -v '^ *+' conftest.er1
>conftest.err
26894 cat conftest.err
>&5
26895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26896 (exit $ac_status); } &&
26897 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26899 (eval $ac_try) 2>&5
26901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26902 (exit $ac_status); }; } &&
26903 { ac_try
='test -s conftest$ac_exeext'
26904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26905 (eval $ac_try) 2>&5
26907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26908 (exit $ac_status); }; }; then
26909 ac_cv_lib_socket_connect
=yes
26911 echo "$as_me: failed program was:" >&5
26912 sed 's/^/| /' conftest.
$ac_ext >&5
26914 ac_cv_lib_socket_connect
=no
26916 rm -f conftest.err conftest.
$ac_objext \
26917 conftest
$ac_exeext conftest.
$ac_ext
26918 LIBS
=$ac_check_lib_save_LIBS
26920 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
26921 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
26922 if test $ac_cv_lib_socket_connect = yes; then
26923 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
26928 # Guillermo Gomez says -lposix is necessary on A/UX.
26929 echo "$as_me:$LINENO: checking for remove" >&5
26930 echo $ECHO_N "checking for remove... $ECHO_C" >&6
26931 if test "${ac_cv_func_remove+set}" = set; then
26932 echo $ECHO_N "(cached) $ECHO_C" >&6
26934 cat >conftest.
$ac_ext <<_ACEOF
26937 cat confdefs.h
>>conftest.
$ac_ext
26938 cat >>conftest.
$ac_ext <<_ACEOF
26939 /* end confdefs.h. */
26940 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
26941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26942 #define remove innocuous_remove
26944 /* System header to define __stub macros and hopefully few prototypes,
26945 which can conflict with char remove (); below.
26946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26947 <limits.h> exists even on freestanding compilers. */
26950 # include <limits.h>
26952 # include <assert.h>
26957 /* Override any gcc2 internal prototype to avoid an error. */
26962 /* We use char because int might match the return type of a gcc2
26963 builtin and then its argument prototype would still apply. */
26965 /* The GNU C library defines this for functions which it implements
26966 to always fail with ENOSYS. Some functions are actually named
26967 something starting with __ and the normal name is an alias. */
26968 #if defined (__stub_remove) || defined (__stub___remove)
26971 char (*f) () = remove;
26980 return f != remove;
26985 rm -f conftest.
$ac_objext conftest
$ac_exeext
26986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26987 (eval $ac_link) 2>conftest.er1
26989 grep -v '^ *+' conftest.er1
>conftest.err
26991 cat conftest.err
>&5
26992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26993 (exit $ac_status); } &&
26994 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26996 (eval $ac_try) 2>&5
26998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26999 (exit $ac_status); }; } &&
27000 { ac_try
='test -s conftest$ac_exeext'
27001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27002 (eval $ac_try) 2>&5
27004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27005 (exit $ac_status); }; }; then
27006 ac_cv_func_remove
=yes
27008 echo "$as_me: failed program was:" >&5
27009 sed 's/^/| /' conftest.
$ac_ext >&5
27011 ac_cv_func_remove
=no
27013 rm -f conftest.err conftest.
$ac_objext \
27014 conftest
$ac_exeext conftest.
$ac_ext
27016 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
27017 echo "${ECHO_T}$ac_cv_func_remove" >&6
27019 if test $ac_cv_func_remove = no
; then
27020 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
27021 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
27022 if test "${ac_cv_lib_posix_remove+set}" = set; then
27023 echo $ECHO_N "(cached) $ECHO_C" >&6
27025 ac_check_lib_save_LIBS
=$LIBS
27026 LIBS
="-lposix $LIBS"
27027 cat >conftest.
$ac_ext <<_ACEOF
27030 cat confdefs.h
>>conftest.
$ac_ext
27031 cat >>conftest.
$ac_ext <<_ACEOF
27032 /* end confdefs.h. */
27034 /* Override any gcc2 internal prototype to avoid an error. */
27038 /* We use char because int might match the return type of a gcc2
27039 builtin and then its argument prototype would still apply. */
27049 rm -f conftest.
$ac_objext conftest
$ac_exeext
27050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27051 (eval $ac_link) 2>conftest.er1
27053 grep -v '^ *+' conftest.er1
>conftest.err
27055 cat conftest.err
>&5
27056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27057 (exit $ac_status); } &&
27058 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27060 (eval $ac_try) 2>&5
27062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27063 (exit $ac_status); }; } &&
27064 { ac_try
='test -s conftest$ac_exeext'
27065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27066 (eval $ac_try) 2>&5
27068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27069 (exit $ac_status); }; }; then
27070 ac_cv_lib_posix_remove
=yes
27072 echo "$as_me: failed program was:" >&5
27073 sed 's/^/| /' conftest.
$ac_ext >&5
27075 ac_cv_lib_posix_remove
=no
27077 rm -f conftest.err conftest.
$ac_objext \
27078 conftest
$ac_exeext conftest.
$ac_ext
27079 LIBS
=$ac_check_lib_save_LIBS
27081 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
27082 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
27083 if test $ac_cv_lib_posix_remove = yes; then
27084 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
27089 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
27090 echo "$as_me:$LINENO: checking for shmat" >&5
27091 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
27092 if test "${ac_cv_func_shmat+set}" = set; then
27093 echo $ECHO_N "(cached) $ECHO_C" >&6
27095 cat >conftest.
$ac_ext <<_ACEOF
27098 cat confdefs.h
>>conftest.
$ac_ext
27099 cat >>conftest.
$ac_ext <<_ACEOF
27100 /* end confdefs.h. */
27101 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
27102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27103 #define shmat innocuous_shmat
27105 /* System header to define __stub macros and hopefully few prototypes,
27106 which can conflict with char shmat (); below.
27107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27108 <limits.h> exists even on freestanding compilers. */
27111 # include <limits.h>
27113 # include <assert.h>
27118 /* Override any gcc2 internal prototype to avoid an error. */
27123 /* We use char because int might match the return type of a gcc2
27124 builtin and then its argument prototype would still apply. */
27126 /* The GNU C library defines this for functions which it implements
27127 to always fail with ENOSYS. Some functions are actually named
27128 something starting with __ and the normal name is an alias. */
27129 #if defined (__stub_shmat) || defined (__stub___shmat)
27132 char (*f) () = shmat;
27146 rm -f conftest.
$ac_objext conftest
$ac_exeext
27147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27148 (eval $ac_link) 2>conftest.er1
27150 grep -v '^ *+' conftest.er1
>conftest.err
27152 cat conftest.err
>&5
27153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27154 (exit $ac_status); } &&
27155 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27157 (eval $ac_try) 2>&5
27159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27160 (exit $ac_status); }; } &&
27161 { ac_try
='test -s conftest$ac_exeext'
27162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27163 (eval $ac_try) 2>&5
27165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27166 (exit $ac_status); }; }; then
27167 ac_cv_func_shmat
=yes
27169 echo "$as_me: failed program was:" >&5
27170 sed 's/^/| /' conftest.
$ac_ext >&5
27172 ac_cv_func_shmat
=no
27174 rm -f conftest.err conftest.
$ac_objext \
27175 conftest
$ac_exeext conftest.
$ac_ext
27177 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
27178 echo "${ECHO_T}$ac_cv_func_shmat" >&6
27180 if test $ac_cv_func_shmat = no
; then
27181 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
27182 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
27183 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
27184 echo $ECHO_N "(cached) $ECHO_C" >&6
27186 ac_check_lib_save_LIBS
=$LIBS
27188 cat >conftest.
$ac_ext <<_ACEOF
27191 cat confdefs.h
>>conftest.
$ac_ext
27192 cat >>conftest.
$ac_ext <<_ACEOF
27193 /* end confdefs.h. */
27195 /* Override any gcc2 internal prototype to avoid an error. */
27199 /* We use char because int might match the return type of a gcc2
27200 builtin and then its argument prototype would still apply. */
27210 rm -f conftest.
$ac_objext conftest
$ac_exeext
27211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27212 (eval $ac_link) 2>conftest.er1
27214 grep -v '^ *+' conftest.er1
>conftest.err
27216 cat conftest.err
>&5
27217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27218 (exit $ac_status); } &&
27219 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27221 (eval $ac_try) 2>&5
27223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27224 (exit $ac_status); }; } &&
27225 { ac_try
='test -s conftest$ac_exeext'
27226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27227 (eval $ac_try) 2>&5
27229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27230 (exit $ac_status); }; }; then
27231 ac_cv_lib_ipc_shmat
=yes
27233 echo "$as_me: failed program was:" >&5
27234 sed 's/^/| /' conftest.
$ac_ext >&5
27236 ac_cv_lib_ipc_shmat
=no
27238 rm -f conftest.err conftest.
$ac_objext \
27239 conftest
$ac_exeext conftest.
$ac_ext
27240 LIBS
=$ac_check_lib_save_LIBS
27242 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
27243 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
27244 if test $ac_cv_lib_ipc_shmat = yes; then
27245 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
27251 # Check for libraries that X11R6 Xt/Xaw programs need.
27252 ac_save_LDFLAGS
=$LDFLAGS
27253 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
27254 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
27255 # check for ICE first), but we must link in the order -lSM -lICE or
27256 # we get undefined symbols. So assume we have SM if we have ICE.
27257 # These have to be linked with before -lX11, unlike the other
27258 # libraries we check for below, so use a different variable.
27259 # John Interrante, Karl Berry
27260 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
27261 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
27262 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
27263 echo $ECHO_N "(cached) $ECHO_C" >&6
27265 ac_check_lib_save_LIBS
=$LIBS
27266 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
27267 cat >conftest.
$ac_ext <<_ACEOF
27270 cat confdefs.h
>>conftest.
$ac_ext
27271 cat >>conftest.
$ac_ext <<_ACEOF
27272 /* end confdefs.h. */
27274 /* Override any gcc2 internal prototype to avoid an error. */
27278 /* We use char because int might match the return type of a gcc2
27279 builtin and then its argument prototype would still apply. */
27280 char IceConnectionNumber ();
27284 IceConnectionNumber ();
27289 rm -f conftest.
$ac_objext conftest
$ac_exeext
27290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27291 (eval $ac_link) 2>conftest.er1
27293 grep -v '^ *+' conftest.er1
>conftest.err
27295 cat conftest.err
>&5
27296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27297 (exit $ac_status); } &&
27298 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27300 (eval $ac_try) 2>&5
27302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27303 (exit $ac_status); }; } &&
27304 { ac_try
='test -s conftest$ac_exeext'
27305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27306 (eval $ac_try) 2>&5
27308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27309 (exit $ac_status); }; }; then
27310 ac_cv_lib_ICE_IceConnectionNumber
=yes
27312 echo "$as_me: failed program was:" >&5
27313 sed 's/^/| /' conftest.
$ac_ext >&5
27315 ac_cv_lib_ICE_IceConnectionNumber
=no
27317 rm -f conftest.err conftest.
$ac_objext \
27318 conftest
$ac_exeext conftest.
$ac_ext
27319 LIBS
=$ac_check_lib_save_LIBS
27321 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
27322 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
27323 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
27324 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
27327 LDFLAGS
=$ac_save_LDFLAGS
27332 if test "$no_x" = "yes"; then
27333 { { echo "$as_me:$LINENO: error: X11 not found" >&5
27334 echo "$as_me: error: X11 not found" >&2;}
27335 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
27338 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
27339 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
27340 AFMINSTALL
=afminstall
27341 COMPILED_X_PROGRAM
=0
27345 if test "$wxUSE_X11" = 1; then
27346 if test "$wxUSE_NANOX" = "yes"; then
27347 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
27348 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
27349 if test "x$MICROWIN" = x
; then
27350 echo "$as_me:$LINENO: result: not found" >&5
27351 echo "${ECHO_T}not found" >&6
27352 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
27353 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
27354 { (exit 1); exit 1; }; }
27356 echo "$as_me:$LINENO: result: $MICROWIN" >&5
27357 echo "${ECHO_T}$MICROWIN" >&6
27358 cat >>confdefs.h
<<\_ACEOF
27359 #define wxUSE_NANOX 1
27365 if test "$wxUSE_UNICODE" = "yes"; then
27369 if test -z "$PKG_CONFIG"; then
27370 # Extract the first word of "pkg-config", so it can be a program name with args.
27371 set dummy pkg
-config; ac_word
=$2
27372 echo "$as_me:$LINENO: checking for $ac_word" >&5
27373 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27374 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27375 echo $ECHO_N "(cached) $ECHO_C" >&6
27377 case $PKG_CONFIG in
27379 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27383 for as_dir
in $PATH
27386 test -z "$as_dir" && as_dir
=.
27387 for ac_exec_ext
in '' $ac_executable_extensions; do
27388 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27389 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27396 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27400 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27402 if test -n "$PKG_CONFIG"; then
27403 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27404 echo "${ECHO_T}$PKG_CONFIG" >&6
27406 echo "$as_me:$LINENO: result: no" >&5
27407 echo "${ECHO_T}no" >&6
27412 if test "$PKG_CONFIG" = "no" ; then
27413 echo "*** The pkg-config script could not be found. Make sure it is"
27414 echo "*** in your path, or set the PKG_CONFIG environment variable"
27415 echo "*** to the full path to pkg-config."
27416 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27418 PKG_CONFIG_MIN_VERSION
=0.9.0
27419 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27420 echo "$as_me:$LINENO: checking for pangox" >&5
27421 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
27423 if $PKG_CONFIG --exists "pangox" ; then
27424 echo "$as_me:$LINENO: result: yes" >&5
27425 echo "${ECHO_T}yes" >&6
27428 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
27429 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
27430 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
27431 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
27432 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
27434 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
27435 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
27436 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
27437 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
27438 echo "${ECHO_T}$PANGOX_LIBS" >&6
27442 ## If we have a custom action on failure, don't print errors, but
27443 ## do set a variable so people can do so.
27444 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
27451 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27452 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27456 if test $succeeded = yes; then
27458 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
27459 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
27463 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
27464 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
27465 { (exit 1); exit 1; }; }
27473 if test -z "$PKG_CONFIG"; then
27474 # Extract the first word of "pkg-config", so it can be a program name with args.
27475 set dummy pkg
-config; ac_word
=$2
27476 echo "$as_me:$LINENO: checking for $ac_word" >&5
27477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27478 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27479 echo $ECHO_N "(cached) $ECHO_C" >&6
27481 case $PKG_CONFIG in
27483 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27487 for as_dir
in $PATH
27490 test -z "$as_dir" && as_dir
=.
27491 for ac_exec_ext
in '' $ac_executable_extensions; do
27492 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27493 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27500 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27504 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27506 if test -n "$PKG_CONFIG"; then
27507 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27508 echo "${ECHO_T}$PKG_CONFIG" >&6
27510 echo "$as_me:$LINENO: result: no" >&5
27511 echo "${ECHO_T}no" >&6
27516 if test "$PKG_CONFIG" = "no" ; then
27517 echo "*** The pkg-config script could not be found. Make sure it is"
27518 echo "*** in your path, or set the PKG_CONFIG environment variable"
27519 echo "*** to the full path to pkg-config."
27520 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27522 PKG_CONFIG_MIN_VERSION
=0.9.0
27523 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27524 echo "$as_me:$LINENO: checking for pangoft2" >&5
27525 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
27527 if $PKG_CONFIG --exists "pangoft2" ; then
27528 echo "$as_me:$LINENO: result: yes" >&5
27529 echo "${ECHO_T}yes" >&6
27532 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
27533 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
27534 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
27535 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
27536 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
27538 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
27539 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
27540 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
27541 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
27542 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
27546 ## If we have a custom action on failure, don't print errors, but
27547 ## do set a variable so people can do so.
27548 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
27555 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27556 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27560 if test $succeeded = yes; then
27562 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
27563 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
27567 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
27568 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
27569 wxUSE_PRINTING_ARCHITECTURE
="no"
27577 if test -z "$PKG_CONFIG"; then
27578 # Extract the first word of "pkg-config", so it can be a program name with args.
27579 set dummy pkg
-config; ac_word
=$2
27580 echo "$as_me:$LINENO: checking for $ac_word" >&5
27581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27582 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27583 echo $ECHO_N "(cached) $ECHO_C" >&6
27585 case $PKG_CONFIG in
27587 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27591 for as_dir
in $PATH
27594 test -z "$as_dir" && as_dir
=.
27595 for ac_exec_ext
in '' $ac_executable_extensions; do
27596 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27597 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27604 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27608 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27610 if test -n "$PKG_CONFIG"; then
27611 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27612 echo "${ECHO_T}$PKG_CONFIG" >&6
27614 echo "$as_me:$LINENO: result: no" >&5
27615 echo "${ECHO_T}no" >&6
27620 if test "$PKG_CONFIG" = "no" ; then
27621 echo "*** The pkg-config script could not be found. Make sure it is"
27622 echo "*** in your path, or set the PKG_CONFIG environment variable"
27623 echo "*** to the full path to pkg-config."
27624 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27626 PKG_CONFIG_MIN_VERSION
=0.9.0
27627 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27628 echo "$as_me:$LINENO: checking for pangoxft" >&5
27629 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
27631 if $PKG_CONFIG --exists "pangoxft" ; then
27632 echo "$as_me:$LINENO: result: yes" >&5
27633 echo "${ECHO_T}yes" >&6
27636 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
27637 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
27638 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
27639 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
27640 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
27642 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
27643 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
27644 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
27645 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
27646 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
27650 ## If we have a custom action on failure, don't print errors, but
27651 ## do set a variable so people can do so.
27652 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
27659 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27660 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27664 if test $succeeded = yes; then
27666 cat >>confdefs.h
<<\_ACEOF
27667 #define HAVE_PANGO_XFT 1
27670 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
27671 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
27675 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
27676 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
27681 save_CFLAGS
="$CFLAGS"
27683 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
27684 LIBS
="$LIBS $PANGOX_LIBS"
27686 for ac_func
in pango_font_family_is_monospace
27688 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27689 echo "$as_me:$LINENO: checking for $ac_func" >&5
27690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27691 if eval "test \"\${$as_ac_var+set}\" = set"; then
27692 echo $ECHO_N "(cached) $ECHO_C" >&6
27694 cat >conftest.
$ac_ext <<_ACEOF
27697 cat confdefs.h
>>conftest.
$ac_ext
27698 cat >>conftest.
$ac_ext <<_ACEOF
27699 /* end confdefs.h. */
27700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27702 #define $ac_func innocuous_$ac_func
27704 /* System header to define __stub macros and hopefully few prototypes,
27705 which can conflict with char $ac_func (); below.
27706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27707 <limits.h> exists even on freestanding compilers. */
27710 # include <limits.h>
27712 # include <assert.h>
27717 /* Override any gcc2 internal prototype to avoid an error. */
27722 /* We use char because int might match the return type of a gcc2
27723 builtin and then its argument prototype would still apply. */
27725 /* The GNU C library defines this for functions which it implements
27726 to always fail with ENOSYS. Some functions are actually named
27727 something starting with __ and the normal name is an alias. */
27728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27731 char (*f) () = $ac_func;
27740 return f != $ac_func;
27745 rm -f conftest.
$ac_objext conftest
$ac_exeext
27746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27747 (eval $ac_link) 2>conftest.er1
27749 grep -v '^ *+' conftest.er1
>conftest.err
27751 cat conftest.err
>&5
27752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27753 (exit $ac_status); } &&
27754 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27756 (eval $ac_try) 2>&5
27758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27759 (exit $ac_status); }; } &&
27760 { ac_try
='test -s conftest$ac_exeext'
27761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27762 (eval $ac_try) 2>&5
27764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27765 (exit $ac_status); }; }; then
27766 eval "$as_ac_var=yes"
27768 echo "$as_me: failed program was:" >&5
27769 sed 's/^/| /' conftest.
$ac_ext >&5
27771 eval "$as_ac_var=no"
27773 rm -f conftest.err conftest.
$ac_objext \
27774 conftest
$ac_exeext conftest.
$ac_ext
27776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27778 if test `eval echo '${'$as_ac_var'}'` = yes; then
27779 cat >>confdefs.h
<<_ACEOF
27780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27786 CFLAGS
="$save_CFLAGS"
27790 wxUSE_UNIVERSAL
="yes"
27792 if test "$wxUSE_NANOX" = "yes"; then
27793 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
27794 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"
27795 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
27797 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
27804 if test "$wxUSE_MOTIF" = 1; then
27805 if test "$wxUSE_UNICODE" = "yes"; then
27806 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
27807 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
27808 { (exit 1); exit 1; }; }
27811 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
27812 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
27815 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27817 if test -f "$ac_dir/Xm/Xm.h"; then
27818 ac_find_includes
=$ac_dir
27823 if test "$ac_find_includes" != "" ; then
27824 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27825 echo "${ECHO_T}found in $ac_find_includes" >&6
27827 if test "x$ac_find_includes" = "x/usr/include"; then
27828 ac_path_to_include
=""
27830 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
27832 if test $result = 0; then
27833 ac_path_to_include
=""
27835 ac_path_to_include
=" -I$ac_find_includes"
27839 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
27841 save_CFLAGS
=$CFLAGS
27842 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27844 cat >conftest.
$ac_ext <<_ACEOF
27847 cat confdefs.h
>>conftest.
$ac_ext
27848 cat >>conftest.
$ac_ext <<_ACEOF
27849 /* end confdefs.h. */
27858 version = xmUseVersion;
27864 rm -f conftest.
$ac_objext
27865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27866 (eval $ac_compile) 2>conftest.er1
27868 grep -v '^ *+' conftest.er1
>conftest.err
27870 cat conftest.err
>&5
27871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27872 (exit $ac_status); } &&
27873 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27875 (eval $ac_try) 2>&5
27877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27878 (exit $ac_status); }; } &&
27879 { ac_try
='test -s conftest.$ac_objext'
27880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27881 (eval $ac_try) 2>&5
27883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27884 (exit $ac_status); }; }; then
27886 echo "$as_me:$LINENO: result: found in default search path" >&5
27887 echo "${ECHO_T}found in default search path" >&6
27888 COMPILED_X_PROGRAM
=1
27891 echo "$as_me: failed program was:" >&5
27892 sed 's/^/| /' conftest.
$ac_ext >&5
27895 echo "$as_me:$LINENO: result: no" >&5
27896 echo "${ECHO_T}no" >&6
27897 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
27898 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
27899 { (exit 1); exit 1; }; }
27903 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27905 CFLAGS
=$save_CFLAGS
27908 if test "$COMPILED_X_PROGRAM" = 0; then
27909 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
27910 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
27913 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27915 for ac_extension
in a so sl dylib dll.a
; do
27916 if test -f "$ac_dir/libXm.$ac_extension"; then
27917 ac_find_libraries
=$ac_dir
27923 if test "$ac_find_libraries" != "" ; then
27924 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
27925 echo "${ECHO_T}found at $ac_find_libraries" >&6
27928 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27930 if test $result = 0; then
27933 ac_path_to_link
=" -L$ac_find_libraries"
27936 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
27938 save_CFLAGS
=$CFLAGS
27939 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27941 cat >conftest.
$ac_ext <<_ACEOF
27944 cat confdefs.h
>>conftest.
$ac_ext
27945 cat >>conftest.
$ac_ext <<_ACEOF
27946 /* end confdefs.h. */
27955 version = xmUseVersion;
27961 rm -f conftest.
$ac_objext
27962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27963 (eval $ac_compile) 2>conftest.er1
27965 grep -v '^ *+' conftest.er1
>conftest.err
27967 cat conftest.err
>&5
27968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27969 (exit $ac_status); } &&
27970 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27972 (eval $ac_try) 2>&5
27974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27975 (exit $ac_status); }; } &&
27976 { ac_try
='test -s conftest.$ac_objext'
27977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27978 (eval $ac_try) 2>&5
27980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27981 (exit $ac_status); }; }; then
27983 echo "$as_me:$LINENO: result: found in default search path" >&5
27984 echo "${ECHO_T}found in default search path" >&6
27985 COMPILED_X_PROGRAM
=1
27988 echo "$as_me: failed program was:" >&5
27989 sed 's/^/| /' conftest.
$ac_ext >&5
27992 echo "$as_me:$LINENO: result: no" >&5
27993 echo "${ECHO_T}no" >&6
27994 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
27995 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
27996 { (exit 1); exit 1; }; }
28000 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28002 CFLAGS
=$save_CFLAGS
28006 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
28007 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
28011 for libp
in "" " -lXp"; do
28012 if test "$libs_found" = "0"; then
28013 for libsm_ice
in "" " -lSM -lICE"; do
28014 if test "$libs_found" = "0"; then
28016 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
28017 save_CFLAGS
=$CFLAGS
28018 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28020 cat >conftest.
$ac_ext <<_ACEOF
28023 cat confdefs.h
>>conftest.
$ac_ext
28024 cat >>conftest.
$ac_ext <<_ACEOF
28025 /* end confdefs.h. */
28028 #include <Xm/List.h>
28034 XmString string = NULL;
28037 XmListAddItem(w, string, position);
28043 rm -f conftest.
$ac_objext conftest
$ac_exeext
28044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28045 (eval $ac_link) 2>conftest.er1
28047 grep -v '^ *+' conftest.er1
>conftest.err
28049 cat conftest.err
>&5
28050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28051 (exit $ac_status); } &&
28052 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28054 (eval $ac_try) 2>&5
28056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28057 (exit $ac_status); }; } &&
28058 { ac_try
='test -s conftest$ac_exeext'
28059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28060 (eval $ac_try) 2>&5
28062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28063 (exit $ac_status); }; }; then
28066 libsm_ice_link
="$libsm_ice"
28067 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
28068 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
28072 echo "$as_me: failed program was:" >&5
28073 sed 's/^/| /' conftest.
$ac_ext >&5
28078 rm -f conftest.err conftest.
$ac_objext \
28079 conftest
$ac_exeext conftest.
$ac_ext
28082 CFLAGS
=$save_CFLAGS
28088 if test "$libs_found" = "0"; then
28089 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
28090 echo "${ECHO_T}can't find the right libraries" >&6
28091 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
28092 echo "$as_me: error: can't link a simple motif program" >&2;}
28093 { (exit 1); exit 1; }; }
28096 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
28097 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
28098 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
28099 echo $ECHO_N "(cached) $ECHO_C" >&6
28101 ac_check_lib_save_LIBS
=$LIBS
28103 cat >conftest.
$ac_ext <<_ACEOF
28106 cat confdefs.h
>>conftest.
$ac_ext
28107 cat >>conftest.
$ac_ext <<_ACEOF
28108 /* end confdefs.h. */
28110 /* Override any gcc2 internal prototype to avoid an error. */
28114 /* We use char because int might match the return type of a gcc2
28115 builtin and then its argument prototype would still apply. */
28116 char SgCreateList ();
28125 rm -f conftest.
$ac_objext conftest
$ac_exeext
28126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28127 (eval $ac_link) 2>conftest.er1
28129 grep -v '^ *+' conftest.er1
>conftest.err
28131 cat conftest.err
>&5
28132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28133 (exit $ac_status); } &&
28134 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28136 (eval $ac_try) 2>&5
28138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28139 (exit $ac_status); }; } &&
28140 { ac_try
='test -s conftest$ac_exeext'
28141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28142 (eval $ac_try) 2>&5
28144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28145 (exit $ac_status); }; }; then
28146 ac_cv_lib_Sgm_SgCreateList
=yes
28148 echo "$as_me: failed program was:" >&5
28149 sed 's/^/| /' conftest.
$ac_ext >&5
28151 ac_cv_lib_Sgm_SgCreateList
=no
28153 rm -f conftest.err conftest.
$ac_objext \
28154 conftest
$ac_exeext conftest.
$ac_ext
28155 LIBS
=$ac_check_lib_save_LIBS
28157 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
28158 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
28159 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
28160 libsgm_link
=" -lSgm"
28164 save_CFLAGS
=$CFLAGS
28165 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28166 echo "$as_me:$LINENO: checking for Motif 2" >&5
28167 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
28168 cat >conftest.
$ac_ext <<_ACEOF
28171 cat confdefs.h
>>conftest.
$ac_ext
28172 cat >>conftest.
$ac_ext <<_ACEOF
28173 /* end confdefs.h. */
28181 #if XmVersion < 2000
28189 rm -f conftest.
$ac_objext
28190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28191 (eval $ac_compile) 2>conftest.er1
28193 grep -v '^ *+' conftest.er1
>conftest.err
28195 cat conftest.err
>&5
28196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28197 (exit $ac_status); } &&
28198 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28200 (eval $ac_try) 2>&5
28202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28203 (exit $ac_status); }; } &&
28204 { ac_try
='test -s conftest.$ac_objext'
28205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28206 (eval $ac_try) 2>&5
28208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28209 (exit $ac_status); }; }; then
28211 cat >>confdefs.h
<<\_ACEOF
28212 #define __WXMOTIF20__ 1
28215 echo "$as_me:$LINENO: result: found" >&5
28216 echo "${ECHO_T}found" >&6
28219 echo "$as_me: failed program was:" >&5
28220 sed 's/^/| /' conftest.
$ac_ext >&5
28223 cat >>confdefs.h
<<\_ACEOF
28224 #define __WXMOTIF20__ 0
28227 echo "$as_me:$LINENO: result: not found" >&5
28228 echo "${ECHO_T}not found" >&6
28231 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28233 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
28234 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
28235 cat >conftest.
$ac_ext <<_ACEOF
28238 cat confdefs.h
>>conftest.
$ac_ext
28239 cat >>conftest.
$ac_ext <<_ACEOF
28240 /* end confdefs.h. */
28248 #if !defined(LesstifVersion) || LesstifVersion <= 0
28256 rm -f conftest.
$ac_objext
28257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28258 (eval $ac_compile) 2>conftest.er1
28260 grep -v '^ *+' conftest.er1
>conftest.err
28262 cat conftest.err
>&5
28263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28264 (exit $ac_status); } &&
28265 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28267 (eval $ac_try) 2>&5
28269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28270 (exit $ac_status); }; } &&
28271 { ac_try
='test -s conftest.$ac_objext'
28272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28273 (eval $ac_try) 2>&5
28275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28276 (exit $ac_status); }; }; then
28278 cat >>confdefs.h
<<\_ACEOF
28279 #define __WXLESSTIF__ 1
28282 echo "$as_me:$LINENO: result: yes" >&5
28283 echo "${ECHO_T}yes" >&6
28286 echo "$as_me: failed program was:" >&5
28287 sed 's/^/| /' conftest.
$ac_ext >&5
28290 cat >>confdefs.h
<<\_ACEOF
28291 #define __WXLESSTIF__ 0
28294 echo "$as_me:$LINENO: result: no" >&5
28295 echo "${ECHO_T}no" >&6
28298 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28299 CFLAGS
=$save_CFLAGS
28301 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
28306 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28307 if test "$wxUSE_LIBXPM" = "sys"; then
28308 echo "$as_me:$LINENO: checking for Xpm library" >&5
28309 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
28312 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28314 for ac_extension
in a so sl dylib dll.a
; do
28315 if test -f "$ac_dir/libXpm.$ac_extension"; then
28316 ac_find_libraries
=$ac_dir
28322 if test "$ac_find_libraries" != "" ; then
28324 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
28326 if test $result = 0; then
28329 ac_path_to_link
=" -L$ac_find_libraries"
28332 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
28333 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
28334 echo "${ECHO_T}found at $ac_find_libraries" >&6
28336 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
28337 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
28338 if test "${wx_cv_x11_xpm_h+set}" = set; then
28339 echo $ECHO_N "(cached) $ECHO_C" >&6
28342 save_CFLAGS
=$CFLAGS
28343 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28345 cat >conftest.
$ac_ext <<_ACEOF
28348 cat confdefs.h
>>conftest.
$ac_ext
28349 cat >>conftest.
$ac_ext <<_ACEOF
28350 /* end confdefs.h. */
28352 #include <X11/xpm.h>
28359 version = XpmLibraryVersion();
28365 rm -f conftest.
$ac_objext
28366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28367 (eval $ac_compile) 2>conftest.er1
28369 grep -v '^ *+' conftest.er1
>conftest.err
28371 cat conftest.err
>&5
28372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28373 (exit $ac_status); } &&
28374 { ac_try
='test -z "$ac_c_werror_flag" || 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_objext'
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 wx_cv_x11_xpm_h
=yes
28388 echo "$as_me: failed program was:" >&5
28389 sed 's/^/| /' conftest.
$ac_ext >&5
28394 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28396 CFLAGS
=$save_CFLAGS
28400 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
28401 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
28403 if test $wx_cv_x11_xpm_h = "yes"; then
28404 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
28405 cat >>confdefs.h
<<\_ACEOF
28406 #define wxHAVE_LIB_XPM 1
28410 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
28411 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
28417 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
28418 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
28419 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
28420 echo $ECHO_N "(cached) $ECHO_C" >&6
28422 ac_check_lib_save_LIBS
=$LIBS
28423 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
28424 cat >conftest.
$ac_ext <<_ACEOF
28427 cat confdefs.h
>>conftest.
$ac_ext
28428 cat >>conftest.
$ac_ext <<_ACEOF
28429 /* end confdefs.h. */
28431 /* Override any gcc2 internal prototype to avoid an error. */
28435 /* We use char because int might match the return type of a gcc2
28436 builtin and then its argument prototype would still apply. */
28437 char XShapeQueryExtension ();
28441 XShapeQueryExtension ();
28446 rm -f conftest.
$ac_objext conftest
$ac_exeext
28447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28448 (eval $ac_link) 2>conftest.er1
28450 grep -v '^ *+' conftest.er1
>conftest.err
28452 cat conftest.err
>&5
28453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28454 (exit $ac_status); } &&
28455 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28457 (eval $ac_try) 2>&5
28459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28460 (exit $ac_status); }; } &&
28461 { ac_try
='test -s conftest$ac_exeext'
28462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28463 (eval $ac_try) 2>&5
28465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28466 (exit $ac_status); }; }; then
28467 ac_cv_lib_Xext_XShapeQueryExtension
=yes
28469 echo "$as_me: failed program was:" >&5
28470 sed 's/^/| /' conftest.
$ac_ext >&5
28472 ac_cv_lib_Xext_XShapeQueryExtension
=no
28474 rm -f conftest.err conftest.
$ac_objext \
28475 conftest
$ac_exeext conftest.
$ac_ext
28476 LIBS
=$ac_check_lib_save_LIBS
28478 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
28479 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
28480 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
28482 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
28488 if test "$wxHAVE_XEXT_LIB" = 1; then
28489 save_CFLAGS
="$CFLAGS"
28490 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28492 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
28493 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
28494 cat >conftest.
$ac_ext <<_ACEOF
28497 cat confdefs.h
>>conftest.
$ac_ext
28498 cat >>conftest.
$ac_ext <<_ACEOF
28499 /* end confdefs.h. */
28501 #include <X11/Xlib.h>
28502 #include <X11/extensions/shape.h>
28508 int dummy1, dummy2;
28509 XShapeQueryExtension((Display*)NULL,
28510 (int*)NULL, (int*)NULL);
28516 rm -f conftest.
$ac_objext
28517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28518 (eval $ac_compile) 2>conftest.er1
28520 grep -v '^ *+' conftest.er1
>conftest.err
28522 cat conftest.err
>&5
28523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28524 (exit $ac_status); } &&
28525 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28527 (eval $ac_try) 2>&5
28529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28530 (exit $ac_status); }; } &&
28531 { ac_try
='test -s conftest.$ac_objext'
28532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28533 (eval $ac_try) 2>&5
28535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28536 (exit $ac_status); }; }; then
28538 cat >>confdefs.h
<<\_ACEOF
28539 #define HAVE_XSHAPE 1
28542 echo "$as_me:$LINENO: result: found" >&5
28543 echo "${ECHO_T}found" >&6
28546 echo "$as_me: failed program was:" >&5
28547 sed 's/^/| /' conftest.
$ac_ext >&5
28550 echo "$as_me:$LINENO: result: not found" >&5
28551 echo "${ECHO_T}not found" >&6
28554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28555 CFLAGS
="$save_CFLAGS"
28560 if test "$wxUSE_MAC" = 1; then
28561 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
28562 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
28563 if test "$GCC" = yes; then
28564 echo "$as_me:$LINENO: result: gcc" >&5
28565 echo "${ECHO_T}gcc" >&6
28566 CPPFLAGS_PASCAL
="-fpascal-strings"
28567 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
28568 echo "$as_me:$LINENO: result: xlc" >&5
28569 echo "${ECHO_T}xlc" >&6
28570 CPPFLAGS_PASCAL
="-qmacpstr"
28572 echo "$as_me:$LINENO: result: none" >&5
28573 echo "${ECHO_T}none" >&6
28576 if test "x$wxUSE_UNIX" = "xyes"; then
28577 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
28579 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
28584 WXBASEPORT
="_carbon"
28587 if test "$wxUSE_COCOA" = 1; then
28592 if test "$wxUSE_PM" = 1; then
28595 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
28596 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
28597 if test "${wx_cv_spbcdata+set}" = set; then
28598 echo $ECHO_N "(cached) $ECHO_C" >&6
28601 cat >conftest.
$ac_ext <<_ACEOF
28604 cat confdefs.h
>>conftest.
$ac_ext
28605 cat >>conftest.
$ac_ext <<_ACEOF
28606 /* end confdefs.h. */
28621 rm -f conftest.
$ac_objext
28622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28623 (eval $ac_compile) 2>conftest.er1
28625 grep -v '^ *+' conftest.er1
>conftest.err
28627 cat conftest.err
>&5
28628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28629 (exit $ac_status); } &&
28630 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28632 (eval $ac_try) 2>&5
28634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28635 (exit $ac_status); }; } &&
28636 { ac_try
='test -s conftest.$ac_objext'
28637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28638 (eval $ac_try) 2>&5
28640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28641 (exit $ac_status); }; }; then
28644 echo "$as_me: failed program was:" >&5
28645 sed 's/^/| /' conftest.
$ac_ext >&5
28650 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28654 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
28655 echo "${ECHO_T}$wx_cv_spbcdata" >&6
28657 if test $wx_cv_spbcdata = "yes"; then
28658 cat >>confdefs.h
<<\_ACEOF
28659 #define HAVE_SPBCDATA 1
28665 if test "$TOOLKIT" = "PM" ; then
28668 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
28671 if test "$wxUSE_UNIVERSAL" = "yes"; then
28672 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
28676 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
28677 DISTDIR
="wx\$(TOOLKIT)"
28683 if test "$USE_WIN32" = 1 ; then
28687 GUIDIST
="BASE_DIST"
28692 if test "$wxUSE_GUI" = "yes"; then
28693 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
28695 for ac_header
in X
11/Xlib.h
28697 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28698 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28699 echo "$as_me:$LINENO: checking for $ac_header" >&5
28700 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28701 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28702 echo $ECHO_N "(cached) $ECHO_C" >&6
28704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28705 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28707 # Is the header compilable?
28708 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28709 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28710 cat >conftest.
$ac_ext <<_ACEOF
28713 cat confdefs.h
>>conftest.
$ac_ext
28714 cat >>conftest.
$ac_ext <<_ACEOF
28715 /* end confdefs.h. */
28716 $ac_includes_default
28717 #include <$ac_header>
28719 rm -f conftest.
$ac_objext
28720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28721 (eval $ac_compile) 2>conftest.er1
28723 grep -v '^ *+' conftest.er1
>conftest.err
28725 cat conftest.err
>&5
28726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28727 (exit $ac_status); } &&
28728 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28730 (eval $ac_try) 2>&5
28732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28733 (exit $ac_status); }; } &&
28734 { ac_try
='test -s conftest.$ac_objext'
28735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28736 (eval $ac_try) 2>&5
28738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28739 (exit $ac_status); }; }; then
28740 ac_header_compiler
=yes
28742 echo "$as_me: failed program was:" >&5
28743 sed 's/^/| /' conftest.
$ac_ext >&5
28745 ac_header_compiler
=no
28747 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28748 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28749 echo "${ECHO_T}$ac_header_compiler" >&6
28751 # Is the header present?
28752 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28753 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28754 cat >conftest.
$ac_ext <<_ACEOF
28757 cat confdefs.h
>>conftest.
$ac_ext
28758 cat >>conftest.
$ac_ext <<_ACEOF
28759 /* end confdefs.h. */
28760 #include <$ac_header>
28762 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28763 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28765 grep -v '^ *+' conftest.er1
>conftest.err
28767 cat conftest.err
>&5
28768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28769 (exit $ac_status); } >/dev
/null
; then
28770 if test -s conftest.err
; then
28771 ac_cpp_err
=$ac_c_preproc_warn_flag
28772 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28779 if test -z "$ac_cpp_err"; then
28780 ac_header_preproc
=yes
28782 echo "$as_me: failed program was:" >&5
28783 sed 's/^/| /' conftest.
$ac_ext >&5
28785 ac_header_preproc
=no
28787 rm -f conftest.err conftest.
$ac_ext
28788 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28789 echo "${ECHO_T}$ac_header_preproc" >&6
28791 # So? What about this header?
28792 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28794 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28795 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28796 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28797 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28798 ac_header_preproc
=yes
28801 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28802 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28803 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28804 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28805 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28806 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28807 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28808 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28809 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28810 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28811 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28812 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28815 ## ----------------------------------------- ##
28816 ## Report this to wx-dev@lists.wxwidgets.org ##
28817 ## ----------------------------------------- ##
28820 sed "s/^/$as_me: WARNING: /" >&2
28823 echo "$as_me:$LINENO: checking for $ac_header" >&5
28824 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28825 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28826 echo $ECHO_N "(cached) $ECHO_C" >&6
28828 eval "$as_ac_Header=\$ac_header_preproc"
28830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28831 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28834 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28835 cat >>confdefs.h
<<_ACEOF
28836 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28844 for ac_header
in X
11/XKBlib.h
28846 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28847 echo "$as_me:$LINENO: checking for $ac_header" >&5
28848 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28849 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28850 echo $ECHO_N "(cached) $ECHO_C" >&6
28852 cat >conftest.
$ac_ext <<_ACEOF
28855 cat confdefs.h
>>conftest.
$ac_ext
28856 cat >>conftest.
$ac_ext <<_ACEOF
28857 /* end confdefs.h. */
28859 #if HAVE_X11_XLIB_H
28860 #include <X11/Xlib.h>
28864 #include <$ac_header>
28866 rm -f conftest.
$ac_objext
28867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28868 (eval $ac_compile) 2>conftest.er1
28870 grep -v '^ *+' conftest.er1
>conftest.err
28872 cat conftest.err
>&5
28873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28874 (exit $ac_status); } &&
28875 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28877 (eval $ac_try) 2>&5
28879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28880 (exit $ac_status); }; } &&
28881 { ac_try
='test -s conftest.$ac_objext'
28882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28883 (eval $ac_try) 2>&5
28885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28886 (exit $ac_status); }; }; then
28887 eval "$as_ac_Header=yes"
28889 echo "$as_me: failed program was:" >&5
28890 sed 's/^/| /' conftest.
$ac_ext >&5
28892 eval "$as_ac_Header=no"
28894 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28897 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28898 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28899 cat >>confdefs.h
<<_ACEOF
28900 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28915 if test "$TOOLKIT" != "MSW" ; then
28917 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
28919 if test "${ac_cv_header_sql_h+set}" = set; then
28920 echo "$as_me:$LINENO: checking for sql.h" >&5
28921 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28922 if test "${ac_cv_header_sql_h+set}" = set; then
28923 echo $ECHO_N "(cached) $ECHO_C" >&6
28925 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28926 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28928 # Is the header compilable?
28929 echo "$as_me:$LINENO: checking sql.h usability" >&5
28930 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
28931 cat >conftest.
$ac_ext <<_ACEOF
28934 cat confdefs.h
>>conftest.
$ac_ext
28935 cat >>conftest.
$ac_ext <<_ACEOF
28936 /* end confdefs.h. */
28937 $ac_includes_default
28940 rm -f conftest.
$ac_objext
28941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28942 (eval $ac_compile) 2>conftest.er1
28944 grep -v '^ *+' conftest.er1
>conftest.err
28946 cat conftest.err
>&5
28947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28948 (exit $ac_status); } &&
28949 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28951 (eval $ac_try) 2>&5
28953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28954 (exit $ac_status); }; } &&
28955 { ac_try
='test -s conftest.$ac_objext'
28956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28957 (eval $ac_try) 2>&5
28959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28960 (exit $ac_status); }; }; then
28961 ac_header_compiler
=yes
28963 echo "$as_me: failed program was:" >&5
28964 sed 's/^/| /' conftest.
$ac_ext >&5
28966 ac_header_compiler
=no
28968 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28969 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28970 echo "${ECHO_T}$ac_header_compiler" >&6
28972 # Is the header present?
28973 echo "$as_me:$LINENO: checking sql.h presence" >&5
28974 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
28975 cat >conftest.
$ac_ext <<_ACEOF
28978 cat confdefs.h
>>conftest.
$ac_ext
28979 cat >>conftest.
$ac_ext <<_ACEOF
28980 /* end confdefs.h. */
28983 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28984 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28986 grep -v '^ *+' conftest.er1
>conftest.err
28988 cat conftest.err
>&5
28989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28990 (exit $ac_status); } >/dev
/null
; then
28991 if test -s conftest.err
; then
28992 ac_cpp_err
=$ac_c_preproc_warn_flag
28993 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29000 if test -z "$ac_cpp_err"; then
29001 ac_header_preproc
=yes
29003 echo "$as_me: failed program was:" >&5
29004 sed 's/^/| /' conftest.
$ac_ext >&5
29006 ac_header_preproc
=no
29008 rm -f conftest.err conftest.
$ac_ext
29009 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29010 echo "${ECHO_T}$ac_header_preproc" >&6
29012 # So? What about this header?
29013 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29015 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
29016 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29017 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
29018 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
29019 ac_header_preproc
=yes
29022 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
29023 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
29024 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
29025 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
29026 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
29027 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
29028 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
29029 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
29030 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
29031 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
29032 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
29033 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
29036 ## ----------------------------------------- ##
29037 ## Report this to wx-dev@lists.wxwidgets.org ##
29038 ## ----------------------------------------- ##
29041 sed "s/^/$as_me: WARNING: /" >&2
29044 echo "$as_me:$LINENO: checking for sql.h" >&5
29045 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
29046 if test "${ac_cv_header_sql_h+set}" = set; then
29047 echo $ECHO_N "(cached) $ECHO_C" >&6
29049 ac_cv_header_sql_h
=$ac_header_preproc
29051 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
29052 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
29055 if test $ac_cv_header_sql_h = yes; then
29060 if test "x$found_sql_h" = "x1" ; then
29061 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
29062 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
29063 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
29064 echo $ECHO_N "(cached) $ECHO_C" >&6
29066 ac_check_lib_save_LIBS
=$LIBS
29067 LIBS
="-liodbc $LIBS"
29068 cat >conftest.
$ac_ext <<_ACEOF
29071 cat confdefs.h
>>conftest.
$ac_ext
29072 cat >>conftest.
$ac_ext <<_ACEOF
29073 /* end confdefs.h. */
29075 /* Override any gcc2 internal prototype to avoid an error. */
29079 /* We use char because int might match the return type of a gcc2
29080 builtin and then its argument prototype would still apply. */
29081 char SQLAllocEnv ();
29090 rm -f conftest.
$ac_objext conftest
$ac_exeext
29091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29092 (eval $ac_link) 2>conftest.er1
29094 grep -v '^ *+' conftest.er1
>conftest.err
29096 cat conftest.err
>&5
29097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29098 (exit $ac_status); } &&
29099 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29101 (eval $ac_try) 2>&5
29103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29104 (exit $ac_status); }; } &&
29105 { ac_try
='test -s conftest$ac_exeext'
29106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29107 (eval $ac_try) 2>&5
29109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29110 (exit $ac_status); }; }; then
29111 ac_cv_lib_iodbc_SQLAllocEnv
=yes
29113 echo "$as_me: failed program was:" >&5
29114 sed 's/^/| /' conftest.
$ac_ext >&5
29116 ac_cv_lib_iodbc_SQLAllocEnv
=no
29118 rm -f conftest.err conftest.
$ac_objext \
29119 conftest
$ac_exeext conftest.
$ac_ext
29120 LIBS
=$ac_check_lib_save_LIBS
29122 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
29123 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
29124 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
29125 ODBC_LINK
=" -liodbc"
29128 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
29129 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
29130 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
29131 echo $ECHO_N "(cached) $ECHO_C" >&6
29133 ac_check_lib_save_LIBS
=$LIBS
29134 LIBS
="-lunixodbc $LIBS"
29135 cat >conftest.
$ac_ext <<_ACEOF
29138 cat confdefs.h
>>conftest.
$ac_ext
29139 cat >>conftest.
$ac_ext <<_ACEOF
29140 /* end confdefs.h. */
29142 /* Override any gcc2 internal prototype to avoid an error. */
29146 /* We use char because int might match the return type of a gcc2
29147 builtin and then its argument prototype would still apply. */
29148 char SQLAllocEnv ();
29157 rm -f conftest.
$ac_objext conftest
$ac_exeext
29158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29159 (eval $ac_link) 2>conftest.er1
29161 grep -v '^ *+' conftest.er1
>conftest.err
29163 cat conftest.err
>&5
29164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29165 (exit $ac_status); } &&
29166 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29168 (eval $ac_try) 2>&5
29170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29171 (exit $ac_status); }; } &&
29172 { ac_try
='test -s conftest$ac_exeext'
29173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29174 (eval $ac_try) 2>&5
29176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29177 (exit $ac_status); }; }; then
29178 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
29180 echo "$as_me: failed program was:" >&5
29181 sed 's/^/| /' conftest.
$ac_ext >&5
29183 ac_cv_lib_unixodbc_SQLAllocEnv
=no
29185 rm -f conftest.err conftest.
$ac_objext \
29186 conftest
$ac_exeext conftest.
$ac_ext
29187 LIBS
=$ac_check_lib_save_LIBS
29189 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
29190 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
29191 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
29192 ODBC_LINK
=" -lunixodbc"
29195 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
29196 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
29197 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
29198 echo $ECHO_N "(cached) $ECHO_C" >&6
29200 ac_check_lib_save_LIBS
=$LIBS
29201 LIBS
="-lodbc $LIBS"
29202 cat >conftest.
$ac_ext <<_ACEOF
29205 cat confdefs.h
>>conftest.
$ac_ext
29206 cat >>conftest.
$ac_ext <<_ACEOF
29207 /* end confdefs.h. */
29209 /* Override any gcc2 internal prototype to avoid an error. */
29213 /* We use char because int might match the return type of a gcc2
29214 builtin and then its argument prototype would still apply. */
29215 char SQLAllocEnv ();
29224 rm -f conftest.
$ac_objext conftest
$ac_exeext
29225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29226 (eval $ac_link) 2>conftest.er1
29228 grep -v '^ *+' conftest.er1
>conftest.err
29230 cat conftest.err
>&5
29231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29232 (exit $ac_status); } &&
29233 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29235 (eval $ac_try) 2>&5
29237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29238 (exit $ac_status); }; } &&
29239 { ac_try
='test -s conftest$ac_exeext'
29240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29241 (eval $ac_try) 2>&5
29243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29244 (exit $ac_status); }; }; then
29245 ac_cv_lib_odbc_SQLAllocEnv
=yes
29247 echo "$as_me: failed program was:" >&5
29248 sed 's/^/| /' conftest.
$ac_ext >&5
29250 ac_cv_lib_odbc_SQLAllocEnv
=no
29252 rm -f conftest.err conftest.
$ac_objext \
29253 conftest
$ac_exeext conftest.
$ac_ext
29254 LIBS
=$ac_check_lib_save_LIBS
29256 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
29257 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
29258 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
29259 ODBC_LINK
=" -lodbc"
29269 if test "x$ODBC_LINK" = "x" ; then
29270 if test "$wxUSE_ODBC" = "sys" ; then
29271 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
29272 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
29273 { (exit 1); exit 1; }; }
29275 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
29276 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
29284 if test "$wxUSE_ODBC" = "builtin" ; then
29285 cat >>confdefs.h
<<\_ACEOF
29286 #define wxUSE_BUILTIN_IODBC 1
29292 if test "$wxUSE_ODBC" != "no" ; then
29293 cat >>confdefs.h
<<\_ACEOF
29294 #define wxUSE_ODBC 1
29297 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
29299 WXODBCFLAG
="-D_IODBC_"
29303 if test "$wxUSE_DISPLAY" = "yes"; then
29304 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
29305 echo "$as_me:$LINENO: checking for Xinerama" >&5
29306 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
29309 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29311 for ac_extension
in a so sl dylib dll.a
; do
29312 if test -f "$ac_dir/libXinerama.$ac_extension"; then
29313 ac_find_libraries
=$ac_dir
29319 if test "$ac_find_libraries" != "" ; then
29321 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29323 if test $result = 0; then
29326 ac_path_to_link
=" -L$ac_find_libraries"
29329 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29330 LDFLAGS
="$LDFLAGS $ac_path_to_link"
29332 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
29333 echo "$as_me:$LINENO: result: yes" >&5
29334 echo "${ECHO_T}yes" >&6
29336 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
29337 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
29340 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29342 for ac_extension
in a so sl dylib dll.a
; do
29343 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
29344 ac_find_libraries
=$ac_dir
29350 if test "$ac_find_libraries" != "" ; then
29351 echo "$as_me:$LINENO: result: yes" >&5
29352 echo "${ECHO_T}yes" >&6
29354 for ac_header
in X
11/extensions
/xf86vmode.h
29356 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29357 echo "$as_me:$LINENO: checking for $ac_header" >&5
29358 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29360 echo $ECHO_N "(cached) $ECHO_C" >&6
29362 cat >conftest.
$ac_ext <<_ACEOF
29365 cat confdefs.h
>>conftest.
$ac_ext
29366 cat >>conftest.
$ac_ext <<_ACEOF
29367 /* end confdefs.h. */
29369 #if HAVE_X11_XLIB_H
29370 #include <X11/Xlib.h>
29374 #include <$ac_header>
29376 rm -f conftest.
$ac_objext
29377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29378 (eval $ac_compile) 2>conftest.er1
29380 grep -v '^ *+' conftest.er1
>conftest.err
29382 cat conftest.err
>&5
29383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29384 (exit $ac_status); } &&
29385 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29387 (eval $ac_try) 2>&5
29389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29390 (exit $ac_status); }; } &&
29391 { ac_try
='test -s conftest.$ac_objext'
29392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29393 (eval $ac_try) 2>&5
29395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29396 (exit $ac_status); }; }; then
29397 eval "$as_ac_Header=yes"
29399 echo "$as_me: failed program was:" >&5
29400 sed 's/^/| /' conftest.
$ac_ext >&5
29402 eval "$as_ac_Header=no"
29404 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29407 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29408 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29409 cat >>confdefs.h
<<_ACEOF
29410 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29413 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
29420 echo "$as_me:$LINENO: result: no" >&5
29421 echo "${ECHO_T}no" >&6
29425 echo "$as_me:$LINENO: result: no" >&5
29426 echo "${ECHO_T}no" >&6
29427 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
29428 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
29431 elif test "$wxUSE_MSW" = 1; then
29434 for ac_header
in multimon.h ddraw.h
29436 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29437 echo "$as_me:$LINENO: checking for $ac_header" >&5
29438 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29439 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29440 echo $ECHO_N "(cached) $ECHO_C" >&6
29442 cat >conftest.
$ac_ext <<_ACEOF
29445 cat confdefs.h
>>conftest.
$ac_ext
29446 cat >>conftest.
$ac_ext <<_ACEOF
29447 /* end confdefs.h. */
29448 #include <windows.h>
29450 #include <$ac_header>
29452 rm -f conftest.
$ac_objext
29453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29454 (eval $ac_compile) 2>conftest.er1
29456 grep -v '^ *+' conftest.er1
>conftest.err
29458 cat conftest.err
>&5
29459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29460 (exit $ac_status); } &&
29461 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29463 (eval $ac_try) 2>&5
29465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29466 (exit $ac_status); }; } &&
29467 { ac_try
='test -s conftest.$ac_objext'
29468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29469 (eval $ac_try) 2>&5
29471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29472 (exit $ac_status); }; }; then
29473 eval "$as_ac_Header=yes"
29475 echo "$as_me: failed program was:" >&5
29476 sed 's/^/| /' conftest.
$ac_ext >&5
29478 eval "$as_ac_Header=no"
29480 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29484 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29485 cat >>confdefs.h
<<_ACEOF
29486 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29492 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
29493 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
29504 if test "$wxUSE_OPENGL" = "yes"; then
29505 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
29506 OPENGL_LIBS
="-framework OpenGL -framework AGL"
29507 elif test "$wxUSE_MSW" = 1; then
29508 OPENGL_LIBS
="-lopengl32 -lglu32"
29513 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
29515 if test -f "$ac_dir/GL/gl.h"; then
29516 ac_find_includes
=$ac_dir
29521 if test "$ac_find_includes" != "" ; then
29522 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29523 echo "${ECHO_T}found in $ac_find_includes" >&6
29525 if test "x$ac_find_includes" = "x/usr/include"; then
29526 ac_path_to_include
=""
29528 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
29530 if test $result = 0; then
29531 ac_path_to_include
=""
29533 ac_path_to_include
=" -I$ac_find_includes"
29537 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
29540 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29541 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29542 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29543 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29544 echo $ECHO_N "(cached) $ECHO_C" >&6
29546 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29547 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29549 # Is the header compilable?
29550 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
29551 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
29552 cat >conftest.
$ac_ext <<_ACEOF
29555 cat confdefs.h
>>conftest.
$ac_ext
29556 cat >>conftest.
$ac_ext <<_ACEOF
29557 /* end confdefs.h. */
29558 $ac_includes_default
29561 rm -f conftest.
$ac_objext
29562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29563 (eval $ac_compile) 2>conftest.er1
29565 grep -v '^ *+' conftest.er1
>conftest.err
29567 cat conftest.err
>&5
29568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29569 (exit $ac_status); } &&
29570 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29572 (eval $ac_try) 2>&5
29574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29575 (exit $ac_status); }; } &&
29576 { ac_try
='test -s conftest.$ac_objext'
29577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29578 (eval $ac_try) 2>&5
29580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29581 (exit $ac_status); }; }; then
29582 ac_header_compiler
=yes
29584 echo "$as_me: failed program was:" >&5
29585 sed 's/^/| /' conftest.
$ac_ext >&5
29587 ac_header_compiler
=no
29589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29590 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29591 echo "${ECHO_T}$ac_header_compiler" >&6
29593 # Is the header present?
29594 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
29595 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
29596 cat >conftest.
$ac_ext <<_ACEOF
29599 cat confdefs.h
>>conftest.
$ac_ext
29600 cat >>conftest.
$ac_ext <<_ACEOF
29601 /* end confdefs.h. */
29604 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29605 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29607 grep -v '^ *+' conftest.er1
>conftest.err
29609 cat conftest.err
>&5
29610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29611 (exit $ac_status); } >/dev
/null
; then
29612 if test -s conftest.err
; then
29613 ac_cpp_err
=$ac_c_preproc_warn_flag
29614 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29621 if test -z "$ac_cpp_err"; then
29622 ac_header_preproc
=yes
29624 echo "$as_me: failed program was:" >&5
29625 sed 's/^/| /' conftest.
$ac_ext >&5
29627 ac_header_preproc
=no
29629 rm -f conftest.err conftest.
$ac_ext
29630 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29631 echo "${ECHO_T}$ac_header_preproc" >&6
29633 # So? What about this header?
29634 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29636 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
29637 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29638 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
29639 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
29640 ac_header_preproc
=yes
29643 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
29644 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
29645 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
29646 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
29647 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
29648 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
29649 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
29650 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
29651 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
29652 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
29653 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
29654 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
29657 ## ----------------------------------------- ##
29658 ## Report this to wx-dev@lists.wxwidgets.org ##
29659 ## ----------------------------------------- ##
29662 sed "s/^/$as_me: WARNING: /" >&2
29665 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29666 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29667 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29668 echo $ECHO_N "(cached) $ECHO_C" >&6
29670 ac_cv_header_GL_gl_h
=$ac_header_preproc
29672 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29673 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29676 if test $ac_cv_header_GL_gl_h = yes; then
29680 echo "$as_me:$LINENO: checking for -lGL" >&5
29681 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
29684 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29686 for ac_extension
in a so sl dylib dll.a
; do
29687 if test -f "$ac_dir/libGL.$ac_extension"; then
29688 ac_find_libraries
=$ac_dir
29694 if test "$ac_find_libraries" != "" ; then
29695 echo "$as_me:$LINENO: result: yes" >&5
29696 echo "${ECHO_T}yes" >&6
29699 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29701 if test $result = 0; then
29704 ac_path_to_link
=" -L$ac_find_libraries"
29707 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29708 LDFLAGS_GL
="$ac_path_to_link"
29711 echo "$as_me:$LINENO: checking for -lGLU" >&5
29712 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
29715 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29717 for ac_extension
in a so sl dylib dll.a
; do
29718 if test -f "$ac_dir/libGLU.$ac_extension"; then
29719 ac_find_libraries
=$ac_dir
29725 if test "$ac_find_libraries" != "" ; then
29727 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29729 if test $result = 0; then
29732 ac_path_to_link
=" -L$ac_find_libraries"
29735 if test "$ac_path_to_link" != " -L/usr/lib" -a \
29736 "$ac_path_to_link" != "$LDFLAGS_GL"; then
29737 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
29741 OPENGL_LIBS
="-lGL -lGLU"
29742 echo "$as_me:$LINENO: result: yes" >&5
29743 echo "${ECHO_T}yes" >&6
29745 echo "$as_me:$LINENO: result: no" >&5
29746 echo "${ECHO_T}no" >&6
29749 echo "$as_me:$LINENO: result: no" >&5
29750 echo "${ECHO_T}no" >&6
29753 if test "$found_gl" != 1; then
29754 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
29755 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
29758 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29760 for ac_extension
in a so sl dylib dll.a
; do
29761 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
29762 ac_find_libraries
=$ac_dir
29768 if test "$ac_find_libraries" != "" ; then
29770 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29772 if test $result = 0; then
29775 ac_path_to_link
=" -L$ac_find_libraries"
29778 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
29779 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
29780 echo "$as_me:$LINENO: result: yes" >&5
29781 echo "${ECHO_T}yes" >&6
29783 echo "$as_me:$LINENO: result: no" >&5
29784 echo "${ECHO_T}no" >&6
29792 if test "x$OPENGL_LIBS" = "x"; then
29793 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
29794 echo "$as_me: error: OpenGL libraries not available" >&2;}
29795 { (exit 1); exit 1; }; }
29799 if test "$wxUSE_OPENGL" = "yes"; then
29801 cat >>confdefs.h
<<\_ACEOF
29802 #define wxUSE_OPENGL 1
29805 cat >>confdefs.h
<<\_ACEOF
29806 #define wxUSE_GLCANVAS 1
29809 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
29814 if test -n "$TOOLKIT" ; then
29815 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
29820 if test "$wxUSE_SHARED" = "yes"; then
29824 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
29825 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
29830 if test "$wxUSE_SHARED" = "yes"; then
29833 found_versioning
=no
29836 if test $found_versioning = no
; then
29837 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
29838 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
29839 if test "${wx_cv_version_script+set}" = set; then
29840 echo $ECHO_N "(cached) $ECHO_C" >&6
29843 echo "VER_1 { *; };" >conftest.sym
29844 echo "int main() { return 0; }" >conftest.cpp
29847 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29848 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29850 (eval $ac_try) 2>&5
29852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29853 (exit $ac_status); }; } ; then
29854 if test -s conftest.stderr
; then
29855 wx_cv_version_script
=no
29857 wx_cv_version_script
=yes
29860 wx_cv_version_script
=no
29863 if test $wx_cv_version_script = yes
29865 echo "struct B { virtual ~B() { } }; \
29866 struct D : public B { }; \
29867 void F() { D d; }" > conftest.cpp
29870 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29871 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
29872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29873 (eval $ac_try) 2>&5
29875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29876 (exit $ac_status); }; } &&
29878 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29879 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
29880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29881 (eval $ac_try) 2>&5
29883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29884 (exit $ac_status); }; }
29887 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29888 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
29889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29890 (eval $ac_try) 2>&5
29892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29893 (exit $ac_status); }; }
29895 wx_cv_version_script
=yes
29897 wx_cv_version_script
=no
29902 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29903 rm -f conftest1.output conftest2.output conftest3.output
29906 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
29907 echo "${ECHO_T}$wx_cv_version_script" >&6
29908 if test $wx_cv_version_script = yes ; then
29909 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
29915 *-*-linux* | *-*-gnu* )
29916 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
29917 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29921 if test "$GCC" = yes ; then
29922 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
29924 saveLdflags
="$LDFLAGS"
29925 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
29926 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
29927 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
29928 cat >conftest.
$ac_ext <<_ACEOF
29931 cat confdefs.h
>>conftest.
$ac_ext
29932 cat >>conftest.
$ac_ext <<_ACEOF
29933 /* end confdefs.h. */
29943 rm -f conftest.
$ac_objext conftest
$ac_exeext
29944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29945 (eval $ac_link) 2>conftest.er1
29947 grep -v '^ *+' conftest.er1
>conftest.err
29949 cat conftest.err
>&5
29950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29951 (exit $ac_status); } &&
29952 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29954 (eval $ac_try) 2>&5
29956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29957 (exit $ac_status); }; } &&
29958 { ac_try
='test -s conftest$ac_exeext'
29959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29960 (eval $ac_try) 2>&5
29962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29963 (exit $ac_status); }; }; then
29965 echo "$as_me:$LINENO: result: yes" >&5
29966 echo "${ECHO_T}yes" >&6
29967 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
29968 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29971 echo "$as_me: failed program was:" >&5
29972 sed 's/^/| /' conftest.
$ac_ext >&5
29975 echo "$as_me:$LINENO: result: no" >&5
29976 echo "${ECHO_T}no" >&6
29977 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
29978 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
29979 LDFLAGS
="$saveLdflags -Wl,-R,/"
29980 cat >conftest.
$ac_ext <<_ACEOF
29983 cat confdefs.h
>>conftest.
$ac_ext
29984 cat >>conftest.
$ac_ext <<_ACEOF
29985 /* end confdefs.h. */
29995 rm -f conftest.
$ac_objext conftest
$ac_exeext
29996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29997 (eval $ac_link) 2>conftest.er1
29999 grep -v '^ *+' conftest.er1
>conftest.err
30001 cat conftest.err
>&5
30002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30003 (exit $ac_status); } &&
30004 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30006 (eval $ac_try) 2>&5
30008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30009 (exit $ac_status); }; } &&
30010 { ac_try
='test -s conftest$ac_exeext'
30011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30012 (eval $ac_try) 2>&5
30014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30015 (exit $ac_status); }; }; then
30017 echo "$as_me:$LINENO: result: yes" >&5
30018 echo "${ECHO_T}yes" >&6
30019 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
30020 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
30023 echo "$as_me: failed program was:" >&5
30024 sed 's/^/| /' conftest.
$ac_ext >&5
30027 echo "$as_me:$LINENO: result: no" >&5
30028 echo "${ECHO_T}no" >&6
30031 rm -f conftest.err conftest.
$ac_objext \
30032 conftest
$ac_exeext conftest.
$ac_ext
30035 rm -f conftest.err conftest.
$ac_objext \
30036 conftest
$ac_exeext conftest.
$ac_ext
30037 LDFLAGS
="$saveLdflags"
30039 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
30040 WXCONFIG_RPATH
="-R\$libdir"
30045 install_name_tool
=`which install_name_tool`
30046 if test "$install_name_tool" -a -x "$install_name_tool"; then
30047 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
30048 cat <<EOF >change-install-names
30050 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
30051 inst_cmd="install_name_tool "
30052 for i in \${libnames} ; do
30053 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
30057 chmod +x change
-install-names
30061 *-*-cygwin* | *-*-mingw32* )
30062 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
30066 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
30067 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
30072 if test $wxUSE_RPATH = "no"; then
30073 SAMPLES_RPATH_FLAG
=''
30074 SAMPLES_RPATH_POSTLINK
=''
30082 config_linkage_component
="-static"
30089 lib_unicode_suffix
=
30091 if test "$wxUSE_UNICODE" = "yes"; then
30092 lib_unicode_suffix
=u
30093 WX_CHARTYPE
="unicode"
30098 WX_DEBUGTYPE
="release"
30100 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
30102 WX_DEBUGTYPE
="debug"
30106 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
30107 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
30110 if test "$wxUSE_DEBUG_INFO" = "yes"; then
30114 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
30116 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
30118 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
30120 if test "$cross_compiling" = "yes"; then
30121 HOST_SUFFIX
="-$host_alias"
30122 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
30123 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
30126 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30127 if test "${TOOLKIT_DIR}" = "os2"; then
30128 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30130 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30135 if test "$wxUSE_COCOA" = 1; then
30139 ac_cpp
='$CPP $CPPFLAGS'
30140 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30141 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30142 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30146 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
30147 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
30148 cat >conftest.
$ac_ext <<_ACEOF
30151 cat confdefs.h
>>conftest.
$ac_ext
30152 cat >>conftest.
$ac_ext <<_ACEOF
30153 /* end confdefs.h. */
30154 #include <AppKit/NSEvent.h>
30155 #include <CoreFoundation/CoreFoundation.h>
30165 rm -f conftest.
$ac_objext
30166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30167 (eval $ac_compile) 2>conftest.er1
30169 grep -v '^ *+' conftest.er1
>conftest.err
30171 cat conftest.err
>&5
30172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30173 (exit $ac_status); } &&
30174 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30176 (eval $ac_try) 2>&5
30178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30179 (exit $ac_status); }; } &&
30180 { ac_try
='test -s conftest.$ac_objext'
30181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30182 (eval $ac_try) 2>&5
30184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30185 (exit $ac_status); }; }; then
30186 echo "$as_me:$LINENO: result: no" >&5
30187 echo "${ECHO_T}no" >&6
30189 echo "$as_me: failed program was:" >&5
30190 sed 's/^/| /' conftest.
$ac_ext >&5
30192 echo "$as_me:$LINENO: result: yes" >&5
30193 echo "${ECHO_T}yes" >&6
30194 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
30195 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
30196 cat >conftest.
$ac_ext <<_ACEOF
30199 cat confdefs.h
>>conftest.
$ac_ext
30200 cat >>conftest.
$ac_ext <<_ACEOF
30201 /* end confdefs.h. */
30202 #define __Point__ 1
30203 #include <AppKit/NSEvent.h>
30204 #include <CoreFoundation/CoreFoundation.h>
30214 rm -f conftest.
$ac_objext
30215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30216 (eval $ac_compile) 2>conftest.er1
30218 grep -v '^ *+' conftest.er1
>conftest.err
30220 cat conftest.err
>&5
30221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30222 (exit $ac_status); } &&
30223 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30225 (eval $ac_try) 2>&5
30227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30228 (exit $ac_status); }; } &&
30229 { ac_try
='test -s conftest.$ac_objext'
30230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30231 (eval $ac_try) 2>&5
30233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30234 (exit $ac_status); }; }; then
30235 echo "$as_me:$LINENO: result: yes" >&5
30236 echo "${ECHO_T}yes" >&6
30237 cat >>confdefs.h
<<\_ACEOF
30238 #define __Point__ 1
30243 echo "$as_me: failed program was:" >&5
30244 sed 's/^/| /' conftest.
$ac_ext >&5
30246 { { echo "$as_me:$LINENO: error: no
30247 See \`config.log' for more details." >&5
30248 echo "$as_me: error: no
30249 See \`config.log' for more details." >&2;}
30250 { (exit 1); exit 1; }; }
30253 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30258 ac_cpp
='$CPP $CPPFLAGS'
30259 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30260 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30261 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30265 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
30266 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
30267 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
30269 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
30271 # Extract the first word of "Rez", so it can be a program name with args.
30272 set dummy Rez
; ac_word
=$2
30273 echo "$as_me:$LINENO: checking for $ac_word" >&5
30274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30275 if test "${ac_cv_prog_RESCOMP+set}" = set; then
30276 echo $ECHO_N "(cached) $ECHO_C" >&6
30278 if test -n "$RESCOMP"; then
30279 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
30281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30282 for as_dir
in $PATH
30285 test -z "$as_dir" && as_dir
=.
30286 for ac_exec_ext
in '' $ac_executable_extensions; do
30287 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30288 ac_cv_prog_RESCOMP
="Rez"
30289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30295 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
30298 RESCOMP
=$ac_cv_prog_RESCOMP
30299 if test -n "$RESCOMP"; then
30300 echo "$as_me:$LINENO: result: $RESCOMP" >&5
30301 echo "${ECHO_T}$RESCOMP" >&6
30303 echo "$as_me:$LINENO: result: no" >&5
30304 echo "${ECHO_T}no" >&6
30307 # Extract the first word of "DeRez", so it can be a program name with args.
30308 set dummy DeRez
; ac_word
=$2
30309 echo "$as_me:$LINENO: checking for $ac_word" >&5
30310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30311 if test "${ac_cv_prog_DEREZ+set}" = set; then
30312 echo $ECHO_N "(cached) $ECHO_C" >&6
30314 if test -n "$DEREZ"; then
30315 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
30317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30318 for as_dir
in $PATH
30321 test -z "$as_dir" && as_dir
=.
30322 for ac_exec_ext
in '' $ac_executable_extensions; do
30323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30324 ac_cv_prog_DEREZ
="DeRez"
30325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30331 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
30334 DEREZ
=$ac_cv_prog_DEREZ
30335 if test -n "$DEREZ"; then
30336 echo "$as_me:$LINENO: result: $DEREZ" >&5
30337 echo "${ECHO_T}$DEREZ" >&6
30339 echo "$as_me:$LINENO: result: no" >&5
30340 echo "${ECHO_T}no" >&6
30343 # Extract the first word of "SetFile", so it can be a program name with args.
30344 set dummy SetFile
; ac_word
=$2
30345 echo "$as_me:$LINENO: checking for $ac_word" >&5
30346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30347 if test "${ac_cv_prog_SETFILE+set}" = set; then
30348 echo $ECHO_N "(cached) $ECHO_C" >&6
30350 if test -n "$SETFILE"; then
30351 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
30353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30354 for as_dir
in $PATH
30357 test -z "$as_dir" && as_dir
=.
30358 for ac_exec_ext
in '' $ac_executable_extensions; do
30359 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30360 ac_cv_prog_SETFILE
="SetFile"
30361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30367 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
30370 SETFILE
=$ac_cv_prog_SETFILE
30371 if test -n "$SETFILE"; then
30372 echo "$as_me:$LINENO: result: $SETFILE" >&5
30373 echo "${ECHO_T}$SETFILE" >&6
30375 echo "$as_me:$LINENO: result: no" >&5
30376 echo "${ECHO_T}no" >&6
30380 MACSETFILE
="\$(SETFILE)"
30382 if test "$wxUSE_MAC" = 1; then
30383 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r -o"
30385 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r -o"
30387 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
30388 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
30392 MACRESWXCONFIG
="@true"
30394 if test "$wxUSE_PM" = 1; then
30395 MACRESCOMP
="emxbind -ep"
30403 echo "$as_me:$LINENO: checking for mode_t" >&5
30404 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
30405 if test "${ac_cv_type_mode_t+set}" = set; then
30406 echo $ECHO_N "(cached) $ECHO_C" >&6
30408 cat >conftest.
$ac_ext <<_ACEOF
30411 cat confdefs.h
>>conftest.
$ac_ext
30412 cat >>conftest.
$ac_ext <<_ACEOF
30413 /* end confdefs.h. */
30414 $ac_includes_default
30420 if (sizeof (mode_t))
30426 rm -f conftest.
$ac_objext
30427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30428 (eval $ac_compile) 2>conftest.er1
30430 grep -v '^ *+' conftest.er1
>conftest.err
30432 cat conftest.err
>&5
30433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30434 (exit $ac_status); } &&
30435 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30437 (eval $ac_try) 2>&5
30439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30440 (exit $ac_status); }; } &&
30441 { ac_try
='test -s conftest.$ac_objext'
30442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30443 (eval $ac_try) 2>&5
30445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30446 (exit $ac_status); }; }; then
30447 ac_cv_type_mode_t
=yes
30449 echo "$as_me: failed program was:" >&5
30450 sed 's/^/| /' conftest.
$ac_ext >&5
30452 ac_cv_type_mode_t
=no
30454 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30456 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
30457 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
30458 if test $ac_cv_type_mode_t = yes; then
30462 cat >>confdefs.h
<<_ACEOF
30468 echo "$as_me:$LINENO: checking for off_t" >&5
30469 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
30470 if test "${ac_cv_type_off_t+set}" = set; then
30471 echo $ECHO_N "(cached) $ECHO_C" >&6
30473 cat >conftest.
$ac_ext <<_ACEOF
30476 cat confdefs.h
>>conftest.
$ac_ext
30477 cat >>conftest.
$ac_ext <<_ACEOF
30478 /* end confdefs.h. */
30479 $ac_includes_default
30485 if (sizeof (off_t))
30491 rm -f conftest.
$ac_objext
30492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30493 (eval $ac_compile) 2>conftest.er1
30495 grep -v '^ *+' conftest.er1
>conftest.err
30497 cat conftest.err
>&5
30498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30499 (exit $ac_status); } &&
30500 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30502 (eval $ac_try) 2>&5
30504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30505 (exit $ac_status); }; } &&
30506 { ac_try
='test -s conftest.$ac_objext'
30507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30508 (eval $ac_try) 2>&5
30510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30511 (exit $ac_status); }; }; then
30512 ac_cv_type_off_t
=yes
30514 echo "$as_me: failed program was:" >&5
30515 sed 's/^/| /' conftest.
$ac_ext >&5
30517 ac_cv_type_off_t
=no
30519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30521 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
30522 echo "${ECHO_T}$ac_cv_type_off_t" >&6
30523 if test $ac_cv_type_off_t = yes; then
30527 cat >>confdefs.h
<<_ACEOF
30533 echo "$as_me:$LINENO: checking for pid_t" >&5
30534 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
30535 if test "${ac_cv_type_pid_t+set}" = set; then
30536 echo $ECHO_N "(cached) $ECHO_C" >&6
30538 cat >conftest.
$ac_ext <<_ACEOF
30541 cat confdefs.h
>>conftest.
$ac_ext
30542 cat >>conftest.
$ac_ext <<_ACEOF
30543 /* end confdefs.h. */
30544 $ac_includes_default
30550 if (sizeof (pid_t))
30556 rm -f conftest.
$ac_objext
30557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30558 (eval $ac_compile) 2>conftest.er1
30560 grep -v '^ *+' conftest.er1
>conftest.err
30562 cat conftest.err
>&5
30563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30564 (exit $ac_status); } &&
30565 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30567 (eval $ac_try) 2>&5
30569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30570 (exit $ac_status); }; } &&
30571 { ac_try
='test -s conftest.$ac_objext'
30572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30573 (eval $ac_try) 2>&5
30575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30576 (exit $ac_status); }; }; then
30577 ac_cv_type_pid_t
=yes
30579 echo "$as_me: failed program was:" >&5
30580 sed 's/^/| /' conftest.
$ac_ext >&5
30582 ac_cv_type_pid_t
=no
30584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30586 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
30587 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
30588 if test $ac_cv_type_pid_t = yes; then
30592 cat >>confdefs.h
<<_ACEOF
30598 echo "$as_me:$LINENO: checking for size_t" >&5
30599 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
30600 if test "${ac_cv_type_size_t+set}" = set; then
30601 echo $ECHO_N "(cached) $ECHO_C" >&6
30603 cat >conftest.
$ac_ext <<_ACEOF
30606 cat confdefs.h
>>conftest.
$ac_ext
30607 cat >>conftest.
$ac_ext <<_ACEOF
30608 /* end confdefs.h. */
30609 $ac_includes_default
30615 if (sizeof (size_t))
30621 rm -f conftest.
$ac_objext
30622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30623 (eval $ac_compile) 2>conftest.er1
30625 grep -v '^ *+' conftest.er1
>conftest.err
30627 cat conftest.err
>&5
30628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30629 (exit $ac_status); } &&
30630 { ac_try
='test -z "$ac_c_werror_flag" || 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 ac_cv_type_size_t
=yes
30644 echo "$as_me: failed program was:" >&5
30645 sed 's/^/| /' conftest.
$ac_ext >&5
30647 ac_cv_type_size_t
=no
30649 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30651 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
30652 echo "${ECHO_T}$ac_cv_type_size_t" >&6
30653 if test $ac_cv_type_size_t = yes; then
30657 cat >>confdefs.h
<<_ACEOF
30658 #define size_t unsigned
30663 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
30664 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
30665 if test "${ac_cv_type_uid_t+set}" = set; then
30666 echo $ECHO_N "(cached) $ECHO_C" >&6
30668 cat >conftest.
$ac_ext <<_ACEOF
30671 cat confdefs.h
>>conftest.
$ac_ext
30672 cat >>conftest.
$ac_ext <<_ACEOF
30673 /* end confdefs.h. */
30674 #include <sys/types.h>
30677 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
30678 $EGREP "uid_t" >/dev
/null
2>&1; then
30679 ac_cv_type_uid_t
=yes
30681 ac_cv_type_uid_t
=no
30686 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
30687 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
30688 if test $ac_cv_type_uid_t = no
; then
30690 cat >>confdefs.h
<<\_ACEOF
30695 cat >>confdefs.h
<<\_ACEOF
30702 echo "$as_me:$LINENO: checking for ssize_t" >&5
30703 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
30704 if test "${ac_cv_type_ssize_t+set}" = set; then
30705 echo $ECHO_N "(cached) $ECHO_C" >&6
30707 cat >conftest.
$ac_ext <<_ACEOF
30710 cat confdefs.h
>>conftest.
$ac_ext
30711 cat >>conftest.
$ac_ext <<_ACEOF
30712 /* end confdefs.h. */
30713 $ac_includes_default
30719 if (sizeof (ssize_t))
30725 rm -f conftest.
$ac_objext
30726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30727 (eval $ac_compile) 2>conftest.er1
30729 grep -v '^ *+' conftest.er1
>conftest.err
30731 cat conftest.err
>&5
30732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30733 (exit $ac_status); } &&
30734 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30736 (eval $ac_try) 2>&5
30738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30739 (exit $ac_status); }; } &&
30740 { ac_try
='test -s conftest.$ac_objext'
30741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30742 (eval $ac_try) 2>&5
30744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30745 (exit $ac_status); }; }; then
30746 ac_cv_type_ssize_t
=yes
30748 echo "$as_me: failed program was:" >&5
30749 sed 's/^/| /' conftest.
$ac_ext >&5
30751 ac_cv_type_ssize_t
=no
30753 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30755 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
30756 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
30757 if test $ac_cv_type_ssize_t = yes; then
30759 cat >>confdefs.h
<<_ACEOF
30760 #define HAVE_SSIZE_T 1
30770 ac_cpp
='$CXXCPP $CPPFLAGS'
30771 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30772 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30773 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30775 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
30776 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
30777 if test "${wx_cv_size_t_is_uint+set}" = set; then
30778 echo $ECHO_N "(cached) $ECHO_C" >&6
30781 cat >conftest.
$ac_ext <<_ACEOF
30784 cat confdefs.h
>>conftest.
$ac_ext
30785 cat >>conftest.
$ac_ext <<_ACEOF
30786 /* end confdefs.h. */
30787 #include <stddef.h>
30794 struct Foo { void foo(size_t); void foo(unsigned int); };
30802 rm -f conftest.
$ac_objext
30803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30804 (eval $ac_compile) 2>conftest.er1
30806 grep -v '^ *+' conftest.er1
>conftest.err
30808 cat conftest.err
>&5
30809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30810 (exit $ac_status); } &&
30811 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30813 (eval $ac_try) 2>&5
30815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30816 (exit $ac_status); }; } &&
30817 { ac_try
='test -s conftest.$ac_objext'
30818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30819 (eval $ac_try) 2>&5
30821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30822 (exit $ac_status); }; }; then
30823 wx_cv_size_t_is_uint
=no
30825 echo "$as_me: failed program was:" >&5
30826 sed 's/^/| /' conftest.
$ac_ext >&5
30828 wx_cv_size_t_is_uint
=yes
30831 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30835 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
30836 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
30838 if test "$wx_cv_size_t_is_uint" = "yes"; then
30839 cat >>confdefs.h
<<\_ACEOF
30840 #define wxSIZE_T_IS_UINT 1
30844 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
30845 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
30846 if test "${wx_cv_size_t_is_ulong+set}" = set; then
30847 echo $ECHO_N "(cached) $ECHO_C" >&6
30849 cat >conftest.
$ac_ext <<_ACEOF
30852 cat confdefs.h
>>conftest.
$ac_ext
30853 cat >>conftest.
$ac_ext <<_ACEOF
30854 /* end confdefs.h. */
30855 #include <stddef.h>
30862 struct Foo { void foo(size_t); void foo(unsigned long); };
30870 rm -f conftest.
$ac_objext
30871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30872 (eval $ac_compile) 2>conftest.er1
30874 grep -v '^ *+' conftest.er1
>conftest.err
30876 cat conftest.err
>&5
30877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30878 (exit $ac_status); } &&
30879 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30881 (eval $ac_try) 2>&5
30883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30884 (exit $ac_status); }; } &&
30885 { ac_try
='test -s conftest.$ac_objext'
30886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30887 (eval $ac_try) 2>&5
30889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30890 (exit $ac_status); }; }; then
30891 wx_cv_size_t_is_ulong
=no
30893 echo "$as_me: failed program was:" >&5
30894 sed 's/^/| /' conftest.
$ac_ext >&5
30896 wx_cv_size_t_is_ulong
=yes
30899 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30902 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
30903 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
30905 if test "$wx_cv_size_t_is_ulong" = "yes"; then
30906 cat >>confdefs.h
<<\_ACEOF
30907 #define wxSIZE_T_IS_ULONG 1
30914 ac_cpp
='$CPP $CPPFLAGS'
30915 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30916 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30917 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30921 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
30922 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
30923 if test "${wx_cv_struct_pw_gecos+set}" = set; then
30924 echo $ECHO_N "(cached) $ECHO_C" >&6
30927 cat >conftest.
$ac_ext <<_ACEOF
30930 cat confdefs.h
>>conftest.
$ac_ext
30931 cat >>conftest.
$ac_ext <<_ACEOF
30932 /* end confdefs.h. */
30946 rm -f conftest.
$ac_objext
30947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30948 (eval $ac_compile) 2>conftest.er1
30950 grep -v '^ *+' conftest.er1
>conftest.err
30952 cat conftest.err
>&5
30953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30954 (exit $ac_status); } &&
30955 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30957 (eval $ac_try) 2>&5
30959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30960 (exit $ac_status); }; } &&
30961 { ac_try
='test -s conftest.$ac_objext'
30962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30963 (eval $ac_try) 2>&5
30965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30966 (exit $ac_status); }; }; then
30968 wx_cv_struct_pw_gecos
=yes
30971 echo "$as_me: failed program was:" >&5
30972 sed 's/^/| /' conftest.
$ac_ext >&5
30975 wx_cv_struct_pw_gecos
=no
30979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30983 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
30984 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
30986 if test "$wx_cv_struct_pw_gecos" = "yes"; then
30987 cat >>confdefs.h
<<\_ACEOF
30988 #define HAVE_PW_GECOS 1
30994 if test "$wxUSE_WCHAR_T" = "yes"; then
30995 cat >>confdefs.h
<<\_ACEOF
30996 #define wxUSE_WCHAR_T 1
31003 for ac_func
in wcslen
31005 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31006 echo "$as_me:$LINENO: checking for $ac_func" >&5
31007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31008 if eval "test \"\${$as_ac_var+set}\" = set"; then
31009 echo $ECHO_N "(cached) $ECHO_C" >&6
31011 cat >conftest.
$ac_ext <<_ACEOF
31014 cat confdefs.h
>>conftest.
$ac_ext
31015 cat >>conftest.
$ac_ext <<_ACEOF
31016 /* end confdefs.h. */
31017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31019 #define $ac_func innocuous_$ac_func
31021 /* System header to define __stub macros and hopefully few prototypes,
31022 which can conflict with char $ac_func (); below.
31023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31024 <limits.h> exists even on freestanding compilers. */
31027 # include <limits.h>
31029 # include <assert.h>
31034 /* Override any gcc2 internal prototype to avoid an error. */
31039 /* We use char because int might match the return type of a gcc2
31040 builtin and then its argument prototype would still apply. */
31042 /* The GNU C library defines this for functions which it implements
31043 to always fail with ENOSYS. Some functions are actually named
31044 something starting with __ and the normal name is an alias. */
31045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31048 char (*f) () = $ac_func;
31057 return f != $ac_func;
31062 rm -f conftest.
$ac_objext conftest
$ac_exeext
31063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31064 (eval $ac_link) 2>conftest.er1
31066 grep -v '^ *+' conftest.er1
>conftest.err
31068 cat conftest.err
>&5
31069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31070 (exit $ac_status); } &&
31071 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31073 (eval $ac_try) 2>&5
31075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31076 (exit $ac_status); }; } &&
31077 { ac_try
='test -s conftest$ac_exeext'
31078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31079 (eval $ac_try) 2>&5
31081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31082 (exit $ac_status); }; }; then
31083 eval "$as_ac_var=yes"
31085 echo "$as_me: failed program was:" >&5
31086 sed 's/^/| /' conftest.
$ac_ext >&5
31088 eval "$as_ac_var=no"
31090 rm -f conftest.err conftest.
$ac_objext \
31091 conftest
$ac_exeext conftest.
$ac_ext
31093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31095 if test `eval echo '${'$as_ac_var'}'` = yes; then
31096 cat >>confdefs.h
<<_ACEOF
31097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31104 if test "$WCSLEN_FOUND" = 0; then
31105 if test "$TOOLKIT" = "MSW"; then
31106 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
31107 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
31108 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
31109 echo $ECHO_N "(cached) $ECHO_C" >&6
31111 ac_check_lib_save_LIBS
=$LIBS
31112 LIBS
="-lmsvcrt $LIBS"
31113 cat >conftest.
$ac_ext <<_ACEOF
31116 cat confdefs.h
>>conftest.
$ac_ext
31117 cat >>conftest.
$ac_ext <<_ACEOF
31118 /* end confdefs.h. */
31120 /* Override any gcc2 internal prototype to avoid an error. */
31124 /* We use char because int might match the return type of a gcc2
31125 builtin and then its argument prototype would still apply. */
31135 rm -f conftest.
$ac_objext conftest
$ac_exeext
31136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31137 (eval $ac_link) 2>conftest.er1
31139 grep -v '^ *+' conftest.er1
>conftest.err
31141 cat conftest.err
>&5
31142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31143 (exit $ac_status); } &&
31144 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31146 (eval $ac_try) 2>&5
31148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31149 (exit $ac_status); }; } &&
31150 { ac_try
='test -s conftest$ac_exeext'
31151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31152 (eval $ac_try) 2>&5
31154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31155 (exit $ac_status); }; }; then
31156 ac_cv_lib_msvcrt_wcslen
=yes
31158 echo "$as_me: failed program was:" >&5
31159 sed 's/^/| /' conftest.
$ac_ext >&5
31161 ac_cv_lib_msvcrt_wcslen
=no
31163 rm -f conftest.err conftest.
$ac_objext \
31164 conftest
$ac_exeext conftest.
$ac_ext
31165 LIBS
=$ac_check_lib_save_LIBS
31167 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
31168 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
31169 if test $ac_cv_lib_msvcrt_wcslen = yes; then
31174 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
31175 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
31176 if test "${ac_cv_lib_w_wcslen+set}" = set; then
31177 echo $ECHO_N "(cached) $ECHO_C" >&6
31179 ac_check_lib_save_LIBS
=$LIBS
31181 cat >conftest.
$ac_ext <<_ACEOF
31184 cat confdefs.h
>>conftest.
$ac_ext
31185 cat >>conftest.
$ac_ext <<_ACEOF
31186 /* end confdefs.h. */
31188 /* Override any gcc2 internal prototype to avoid an error. */
31192 /* We use char because int might match the return type of a gcc2
31193 builtin and then its argument prototype would still apply. */
31203 rm -f conftest.
$ac_objext conftest
$ac_exeext
31204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31205 (eval $ac_link) 2>conftest.er1
31207 grep -v '^ *+' conftest.er1
>conftest.err
31209 cat conftest.err
>&5
31210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31211 (exit $ac_status); } &&
31212 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31214 (eval $ac_try) 2>&5
31216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31217 (exit $ac_status); }; } &&
31218 { ac_try
='test -s conftest$ac_exeext'
31219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31220 (eval $ac_try) 2>&5
31222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31223 (exit $ac_status); }; }; then
31224 ac_cv_lib_w_wcslen
=yes
31226 echo "$as_me: failed program was:" >&5
31227 sed 's/^/| /' conftest.
$ac_ext >&5
31229 ac_cv_lib_w_wcslen
=no
31231 rm -f conftest.err conftest.
$ac_objext \
31232 conftest
$ac_exeext conftest.
$ac_ext
31233 LIBS
=$ac_check_lib_save_LIBS
31235 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
31236 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
31237 if test $ac_cv_lib_w_wcslen = yes; then
31247 if test "$WCSLEN_FOUND" = 1; then
31248 cat >>confdefs.h
<<\_ACEOF
31249 #define HAVE_WCSLEN 1
31254 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
31255 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
31258 echo "$as_me:$LINENO: checking for mbstate_t" >&5
31259 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
31260 if test "${ac_cv_type_mbstate_t+set}" = set; then
31261 echo $ECHO_N "(cached) $ECHO_C" >&6
31263 cat >conftest.
$ac_ext <<_ACEOF
31266 cat confdefs.h
>>conftest.
$ac_ext
31267 cat >>conftest.
$ac_ext <<_ACEOF
31268 /* end confdefs.h. */
31274 if ((mbstate_t *) 0)
31276 if (sizeof (mbstate_t))
31282 rm -f conftest.
$ac_objext
31283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31284 (eval $ac_compile) 2>conftest.er1
31286 grep -v '^ *+' conftest.er1
>conftest.err
31288 cat conftest.err
>&5
31289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31290 (exit $ac_status); } &&
31291 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31293 (eval $ac_try) 2>&5
31295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31296 (exit $ac_status); }; } &&
31297 { ac_try
='test -s conftest.$ac_objext'
31298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31299 (eval $ac_try) 2>&5
31301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31302 (exit $ac_status); }; }; then
31303 ac_cv_type_mbstate_t
=yes
31305 echo "$as_me: failed program was:" >&5
31306 sed 's/^/| /' conftest.
$ac_ext >&5
31308 ac_cv_type_mbstate_t
=no
31310 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31312 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
31313 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
31314 if test $ac_cv_type_mbstate_t = yes; then
31316 cat >>confdefs.h
<<_ACEOF
31317 #define HAVE_MBSTATE_T 1
31321 for ac_func
in wcsrtombs
31323 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31324 echo "$as_me:$LINENO: checking for $ac_func" >&5
31325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31326 if eval "test \"\${$as_ac_var+set}\" = set"; then
31327 echo $ECHO_N "(cached) $ECHO_C" >&6
31329 cat >conftest.
$ac_ext <<_ACEOF
31332 cat confdefs.h
>>conftest.
$ac_ext
31333 cat >>conftest.
$ac_ext <<_ACEOF
31334 /* end confdefs.h. */
31335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31336 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31337 #define $ac_func innocuous_$ac_func
31339 /* System header to define __stub macros and hopefully few prototypes,
31340 which can conflict with char $ac_func (); below.
31341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31342 <limits.h> exists even on freestanding compilers. */
31345 # include <limits.h>
31347 # include <assert.h>
31352 /* Override any gcc2 internal prototype to avoid an error. */
31357 /* We use char because int might match the return type of a gcc2
31358 builtin and then its argument prototype would still apply. */
31360 /* The GNU C library defines this for functions which it implements
31361 to always fail with ENOSYS. Some functions are actually named
31362 something starting with __ and the normal name is an alias. */
31363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31366 char (*f) () = $ac_func;
31375 return f != $ac_func;
31380 rm -f conftest.
$ac_objext conftest
$ac_exeext
31381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31382 (eval $ac_link) 2>conftest.er1
31384 grep -v '^ *+' conftest.er1
>conftest.err
31386 cat conftest.err
>&5
31387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31388 (exit $ac_status); } &&
31389 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31391 (eval $ac_try) 2>&5
31393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31394 (exit $ac_status); }; } &&
31395 { ac_try
='test -s conftest$ac_exeext'
31396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31397 (eval $ac_try) 2>&5
31399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31400 (exit $ac_status); }; }; then
31401 eval "$as_ac_var=yes"
31403 echo "$as_me: failed program was:" >&5
31404 sed 's/^/| /' conftest.
$ac_ext >&5
31406 eval "$as_ac_var=no"
31408 rm -f conftest.err conftest.
$ac_objext \
31409 conftest
$ac_exeext conftest.
$ac_ext
31411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31413 if test `eval echo '${'$as_ac_var'}'` = yes; then
31414 cat >>confdefs.h
<<_ACEOF
31415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31424 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
31425 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
31431 ac_cpp
='$CXXCPP $CPPFLAGS'
31432 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31433 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31434 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31439 for ac_func
in snprintf vsnprintf
31441 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31442 echo "$as_me:$LINENO: checking for $ac_func" >&5
31443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31444 if eval "test \"\${$as_ac_var+set}\" = set"; then
31445 echo $ECHO_N "(cached) $ECHO_C" >&6
31447 cat >conftest.
$ac_ext <<_ACEOF
31450 cat confdefs.h
>>conftest.
$ac_ext
31451 cat >>conftest.
$ac_ext <<_ACEOF
31452 /* end confdefs.h. */
31453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31455 #define $ac_func innocuous_$ac_func
31457 /* System header to define __stub macros and hopefully few prototypes,
31458 which can conflict with char $ac_func (); below.
31459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31460 <limits.h> exists even on freestanding compilers. */
31463 # include <limits.h>
31465 # include <assert.h>
31470 /* Override any gcc2 internal prototype to avoid an error. */
31475 /* We use char because int might match the return type of a gcc2
31476 builtin and then its argument prototype would still apply. */
31478 /* The GNU C library defines this for functions which it implements
31479 to always fail with ENOSYS. Some functions are actually named
31480 something starting with __ and the normal name is an alias. */
31481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31484 char (*f) () = $ac_func;
31493 return f != $ac_func;
31498 rm -f conftest.
$ac_objext conftest
$ac_exeext
31499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31500 (eval $ac_link) 2>conftest.er1
31502 grep -v '^ *+' conftest.er1
>conftest.err
31504 cat conftest.err
>&5
31505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31506 (exit $ac_status); } &&
31507 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31509 (eval $ac_try) 2>&5
31511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31512 (exit $ac_status); }; } &&
31513 { ac_try
='test -s conftest$ac_exeext'
31514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31515 (eval $ac_try) 2>&5
31517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31518 (exit $ac_status); }; }; then
31519 eval "$as_ac_var=yes"
31521 echo "$as_me: failed program was:" >&5
31522 sed 's/^/| /' conftest.
$ac_ext >&5
31524 eval "$as_ac_var=no"
31526 rm -f conftest.err conftest.
$ac_objext \
31527 conftest
$ac_exeext conftest.
$ac_ext
31529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31531 if test `eval echo '${'$as_ac_var'}'` = yes; then
31532 cat >>confdefs.h
<<_ACEOF
31533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31540 if test "$ac_cv_func_vsnprintf" = "yes"; then
31541 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
31542 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
31543 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
31544 echo $ECHO_N "(cached) $ECHO_C" >&6
31547 cat >conftest.
$ac_ext <<_ACEOF
31550 cat confdefs.h
>>conftest.
$ac_ext
31551 cat >>conftest.
$ac_ext <<_ACEOF
31552 /* end confdefs.h. */
31555 #include <stdarg.h>
31557 #if __MSL__ >= 0x6000
31559 using namespace std;
31569 vsnprintf(buf, 10u, "%s", ap);
31575 rm -f conftest.
$ac_objext
31576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31577 (eval $ac_compile) 2>conftest.er1
31579 grep -v '^ *+' conftest.er1
>conftest.err
31581 cat conftest.err
>&5
31582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31583 (exit $ac_status); } &&
31584 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31586 (eval $ac_try) 2>&5
31588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31589 (exit $ac_status); }; } &&
31590 { ac_try
='test -s conftest.$ac_objext'
31591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31592 (eval $ac_try) 2>&5
31594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31595 (exit $ac_status); }; }; then
31596 wx_cv_func_vsnprintf_decl
=yes
31598 echo "$as_me: failed program was:" >&5
31599 sed 's/^/| /' conftest.
$ac_ext >&5
31601 wx_cv_func_vsnprintf_decl
=no
31604 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31608 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
31609 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
31611 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
31612 cat >>confdefs.h
<<\_ACEOF
31613 #define HAVE_VSNPRINTF_DECL 1
31617 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
31618 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
31619 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
31620 echo $ECHO_N "(cached) $ECHO_C" >&6
31623 cat >conftest.
$ac_ext <<_ACEOF
31626 cat confdefs.h
>>conftest.
$ac_ext
31627 cat >>conftest.
$ac_ext <<_ACEOF
31628 /* end confdefs.h. */
31631 #include <stdarg.h>
31633 #if __MSL__ >= 0x6000
31635 using namespace std;
31645 const char *fmt = "%s";
31646 vsnprintf(buf, 10u, fmt, ap);
31652 rm -f conftest.
$ac_objext
31653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31654 (eval $ac_compile) 2>conftest.er1
31656 grep -v '^ *+' conftest.er1
>conftest.err
31658 cat conftest.err
>&5
31659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31660 (exit $ac_status); } &&
31661 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31663 (eval $ac_try) 2>&5
31665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31666 (exit $ac_status); }; } &&
31667 { ac_try
='test -s conftest.$ac_objext'
31668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31669 (eval $ac_try) 2>&5
31671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31672 (exit $ac_status); }; }; then
31673 wx_cv_func_broken_vsnprintf_decl
=no
31675 echo "$as_me: failed program was:" >&5
31676 sed 's/^/| /' conftest.
$ac_ext >&5
31678 wx_cv_func_broken_vsnprintf_decl
=yes
31681 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31685 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
31686 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
31688 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
31689 cat >>confdefs.h
<<\_ACEOF
31690 #define HAVE_BROKEN_VSNPRINTF_DECL 1
31697 if test "$ac_cv_func_snprintf" = "yes"; then
31698 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
31699 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
31700 if test "${wx_cv_func_snprintf_decl+set}" = set; then
31701 echo $ECHO_N "(cached) $ECHO_C" >&6
31704 cat >conftest.
$ac_ext <<_ACEOF
31707 cat confdefs.h
>>conftest.
$ac_ext
31708 cat >>conftest.
$ac_ext <<_ACEOF
31709 /* end confdefs.h. */
31712 #include <stdarg.h>
31714 #if __MSL__ >= 0x6000
31716 using namespace std;
31725 snprintf(buf, 10u, "%s", "wx");
31731 rm -f conftest.
$ac_objext
31732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31733 (eval $ac_compile) 2>conftest.er1
31735 grep -v '^ *+' conftest.er1
>conftest.err
31737 cat conftest.err
>&5
31738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31739 (exit $ac_status); } &&
31740 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31742 (eval $ac_try) 2>&5
31744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31745 (exit $ac_status); }; } &&
31746 { ac_try
='test -s conftest.$ac_objext'
31747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31748 (eval $ac_try) 2>&5
31750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31751 (exit $ac_status); }; }; then
31752 wx_cv_func_snprintf_decl
=yes
31754 echo "$as_me: failed program was:" >&5
31755 sed 's/^/| /' conftest.
$ac_ext >&5
31757 wx_cv_func_snprintf_decl
=no
31760 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31764 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
31765 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
31767 if test "$wx_cv_func_snprintf_decl" = "yes"; then
31768 cat >>confdefs.h
<<\_ACEOF
31769 #define HAVE_SNPRINTF_DECL 1
31773 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
31774 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
31775 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
31776 echo $ECHO_N "(cached) $ECHO_C" >&6
31779 cat >conftest.
$ac_ext <<_ACEOF
31782 cat confdefs.h
>>conftest.
$ac_ext
31783 cat >>conftest.
$ac_ext <<_ACEOF
31784 /* end confdefs.h. */
31787 #include <stdarg.h>
31789 #if __MSL__ >= 0x6000
31791 using namespace std;
31800 const char *fmt = "%s";
31801 snprintf(buf, 10u, fmt, "wx");
31807 rm -f conftest.
$ac_objext
31808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31809 (eval $ac_compile) 2>conftest.er1
31811 grep -v '^ *+' conftest.er1
>conftest.err
31813 cat conftest.err
>&5
31814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31815 (exit $ac_status); } &&
31816 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31818 (eval $ac_try) 2>&5
31820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31821 (exit $ac_status); }; } &&
31822 { ac_try
='test -s conftest.$ac_objext'
31823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31824 (eval $ac_try) 2>&5
31826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31827 (exit $ac_status); }; }; then
31828 wx_cv_func_broken_snprintf_decl
=no
31830 echo "$as_me: failed program was:" >&5
31831 sed 's/^/| /' conftest.
$ac_ext >&5
31833 wx_cv_func_broken_snprintf_decl
=yes
31836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31840 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
31841 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
31843 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
31844 cat >>confdefs.h
<<\_ACEOF
31845 #define HAVE_BROKEN_SNPRINTF_DECL 1
31852 if test "$wxUSE_UNICODE" = yes; then
31859 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
31861 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31862 echo "$as_me:$LINENO: checking for $ac_func" >&5
31863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31864 if eval "test \"\${$as_ac_var+set}\" = set"; then
31865 echo $ECHO_N "(cached) $ECHO_C" >&6
31867 cat >conftest.
$ac_ext <<_ACEOF
31870 cat confdefs.h
>>conftest.
$ac_ext
31871 cat >>conftest.
$ac_ext <<_ACEOF
31872 /* end confdefs.h. */
31873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31875 #define $ac_func innocuous_$ac_func
31877 /* System header to define __stub macros and hopefully few prototypes,
31878 which can conflict with char $ac_func (); below.
31879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31880 <limits.h> exists even on freestanding compilers. */
31883 # include <limits.h>
31885 # include <assert.h>
31890 /* Override any gcc2 internal prototype to avoid an error. */
31895 /* We use char because int might match the return type of a gcc2
31896 builtin and then its argument prototype would still apply. */
31898 /* The GNU C library defines this for functions which it implements
31899 to always fail with ENOSYS. Some functions are actually named
31900 something starting with __ and the normal name is an alias. */
31901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31904 char (*f) () = $ac_func;
31913 return f != $ac_func;
31918 rm -f conftest.
$ac_objext conftest
$ac_exeext
31919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31920 (eval $ac_link) 2>conftest.er1
31922 grep -v '^ *+' conftest.er1
>conftest.err
31924 cat conftest.err
>&5
31925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31926 (exit $ac_status); } &&
31927 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31929 (eval $ac_try) 2>&5
31931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31932 (exit $ac_status); }; } &&
31933 { ac_try
='test -s conftest$ac_exeext'
31934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31935 (eval $ac_try) 2>&5
31937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31938 (exit $ac_status); }; }; then
31939 eval "$as_ac_var=yes"
31941 echo "$as_me: failed program was:" >&5
31942 sed 's/^/| /' conftest.
$ac_ext >&5
31944 eval "$as_ac_var=no"
31946 rm -f conftest.err conftest.
$ac_objext \
31947 conftest
$ac_exeext conftest.
$ac_ext
31949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31950 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31951 if test `eval echo '${'$as_ac_var'}'` = yes; then
31952 cat >>confdefs.h
<<_ACEOF
31953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31960 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
31961 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
31962 cat >conftest.
$ac_ext <<_ACEOF
31965 cat confdefs.h
>>conftest.
$ac_ext
31966 cat >>conftest.
$ac_ext <<_ACEOF
31967 /* end confdefs.h. */
31977 rm -f conftest.
$ac_objext
31978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31979 (eval $ac_compile) 2>conftest.er1
31981 grep -v '^ *+' conftest.er1
>conftest.err
31983 cat conftest.err
>&5
31984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31985 (exit $ac_status); } &&
31986 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31988 (eval $ac_try) 2>&5
31990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31991 (exit $ac_status); }; } &&
31992 { ac_try
='test -s conftest.$ac_objext'
31993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31994 (eval $ac_try) 2>&5
31996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31997 (exit $ac_status); }; }; then
31998 echo "$as_me:$LINENO: result: yes" >&5
31999 echo "${ECHO_T}yes" >&6
32000 cat >>confdefs.h
<<\_ACEOF
32001 #define HAVE__VSNWPRINTF 1
32005 echo "$as_me: failed program was:" >&5
32006 sed 's/^/| /' conftest.
$ac_ext >&5
32008 echo "$as_me:$LINENO: result: no" >&5
32009 echo "${ECHO_T}no" >&6
32011 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
32015 ac_cpp
='$CPP $CPPFLAGS'
32016 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32017 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32018 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32021 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
32023 for ac_func
in fnmatch
32025 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32026 echo "$as_me:$LINENO: checking for $ac_func" >&5
32027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32028 if eval "test \"\${$as_ac_var+set}\" = set"; then
32029 echo $ECHO_N "(cached) $ECHO_C" >&6
32031 cat >conftest.
$ac_ext <<_ACEOF
32034 cat confdefs.h
>>conftest.
$ac_ext
32035 cat >>conftest.
$ac_ext <<_ACEOF
32036 /* end confdefs.h. */
32037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32039 #define $ac_func innocuous_$ac_func
32041 /* System header to define __stub macros and hopefully few prototypes,
32042 which can conflict with char $ac_func (); below.
32043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32044 <limits.h> exists even on freestanding compilers. */
32047 # include <limits.h>
32049 # include <assert.h>
32054 /* Override any gcc2 internal prototype to avoid an error. */
32059 /* We use char because int might match the return type of a gcc2
32060 builtin and then its argument prototype would still apply. */
32062 /* The GNU C library defines this for functions which it implements
32063 to always fail with ENOSYS. Some functions are actually named
32064 something starting with __ and the normal name is an alias. */
32065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32068 char (*f) () = $ac_func;
32077 return f != $ac_func;
32082 rm -f conftest.
$ac_objext conftest
$ac_exeext
32083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32084 (eval $ac_link) 2>conftest.er1
32086 grep -v '^ *+' conftest.er1
>conftest.err
32088 cat conftest.err
>&5
32089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32090 (exit $ac_status); } &&
32091 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32093 (eval $ac_try) 2>&5
32095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32096 (exit $ac_status); }; } &&
32097 { ac_try
='test -s conftest$ac_exeext'
32098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32099 (eval $ac_try) 2>&5
32101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32102 (exit $ac_status); }; }; then
32103 eval "$as_ac_var=yes"
32105 echo "$as_me: failed program was:" >&5
32106 sed 's/^/| /' conftest.
$ac_ext >&5
32108 eval "$as_ac_var=no"
32110 rm -f conftest.err conftest.
$ac_objext \
32111 conftest
$ac_exeext conftest.
$ac_ext
32113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32115 if test `eval echo '${'$as_ac_var'}'` = yes; then
32116 cat >>confdefs.h
<<_ACEOF
32117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32125 if test "$wxUSE_FILE" = "yes"; then
32127 for ac_func
in fsync
32129 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32130 echo "$as_me:$LINENO: checking for $ac_func" >&5
32131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32132 if eval "test \"\${$as_ac_var+set}\" = set"; then
32133 echo $ECHO_N "(cached) $ECHO_C" >&6
32135 cat >conftest.
$ac_ext <<_ACEOF
32138 cat confdefs.h
>>conftest.
$ac_ext
32139 cat >>conftest.
$ac_ext <<_ACEOF
32140 /* end confdefs.h. */
32141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32143 #define $ac_func innocuous_$ac_func
32145 /* System header to define __stub macros and hopefully few prototypes,
32146 which can conflict with char $ac_func (); below.
32147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32148 <limits.h> exists even on freestanding compilers. */
32151 # include <limits.h>
32153 # include <assert.h>
32158 /* Override any gcc2 internal prototype to avoid an error. */
32163 /* We use char because int might match the return type of a gcc2
32164 builtin and then its argument prototype would still apply. */
32166 /* The GNU C library defines this for functions which it implements
32167 to always fail with ENOSYS. Some functions are actually named
32168 something starting with __ and the normal name is an alias. */
32169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32172 char (*f) () = $ac_func;
32181 return f != $ac_func;
32186 rm -f conftest.
$ac_objext conftest
$ac_exeext
32187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32188 (eval $ac_link) 2>conftest.er1
32190 grep -v '^ *+' conftest.er1
>conftest.err
32192 cat conftest.err
>&5
32193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32194 (exit $ac_status); } &&
32195 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32197 (eval $ac_try) 2>&5
32199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32200 (exit $ac_status); }; } &&
32201 { ac_try
='test -s conftest$ac_exeext'
32202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32203 (eval $ac_try) 2>&5
32205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32206 (exit $ac_status); }; }; then
32207 eval "$as_ac_var=yes"
32209 echo "$as_me: failed program was:" >&5
32210 sed 's/^/| /' conftest.
$ac_ext >&5
32212 eval "$as_ac_var=no"
32214 rm -f conftest.err conftest.
$ac_objext \
32215 conftest
$ac_exeext conftest.
$ac_ext
32217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32219 if test `eval echo '${'$as_ac_var'}'` = yes; then
32220 cat >>confdefs.h
<<_ACEOF
32221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32230 if test "$TOOLKIT" != "MSW"; then
32236 ac_cpp
='$CXXCPP $CPPFLAGS'
32237 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32238 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32239 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32244 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
32245 if test "${with_libiconv_prefix+set}" = set; then
32246 withval
="$with_libiconv_prefix"
32248 for dir
in `echo "$withval" | tr : ' '`; do
32249 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
32250 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
32255 echo "$as_me:$LINENO: checking for iconv" >&5
32256 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
32257 if test "${am_cv_func_iconv+set}" = set; then
32258 echo $ECHO_N "(cached) $ECHO_C" >&6
32261 am_cv_func_iconv
="no, consider installing GNU libiconv"
32263 cat >conftest.
$ac_ext <<_ACEOF
32266 cat confdefs.h
>>conftest.
$ac_ext
32267 cat >>conftest.
$ac_ext <<_ACEOF
32268 /* end confdefs.h. */
32269 #include <stdlib.h>
32274 iconv_t cd = iconv_open("","");
32275 iconv(cd,NULL,NULL,NULL,NULL);
32281 rm -f conftest.
$ac_objext conftest
$ac_exeext
32282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32283 (eval $ac_link) 2>conftest.er1
32285 grep -v '^ *+' conftest.er1
>conftest.err
32287 cat conftest.err
>&5
32288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32289 (exit $ac_status); } &&
32290 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32292 (eval $ac_try) 2>&5
32294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32295 (exit $ac_status); }; } &&
32296 { ac_try
='test -s conftest$ac_exeext'
32297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32298 (eval $ac_try) 2>&5
32300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32301 (exit $ac_status); }; }; then
32302 am_cv_func_iconv
=yes
32304 echo "$as_me: failed program was:" >&5
32305 sed 's/^/| /' conftest.
$ac_ext >&5
32308 rm -f conftest.err conftest.
$ac_objext \
32309 conftest
$ac_exeext conftest.
$ac_ext
32310 if test "$am_cv_func_iconv" != yes; then
32311 am_save_LIBS
="$LIBS"
32312 LIBS
="$LIBS -liconv"
32313 cat >conftest.
$ac_ext <<_ACEOF
32316 cat confdefs.h
>>conftest.
$ac_ext
32317 cat >>conftest.
$ac_ext <<_ACEOF
32318 /* end confdefs.h. */
32319 #include <stdlib.h>
32324 iconv_t cd = iconv_open("","");
32325 iconv(cd,NULL,NULL,NULL,NULL);
32331 rm -f conftest.
$ac_objext conftest
$ac_exeext
32332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32333 (eval $ac_link) 2>conftest.er1
32335 grep -v '^ *+' conftest.er1
>conftest.err
32337 cat conftest.err
>&5
32338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32339 (exit $ac_status); } &&
32340 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32342 (eval $ac_try) 2>&5
32344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32345 (exit $ac_status); }; } &&
32346 { ac_try
='test -s conftest$ac_exeext'
32347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32348 (eval $ac_try) 2>&5
32350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32351 (exit $ac_status); }; }; then
32352 am_cv_lib_iconv
=yes
32353 am_cv_func_iconv
=yes
32355 echo "$as_me: failed program was:" >&5
32356 sed 's/^/| /' conftest.
$ac_ext >&5
32359 rm -f conftest.err conftest.
$ac_objext \
32360 conftest
$ac_exeext conftest.
$ac_ext
32361 LIBS
="$am_save_LIBS"
32365 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
32366 echo "${ECHO_T}$am_cv_func_iconv" >&6
32367 if test "$am_cv_func_iconv" = yes; then
32369 cat >>confdefs.h
<<\_ACEOF
32370 #define HAVE_ICONV 1
32373 echo "$as_me:$LINENO: checking if iconv needs const" >&5
32374 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
32375 if test "${wx_cv_func_iconv_const+set}" = set; then
32376 echo $ECHO_N "(cached) $ECHO_C" >&6
32378 cat >conftest.
$ac_ext <<_ACEOF
32381 cat confdefs.h
>>conftest.
$ac_ext
32382 cat >>conftest.
$ac_ext <<_ACEOF
32383 /* end confdefs.h. */
32385 #include <stdlib.h>
32391 #if defined(__STDC__) || defined(__cplusplus)
32392 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
32405 rm -f conftest.
$ac_objext
32406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32407 (eval $ac_compile) 2>conftest.er1
32409 grep -v '^ *+' conftest.er1
>conftest.err
32411 cat conftest.err
>&5
32412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32413 (exit $ac_status); } &&
32414 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32416 (eval $ac_try) 2>&5
32418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32419 (exit $ac_status); }; } &&
32420 { ac_try
='test -s conftest.$ac_objext'
32421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32422 (eval $ac_try) 2>&5
32424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32425 (exit $ac_status); }; }; then
32426 wx_cv_func_iconv_const
="no"
32428 echo "$as_me: failed program was:" >&5
32429 sed 's/^/| /' conftest.
$ac_ext >&5
32431 wx_cv_func_iconv_const
="yes"
32434 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32437 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
32438 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
32441 if test "x$wx_cv_func_iconv_const" = "xyes"; then
32442 iconv_const
="const"
32446 cat >>confdefs.h
<<_ACEOF
32447 #define ICONV_CONST $iconv_const
32452 if test "$am_cv_lib_iconv" = yes; then
32457 LIBS
="$LIBICONV $LIBS"
32459 ac_cpp
='$CPP $CPPFLAGS'
32460 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32461 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32462 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32465 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
32467 for ac_func
in sigaction
32469 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32470 echo "$as_me:$LINENO: checking for $ac_func" >&5
32471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32472 if eval "test \"\${$as_ac_var+set}\" = set"; then
32473 echo $ECHO_N "(cached) $ECHO_C" >&6
32475 cat >conftest.
$ac_ext <<_ACEOF
32478 cat confdefs.h
>>conftest.
$ac_ext
32479 cat >>conftest.
$ac_ext <<_ACEOF
32480 /* end confdefs.h. */
32481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32483 #define $ac_func innocuous_$ac_func
32485 /* System header to define __stub macros and hopefully few prototypes,
32486 which can conflict with char $ac_func (); below.
32487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32488 <limits.h> exists even on freestanding compilers. */
32491 # include <limits.h>
32493 # include <assert.h>
32498 /* Override any gcc2 internal prototype to avoid an error. */
32503 /* We use char because int might match the return type of a gcc2
32504 builtin and then its argument prototype would still apply. */
32506 /* The GNU C library defines this for functions which it implements
32507 to always fail with ENOSYS. Some functions are actually named
32508 something starting with __ and the normal name is an alias. */
32509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32512 char (*f) () = $ac_func;
32521 return f != $ac_func;
32526 rm -f conftest.
$ac_objext conftest
$ac_exeext
32527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32528 (eval $ac_link) 2>conftest.er1
32530 grep -v '^ *+' conftest.er1
>conftest.err
32532 cat conftest.err
>&5
32533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32534 (exit $ac_status); } &&
32535 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32537 (eval $ac_try) 2>&5
32539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32540 (exit $ac_status); }; } &&
32541 { ac_try
='test -s conftest$ac_exeext'
32542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32543 (eval $ac_try) 2>&5
32545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32546 (exit $ac_status); }; }; then
32547 eval "$as_ac_var=yes"
32549 echo "$as_me: failed program was:" >&5
32550 sed 's/^/| /' conftest.
$ac_ext >&5
32552 eval "$as_ac_var=no"
32554 rm -f conftest.err conftest.
$ac_objext \
32555 conftest
$ac_exeext conftest.
$ac_ext
32557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32559 if test `eval echo '${'$as_ac_var'}'` = yes; then
32560 cat >>confdefs.h
<<_ACEOF
32561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32568 if test "$ac_cv_func_sigaction" = "no"; then
32569 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
32570 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
32571 wxUSE_ON_FATAL_EXCEPTION
=no
32574 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
32578 ac_cpp
='$CXXCPP $CPPFLAGS'
32579 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32580 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32581 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32584 echo "$as_me:$LINENO: checking for sa_handler type" >&5
32585 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
32586 if test "${wx_cv_type_sa_handler+set}" = set; then
32587 echo $ECHO_N "(cached) $ECHO_C" >&6
32590 cat >conftest.
$ac_ext <<_ACEOF
32593 cat confdefs.h
>>conftest.
$ac_ext
32594 cat >>conftest.
$ac_ext <<_ACEOF
32595 /* end confdefs.h. */
32596 #include <signal.h>
32601 extern void testSigHandler(int);
32603 struct sigaction sa;
32604 sa.sa_handler = testSigHandler;
32610 rm -f conftest.
$ac_objext
32611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32612 (eval $ac_compile) 2>conftest.er1
32614 grep -v '^ *+' conftest.er1
>conftest.err
32616 cat conftest.err
>&5
32617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32618 (exit $ac_status); } &&
32619 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32621 (eval $ac_try) 2>&5
32623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32624 (exit $ac_status); }; } &&
32625 { ac_try
='test -s conftest.$ac_objext'
32626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32627 (eval $ac_try) 2>&5
32629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32630 (exit $ac_status); }; }; then
32632 wx_cv_type_sa_handler
=int
32635 echo "$as_me: failed program was:" >&5
32636 sed 's/^/| /' conftest.
$ac_ext >&5
32639 wx_cv_type_sa_handler
=void
32642 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32645 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
32646 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
32649 ac_cpp
='$CPP $CPPFLAGS'
32650 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32651 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32652 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32655 cat >>confdefs.h
<<_ACEOF
32656 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
32662 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
32666 ac_cpp
='$CXXCPP $CPPFLAGS'
32667 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32668 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32669 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32672 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
32673 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
32674 if test "${wx_cv_func_backtrace+set}" = set; then
32675 echo $ECHO_N "(cached) $ECHO_C" >&6
32678 cat >conftest.
$ac_ext <<_ACEOF
32681 cat confdefs.h
>>conftest.
$ac_ext
32682 cat >>conftest.
$ac_ext <<_ACEOF
32683 /* end confdefs.h. */
32684 #include <execinfo.h>
32692 backtrace(trace, 1);
32693 messages = backtrace_symbols(trace, 1);
32699 rm -f conftest.
$ac_objext
32700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32701 (eval $ac_compile) 2>conftest.er1
32703 grep -v '^ *+' conftest.er1
>conftest.err
32705 cat conftest.err
>&5
32706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32707 (exit $ac_status); } &&
32708 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32710 (eval $ac_try) 2>&5
32712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32713 (exit $ac_status); }; } &&
32714 { ac_try
='test -s conftest.$ac_objext'
32715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32716 (eval $ac_try) 2>&5
32718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32719 (exit $ac_status); }; }; then
32720 wx_cv_func_backtrace
=yes
32722 echo "$as_me: failed program was:" >&5
32723 sed 's/^/| /' conftest.
$ac_ext >&5
32725 wx_cv_func_backtrace
=no
32728 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32732 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
32733 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
32736 if test "$wx_cv_func_backtrace" = "no"; then
32737 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
32738 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
32739 wxUSE_STACKWALKER
=no
32741 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
32742 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
32743 if test "${wx_cv_func_cxa_demangle+set}" = set; then
32744 echo $ECHO_N "(cached) $ECHO_C" >&6
32747 cat >conftest.
$ac_ext <<_ACEOF
32750 cat confdefs.h
>>conftest.
$ac_ext
32751 cat >>conftest.
$ac_ext <<_ACEOF
32752 /* end confdefs.h. */
32753 #include <cxxabi.h>
32759 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
32765 rm -f conftest.
$ac_objext conftest
$ac_exeext
32766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32767 (eval $ac_link) 2>conftest.er1
32769 grep -v '^ *+' conftest.er1
>conftest.err
32771 cat conftest.err
>&5
32772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32773 (exit $ac_status); } &&
32774 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32776 (eval $ac_try) 2>&5
32778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32779 (exit $ac_status); }; } &&
32780 { ac_try
='test -s conftest$ac_exeext'
32781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32782 (eval $ac_try) 2>&5
32784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32785 (exit $ac_status); }; }; then
32786 wx_cv_func_cxa_demangle
=yes
32788 echo "$as_me: failed program was:" >&5
32789 sed 's/^/| /' conftest.
$ac_ext >&5
32791 wx_cv_func_cxa_demangle
=no
32794 rm -f conftest.err conftest.
$ac_objext \
32795 conftest
$ac_exeext conftest.
$ac_ext
32799 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
32800 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
32802 if test "$wx_cv_func_cxa_demangle" = "yes"; then
32803 cat >>confdefs.h
<<\_ACEOF
32804 #define HAVE_CXA_DEMANGLE 1
32811 ac_cpp
='$CPP $CPPFLAGS'
32812 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32813 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32814 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32818 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
32819 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
32820 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
32821 wxUSE_STACKWALKER
=no
32827 for ac_func
in mkstemp mktemp
32829 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32830 echo "$as_me:$LINENO: checking for $ac_func" >&5
32831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32832 if eval "test \"\${$as_ac_var+set}\" = set"; then
32833 echo $ECHO_N "(cached) $ECHO_C" >&6
32835 cat >conftest.
$ac_ext <<_ACEOF
32838 cat confdefs.h
>>conftest.
$ac_ext
32839 cat >>conftest.
$ac_ext <<_ACEOF
32840 /* end confdefs.h. */
32841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32843 #define $ac_func innocuous_$ac_func
32845 /* System header to define __stub macros and hopefully few prototypes,
32846 which can conflict with char $ac_func (); below.
32847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32848 <limits.h> exists even on freestanding compilers. */
32851 # include <limits.h>
32853 # include <assert.h>
32858 /* Override any gcc2 internal prototype to avoid an error. */
32863 /* We use char because int might match the return type of a gcc2
32864 builtin and then its argument prototype would still apply. */
32866 /* The GNU C library defines this for functions which it implements
32867 to always fail with ENOSYS. Some functions are actually named
32868 something starting with __ and the normal name is an alias. */
32869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32872 char (*f) () = $ac_func;
32881 return f != $ac_func;
32886 rm -f conftest.
$ac_objext conftest
$ac_exeext
32887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32888 (eval $ac_link) 2>conftest.er1
32890 grep -v '^ *+' conftest.er1
>conftest.err
32892 cat conftest.err
>&5
32893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32894 (exit $ac_status); } &&
32895 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32897 (eval $ac_try) 2>&5
32899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32900 (exit $ac_status); }; } &&
32901 { ac_try
='test -s conftest$ac_exeext'
32902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32903 (eval $ac_try) 2>&5
32905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32906 (exit $ac_status); }; }; then
32907 eval "$as_ac_var=yes"
32909 echo "$as_me: failed program was:" >&5
32910 sed 's/^/| /' conftest.
$ac_ext >&5
32912 eval "$as_ac_var=no"
32914 rm -f conftest.err conftest.
$ac_objext \
32915 conftest
$ac_exeext conftest.
$ac_ext
32917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32919 if test `eval echo '${'$as_ac_var'}'` = yes; then
32920 cat >>confdefs.h
<<_ACEOF
32921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32928 echo "$as_me:$LINENO: checking for statfs" >&5
32929 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
32930 if test "${wx_cv_func_statfs+set}" = set; then
32931 echo $ECHO_N "(cached) $ECHO_C" >&6
32933 cat >conftest.
$ac_ext <<_ACEOF
32936 cat confdefs.h
>>conftest.
$ac_ext
32937 cat >>conftest.
$ac_ext <<_ACEOF
32938 /* end confdefs.h. */
32940 #if defined(__BSD__)
32941 #include <sys/param.h>
32942 #include <sys/mount.h>
32944 #include <sys/vfs.h>
32962 rm -f conftest.
$ac_objext
32963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32964 (eval $ac_compile) 2>conftest.er1
32966 grep -v '^ *+' conftest.er1
>conftest.err
32968 cat conftest.err
>&5
32969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32970 (exit $ac_status); } &&
32971 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32973 (eval $ac_try) 2>&5
32975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32976 (exit $ac_status); }; } &&
32977 { ac_try
='test -s conftest.$ac_objext'
32978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32979 (eval $ac_try) 2>&5
32981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32982 (exit $ac_status); }; }; then
32983 wx_cv_func_statfs
=yes
32985 echo "$as_me: failed program was:" >&5
32986 sed 's/^/| /' conftest.
$ac_ext >&5
32988 wx_cv_func_statfs
=no
32991 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32994 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
32995 echo "${ECHO_T}$wx_cv_func_statfs" >&6
32997 if test "$wx_cv_func_statfs" = "yes"; then
33001 ac_cpp
='$CXXCPP $CPPFLAGS'
33002 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33003 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33004 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33006 echo "$as_me:$LINENO: checking for statfs declaration" >&5
33007 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
33008 if test "${wx_cv_func_statfs_decl+set}" = set; then
33009 echo $ECHO_N "(cached) $ECHO_C" >&6
33011 cat >conftest.
$ac_ext <<_ACEOF
33014 cat confdefs.h
>>conftest.
$ac_ext
33015 cat >>conftest.
$ac_ext <<_ACEOF
33016 /* end confdefs.h. */
33018 #if defined(__BSD__)
33019 #include <sys/param.h>
33020 #include <sys/mount.h>
33022 #include <sys/vfs.h>
33036 rm -f conftest.
$ac_objext
33037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33038 (eval $ac_compile) 2>conftest.er1
33040 grep -v '^ *+' conftest.er1
>conftest.err
33042 cat conftest.err
>&5
33043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33044 (exit $ac_status); } &&
33045 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33047 (eval $ac_try) 2>&5
33049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33050 (exit $ac_status); }; } &&
33051 { ac_try
='test -s conftest.$ac_objext'
33052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33053 (eval $ac_try) 2>&5
33055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33056 (exit $ac_status); }; }; then
33057 wx_cv_func_statfs_decl
=yes
33059 echo "$as_me: failed program was:" >&5
33060 sed 's/^/| /' conftest.
$ac_ext >&5
33062 wx_cv_func_statfs_decl
=no
33065 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33068 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
33069 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
33071 ac_cpp
='$CPP $CPPFLAGS'
33072 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33073 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33074 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33077 if test "$wx_cv_func_statfs_decl" = "yes"; then
33078 cat >>confdefs.h
<<\_ACEOF
33079 #define HAVE_STATFS_DECL 1
33084 wx_cv_type_statvfs_t
="struct statfs"
33085 cat >>confdefs.h
<<\_ACEOF
33086 #define HAVE_STATFS 1
33090 echo "$as_me:$LINENO: checking for statvfs" >&5
33091 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
33092 if test "${wx_cv_func_statvfs+set}" = set; then
33093 echo $ECHO_N "(cached) $ECHO_C" >&6
33095 cat >conftest.
$ac_ext <<_ACEOF
33098 cat confdefs.h
>>conftest.
$ac_ext
33099 cat >>conftest.
$ac_ext <<_ACEOF
33100 /* end confdefs.h. */
33102 #include <stddef.h>
33103 #include <sys/statvfs.h>
33109 statvfs("/", NULL);
33115 rm -f conftest.
$ac_objext
33116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33117 (eval $ac_compile) 2>conftest.er1
33119 grep -v '^ *+' conftest.er1
>conftest.err
33121 cat conftest.err
>&5
33122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33123 (exit $ac_status); } &&
33124 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33126 (eval $ac_try) 2>&5
33128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33129 (exit $ac_status); }; } &&
33130 { ac_try
='test -s conftest.$ac_objext'
33131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33132 (eval $ac_try) 2>&5
33134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33135 (exit $ac_status); }; }; then
33136 wx_cv_func_statvfs
=yes
33138 echo "$as_me: failed program was:" >&5
33139 sed 's/^/| /' conftest.
$ac_ext >&5
33141 wx_cv_func_statvfs
=no
33144 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33147 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
33148 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
33150 if test "$wx_cv_func_statvfs" = "yes"; then
33154 ac_cpp
='$CXXCPP $CPPFLAGS'
33155 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33156 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33157 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33160 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
33161 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
33162 if test "${wx_cv_type_statvfs_t+set}" = set; then
33163 echo $ECHO_N "(cached) $ECHO_C" >&6
33165 cat >conftest.
$ac_ext <<_ACEOF
33168 cat confdefs.h
>>conftest.
$ac_ext
33169 cat >>conftest.
$ac_ext <<_ACEOF
33170 /* end confdefs.h. */
33172 #include <sys/statvfs.h>
33189 rm -f conftest.
$ac_objext
33190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33191 (eval $ac_compile) 2>conftest.er1
33193 grep -v '^ *+' conftest.er1
>conftest.err
33195 cat conftest.err
>&5
33196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33197 (exit $ac_status); } &&
33198 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33200 (eval $ac_try) 2>&5
33202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33203 (exit $ac_status); }; } &&
33204 { ac_try
='test -s conftest.$ac_objext'
33205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33206 (eval $ac_try) 2>&5
33208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33209 (exit $ac_status); }; }; then
33210 wx_cv_type_statvfs_t
=statvfs_t
33212 echo "$as_me: failed program was:" >&5
33213 sed 's/^/| /' conftest.
$ac_ext >&5
33216 cat >conftest.
$ac_ext <<_ACEOF
33219 cat confdefs.h
>>conftest.
$ac_ext
33220 cat >>conftest.
$ac_ext <<_ACEOF
33221 /* end confdefs.h. */
33223 #include <sys/statvfs.h>
33240 rm -f conftest.
$ac_objext
33241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33242 (eval $ac_compile) 2>conftest.er1
33244 grep -v '^ *+' conftest.er1
>conftest.err
33246 cat conftest.err
>&5
33247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33248 (exit $ac_status); } &&
33249 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33251 (eval $ac_try) 2>&5
33253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33254 (exit $ac_status); }; } &&
33255 { ac_try
='test -s conftest.$ac_objext'
33256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33257 (eval $ac_try) 2>&5
33259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33260 (exit $ac_status); }; }; then
33261 wx_cv_type_statvfs_t
="struct statvfs"
33263 echo "$as_me: failed program was:" >&5
33264 sed 's/^/| /' conftest.
$ac_ext >&5
33266 wx_cv_type_statvfs_t
="unknown"
33269 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33273 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33276 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
33277 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
33280 ac_cpp
='$CPP $CPPFLAGS'
33281 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33282 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33283 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33286 if test "$wx_cv_type_statvfs_t" != "unknown"; then
33287 cat >>confdefs.h
<<\_ACEOF
33288 #define HAVE_STATVFS 1
33293 wx_cv_type_statvfs_t
="unknown"
33297 if test "$wx_cv_type_statvfs_t" != "unknown"; then
33298 cat >>confdefs.h
<<_ACEOF
33299 #define WX_STATFS_T $wx_cv_type_statvfs_t
33303 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
33304 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
33307 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
33310 for ac_func
in fcntl flock
33312 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33313 echo "$as_me:$LINENO: checking for $ac_func" >&5
33314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33315 if eval "test \"\${$as_ac_var+set}\" = set"; then
33316 echo $ECHO_N "(cached) $ECHO_C" >&6
33318 cat >conftest.
$ac_ext <<_ACEOF
33321 cat confdefs.h
>>conftest.
$ac_ext
33322 cat >>conftest.
$ac_ext <<_ACEOF
33323 /* end confdefs.h. */
33324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33326 #define $ac_func innocuous_$ac_func
33328 /* System header to define __stub macros and hopefully few prototypes,
33329 which can conflict with char $ac_func (); below.
33330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33331 <limits.h> exists even on freestanding compilers. */
33334 # include <limits.h>
33336 # include <assert.h>
33341 /* Override any gcc2 internal prototype to avoid an error. */
33346 /* We use char because int might match the return type of a gcc2
33347 builtin and then its argument prototype would still apply. */
33349 /* The GNU C library defines this for functions which it implements
33350 to always fail with ENOSYS. Some functions are actually named
33351 something starting with __ and the normal name is an alias. */
33352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33355 char (*f) () = $ac_func;
33364 return f != $ac_func;
33369 rm -f conftest.
$ac_objext conftest
$ac_exeext
33370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33371 (eval $ac_link) 2>conftest.er1
33373 grep -v '^ *+' conftest.er1
>conftest.err
33375 cat conftest.err
>&5
33376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33377 (exit $ac_status); } &&
33378 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33380 (eval $ac_try) 2>&5
33382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33383 (exit $ac_status); }; } &&
33384 { ac_try
='test -s conftest$ac_exeext'
33385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33386 (eval $ac_try) 2>&5
33388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33389 (exit $ac_status); }; }; then
33390 eval "$as_ac_var=yes"
33392 echo "$as_me: failed program was:" >&5
33393 sed 's/^/| /' conftest.
$ac_ext >&5
33395 eval "$as_ac_var=no"
33397 rm -f conftest.err conftest.
$ac_objext \
33398 conftest
$ac_exeext conftest.
$ac_ext
33400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33402 if test `eval echo '${'$as_ac_var'}'` = yes; then
33403 cat >>confdefs.h
<<_ACEOF
33404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33411 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
33412 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
33413 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
33414 wxUSE_SNGLINST_CHECKER
=no
33419 for ac_func
in timegm
33421 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33422 echo "$as_me:$LINENO: checking for $ac_func" >&5
33423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33424 if eval "test \"\${$as_ac_var+set}\" = set"; then
33425 echo $ECHO_N "(cached) $ECHO_C" >&6
33427 cat >conftest.
$ac_ext <<_ACEOF
33430 cat confdefs.h
>>conftest.
$ac_ext
33431 cat >>conftest.
$ac_ext <<_ACEOF
33432 /* end confdefs.h. */
33433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33435 #define $ac_func innocuous_$ac_func
33437 /* System header to define __stub macros and hopefully few prototypes,
33438 which can conflict with char $ac_func (); below.
33439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33440 <limits.h> exists even on freestanding compilers. */
33443 # include <limits.h>
33445 # include <assert.h>
33450 /* Override any gcc2 internal prototype to avoid an error. */
33455 /* We use char because int might match the return type of a gcc2
33456 builtin and then its argument prototype would still apply. */
33458 /* The GNU C library defines this for functions which it implements
33459 to always fail with ENOSYS. Some functions are actually named
33460 something starting with __ and the normal name is an alias. */
33461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33464 char (*f) () = $ac_func;
33473 return f != $ac_func;
33478 rm -f conftest.
$ac_objext conftest
$ac_exeext
33479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33480 (eval $ac_link) 2>conftest.er1
33482 grep -v '^ *+' conftest.er1
>conftest.err
33484 cat conftest.err
>&5
33485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33486 (exit $ac_status); } &&
33487 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33489 (eval $ac_try) 2>&5
33491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33492 (exit $ac_status); }; } &&
33493 { ac_try
='test -s conftest$ac_exeext'
33494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33495 (eval $ac_try) 2>&5
33497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33498 (exit $ac_status); }; }; then
33499 eval "$as_ac_var=yes"
33501 echo "$as_me: failed program was:" >&5
33502 sed 's/^/| /' conftest.
$ac_ext >&5
33504 eval "$as_ac_var=no"
33506 rm -f conftest.err conftest.
$ac_objext \
33507 conftest
$ac_exeext conftest.
$ac_ext
33509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33511 if test `eval echo '${'$as_ac_var'}'` = yes; then
33512 cat >>confdefs.h
<<_ACEOF
33513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33522 for ac_func
in putenv setenv
33524 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33525 echo "$as_me:$LINENO: checking for $ac_func" >&5
33526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33527 if eval "test \"\${$as_ac_var+set}\" = set"; then
33528 echo $ECHO_N "(cached) $ECHO_C" >&6
33530 cat >conftest.
$ac_ext <<_ACEOF
33533 cat confdefs.h
>>conftest.
$ac_ext
33534 cat >>conftest.
$ac_ext <<_ACEOF
33535 /* end confdefs.h. */
33536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33538 #define $ac_func innocuous_$ac_func
33540 /* System header to define __stub macros and hopefully few prototypes,
33541 which can conflict with char $ac_func (); below.
33542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33543 <limits.h> exists even on freestanding compilers. */
33546 # include <limits.h>
33548 # include <assert.h>
33553 /* Override any gcc2 internal prototype to avoid an error. */
33558 /* We use char because int might match the return type of a gcc2
33559 builtin and then its argument prototype would still apply. */
33561 /* The GNU C library defines this for functions which it implements
33562 to always fail with ENOSYS. Some functions are actually named
33563 something starting with __ and the normal name is an alias. */
33564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33567 char (*f) () = $ac_func;
33576 return f != $ac_func;
33581 rm -f conftest.
$ac_objext conftest
$ac_exeext
33582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33583 (eval $ac_link) 2>conftest.er1
33585 grep -v '^ *+' conftest.er1
>conftest.err
33587 cat conftest.err
>&5
33588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33589 (exit $ac_status); } &&
33590 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33592 (eval $ac_try) 2>&5
33594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33595 (exit $ac_status); }; } &&
33596 { ac_try
='test -s conftest$ac_exeext'
33597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33598 (eval $ac_try) 2>&5
33600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33601 (exit $ac_status); }; }; then
33602 eval "$as_ac_var=yes"
33604 echo "$as_me: failed program was:" >&5
33605 sed 's/^/| /' conftest.
$ac_ext >&5
33607 eval "$as_ac_var=no"
33609 rm -f conftest.err conftest.
$ac_objext \
33610 conftest
$ac_exeext conftest.
$ac_ext
33612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33614 if test `eval echo '${'$as_ac_var'}'` = yes; then
33615 cat >>confdefs.h
<<_ACEOF
33616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33623 HAVE_SOME_SLEEP_FUNC
=0
33624 if test "$USE_BEOS" = 1; then
33625 cat >>confdefs.h
<<\_ACEOF
33626 #define HAVE_SLEEP 1
33629 HAVE_SOME_SLEEP_FUNC
=1
33632 if test "$USE_DARWIN" = 1; then
33633 cat >>confdefs.h
<<\_ACEOF
33634 #define HAVE_USLEEP 1
33637 HAVE_SOME_SLEEP_FUNC
=1
33640 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
33643 for ac_func
in nanosleep
33645 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33646 echo "$as_me:$LINENO: checking for $ac_func" >&5
33647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33648 if eval "test \"\${$as_ac_var+set}\" = set"; then
33649 echo $ECHO_N "(cached) $ECHO_C" >&6
33651 cat >conftest.
$ac_ext <<_ACEOF
33654 cat confdefs.h
>>conftest.
$ac_ext
33655 cat >>conftest.
$ac_ext <<_ACEOF
33656 /* end confdefs.h. */
33657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33659 #define $ac_func innocuous_$ac_func
33661 /* System header to define __stub macros and hopefully few prototypes,
33662 which can conflict with char $ac_func (); below.
33663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33664 <limits.h> exists even on freestanding compilers. */
33667 # include <limits.h>
33669 # include <assert.h>
33674 /* Override any gcc2 internal prototype to avoid an error. */
33679 /* We use char because int might match the return type of a gcc2
33680 builtin and then its argument prototype would still apply. */
33682 /* The GNU C library defines this for functions which it implements
33683 to always fail with ENOSYS. Some functions are actually named
33684 something starting with __ and the normal name is an alias. */
33685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33688 char (*f) () = $ac_func;
33697 return f != $ac_func;
33702 rm -f conftest.
$ac_objext conftest
$ac_exeext
33703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33704 (eval $ac_link) 2>conftest.er1
33706 grep -v '^ *+' conftest.er1
>conftest.err
33708 cat conftest.err
>&5
33709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33710 (exit $ac_status); } &&
33711 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33713 (eval $ac_try) 2>&5
33715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33716 (exit $ac_status); }; } &&
33717 { ac_try
='test -s conftest$ac_exeext'
33718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33719 (eval $ac_try) 2>&5
33721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33722 (exit $ac_status); }; }; then
33723 eval "$as_ac_var=yes"
33725 echo "$as_me: failed program was:" >&5
33726 sed 's/^/| /' conftest.
$ac_ext >&5
33728 eval "$as_ac_var=no"
33730 rm -f conftest.err conftest.
$ac_objext \
33731 conftest
$ac_exeext conftest.
$ac_ext
33733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33735 if test `eval echo '${'$as_ac_var'}'` = yes; then
33736 cat >>confdefs.h
<<_ACEOF
33737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33739 cat >>confdefs.h
<<\_ACEOF
33740 #define HAVE_NANOSLEEP 1
33745 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
33746 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
33747 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
33748 echo $ECHO_N "(cached) $ECHO_C" >&6
33750 ac_check_lib_save_LIBS
=$LIBS
33751 LIBS
="-lposix4 $LIBS"
33752 cat >conftest.
$ac_ext <<_ACEOF
33755 cat confdefs.h
>>conftest.
$ac_ext
33756 cat >>conftest.
$ac_ext <<_ACEOF
33757 /* end confdefs.h. */
33759 /* Override any gcc2 internal prototype to avoid an error. */
33763 /* We use char because int might match the return type of a gcc2
33764 builtin and then its argument prototype would still apply. */
33774 rm -f conftest.
$ac_objext conftest
$ac_exeext
33775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33776 (eval $ac_link) 2>conftest.er1
33778 grep -v '^ *+' conftest.er1
>conftest.err
33780 cat conftest.err
>&5
33781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33782 (exit $ac_status); } &&
33783 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33785 (eval $ac_try) 2>&5
33787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33788 (exit $ac_status); }; } &&
33789 { ac_try
='test -s conftest$ac_exeext'
33790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33791 (eval $ac_try) 2>&5
33793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33794 (exit $ac_status); }; }; then
33795 ac_cv_lib_posix4_nanosleep
=yes
33797 echo "$as_me: failed program was:" >&5
33798 sed 's/^/| /' conftest.
$ac_ext >&5
33800 ac_cv_lib_posix4_nanosleep
=no
33802 rm -f conftest.err conftest.
$ac_objext \
33803 conftest
$ac_exeext conftest.
$ac_ext
33804 LIBS
=$ac_check_lib_save_LIBS
33806 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
33807 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
33808 if test $ac_cv_lib_posix4_nanosleep = yes; then
33810 cat >>confdefs.h
<<\_ACEOF
33811 #define HAVE_NANOSLEEP 1
33814 POSIX4_LINK
=" -lposix4"
33819 for ac_func
in usleep
33821 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33822 echo "$as_me:$LINENO: checking for $ac_func" >&5
33823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33824 if eval "test \"\${$as_ac_var+set}\" = set"; then
33825 echo $ECHO_N "(cached) $ECHO_C" >&6
33827 cat >conftest.
$ac_ext <<_ACEOF
33830 cat confdefs.h
>>conftest.
$ac_ext
33831 cat >>conftest.
$ac_ext <<_ACEOF
33832 /* end confdefs.h. */
33833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33835 #define $ac_func innocuous_$ac_func
33837 /* System header to define __stub macros and hopefully few prototypes,
33838 which can conflict with char $ac_func (); below.
33839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33840 <limits.h> exists even on freestanding compilers. */
33843 # include <limits.h>
33845 # include <assert.h>
33850 /* Override any gcc2 internal prototype to avoid an error. */
33855 /* We use char because int might match the return type of a gcc2
33856 builtin and then its argument prototype would still apply. */
33858 /* The GNU C library defines this for functions which it implements
33859 to always fail with ENOSYS. Some functions are actually named
33860 something starting with __ and the normal name is an alias. */
33861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33864 char (*f) () = $ac_func;
33873 return f != $ac_func;
33878 rm -f conftest.
$ac_objext conftest
$ac_exeext
33879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33880 (eval $ac_link) 2>conftest.er1
33882 grep -v '^ *+' conftest.er1
>conftest.err
33884 cat conftest.err
>&5
33885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33886 (exit $ac_status); } &&
33887 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33889 (eval $ac_try) 2>&5
33891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33892 (exit $ac_status); }; } &&
33893 { ac_try
='test -s conftest$ac_exeext'
33894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33895 (eval $ac_try) 2>&5
33897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33898 (exit $ac_status); }; }; then
33899 eval "$as_ac_var=yes"
33901 echo "$as_me: failed program was:" >&5
33902 sed 's/^/| /' conftest.
$ac_ext >&5
33904 eval "$as_ac_var=no"
33906 rm -f conftest.err conftest.
$ac_objext \
33907 conftest
$ac_exeext conftest.
$ac_ext
33909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33911 if test `eval echo '${'$as_ac_var'}'` = yes; then
33912 cat >>confdefs.h
<<_ACEOF
33913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33915 cat >>confdefs.h
<<\_ACEOF
33916 #define HAVE_USLEEP 1
33920 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
33921 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
33939 for ac_func
in uname gethostname
33941 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33942 echo "$as_me:$LINENO: checking for $ac_func" >&5
33943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33944 if eval "test \"\${$as_ac_var+set}\" = set"; then
33945 echo $ECHO_N "(cached) $ECHO_C" >&6
33947 cat >conftest.
$ac_ext <<_ACEOF
33950 cat confdefs.h
>>conftest.
$ac_ext
33951 cat >>conftest.
$ac_ext <<_ACEOF
33952 /* end confdefs.h. */
33953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33955 #define $ac_func innocuous_$ac_func
33957 /* System header to define __stub macros and hopefully few prototypes,
33958 which can conflict with char $ac_func (); below.
33959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33960 <limits.h> exists even on freestanding compilers. */
33963 # include <limits.h>
33965 # include <assert.h>
33970 /* Override any gcc2 internal prototype to avoid an error. */
33975 /* We use char because int might match the return type of a gcc2
33976 builtin and then its argument prototype would still apply. */
33978 /* The GNU C library defines this for functions which it implements
33979 to always fail with ENOSYS. Some functions are actually named
33980 something starting with __ and the normal name is an alias. */
33981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33984 char (*f) () = $ac_func;
33993 return f != $ac_func;
33998 rm -f conftest.
$ac_objext conftest
$ac_exeext
33999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34000 (eval $ac_link) 2>conftest.er1
34002 grep -v '^ *+' conftest.er1
>conftest.err
34004 cat conftest.err
>&5
34005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34006 (exit $ac_status); } &&
34007 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34009 (eval $ac_try) 2>&5
34011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34012 (exit $ac_status); }; } &&
34013 { ac_try
='test -s conftest$ac_exeext'
34014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34015 (eval $ac_try) 2>&5
34017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34018 (exit $ac_status); }; }; then
34019 eval "$as_ac_var=yes"
34021 echo "$as_me: failed program was:" >&5
34022 sed 's/^/| /' conftest.
$ac_ext >&5
34024 eval "$as_ac_var=no"
34026 rm -f conftest.err conftest.
$ac_objext \
34027 conftest
$ac_exeext conftest.
$ac_ext
34029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34031 if test `eval echo '${'$as_ac_var'}'` = yes; then
34032 cat >>confdefs.h
<<_ACEOF
34033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34043 ac_cpp
='$CXXCPP $CPPFLAGS'
34044 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34045 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34046 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34050 for ac_func
in strtok_r
34052 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34053 echo "$as_me:$LINENO: checking for $ac_func" >&5
34054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34055 if eval "test \"\${$as_ac_var+set}\" = set"; then
34056 echo $ECHO_N "(cached) $ECHO_C" >&6
34058 cat >conftest.
$ac_ext <<_ACEOF
34061 cat confdefs.h
>>conftest.
$ac_ext
34062 cat >>conftest.
$ac_ext <<_ACEOF
34063 /* end confdefs.h. */
34064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34066 #define $ac_func innocuous_$ac_func
34068 /* System header to define __stub macros and hopefully few prototypes,
34069 which can conflict with char $ac_func (); below.
34070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34071 <limits.h> exists even on freestanding compilers. */
34074 # include <limits.h>
34076 # include <assert.h>
34081 /* Override any gcc2 internal prototype to avoid an error. */
34086 /* We use char because int might match the return type of a gcc2
34087 builtin and then its argument prototype would still apply. */
34089 /* The GNU C library defines this for functions which it implements
34090 to always fail with ENOSYS. Some functions are actually named
34091 something starting with __ and the normal name is an alias. */
34092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34095 char (*f) () = $ac_func;
34104 return f != $ac_func;
34109 rm -f conftest.
$ac_objext conftest
$ac_exeext
34110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34111 (eval $ac_link) 2>conftest.er1
34113 grep -v '^ *+' conftest.er1
>conftest.err
34115 cat conftest.err
>&5
34116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34117 (exit $ac_status); } &&
34118 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34120 (eval $ac_try) 2>&5
34122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34123 (exit $ac_status); }; } &&
34124 { ac_try
='test -s conftest$ac_exeext'
34125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34126 (eval $ac_try) 2>&5
34128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34129 (exit $ac_status); }; }; then
34130 eval "$as_ac_var=yes"
34132 echo "$as_me: failed program was:" >&5
34133 sed 's/^/| /' conftest.
$ac_ext >&5
34135 eval "$as_ac_var=no"
34137 rm -f conftest.err conftest.
$ac_objext \
34138 conftest
$ac_exeext conftest.
$ac_ext
34140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34141 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34142 if test `eval echo '${'$as_ac_var'}'` = yes; then
34143 cat >>confdefs.h
<<_ACEOF
34144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34152 ac_cpp
='$CPP $CPPFLAGS'
34153 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34154 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34155 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34160 for ac_func
in inet_addr
34162 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34163 echo "$as_me:$LINENO: checking for $ac_func" >&5
34164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34165 if eval "test \"\${$as_ac_var+set}\" = set"; then
34166 echo $ECHO_N "(cached) $ECHO_C" >&6
34168 cat >conftest.
$ac_ext <<_ACEOF
34171 cat confdefs.h
>>conftest.
$ac_ext
34172 cat >>conftest.
$ac_ext <<_ACEOF
34173 /* end confdefs.h. */
34174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34176 #define $ac_func innocuous_$ac_func
34178 /* System header to define __stub macros and hopefully few prototypes,
34179 which can conflict with char $ac_func (); below.
34180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34181 <limits.h> exists even on freestanding compilers. */
34184 # include <limits.h>
34186 # include <assert.h>
34191 /* Override any gcc2 internal prototype to avoid an error. */
34196 /* We use char because int might match the return type of a gcc2
34197 builtin and then its argument prototype would still apply. */
34199 /* The GNU C library defines this for functions which it implements
34200 to always fail with ENOSYS. Some functions are actually named
34201 something starting with __ and the normal name is an alias. */
34202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34205 char (*f) () = $ac_func;
34214 return f != $ac_func;
34219 rm -f conftest.
$ac_objext conftest
$ac_exeext
34220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34221 (eval $ac_link) 2>conftest.er1
34223 grep -v '^ *+' conftest.er1
>conftest.err
34225 cat conftest.err
>&5
34226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34227 (exit $ac_status); } &&
34228 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34230 (eval $ac_try) 2>&5
34232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34233 (exit $ac_status); }; } &&
34234 { ac_try
='test -s conftest$ac_exeext'
34235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34236 (eval $ac_try) 2>&5
34238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34239 (exit $ac_status); }; }; then
34240 eval "$as_ac_var=yes"
34242 echo "$as_me: failed program was:" >&5
34243 sed 's/^/| /' conftest.
$ac_ext >&5
34245 eval "$as_ac_var=no"
34247 rm -f conftest.err conftest.
$ac_objext \
34248 conftest
$ac_exeext conftest.
$ac_ext
34250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34251 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34252 if test `eval echo '${'$as_ac_var'}'` = yes; then
34253 cat >>confdefs.h
<<_ACEOF
34254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34256 cat >>confdefs.h
<<\_ACEOF
34257 #define HAVE_INET_ADDR 1
34262 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
34263 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
34264 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
34265 echo $ECHO_N "(cached) $ECHO_C" >&6
34267 ac_check_lib_save_LIBS
=$LIBS
34269 cat >conftest.
$ac_ext <<_ACEOF
34272 cat confdefs.h
>>conftest.
$ac_ext
34273 cat >>conftest.
$ac_ext <<_ACEOF
34274 /* end confdefs.h. */
34276 /* Override any gcc2 internal prototype to avoid an error. */
34280 /* We use char because int might match the return type of a gcc2
34281 builtin and then its argument prototype would still apply. */
34291 rm -f conftest.
$ac_objext conftest
$ac_exeext
34292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34293 (eval $ac_link) 2>conftest.er1
34295 grep -v '^ *+' conftest.er1
>conftest.err
34297 cat conftest.err
>&5
34298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34299 (exit $ac_status); } &&
34300 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34302 (eval $ac_try) 2>&5
34304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34305 (exit $ac_status); }; } &&
34306 { ac_try
='test -s conftest$ac_exeext'
34307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34308 (eval $ac_try) 2>&5
34310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34311 (exit $ac_status); }; }; then
34312 ac_cv_lib_nsl_inet_addr
=yes
34314 echo "$as_me: failed program was:" >&5
34315 sed 's/^/| /' conftest.
$ac_ext >&5
34317 ac_cv_lib_nsl_inet_addr
=no
34319 rm -f conftest.err conftest.
$ac_objext \
34320 conftest
$ac_exeext conftest.
$ac_ext
34321 LIBS
=$ac_check_lib_save_LIBS
34323 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
34324 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
34325 if test $ac_cv_lib_nsl_inet_addr = yes; then
34329 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
34330 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
34331 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
34332 echo $ECHO_N "(cached) $ECHO_C" >&6
34334 ac_check_lib_save_LIBS
=$LIBS
34335 LIBS
="-lresolv $LIBS"
34336 cat >conftest.
$ac_ext <<_ACEOF
34339 cat confdefs.h
>>conftest.
$ac_ext
34340 cat >>conftest.
$ac_ext <<_ACEOF
34341 /* end confdefs.h. */
34343 /* Override any gcc2 internal prototype to avoid an error. */
34347 /* We use char because int might match the return type of a gcc2
34348 builtin and then its argument prototype would still apply. */
34358 rm -f conftest.
$ac_objext conftest
$ac_exeext
34359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34360 (eval $ac_link) 2>conftest.er1
34362 grep -v '^ *+' conftest.er1
>conftest.err
34364 cat conftest.err
>&5
34365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34366 (exit $ac_status); } &&
34367 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34369 (eval $ac_try) 2>&5
34371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34372 (exit $ac_status); }; } &&
34373 { ac_try
='test -s conftest$ac_exeext'
34374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34375 (eval $ac_try) 2>&5
34377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34378 (exit $ac_status); }; }; then
34379 ac_cv_lib_resolv_inet_addr
=yes
34381 echo "$as_me: failed program was:" >&5
34382 sed 's/^/| /' conftest.
$ac_ext >&5
34384 ac_cv_lib_resolv_inet_addr
=no
34386 rm -f conftest.err conftest.
$ac_objext \
34387 conftest
$ac_exeext conftest.
$ac_ext
34388 LIBS
=$ac_check_lib_save_LIBS
34390 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
34391 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
34392 if test $ac_cv_lib_resolv_inet_addr = yes; then
34396 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
34397 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
34398 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
34399 echo $ECHO_N "(cached) $ECHO_C" >&6
34401 ac_check_lib_save_LIBS
=$LIBS
34402 LIBS
="-lsocket $LIBS"
34403 cat >conftest.
$ac_ext <<_ACEOF
34406 cat confdefs.h
>>conftest.
$ac_ext
34407 cat >>conftest.
$ac_ext <<_ACEOF
34408 /* end confdefs.h. */
34410 /* Override any gcc2 internal prototype to avoid an error. */
34414 /* We use char because int might match the return type of a gcc2
34415 builtin and then its argument prototype would still apply. */
34425 rm -f conftest.
$ac_objext conftest
$ac_exeext
34426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34427 (eval $ac_link) 2>conftest.er1
34429 grep -v '^ *+' conftest.er1
>conftest.err
34431 cat conftest.err
>&5
34432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34433 (exit $ac_status); } &&
34434 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34436 (eval $ac_try) 2>&5
34438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34439 (exit $ac_status); }; } &&
34440 { ac_try
='test -s conftest$ac_exeext'
34441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34442 (eval $ac_try) 2>&5
34444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34445 (exit $ac_status); }; }; then
34446 ac_cv_lib_socket_inet_addr
=yes
34448 echo "$as_me: failed program was:" >&5
34449 sed 's/^/| /' conftest.
$ac_ext >&5
34451 ac_cv_lib_socket_inet_addr
=no
34453 rm -f conftest.err conftest.
$ac_objext \
34454 conftest
$ac_exeext conftest.
$ac_ext
34455 LIBS
=$ac_check_lib_save_LIBS
34457 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
34458 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
34459 if test $ac_cv_lib_socket_inet_addr = yes; then
34479 for ac_func
in inet_aton
34481 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34482 echo "$as_me:$LINENO: checking for $ac_func" >&5
34483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34484 if eval "test \"\${$as_ac_var+set}\" = set"; then
34485 echo $ECHO_N "(cached) $ECHO_C" >&6
34487 cat >conftest.
$ac_ext <<_ACEOF
34490 cat confdefs.h
>>conftest.
$ac_ext
34491 cat >>conftest.
$ac_ext <<_ACEOF
34492 /* end confdefs.h. */
34493 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34495 #define $ac_func innocuous_$ac_func
34497 /* System header to define __stub macros and hopefully few prototypes,
34498 which can conflict with char $ac_func (); below.
34499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34500 <limits.h> exists even on freestanding compilers. */
34503 # include <limits.h>
34505 # include <assert.h>
34510 /* Override any gcc2 internal prototype to avoid an error. */
34515 /* We use char because int might match the return type of a gcc2
34516 builtin and then its argument prototype would still apply. */
34518 /* The GNU C library defines this for functions which it implements
34519 to always fail with ENOSYS. Some functions are actually named
34520 something starting with __ and the normal name is an alias. */
34521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34524 char (*f) () = $ac_func;
34533 return f != $ac_func;
34538 rm -f conftest.
$ac_objext conftest
$ac_exeext
34539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34540 (eval $ac_link) 2>conftest.er1
34542 grep -v '^ *+' conftest.er1
>conftest.err
34544 cat conftest.err
>&5
34545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34546 (exit $ac_status); } &&
34547 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34549 (eval $ac_try) 2>&5
34551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34552 (exit $ac_status); }; } &&
34553 { ac_try
='test -s conftest$ac_exeext'
34554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34555 (eval $ac_try) 2>&5
34557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34558 (exit $ac_status); }; }; then
34559 eval "$as_ac_var=yes"
34561 echo "$as_me: failed program was:" >&5
34562 sed 's/^/| /' conftest.
$ac_ext >&5
34564 eval "$as_ac_var=no"
34566 rm -f conftest.err conftest.
$ac_objext \
34567 conftest
$ac_exeext conftest.
$ac_ext
34569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34571 if test `eval echo '${'$as_ac_var'}'` = yes; then
34572 cat >>confdefs.h
<<_ACEOF
34573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34575 cat >>confdefs.h
<<\_ACEOF
34576 #define HAVE_INET_ATON 1
34581 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
34582 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
34583 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
34584 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
34585 echo $ECHO_N "(cached) $ECHO_C" >&6
34587 ac_check_lib_save_LIBS
=$LIBS
34588 LIBS
="-l$INET_LINK $LIBS"
34589 cat >conftest.
$ac_ext <<_ACEOF
34592 cat confdefs.h
>>conftest.
$ac_ext
34593 cat >>conftest.
$ac_ext <<_ACEOF
34594 /* end confdefs.h. */
34596 /* Override any gcc2 internal prototype to avoid an error. */
34600 /* We use char because int might match the return type of a gcc2
34601 builtin and then its argument prototype would still apply. */
34611 rm -f conftest.
$ac_objext conftest
$ac_exeext
34612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34613 (eval $ac_link) 2>conftest.er1
34615 grep -v '^ *+' conftest.er1
>conftest.err
34617 cat conftest.err
>&5
34618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34619 (exit $ac_status); } &&
34620 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34622 (eval $ac_try) 2>&5
34624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34625 (exit $ac_status); }; } &&
34626 { ac_try
='test -s conftest$ac_exeext'
34627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34628 (eval $ac_try) 2>&5
34630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34631 (exit $ac_status); }; }; then
34632 eval "$as_ac_Lib=yes"
34634 echo "$as_me: failed program was:" >&5
34635 sed 's/^/| /' conftest.
$ac_ext >&5
34637 eval "$as_ac_Lib=no"
34639 rm -f conftest.err conftest.
$ac_objext \
34640 conftest
$ac_exeext conftest.
$ac_ext
34641 LIBS
=$ac_check_lib_save_LIBS
34643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
34644 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
34645 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
34646 cat >>confdefs.h
<<\_ACEOF
34647 #define HAVE_INET_ATON 1
34657 if test "x$INET_LINK" != "x"; then
34658 cat >>confdefs.h
<<\_ACEOF
34659 #define HAVE_INET_ADDR 1
34662 INET_LINK
=" -l$INET_LINK"
34670 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
34671 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
34672 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
34673 echo $ECHO_N "(cached) $ECHO_C" >&6
34675 ac_check_lib_save_LIBS
=$LIBS
34677 cat >conftest.
$ac_ext <<_ACEOF
34680 cat confdefs.h
>>conftest.
$ac_ext
34681 cat >>conftest.
$ac_ext <<_ACEOF
34682 /* end confdefs.h. */
34684 /* Override any gcc2 internal prototype to avoid an error. */
34688 /* We use char because int might match the return type of a gcc2
34689 builtin and then its argument prototype would still apply. */
34699 rm -f conftest.
$ac_objext conftest
$ac_exeext
34700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34701 (eval $ac_link) 2>conftest.er1
34703 grep -v '^ *+' conftest.er1
>conftest.err
34705 cat conftest.err
>&5
34706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34707 (exit $ac_status); } &&
34708 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34710 (eval $ac_try) 2>&5
34712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34713 (exit $ac_status); }; } &&
34714 { ac_try
='test -s conftest$ac_exeext'
34715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34716 (eval $ac_try) 2>&5
34718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34719 (exit $ac_status); }; }; then
34720 ac_cv_lib_esd_esd_close
=yes
34722 echo "$as_me: failed program was:" >&5
34723 sed 's/^/| /' conftest.
$ac_ext >&5
34725 ac_cv_lib_esd_esd_close
=no
34727 rm -f conftest.err conftest.
$ac_objext \
34728 conftest
$ac_exeext conftest.
$ac_ext
34729 LIBS
=$ac_check_lib_save_LIBS
34731 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
34732 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
34733 if test $ac_cv_lib_esd_esd_close = yes; then
34736 for ac_header
in esd.h
34738 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34739 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34740 echo "$as_me:$LINENO: checking for $ac_header" >&5
34741 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34742 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34743 echo $ECHO_N "(cached) $ECHO_C" >&6
34745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34746 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34748 # Is the header compilable?
34749 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34750 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34751 cat >conftest.
$ac_ext <<_ACEOF
34754 cat confdefs.h
>>conftest.
$ac_ext
34755 cat >>conftest.
$ac_ext <<_ACEOF
34756 /* end confdefs.h. */
34757 $ac_includes_default
34758 #include <$ac_header>
34760 rm -f conftest.
$ac_objext
34761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34762 (eval $ac_compile) 2>conftest.er1
34764 grep -v '^ *+' conftest.er1
>conftest.err
34766 cat conftest.err
>&5
34767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34768 (exit $ac_status); } &&
34769 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34771 (eval $ac_try) 2>&5
34773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34774 (exit $ac_status); }; } &&
34775 { ac_try
='test -s conftest.$ac_objext'
34776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34777 (eval $ac_try) 2>&5
34779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34780 (exit $ac_status); }; }; then
34781 ac_header_compiler
=yes
34783 echo "$as_me: failed program was:" >&5
34784 sed 's/^/| /' conftest.
$ac_ext >&5
34786 ac_header_compiler
=no
34788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34789 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34790 echo "${ECHO_T}$ac_header_compiler" >&6
34792 # Is the header present?
34793 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34794 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34795 cat >conftest.
$ac_ext <<_ACEOF
34798 cat confdefs.h
>>conftest.
$ac_ext
34799 cat >>conftest.
$ac_ext <<_ACEOF
34800 /* end confdefs.h. */
34801 #include <$ac_header>
34803 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34804 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34806 grep -v '^ *+' conftest.er1
>conftest.err
34808 cat conftest.err
>&5
34809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34810 (exit $ac_status); } >/dev
/null
; then
34811 if test -s conftest.err
; then
34812 ac_cpp_err
=$ac_c_preproc_warn_flag
34813 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34820 if test -z "$ac_cpp_err"; then
34821 ac_header_preproc
=yes
34823 echo "$as_me: failed program was:" >&5
34824 sed 's/^/| /' conftest.
$ac_ext >&5
34826 ac_header_preproc
=no
34828 rm -f conftest.err conftest.
$ac_ext
34829 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34830 echo "${ECHO_T}$ac_header_preproc" >&6
34832 # So? What about this header?
34833 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34835 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34836 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34837 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34838 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34839 ac_header_preproc
=yes
34842 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34843 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34844 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34845 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34846 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34847 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34848 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34849 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34850 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34851 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34852 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34853 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34856 ## ----------------------------------------- ##
34857 ## Report this to wx-dev@lists.wxwidgets.org ##
34858 ## ----------------------------------------- ##
34861 sed "s/^/$as_me: WARNING: /" >&2
34864 echo "$as_me:$LINENO: checking for $ac_header" >&5
34865 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34866 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34867 echo $ECHO_N "(cached) $ECHO_C" >&6
34869 eval "$as_ac_Header=\$ac_header_preproc"
34871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34872 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34875 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34876 cat >>confdefs.h
<<_ACEOF
34877 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34880 EXTRALIBS_ESD
="-lesd"
34891 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
34892 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
34893 cat >conftest.
$ac_ext <<_ACEOF
34896 cat confdefs.h
>>conftest.
$ac_ext
34897 cat >>conftest.
$ac_ext <<_ACEOF
34898 /* end confdefs.h. */
34900 #include <linux/cdrom.h>
34903 #include <sys/cdio.h>
34909 struct cdrom_tocentry entry, old_entry;
34914 rm -f conftest.
$ac_objext
34915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34916 (eval $ac_compile) 2>conftest.er1
34918 grep -v '^ *+' conftest.er1
>conftest.err
34920 cat conftest.err
>&5
34921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34922 (exit $ac_status); } &&
34923 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34925 (eval $ac_try) 2>&5
34927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34928 (exit $ac_status); }; } &&
34929 { ac_try
='test -s conftest.$ac_objext'
34930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34931 (eval $ac_try) 2>&5
34933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34934 (exit $ac_status); }; }; then
34935 echo "$as_me:$LINENO: result: yes" >&5
34936 echo "${ECHO_T}yes" >&6
34937 cat >>confdefs.h
<<\_ACEOF
34938 #define HAVE_KNOWN_CDROM_INTERFACE 1
34942 echo "$as_me: failed program was:" >&5
34943 sed 's/^/| /' conftest.
$ac_ext >&5
34945 echo "$as_me:$LINENO: result: no" >&5
34946 echo "${ECHO_T}no" >&6
34948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34951 cat >confcache
<<\_ACEOF
34952 # This file is a shell script that caches the results of configure
34953 # tests run on this system so they can be shared between configure
34954 # scripts and configure runs, see configure's option --config-cache.
34955 # It is not useful on other systems. If it contains results you don't
34956 # want to keep, you may remove or edit it.
34958 # config.status only pays attention to the cache file if you give it
34959 # the --recheck option to rerun configure.
34961 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34962 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34963 # following values.
34967 # The following way of writing the cache mishandles newlines in values,
34968 # but we know of no workaround that is simple, portable, and efficient.
34969 # So, don't put newlines in cache variables' values.
34970 # Ultrix sh set writes to stderr and can't be redirected directly,
34971 # and sets the high bit in the cache file unless we assign to the vars.
34974 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34976 # `set' does not quote correctly, so add quotes (double-quote
34977 # substitution turns \\\\ into \\, and sed turns \\ into \).
34980 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34983 # `set' quotes correctly as required by POSIX, so do not add quotes.
34985 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34992 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34994 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34996 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
34997 if test -w $cache_file; then
34998 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34999 cat confcache
>$cache_file
35001 echo "not updating unwritable cache $cache_file"
35008 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
35014 if test "$wxUSE_THREADS" = "yes" ; then
35015 if test "$USE_BEOS" = 1; then
35016 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
35017 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
35022 if test "$wxUSE_THREADS" = "yes" ; then
35025 THREAD_OPTS
="-pthread"
35027 *-*-solaris2* | *-*-sunos4* )
35028 if test "x$GCC" = "xyes"; then
35029 THREAD_OPTS
="-pthreads $THREAD_OPTS"
35031 THREAD_OPTS
="-mt $THREAD_OPTS"
35035 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
35037 *-*-darwin* | *-*-cygwin* )
35041 THREAD_OPTS
="pthreads"
35044 if test "x$GCC" = "xyes"; then
35045 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
35053 if test "x$GCC" = "xyes"; then
35059 if test "x$GCC" != "xyes"; then
35060 THREAD_OPTS
="-Ethread"
35065 THREAD_OPTS
="$THREAD_OPTS pthread none"
35068 for flag
in $THREAD_OPTS; do
35071 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
35072 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
35076 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
35077 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
35078 THREADS_CFLAGS
="$flag"
35082 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
35083 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
35084 THREADS_LINK
="-l$flag"
35089 save_CFLAGS
="$CFLAGS"
35090 LIBS
="$THREADS_LINK $LIBS"
35091 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
35093 cat >conftest.
$ac_ext <<_ACEOF
35096 cat confdefs.h
>>conftest.
$ac_ext
35097 cat >>conftest.
$ac_ext <<_ACEOF
35098 /* end confdefs.h. */
35099 #include <pthread.h>
35103 pthread_create(0,0,0,0);
35108 rm -f conftest.
$ac_objext conftest
$ac_exeext
35109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35110 (eval $ac_link) 2>conftest.er1
35112 grep -v '^ *+' conftest.er1
>conftest.err
35114 cat conftest.err
>&5
35115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35116 (exit $ac_status); } &&
35117 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35119 (eval $ac_try) 2>&5
35121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35122 (exit $ac_status); }; } &&
35123 { ac_try
='test -s conftest$ac_exeext'
35124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35125 (eval $ac_try) 2>&5
35127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35128 (exit $ac_status); }; }; then
35131 echo "$as_me: failed program was:" >&5
35132 sed 's/^/| /' conftest.
$ac_ext >&5
35135 rm -f conftest.err conftest.
$ac_objext \
35136 conftest
$ac_exeext conftest.
$ac_ext
35139 CFLAGS
="$save_CFLAGS"
35141 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
35142 echo "${ECHO_T}$THREADS_OK" >&6
35143 if test "x$THREADS_OK" = "xyes"; then
35151 if test "x$THREADS_OK" != "xyes"; then
35153 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
35154 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
35156 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
35157 LIBS
="$THREADS_LINK $LIBS"
35159 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
35160 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
35164 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
35165 flag
="-D_THREAD_SAFE"
35168 flag
="-D_THREAD_SAFE"
35171 flag
="-D_REENTRANT"
35172 if test "x$GCC" != "xyes"; then
35173 flag
="$flag -D_RWSTD_MULTI_THREAD"
35176 *solaris
* | alpha
*-osf*)
35177 flag
="-D_REENTRANT"
35180 echo "$as_me:$LINENO: result: ${flag}" >&5
35181 echo "${ECHO_T}${flag}" >&6
35182 if test "x$flag" != xno
; then
35183 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
35186 if test "x$THREADS_CFLAGS" != "x"; then
35187 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
35188 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
35193 if test "$wxUSE_THREADS" = "yes" ; then
35195 for ac_func
in thr_setconcurrency
35197 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35198 echo "$as_me:$LINENO: checking for $ac_func" >&5
35199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35200 if eval "test \"\${$as_ac_var+set}\" = set"; then
35201 echo $ECHO_N "(cached) $ECHO_C" >&6
35203 cat >conftest.
$ac_ext <<_ACEOF
35206 cat confdefs.h
>>conftest.
$ac_ext
35207 cat >>conftest.
$ac_ext <<_ACEOF
35208 /* end confdefs.h. */
35209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35211 #define $ac_func innocuous_$ac_func
35213 /* System header to define __stub macros and hopefully few prototypes,
35214 which can conflict with char $ac_func (); below.
35215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35216 <limits.h> exists even on freestanding compilers. */
35219 # include <limits.h>
35221 # include <assert.h>
35226 /* Override any gcc2 internal prototype to avoid an error. */
35231 /* We use char because int might match the return type of a gcc2
35232 builtin and then its argument prototype would still apply. */
35234 /* The GNU C library defines this for functions which it implements
35235 to always fail with ENOSYS. Some functions are actually named
35236 something starting with __ and the normal name is an alias. */
35237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35240 char (*f) () = $ac_func;
35249 return f != $ac_func;
35254 rm -f conftest.
$ac_objext conftest
$ac_exeext
35255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35256 (eval $ac_link) 2>conftest.er1
35258 grep -v '^ *+' conftest.er1
>conftest.err
35260 cat conftest.err
>&5
35261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35262 (exit $ac_status); } &&
35263 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35265 (eval $ac_try) 2>&5
35267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35268 (exit $ac_status); }; } &&
35269 { ac_try
='test -s conftest$ac_exeext'
35270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35271 (eval $ac_try) 2>&5
35273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35274 (exit $ac_status); }; }; then
35275 eval "$as_ac_var=yes"
35277 echo "$as_me: failed program was:" >&5
35278 sed 's/^/| /' conftest.
$ac_ext >&5
35280 eval "$as_ac_var=no"
35282 rm -f conftest.err conftest.
$ac_objext \
35283 conftest
$ac_exeext conftest.
$ac_ext
35285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35287 if test `eval echo '${'$as_ac_var'}'` = yes; then
35288 cat >>confdefs.h
<<_ACEOF
35289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35296 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
35297 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
35298 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
35299 echo $ECHO_N "(cached) $ECHO_C" >&6
35302 cat >conftest.
$ac_ext <<_ACEOF
35305 cat confdefs.h
>>conftest.
$ac_ext
35306 cat >>conftest.
$ac_ext <<_ACEOF
35307 /* end confdefs.h. */
35308 #include <pthread.h>
35309 void ThreadCleanupFunc(void *p);
35316 pthread_cleanup_push(ThreadCleanupFunc, p);
35317 pthread_cleanup_pop(0);
35323 rm -f conftest.
$ac_objext
35324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35325 (eval $ac_compile) 2>conftest.er1
35327 grep -v '^ *+' conftest.er1
>conftest.err
35329 cat conftest.err
>&5
35330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35331 (exit $ac_status); } &&
35332 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35334 (eval $ac_try) 2>&5
35336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35337 (exit $ac_status); }; } &&
35338 { ac_try
='test -s conftest.$ac_objext'
35339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35340 (eval $ac_try) 2>&5
35342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35343 (exit $ac_status); }; }; then
35345 wx_cv_func_pthread_cleanup
=yes
35348 echo "$as_me: failed program was:" >&5
35349 sed 's/^/| /' conftest.
$ac_ext >&5
35352 wx_cv_func_pthread_cleanup
=no
35356 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35359 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
35360 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
35361 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
35362 cat >>confdefs.h
<<\_ACEOF
35363 #define wxHAVE_PTHREAD_CLEANUP 1
35369 for ac_header
in sched.h
35371 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35373 echo "$as_me:$LINENO: checking for $ac_header" >&5
35374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35376 echo $ECHO_N "(cached) $ECHO_C" >&6
35378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35379 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35381 # Is the header compilable?
35382 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35383 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35384 cat >conftest.
$ac_ext <<_ACEOF
35387 cat confdefs.h
>>conftest.
$ac_ext
35388 cat >>conftest.
$ac_ext <<_ACEOF
35389 /* end confdefs.h. */
35390 $ac_includes_default
35391 #include <$ac_header>
35393 rm -f conftest.
$ac_objext
35394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35395 (eval $ac_compile) 2>conftest.er1
35397 grep -v '^ *+' conftest.er1
>conftest.err
35399 cat conftest.err
>&5
35400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35401 (exit $ac_status); } &&
35402 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35404 (eval $ac_try) 2>&5
35406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35407 (exit $ac_status); }; } &&
35408 { ac_try
='test -s conftest.$ac_objext'
35409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35410 (eval $ac_try) 2>&5
35412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35413 (exit $ac_status); }; }; then
35414 ac_header_compiler
=yes
35416 echo "$as_me: failed program was:" >&5
35417 sed 's/^/| /' conftest.
$ac_ext >&5
35419 ac_header_compiler
=no
35421 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35422 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35423 echo "${ECHO_T}$ac_header_compiler" >&6
35425 # Is the header present?
35426 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35427 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35428 cat >conftest.
$ac_ext <<_ACEOF
35431 cat confdefs.h
>>conftest.
$ac_ext
35432 cat >>conftest.
$ac_ext <<_ACEOF
35433 /* end confdefs.h. */
35434 #include <$ac_header>
35436 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35437 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35439 grep -v '^ *+' conftest.er1
>conftest.err
35441 cat conftest.err
>&5
35442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35443 (exit $ac_status); } >/dev
/null
; then
35444 if test -s conftest.err
; then
35445 ac_cpp_err
=$ac_c_preproc_warn_flag
35446 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
35453 if test -z "$ac_cpp_err"; then
35454 ac_header_preproc
=yes
35456 echo "$as_me: failed program was:" >&5
35457 sed 's/^/| /' conftest.
$ac_ext >&5
35459 ac_header_preproc
=no
35461 rm -f conftest.err conftest.
$ac_ext
35462 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35463 echo "${ECHO_T}$ac_header_preproc" >&6
35465 # So? What about this header?
35466 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35468 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35469 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35470 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35471 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35472 ac_header_preproc
=yes
35475 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35476 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35477 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35478 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35479 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35480 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35481 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35482 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35483 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35484 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35485 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35486 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35489 ## ----------------------------------------- ##
35490 ## Report this to wx-dev@lists.wxwidgets.org ##
35491 ## ----------------------------------------- ##
35494 sed "s/^/$as_me: WARNING: /" >&2
35497 echo "$as_me:$LINENO: checking for $ac_header" >&5
35498 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35500 echo $ECHO_N "(cached) $ECHO_C" >&6
35502 eval "$as_ac_Header=\$ac_header_preproc"
35504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35505 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35508 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35509 cat >>confdefs.h
<<_ACEOF
35510 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35517 if test "$ac_cv_header_sched_h" = "yes"; then
35518 echo "$as_me:$LINENO: checking for sched_yield" >&5
35519 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
35520 if test "${ac_cv_func_sched_yield+set}" = set; then
35521 echo $ECHO_N "(cached) $ECHO_C" >&6
35523 cat >conftest.
$ac_ext <<_ACEOF
35526 cat confdefs.h
>>conftest.
$ac_ext
35527 cat >>conftest.
$ac_ext <<_ACEOF
35528 /* end confdefs.h. */
35529 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
35530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35531 #define sched_yield innocuous_sched_yield
35533 /* System header to define __stub macros and hopefully few prototypes,
35534 which can conflict with char sched_yield (); below.
35535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35536 <limits.h> exists even on freestanding compilers. */
35539 # include <limits.h>
35541 # include <assert.h>
35546 /* Override any gcc2 internal prototype to avoid an error. */
35551 /* We use char because int might match the return type of a gcc2
35552 builtin and then its argument prototype would still apply. */
35553 char sched_yield ();
35554 /* The GNU C library defines this for functions which it implements
35555 to always fail with ENOSYS. Some functions are actually named
35556 something starting with __ and the normal name is an alias. */
35557 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
35560 char (*f) () = sched_yield;
35569 return f != sched_yield;
35574 rm -f conftest.
$ac_objext conftest
$ac_exeext
35575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35576 (eval $ac_link) 2>conftest.er1
35578 grep -v '^ *+' conftest.er1
>conftest.err
35580 cat conftest.err
>&5
35581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35582 (exit $ac_status); } &&
35583 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35585 (eval $ac_try) 2>&5
35587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35588 (exit $ac_status); }; } &&
35589 { ac_try
='test -s conftest$ac_exeext'
35590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35591 (eval $ac_try) 2>&5
35593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35594 (exit $ac_status); }; }; then
35595 ac_cv_func_sched_yield
=yes
35597 echo "$as_me: failed program was:" >&5
35598 sed 's/^/| /' conftest.
$ac_ext >&5
35600 ac_cv_func_sched_yield
=no
35602 rm -f conftest.err conftest.
$ac_objext \
35603 conftest
$ac_exeext conftest.
$ac_ext
35605 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
35606 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
35607 if test $ac_cv_func_sched_yield = yes; then
35608 cat >>confdefs.h
<<\_ACEOF
35609 #define HAVE_SCHED_YIELD 1
35614 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
35615 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
35616 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
35617 echo $ECHO_N "(cached) $ECHO_C" >&6
35619 ac_check_lib_save_LIBS
=$LIBS
35620 LIBS
="-lposix4 $LIBS"
35621 cat >conftest.
$ac_ext <<_ACEOF
35624 cat confdefs.h
>>conftest.
$ac_ext
35625 cat >>conftest.
$ac_ext <<_ACEOF
35626 /* end confdefs.h. */
35628 /* Override any gcc2 internal prototype to avoid an error. */
35632 /* We use char because int might match the return type of a gcc2
35633 builtin and then its argument prototype would still apply. */
35634 char sched_yield ();
35643 rm -f conftest.
$ac_objext conftest
$ac_exeext
35644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35645 (eval $ac_link) 2>conftest.er1
35647 grep -v '^ *+' conftest.er1
>conftest.err
35649 cat conftest.err
>&5
35650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35651 (exit $ac_status); } &&
35652 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35654 (eval $ac_try) 2>&5
35656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35657 (exit $ac_status); }; } &&
35658 { ac_try
='test -s conftest$ac_exeext'
35659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35660 (eval $ac_try) 2>&5
35662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35663 (exit $ac_status); }; }; then
35664 ac_cv_lib_posix4_sched_yield
=yes
35666 echo "$as_me: failed program was:" >&5
35667 sed 's/^/| /' conftest.
$ac_ext >&5
35669 ac_cv_lib_posix4_sched_yield
=no
35671 rm -f conftest.err conftest.
$ac_objext \
35672 conftest
$ac_exeext conftest.
$ac_ext
35673 LIBS
=$ac_check_lib_save_LIBS
35675 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
35676 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
35677 if test $ac_cv_lib_posix4_sched_yield = yes; then
35678 cat >>confdefs.h
<<\_ACEOF
35679 #define HAVE_SCHED_YIELD 1
35681 POSIX4_LINK
=" -lposix4"
35683 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
35684 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
35695 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
35696 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
35697 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
35698 echo $ECHO_N "(cached) $ECHO_C" >&6
35700 cat >conftest.
$ac_ext <<_ACEOF
35703 cat confdefs.h
>>conftest.
$ac_ext
35704 cat >>conftest.
$ac_ext <<_ACEOF
35705 /* end confdefs.h. */
35706 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
35707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35708 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
35710 /* System header to define __stub macros and hopefully few prototypes,
35711 which can conflict with char pthread_attr_getschedpolicy (); below.
35712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35713 <limits.h> exists even on freestanding compilers. */
35716 # include <limits.h>
35718 # include <assert.h>
35721 #undef pthread_attr_getschedpolicy
35723 /* Override any gcc2 internal prototype to avoid an error. */
35728 /* We use char because int might match the return type of a gcc2
35729 builtin and then its argument prototype would still apply. */
35730 char pthread_attr_getschedpolicy ();
35731 /* The GNU C library defines this for functions which it implements
35732 to always fail with ENOSYS. Some functions are actually named
35733 something starting with __ and the normal name is an alias. */
35734 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
35737 char (*f) () = pthread_attr_getschedpolicy;
35746 return f != pthread_attr_getschedpolicy;
35751 rm -f conftest.
$ac_objext conftest
$ac_exeext
35752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35753 (eval $ac_link) 2>conftest.er1
35755 grep -v '^ *+' conftest.er1
>conftest.err
35757 cat conftest.err
>&5
35758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35759 (exit $ac_status); } &&
35760 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35762 (eval $ac_try) 2>&5
35764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35765 (exit $ac_status); }; } &&
35766 { ac_try
='test -s conftest$ac_exeext'
35767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35768 (eval $ac_try) 2>&5
35770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35771 (exit $ac_status); }; }; then
35772 ac_cv_func_pthread_attr_getschedpolicy
=yes
35774 echo "$as_me: failed program was:" >&5
35775 sed 's/^/| /' conftest.
$ac_ext >&5
35777 ac_cv_func_pthread_attr_getschedpolicy
=no
35779 rm -f conftest.err conftest.
$ac_objext \
35780 conftest
$ac_exeext conftest.
$ac_ext
35782 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
35783 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
35784 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
35785 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
35786 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
35787 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
35788 echo $ECHO_N "(cached) $ECHO_C" >&6
35790 cat >conftest.
$ac_ext <<_ACEOF
35793 cat confdefs.h
>>conftest.
$ac_ext
35794 cat >>conftest.
$ac_ext <<_ACEOF
35795 /* end confdefs.h. */
35796 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
35797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35798 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
35800 /* System header to define __stub macros and hopefully few prototypes,
35801 which can conflict with char pthread_attr_setschedparam (); below.
35802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35803 <limits.h> exists even on freestanding compilers. */
35806 # include <limits.h>
35808 # include <assert.h>
35811 #undef pthread_attr_setschedparam
35813 /* Override any gcc2 internal prototype to avoid an error. */
35818 /* We use char because int might match the return type of a gcc2
35819 builtin and then its argument prototype would still apply. */
35820 char pthread_attr_setschedparam ();
35821 /* The GNU C library defines this for functions which it implements
35822 to always fail with ENOSYS. Some functions are actually named
35823 something starting with __ and the normal name is an alias. */
35824 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
35827 char (*f) () = pthread_attr_setschedparam;
35836 return f != pthread_attr_setschedparam;
35841 rm -f conftest.
$ac_objext conftest
$ac_exeext
35842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35843 (eval $ac_link) 2>conftest.er1
35845 grep -v '^ *+' conftest.er1
>conftest.err
35847 cat conftest.err
>&5
35848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35849 (exit $ac_status); } &&
35850 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35852 (eval $ac_try) 2>&5
35854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35855 (exit $ac_status); }; } &&
35856 { ac_try
='test -s conftest$ac_exeext'
35857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35858 (eval $ac_try) 2>&5
35860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35861 (exit $ac_status); }; }; then
35862 ac_cv_func_pthread_attr_setschedparam
=yes
35864 echo "$as_me: failed program was:" >&5
35865 sed 's/^/| /' conftest.
$ac_ext >&5
35867 ac_cv_func_pthread_attr_setschedparam
=no
35869 rm -f conftest.err conftest.
$ac_objext \
35870 conftest
$ac_exeext conftest.
$ac_ext
35872 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
35873 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
35874 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
35875 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
35876 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
35877 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
35878 echo $ECHO_N "(cached) $ECHO_C" >&6
35880 cat >conftest.
$ac_ext <<_ACEOF
35883 cat confdefs.h
>>conftest.
$ac_ext
35884 cat >>conftest.
$ac_ext <<_ACEOF
35885 /* end confdefs.h. */
35886 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
35887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35888 #define sched_get_priority_max innocuous_sched_get_priority_max
35890 /* System header to define __stub macros and hopefully few prototypes,
35891 which can conflict with char sched_get_priority_max (); below.
35892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35893 <limits.h> exists even on freestanding compilers. */
35896 # include <limits.h>
35898 # include <assert.h>
35901 #undef sched_get_priority_max
35903 /* Override any gcc2 internal prototype to avoid an error. */
35908 /* We use char because int might match the return type of a gcc2
35909 builtin and then its argument prototype would still apply. */
35910 char sched_get_priority_max ();
35911 /* The GNU C library defines this for functions which it implements
35912 to always fail with ENOSYS. Some functions are actually named
35913 something starting with __ and the normal name is an alias. */
35914 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
35917 char (*f) () = sched_get_priority_max;
35926 return f != sched_get_priority_max;
35931 rm -f conftest.
$ac_objext conftest
$ac_exeext
35932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35933 (eval $ac_link) 2>conftest.er1
35935 grep -v '^ *+' conftest.er1
>conftest.err
35937 cat conftest.err
>&5
35938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35939 (exit $ac_status); } &&
35940 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35942 (eval $ac_try) 2>&5
35944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35945 (exit $ac_status); }; } &&
35946 { ac_try
='test -s conftest$ac_exeext'
35947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35948 (eval $ac_try) 2>&5
35950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35951 (exit $ac_status); }; }; then
35952 ac_cv_func_sched_get_priority_max
=yes
35954 echo "$as_me: failed program was:" >&5
35955 sed 's/^/| /' conftest.
$ac_ext >&5
35957 ac_cv_func_sched_get_priority_max
=no
35959 rm -f conftest.err conftest.
$ac_objext \
35960 conftest
$ac_exeext conftest.
$ac_ext
35962 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
35963 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
35964 if test $ac_cv_func_sched_get_priority_max = yes; then
35967 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
35968 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
35969 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
35970 echo $ECHO_N "(cached) $ECHO_C" >&6
35972 ac_check_lib_save_LIBS
=$LIBS
35973 LIBS
="-lposix4 $LIBS"
35974 cat >conftest.
$ac_ext <<_ACEOF
35977 cat confdefs.h
>>conftest.
$ac_ext
35978 cat >>conftest.
$ac_ext <<_ACEOF
35979 /* end confdefs.h. */
35981 /* Override any gcc2 internal prototype to avoid an error. */
35985 /* We use char because int might match the return type of a gcc2
35986 builtin and then its argument prototype would still apply. */
35987 char sched_get_priority_max ();
35991 sched_get_priority_max ();
35996 rm -f conftest.
$ac_objext conftest
$ac_exeext
35997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35998 (eval $ac_link) 2>conftest.er1
36000 grep -v '^ *+' conftest.er1
>conftest.err
36002 cat conftest.err
>&5
36003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36004 (exit $ac_status); } &&
36005 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36007 (eval $ac_try) 2>&5
36009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36010 (exit $ac_status); }; } &&
36011 { ac_try
='test -s conftest$ac_exeext'
36012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36013 (eval $ac_try) 2>&5
36015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36016 (exit $ac_status); }; }; then
36017 ac_cv_lib_posix4_sched_get_priority_max
=yes
36019 echo "$as_me: failed program was:" >&5
36020 sed 's/^/| /' conftest.
$ac_ext >&5
36022 ac_cv_lib_posix4_sched_get_priority_max
=no
36024 rm -f conftest.err conftest.
$ac_objext \
36025 conftest
$ac_exeext conftest.
$ac_ext
36026 LIBS
=$ac_check_lib_save_LIBS
36028 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
36029 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
36030 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
36033 POSIX4_LINK
=" -lposix4"
36047 if test "$HAVE_PRIOR_FUNCS" = 1; then
36048 cat >>confdefs.h
<<\_ACEOF
36049 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
36053 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
36054 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
36057 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
36058 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
36059 if test "${ac_cv_func_pthread_cancel+set}" = set; then
36060 echo $ECHO_N "(cached) $ECHO_C" >&6
36062 cat >conftest.
$ac_ext <<_ACEOF
36065 cat confdefs.h
>>conftest.
$ac_ext
36066 cat >>conftest.
$ac_ext <<_ACEOF
36067 /* end confdefs.h. */
36068 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
36069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36070 #define pthread_cancel innocuous_pthread_cancel
36072 /* System header to define __stub macros and hopefully few prototypes,
36073 which can conflict with char pthread_cancel (); below.
36074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36075 <limits.h> exists even on freestanding compilers. */
36078 # include <limits.h>
36080 # include <assert.h>
36083 #undef pthread_cancel
36085 /* Override any gcc2 internal prototype to avoid an error. */
36090 /* We use char because int might match the return type of a gcc2
36091 builtin and then its argument prototype would still apply. */
36092 char pthread_cancel ();
36093 /* The GNU C library defines this for functions which it implements
36094 to always fail with ENOSYS. Some functions are actually named
36095 something starting with __ and the normal name is an alias. */
36096 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
36099 char (*f) () = pthread_cancel;
36108 return f != pthread_cancel;
36113 rm -f conftest.
$ac_objext conftest
$ac_exeext
36114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36115 (eval $ac_link) 2>conftest.er1
36117 grep -v '^ *+' conftest.er1
>conftest.err
36119 cat conftest.err
>&5
36120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36121 (exit $ac_status); } &&
36122 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36124 (eval $ac_try) 2>&5
36126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36127 (exit $ac_status); }; } &&
36128 { ac_try
='test -s conftest$ac_exeext'
36129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36130 (eval $ac_try) 2>&5
36132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36133 (exit $ac_status); }; }; then
36134 ac_cv_func_pthread_cancel
=yes
36136 echo "$as_me: failed program was:" >&5
36137 sed 's/^/| /' conftest.
$ac_ext >&5
36139 ac_cv_func_pthread_cancel
=no
36141 rm -f conftest.err conftest.
$ac_objext \
36142 conftest
$ac_exeext conftest.
$ac_ext
36144 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
36145 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
36146 if test $ac_cv_func_pthread_cancel = yes; then
36147 cat >>confdefs.h
<<\_ACEOF
36148 #define HAVE_PTHREAD_CANCEL 1
36152 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
36153 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
36157 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
36158 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
36159 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
36160 echo $ECHO_N "(cached) $ECHO_C" >&6
36162 cat >conftest.
$ac_ext <<_ACEOF
36165 cat confdefs.h
>>conftest.
$ac_ext
36166 cat >>conftest.
$ac_ext <<_ACEOF
36167 /* end confdefs.h. */
36168 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
36169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36170 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
36172 /* System header to define __stub macros and hopefully few prototypes,
36173 which can conflict with char pthread_attr_setstacksize (); below.
36174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36175 <limits.h> exists even on freestanding compilers. */
36178 # include <limits.h>
36180 # include <assert.h>
36183 #undef pthread_attr_setstacksize
36185 /* Override any gcc2 internal prototype to avoid an error. */
36190 /* We use char because int might match the return type of a gcc2
36191 builtin and then its argument prototype would still apply. */
36192 char pthread_attr_setstacksize ();
36193 /* The GNU C library defines this for functions which it implements
36194 to always fail with ENOSYS. Some functions are actually named
36195 something starting with __ and the normal name is an alias. */
36196 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
36199 char (*f) () = pthread_attr_setstacksize;
36208 return f != pthread_attr_setstacksize;
36213 rm -f conftest.
$ac_objext conftest
$ac_exeext
36214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36215 (eval $ac_link) 2>conftest.er1
36217 grep -v '^ *+' conftest.er1
>conftest.err
36219 cat conftest.err
>&5
36220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36221 (exit $ac_status); } &&
36222 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36224 (eval $ac_try) 2>&5
36226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36227 (exit $ac_status); }; } &&
36228 { ac_try
='test -s conftest$ac_exeext'
36229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36230 (eval $ac_try) 2>&5
36232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36233 (exit $ac_status); }; }; then
36234 ac_cv_func_pthread_attr_setstacksize
=yes
36236 echo "$as_me: failed program was:" >&5
36237 sed 's/^/| /' conftest.
$ac_ext >&5
36239 ac_cv_func_pthread_attr_setstacksize
=no
36241 rm -f conftest.err conftest.
$ac_objext \
36242 conftest
$ac_exeext conftest.
$ac_ext
36244 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
36245 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
36246 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
36247 cat >>confdefs.h
<<\_ACEOF
36248 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
36255 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
36256 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
36257 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
36258 echo $ECHO_N "(cached) $ECHO_C" >&6
36261 cat >conftest.
$ac_ext <<_ACEOF
36264 cat confdefs.h
>>conftest.
$ac_ext
36265 cat >>conftest.
$ac_ext <<_ACEOF
36266 /* end confdefs.h. */
36267 #include <pthread.h>
36272 pthread_mutexattr_t attr;
36273 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
36279 rm -f conftest.
$ac_objext
36280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36281 (eval $ac_compile) 2>conftest.er1
36283 grep -v '^ *+' conftest.er1
>conftest.err
36285 cat conftest.err
>&5
36286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36287 (exit $ac_status); } &&
36288 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36290 (eval $ac_try) 2>&5
36292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36293 (exit $ac_status); }; } &&
36294 { ac_try
='test -s conftest.$ac_objext'
36295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36296 (eval $ac_try) 2>&5
36298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36299 (exit $ac_status); }; }; then
36301 wx_cv_type_pthread_mutexattr_t
=yes
36304 echo "$as_me: failed program was:" >&5
36305 sed 's/^/| /' conftest.
$ac_ext >&5
36308 wx_cv_type_pthread_mutexattr_t
=no
36312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36315 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
36316 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
36318 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
36319 cat >>confdefs.h
<<\_ACEOF
36320 #define HAVE_PTHREAD_MUTEXATTR_T 1
36324 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
36325 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
36326 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
36327 echo $ECHO_N "(cached) $ECHO_C" >&6
36330 cat >conftest.
$ac_ext <<_ACEOF
36333 cat confdefs.h
>>conftest.
$ac_ext
36334 cat >>conftest.
$ac_ext <<_ACEOF
36335 /* end confdefs.h. */
36336 #include <pthread.h>
36341 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
36347 rm -f conftest.
$ac_objext
36348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36349 (eval $ac_compile) 2>conftest.er1
36351 grep -v '^ *+' conftest.er1
>conftest.err
36353 cat conftest.err
>&5
36354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36355 (exit $ac_status); } &&
36356 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36358 (eval $ac_try) 2>&5
36360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36361 (exit $ac_status); }; } &&
36362 { ac_try
='test -s conftest.$ac_objext'
36363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36364 (eval $ac_try) 2>&5
36366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36367 (exit $ac_status); }; }; then
36369 wx_cv_type_pthread_rec_mutex_init
=yes
36372 echo "$as_me: failed program was:" >&5
36373 sed 's/^/| /' conftest.
$ac_ext >&5
36376 wx_cv_type_pthread_rec_mutex_init
=no
36380 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36383 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
36384 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
36385 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
36386 cat >>confdefs.h
<<\_ACEOF
36387 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
36391 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
36392 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
36398 if test "$wxUSE_THREADS" = "yes" ; then
36401 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
36402 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
36403 if test "${wx_cv_cflags_mthread+set}" = set; then
36404 echo $ECHO_N "(cached) $ECHO_C" >&6
36407 CFLAGS_OLD
="$CFLAGS"
36408 CFLAGS
="$CFLAGS -mthreads"
36409 cat >conftest.
$ac_ext <<_ACEOF
36412 cat confdefs.h
>>conftest.
$ac_ext
36413 cat >>conftest.
$ac_ext <<_ACEOF
36414 /* end confdefs.h. */
36424 rm -f conftest.
$ac_objext
36425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36426 (eval $ac_compile) 2>conftest.er1
36428 grep -v '^ *+' conftest.er1
>conftest.err
36430 cat conftest.err
>&5
36431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36432 (exit $ac_status); } &&
36433 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36435 (eval $ac_try) 2>&5
36437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36438 (exit $ac_status); }; } &&
36439 { ac_try
='test -s conftest.$ac_objext'
36440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36441 (eval $ac_try) 2>&5
36443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36444 (exit $ac_status); }; }; then
36445 wx_cv_cflags_mthread
=yes
36447 echo "$as_me: failed program was:" >&5
36448 sed 's/^/| /' conftest.
$ac_ext >&5
36450 wx_cv_cflags_mthread
=no
36453 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36457 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
36458 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
36460 if test "$wx_cv_cflags_mthread" = "yes"; then
36461 CXXFLAGS
="$CXXFLAGS -mthreads"
36462 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
36463 LDFLAGS
="$LDFLAGS -mthreads"
36465 CFLAGS
="$CFLAGS_OLD"
36469 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
36470 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
36471 LDFLAGS
="$LDFLAGS -Zmt"
36477 if test "$wxUSE_THREADS" = "yes"; then
36478 cat >>confdefs.h
<<\_ACEOF
36479 #define wxUSE_THREADS 1
36483 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
36485 if test "$ac_cv_func_strtok_r" = "yes"; then
36486 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
36487 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
36488 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
36489 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
36490 echo "$as_me:$LINENO: result: yes" >&5
36491 echo "${ECHO_T}yes" >&6
36493 echo "$as_me:$LINENO: result: no" >&5
36494 echo "${ECHO_T}no" >&6
36499 if test "$WXGTK20" = 1 ; then
36500 cat >>confdefs.h
<<_ACEOF
36501 #define __WXGTK20__ $WXGTK20
36507 if test "$WXGTK12" = 1 ; then
36508 cat >>confdefs.h
<<_ACEOF
36509 #define __WXGTK12__ $WXGTK12
36514 if test "$WXGTK127" = 1 ; then
36515 cat >>confdefs.h
<<_ACEOF
36516 #define __WXGTK127__ $WXGTK127
36521 if test "$WXGPE" = 1 ; then
36522 cat >>confdefs.h
<<_ACEOF
36523 #define __WXGPE__ $WXGPE
36530 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
36535 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
36536 wxUSE_DEBUG_INFO
=yes
36537 if test "$GCC" = yes; then
36542 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
36543 cat >>confdefs.h
<<\_ACEOF
36547 WXDEBUG_DEFINE
="-D__WXDEBUG__"
36549 if test "$wxUSE_GTK" = 1 ; then
36550 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
36554 if test "$wxUSE_MEM_TRACING" = "yes" ; then
36555 cat >>confdefs.h
<<\_ACEOF
36556 #define wxUSE_MEMORY_TRACING 1
36559 cat >>confdefs.h
<<\_ACEOF
36560 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
36563 cat >>confdefs.h
<<\_ACEOF
36564 #define wxUSE_DEBUG_NEW_ALWAYS 1
36567 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
36570 if test "$wxUSE_DMALLOC" = "yes" ; then
36571 DMALLOC_LIBS
="-ldmallocthcxx"
36575 if test "$wxUSE_PROFILE" = "yes" ; then
36580 CODE_GEN_FLAGS_CXX
=
36581 if test "$GCC" = "yes" ; then
36582 if test "$wxUSE_NO_RTTI" = "yes" ; then
36583 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
36585 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36586 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
36588 if test "$wxUSE_PERMISSIVE" = "yes" ; then
36589 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
36594 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
36597 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
36603 if test "$wxUSE_OPTIMISE" = "no" ; then
36604 if test "$GCC" = yes ; then
36608 if test "$GCC" = yes ; then
36612 i586
-*-*|i686
-*-* )
36613 OPTIMISE
="${OPTIMISE} "
36622 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
36623 cat >>confdefs.h
<<\_ACEOF
36624 #define WXWIN_COMPATIBILITY_2_2 1
36628 WXWIN_COMPATIBILITY_2_4
="yes"
36631 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
36632 cat >>confdefs.h
<<\_ACEOF
36633 #define WXWIN_COMPATIBILITY_2_4 1
36639 if test "$wxUSE_GUI" = "yes"; then
36640 cat >>confdefs.h
<<\_ACEOF
36641 #define wxUSE_GUI 1
36648 if test "$wxUSE_UNIX" = "yes"; then
36649 cat >>confdefs.h
<<\_ACEOF
36650 #define wxUSE_UNIX 1
36656 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
36660 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
36661 if test "$USE_DARWIN" = 1; then
36663 elif test "$USE_DOS" = 1; then
36667 for ac_func
in dlopen
36669 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36670 echo "$as_me:$LINENO: checking for $ac_func" >&5
36671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36672 if eval "test \"\${$as_ac_var+set}\" = set"; then
36673 echo $ECHO_N "(cached) $ECHO_C" >&6
36675 cat >conftest.
$ac_ext <<_ACEOF
36678 cat confdefs.h
>>conftest.
$ac_ext
36679 cat >>conftest.
$ac_ext <<_ACEOF
36680 /* end confdefs.h. */
36681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36683 #define $ac_func innocuous_$ac_func
36685 /* System header to define __stub macros and hopefully few prototypes,
36686 which can conflict with char $ac_func (); below.
36687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36688 <limits.h> exists even on freestanding compilers. */
36691 # include <limits.h>
36693 # include <assert.h>
36698 /* Override any gcc2 internal prototype to avoid an error. */
36703 /* We use char because int might match the return type of a gcc2
36704 builtin and then its argument prototype would still apply. */
36706 /* The GNU C library defines this for functions which it implements
36707 to always fail with ENOSYS. Some functions are actually named
36708 something starting with __ and the normal name is an alias. */
36709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36712 char (*f) () = $ac_func;
36721 return f != $ac_func;
36726 rm -f conftest.
$ac_objext conftest
$ac_exeext
36727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36728 (eval $ac_link) 2>conftest.er1
36730 grep -v '^ *+' conftest.er1
>conftest.err
36732 cat conftest.err
>&5
36733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36734 (exit $ac_status); } &&
36735 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36737 (eval $ac_try) 2>&5
36739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36740 (exit $ac_status); }; } &&
36741 { ac_try
='test -s conftest$ac_exeext'
36742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36743 (eval $ac_try) 2>&5
36745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36746 (exit $ac_status); }; }; then
36747 eval "$as_ac_var=yes"
36749 echo "$as_me: failed program was:" >&5
36750 sed 's/^/| /' conftest.
$ac_ext >&5
36752 eval "$as_ac_var=no"
36754 rm -f conftest.err conftest.
$ac_objext \
36755 conftest
$ac_exeext conftest.
$ac_ext
36757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36759 if test `eval echo '${'$as_ac_var'}'` = yes; then
36760 cat >>confdefs.h
<<_ACEOF
36761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36764 cat >>confdefs.h
<<\_ACEOF
36765 #define HAVE_DLOPEN 1
36772 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
36773 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
36774 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
36775 echo $ECHO_N "(cached) $ECHO_C" >&6
36777 ac_check_lib_save_LIBS
=$LIBS
36779 cat >conftest.
$ac_ext <<_ACEOF
36782 cat confdefs.h
>>conftest.
$ac_ext
36783 cat >>conftest.
$ac_ext <<_ACEOF
36784 /* end confdefs.h. */
36786 /* Override any gcc2 internal prototype to avoid an error. */
36790 /* We use char because int might match the return type of a gcc2
36791 builtin and then its argument prototype would still apply. */
36801 rm -f conftest.
$ac_objext conftest
$ac_exeext
36802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36803 (eval $ac_link) 2>conftest.er1
36805 grep -v '^ *+' conftest.er1
>conftest.err
36807 cat conftest.err
>&5
36808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36809 (exit $ac_status); } &&
36810 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36812 (eval $ac_try) 2>&5
36814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36815 (exit $ac_status); }; } &&
36816 { ac_try
='test -s conftest$ac_exeext'
36817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36818 (eval $ac_try) 2>&5
36820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36821 (exit $ac_status); }; }; then
36822 ac_cv_lib_dl_dlopen
=yes
36824 echo "$as_me: failed program was:" >&5
36825 sed 's/^/| /' conftest.
$ac_ext >&5
36827 ac_cv_lib_dl_dlopen
=no
36829 rm -f conftest.err conftest.
$ac_objext \
36830 conftest
$ac_exeext conftest.
$ac_ext
36831 LIBS
=$ac_check_lib_save_LIBS
36833 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
36834 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
36835 if test $ac_cv_lib_dl_dlopen = yes; then
36837 cat >>confdefs.h
<<\_ACEOF
36838 #define HAVE_DLOPEN 1
36842 DL_LINK
=" -ldl$DL_LINK"
36847 for ac_func
in shl_load
36849 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36850 echo "$as_me:$LINENO: checking for $ac_func" >&5
36851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36852 if eval "test \"\${$as_ac_var+set}\" = set"; then
36853 echo $ECHO_N "(cached) $ECHO_C" >&6
36855 cat >conftest.
$ac_ext <<_ACEOF
36858 cat confdefs.h
>>conftest.
$ac_ext
36859 cat >>conftest.
$ac_ext <<_ACEOF
36860 /* end confdefs.h. */
36861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36863 #define $ac_func innocuous_$ac_func
36865 /* System header to define __stub macros and hopefully few prototypes,
36866 which can conflict with char $ac_func (); below.
36867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36868 <limits.h> exists even on freestanding compilers. */
36871 # include <limits.h>
36873 # include <assert.h>
36878 /* Override any gcc2 internal prototype to avoid an error. */
36883 /* We use char because int might match the return type of a gcc2
36884 builtin and then its argument prototype would still apply. */
36886 /* The GNU C library defines this for functions which it implements
36887 to always fail with ENOSYS. Some functions are actually named
36888 something starting with __ and the normal name is an alias. */
36889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36892 char (*f) () = $ac_func;
36901 return f != $ac_func;
36906 rm -f conftest.
$ac_objext conftest
$ac_exeext
36907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36908 (eval $ac_link) 2>conftest.er1
36910 grep -v '^ *+' conftest.er1
>conftest.err
36912 cat conftest.err
>&5
36913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36914 (exit $ac_status); } &&
36915 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36917 (eval $ac_try) 2>&5
36919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36920 (exit $ac_status); }; } &&
36921 { ac_try
='test -s conftest$ac_exeext'
36922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36923 (eval $ac_try) 2>&5
36925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36926 (exit $ac_status); }; }; then
36927 eval "$as_ac_var=yes"
36929 echo "$as_me: failed program was:" >&5
36930 sed 's/^/| /' conftest.
$ac_ext >&5
36932 eval "$as_ac_var=no"
36934 rm -f conftest.err conftest.
$ac_objext \
36935 conftest
$ac_exeext conftest.
$ac_ext
36937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36939 if test `eval echo '${'$as_ac_var'}'` = yes; then
36940 cat >>confdefs.h
<<_ACEOF
36941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36944 cat >>confdefs.h
<<\_ACEOF
36945 #define HAVE_SHL_LOAD 1
36952 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
36953 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
36954 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
36955 echo $ECHO_N "(cached) $ECHO_C" >&6
36957 ac_check_lib_save_LIBS
=$LIBS
36958 LIBS
="-lshl_load $LIBS"
36959 cat >conftest.
$ac_ext <<_ACEOF
36962 cat confdefs.h
>>conftest.
$ac_ext
36963 cat >>conftest.
$ac_ext <<_ACEOF
36964 /* end confdefs.h. */
36966 /* Override any gcc2 internal prototype to avoid an error. */
36970 /* We use char because int might match the return type of a gcc2
36971 builtin and then its argument prototype would still apply. */
36981 rm -f conftest.
$ac_objext conftest
$ac_exeext
36982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36983 (eval $ac_link) 2>conftest.er1
36985 grep -v '^ *+' conftest.er1
>conftest.err
36987 cat conftest.err
>&5
36988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36989 (exit $ac_status); } &&
36990 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36992 (eval $ac_try) 2>&5
36994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36995 (exit $ac_status); }; } &&
36996 { ac_try
='test -s conftest$ac_exeext'
36997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36998 (eval $ac_try) 2>&5
37000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37001 (exit $ac_status); }; }; then
37002 ac_cv_lib_shl_load_dld
=yes
37004 echo "$as_me: failed program was:" >&5
37005 sed 's/^/| /' conftest.
$ac_ext >&5
37007 ac_cv_lib_shl_load_dld
=no
37009 rm -f conftest.err conftest.
$ac_objext \
37010 conftest
$ac_exeext conftest.
$ac_ext
37011 LIBS
=$ac_check_lib_save_LIBS
37013 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
37014 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
37015 if test $ac_cv_lib_shl_load_dld = yes; then
37018 DL_LINK
=" -ldld$DL_LINK"
37034 if test "$HAVE_DL_FUNCS" = 1; then
37036 for ac_func
in dlerror
37038 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37039 echo "$as_me:$LINENO: checking for $ac_func" >&5
37040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37041 if eval "test \"\${$as_ac_var+set}\" = set"; then
37042 echo $ECHO_N "(cached) $ECHO_C" >&6
37044 cat >conftest.
$ac_ext <<_ACEOF
37047 cat confdefs.h
>>conftest.
$ac_ext
37048 cat >>conftest.
$ac_ext <<_ACEOF
37049 /* end confdefs.h. */
37050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37052 #define $ac_func innocuous_$ac_func
37054 /* System header to define __stub macros and hopefully few prototypes,
37055 which can conflict with char $ac_func (); below.
37056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37057 <limits.h> exists even on freestanding compilers. */
37060 # include <limits.h>
37062 # include <assert.h>
37067 /* Override any gcc2 internal prototype to avoid an error. */
37072 /* We use char because int might match the return type of a gcc2
37073 builtin and then its argument prototype would still apply. */
37075 /* The GNU C library defines this for functions which it implements
37076 to always fail with ENOSYS. Some functions are actually named
37077 something starting with __ and the normal name is an alias. */
37078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37081 char (*f) () = $ac_func;
37090 return f != $ac_func;
37095 rm -f conftest.
$ac_objext conftest
$ac_exeext
37096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37097 (eval $ac_link) 2>conftest.er1
37099 grep -v '^ *+' conftest.er1
>conftest.err
37101 cat conftest.err
>&5
37102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37103 (exit $ac_status); } &&
37104 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37106 (eval $ac_try) 2>&5
37108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37109 (exit $ac_status); }; } &&
37110 { ac_try
='test -s conftest$ac_exeext'
37111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37112 (eval $ac_try) 2>&5
37114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37115 (exit $ac_status); }; }; then
37116 eval "$as_ac_var=yes"
37118 echo "$as_me: failed program was:" >&5
37119 sed 's/^/| /' conftest.
$ac_ext >&5
37121 eval "$as_ac_var=no"
37123 rm -f conftest.err conftest.
$ac_objext \
37124 conftest
$ac_exeext conftest.
$ac_ext
37126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37127 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37128 if test `eval echo '${'$as_ac_var'}'` = yes; then
37129 cat >>confdefs.h
<<_ACEOF
37130 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37132 cat >>confdefs.h
<<\_ACEOF
37133 #define HAVE_DLERROR 1
37138 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
37139 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
37140 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
37141 echo $ECHO_N "(cached) $ECHO_C" >&6
37143 ac_check_lib_save_LIBS
=$LIBS
37145 cat >conftest.
$ac_ext <<_ACEOF
37148 cat confdefs.h
>>conftest.
$ac_ext
37149 cat >>conftest.
$ac_ext <<_ACEOF
37150 /* end confdefs.h. */
37152 /* Override any gcc2 internal prototype to avoid an error. */
37156 /* We use char because int might match the return type of a gcc2
37157 builtin and then its argument prototype would still apply. */
37167 rm -f conftest.
$ac_objext conftest
$ac_exeext
37168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37169 (eval $ac_link) 2>conftest.er1
37171 grep -v '^ *+' conftest.er1
>conftest.err
37173 cat conftest.err
>&5
37174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37175 (exit $ac_status); } &&
37176 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
37182 { ac_try
='test -s conftest$ac_exeext'
37183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37184 (eval $ac_try) 2>&5
37186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37187 (exit $ac_status); }; }; then
37188 ac_cv_lib_dl_dlerror
=yes
37190 echo "$as_me: failed program was:" >&5
37191 sed 's/^/| /' conftest.
$ac_ext >&5
37193 ac_cv_lib_dl_dlerror
=no
37195 rm -f conftest.err conftest.
$ac_objext \
37196 conftest
$ac_exeext conftest.
$ac_ext
37197 LIBS
=$ac_check_lib_save_LIBS
37199 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
37200 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
37201 if test $ac_cv_lib_dl_dlerror = yes; then
37202 cat >>confdefs.h
<<\_ACEOF
37203 #define HAVE_DLERROR 1
37216 if test "$HAVE_DL_FUNCS" = 0; then
37217 if test "$HAVE_SHL_FUNCS" = 0; then
37218 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
37219 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
37220 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
37221 wxUSE_DYNAMIC_LOADER
=no
37222 wxUSE_DYNLIB_CLASS
=no
37224 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
37225 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
37232 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
37233 cat >>confdefs.h
<<\_ACEOF
37234 #define wxUSE_DYNAMIC_LOADER 1
37238 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
37239 cat >>confdefs.h
<<\_ACEOF
37240 #define wxUSE_DYNLIB_CLASS 1
37247 if test "$wxUSE_PLUGINS" = "yes" ; then
37248 if test "$wxUSE_SHARED" = "no" ; then
37249 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
37250 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
37253 if test "$wxUSE_MONOLITHIC" = "yes" ; then
37254 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
37255 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
37258 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
37259 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
37260 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
37263 if test "$wxUSE_PLUGINS" = "yes" ; then
37264 cat >>confdefs.h
<<\_ACEOF
37265 #define wxUSE_PLUGINS 1
37272 if test "$wxUSE_STL" = "yes"; then
37273 cat >>confdefs.h
<<\_ACEOF
37274 #define wxUSE_STL 1
37279 if test "$wxUSE_APPLE_IEEE" = "yes"; then
37280 cat >>confdefs.h
<<\_ACEOF
37281 #define wxUSE_APPLE_IEEE 1
37286 if test "$wxUSE_TIMER" = "yes"; then
37287 cat >>confdefs.h
<<\_ACEOF
37288 #define wxUSE_TIMER 1
37293 if test "$USE_UNIX" = "1" ; then
37294 echo "$as_me:$LINENO: checking for ioctl() in sys/soundcard.h" >&5
37295 echo $ECHO_N "checking for ioctl() in sys/soundcard.h... $ECHO_C" >&6
37296 if test "${ac_cv_header_sys_soundcard+set}" = set; then
37297 echo $ECHO_N "(cached) $ECHO_C" >&6
37300 cat >conftest.
$ac_ext <<_ACEOF
37303 cat confdefs.h
>>conftest.
$ac_ext
37304 cat >>conftest.
$ac_ext <<_ACEOF
37305 /* end confdefs.h. */
37307 #include <sys/soundcard.h>
37313 ioctl(0, SNDCTL_DSP_SYNC, 0);
37319 rm -f conftest.
$ac_objext conftest
$ac_exeext
37320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37321 (eval $ac_link) 2>conftest.er1
37323 grep -v '^ *+' conftest.er1
>conftest.err
37325 cat conftest.err
>&5
37326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37327 (exit $ac_status); } &&
37328 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37330 (eval $ac_try) 2>&5
37332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37333 (exit $ac_status); }; } &&
37334 { ac_try
='test -s conftest$ac_exeext'
37335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37336 (eval $ac_try) 2>&5
37338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37339 (exit $ac_status); }; }; then
37340 ac_cv_header_sys_soundcard
=yes
37342 echo "$as_me: failed program was:" >&5
37343 sed 's/^/| /' conftest.
$ac_ext >&5
37347 LIBS
="$saveLibs -lossaudio"
37348 cat >conftest.
$ac_ext <<_ACEOF
37351 cat confdefs.h
>>conftest.
$ac_ext
37352 cat >>conftest.
$ac_ext <<_ACEOF
37353 /* end confdefs.h. */
37355 #include <sys/soundcard.h>
37361 ioctl(0, SNDCTL_DSP_SYNC, 0);
37367 rm -f conftest.
$ac_objext conftest
$ac_exeext
37368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37369 (eval $ac_link) 2>conftest.er1
37371 grep -v '^ *+' conftest.er1
>conftest.err
37373 cat conftest.err
>&5
37374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37375 (exit $ac_status); } &&
37376 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37378 (eval $ac_try) 2>&5
37380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37381 (exit $ac_status); }; } &&
37382 { ac_try
='test -s conftest$ac_exeext'
37383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37384 (eval $ac_try) 2>&5
37386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37387 (exit $ac_status); }; }; then
37388 ac_cv_header_sys_soundcard
=yes
37390 echo "$as_me: failed program was:" >&5
37391 sed 's/^/| /' conftest.
$ac_ext >&5
37395 ac_cv_header_sys_soundcard
=no
37399 rm -f conftest.err conftest.
$ac_objext \
37400 conftest
$ac_exeext conftest.
$ac_ext
37404 rm -f conftest.err conftest.
$ac_objext \
37405 conftest
$ac_exeext conftest.
$ac_ext
37408 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
37409 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
37411 if test "$ac_cv_header_sys_soundcard" = "yes"; then
37412 cat >>confdefs.h
<<\_ACEOF
37413 #define HAVE_SYS_SOUNDCARD_H 1
37417 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
37421 if test "$wxUSE_SOUND" = "yes"; then
37422 if test "$USE_UNIX" = "1" ; then
37423 if test "$wxUSE_LIBSDL" != "no"; then
37425 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
37426 if test "${with_sdl_prefix+set}" = set; then
37427 withval
="$with_sdl_prefix"
37428 sdl_prefix
="$withval"
37433 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
37434 if test "${with_sdl_exec_prefix+set}" = set; then
37435 withval
="$with_sdl_exec_prefix"
37436 sdl_exec_prefix
="$withval"
37440 # Check whether --enable-sdltest or --disable-sdltest was given.
37441 if test "${enable_sdltest+set}" = set; then
37442 enableval
="$enable_sdltest"
37448 if test x
$sdl_exec_prefix != x
; then
37449 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
37450 if test x
${SDL_CONFIG+set} != xset
; then
37451 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
37454 if test x
$sdl_prefix != x
; then
37455 sdl_args
="$sdl_args --prefix=$sdl_prefix"
37456 if test x
${SDL_CONFIG+set} != xset
; then
37457 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
37462 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
37463 # Extract the first word of "sdl-config", so it can be a program name with args.
37464 set dummy sdl
-config; ac_word
=$2
37465 echo "$as_me:$LINENO: checking for $ac_word" >&5
37466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37467 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
37468 echo $ECHO_N "(cached) $ECHO_C" >&6
37470 case $SDL_CONFIG in
37472 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
37475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37476 for as_dir
in $PATH
37479 test -z "$as_dir" && as_dir
=.
37480 for ac_exec_ext
in '' $ac_executable_extensions; do
37481 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37482 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
37483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37489 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
37493 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
37495 if test -n "$SDL_CONFIG"; then
37496 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
37497 echo "${ECHO_T}$SDL_CONFIG" >&6
37499 echo "$as_me:$LINENO: result: no" >&5
37500 echo "${ECHO_T}no" >&6
37503 min_sdl_version
=1.2.0
37504 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
37505 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
37507 if test "$SDL_CONFIG" = "no" ; then
37510 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
37511 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
37513 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
37514 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
37515 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
37516 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
37517 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
37518 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
37519 if test "x$enable_sdltest" = "xyes" ; then
37520 ac_save_CFLAGS
="$CFLAGS"
37521 ac_save_CXXFLAGS
="$CXXFLAGS"
37522 ac_save_LIBS
="$LIBS"
37523 CFLAGS
="$CFLAGS $SDL_CFLAGS"
37524 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
37525 LIBS
="$LIBS $SDL_LIBS"
37527 if test "$cross_compiling" = yes; then
37528 echo $ac_n "cross compiling; assumed OK... $ac_c"
37530 cat >conftest.
$ac_ext <<_ACEOF
37533 cat confdefs.h
>>conftest.
$ac_ext
37534 cat >>conftest.
$ac_ext <<_ACEOF
37535 /* end confdefs.h. */
37538 #include <stdlib.h>
37539 #include <string.h>
37543 my_strdup (char *str)
37549 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
37550 strcpy (new_str, str);
37558 int main (int argc, char *argv[])
37560 int major, minor, micro;
37563 /* This hangs on some systems (?)
37564 system ("touch conf.sdltest");
37566 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
37568 /* HP/UX 9 (%@#!) writes to sscanf strings */
37569 tmp_version = my_strdup("$min_sdl_version");
37570 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
37571 printf("%s, bad version string\n", "$min_sdl_version");
37575 if (($sdl_major_version > major) ||
37576 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
37577 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
37583 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
37584 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
37585 printf("*** best to upgrade to the required version.\n");
37586 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
37587 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
37588 printf("*** config.cache before re-running configure\n");
37595 rm -f conftest
$ac_exeext
37596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37597 (eval $ac_link) 2>&5
37599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37600 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
37601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37602 (eval $ac_try) 2>&5
37604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37605 (exit $ac_status); }; }; then
37608 echo "$as_me: program exited with status $ac_status" >&5
37609 echo "$as_me: failed program was:" >&5
37610 sed 's/^/| /' conftest.
$ac_ext >&5
37612 ( exit $ac_status )
37615 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
37617 CFLAGS
="$ac_save_CFLAGS"
37618 CXXFLAGS
="$ac_save_CXXFLAGS"
37619 LIBS
="$ac_save_LIBS"
37622 if test "x$no_sdl" = x
; then
37623 echo "$as_me:$LINENO: result: yes" >&5
37624 echo "${ECHO_T}yes" >&6
37626 EXTRALIBS_SDL
="$SDL_LIBS"
37627 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
37628 cat >>confdefs.h
<<\_ACEOF
37629 #define wxUSE_LIBSDL 1
37634 echo "$as_me:$LINENO: result: no" >&5
37635 echo "${ECHO_T}no" >&6
37636 if test "$SDL_CONFIG" = "no" ; then
37637 echo "*** The sdl-config script installed by SDL could not be found"
37638 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
37639 echo "*** your path, or set the SDL_CONFIG environment variable to the"
37640 echo "*** full path to sdl-config."
37642 if test -f conf.sdltest
; then
37645 echo "*** Could not run SDL test program, checking why..."
37646 CFLAGS
="$CFLAGS $SDL_CFLAGS"
37647 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
37648 LIBS
="$LIBS $SDL_LIBS"
37649 cat >conftest.
$ac_ext <<_ACEOF
37652 cat confdefs.h
>>conftest.
$ac_ext
37653 cat >>conftest.
$ac_ext <<_ACEOF
37654 /* end confdefs.h. */
37659 int main(int argc, char *argv[])
37662 #define main K_and_R_C_main
37672 rm -f conftest.
$ac_objext conftest
$ac_exeext
37673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37674 (eval $ac_link) 2>conftest.er1
37676 grep -v '^ *+' conftest.er1
>conftest.err
37678 cat conftest.err
>&5
37679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37680 (exit $ac_status); } &&
37681 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37683 (eval $ac_try) 2>&5
37685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37686 (exit $ac_status); }; } &&
37687 { ac_try
='test -s conftest$ac_exeext'
37688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37689 (eval $ac_try) 2>&5
37691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37692 (exit $ac_status); }; }; then
37693 echo "*** The test program compiled, but did not run. This usually means"
37694 echo "*** that the run-time linker is not finding SDL or finding the wrong"
37695 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
37696 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
37697 echo "*** to the installed location Also, make sure you have run ldconfig if that"
37698 echo "*** is required on your system"
37700 echo "*** If you have an old version installed, it is best to remove it, although"
37701 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
37703 echo "$as_me: failed program was:" >&5
37704 sed 's/^/| /' conftest.
$ac_ext >&5
37706 echo "*** The test program failed to compile or link. See the file config.log for the"
37707 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
37708 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
37709 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
37711 rm -f conftest.err conftest.
$ac_objext \
37712 conftest
$ac_exeext conftest.
$ac_ext
37713 CFLAGS
="$ac_save_CFLAGS"
37714 CXXFLAGS
="$ac_save_CXXFLAGS"
37715 LIBS
="$ac_save_LIBS"
37726 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
37732 cat >>confdefs.h
<<\_ACEOF
37733 #define wxUSE_SOUND 1
37736 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
37739 if test "$WXGTK20" = 1; then
37740 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
37741 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37746 if test -z "$PKG_CONFIG"; then
37747 # Extract the first word of "pkg-config", so it can be a program name with args.
37748 set dummy pkg
-config; ac_word
=$2
37749 echo "$as_me:$LINENO: checking for $ac_word" >&5
37750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37751 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
37752 echo $ECHO_N "(cached) $ECHO_C" >&6
37754 case $PKG_CONFIG in
37756 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
37759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37760 for as_dir
in $PATH
37763 test -z "$as_dir" && as_dir
=.
37764 for ac_exec_ext
in '' $ac_executable_extensions; do
37765 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37766 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
37767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37773 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
37777 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
37779 if test -n "$PKG_CONFIG"; then
37780 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
37781 echo "${ECHO_T}$PKG_CONFIG" >&6
37783 echo "$as_me:$LINENO: result: no" >&5
37784 echo "${ECHO_T}no" >&6
37789 if test "$PKG_CONFIG" = "no" ; then
37790 echo "*** The pkg-config script could not be found. Make sure it is"
37791 echo "*** in your path, or set the PKG_CONFIG environment variable"
37792 echo "*** to the full path to pkg-config."
37793 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
37795 PKG_CONFIG_MIN_VERSION
=0.9.0
37796 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
37797 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
37798 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
37800 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
37801 echo "$as_me:$LINENO: result: yes" >&5
37802 echo "${ECHO_T}yes" >&6
37805 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
37806 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
37807 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
37808 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
37809 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
37811 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
37812 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
37813 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
37814 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
37815 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
37817 LIBGNOMEPRINTUI_CFLAGS
=""
37818 LIBGNOMEPRINTUI_LIBS
=""
37819 ## If we have a custom action on failure, don't print errors, but
37820 ## do set a variable so people can do so.
37821 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
37828 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
37829 echo "*** See http://www.freedesktop.org/software/pkgconfig"
37833 if test $succeeded = yes; then
37835 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
37836 cat >>confdefs.h
<<\_ACEOF
37837 #define wxUSE_LIBGNOMEPRINT 1
37843 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
37844 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
37845 wxUSE_LIBGNOMEPRINT
="no"
37855 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
37856 cat >>confdefs.h
<<\_ACEOF
37857 #define wxUSE_CMDLINE_PARSER 1
37862 if test "$wxUSE_STOPWATCH" = "yes"; then
37863 cat >>confdefs.h
<<\_ACEOF
37864 #define wxUSE_STOPWATCH 1
37869 if test "$wxUSE_DATETIME" = "yes"; then
37870 cat >>confdefs.h
<<\_ACEOF
37871 #define wxUSE_DATETIME 1
37876 if test "$wxUSE_FILE" = "yes"; then
37877 cat >>confdefs.h
<<\_ACEOF
37878 #define wxUSE_FILE 1
37883 if test "$wxUSE_FFILE" = "yes"; then
37884 cat >>confdefs.h
<<\_ACEOF
37885 #define wxUSE_FFILE 1
37890 if test "$wxUSE_FILESYSTEM" = "yes"; then
37891 cat >>confdefs.h
<<\_ACEOF
37892 #define wxUSE_FILESYSTEM 1
37897 if test "$wxUSE_FS_ZIP" = "yes"; then
37898 cat >>confdefs.h
<<\_ACEOF
37899 #define wxUSE_FS_ZIP 1
37904 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
37905 cat >>confdefs.h
<<\_ACEOF
37906 #define wxUSE_ARCHIVE_STREAMS 1
37911 if test "$wxUSE_ZIPSTREAM" = "yes"; then
37912 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
37913 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
37914 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
37915 elif test "$wxUSE_ZLIB" = "no"; then
37916 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
37917 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
37919 cat >>confdefs.h
<<\_ACEOF
37920 #define wxUSE_ZIPSTREAM 1
37926 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37927 if test "$USE_UNIX" != 1; then
37928 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
37929 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
37930 wxUSE_ON_FATAL_EXCEPTION
=no
37932 cat >>confdefs.h
<<\_ACEOF
37933 #define wxUSE_ON_FATAL_EXCEPTION 1
37939 if test "$wxUSE_STACKWALKER" = "yes"; then
37940 cat >>confdefs.h
<<\_ACEOF
37941 #define wxUSE_STACKWALKER 1
37946 if test "$wxUSE_DEBUGREPORT" = "yes"; then
37947 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
37948 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
37949 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
37950 wxUSE_DEBUGREPORT
=no
37952 cat >>confdefs.h
<<\_ACEOF
37953 #define wxUSE_DEBUGREPORT 1
37956 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37957 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
37962 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37963 cat >>confdefs.h
<<\_ACEOF
37964 #define wxUSE_SNGLINST_CHECKER 1
37969 if test "$wxUSE_BUSYINFO" = "yes"; then
37970 cat >>confdefs.h
<<\_ACEOF
37971 #define wxUSE_BUSYINFO 1
37976 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
37977 cat >>confdefs.h
<<\_ACEOF
37978 #define wxUSE_STD_IOSTREAM 1
37983 if test "$wxUSE_STD_STRING" = "yes"; then
37984 cat >>confdefs.h
<<\_ACEOF
37985 #define wxUSE_STD_STRING 1
37990 if test "$wxUSE_STDPATHS" = "yes"; then
37991 cat >>confdefs.h
<<\_ACEOF
37992 #define wxUSE_STDPATHS 1
37997 if test "$wxUSE_TEXTBUFFER" = "yes"; then
37998 cat >>confdefs.h
<<\_ACEOF
37999 #define wxUSE_TEXTBUFFER 1
38004 if test "$wxUSE_TEXTFILE" = "yes"; then
38005 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
38006 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
38007 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
38009 cat >>confdefs.h
<<\_ACEOF
38010 #define wxUSE_TEXTFILE 1
38016 if test "$wxUSE_CONFIG" = "yes" ; then
38017 if test "$wxUSE_TEXTFILE" != "yes"; then
38018 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
38019 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
38021 cat >>confdefs.h
<<\_ACEOF
38022 #define wxUSE_CONFIG 1
38025 cat >>confdefs.h
<<\_ACEOF
38026 #define wxUSE_CONFIG_NATIVE 1
38029 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
38033 if test "$wxUSE_INTL" = "yes" ; then
38034 if test "$wxUSE_FILE" != "yes"; then
38035 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
38036 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
38038 cat >>confdefs.h
<<\_ACEOF
38039 #define wxUSE_INTL 1
38042 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
38043 GUIDIST
="$GUIDIST INTL_DIST"
38047 if test "$wxUSE_LOG" = "yes"; then
38048 cat >>confdefs.h
<<\_ACEOF
38049 #define wxUSE_LOG 1
38053 if test "$wxUSE_LOGGUI" = "yes"; then
38054 cat >>confdefs.h
<<\_ACEOF
38055 #define wxUSE_LOGGUI 1
38060 if test "$wxUSE_LOGWINDOW" = "yes"; then
38061 cat >>confdefs.h
<<\_ACEOF
38062 #define wxUSE_LOGWINDOW 1
38067 if test "$wxUSE_LOGDIALOG" = "yes"; then
38068 cat >>confdefs.h
<<\_ACEOF
38069 #define wxUSE_LOG_DIALOG 1
38074 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
38077 if test "$wxUSE_LONGLONG" = "yes"; then
38078 cat >>confdefs.h
<<\_ACEOF
38079 #define wxUSE_LONGLONG 1
38084 if test "$wxUSE_GEOMETRY" = "yes"; then
38085 cat >>confdefs.h
<<\_ACEOF
38086 #define wxUSE_GEOMETRY 1
38091 if test "$wxUSE_STREAMS" = "yes" ; then
38092 cat >>confdefs.h
<<\_ACEOF
38093 #define wxUSE_STREAMS 1
38099 if test "$wxUSE_DATETIME" = "yes"; then
38101 for ac_func
in strptime
38103 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38104 echo "$as_me:$LINENO: checking for $ac_func" >&5
38105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38106 if eval "test \"\${$as_ac_var+set}\" = set"; then
38107 echo $ECHO_N "(cached) $ECHO_C" >&6
38109 cat >conftest.
$ac_ext <<_ACEOF
38112 cat confdefs.h
>>conftest.
$ac_ext
38113 cat >>conftest.
$ac_ext <<_ACEOF
38114 /* end confdefs.h. */
38115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38117 #define $ac_func innocuous_$ac_func
38119 /* System header to define __stub macros and hopefully few prototypes,
38120 which can conflict with char $ac_func (); below.
38121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38122 <limits.h> exists even on freestanding compilers. */
38125 # include <limits.h>
38127 # include <assert.h>
38132 /* Override any gcc2 internal prototype to avoid an error. */
38137 /* We use char because int might match the return type of a gcc2
38138 builtin and then its argument prototype would still apply. */
38140 /* The GNU C library defines this for functions which it implements
38141 to always fail with ENOSYS. Some functions are actually named
38142 something starting with __ and the normal name is an alias. */
38143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38146 char (*f) () = $ac_func;
38155 return f != $ac_func;
38160 rm -f conftest.
$ac_objext conftest
$ac_exeext
38161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38162 (eval $ac_link) 2>conftest.er1
38164 grep -v '^ *+' conftest.er1
>conftest.err
38166 cat conftest.err
>&5
38167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38168 (exit $ac_status); } &&
38169 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38171 (eval $ac_try) 2>&5
38173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38174 (exit $ac_status); }; } &&
38175 { ac_try
='test -s conftest$ac_exeext'
38176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38177 (eval $ac_try) 2>&5
38179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38180 (exit $ac_status); }; }; then
38181 eval "$as_ac_var=yes"
38183 echo "$as_me: failed program was:" >&5
38184 sed 's/^/| /' conftest.
$ac_ext >&5
38186 eval "$as_ac_var=no"
38188 rm -f conftest.err conftest.
$ac_objext \
38189 conftest
$ac_exeext conftest.
$ac_ext
38191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38192 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38193 if test `eval echo '${'$as_ac_var'}'` = yes; then
38194 cat >>confdefs.h
<<_ACEOF
38195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38202 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
38203 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
38204 if test "${wx_cv_var_timezone+set}" = set; then
38205 echo $ECHO_N "(cached) $ECHO_C" >&6
38208 cat >conftest.
$ac_ext <<_ACEOF
38211 cat confdefs.h
>>conftest.
$ac_ext
38212 cat >>conftest.
$ac_ext <<_ACEOF
38213 /* end confdefs.h. */
38228 rm -f conftest.
$ac_objext
38229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38230 (eval $ac_compile) 2>conftest.er1
38232 grep -v '^ *+' conftest.er1
>conftest.err
38234 cat conftest.err
>&5
38235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38236 (exit $ac_status); } &&
38237 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38239 (eval $ac_try) 2>&5
38241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38242 (exit $ac_status); }; } &&
38243 { ac_try
='test -s conftest.$ac_objext'
38244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38245 (eval $ac_try) 2>&5
38247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38248 (exit $ac_status); }; }; then
38250 wx_cv_var_timezone
=timezone
38253 echo "$as_me: failed program was:" >&5
38254 sed 's/^/| /' conftest.
$ac_ext >&5
38257 cat >conftest.
$ac_ext <<_ACEOF
38260 cat confdefs.h
>>conftest.
$ac_ext
38261 cat >>conftest.
$ac_ext <<_ACEOF
38262 /* end confdefs.h. */
38277 rm -f conftest.
$ac_objext
38278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38279 (eval $ac_compile) 2>conftest.er1
38281 grep -v '^ *+' conftest.er1
>conftest.err
38283 cat conftest.err
>&5
38284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38285 (exit $ac_status); } &&
38286 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38288 (eval $ac_try) 2>&5
38290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38291 (exit $ac_status); }; } &&
38292 { ac_try
='test -s conftest.$ac_objext'
38293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38294 (eval $ac_try) 2>&5
38296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38297 (exit $ac_status); }; }; then
38299 wx_cv_var_timezone
=_timezone
38302 echo "$as_me: failed program was:" >&5
38303 sed 's/^/| /' conftest.
$ac_ext >&5
38306 cat >conftest.
$ac_ext <<_ACEOF
38309 cat confdefs.h
>>conftest.
$ac_ext
38310 cat >>conftest.
$ac_ext <<_ACEOF
38311 /* end confdefs.h. */
38326 rm -f conftest.
$ac_objext
38327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38328 (eval $ac_compile) 2>conftest.er1
38330 grep -v '^ *+' conftest.er1
>conftest.err
38332 cat conftest.err
>&5
38333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38334 (exit $ac_status); } &&
38335 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38337 (eval $ac_try) 2>&5
38339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38340 (exit $ac_status); }; } &&
38341 { ac_try
='test -s conftest.$ac_objext'
38342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38343 (eval $ac_try) 2>&5
38345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38346 (exit $ac_status); }; }; then
38348 wx_cv_var_timezone
=__timezone
38351 echo "$as_me: failed program was:" >&5
38352 sed 's/^/| /' conftest.
$ac_ext >&5
38355 if test "$USE_DOS" = 0 ; then
38356 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
38357 echo "$as_me: WARNING: no timezone variable" >&2;}
38362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38366 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38374 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
38375 echo "${ECHO_T}$wx_cv_var_timezone" >&6
38377 if test "x$wx_cv_var_timezone" != x
; then
38378 cat >>confdefs.h
<<_ACEOF
38379 #define WX_TIMEZONE $wx_cv_var_timezone
38385 for ac_func
in localtime
38387 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38388 echo "$as_me:$LINENO: checking for $ac_func" >&5
38389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38390 if eval "test \"\${$as_ac_var+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 $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38401 #define $ac_func innocuous_$ac_func
38403 /* System header to define __stub macros and hopefully few prototypes,
38404 which can conflict with char $ac_func (); 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. */
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_$ac_func) || defined (__stub___$ac_func)
38430 char (*f) () = $ac_func;
38439 return f != $ac_func;
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" || test ! -s conftest.err'
38454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38455 (eval $ac_try) 2>&5
38457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38458 (exit $ac_status); }; } &&
38459 { ac_try
='test -s conftest$ac_exeext'
38460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38461 (eval $ac_try) 2>&5
38463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38464 (exit $ac_status); }; }; then
38465 eval "$as_ac_var=yes"
38467 echo "$as_me: failed program was:" >&5
38468 sed 's/^/| /' conftest.
$ac_ext >&5
38470 eval "$as_ac_var=no"
38472 rm -f conftest.err conftest.
$ac_objext \
38473 conftest
$ac_exeext conftest.
$ac_ext
38475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38477 if test `eval echo '${'$as_ac_var'}'` = yes; then
38478 cat >>confdefs.h
<<_ACEOF
38479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38486 if test "$ac_cv_func_localtime" = "yes"; then
38487 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
38488 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
38489 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
38490 echo $ECHO_N "(cached) $ECHO_C" >&6
38493 cat >conftest.
$ac_ext <<_ACEOF
38496 cat confdefs.h
>>conftest.
$ac_ext
38497 cat >>conftest.
$ac_ext <<_ACEOF
38498 /* end confdefs.h. */
38513 rm -f conftest.
$ac_objext
38514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38515 (eval $ac_compile) 2>conftest.er1
38517 grep -v '^ *+' conftest.er1
>conftest.err
38519 cat conftest.err
>&5
38520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38521 (exit $ac_status); } &&
38522 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38524 (eval $ac_try) 2>&5
38526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38527 (exit $ac_status); }; } &&
38528 { ac_try
='test -s conftest.$ac_objext'
38529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38530 (eval $ac_try) 2>&5
38532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38533 (exit $ac_status); }; }; then
38535 wx_cv_struct_tm_has_gmtoff
=yes
38538 echo "$as_me: failed program was:" >&5
38539 sed 's/^/| /' conftest.
$ac_ext >&5
38541 wx_cv_struct_tm_has_gmtoff
=no
38544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38547 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
38548 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
38551 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
38552 cat >>confdefs.h
<<\_ACEOF
38553 #define WX_GMTOFF_IN_TM 1
38560 for ac_func
in gettimeofday ftime
38562 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38563 echo "$as_me:$LINENO: checking for $ac_func" >&5
38564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38565 if eval "test \"\${$as_ac_var+set}\" = set"; then
38566 echo $ECHO_N "(cached) $ECHO_C" >&6
38568 cat >conftest.
$ac_ext <<_ACEOF
38571 cat confdefs.h
>>conftest.
$ac_ext
38572 cat >>conftest.
$ac_ext <<_ACEOF
38573 /* end confdefs.h. */
38574 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38575 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38576 #define $ac_func innocuous_$ac_func
38578 /* System header to define __stub macros and hopefully few prototypes,
38579 which can conflict with char $ac_func (); below.
38580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38581 <limits.h> exists even on freestanding compilers. */
38584 # include <limits.h>
38586 # include <assert.h>
38591 /* Override any gcc2 internal prototype to avoid an error. */
38596 /* We use char because int might match the return type of a gcc2
38597 builtin and then its argument prototype would still apply. */
38599 /* The GNU C library defines this for functions which it implements
38600 to always fail with ENOSYS. Some functions are actually named
38601 something starting with __ and the normal name is an alias. */
38602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38605 char (*f) () = $ac_func;
38614 return f != $ac_func;
38619 rm -f conftest.
$ac_objext conftest
$ac_exeext
38620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38621 (eval $ac_link) 2>conftest.er1
38623 grep -v '^ *+' conftest.er1
>conftest.err
38625 cat conftest.err
>&5
38626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38627 (exit $ac_status); } &&
38628 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38630 (eval $ac_try) 2>&5
38632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38633 (exit $ac_status); }; } &&
38634 { ac_try
='test -s conftest$ac_exeext'
38635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38636 (eval $ac_try) 2>&5
38638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38639 (exit $ac_status); }; }; then
38640 eval "$as_ac_var=yes"
38642 echo "$as_me: failed program was:" >&5
38643 sed 's/^/| /' conftest.
$ac_ext >&5
38645 eval "$as_ac_var=no"
38647 rm -f conftest.err conftest.
$ac_objext \
38648 conftest
$ac_exeext conftest.
$ac_ext
38650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38652 if test `eval echo '${'$as_ac_var'}'` = yes; then
38653 cat >>confdefs.h
<<_ACEOF
38654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38661 if test "$ac_cv_func_gettimeofday" = "yes"; then
38662 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
38663 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
38664 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
38665 echo $ECHO_N "(cached) $ECHO_C" >&6
38671 ac_cpp
='$CXXCPP $CPPFLAGS'
38672 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38673 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38674 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38677 cat >conftest.
$ac_ext <<_ACEOF
38680 cat confdefs.h
>>conftest.
$ac_ext
38681 cat >>conftest.
$ac_ext <<_ACEOF
38682 /* end confdefs.h. */
38684 #include <sys/time.h>
38685 #include <unistd.h>
38692 gettimeofday(&tv, NULL);
38698 rm -f conftest.
$ac_objext
38699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38700 (eval $ac_compile) 2>conftest.er1
38702 grep -v '^ *+' conftest.er1
>conftest.err
38704 cat conftest.err
>&5
38705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38706 (exit $ac_status); } &&
38707 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38709 (eval $ac_try) 2>&5
38711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38712 (exit $ac_status); }; } &&
38713 { ac_try
='test -s conftest.$ac_objext'
38714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38715 (eval $ac_try) 2>&5
38717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38718 (exit $ac_status); }; }; then
38719 wx_cv_func_gettimeofday_has_2_args
=yes
38721 echo "$as_me: failed program was:" >&5
38722 sed 's/^/| /' conftest.
$ac_ext >&5
38724 cat >conftest.
$ac_ext <<_ACEOF
38727 cat confdefs.h
>>conftest.
$ac_ext
38728 cat >>conftest.
$ac_ext <<_ACEOF
38729 /* end confdefs.h. */
38731 #include <sys/time.h>
38732 #include <unistd.h>
38745 rm -f conftest.
$ac_objext
38746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38747 (eval $ac_compile) 2>conftest.er1
38749 grep -v '^ *+' conftest.er1
>conftest.err
38751 cat conftest.err
>&5
38752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38753 (exit $ac_status); } &&
38754 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38756 (eval $ac_try) 2>&5
38758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38759 (exit $ac_status); }; } &&
38760 { ac_try
='test -s conftest.$ac_objext'
38761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38762 (eval $ac_try) 2>&5
38764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38765 (exit $ac_status); }; }; then
38766 wx_cv_func_gettimeofday_has_2_args
=no
38768 echo "$as_me: failed program was:" >&5
38769 sed 's/^/| /' conftest.
$ac_ext >&5
38772 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
38773 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
38774 wx_cv_func_gettimeofday_has_2_args
=unknown
38778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38781 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38783 ac_cpp
='$CPP $CPPFLAGS'
38784 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38785 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38786 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38790 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
38791 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
38793 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
38794 cat >>confdefs.h
<<\_ACEOF
38795 #define WX_GETTIMEOFDAY_NO_TZ 1
38801 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
38805 if test "$wxUSE_SOCKETS" = "yes"; then
38806 if test "$wxUSE_MGL" = "1"; then
38807 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
38808 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
38813 if test "$wxUSE_SOCKETS" = "yes"; then
38814 if test "$TOOLKIT" != "MSW"; then
38815 echo "$as_me:$LINENO: checking for socket" >&5
38816 echo $ECHO_N "checking for socket... $ECHO_C" >&6
38817 if test "${ac_cv_func_socket+set}" = set; then
38818 echo $ECHO_N "(cached) $ECHO_C" >&6
38820 cat >conftest.
$ac_ext <<_ACEOF
38823 cat confdefs.h
>>conftest.
$ac_ext
38824 cat >>conftest.
$ac_ext <<_ACEOF
38825 /* end confdefs.h. */
38826 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
38827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38828 #define socket innocuous_socket
38830 /* System header to define __stub macros and hopefully few prototypes,
38831 which can conflict with char socket (); below.
38832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38833 <limits.h> exists even on freestanding compilers. */
38836 # include <limits.h>
38838 # include <assert.h>
38843 /* Override any gcc2 internal prototype to avoid an error. */
38848 /* We use char because int might match the return type of a gcc2
38849 builtin and then its argument prototype would still apply. */
38851 /* The GNU C library defines this for functions which it implements
38852 to always fail with ENOSYS. Some functions are actually named
38853 something starting with __ and the normal name is an alias. */
38854 #if defined (__stub_socket) || defined (__stub___socket)
38857 char (*f) () = socket;
38866 return f != socket;
38871 rm -f conftest.
$ac_objext conftest
$ac_exeext
38872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38873 (eval $ac_link) 2>conftest.er1
38875 grep -v '^ *+' conftest.er1
>conftest.err
38877 cat conftest.err
>&5
38878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38879 (exit $ac_status); } &&
38880 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38882 (eval $ac_try) 2>&5
38884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38885 (exit $ac_status); }; } &&
38886 { ac_try
='test -s conftest$ac_exeext'
38887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38888 (eval $ac_try) 2>&5
38890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38891 (exit $ac_status); }; }; then
38892 ac_cv_func_socket
=yes
38894 echo "$as_me: failed program was:" >&5
38895 sed 's/^/| /' conftest.
$ac_ext >&5
38897 ac_cv_func_socket
=no
38899 rm -f conftest.err conftest.
$ac_objext \
38900 conftest
$ac_exeext conftest.
$ac_ext
38902 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
38903 echo "${ECHO_T}$ac_cv_func_socket" >&6
38904 if test $ac_cv_func_socket = yes; then
38908 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
38909 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
38910 if test "${ac_cv_lib_socket_socket+set}" = set; then
38911 echo $ECHO_N "(cached) $ECHO_C" >&6
38913 ac_check_lib_save_LIBS
=$LIBS
38914 LIBS
="-lsocket $LIBS"
38915 cat >conftest.
$ac_ext <<_ACEOF
38918 cat confdefs.h
>>conftest.
$ac_ext
38919 cat >>conftest.
$ac_ext <<_ACEOF
38920 /* end confdefs.h. */
38922 /* Override any gcc2 internal prototype to avoid an error. */
38926 /* We use char because int might match the return type of a gcc2
38927 builtin and then its argument prototype would still apply. */
38937 rm -f conftest.
$ac_objext conftest
$ac_exeext
38938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38939 (eval $ac_link) 2>conftest.er1
38941 grep -v '^ *+' conftest.er1
>conftest.err
38943 cat conftest.err
>&5
38944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38945 (exit $ac_status); } &&
38946 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38948 (eval $ac_try) 2>&5
38950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38951 (exit $ac_status); }; } &&
38952 { ac_try
='test -s conftest$ac_exeext'
38953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38954 (eval $ac_try) 2>&5
38956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38957 (exit $ac_status); }; }; then
38958 ac_cv_lib_socket_socket
=yes
38960 echo "$as_me: failed program was:" >&5
38961 sed 's/^/| /' conftest.
$ac_ext >&5
38963 ac_cv_lib_socket_socket
=no
38965 rm -f conftest.err conftest.
$ac_objext \
38966 conftest
$ac_exeext conftest.
$ac_ext
38967 LIBS
=$ac_check_lib_save_LIBS
38969 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
38970 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
38971 if test $ac_cv_lib_socket_socket = yes; then
38972 if test "$INET_LINK" != " -lsocket"; then
38973 INET_LINK
="$INET_LINK -lsocket"
38977 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
38978 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
38991 if test "$wxUSE_SOCKETS" = "yes" ; then
38992 if test "$TOOLKIT" != "MSW"; then
38994 ac_cpp
='$CXXCPP $CPPFLAGS'
38995 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38996 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38997 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38999 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
39000 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
39001 if test "${wx_cv_type_getsockname3+set}" = set; then
39002 echo $ECHO_N "(cached) $ECHO_C" >&6
39005 cat >conftest.
$ac_ext <<_ACEOF
39008 cat confdefs.h
>>conftest.
$ac_ext
39009 cat >>conftest.
$ac_ext <<_ACEOF
39010 /* end confdefs.h. */
39012 #include <sys/types.h>
39013 #include <sys/socket.h>
39020 getsockname(0, 0, &len);
39026 rm -f conftest.
$ac_objext
39027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39028 (eval $ac_compile) 2>conftest.er1
39030 grep -v '^ *+' conftest.er1
>conftest.err
39032 cat conftest.err
>&5
39033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39034 (exit $ac_status); } &&
39035 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39037 (eval $ac_try) 2>&5
39039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39040 (exit $ac_status); }; } &&
39041 { ac_try
='test -s conftest.$ac_objext'
39042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39043 (eval $ac_try) 2>&5
39045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39046 (exit $ac_status); }; }; then
39047 wx_cv_type_getsockname3
=socklen_t
39049 echo "$as_me: failed program was:" >&5
39050 sed 's/^/| /' conftest.
$ac_ext >&5
39053 CFLAGS_OLD
="$CFLAGS"
39054 if test "$GCC" = yes ; then
39055 CFLAGS
="$CFLAGS -Werror"
39058 cat >conftest.
$ac_ext <<_ACEOF
39061 cat confdefs.h
>>conftest.
$ac_ext
39062 cat >>conftest.
$ac_ext <<_ACEOF
39063 /* end confdefs.h. */
39065 #include <sys/types.h>
39066 #include <sys/socket.h>
39073 getsockname(0, 0, &len);
39079 rm -f conftest.
$ac_objext
39080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39081 (eval $ac_compile) 2>conftest.er1
39083 grep -v '^ *+' conftest.er1
>conftest.err
39085 cat conftest.err
>&5
39086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39087 (exit $ac_status); } &&
39088 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39090 (eval $ac_try) 2>&5
39092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39093 (exit $ac_status); }; } &&
39094 { ac_try
='test -s conftest.$ac_objext'
39095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39096 (eval $ac_try) 2>&5
39098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39099 (exit $ac_status); }; }; then
39100 wx_cv_type_getsockname3
=size_t
39102 echo "$as_me: failed program was:" >&5
39103 sed 's/^/| /' conftest.
$ac_ext >&5
39105 cat >conftest.
$ac_ext <<_ACEOF
39108 cat confdefs.h
>>conftest.
$ac_ext
39109 cat >>conftest.
$ac_ext <<_ACEOF
39110 /* end confdefs.h. */
39112 #include <sys/types.h>
39113 #include <sys/socket.h>
39120 getsockname(0, 0, &len);
39126 rm -f conftest.
$ac_objext
39127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39128 (eval $ac_compile) 2>conftest.er1
39130 grep -v '^ *+' conftest.er1
>conftest.err
39132 cat conftest.err
>&5
39133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39134 (exit $ac_status); } &&
39135 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39137 (eval $ac_try) 2>&5
39139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39140 (exit $ac_status); }; } &&
39141 { ac_try
='test -s conftest.$ac_objext'
39142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39143 (eval $ac_try) 2>&5
39145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39146 (exit $ac_status); }; }; then
39147 wx_cv_type_getsockname3
=int
39149 echo "$as_me: failed program was:" >&5
39150 sed 's/^/| /' conftest.
$ac_ext >&5
39152 wx_cv_type_getsockname3
=unknown
39155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39158 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39160 CFLAGS
="$CFLAGS_OLD"
39164 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39167 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
39168 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
39170 if test "$wx_cv_type_getsockname3" = "unknown"; then
39172 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
39173 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
39175 cat >>confdefs.h
<<_ACEOF
39176 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
39180 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
39181 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
39182 if test "${wx_cv_type_getsockopt5+set}" = set; then
39183 echo $ECHO_N "(cached) $ECHO_C" >&6
39186 cat >conftest.
$ac_ext <<_ACEOF
39189 cat confdefs.h
>>conftest.
$ac_ext
39190 cat >>conftest.
$ac_ext <<_ACEOF
39191 /* end confdefs.h. */
39193 #include <sys/types.h>
39194 #include <sys/socket.h>
39201 getsockopt(0, 0, 0, 0, &len);
39207 rm -f conftest.
$ac_objext
39208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39209 (eval $ac_compile) 2>conftest.er1
39211 grep -v '^ *+' conftest.er1
>conftest.err
39213 cat conftest.err
>&5
39214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39215 (exit $ac_status); } &&
39216 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39218 (eval $ac_try) 2>&5
39220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39221 (exit $ac_status); }; } &&
39222 { ac_try
='test -s conftest.$ac_objext'
39223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39224 (eval $ac_try) 2>&5
39226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39227 (exit $ac_status); }; }; then
39228 wx_cv_type_getsockopt5
=socklen_t
39230 echo "$as_me: failed program was:" >&5
39231 sed 's/^/| /' conftest.
$ac_ext >&5
39234 CFLAGS_OLD
="$CFLAGS"
39235 if test "$GCC" = yes ; then
39236 CFLAGS
="$CFLAGS -Werror"
39239 cat >conftest.
$ac_ext <<_ACEOF
39242 cat confdefs.h
>>conftest.
$ac_ext
39243 cat >>conftest.
$ac_ext <<_ACEOF
39244 /* end confdefs.h. */
39246 #include <sys/types.h>
39247 #include <sys/socket.h>
39254 getsockopt(0, 0, 0, 0, &len);
39260 rm -f conftest.
$ac_objext
39261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39262 (eval $ac_compile) 2>conftest.er1
39264 grep -v '^ *+' conftest.er1
>conftest.err
39266 cat conftest.err
>&5
39267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39268 (exit $ac_status); } &&
39269 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39271 (eval $ac_try) 2>&5
39273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39274 (exit $ac_status); }; } &&
39275 { ac_try
='test -s conftest.$ac_objext'
39276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39277 (eval $ac_try) 2>&5
39279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39280 (exit $ac_status); }; }; then
39281 wx_cv_type_getsockopt5
=size_t
39283 echo "$as_me: failed program was:" >&5
39284 sed 's/^/| /' conftest.
$ac_ext >&5
39286 cat >conftest.
$ac_ext <<_ACEOF
39289 cat confdefs.h
>>conftest.
$ac_ext
39290 cat >>conftest.
$ac_ext <<_ACEOF
39291 /* end confdefs.h. */
39293 #include <sys/types.h>
39294 #include <sys/socket.h>
39301 getsockopt(0, 0, 0, 0, &len);
39307 rm -f conftest.
$ac_objext
39308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39309 (eval $ac_compile) 2>conftest.er1
39311 grep -v '^ *+' conftest.er1
>conftest.err
39313 cat conftest.err
>&5
39314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39315 (exit $ac_status); } &&
39316 { ac_try
='test -z "$ac_cxx_werror_flag" || 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 wx_cv_type_getsockopt5
=int
39330 echo "$as_me: failed program was:" >&5
39331 sed 's/^/| /' conftest.
$ac_ext >&5
39333 wx_cv_type_getsockopt5
=unknown
39336 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39341 CFLAGS
="$CFLAGS_OLD"
39345 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39348 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
39349 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
39351 if test "$wx_cv_type_getsockopt5" = "unknown"; then
39353 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
39354 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
39356 cat >>confdefs.h
<<_ACEOF
39357 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
39362 ac_cpp
='$CPP $CPPFLAGS'
39363 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39364 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39365 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39370 if test "$wxUSE_SOCKETS" = "yes" ; then
39371 cat >>confdefs.h
<<\_ACEOF
39372 #define wxUSE_SOCKETS 1
39375 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
39378 if test "$wxUSE_PROTOCOL" = "yes"; then
39379 if test "$wxUSE_SOCKETS" != "yes"; then
39380 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
39381 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
39386 if test "$wxUSE_PROTOCOL" = "yes"; then
39387 cat >>confdefs.h
<<\_ACEOF
39388 #define wxUSE_PROTOCOL 1
39392 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
39393 cat >>confdefs.h
<<\_ACEOF
39394 #define wxUSE_PROTOCOL_HTTP 1
39398 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
39399 cat >>confdefs.h
<<\_ACEOF
39400 #define wxUSE_PROTOCOL_FTP 1
39404 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
39405 cat >>confdefs.h
<<\_ACEOF
39406 #define wxUSE_PROTOCOL_FILE 1
39411 if test "$wxUSE_FS_INET" = "yes"; then
39412 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
39413 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
39418 if test "$wxUSE_URL" = "yes"; then
39419 if test "$wxUSE_PROTOCOL" != "yes"; then
39420 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
39421 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
39424 if test "$wxUSE_URL" = "yes"; then
39425 cat >>confdefs.h
<<\_ACEOF
39426 #define wxUSE_URL 1
39432 if test "$wxUSE_FS_INET" = "yes"; then
39433 cat >>confdefs.h
<<\_ACEOF
39434 #define wxUSE_FS_INET 1
39440 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
39443 if test "$TOOLKIT" = "MSW"; then
39446 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
39447 if test "$USE_DARWIN" = 1; then
39448 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
39449 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
39451 ac_cpp
='$CXXCPP $CPPFLAGS'
39452 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39453 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39454 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39456 cat >conftest.
$ac_ext <<_ACEOF
39459 cat confdefs.h
>>conftest.
$ac_ext
39460 cat >>conftest.
$ac_ext <<_ACEOF
39461 /* end confdefs.h. */
39462 #include <IOKit/hid/IOHIDLib.h>
39466 IOHIDQueueInterface *qi = NULL;
39467 IOHIDCallbackFunction cb = NULL;
39468 qi->setEventCallout(NULL, cb, NULL, NULL);
39473 rm -f conftest.
$ac_objext
39474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39475 (eval $ac_compile) 2>conftest.er1
39477 grep -v '^ *+' conftest.er1
>conftest.err
39479 cat conftest.err
>&5
39480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39481 (exit $ac_status); } &&
39482 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39484 (eval $ac_try) 2>&5
39486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39487 (exit $ac_status); }; } &&
39488 { ac_try
='test -s conftest.$ac_objext'
39489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39490 (eval $ac_try) 2>&5
39492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39493 (exit $ac_status); }; }; then
39497 echo "$as_me: failed program was:" >&5
39498 sed 's/^/| /' conftest.
$ac_ext >&5
39501 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39503 ac_cpp
='$CPP $CPPFLAGS'
39504 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39505 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39506 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39508 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
39509 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
39514 for ac_header
in linux
/joystick.h
39516 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39517 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39518 echo "$as_me:$LINENO: checking for $ac_header" >&5
39519 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39520 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39521 echo $ECHO_N "(cached) $ECHO_C" >&6
39523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39524 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39526 # Is the header compilable?
39527 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39528 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39529 cat >conftest.
$ac_ext <<_ACEOF
39532 cat confdefs.h
>>conftest.
$ac_ext
39533 cat >>conftest.
$ac_ext <<_ACEOF
39534 /* end confdefs.h. */
39535 $ac_includes_default
39536 #include <$ac_header>
39538 rm -f conftest.
$ac_objext
39539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39540 (eval $ac_compile) 2>conftest.er1
39542 grep -v '^ *+' conftest.er1
>conftest.err
39544 cat conftest.err
>&5
39545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39546 (exit $ac_status); } &&
39547 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39549 (eval $ac_try) 2>&5
39551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39552 (exit $ac_status); }; } &&
39553 { ac_try
='test -s conftest.$ac_objext'
39554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39555 (eval $ac_try) 2>&5
39557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39558 (exit $ac_status); }; }; then
39559 ac_header_compiler
=yes
39561 echo "$as_me: failed program was:" >&5
39562 sed 's/^/| /' conftest.
$ac_ext >&5
39564 ac_header_compiler
=no
39566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39567 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39568 echo "${ECHO_T}$ac_header_compiler" >&6
39570 # Is the header present?
39571 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39572 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39573 cat >conftest.
$ac_ext <<_ACEOF
39576 cat confdefs.h
>>conftest.
$ac_ext
39577 cat >>conftest.
$ac_ext <<_ACEOF
39578 /* end confdefs.h. */
39579 #include <$ac_header>
39581 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39582 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39584 grep -v '^ *+' conftest.er1
>conftest.err
39586 cat conftest.err
>&5
39587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39588 (exit $ac_status); } >/dev
/null
; then
39589 if test -s conftest.err
; then
39590 ac_cpp_err
=$ac_c_preproc_warn_flag
39591 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
39598 if test -z "$ac_cpp_err"; then
39599 ac_header_preproc
=yes
39601 echo "$as_me: failed program was:" >&5
39602 sed 's/^/| /' conftest.
$ac_ext >&5
39604 ac_header_preproc
=no
39606 rm -f conftest.err conftest.
$ac_ext
39607 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39608 echo "${ECHO_T}$ac_header_preproc" >&6
39610 # So? What about this header?
39611 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39613 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39614 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39615 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39616 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39617 ac_header_preproc
=yes
39620 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39621 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39622 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39623 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39624 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39625 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39626 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39627 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39628 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39629 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39630 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39631 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39634 ## ----------------------------------------- ##
39635 ## Report this to wx-dev@lists.wxwidgets.org ##
39636 ## ----------------------------------------- ##
39639 sed "s/^/$as_me: WARNING: /" >&2
39642 echo "$as_me:$LINENO: checking for $ac_header" >&5
39643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39644 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39645 echo $ECHO_N "(cached) $ECHO_C" >&6
39647 eval "$as_ac_Header=\$ac_header_preproc"
39649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39650 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39653 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39654 cat >>confdefs.h
<<_ACEOF
39655 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39664 if test "$wxUSE_JOYSTICK" = "yes"; then
39665 cat >>confdefs.h
<<\_ACEOF
39666 #define wxUSE_JOYSTICK 1
39669 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
39671 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
39672 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
39678 if test "$wxUSE_FONTMAP" = "yes" ; then
39679 cat >>confdefs.h
<<\_ACEOF
39680 #define wxUSE_FONTMAP 1
39685 if test "$wxUSE_UNICODE" = "yes" ; then
39686 cat >>confdefs.h
<<\_ACEOF
39687 #define wxUSE_UNICODE 1
39691 if test "$USE_WIN32" != 1; then
39692 wxUSE_UNICODE_MSLU
=no
39695 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
39696 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
39697 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
39698 if test "${ac_cv_lib_unicows_main+set}" = set; then
39699 echo $ECHO_N "(cached) $ECHO_C" >&6
39701 ac_check_lib_save_LIBS
=$LIBS
39702 LIBS
="-lunicows $LIBS"
39703 cat >conftest.
$ac_ext <<_ACEOF
39706 cat confdefs.h
>>conftest.
$ac_ext
39707 cat >>conftest.
$ac_ext <<_ACEOF
39708 /* end confdefs.h. */
39719 rm -f conftest.
$ac_objext conftest
$ac_exeext
39720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39721 (eval $ac_link) 2>conftest.er1
39723 grep -v '^ *+' conftest.er1
>conftest.err
39725 cat conftest.err
>&5
39726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39727 (exit $ac_status); } &&
39728 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39730 (eval $ac_try) 2>&5
39732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39733 (exit $ac_status); }; } &&
39734 { ac_try
='test -s conftest$ac_exeext'
39735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39736 (eval $ac_try) 2>&5
39738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39739 (exit $ac_status); }; }; then
39740 ac_cv_lib_unicows_main
=yes
39742 echo "$as_me: failed program was:" >&5
39743 sed 's/^/| /' conftest.
$ac_ext >&5
39745 ac_cv_lib_unicows_main
=no
39747 rm -f conftest.err conftest.
$ac_objext \
39748 conftest
$ac_exeext conftest.
$ac_ext
39749 LIBS
=$ac_check_lib_save_LIBS
39751 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
39752 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
39753 if test $ac_cv_lib_unicows_main = yes; then
39755 cat >>confdefs.h
<<\_ACEOF
39756 #define wxUSE_UNICODE_MSLU 1
39762 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
39763 Applications will only run on Windows NT/2000/XP!" >&5
39764 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
39765 Applications will only run on Windows NT/2000/XP!" >&2;}
39766 wxUSE_UNICODE_MSLU
=no
39773 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
39774 cat >>confdefs.h
<<\_ACEOF
39775 #define wxUSE_EXPERIMENTAL_PRINTF 1
39781 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
39782 cat >>confdefs.h
<<\_ACEOF
39783 #define wxUSE_POSTSCRIPT 1
39788 cat >>confdefs.h
<<\_ACEOF
39789 #define wxUSE_AFM_FOR_POSTSCRIPT 1
39793 cat >>confdefs.h
<<\_ACEOF
39794 #define wxUSE_NORMALIZED_PS_FONTS 1
39799 if test "$wxUSE_CONSTRAINTS" = "yes"; then
39800 cat >>confdefs.h
<<\_ACEOF
39801 #define wxUSE_CONSTRAINTS 1
39804 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
39807 if test "$wxUSE_MDI" = "yes"; then
39808 cat >>confdefs.h
<<\_ACEOF
39809 #define wxUSE_MDI 1
39813 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
39814 cat >>confdefs.h
<<\_ACEOF
39815 #define wxUSE_MDI_ARCHITECTURE 1
39818 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
39822 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
39823 cat >>confdefs.h
<<\_ACEOF
39824 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
39827 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
39828 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
39829 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
39833 if test "$wxUSE_HELP" = "yes"; then
39834 cat >>confdefs.h
<<\_ACEOF
39835 #define wxUSE_HELP 1
39838 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
39840 if test "$wxUSE_MSW" = 1; then
39841 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
39842 cat >>confdefs.h
<<\_ACEOF
39843 #define wxUSE_MS_HTML_HELP 1
39849 if test "$wxUSE_WXHTML_HELP" = "yes"; then
39850 if test "$wxUSE_HTML" = "yes"; then
39851 cat >>confdefs.h
<<\_ACEOF
39852 #define wxUSE_WXHTML_HELP 1
39856 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
39857 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
39858 wxUSE_WXHTML_HELP
=no
39863 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
39864 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39865 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
39866 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
39868 cat >>confdefs.h
<<\_ACEOF
39869 #define wxUSE_PRINTING_ARCHITECTURE 1
39873 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
39876 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
39877 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
39878 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
39879 { (exit 1); exit 1; }; }
39883 if test "$wxUSE_METAFILE" = "yes"; then
39884 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
39885 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
39886 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
39892 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
39893 -o "$wxUSE_CLIPBOARD" = "yes" \
39894 -o "$wxUSE_OLE" = "yes" \
39895 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
39897 for ac_header
in ole2.h
39899 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39900 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39901 echo "$as_me:$LINENO: checking for $ac_header" >&5
39902 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39903 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39904 echo $ECHO_N "(cached) $ECHO_C" >&6
39906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39907 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39909 # Is the header compilable?
39910 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39911 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39912 cat >conftest.
$ac_ext <<_ACEOF
39915 cat confdefs.h
>>conftest.
$ac_ext
39916 cat >>conftest.
$ac_ext <<_ACEOF
39917 /* end confdefs.h. */
39918 $ac_includes_default
39919 #include <$ac_header>
39921 rm -f conftest.
$ac_objext
39922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39923 (eval $ac_compile) 2>conftest.er1
39925 grep -v '^ *+' conftest.er1
>conftest.err
39927 cat conftest.err
>&5
39928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39929 (exit $ac_status); } &&
39930 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39932 (eval $ac_try) 2>&5
39934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39935 (exit $ac_status); }; } &&
39936 { ac_try
='test -s conftest.$ac_objext'
39937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39938 (eval $ac_try) 2>&5
39940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39941 (exit $ac_status); }; }; then
39942 ac_header_compiler
=yes
39944 echo "$as_me: failed program was:" >&5
39945 sed 's/^/| /' conftest.
$ac_ext >&5
39947 ac_header_compiler
=no
39949 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39950 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39951 echo "${ECHO_T}$ac_header_compiler" >&6
39953 # Is the header present?
39954 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39955 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39956 cat >conftest.
$ac_ext <<_ACEOF
39959 cat confdefs.h
>>conftest.
$ac_ext
39960 cat >>conftest.
$ac_ext <<_ACEOF
39961 /* end confdefs.h. */
39962 #include <$ac_header>
39964 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39965 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39967 grep -v '^ *+' conftest.er1
>conftest.err
39969 cat conftest.err
>&5
39970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39971 (exit $ac_status); } >/dev
/null
; then
39972 if test -s conftest.err
; then
39973 ac_cpp_err
=$ac_c_preproc_warn_flag
39974 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
39981 if test -z "$ac_cpp_err"; then
39982 ac_header_preproc
=yes
39984 echo "$as_me: failed program was:" >&5
39985 sed 's/^/| /' conftest.
$ac_ext >&5
39987 ac_header_preproc
=no
39989 rm -f conftest.err conftest.
$ac_ext
39990 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39991 echo "${ECHO_T}$ac_header_preproc" >&6
39993 # So? What about this header?
39994 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39996 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39997 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39998 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39999 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40000 ac_header_preproc
=yes
40003 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40004 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40005 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40006 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40007 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40008 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40009 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40010 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40011 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40012 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40013 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40014 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40017 ## ----------------------------------------- ##
40018 ## Report this to wx-dev@lists.wxwidgets.org ##
40019 ## ----------------------------------------- ##
40022 sed "s/^/$as_me: WARNING: /" >&2
40025 echo "$as_me:$LINENO: checking for $ac_header" >&5
40026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40028 echo $ECHO_N "(cached) $ECHO_C" >&6
40030 eval "$as_ac_Header=\$ac_header_preproc"
40032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40033 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40036 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40037 cat >>confdefs.h
<<_ACEOF
40038 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40046 if test "$ac_cv_header_ole2_h" = "yes" ; then
40047 if test "$GCC" = yes ; then
40051 ac_cpp
='$CXXCPP $CPPFLAGS'
40052 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40053 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40054 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40057 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
40058 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
40059 cat >conftest.
$ac_ext <<_ACEOF
40062 cat confdefs.h
>>conftest.
$ac_ext
40063 cat >>conftest.
$ac_ext <<_ACEOF
40064 /* end confdefs.h. */
40065 #include <windows.h>
40075 rm -f conftest.
$ac_objext
40076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40077 (eval $ac_compile) 2>conftest.er1
40079 grep -v '^ *+' conftest.er1
>conftest.err
40081 cat conftest.err
>&5
40082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40083 (exit $ac_status); } &&
40084 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40086 (eval $ac_try) 2>&5
40088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40089 (exit $ac_status); }; } &&
40090 { ac_try
='test -s conftest.$ac_objext'
40091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40092 (eval $ac_try) 2>&5
40094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40095 (exit $ac_status); }; }; then
40096 echo "$as_me:$LINENO: result: no" >&5
40097 echo "${ECHO_T}no" >&6
40099 echo "$as_me: failed program was:" >&5
40100 sed 's/^/| /' conftest.
$ac_ext >&5
40102 echo "$as_me:$LINENO: result: yes" >&5
40103 echo "${ECHO_T}yes" >&6
40104 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
40106 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40108 ac_cpp
='$CPP $CPPFLAGS'
40109 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40110 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40111 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40113 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
40114 if test "$wxUSE_OLE" = "yes" ; then
40115 cat >>confdefs.h
<<\_ACEOF
40116 #define wxUSE_OLE 1
40119 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
40123 if test "$wxUSE_DATAOBJ" = "yes" ; then
40124 cat >>confdefs.h
<<\_ACEOF
40125 #define wxUSE_DATAOBJ 1
40130 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
40131 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
40134 wxUSE_DRAG_AND_DROP
=no
40139 if test "$wxUSE_METAFILE" = "yes"; then
40140 cat >>confdefs.h
<<\_ACEOF
40141 #define wxUSE_METAFILE 1
40145 cat >>confdefs.h
<<\_ACEOF
40146 #define wxUSE_ENH_METAFILE 1
40152 if test "$wxUSE_IPC" = "yes"; then
40153 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
40154 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
40155 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
40159 if test "$wxUSE_IPC" = "yes"; then
40160 cat >>confdefs.h
<<\_ACEOF
40161 #define wxUSE_IPC 1
40164 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
40168 if test "$wxUSE_DATAOBJ" = "yes"; then
40169 if test "$wxUSE_MGL" = 1; then
40170 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
40171 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
40174 cat >>confdefs.h
<<\_ACEOF
40175 #define wxUSE_DATAOBJ 1
40180 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
40181 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
40183 wxUSE_DRAG_AND_DROP
=no
40186 if test "$wxUSE_CLIPBOARD" = "yes"; then
40187 if test "$wxUSE_MGL" = 1; then
40188 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
40189 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
40193 if test "$wxUSE_CLIPBOARD" = "yes"; then
40194 cat >>confdefs.h
<<\_ACEOF
40195 #define wxUSE_CLIPBOARD 1
40201 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
40202 if test "$wxUSE_GTK" = 1; then
40203 if test "$WXGTK12" != 1; then
40204 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
40205 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
40206 wxUSE_DRAG_AND_DROP
=no
40210 if test "$wxUSE_MOTIF" = 1; then
40211 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
40212 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
40213 wxUSE_DRAG_AND_DROP
=no
40216 if test "$wxUSE_X11" = 1; then
40217 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
40218 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
40219 wxUSE_DRAG_AND_DROP
=no
40222 if test "$wxUSE_MGL" = 1; then
40223 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
40224 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
40225 wxUSE_DRAG_AND_DROP
=no
40228 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
40229 cat >>confdefs.h
<<\_ACEOF
40230 #define wxUSE_DRAG_AND_DROP 1
40237 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
40238 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
40241 if test "$wxUSE_SPLINES" = "yes" ; then
40242 cat >>confdefs.h
<<\_ACEOF
40243 #define wxUSE_SPLINES 1
40248 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
40249 cat >>confdefs.h
<<\_ACEOF
40250 #define wxUSE_MOUSEWHEEL 1
40257 if test "$wxUSE_CONTROLS" = "yes"; then
40261 if test "$wxUSE_ACCEL" = "yes"; then
40262 cat >>confdefs.h
<<\_ACEOF
40263 #define wxUSE_ACCEL 1
40269 if test "$wxUSE_BUTTON" = "yes"; then
40270 cat >>confdefs.h
<<\_ACEOF
40271 #define wxUSE_BUTTON 1
40277 if test "$wxUSE_BMPBUTTON" = "yes"; then
40278 cat >>confdefs.h
<<\_ACEOF
40279 #define wxUSE_BMPBUTTON 1
40285 if test "$wxUSE_CALCTRL" = "yes"; then
40286 cat >>confdefs.h
<<\_ACEOF
40287 #define wxUSE_CALENDARCTRL 1
40291 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
40294 if test "$wxUSE_CARET" = "yes"; then
40295 cat >>confdefs.h
<<\_ACEOF
40296 #define wxUSE_CARET 1
40300 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
40303 if test "$wxUSE_COMBOBOX" = "yes"; then
40304 cat >>confdefs.h
<<\_ACEOF
40305 #define wxUSE_COMBOBOX 1
40311 if test "$wxUSE_CHOICE" = "yes"; then
40312 cat >>confdefs.h
<<\_ACEOF
40313 #define wxUSE_CHOICE 1
40319 if test "$wxUSE_CHOICEBOOK" = "yes"; then
40320 cat >>confdefs.h
<<\_ACEOF
40321 #define wxUSE_CHOICEBOOK 1
40327 if test "$wxUSE_CHECKBOX" = "yes"; then
40328 cat >>confdefs.h
<<\_ACEOF
40329 #define wxUSE_CHECKBOX 1
40335 if test "$wxUSE_CHECKLST" = "yes"; then
40336 cat >>confdefs.h
<<\_ACEOF
40337 #define wxUSE_CHECKLISTBOX 1
40341 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
40344 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
40345 cat >>confdefs.h
<<\_ACEOF
40346 #define wxUSE_DATEPICKCTRL 1
40352 if test "$wxUSE_DISPLAY" = "yes"; then
40353 cat >>confdefs.h
<<\_ACEOF
40354 #define wxUSE_DISPLAY 1
40357 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
40360 if test "$wxUSE_GAUGE" = "yes"; then
40361 cat >>confdefs.h
<<\_ACEOF
40362 #define wxUSE_GAUGE 1
40368 if test "$wxUSE_GRID" = "yes"; then
40369 cat >>confdefs.h
<<\_ACEOF
40370 #define wxUSE_GRID 1
40374 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
40377 if test "$wxUSE_IMAGLIST" = "yes"; then
40378 cat >>confdefs.h
<<\_ACEOF
40379 #define wxUSE_IMAGLIST 1
40384 if test "$wxUSE_LISTBOOK" = "yes"; then
40385 cat >>confdefs.h
<<\_ACEOF
40386 #define wxUSE_LISTBOOK 1
40392 if test "$wxUSE_LISTBOX" = "yes"; then
40393 cat >>confdefs.h
<<\_ACEOF
40394 #define wxUSE_LISTBOX 1
40398 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
40401 if test "$wxUSE_LISTCTRL" = "yes"; then
40402 if test "$wxUSE_IMAGLIST" = "yes"; then
40403 cat >>confdefs.h
<<\_ACEOF
40404 #define wxUSE_LISTCTRL 1
40408 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
40410 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
40411 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
40415 if test "$wxUSE_NOTEBOOK" = "yes"; then
40416 cat >>confdefs.h
<<\_ACEOF
40417 #define wxUSE_NOTEBOOK 1
40421 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
40425 if test "$wxUSE_RADIOBOX" = "yes"; then
40426 cat >>confdefs.h
<<\_ACEOF
40427 #define wxUSE_RADIOBOX 1
40433 if test "$wxUSE_RADIOBTN" = "yes"; then
40434 cat >>confdefs.h
<<\_ACEOF
40435 #define wxUSE_RADIOBTN 1
40441 if test "$wxUSE_SASH" = "yes"; then
40442 cat >>confdefs.h
<<\_ACEOF
40443 #define wxUSE_SASH 1
40446 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
40449 if test "$wxUSE_SCROLLBAR" = "yes"; then
40450 cat >>confdefs.h
<<\_ACEOF
40451 #define wxUSE_SCROLLBAR 1
40455 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
40458 if test "$wxUSE_SLIDER" = "yes"; then
40459 cat >>confdefs.h
<<\_ACEOF
40460 #define wxUSE_SLIDER 1
40466 if test "$wxUSE_SPINBTN" = "yes"; then
40467 cat >>confdefs.h
<<\_ACEOF
40468 #define wxUSE_SPINBTN 1
40474 if test "$wxUSE_SPINCTRL" = "yes"; then
40475 cat >>confdefs.h
<<\_ACEOF
40476 #define wxUSE_SPINCTRL 1
40482 if test "$wxUSE_SPLITTER" = "yes"; then
40483 cat >>confdefs.h
<<\_ACEOF
40484 #define wxUSE_SPLITTER 1
40487 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
40490 if test "$wxUSE_STATBMP" = "yes"; then
40491 cat >>confdefs.h
<<\_ACEOF
40492 #define wxUSE_STATBMP 1
40498 if test "$wxUSE_STATBOX" = "yes"; then
40499 cat >>confdefs.h
<<\_ACEOF
40500 #define wxUSE_STATBOX 1
40506 if test "$wxUSE_STATTEXT" = "yes"; then
40507 cat >>confdefs.h
<<\_ACEOF
40508 #define wxUSE_STATTEXT 1
40514 if test "$wxUSE_STATLINE" = "yes"; then
40515 cat >>confdefs.h
<<\_ACEOF
40516 #define wxUSE_STATLINE 1
40522 if test "$wxUSE_STATUSBAR" = "yes"; then
40523 cat >>confdefs.h
<<\_ACEOF
40524 #define wxUSE_NATIVE_STATUSBAR 1
40527 cat >>confdefs.h
<<\_ACEOF
40528 #define wxUSE_STATUSBAR 1
40533 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
40536 if test "$wxUSE_TABDIALOG" = "yes"; then
40537 cat >>confdefs.h
<<\_ACEOF
40538 #define wxUSE_TAB_DIALOG 1
40543 if test "$wxUSE_TEXTCTRL" = "yes"; then
40544 cat >>confdefs.h
<<\_ACEOF
40545 #define wxUSE_TEXTCTRL 1
40549 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
40552 if test "$wxUSE_TOGGLEBTN" = "yes"; then
40553 if test "$wxUSE_COCOA" = 1 ; then
40554 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
40555 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
40558 if test "$wxUSE_UNIVERSAL" = "yes"; then
40559 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
40560 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
40564 if test "$wxUSE_TOGGLEBTN" = "yes"; then
40565 cat >>confdefs.h
<<\_ACEOF
40566 #define wxUSE_TOGGLEBTN 1
40573 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
40574 cat >>confdefs.h
<<\_ACEOF
40575 #define wxUSE_TOOLBAR_SIMPLE 1
40578 wxUSE_TOOLBAR
="yes"
40582 if test "$wxUSE_TOOLBAR" = "yes"; then
40583 cat >>confdefs.h
<<\_ACEOF
40584 #define wxUSE_TOOLBAR 1
40589 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
40590 wxUSE_TOOLBAR_NATIVE
="yes"
40593 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
40594 cat >>confdefs.h
<<\_ACEOF
40595 #define wxUSE_TOOLBAR_NATIVE 1
40601 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
40604 if test "$wxUSE_TOOLTIPS" = "yes"; then
40605 if test "$wxUSE_MOTIF" = 1; then
40606 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
40607 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
40609 if test "$wxUSE_UNIVERSAL" = "yes"; then
40610 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
40611 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
40613 cat >>confdefs.h
<<\_ACEOF
40614 #define wxUSE_TOOLTIPS 1
40621 if test "$wxUSE_TREECTRL" = "yes"; then
40622 if test "$wxUSE_IMAGLIST" = "yes"; then
40623 cat >>confdefs.h
<<\_ACEOF
40624 #define wxUSE_TREECTRL 1
40628 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
40630 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
40631 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
40635 if test "$wxUSE_POPUPWIN" = "yes"; then
40636 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
40637 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
40638 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
40640 if test "$wxUSE_PM" = 1; then
40641 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
40642 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
40644 cat >>confdefs.h
<<\_ACEOF
40645 #define wxUSE_POPUPWIN 1
40648 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
40655 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
40656 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
40657 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
40658 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
40660 cat >>confdefs.h
<<\_ACEOF
40661 #define wxUSE_DIALUP_MANAGER 1
40664 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
40668 if test "$wxUSE_TIPWINDOW" = "yes"; then
40669 if test "$wxUSE_PM" = 1; then
40670 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
40671 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
40673 cat >>confdefs.h
<<\_ACEOF
40674 #define wxUSE_TIPWINDOW 1
40680 if test "$USES_CONTROLS" = 1; then
40681 cat >>confdefs.h
<<\_ACEOF
40682 #define wxUSE_CONTROLS 1
40688 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
40689 cat >>confdefs.h
<<\_ACEOF
40690 #define wxUSE_ACCESSIBILITY 1
40693 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
40696 if test "$wxUSE_DC_CACHEING" = "yes"; then
40697 cat >>confdefs.h
<<\_ACEOF
40698 #define wxUSE_DC_CACHEING 1
40703 if test "$wxUSE_DRAGIMAGE" = "yes"; then
40704 cat >>confdefs.h
<<\_ACEOF
40705 #define wxUSE_DRAGIMAGE 1
40708 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
40711 if test "$wxUSE_EXCEPTIONS" = "yes"; then
40712 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40713 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
40714 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
40716 cat >>confdefs.h
<<\_ACEOF
40717 #define wxUSE_EXCEPTIONS 1
40720 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
40725 if test "$wxUSE_HTML" = "yes"; then
40726 cat >>confdefs.h
<<\_ACEOF
40727 #define wxUSE_HTML 1
40731 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
40732 if test "$wxUSE_MAC" = 1; then
40733 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
40736 if test "$wxUSE_WEBKIT" = "yes"; then
40737 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
40738 old_CPPFLAGS
="$CPPFLAGS"
40739 CPPFLAGS
="$CPPFLAGS -x objective-c++"
40740 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
40741 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
40742 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
40743 echo $ECHO_N "(cached) $ECHO_C" >&6
40745 cat >conftest.
$ac_ext <<_ACEOF
40748 cat confdefs.h
>>conftest.
$ac_ext
40749 cat >>conftest.
$ac_ext <<_ACEOF
40750 /* end confdefs.h. */
40751 #include <Carbon/Carbon.h>
40753 #include <WebKit/HIWebView.h>
40755 rm -f conftest.
$ac_objext
40756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40757 (eval $ac_compile) 2>conftest.er1
40759 grep -v '^ *+' conftest.er1
>conftest.err
40761 cat conftest.err
>&5
40762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40763 (exit $ac_status); } &&
40764 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40766 (eval $ac_try) 2>&5
40768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40769 (exit $ac_status); }; } &&
40770 { ac_try
='test -s conftest.$ac_objext'
40771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40772 (eval $ac_try) 2>&5
40774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40775 (exit $ac_status); }; }; then
40776 ac_cv_header_WebKit_HIWebView_h
=yes
40778 echo "$as_me: failed program was:" >&5
40779 sed 's/^/| /' conftest.
$ac_ext >&5
40781 ac_cv_header_WebKit_HIWebView_h
=no
40783 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40785 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
40786 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
40787 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
40789 cat >>confdefs.h
<<\_ACEOF
40790 #define wxUSE_WEBKIT 1
40793 WEBKIT_LINK
="-framework WebKit"
40797 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
40798 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
40804 CPPFLAGS
="$old_CPPFLAGS"
40805 elif test "$wxUSE_COCOA" = 1; then
40806 cat >>confdefs.h
<<\_ACEOF
40807 #define wxUSE_WEBKIT 1
40816 if test "$wxUSE_XRC" = "yes"; then
40817 if test "$wxUSE_XML" != "yes"; then
40818 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
40819 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
40822 cat >>confdefs.h
<<\_ACEOF
40823 #define wxUSE_XRC 1
40827 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
40831 if test "$wxUSE_MENUS" = "yes"; then
40832 cat >>confdefs.h
<<\_ACEOF
40833 #define wxUSE_MENUS 1
40836 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
40839 if test "$wxUSE_METAFILE" = "yes"; then
40840 cat >>confdefs.h
<<\_ACEOF
40841 #define wxUSE_METAFILE 1
40846 if test "$wxUSE_MIMETYPE" = "yes"; then
40847 cat >>confdefs.h
<<\_ACEOF
40848 #define wxUSE_MIMETYPE 1
40853 if test "$wxUSE_MINIFRAME" = "yes"; then
40854 cat >>confdefs.h
<<\_ACEOF
40855 #define wxUSE_MINIFRAME 1
40858 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
40861 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
40862 cat >>confdefs.h
<<\_ACEOF
40863 #define wxUSE_SYSTEM_OPTIONS 1
40866 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
40867 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
40868 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
40873 if test "$wxUSE_VALIDATORS" = "yes"; then
40874 cat >>confdefs.h
<<\_ACEOF
40875 #define wxUSE_VALIDATORS 1
40878 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
40881 if test "$wxUSE_PALETTE" = "yes" ; then
40882 cat >>confdefs.h
<<\_ACEOF
40883 #define wxUSE_PALETTE 1
40888 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
40889 LIBS
=" -lunicows $LIBS"
40893 if test "$wxUSE_IMAGE" = "yes" ; then
40894 cat >>confdefs.h
<<\_ACEOF
40895 #define wxUSE_IMAGE 1
40899 if test "$wxUSE_GIF" = "yes" ; then
40900 cat >>confdefs.h
<<\_ACEOF
40901 #define wxUSE_GIF 1
40906 if test "$wxUSE_PCX" = "yes" ; then
40907 cat >>confdefs.h
<<\_ACEOF
40908 #define wxUSE_PCX 1
40913 if test "$wxUSE_IFF" = "yes" ; then
40914 cat >>confdefs.h
<<\_ACEOF
40915 #define wxUSE_IFF 1
40920 if test "$wxUSE_PNM" = "yes" ; then
40921 cat >>confdefs.h
<<\_ACEOF
40922 #define wxUSE_PNM 1
40927 if test "$wxUSE_XPM" = "yes" ; then
40928 cat >>confdefs.h
<<\_ACEOF
40929 #define wxUSE_XPM 1
40934 if test "$wxUSE_ICO_CUR" = "yes" ; then
40935 cat >>confdefs.h
<<\_ACEOF
40936 #define wxUSE_ICO_CUR 1
40943 if test "$wxUSE_CHOICEDLG" = "yes"; then
40944 cat >>confdefs.h
<<\_ACEOF
40945 #define wxUSE_CHOICEDLG 1
40950 if test "$wxUSE_COLOURDLG" = "yes"; then
40951 cat >>confdefs.h
<<\_ACEOF
40952 #define wxUSE_COLOURDLG 1
40957 if test "$wxUSE_FILEDLG" = "yes"; then
40958 cat >>confdefs.h
<<\_ACEOF
40959 #define wxUSE_FILEDLG 1
40964 if test "$wxUSE_FINDREPLDLG" = "yes"; then
40965 cat >>confdefs.h
<<\_ACEOF
40966 #define wxUSE_FINDREPLDLG 1
40971 if test "$wxUSE_FONTDLG" = "yes"; then
40972 cat >>confdefs.h
<<\_ACEOF
40973 #define wxUSE_FONTDLG 1
40978 if test "$wxUSE_DIRDLG" = "yes"; then
40979 if test "$wxUSE_TREECTRL" != "yes"; then
40980 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
40981 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
40983 cat >>confdefs.h
<<\_ACEOF
40984 #define wxUSE_DIRDLG 1
40990 if test "$wxUSE_MSGDLG" = "yes"; then
40991 cat >>confdefs.h
<<\_ACEOF
40992 #define wxUSE_MSGDLG 1
40997 if test "$wxUSE_NUMBERDLG" = "yes"; then
40998 cat >>confdefs.h
<<\_ACEOF
40999 #define wxUSE_NUMBERDLG 1
41004 if test "$wxUSE_PROGRESSDLG" = "yes"; then
41005 if test "$wxUSE_CONSTRAINTS" != "yes"; then
41006 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
41007 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
41009 cat >>confdefs.h
<<\_ACEOF
41010 #define wxUSE_PROGRESSDLG 1
41016 if test "$wxUSE_SPLASH" = "yes"; then
41017 cat >>confdefs.h
<<\_ACEOF
41018 #define wxUSE_SPLASH 1
41021 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
41024 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
41025 if test "$wxUSE_CONSTRAINTS" != "yes"; then
41026 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
41027 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
41029 cat >>confdefs.h
<<\_ACEOF
41030 #define wxUSE_STARTUP_TIPS 1
41036 if test "$wxUSE_TEXTDLG" = "yes"; then
41037 cat >>confdefs.h
<<\_ACEOF
41038 #define wxUSE_TEXTDLG 1
41043 if test "$wxUSE_WIZARDDLG" = "yes"; then
41044 cat >>confdefs.h
<<\_ACEOF
41045 #define wxUSE_WIZARDDLG 1
41048 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
41052 if test "$wxUSE_MEDIACTRL" = "yes"; then
41053 if test "$wxUSE_GTK" = 1; then
41054 wxUSE_GSTREAMER
="yes"
41059 if test -z "$PKG_CONFIG"; then
41060 # Extract the first word of "pkg-config", so it can be a program name with args.
41061 set dummy pkg
-config; ac_word
=$2
41062 echo "$as_me:$LINENO: checking for $ac_word" >&5
41063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41064 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41065 echo $ECHO_N "(cached) $ECHO_C" >&6
41067 case $PKG_CONFIG in
41069 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
41072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41073 for as_dir
in $PATH
41076 test -z "$as_dir" && as_dir
=.
41077 for ac_exec_ext
in '' $ac_executable_extensions; do
41078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41079 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41086 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
41090 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
41092 if test -n "$PKG_CONFIG"; then
41093 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41094 echo "${ECHO_T}$PKG_CONFIG" >&6
41096 echo "$as_me:$LINENO: result: no" >&5
41097 echo "${ECHO_T}no" >&6
41102 if test "$PKG_CONFIG" = "no" ; then
41103 echo "*** The pkg-config script could not be found. Make sure it is"
41104 echo "*** in your path, or set the PKG_CONFIG environment variable"
41105 echo "*** to the full path to pkg-config."
41106 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
41108 PKG_CONFIG_MIN_VERSION
=0.9.0
41109 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
41110 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
41111 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
41113 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
41114 echo "$as_me:$LINENO: result: yes" >&5
41115 echo "${ECHO_T}yes" >&6
41118 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
41119 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
41120 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-0.8"`
41121 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
41122 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
41124 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
41125 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
41126 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-0.8"`
41127 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
41128 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
41130 GSTREAMER_CFLAGS
=""
41132 ## If we have a custom action on failure, don't print errors, but
41133 ## do set a variable so people can do so.
41134 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
41141 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41142 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41146 if test $succeeded = yes; then
41148 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
41149 LIBS
="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
41153 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
41154 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
41155 wxUSE_GSTREAMER
="no"
41163 if test "x$GST_INSPECT" == "x"; then
41164 # Extract the first word of "gst-inspect", so it can be a program name with args.
41165 set dummy gst
-inspect; ac_word
=$2
41166 echo "$as_me:$LINENO: checking for $ac_word" >&5
41167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41168 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
41169 echo $ECHO_N "(cached) $ECHO_C" >&6
41171 if test -n "$GST_INSPECT"; then
41172 ac_cv_prog_GST_INSPECT
="$GST_INSPECT" # Let the user override the test.
41174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41175 for as_dir
in $PATH
41178 test -z "$as_dir" && as_dir
=.
41179 for ac_exec_ext
in '' $ac_executable_extensions; do
41180 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41181 ac_cv_prog_GST_INSPECT
="gst-inspect"
41182 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41190 GST_INSPECT
=$ac_cv_prog_GST_INSPECT
41191 if test -n "$GST_INSPECT"; then
41192 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
41193 echo "${ECHO_T}$GST_INSPECT" >&6
41195 echo "$as_me:$LINENO: result: no" >&5
41196 echo "${ECHO_T}no" >&6
41201 if test "x$GST_INSPECT" != "x"; then
41202 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
41203 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
41204 if $GST_INSPECT xvimagesink
> /dev
/null
2> /dev
/null
; then
41205 echo "$as_me:$LINENO: result: found." >&5
41206 echo "${ECHO_T}found." >&6
41209 echo "$as_me:$LINENO: result: not found." >&5
41210 echo "${ECHO_T}not found." >&6
41212 wxUSE_GSTREAMER
="no"
41213 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
41214 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
41220 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
41221 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
41222 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
41223 echo $ECHO_N "(cached) $ECHO_C" >&6
41225 cat >conftest.
$ac_ext <<_ACEOF
41228 cat confdefs.h
>>conftest.
$ac_ext
41229 cat >>conftest.
$ac_ext <<_ACEOF
41230 /* end confdefs.h. */
41231 #include <gst/gst.h>
41233 #include <gst/xoverlay/xoverlay.h>
41235 rm -f conftest.
$ac_objext
41236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41237 (eval $ac_compile) 2>conftest.er1
41239 grep -v '^ *+' conftest.er1
>conftest.err
41241 cat conftest.err
>&5
41242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41243 (exit $ac_status); } &&
41244 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41246 (eval $ac_try) 2>&5
41248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41249 (exit $ac_status); }; } &&
41250 { ac_try
='test -s conftest.$ac_objext'
41251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41252 (eval $ac_try) 2>&5
41254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41255 (exit $ac_status); }; }; then
41256 ac_cv_header_gst_xoverlay_xoverlay_h
=yes
41258 echo "$as_me: failed program was:" >&5
41259 sed 's/^/| /' conftest.
$ac_ext >&5
41261 ac_cv_header_gst_xoverlay_xoverlay_h
=no
41263 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41265 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
41266 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
41267 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
41271 wxUSE_GSTREAMER
="no"
41272 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
41273 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
41279 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
41280 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
41283 for ac_dir
in $SEARCH_LIB /usr
/lib
;
41285 for ac_extension
in a so sl dylib dll.a
; do
41286 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
41287 ac_find_libraries
=$ac_dir
41294 if test "$ac_find_libraries" = "" ; then
41295 echo "$as_me:$LINENO: result: no" >&5
41296 echo "${ECHO_T}no" >&6
41297 wxUSE_GSTREAMER
="no"
41299 echo "$as_me:$LINENO: result: yes" >&5
41300 echo "${ECHO_T}yes" >&6
41303 if test "$wxUSE_GSTREAMER" = "yes"; then
41304 cat >>confdefs.h
<<\_ACEOF
41305 #define wxUSE_GSTREAMER 1
41308 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
41309 echo "${ECHO_T}GStreamer detection successful" >&6
41312 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
41313 cat >>confdefs.h
<<\_ACEOF
41314 #define wxUSE_MEDIACTRL 1
41320 if test "$cross_compiling" = "yes"; then
41323 OSINFO
=`uname -s -r -m`
41324 OSINFO
="\"$OSINFO\""
41327 cat >>confdefs.h
<<_ACEOF
41328 #define WXWIN_OS_DESCRIPTION $OSINFO
41333 if test "x$prefix" != "xNONE"; then
41336 wxPREFIX
=$ac_default_prefix
41339 cat >>confdefs.h
<<_ACEOF
41340 #define wxINSTALL_PREFIX "$wxPREFIX"
41346 CORE_BASE_LIBS
="net base"
41347 CORE_GUI_LIBS
="adv core"
41349 if test "$wxUSE_XML" = "yes" ; then
41350 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
41352 if test "$wxUSE_ODBC" != "no" ; then
41353 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
41354 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
41356 if test "$wxUSE_HTML" = "yes" ; then
41357 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
41359 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
41360 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
41362 if test "$wxUSE_XRC" = "yes" ; then
41363 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
41366 if test "$wxUSE_GUI" != "yes"; then
41377 if test "$wxUSE_MAC" = 1 ; then
41378 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
41379 if test "$USE_DARWIN" = 1; then
41380 LDFLAGS
="$LDFLAGS -framework QuickTime"
41382 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
41385 if test "$USE_DARWIN" = 1; then
41386 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
41388 LDFLAGS
="$LDFLAGS -lCarbonLib"
41391 if test "$wxUSE_COCOA" = 1 ; then
41392 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
41393 if test "$wxUSE_MEDIACTRL" = "yes"; then
41394 LDFLAGS
="$LDFLAGS -framework QuickTime"
41397 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
41398 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
41402 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
41409 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41410 echo "$as_me:$LINENO: checking for $ac_func" >&5
41411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41412 if eval "test \"\${$as_ac_var+set}\" = set"; then
41413 echo $ECHO_N "(cached) $ECHO_C" >&6
41415 cat >conftest.
$ac_ext <<_ACEOF
41418 cat confdefs.h
>>conftest.
$ac_ext
41419 cat >>conftest.
$ac_ext <<_ACEOF
41420 /* end confdefs.h. */
41421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41423 #define $ac_func innocuous_$ac_func
41425 /* System header to define __stub macros and hopefully few prototypes,
41426 which can conflict with char $ac_func (); below.
41427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41428 <limits.h> exists even on freestanding compilers. */
41431 # include <limits.h>
41433 # include <assert.h>
41438 /* Override any gcc2 internal prototype to avoid an error. */
41443 /* We use char because int might match the return type of a gcc2
41444 builtin and then its argument prototype would still apply. */
41446 /* The GNU C library defines this for functions which it implements
41447 to always fail with ENOSYS. Some functions are actually named
41448 something starting with __ and the normal name is an alias. */
41449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41452 char (*f) () = $ac_func;
41461 return f != $ac_func;
41466 rm -f conftest.
$ac_objext conftest
$ac_exeext
41467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41468 (eval $ac_link) 2>conftest.er1
41470 grep -v '^ *+' conftest.er1
>conftest.err
41472 cat conftest.err
>&5
41473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41474 (exit $ac_status); } &&
41475 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41477 (eval $ac_try) 2>&5
41479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41480 (exit $ac_status); }; } &&
41481 { ac_try
='test -s conftest$ac_exeext'
41482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41483 (eval $ac_try) 2>&5
41485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41486 (exit $ac_status); }; }; then
41487 eval "$as_ac_var=yes"
41489 echo "$as_me: failed program was:" >&5
41490 sed 's/^/| /' conftest.
$ac_ext >&5
41492 eval "$as_ac_var=no"
41494 rm -f conftest.err conftest.
$ac_objext \
41495 conftest
$ac_exeext conftest.
$ac_ext
41497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41499 if test `eval echo '${'$as_ac_var'}'` = yes; then
41500 cat >>confdefs.h
<<_ACEOF
41501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41508 for ac_func
in floor
41510 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41511 echo "$as_me:$LINENO: checking for $ac_func" >&5
41512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41513 if eval "test \"\${$as_ac_var+set}\" = set"; then
41514 echo $ECHO_N "(cached) $ECHO_C" >&6
41516 cat >conftest.
$ac_ext <<_ACEOF
41519 cat confdefs.h
>>conftest.
$ac_ext
41520 cat >>conftest.
$ac_ext <<_ACEOF
41521 /* end confdefs.h. */
41522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41524 #define $ac_func innocuous_$ac_func
41526 /* System header to define __stub macros and hopefully few prototypes,
41527 which can conflict with char $ac_func (); below.
41528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41529 <limits.h> exists even on freestanding compilers. */
41532 # include <limits.h>
41534 # include <assert.h>
41539 /* Override any gcc2 internal prototype to avoid an error. */
41544 /* We use char because int might match the return type of a gcc2
41545 builtin and then its argument prototype would still apply. */
41547 /* The GNU C library defines this for functions which it implements
41548 to always fail with ENOSYS. Some functions are actually named
41549 something starting with __ and the normal name is an alias. */
41550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41553 char (*f) () = $ac_func;
41562 return f != $ac_func;
41567 rm -f conftest.
$ac_objext conftest
$ac_exeext
41568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41569 (eval $ac_link) 2>conftest.er1
41571 grep -v '^ *+' conftest.er1
>conftest.err
41573 cat conftest.err
>&5
41574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41575 (exit $ac_status); } &&
41576 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41578 (eval $ac_try) 2>&5
41580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41581 (exit $ac_status); }; } &&
41582 { ac_try
='test -s conftest$ac_exeext'
41583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41584 (eval $ac_try) 2>&5
41586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41587 (exit $ac_status); }; }; then
41588 eval "$as_ac_var=yes"
41590 echo "$as_me: failed program was:" >&5
41591 sed 's/^/| /' conftest.
$ac_ext >&5
41593 eval "$as_ac_var=no"
41595 rm -f conftest.err conftest.
$ac_objext \
41596 conftest
$ac_exeext conftest.
$ac_ext
41598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41599 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41600 if test `eval echo '${'$as_ac_var'}'` = yes; then
41601 cat >>confdefs.h
<<_ACEOF
41602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41608 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
41609 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
41610 if test "$have_cos" = 1 -a "$have_floor" = 1; then
41611 echo "$as_me:$LINENO: result: yes" >&5
41612 echo "${ECHO_T}yes" >&6
41614 echo "$as_me:$LINENO: result: no" >&5
41615 echo "${ECHO_T}no" >&6
41617 # use different functions to avoid configure caching
41623 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41624 echo "$as_me:$LINENO: checking for $ac_func" >&5
41625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41626 if eval "test \"\${$as_ac_var+set}\" = set"; then
41627 echo $ECHO_N "(cached) $ECHO_C" >&6
41629 cat >conftest.
$ac_ext <<_ACEOF
41632 cat confdefs.h
>>conftest.
$ac_ext
41633 cat >>conftest.
$ac_ext <<_ACEOF
41634 /* end confdefs.h. */
41635 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41636 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41637 #define $ac_func innocuous_$ac_func
41639 /* System header to define __stub macros and hopefully few prototypes,
41640 which can conflict with char $ac_func (); below.
41641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41642 <limits.h> exists even on freestanding compilers. */
41645 # include <limits.h>
41647 # include <assert.h>
41652 /* Override any gcc2 internal prototype to avoid an error. */
41657 /* We use char because int might match the return type of a gcc2
41658 builtin and then its argument prototype would still apply. */
41660 /* The GNU C library defines this for functions which it implements
41661 to always fail with ENOSYS. Some functions are actually named
41662 something starting with __ and the normal name is an alias. */
41663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41666 char (*f) () = $ac_func;
41675 return f != $ac_func;
41680 rm -f conftest.
$ac_objext conftest
$ac_exeext
41681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41682 (eval $ac_link) 2>conftest.er1
41684 grep -v '^ *+' conftest.er1
>conftest.err
41686 cat conftest.err
>&5
41687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41688 (exit $ac_status); } &&
41689 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41691 (eval $ac_try) 2>&5
41693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41694 (exit $ac_status); }; } &&
41695 { ac_try
='test -s conftest$ac_exeext'
41696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41697 (eval $ac_try) 2>&5
41699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41700 (exit $ac_status); }; }; then
41701 eval "$as_ac_var=yes"
41703 echo "$as_me: failed program was:" >&5
41704 sed 's/^/| /' conftest.
$ac_ext >&5
41706 eval "$as_ac_var=no"
41708 rm -f conftest.err conftest.
$ac_objext \
41709 conftest
$ac_exeext conftest.
$ac_ext
41711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41712 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41713 if test `eval echo '${'$as_ac_var'}'` = yes; then
41714 cat >>confdefs.h
<<_ACEOF
41715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41722 for ac_func
in ceil
41724 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41725 echo "$as_me:$LINENO: checking for $ac_func" >&5
41726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41727 if eval "test \"\${$as_ac_var+set}\" = set"; then
41728 echo $ECHO_N "(cached) $ECHO_C" >&6
41730 cat >conftest.
$ac_ext <<_ACEOF
41733 cat confdefs.h
>>conftest.
$ac_ext
41734 cat >>conftest.
$ac_ext <<_ACEOF
41735 /* end confdefs.h. */
41736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41738 #define $ac_func innocuous_$ac_func
41740 /* System header to define __stub macros and hopefully few prototypes,
41741 which can conflict with char $ac_func (); below.
41742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41743 <limits.h> exists even on freestanding compilers. */
41746 # include <limits.h>
41748 # include <assert.h>
41753 /* Override any gcc2 internal prototype to avoid an error. */
41758 /* We use char because int might match the return type of a gcc2
41759 builtin and then its argument prototype would still apply. */
41761 /* The GNU C library defines this for functions which it implements
41762 to always fail with ENOSYS. Some functions are actually named
41763 something starting with __ and the normal name is an alias. */
41764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41767 char (*f) () = $ac_func;
41776 return f != $ac_func;
41781 rm -f conftest.
$ac_objext conftest
$ac_exeext
41782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41783 (eval $ac_link) 2>conftest.er1
41785 grep -v '^ *+' conftest.er1
>conftest.err
41787 cat conftest.err
>&5
41788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41789 (exit $ac_status); } &&
41790 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41792 (eval $ac_try) 2>&5
41794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41795 (exit $ac_status); }; } &&
41796 { ac_try
='test -s conftest$ac_exeext'
41797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41798 (eval $ac_try) 2>&5
41800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41801 (exit $ac_status); }; }; then
41802 eval "$as_ac_var=yes"
41804 echo "$as_me: failed program was:" >&5
41805 sed 's/^/| /' conftest.
$ac_ext >&5
41807 eval "$as_ac_var=no"
41809 rm -f conftest.err conftest.
$ac_objext \
41810 conftest
$ac_exeext conftest.
$ac_ext
41812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41814 if test `eval echo '${'$as_ac_var'}'` = yes; then
41815 cat >>confdefs.h
<<_ACEOF
41816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41822 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
41823 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
41824 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
41825 echo "$as_me:$LINENO: result: yes" >&5
41826 echo "${ECHO_T}yes" >&6
41828 echo "$as_me:$LINENO: result: no" >&5
41829 echo "${ECHO_T}no" >&6
41830 # not sure we should warn the user, crash, etc.
41834 if test "$wxUSE_GUI" = "yes"; then
41837 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
41838 dynamic erase event exec font image minimal mobile \
41839 mobile/wxedit mobile/styles propsize render \
41840 richedit rotate shaped vscroll widgets"
41842 if test "$wxUSE_MONOLITHIC" != "yes"; then
41843 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
41845 if test "$TOOLKIT" = "MSW"; then
41846 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
41847 if test "$wxUSE_UNIVERSAL" != "yes"; then
41848 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
41851 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
41852 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
41855 SAMPLES_SUBDIRS
="console"
41859 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
41860 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
41862 if test "$GXX" = yes ; then
41863 CWARNINGS
="-Wall -Wundef"
41864 CXXWARNINGS
="$CWARNINGS -Wno-ctor-dtor-privacy"
41867 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
41869 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
41870 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
41871 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
41873 if test "x$MWCC" = "xyes"; then
41875 CC
="$CC -cwd source -I-"
41876 CXX
="$CXX -cwd source -I-"
41881 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
41882 EXTRALIBS_XML
="$EXPAT_LINK"
41883 EXTRALIBS_HTML
="$MSPACK_LINK"
41884 EXTRALIBS_ODBC
="$ODBC_LINK"
41885 if test "$wxUSE_GUI" = "yes"; then
41886 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
41888 if test "$wxUSE_OPENGL" = "yes"; then
41889 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
41892 LDFLAGS
="$LDFLAGS $PROFILE"
41894 if test "$wxUSE_GTK" = 1; then
41897 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
41900 WXCONFIG_EXTRALIBS
="$LIBS"
41902 if test "$wxUSE_REGEX" = "builtin" ; then
41903 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
41905 if test "$wxUSE_EXPAT" = "builtin" ; then
41906 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
41908 if test "$wxUSE_ODBC" = "builtin" ; then
41909 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
41911 if test "$wxUSE_LIBTIFF" = "builtin" ; then
41912 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
41914 if test "$wxUSE_LIBJPEG" = "builtin" ; then
41915 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
41917 if test "$wxUSE_LIBPNG" = "builtin" ; then
41918 wxconfig_3rdparty
="png $wxconfig_3rdparty"
41920 if test "$wxUSE_ZLIB" = "builtin" ; then
41921 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
41924 for i
in $wxconfig_3rdparty ; do
41925 WXCONFIG_EXTRALIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_EXTRALIBS"
41929 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
41943 if test $wxUSE_MONOLITHIC = "yes" ; then
41949 if test $wxUSE_PLUGINS = "yes" ; then
41955 if test $wxUSE_ODBC != "no" ; then
41961 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
41967 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
41995 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
42006 TOOLKIT_USER
="GTK+"
42007 if test "$WXGTK20" = 1; then
42008 TOOLKIT_USER
="$TOOLKIT_USER 2"
42013 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
42017 if test "$wxUSE_WINE" = "yes"; then
42018 BAKEFILE_FORCE_PLATFORM
=win32
42024 if test "x$BAKEFILE_HOST" = "x"; then
42025 BAKEFILE_HOST
="${host}"
42028 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
42030 if test -n "$ac_tool_prefix"; then
42031 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
42032 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
42033 echo "$as_me:$LINENO: checking for $ac_word" >&5
42034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42035 if test "${ac_cv_prog_RANLIB+set}" = set; then
42036 echo $ECHO_N "(cached) $ECHO_C" >&6
42038 if test -n "$RANLIB"; then
42039 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
42041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42042 for as_dir
in $PATH
42045 test -z "$as_dir" && as_dir
=.
42046 for ac_exec_ext
in '' $ac_executable_extensions; do
42047 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42048 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
42049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42057 RANLIB
=$ac_cv_prog_RANLIB
42058 if test -n "$RANLIB"; then
42059 echo "$as_me:$LINENO: result: $RANLIB" >&5
42060 echo "${ECHO_T}$RANLIB" >&6
42062 echo "$as_me:$LINENO: result: no" >&5
42063 echo "${ECHO_T}no" >&6
42067 if test -z "$ac_cv_prog_RANLIB"; then
42068 ac_ct_RANLIB
=$RANLIB
42069 # Extract the first word of "ranlib", so it can be a program name with args.
42070 set dummy ranlib
; ac_word
=$2
42071 echo "$as_me:$LINENO: checking for $ac_word" >&5
42072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42073 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
42074 echo $ECHO_N "(cached) $ECHO_C" >&6
42076 if test -n "$ac_ct_RANLIB"; then
42077 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
42079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42080 for as_dir
in $PATH
42083 test -z "$as_dir" && as_dir
=.
42084 for ac_exec_ext
in '' $ac_executable_extensions; do
42085 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42086 ac_cv_prog_ac_ct_RANLIB
="ranlib"
42087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42093 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
42096 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
42097 if test -n "$ac_ct_RANLIB"; then
42098 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
42099 echo "${ECHO_T}$ac_ct_RANLIB" >&6
42101 echo "$as_me:$LINENO: result: no" >&5
42102 echo "${ECHO_T}no" >&6
42105 RANLIB
=$ac_ct_RANLIB
42107 RANLIB
="$ac_cv_prog_RANLIB"
42110 # Find a good install program. We prefer a C program (faster),
42111 # so one script is as good as another. But avoid the broken or
42112 # incompatible versions:
42113 # SysV /etc/install, /usr/sbin/install
42114 # SunOS /usr/etc/install
42115 # IRIX /sbin/install
42117 # AmigaOS /C/install, which installs bootblocks on floppy discs
42118 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
42119 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
42120 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
42121 # OS/2's system install, which has a completely different semantic
42122 # ./install, which can be erroneously created by make from ./install.sh.
42123 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
42124 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
42125 if test -z "$INSTALL"; then
42126 if test "${ac_cv_path_install+set}" = set; then
42127 echo $ECHO_N "(cached) $ECHO_C" >&6
42129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42130 for as_dir
in $PATH
42133 test -z "$as_dir" && as_dir
=.
42134 # Account for people who put trailing slashes in PATH elements.
42136 .
/ | .
// | /cC
/* | \
42137 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
42138 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
42141 # OSF1 and SCO ODT 3.0 have their own names for install.
42142 # Don't use installbsd from OSF since it installs stuff as root
42144 for ac_prog
in ginstall scoinst
install; do
42145 for ac_exec_ext
in '' $ac_executable_extensions; do
42146 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
42147 if test $ac_prog = install &&
42148 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
42149 # AIX install. It has an incompatible calling convention.
42151 elif test $ac_prog = install &&
42152 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
42153 # program-specific install script used by HP pwplus--don't use.
42156 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
42168 if test "${ac_cv_path_install+set}" = set; then
42169 INSTALL
=$ac_cv_path_install
42171 # As a last resort, use the slow shell script. We don't cache a
42172 # path for INSTALL within a source directory, because that will
42173 # break other packages using the cache if that directory is
42174 # removed, or if the path is relative.
42175 INSTALL
=$ac_install_sh
42178 echo "$as_me:$LINENO: result: $INSTALL" >&5
42179 echo "${ECHO_T}$INSTALL" >&6
42181 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
42182 # It thinks the first close brace ends the variable substitution.
42183 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
42185 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
42187 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
42189 echo "$as_me:$LINENO: checking whether ln -s works" >&5
42190 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
42192 if test "$LN_S" = "ln -s"; then
42193 echo "$as_me:$LINENO: result: yes" >&5
42194 echo "${ECHO_T}yes" >&6
42196 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
42197 echo "${ECHO_T}no, using $LN_S" >&6
42201 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
42202 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
42203 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
42204 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
42205 echo $ECHO_N "(cached) $ECHO_C" >&6
42207 cat >conftest.
make <<\_ACEOF
42209 @
echo 'ac_maketemp="$(MAKE)"'
42211 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
42212 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
42213 if test -n "$ac_maketemp"; then
42214 eval ac_cv_prog_make_
${ac_make}_set
=yes
42216 eval ac_cv_prog_make_
${ac_make}_set
=no
42218 rm -f conftest.
make
42220 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
42221 echo "$as_me:$LINENO: result: yes" >&5
42222 echo "${ECHO_T}yes" >&6
42225 echo "$as_me:$LINENO: result: no" >&5
42226 echo "${ECHO_T}no" >&6
42227 SET_MAKE
="MAKE=${MAKE-make}"
42232 if test -n "$ac_tool_prefix"; then
42233 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
42234 set dummy
${ac_tool_prefix}ar; ac_word
=$2
42235 echo "$as_me:$LINENO: checking for $ac_word" >&5
42236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42237 if test "${ac_cv_prog_AR+set}" = set; then
42238 echo $ECHO_N "(cached) $ECHO_C" >&6
42240 if test -n "$AR"; then
42241 ac_cv_prog_AR
="$AR" # Let the user override the test.
42243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42244 for as_dir
in $PATH
42247 test -z "$as_dir" && as_dir
=.
42248 for ac_exec_ext
in '' $ac_executable_extensions; do
42249 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42250 ac_cv_prog_AR
="${ac_tool_prefix}ar"
42251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42260 if test -n "$AR"; then
42261 echo "$as_me:$LINENO: result: $AR" >&5
42262 echo "${ECHO_T}$AR" >&6
42264 echo "$as_me:$LINENO: result: no" >&5
42265 echo "${ECHO_T}no" >&6
42269 if test -z "$ac_cv_prog_AR"; then
42271 # Extract the first word of "ar", so it can be a program name with args.
42272 set dummy
ar; ac_word
=$2
42273 echo "$as_me:$LINENO: checking for $ac_word" >&5
42274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42275 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
42276 echo $ECHO_N "(cached) $ECHO_C" >&6
42278 if test -n "$ac_ct_AR"; then
42279 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
42281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42282 for as_dir
in $PATH
42285 test -z "$as_dir" && as_dir
=.
42286 for ac_exec_ext
in '' $ac_executable_extensions; do
42287 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42288 ac_cv_prog_ac_ct_AR
="ar"
42289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42295 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
42298 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
42299 if test -n "$ac_ct_AR"; then
42300 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
42301 echo "${ECHO_T}$ac_ct_AR" >&6
42303 echo "$as_me:$LINENO: result: no" >&5
42304 echo "${ECHO_T}no" >&6
42309 AR
="$ac_cv_prog_AR"
42312 if test -n "$ac_tool_prefix"; then
42313 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
42314 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
42315 echo "$as_me:$LINENO: checking for $ac_word" >&5
42316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42317 if test "${ac_cv_prog_STRIP+set}" = set; then
42318 echo $ECHO_N "(cached) $ECHO_C" >&6
42320 if test -n "$STRIP"; then
42321 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
42323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42324 for as_dir
in $PATH
42327 test -z "$as_dir" && as_dir
=.
42328 for ac_exec_ext
in '' $ac_executable_extensions; do
42329 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42330 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
42331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42339 STRIP
=$ac_cv_prog_STRIP
42340 if test -n "$STRIP"; then
42341 echo "$as_me:$LINENO: result: $STRIP" >&5
42342 echo "${ECHO_T}$STRIP" >&6
42344 echo "$as_me:$LINENO: result: no" >&5
42345 echo "${ECHO_T}no" >&6
42349 if test -z "$ac_cv_prog_STRIP"; then
42351 # Extract the first word of "strip", so it can be a program name with args.
42352 set dummy strip
; ac_word
=$2
42353 echo "$as_me:$LINENO: checking for $ac_word" >&5
42354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42355 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
42356 echo $ECHO_N "(cached) $ECHO_C" >&6
42358 if test -n "$ac_ct_STRIP"; then
42359 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
42361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42362 for as_dir
in $PATH
42365 test -z "$as_dir" && as_dir
=.
42366 for ac_exec_ext
in '' $ac_executable_extensions; do
42367 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42368 ac_cv_prog_ac_ct_STRIP
="strip"
42369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42375 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
42378 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
42379 if test -n "$ac_ct_STRIP"; then
42380 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
42381 echo "${ECHO_T}$ac_ct_STRIP" >&6
42383 echo "$as_me:$LINENO: result: no" >&5
42384 echo "${ECHO_T}no" >&6
42389 STRIP
="$ac_cv_prog_STRIP"
42392 if test -n "$ac_tool_prefix"; then
42393 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
42394 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
42395 echo "$as_me:$LINENO: checking for $ac_word" >&5
42396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42397 if test "${ac_cv_prog_NM+set}" = set; then
42398 echo $ECHO_N "(cached) $ECHO_C" >&6
42400 if test -n "$NM"; then
42401 ac_cv_prog_NM
="$NM" # Let the user override the test.
42403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42404 for as_dir
in $PATH
42407 test -z "$as_dir" && as_dir
=.
42408 for ac_exec_ext
in '' $ac_executable_extensions; do
42409 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42410 ac_cv_prog_NM
="${ac_tool_prefix}nm"
42411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42420 if test -n "$NM"; then
42421 echo "$as_me:$LINENO: result: $NM" >&5
42422 echo "${ECHO_T}$NM" >&6
42424 echo "$as_me:$LINENO: result: no" >&5
42425 echo "${ECHO_T}no" >&6
42429 if test -z "$ac_cv_prog_NM"; then
42431 # Extract the first word of "nm", so it can be a program name with args.
42432 set dummy nm
; ac_word
=$2
42433 echo "$as_me:$LINENO: checking for $ac_word" >&5
42434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42435 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
42436 echo $ECHO_N "(cached) $ECHO_C" >&6
42438 if test -n "$ac_ct_NM"; then
42439 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
42441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42442 for as_dir
in $PATH
42445 test -z "$as_dir" && as_dir
=.
42446 for ac_exec_ext
in '' $ac_executable_extensions; do
42447 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42448 ac_cv_prog_ac_ct_NM
="nm"
42449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42455 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
42458 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
42459 if test -n "$ac_ct_NM"; then
42460 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
42461 echo "${ECHO_T}$ac_ct_NM" >&6
42463 echo "$as_me:$LINENO: result: no" >&5
42464 echo "${ECHO_T}no" >&6
42469 NM
="$ac_cv_prog_NM"
42473 case ${BAKEFILE_HOST} in
42475 INSTALL_DIR
="mkdir -p"
42477 *) INSTALL_DIR
="$INSTALL -d"
42483 case ${BAKEFILE_HOST} in
42484 *-*-cygwin* | *-*-mingw32* )
42485 LDFLAGS_GUI
="-mwindows"
42491 echo "$as_me:$LINENO: checking if make is GNU make" >&5
42492 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
42493 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
42494 echo $ECHO_N "(cached) $ECHO_C" >&6
42497 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
42498 egrep -s GNU
> /dev
/null
); then
42499 bakefile_cv_prog_makeisgnu
="yes"
42501 bakefile_cv_prog_makeisgnu
="no"
42505 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
42506 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
42508 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
42525 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
42526 case "${BAKEFILE_HOST}" in
42533 *-pc-os2_emx | *-pc-os2-emx )
42543 powerpc
-apple-macos* )
42552 case "$BAKEFILE_FORCE_PLATFORM" in
42573 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
42574 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
42575 { (exit 1); exit 1; }; }
42590 # Check whether --enable-omf or --disable-omf was given.
42591 if test "${enable_omf+set}" = set; then
42592 enableval
="$enable_omf"
42593 bk_os2_use_omf
="$enableval"
42596 case "${BAKEFILE_HOST}" in
42598 if test "x$GCC" = "xyes"; then
42599 CFLAGS
="$CFLAGS -fno-common"
42600 CXXFLAGS
="$CXXFLAGS -fno-common"
42602 if test "x$XLCC" = "xyes"; then
42603 CFLAGS
="$CFLAGS -qnocommon"
42604 CXXFLAGS
="$CXXFLAGS -qnocommon"
42608 *-pc-os2_emx | *-pc-os2-emx )
42609 if test "x$bk_os2_use_omf" = "xyes" ; then
42612 LDFLAGS
="-Zomf $LDFLAGS"
42613 CFLAGS
="-Zomf $CFLAGS"
42614 CXXFLAGS
="-Zomf $CXXFLAGS"
42622 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
42628 SO_SUFFIX_MODULE
="so"
42633 DLLPREFIX_MODULE
=""
42637 case "${BAKEFILE_HOST}" in
42640 SO_SUFFIX_MODULE
="sl"
42644 SO_SUFFIX_MODULE
="a"
42648 SO_SUFFIX_MODULE
="dll"
42649 DLLIMP_SUFFIX
="dll.a"
42656 SO_SUFFIX_MODULE
="dll"
42657 DLLIMP_SUFFIX
="dll.a"
42667 *-pc-os2_emx | *-pc-os2-emx )
42669 SO_SUFFIX_MODULE
="dll"
42670 DLLIMP_SUFFIX
=$OS2_LIBEXT
42674 LIBEXT
=".$OS2_LIBEXT"
42679 SO_SUFFIX_MODULE
="bundle"
42683 if test "x$DLLIMP_SUFFIX" = "x" ; then
42684 DLLIMP_SUFFIX
="$SO_SUFFIX"
42699 if test "x$GCC" = "xyes"; then
42703 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
42704 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
42707 case "${BAKEFILE_HOST}" in
42709 if test "x$GCC" != "xyes"; then
42710 LDFLAGS
="$LDFLAGS -L/usr/lib"
42712 SHARED_LD_CC
="${CC} -b -o"
42713 SHARED_LD_CXX
="${CXX} -b -o"
42719 if test "x$GCC" != "xyes"; then
42720 echo "$as_me:$LINENO: checking for Intel compiler" >&5
42721 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
42722 if test "${bakefile_cv_prog_icc+set}" = set; then
42723 echo $ECHO_N "(cached) $ECHO_C" >&6
42726 cat >conftest.
$ac_ext <<_ACEOF
42729 cat confdefs.h
>>conftest.
$ac_ext
42730 cat >>conftest.
$ac_ext <<_ACEOF
42731 /* end confdefs.h. */
42737 #ifndef __INTEL_COMPILER
42745 rm -f conftest.
$ac_objext
42746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42747 (eval $ac_compile) 2>conftest.er1
42749 grep -v '^ *+' conftest.er1
>conftest.err
42751 cat conftest.err
>&5
42752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42753 (exit $ac_status); } &&
42754 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42756 (eval $ac_try) 2>&5
42758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42759 (exit $ac_status); }; } &&
42760 { ac_try
='test -s conftest.$ac_objext'
42761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42762 (eval $ac_try) 2>&5
42764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42765 (exit $ac_status); }; }; then
42766 bakefile_cv_prog_icc
=yes
42768 echo "$as_me: failed program was:" >&5
42769 sed 's/^/| /' conftest.
$ac_ext >&5
42771 bakefile_cv_prog_icc
=no
42774 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42777 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
42778 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
42779 if test "$bakefile_cv_prog_icc" = "yes"; then
42786 if test "x$GCC" != xyes
; then
42787 SHARED_LD_CC
="${CC} -G -o"
42788 SHARED_LD_CXX
="${CXX} -G -o"
42795 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
42796 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
42797 if test "${wx_cv_gcc31+set}" = set; then
42798 echo $ECHO_N "(cached) $ECHO_C" >&6
42801 cat >conftest.
$ac_ext <<_ACEOF
42804 cat confdefs.h
>>conftest.
$ac_ext
42805 cat >>conftest.
$ac_ext <<_ACEOF
42806 /* end confdefs.h. */
42812 #if (__GNUC__ < 3) || \
42813 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
42821 rm -f conftest.
$ac_objext
42822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42823 (eval $ac_compile) 2>conftest.er1
42825 grep -v '^ *+' conftest.er1
>conftest.err
42827 cat conftest.err
>&5
42828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42829 (exit $ac_status); } &&
42830 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42832 (eval $ac_try) 2>&5
42834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42835 (exit $ac_status); }; } &&
42836 { ac_try
='test -s conftest.$ac_objext'
42837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42838 (eval $ac_try) 2>&5
42840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42841 (exit $ac_status); }; }; then
42846 echo "$as_me: failed program was:" >&5
42847 sed 's/^/| /' conftest.
$ac_ext >&5
42854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42857 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
42858 echo "${ECHO_T}$wx_cv_gcc31" >&6
42859 if test "$wx_cv_gcc31" = "no"; then
42862 cat <<EOF >shared-ld-sh
42864 #-----------------------------------------------------------------------------
42865 #-- Name: distrib/mac/shared-ld-sh
42866 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
42867 #-- Author: Gilles Depeyrot
42868 #-- Copyright: (c) 2002 Gilles Depeyrot
42869 #-- Licence: any use permitted
42870 #-----------------------------------------------------------------------------
42875 linking_flag="-dynamiclib"
42876 ldargs="-r -keep_private_externs -nostdlib"
42878 while test ${D}# -gt 0; do
42885 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
42886 # collect these options and values
42887 args="${D}{args} ${D}1 ${D}2"
42892 # collect these load args
42893 ldargs="${D}{ldargs} ${D}1"
42896 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
42897 # collect these options
42898 args="${D}{args} ${D}1"
42901 -dynamiclib|-bundle)
42902 linking_flag="${D}1"
42906 echo "shared-ld: unhandled option '${D}1'"
42910 *.o | *.a | *.dylib)
42911 # collect object files
42912 objects="${D}{objects} ${D}1"
42916 echo "shared-ld: unhandled argument '${D}1'"
42927 # Link one module containing all the others
42929 if test ${D}{verbose} = 1; then
42930 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
42932 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
42936 # Link the shared library from the single module created, but only if the
42937 # previous command didn't fail:
42939 if test ${D}{status} = 0; then
42940 if test ${D}{verbose} = 1; then
42941 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
42943 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
42948 # Remove intermediate module
42950 rm -f master.${D}${D}.o
42955 chmod +x shared
-ld-sh
42957 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
42958 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
42959 SHARED_LD_CXX
="$SHARED_LD_CC"
42960 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
42962 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
42963 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
42964 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
42965 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
42968 if test "x$GCC" == "xyes"; then
42969 PIC_FLAG
="-dynamic -fPIC"
42971 if test "x$XLCC" = "xyes"; then
42972 PIC_FLAG
="-dynamic -DPIC"
42977 if test "x$GCC" != "xyes"; then
42978 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
42979 set dummy makeC
++SharedLib
; ac_word
=$2
42980 echo "$as_me:$LINENO: checking for $ac_word" >&5
42981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42982 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
42983 echo $ECHO_N "(cached) $ECHO_C" >&6
42985 if test -n "$AIX_CXX_LD"; then
42986 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
42988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42989 for as_dir
in $PATH
42992 test -z "$as_dir" && as_dir
=.
42993 for ac_exec_ext
in '' $ac_executable_extensions; do
42994 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42995 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
42996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43002 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
43005 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
43006 if test -n "$AIX_CXX_LD"; then
43007 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
43008 echo "${ECHO_T}$AIX_CXX_LD" >&6
43010 echo "$as_me:$LINENO: result: no" >&5
43011 echo "${ECHO_T}no" >&6
43014 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
43015 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
43020 SHARED_LD_CC
="${LD} -nostart -o"
43021 SHARED_LD_CXX
="${LD} -nostart -o"
43025 if test "x$GCC" != "xyes"; then
43030 *-*-cygwin* | *-*-mingw32* )
43032 SHARED_LD_CC
="\$(CC) -shared -o"
43033 SHARED_LD_CXX
="\$(CXX) -shared -o"
43037 *-pc-os2_emx | *-pc-os2-emx )
43038 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43039 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43043 cat <<EOF >dllar.sh
43046 # dllar - a tool to build both a .dll and an .a file
43047 # from a set of object (.o) files for EMX/OS2.
43049 # Written by Andrew Zabolotny, bit@freya.etu.ru
43050 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
43052 # This script will accept a set of files on the command line.
43053 # All the public symbols from the .o files will be exported into
43054 # a .DEF file, then linker will be run (through gcc) against them to
43055 # build a shared library consisting of all given .o files. All libraries
43056 # (.a) will be first decompressed into component .o files then act as
43057 # described above. You can optionally give a description (-d "description")
43058 # which will be put into .DLL. To see the list of accepted options (as well
43059 # as command-line format) simply run this program without options. The .DLL
43060 # is built to be imported by name (there is no guarantee that new versions
43061 # of the library you build will have same ordinals for same symbols).
43063 # dllar is free software; you can redistribute it and/or modify
43064 # it under the terms of the GNU General Public License as published by
43065 # the Free Software Foundation; either version 2, or (at your option)
43066 # any later version.
43068 # dllar is distributed in the hope that it will be useful,
43069 # but WITHOUT ANY WARRANTY; without even the implied warranty of
43070 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
43071 # GNU General Public License for more details.
43073 # You should have received a copy of the GNU General Public License
43074 # along with dllar; see the file COPYING. If not, write to the Free
43075 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
43078 # To successfuly run this program you will need:
43079 # - Current drive should have LFN support (HPFS, ext2, network, etc)
43080 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
43082 # (used to build the .dll)
43084 # (used to create .def file from .o files)
43086 # (used to create .a file from .def file)
43087 # - GNU text utilites (cat, sort, uniq)
43088 # used to process emxexp output
43089 # - GNU file utilities (mv, rm)
43091 # - lxlite (optional, see flag below)
43092 # (used for general .dll cleanup)
43099 # basnam, variant of basename, which does _not_ remove the path, _iff_
43100 # second argument (suffix to remove) is given
43104 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
43107 echo ${D}1 | sed 's/'${D}2'${D}//'
43110 echo "error in basnam ${D}*"
43116 # Cleanup temporary files and output
43119 for i in ${D}inputFiles ; do
43122 rm -rf \`basnam ${D}i !\`
43129 # Kill result in case of failure as there is just to many stupid make/nmake
43130 # things out there which doesn't do this.
43131 if [ ${D}# -eq 0 ]; then
43132 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
43136 # Print usage and exit script with rc=1.
43138 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
43139 echo ' [-name-mangler-script script.sh]'
43140 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
43141 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
43142 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
43143 echo ' [*.o] [*.a]'
43144 echo '*> "output_file" should have no extension.'
43145 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
43146 echo ' The import library name is derived from this and is set to "name".a,'
43147 echo ' unless overridden by -import'
43148 echo '*> "importlib_name" should have no extension.'
43149 echo ' If it has the .o, or .a extension, it is automatically removed.'
43150 echo ' This name is used as the import library name and may be longer and'
43151 echo ' more descriptive than the DLL name which has to follow the old '
43152 echo ' 8.3 convention of FAT.'
43153 echo '*> "script.sh may be given to override the output_file name by a'
43154 echo ' different name. It is mainly useful if the regular make process'
43155 echo ' of some package does not take into account OS/2 restriction of'
43156 echo ' DLL name lengths. It takes the importlib name as input and is'
43157 echo ' supposed to procude a shorter name as output. The script should'
43158 echo ' expect to get importlib_name without extension and should produce'
43159 echo ' a (max.) 8 letter name without extension.'
43160 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
43161 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
43162 echo ' These flags will be put at the start of GCC command line.'
43163 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
43164 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
43165 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
43166 echo ' If the last character of a symbol is "*", all symbols beginning'
43167 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
43168 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
43169 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
43170 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
43171 echo ' C runtime DLLs.'
43172 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
43173 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
43174 echo ' unchanged to GCC at the end of command line.'
43175 echo '*> If you create a DLL from a library and you do not specify -o,'
43176 echo ' the basename for DLL and import library will be set to library name,'
43177 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
43178 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
43179 echo ' library will be renamed into gcc_s.a.'
43182 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
43183 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
43188 # Execute a command.
43189 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
43190 # @Uses Whatever CleanUp() uses.
43196 if [ ${D}rcCmd -ne 0 ]; then
43197 echo "command failed, exit code="${D}rcCmd
43212 CFLAGS="-s -Zcrtdll"
43214 EXPORT_BY_ORDINALS=0
43219 case ${D}curDirS in
43223 curDirS=${D}{curDirS}"/"
43226 # Parse commandline
43229 while [ ${D}1 ]; do
43232 EXPORT_BY_ORDINALS=1;
43242 -name-mangler-script)
43263 exclude_symbols=${D}{exclude_symbols}${D}1" "
43267 library_flags=${D}{library_flags}${D}1" "
43286 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
43289 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
43290 if [ ${D}omfLinking -eq 1 ]; then
43291 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
43293 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
43298 if [ ${D}libsToLink -ne 0 ]; then
43299 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
43301 for file in ${D}1 ; do
43302 if [ -f ${D}file ]; then
43303 inputFiles="${D}{inputFiles} ${D}file"
43307 if [ ${D}found -eq 0 ]; then
43308 echo "ERROR: No file(s) found: "${D}1
43315 done # iterate cmdline words
43318 if [ -z "${D}inputFiles" ]; then
43319 echo "dllar: no input files"
43323 # Now extract all .o files from .a files
43325 for file in ${D}inputFiles ; do
43336 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
43341 dirname=\`basnam ${D}file ${D}suffix\`"_%"
43343 if [ ${D}? -ne 0 ]; then
43344 echo "Failed to create subdirectory ./${D}dirname"
43348 # Append '!' to indicate archive
43349 newInputFiles="${D}newInputFiles ${D}{dirname}!"
43350 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
43353 for subfile in ${D}dirname/*.o* ; do
43354 if [ -f ${D}subfile ]; then
43356 if [ -s ${D}subfile ]; then
43357 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
43358 newInputFiles="${D}newInputFiles ${D}subfile"
43362 if [ ${D}found -eq 0 ]; then
43363 echo "WARNING: there are no files in archive \\'${D}file\\'"
43367 newInputFiles="${D}{newInputFiles} ${D}file"
43371 inputFiles="${D}newInputFiles"
43373 # Output filename(s).
43375 if [ -z ${D}outFile ]; then
43377 set outFile ${D}inputFiles; outFile=${D}2
43380 # If it is an archive, remove the '!' and the '_%' suffixes
43381 case ${D}outFile in
43383 outFile=\`basnam ${D}outFile _%!\`
43388 case ${D}outFile in
43390 outFile=\`basnam ${D}outFile .dll\`
43393 outFile=\`basnam ${D}outFile .DLL\`
43396 outFile=\`basnam ${D}outFile .o\`
43399 outFile=\`basnam ${D}outFile .obj\`
43402 outFile=\`basnam ${D}outFile .a\`
43405 outFile=\`basnam ${D}outFile .lib\`
43410 case ${D}outimpFile in
43412 outimpFile=\`basnam ${D}outimpFile .a\`
43415 outimpFile=\`basnam ${D}outimpFile .lib\`
43420 if [ -z ${D}outimpFile ]; then
43421 outimpFile=${D}outFile
43423 defFile="${D}{outFile}.def"
43424 arcFile="${D}{outimpFile}.a"
43425 arcFile2="${D}{outimpFile}.lib"
43427 #create ${D}dllFile as something matching 8.3 restrictions,
43428 if [ -z ${D}renameScript ] ; then
43429 dllFile="${D}outFile"
43431 dllFile=\`${D}renameScript ${D}outimpFile\`
43434 if [ ${D}do_backup -ne 0 ] ; then
43435 if [ -f ${D}arcFile ] ; then
43436 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
43438 if [ -f ${D}arcFile2 ] ; then
43439 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
43443 # Extract public symbols from all the object files.
43444 tmpdefFile=${D}{defFile}_%
43445 rm -f ${D}tmpdefFile
43446 for file in ${D}inputFiles ; do
43451 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
43456 # Create the def file.
43458 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
43459 dllFile="${D}{dllFile}.dll"
43460 if [ ! -z ${D}description ]; then
43461 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
43463 echo "EXPORTS" >> ${D}defFile
43465 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
43466 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
43468 # Checks if the export is ok or not.
43469 for word in ${D}exclude_symbols; do
43470 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
43471 mv ${D}{tmpdefFile}% ${D}tmpdefFile
43475 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
43476 sed "=" < ${D}tmpdefFile | \\
43480 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
43482 ' > ${D}{tmpdefFile}%
43483 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
43485 rm -f ${D}{tmpdefFile}%
43487 cat ${D}tmpdefFile >> ${D}defFile
43488 rm -f ${D}tmpdefFile
43490 # Do linking, create implib, and apply lxlite.
43492 for file in ${D}inputFiles ; do
43497 gccCmdl="${D}gccCmdl ${D}file"
43501 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
43502 touch "${D}{outFile}.dll"
43504 doCommand "emximp -o ${D}arcFile ${D}defFile"
43505 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
43507 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
43510 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
43512 doCommand "emxomf -s -l ${D}arcFile"
43522 powerpc
-apple-macos* | \
43523 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
43532 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
43533 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
43534 { (exit 1); exit 1; }; }
43537 if test "x$PIC_FLAG" != "x" ; then
43538 PIC_FLAG
="$PIC_FLAG -DPIC"
43541 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
43542 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
43544 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
43545 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
43564 case "${BAKEFILE_HOST}" in
43565 *-*-linux* | *-*-freebsd* )
43566 SONAME_FLAG
="-Wl,-soname,"
43600 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
43601 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
43604 if test "x$GCC" = "xyes"; then
43607 case "${BAKEFILE_HOST}" in
43609 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
43612 DEPSFLAG_GCC
="-MMD"
43615 echo "$as_me:$LINENO: result: gcc" >&5
43616 echo "${ECHO_T}gcc" >&6
43617 elif test "x$MWCC" = "xyes"; then
43620 DEPSFLAG_MWCC
="-MM"
43621 echo "$as_me:$LINENO: result: mwcc" >&5
43622 echo "${ECHO_T}mwcc" >&6
43623 elif test "x$SUNCC" = "xyes"; then
43626 DEPSFLAG_SUNCC
="-xM1"
43627 echo "$as_me:$LINENO: result: suncc" >&5
43628 echo "${ECHO_T}suncc" >&6
43630 echo "$as_me:$LINENO: result: none" >&5
43631 echo "${ECHO_T}none" >&6
43634 if test $DEPS_TRACKING = 1 ; then
43640 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
43641 # script. It is used to track C/C++ files dependencies in portable way.
43643 # Permission is given to use this file in any way.
43645 DEPSMODE=${DEPSMODE}
43647 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
43648 DEPSFLAG_MWCC="${DEPSFLAG_MWCC}"
43649 DEPSFLAG_SUNCC="${DEPSFLAG_SUNCC}"
43651 mkdir -p ${D}DEPSDIR
43653 if test ${D}DEPSMODE = gcc ; then
43654 ${D}* ${D}{DEPSFLAG_GCC}
43656 if test ${D}{status} != 0 ; then
43659 # move created file to the location we want it in:
43660 while test ${D}# -gt 0; do
43674 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
43675 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
43676 if test -f ${D}depfile ; then
43677 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
43680 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
43681 if test -f ${D}depfile ; then
43682 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
43687 elif test ${D}DEPSMODE = mwcc ; then
43690 if test ${D}{status} != 0 ; then
43693 # Run mwcc again with -MM and redirect into the dep file we want
43694 # NOTE: We can't use shift here because we need ${D}* to be valid
43696 for arg in ${D}* ; do
43697 if test "${D}prevarg" = "-o"; then
43710 ${D}* ${D}DEPSFLAG_MWCC >${D}{DEPSDIR}/${D}{objfile}.d
43712 elif test ${D}DEPSMODE = suncc; then
43714 # Run compiler again with deps flag and redirect into the dep file.
43715 # It doesn't work if the '-o FILE' option is used, but without it the
43716 # dependency file will contain the wrong name for the object. So it is
43717 # removed from the command line, and the dep file is fixed with sed.
43719 while test ${D}# -gt 0; do
43726 eval arg${D}#=\\${D}1
43727 cmd="${D}cmd \\${D}arg${D}#"
43732 eval "${D}cmd ${D}DEPSFLAG_SUNCC" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
43749 case ${BAKEFILE_HOST} in
43750 *-*-cygwin* | *-*-mingw32* )
43751 if test "$build" != "$host" ; then
43752 RESCOMP
=$host_alias-windres
43754 # Extract the first word of "windres", so it can be a program name with args.
43755 set dummy windres
; ac_word
=$2
43756 echo "$as_me:$LINENO: checking for $ac_word" >&5
43757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43758 if test "${ac_cv_prog_RESCOMP+set}" = set; then
43759 echo $ECHO_N "(cached) $ECHO_C" >&6
43761 if test -n "$RESCOMP"; then
43762 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
43764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43765 for as_dir
in $PATH
43768 test -z "$as_dir" && as_dir
=.
43769 for ac_exec_ext
in '' $ac_executable_extensions; do
43770 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43771 ac_cv_prog_RESCOMP
="windres"
43772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43778 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
43781 RESCOMP
=$ac_cv_prog_RESCOMP
43782 if test -n "$RESCOMP"; then
43783 echo "$as_me:$LINENO: result: $RESCOMP" >&5
43784 echo "${ECHO_T}$RESCOMP" >&6
43786 echo "$as_me:$LINENO: result: no" >&5
43787 echo "${ECHO_T}no" >&6
43793 *-*-darwin* | powerpc
-apple-macos* )
43794 # Extract the first word of "Rez", so it can be a program name with args.
43795 set dummy Rez
; ac_word
=$2
43796 echo "$as_me:$LINENO: checking for $ac_word" >&5
43797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43798 if test "${ac_cv_prog_RESCOMP+set}" = set; then
43799 echo $ECHO_N "(cached) $ECHO_C" >&6
43801 if test -n "$RESCOMP"; then
43802 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
43804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43805 for as_dir
in $PATH
43808 test -z "$as_dir" && as_dir
=.
43809 for ac_exec_ext
in '' $ac_executable_extensions; do
43810 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43811 ac_cv_prog_RESCOMP
="Rez"
43812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43818 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
43821 RESCOMP
=$ac_cv_prog_RESCOMP
43822 if test -n "$RESCOMP"; then
43823 echo "$as_me:$LINENO: result: $RESCOMP" >&5
43824 echo "${ECHO_T}$RESCOMP" >&6
43826 echo "$as_me:$LINENO: result: no" >&5
43827 echo "${ECHO_T}no" >&6
43830 # Extract the first word of "SetFile", so it can be a program name with args.
43831 set dummy SetFile
; ac_word
=$2
43832 echo "$as_me:$LINENO: checking for $ac_word" >&5
43833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43834 if test "${ac_cv_prog_SETFILE+set}" = set; then
43835 echo $ECHO_N "(cached) $ECHO_C" >&6
43837 if test -n "$SETFILE"; then
43838 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
43840 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43841 for as_dir
in $PATH
43844 test -z "$as_dir" && as_dir
=.
43845 for ac_exec_ext
in '' $ac_executable_extensions; do
43846 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43847 ac_cv_prog_SETFILE
="SetFile"
43848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43854 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
43857 SETFILE
=$ac_cv_prog_SETFILE
43858 if test -n "$SETFILE"; then
43859 echo "$as_me:$LINENO: result: $SETFILE" >&5
43860 echo "${ECHO_T}$SETFILE" >&6
43862 echo "$as_me:$LINENO: result: no" >&5
43863 echo "${ECHO_T}no" >&6
43873 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.9"
43876 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.9"
43880 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
43881 if test "${enable_precomp_headers+set}" = set; then
43882 enableval
="$enable_precomp_headers"
43883 bk_use_pch
="$enableval"
43888 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
43889 if test "x$GCC" = "xyes"; then
43890 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
43891 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
43892 cat >conftest.
$ac_ext <<_ACEOF
43895 cat confdefs.h
>>conftest.
$ac_ext
43896 cat >>conftest.
$ac_ext <<_ACEOF
43897 /* end confdefs.h. */
43903 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
43904 #error "no pch support"
43907 #error "no pch support"
43909 #if (__GNUC__ == 3) && \
43910 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
43911 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
43912 #error "no pch support"
43919 rm -f conftest.
$ac_objext
43920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43921 (eval $ac_compile) 2>conftest.er1
43923 grep -v '^ *+' conftest.er1
>conftest.err
43925 cat conftest.err
>&5
43926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43927 (exit $ac_status); } &&
43928 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43930 (eval $ac_try) 2>&5
43932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43933 (exit $ac_status); }; } &&
43934 { ac_try
='test -s conftest.$ac_objext'
43935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43936 (eval $ac_try) 2>&5
43938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43939 (exit $ac_status); }; }; then
43941 echo "$as_me:$LINENO: result: yes" >&5
43942 echo "${ECHO_T}yes" >&6
43946 echo "$as_me: failed program was:" >&5
43947 sed 's/^/| /' conftest.
$ac_ext >&5
43950 echo "$as_me:$LINENO: result: no" >&5
43951 echo "${ECHO_T}no" >&6
43954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43955 if test $GCC_PCH = 1 ; then
43958 cat <<EOF >bk-make-pch
43961 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
43962 # script. It is used to generated precompiled headers.
43964 # Permission is given to use this file in any way.
43973 while test ${D}{#} -gt 0; do
43976 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
43977 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
43978 headerfile="${D}{incdir}/${D}{header}"
43982 compiler="${D}{compiler} ${D}{1}"
43986 if test "x${D}{headerfile}" = "x" ; then
43987 echo "error: can't find header ${D}{header} in include paths" >2
43989 if test -f ${D}{outfile} ; then
43990 rm -f ${D}{outfile}
43992 mkdir -p \`dirname ${D}{outfile}\`
43994 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
43996 # can do this because gcc is >= 3.4:
43997 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
44002 chmod +x bk
-make-pch
44009 COND_BUILD_DEBUG
="#"
44010 if test "x$BUILD" = "xdebug" ; then
44011 COND_BUILD_DEBUG
=""
44014 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
44015 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
44016 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
44019 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
44020 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
44021 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
44024 COND_BUILD_DEBUG_UNICODE_0
="#"
44025 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
44026 COND_BUILD_DEBUG_UNICODE_0
=""
44029 COND_BUILD_DEBUG_UNICODE_1
="#"
44030 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
44031 COND_BUILD_DEBUG_UNICODE_1
=""
44034 COND_BUILD_RELEASE
="#"
44035 if test "x$BUILD" = "xrelease" ; then
44036 COND_BUILD_RELEASE
=""
44039 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
44040 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
44041 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
44044 COND_BUILD_RELEASE_UNICODE_0
="#"
44045 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
44046 COND_BUILD_RELEASE_UNICODE_0
=""
44049 COND_BUILD_RELEASE_UNICODE_1
="#"
44050 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
44051 COND_BUILD_RELEASE_UNICODE_1
=""
44054 COND_DEBUG_FLAG_1
="#"
44055 if test "x$DEBUG_FLAG" = "x1" ; then
44056 COND_DEBUG_FLAG_1
=""
44059 COND_DEBUG_INFO_0
="#"
44060 if test "x$DEBUG_INFO" = "x0" ; then
44061 COND_DEBUG_INFO_0
=""
44064 COND_DEBUG_INFO_1
="#"
44065 if test "x$DEBUG_INFO" = "x1" ; then
44066 COND_DEBUG_INFO_1
=""
44069 COND_DEPS_TRACKING_0
="#"
44070 if test "x$DEPS_TRACKING" = "x0" ; then
44071 COND_DEPS_TRACKING_0
=""
44074 COND_DEPS_TRACKING_1
="#"
44075 if test "x$DEPS_TRACKING" = "x1" ; then
44076 COND_DEPS_TRACKING_1
=""
44080 if test "x$GCC_PCH" = "x1" ; then
44084 COND_MONOLITHIC_0
="#"
44085 if test "x$MONOLITHIC" = "x0" ; then
44086 COND_MONOLITHIC_0
=""
44089 COND_MONOLITHIC_0_SHARED_0
="#"
44090 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
44091 COND_MONOLITHIC_0_SHARED_0
=""
44094 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
44095 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
44096 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
44099 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
44100 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
44101 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
44104 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
44105 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
44106 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
44109 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
44110 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
44111 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
44114 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
44115 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
44116 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
44119 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
44120 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
44121 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
44124 COND_MONOLITHIC_0_SHARED_1
="#"
44125 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
44126 COND_MONOLITHIC_0_SHARED_1
=""
44129 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
44130 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
44131 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
44134 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
44135 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
44136 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
44139 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
44140 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
44141 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
44144 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
44145 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
44146 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
44149 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
44150 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
44151 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
44154 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
44155 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
44156 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
44159 COND_MONOLITHIC_0_USE_ODBC_1
="#"
44160 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
44161 COND_MONOLITHIC_0_USE_ODBC_1
=""
44164 COND_MONOLITHIC_1
="#"
44165 if test "x$MONOLITHIC" = "x1" ; then
44166 COND_MONOLITHIC_1
=""
44169 COND_MONOLITHIC_1_SHARED_0
="#"
44170 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
44171 COND_MONOLITHIC_1_SHARED_0
=""
44174 COND_MONOLITHIC_1_SHARED_1
="#"
44175 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
44176 COND_MONOLITHIC_1_SHARED_1
=""
44179 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
44180 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
44181 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
44184 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
44185 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
44186 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
44189 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
44190 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
44191 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
44194 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
44195 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
44196 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
44199 COND_PLATFORM_MACOSX_1
="#"
44200 if test "x$PLATFORM_MACOSX" = "x1" ; then
44201 COND_PLATFORM_MACOSX_1
=""
44204 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
44205 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
44206 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
44209 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
44210 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
44211 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
44214 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
44215 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
44216 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
44219 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
44220 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
44221 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
44224 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
44225 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
44226 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
44229 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
44230 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44231 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
44234 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
44235 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
44236 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
44239 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
44240 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
44241 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
44244 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
44245 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
44246 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
44249 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
44250 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
44251 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
44254 COND_PLATFORM_MACOS_1
="#"
44255 if test "x$PLATFORM_MACOS" = "x1" ; then
44256 COND_PLATFORM_MACOS_1
=""
44259 COND_PLATFORM_MAC_1
="#"
44260 if test "x$PLATFORM_MAC" = "x1" ; then
44261 COND_PLATFORM_MAC_1
=""
44264 COND_PLATFORM_MSDOS_1
="#"
44265 if test "x$PLATFORM_MSDOS" = "x1" ; then
44266 COND_PLATFORM_MSDOS_1
=""
44269 COND_PLATFORM_OS2_1
="#"
44270 if test "x$PLATFORM_OS2" = "x1" ; then
44271 COND_PLATFORM_OS2_1
=""
44274 COND_PLATFORM_UNIX_0
="#"
44275 if test "x$PLATFORM_UNIX" = "x0" ; then
44276 COND_PLATFORM_UNIX_0
=""
44279 COND_PLATFORM_UNIX_1
="#"
44280 if test "x$PLATFORM_UNIX" = "x1" ; then
44281 COND_PLATFORM_UNIX_1
=""
44284 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
44285 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
44286 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
44289 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
44290 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
44291 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
44294 COND_PLATFORM_WIN32_0
="#"
44295 if test "x$PLATFORM_WIN32" = "x0" ; then
44296 COND_PLATFORM_WIN32_0
=""
44299 COND_PLATFORM_WIN32_1
="#"
44300 if test "x$PLATFORM_WIN32" = "x1" ; then
44301 COND_PLATFORM_WIN32_1
=""
44305 if test "x$SHARED" = "x0" ; then
44309 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
44310 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
44311 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
44314 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
44315 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
44316 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
44319 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
44320 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
44321 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
44324 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
44325 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
44326 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
44329 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
44330 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
44331 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
44334 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
44335 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
44336 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
44339 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
44340 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
44341 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
44344 COND_SHARED_0_USE_XRC_1
="#"
44345 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
44346 COND_SHARED_0_USE_XRC_1
=""
44349 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
44350 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
44351 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
44354 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
44355 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
44356 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
44359 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
44360 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
44361 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
44364 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
44365 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
44366 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
44370 if test "x$SHARED" = "x1" ; then
44374 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
44375 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
44376 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
44379 COND_SHARED_1_USE_XRC_1
="#"
44380 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
44381 COND_SHARED_1_USE_XRC_1
=""
44385 if test "x$TOOLKIT" = "x" ; then
44389 COND_TOOLKIT_COCOA
="#"
44390 if test "x$TOOLKIT" = "xCOCOA" ; then
44391 COND_TOOLKIT_COCOA
=""
44394 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
44395 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
44396 COND_TOOLKIT_COCOA_USE_GUI_1
=""
44399 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
44400 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44401 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
44404 COND_TOOLKIT_GTK
="#"
44405 if test "x$TOOLKIT" = "xGTK" ; then
44406 COND_TOOLKIT_GTK
=""
44409 COND_TOOLKIT_GTK_USE_GUI_1
="#"
44410 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
44411 COND_TOOLKIT_GTK_USE_GUI_1
=""
44414 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
44415 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44416 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
44419 COND_TOOLKIT_MAC
="#"
44420 if test "x$TOOLKIT" = "xMAC" ; then
44421 COND_TOOLKIT_MAC
=""
44424 COND_TOOLKIT_MAC_USE_GUI_1
="#"
44425 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
44426 COND_TOOLKIT_MAC_USE_GUI_1
=""
44429 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
44430 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44431 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
44434 COND_TOOLKIT_MGL
="#"
44435 if test "x$TOOLKIT" = "xMGL" ; then
44436 COND_TOOLKIT_MGL
=""
44439 COND_TOOLKIT_MGL_USE_GUI_1
="#"
44440 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
44441 COND_TOOLKIT_MGL_USE_GUI_1
=""
44444 COND_TOOLKIT_MOTIF
="#"
44445 if test "x$TOOLKIT" = "xMOTIF" ; then
44446 COND_TOOLKIT_MOTIF
=""
44449 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
44450 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
44451 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
44454 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
44455 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44456 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
44459 COND_TOOLKIT_MSW
="#"
44460 if test "x$TOOLKIT" = "xMSW" ; then
44461 COND_TOOLKIT_MSW
=""
44464 COND_TOOLKIT_MSW_USE_GUI_1
="#"
44465 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
44466 COND_TOOLKIT_MSW_USE_GUI_1
=""
44469 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
44470 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44471 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
44474 COND_TOOLKIT_PM
="#"
44475 if test "x$TOOLKIT" = "xPM" ; then
44479 COND_TOOLKIT_PM_USE_GUI_1
="#"
44480 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
44481 COND_TOOLKIT_PM_USE_GUI_1
=""
44484 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
44485 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44486 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
44489 COND_TOOLKIT_WINCE
="#"
44490 if test "x$TOOLKIT" = "xWINCE" ; then
44491 COND_TOOLKIT_WINCE
=""
44494 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
44495 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
44496 COND_TOOLKIT_WINCE_USE_GUI_1
=""
44499 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
44500 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44501 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
44504 COND_TOOLKIT_X11
="#"
44505 if test "x$TOOLKIT" = "xX11" ; then
44506 COND_TOOLKIT_X11
=""
44509 COND_TOOLKIT_X11_USE_GUI_1
="#"
44510 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
44511 COND_TOOLKIT_X11_USE_GUI_1
=""
44515 if test "x$UNICODE" = "x1" ; then
44519 COND_USE_EXCEPTIONS_0
="#"
44520 if test "x$USE_EXCEPTIONS" = "x0" ; then
44521 COND_USE_EXCEPTIONS_0
=""
44524 COND_USE_EXCEPTIONS_1
="#"
44525 if test "x$USE_EXCEPTIONS" = "x1" ; then
44526 COND_USE_EXCEPTIONS_1
=""
44530 if test "x$USE_GUI" = "x0" ; then
44535 if test "x$USE_GUI" = "x1" ; then
44539 COND_USE_GUI_1_WXUNIV_0
="#"
44540 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44541 COND_USE_GUI_1_WXUNIV_0
=""
44544 COND_USE_GUI_1_WXUNIV_1
="#"
44545 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
44546 COND_USE_GUI_1_WXUNIV_1
=""
44549 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
44550 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
44551 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
44554 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
44555 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
44556 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
44559 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
44560 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
44561 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
44564 COND_USE_ODBC_1
="#"
44565 if test "x$USE_ODBC" = "x1" ; then
44569 COND_USE_OPENGL_1
="#"
44570 if test "x$USE_OPENGL" = "x1" ; then
44571 COND_USE_OPENGL_1
=""
44574 COND_USE_PLUGINS_0
="#"
44575 if test "x$USE_PLUGINS" = "x0" ; then
44576 COND_USE_PLUGINS_0
=""
44579 COND_USE_RTTI_0
="#"
44580 if test "x$USE_RTTI" = "x0" ; then
44584 COND_USE_RTTI_1
="#"
44585 if test "x$USE_RTTI" = "x1" ; then
44589 COND_USE_SOSYMLINKS_1
="#"
44590 if test "x$USE_SOSYMLINKS" = "x1" ; then
44591 COND_USE_SOSYMLINKS_1
=""
44594 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
44595 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
44596 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
44599 COND_USE_SOVERLINUX_1
="#"
44600 if test "x$USE_SOVERLINUX" = "x1" ; then
44601 COND_USE_SOVERLINUX_1
=""
44604 COND_USE_SOVERSION_0
="#"
44605 if test "x$USE_SOVERSION" = "x0" ; then
44606 COND_USE_SOVERSION_0
=""
44609 COND_USE_SOVERSOLARIS_1
="#"
44610 if test "x$USE_SOVERSOLARIS" = "x1" ; then
44611 COND_USE_SOVERSOLARIS_1
=""
44614 COND_USE_THREADS_0
="#"
44615 if test "x$USE_THREADS" = "x0" ; then
44616 COND_USE_THREADS_0
=""
44619 COND_USE_THREADS_1
="#"
44620 if test "x$USE_THREADS" = "x1" ; then
44621 COND_USE_THREADS_1
=""
44625 if test "x$USE_XRC" = "x1" ; then
44629 COND_WINDOWS_IMPLIB_1
="#"
44630 if test "x$WINDOWS_IMPLIB" = "x1" ; then
44631 COND_WINDOWS_IMPLIB_1
=""
44634 COND_WITH_PLUGIN_SDL_1
="#"
44635 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
44636 COND_WITH_PLUGIN_SDL_1
=""
44640 if test "x$WXUNIV" = "x0" ; then
44645 if test "x$WXUNIV" = "x1" ; then
44649 COND_WXUSE_EXPAT_BUILTIN
="#"
44650 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
44651 COND_WXUSE_EXPAT_BUILTIN
=""
44654 COND_WXUSE_LIBJPEG_BUILTIN
="#"
44655 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
44656 COND_WXUSE_LIBJPEG_BUILTIN
=""
44659 COND_WXUSE_LIBPNG_BUILTIN
="#"
44660 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
44661 COND_WXUSE_LIBPNG_BUILTIN
=""
44664 COND_WXUSE_LIBTIFF_BUILTIN
="#"
44665 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
44666 COND_WXUSE_LIBTIFF_BUILTIN
=""
44669 COND_WXUSE_ODBC_BUILTIN
="#"
44670 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
44671 COND_WXUSE_ODBC_BUILTIN
=""
44674 COND_WXUSE_REGEX_BUILTIN
="#"
44675 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
44676 COND_WXUSE_REGEX_BUILTIN
=""
44679 COND_WXUSE_ZLIB_BUILTIN
="#"
44680 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
44681 COND_WXUSE_ZLIB_BUILTIN
=""
44686 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
44687 { { 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
44688 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;}
44689 { (exit 1); exit 1; }; }
44692 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
44693 { { 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
44694 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;}
44695 { (exit 1); exit 1; }; }
44699 if test "$wxUSE_WINE" = "yes"; then
44703 if test "$wxUSE_SHARED" = "yes"; then
44705 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
44706 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
44709 *-pc-os2_emx | *-pc-os2-emx )
44710 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
44711 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
44712 cp -p ${srcdir}/src
/os
2/dllnames.sh .
44713 cp -p ${srcdir}/src
/os
2/dllar.sh .
44718 EXE_LINKER
="$CXX -o"
44721 if test "$wxUSE_OMF" = "yes"; then
44723 *-pc-os2_emx | *-pc-os2-emx )
44724 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
44725 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
44726 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
44731 GCC_PRAGMA_FLAGS
=""
44734 if test $GCC_PCH = 1 ; then
44735 PCH_FLAGS
="-DWX_PRECOMP"
44736 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
44738 if test "$GCC" = yes; then
44739 echo "$as_me:$LINENO: checking if this GCC version is >= 4.0 and needs -DNO_GCC_PRAGMA" >&5
44740 echo $ECHO_N "checking if this GCC version is >= 4.0 and needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
44741 cat >conftest.
$ac_ext <<_ACEOF
44744 cat confdefs.h
>>conftest.
$ac_ext
44745 cat >>conftest.
$ac_ext <<_ACEOF
44746 /* end confdefs.h. */
44752 Not GCC 4.0 or greater
44759 rm -f conftest.
$ac_objext
44760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44761 (eval $ac_compile) 2>conftest.er1
44763 grep -v '^ *+' conftest.er1
>conftest.err
44765 cat conftest.err
>&5
44766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44767 (exit $ac_status); } &&
44768 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44770 (eval $ac_try) 2>&5
44772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44773 (exit $ac_status); }; } &&
44774 { ac_try
='test -s conftest.$ac_objext'
44775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44776 (eval $ac_try) 2>&5
44778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44779 (exit $ac_status); }; }; then
44780 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
44781 echo "$as_me:$LINENO: result: yes" >&5
44782 echo "${ECHO_T}yes" >&6
44784 echo "$as_me: failed program was:" >&5
44785 sed 's/^/| /' conftest.
$ac_ext >&5
44787 echo "$as_me:$LINENO: result: no" >&5
44788 echo "${ECHO_T}no" >&6
44791 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
44794 if test "$wxUSE_STL" = "yes" -o \
44795 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
44796 "$wxUSE_NO_RTTI" != "yes"; then
44797 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
44798 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
44799 cat >conftest.
$ac_ext <<_ACEOF
44802 cat confdefs.h
>>conftest.
$ac_ext
44803 cat >>conftest.
$ac_ext <<_ACEOF
44804 /* end confdefs.h. */
44809 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
44810 Not GCC 3.2 or greater
44817 rm -f conftest.
$ac_objext
44818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44819 (eval $ac_compile) 2>conftest.er1
44821 grep -v '^ *+' conftest.er1
>conftest.err
44823 cat conftest.err
>&5
44824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44825 (exit $ac_status); } &&
44826 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44828 (eval $ac_try) 2>&5
44830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44831 (exit $ac_status); }; } &&
44832 { ac_try
='test -s conftest.$ac_objext'
44833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44834 (eval $ac_try) 2>&5
44836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44837 (exit $ac_status); }; }; then
44838 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
44839 echo "$as_me:$LINENO: result: yes" >&5
44840 echo "${ECHO_T}yes" >&6
44842 echo "$as_me: failed program was:" >&5
44843 sed 's/^/| /' conftest.
$ac_ext >&5
44845 echo "$as_me:$LINENO: result: no" >&5
44846 echo "${ECHO_T}no" >&6
44848 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44851 *-pc-os2_emx | *-pc-os2-emx )
44852 if test "$wxUSE_STL" = "yes"; then
44853 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
44854 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
44855 cat >conftest.
$ac_ext <<_ACEOF
44858 cat confdefs.h
>>conftest.
$ac_ext
44859 cat >>conftest.
$ac_ext <<_ACEOF
44860 /* end confdefs.h. */
44865 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
44866 Not GCC 3.2 or greater
44873 rm -f conftest.
$ac_objext
44874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44875 (eval $ac_compile) 2>conftest.er1
44877 grep -v '^ *+' conftest.er1
>conftest.err
44879 cat conftest.err
>&5
44880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44881 (exit $ac_status); } &&
44882 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44884 (eval $ac_try) 2>&5
44886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44887 (exit $ac_status); }; } &&
44888 { ac_try
='test -s conftest.$ac_objext'
44889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44890 (eval $ac_try) 2>&5
44892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44893 (exit $ac_status); }; }; then
44894 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
44895 echo "$as_me:$LINENO: result: yes" >&5
44896 echo "${ECHO_T}yes" >&6
44898 echo "$as_me: failed program was:" >&5
44899 sed 's/^/| /' conftest.
$ac_ext >&5
44901 echo "$as_me:$LINENO: result: no" >&5
44902 echo "${ECHO_T}no" >&6
44904 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44913 CPPFLAGS
="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
44916 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
44980 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
44981 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
44982 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
44983 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
44984 echo $ECHO_N "(cached) $ECHO_C" >&6
44986 cat >conftest.
make <<\_ACEOF
44988 @
echo 'ac_maketemp="$(MAKE)"'
44990 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
44991 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
44992 if test -n "$ac_maketemp"; then
44993 eval ac_cv_prog_make_
${ac_make}_set
=yes
44995 eval ac_cv_prog_make_
${ac_make}_set
=no
44997 rm -f conftest.
make
44999 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
45000 echo "$as_me:$LINENO: result: yes" >&5
45001 echo "${ECHO_T}yes" >&6
45004 echo "$as_me:$LINENO: result: no" >&5
45005 echo "${ECHO_T}no" >&6
45006 SET_MAKE
="MAKE=${MAKE-make}"
45011 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
45014 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
45017 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
45020 ac_config_files
="$ac_config_files version-script Makefile"
45023 ac_config_commands
="$ac_config_commands wx-config
45029 if test "$wxUSE_GUI" = "yes"; then
45030 SUBDIRS
="samples demos utils contrib"
45031 else SUBDIRS
="samples utils"
45036 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
45037 if test "${with_cppunit_prefix+set}" = set; then
45038 withval
="$with_cppunit_prefix"
45039 cppunit_config_prefix
="$withval"
45041 cppunit_config_prefix
=""
45044 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
45045 if test "${with_cppunit_exec_prefix+set}" = set; then
45046 withval
="$with_cppunit_exec_prefix"
45047 cppunit_config_exec_prefix
="$withval"
45049 cppunit_config_exec_prefix
=""
45052 if test x
$cppunit_config_exec_prefix != x
; then
45053 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
45054 if test x
${CPPUNIT_CONFIG+set} != xset
; then
45055 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
45058 if test x
$cppunit_config_prefix != x
; then
45059 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
45060 if test x
${CPPUNIT_CONFIG+set} != xset
; then
45061 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
45065 # Extract the first word of "cppunit-config", so it can be a program name with args.
45066 set dummy cppunit
-config; ac_word
=$2
45067 echo "$as_me:$LINENO: checking for $ac_word" >&5
45068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45069 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
45070 echo $ECHO_N "(cached) $ECHO_C" >&6
45072 case $CPPUNIT_CONFIG in
45074 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
45077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45078 for as_dir
in $PATH
45081 test -z "$as_dir" && as_dir
=.
45082 for ac_exec_ext
in '' $ac_executable_extensions; do
45083 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45084 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
45085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45091 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
45095 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
45097 if test -n "$CPPUNIT_CONFIG"; then
45098 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
45099 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
45101 echo "$as_me:$LINENO: result: no" >&5
45102 echo "${ECHO_T}no" >&6
45105 cppunit_version_min
=1.8.0
45107 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
45108 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
45110 if test "$CPPUNIT_CONFIG" = "no" ; then
45113 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
45114 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
45115 cppunit_version
=`$CPPUNIT_CONFIG --version`
45117 cppunit_major_version
=`echo $cppunit_version | \
45118 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
45119 cppunit_minor_version
=`echo $cppunit_version | \
45120 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
45121 cppunit_micro_version
=`echo $cppunit_version | \
45122 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
45124 cppunit_major_min
=`echo $cppunit_version_min | \
45125 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
45126 cppunit_minor_min
=`echo $cppunit_version_min | \
45127 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
45128 cppunit_micro_min
=`echo $cppunit_version_min | \
45129 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
45131 cppunit_version_proper
=`expr \
45132 $cppunit_major_version \> $cppunit_major_min \| \
45133 $cppunit_major_version \= $cppunit_major_min \& \
45134 $cppunit_minor_version \> $cppunit_minor_min \| \
45135 $cppunit_major_version \= $cppunit_major_min \& \
45136 $cppunit_minor_version \= $cppunit_minor_min \& \
45137 $cppunit_micro_version \>= $cppunit_micro_min `
45139 if test "$cppunit_version_proper" = "1" ; then
45140 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
45141 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
45143 echo "$as_me:$LINENO: result: no" >&5
45144 echo "${ECHO_T}no" >&6
45149 if test "x$no_cppunit" = x
; then
45150 SUBDIRS
="$SUBDIRS tests"
45161 for subdir
in `echo $SUBDIRS`; do
45162 if test -d ${srcdir}/${subdir} ; then
45163 if test "$wxUSE_GUI" = "yes"; then
45164 if test ${subdir} = "samples"; then
45165 makefiles
="samples/Makefile.in $makefiles"
45166 for sample
in `echo $SAMPLES_SUBDIRS`; do
45167 if test -d $srcdir/samples
/$sample; then
45168 makefiles
="samples/$sample/Makefile.in $makefiles"
45172 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
45173 eval "disabled=\$$disabled_var"
45174 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
45175 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
45177 else if test ${subdir} = "samples"; then
45178 makefiles
="samples/Makefile.in samples/console/Makefile.in"
45179 elif test ${subdir} = "utils"; then
45181 for util
in HelpGen tex2rtf
; do
45182 if test -d $srcdir/utils
/$util ; then
45183 makefiles
="utils/$util/Makefile.in \
45184 utils/$util/src/Makefile.in \
45188 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
45192 for mkin
in $makefiles ; do
45193 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
45194 ac_config_files
="$ac_config_files $mk"
45201 cat >confcache
<<\_ACEOF
45202 # This file is a shell script that caches the results of configure
45203 # tests run on this system so they can be shared between configure
45204 # scripts and configure runs, see configure's option --config-cache.
45205 # It is not useful on other systems. If it contains results you don't
45206 # want to keep, you may remove or edit it.
45208 # config.status only pays attention to the cache file if you give it
45209 # the --recheck option to rerun configure.
45211 # `ac_cv_env_foo' variables (set or unset) will be overridden when
45212 # loading this file, other *unset* `ac_cv_foo' will be assigned the
45213 # following values.
45217 # The following way of writing the cache mishandles newlines in values,
45218 # but we know of no workaround that is simple, portable, and efficient.
45219 # So, don't put newlines in cache variables' values.
45220 # Ultrix sh set writes to stderr and can't be redirected directly,
45221 # and sets the high bit in the cache file unless we assign to the vars.
45224 case `(ac_space=' '; set | grep ac_space) 2>&1` in
45226 # `set' does not quote correctly, so add quotes (double-quote
45227 # substitution turns \\\\ into \\, and sed turns \\ into \).
45230 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
45233 # `set' quotes correctly as required by POSIX, so do not add quotes.
45235 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
45242 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
45244 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
45246 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
45247 if test -w $cache_file; then
45248 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
45249 cat confcache
>$cache_file
45251 echo "not updating unwritable cache $cache_file"
45256 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
45257 # Let make expand exec_prefix.
45258 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
45260 # VPATH may cause trouble with some makes, so we remove $(srcdir),
45261 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
45262 # trailing colons and then remove the whole line if VPATH becomes empty
45263 # (actually we leave an empty line to preserve line numbers).
45264 if test "x$srcdir" = x.
; then
45265 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
45266 s/:*\$(srcdir):*/:/;
45267 s/:*\${srcdir}:*/:/;
45269 s/^\([^=]*=[ ]*\):*/\1/;
45275 DEFS
=-DHAVE_CONFIG_H
45279 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
45280 # 1. Remove the extension, and $U if already installed.
45281 ac_i
=`echo "$ac_i" |
45282 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
45284 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
45285 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
45287 LIBOBJS
=$ac_libobjs
45289 LTLIBOBJS
=$ac_ltlibobjs
45293 : ${CONFIG_STATUS=./config.status}
45294 ac_clean_files_save
=$ac_clean_files
45295 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
45296 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
45297 echo "$as_me: creating $CONFIG_STATUS" >&6;}
45298 cat >$CONFIG_STATUS <<_ACEOF
45300 # Generated by $as_me.
45301 # Run this file to recreate the current configuration.
45302 # Compiler output produced by configure, useful for debugging
45303 # configure, is in config.log if it exists.
45306 ac_cs_recheck=false
45308 SHELL=\${CONFIG_SHELL-$SHELL}
45311 cat >>$CONFIG_STATUS <<\_ACEOF
45312 ## --------------------- ##
45313 ## M4sh Initialization. ##
45314 ## --------------------- ##
45316 # Be Bourne compatible
45317 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
45320 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
45321 # is contrary to our usage. Disable this feature.
45322 alias -g '${1+"$@"}'='"$@"'
45323 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
45326 DUALCASE
=1; export DUALCASE
# for MKS sh
45328 # Support unset when possible.
45329 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
45336 # Work around bugs in pre-3.0 UWIN ksh.
45337 $as_unset ENV MAIL MAILPATH
45344 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
45345 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45346 LC_TELEPHONE LC_TIME
45348 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45349 eval $as_var=C
; export $as_var
45355 # Required to use basename.
45356 if expr a
: '\(a\)' >/dev
/null
2>&1; then
45362 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
45363 as_basename
=basename
45369 # Name of the executable.
45370 as_me
=`$as_basename "$0" ||
45371 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
45372 X"$0" : 'X\(//\)$' \| \
45373 X"$0" : 'X\(/\)$' \| \
45374 . : '\(.\)' 2>/dev/null ||
45376 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
45377 /^X\/\(\/\/\)$/{ s//\1/; q; }
45378 /^X\/\(\/\).*/{ s//\1/; q; }
45382 # PATH needs CR, and LINENO needs CR and PATH.
45383 # Avoid depending upon Character Ranges.
45384 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
45385 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
45386 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
45387 as_cr_digits
='0123456789'
45388 as_cr_alnum
=$as_cr_Letters$as_cr_digits
45390 # The user is always right.
45391 if test "${PATH_SEPARATOR+set}" != set; then
45392 echo "#! /bin/sh" >conf$$.sh
45393 echo "exit 0" >>conf$$.sh
45395 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
45404 as_lineno_1
=$LINENO
45405 as_lineno_2
=$LINENO
45406 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
45407 test "x$as_lineno_1" != "x$as_lineno_2" &&
45408 test "x$as_lineno_3" = "x$as_lineno_2" || {
45409 # Find who we are. Look in the path if we contain no path at all
45412 *[\\/]* ) as_myself
=$0 ;;
45413 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45414 for as_dir
in $PATH
45417 test -z "$as_dir" && as_dir
=.
45418 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
45423 # We did not find ourselves, most probably we were run as `sh COMMAND'
45424 # in which case we are not to be found in the path.
45425 if test "x$as_myself" = x
; then
45428 if test ! -f "$as_myself"; then
45429 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
45430 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
45431 { (exit 1); exit 1; }; }
45433 case $CONFIG_SHELL in
45435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45436 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
45439 test -z "$as_dir" && as_dir
=.
45440 for as_base
in sh bash ksh sh5
; do
45443 if ("$as_dir/$as_base" -c '
45444 as_lineno_1=$LINENO
45445 as_lineno_2=$LINENO
45446 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
45447 test "x$as_lineno_1" != "x$as_lineno_2" &&
45448 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
45449 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
45450 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
45451 CONFIG_SHELL
=$as_dir/$as_base
45452 export CONFIG_SHELL
45453 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
45461 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
45462 # uniformly replaced by the line number. The first 'sed' inserts a
45463 # line-number line before each line; the second 'sed' does the real
45464 # work. The second script uses 'N' to pair each line-number line
45465 # with the numbered line, and appends trailing '-' during
45466 # substitution so that $LINENO is not a special case at line end.
45467 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
45468 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
45469 sed '=' <$as_myself |
45474 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
45477 s,^['$as_cr_digits']*\n,,
45478 ' >$as_me.lineno
&&
45479 chmod +x
$as_me.lineno
||
45480 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
45481 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
45482 { (exit 1); exit 1; }; }
45484 # Don't try to exec as it changes $[0], causing all sort of problems
45485 # (the dirname of $[0] is not the place where we might find the
45486 # original and so on. Autoconf is especially sensible to this).
45488 # Exit status is that of the last command.
45493 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
45494 *c
*,-n*) ECHO_N
= ECHO_C
='
45496 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
45497 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
45500 if expr a
: '\(a\)' >/dev
/null
2>&1; then
45506 rm -f conf$$ conf$$.exe conf$$.
file
45508 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
45509 # We could just check for DJGPP; but this test a) works b) is more generic
45510 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
45511 if test -f conf$$.exe
; then
45512 # Don't use ln at all; we don't have any links
45517 elif ln conf$$.
file conf$$
2>/dev
/null
; then
45522 rm -f conf$$ conf$$.exe conf$$.
file
45524 if mkdir -p .
2>/dev
/null
; then
45527 test -d .
/-p && rmdir .
/-p
45531 as_executable_p
="test -f"
45533 # Sed expression to map a string onto a valid CPP name.
45534 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
45536 # Sed expression to map a string onto a valid variable name.
45537 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
45541 # We need space, tab and new line, in precisely that order.
45551 # Open the log real soon, to keep \$[0] and so on meaningful, and to
45552 # report actual input values of CONFIG_FILES etc. instead of their
45553 # values after options handling. Logging --version etc. is OK.
45557 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
45558 ## Running $as_me. ##
45563 This file was extended by wxWidgets $as_me 2.6.2, which was
45564 generated by GNU Autoconf 2.59. Invocation command line was
45566 CONFIG_FILES = $CONFIG_FILES
45567 CONFIG_HEADERS = $CONFIG_HEADERS
45568 CONFIG_LINKS = $CONFIG_LINKS
45569 CONFIG_COMMANDS = $CONFIG_COMMANDS
45573 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
45577 # Files that config.status was made for.
45578 if test -n "$ac_config_files"; then
45579 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
45582 if test -n "$ac_config_headers"; then
45583 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
45586 if test -n "$ac_config_links"; then
45587 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
45590 if test -n "$ac_config_commands"; then
45591 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
45594 cat >>$CONFIG_STATUS <<\_ACEOF
45597 \`$as_me' instantiates files from templates according to the
45598 current configuration.
45600 Usage: $0 [OPTIONS] [FILE]...
45602 -h, --help print this help, then exit
45603 -V, --version print version number, then exit
45604 -q, --quiet do not print progress messages
45605 -d, --debug don't remove temporary files
45606 --recheck update $as_me by reconfiguring in the same conditions
45607 --file=FILE[:TEMPLATE]
45608 instantiate the configuration file FILE
45609 --header=FILE[:TEMPLATE]
45610 instantiate the configuration header FILE
45612 Configuration files:
45615 Configuration headers:
45618 Configuration commands:
45621 Report bugs to <bug-autoconf@gnu.org>."
45624 cat >>$CONFIG_STATUS <<_ACEOF
45626 wxWidgets config.status 2.6.2
45627 configured by $0, generated by GNU Autoconf 2.59,
45628 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
45630 Copyright (C) 2003 Free Software Foundation, Inc.
45631 This config.status script is free software; the Free Software Foundation
45632 gives unlimited permission to copy, distribute and modify it."
45637 cat >>$CONFIG_STATUS <<\_ACEOF
45638 # If no file are specified by the user, then we need to provide default
45639 # value. By we need to know if files were specified by the user.
45645 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
45646 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
45654 *) # This is not an option, so the user has probably given explicit
45657 ac_need_defaults
=false
;;
45661 # Handling of the options.
45663 cat >>$CONFIG_STATUS <<\_ACEOF
45664 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
45666 --version | --vers* | -V )
45667 echo "$ac_cs_version"; exit 0 ;;
45669 # Conflict between --help and --header
45670 { { echo "$as_me:$LINENO: error: ambiguous option: $1
45671 Try \`$0 --help' for more information." >&5
45672 echo "$as_me: error: ambiguous option: $1
45673 Try \`$0 --help' for more information." >&2;}
45674 { (exit 1); exit 1; }; };;
45675 --help | --hel | -h )
45676 echo "$ac_cs_usage"; exit 0 ;;
45677 --debug | --d* | -d )
45679 --file | --fil | --fi | --f )
45681 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
45682 ac_need_defaults
=false
;;
45683 --header | --heade | --head | --hea )
45685 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
45686 ac_need_defaults
=false
;;
45687 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
45688 | -silent | --silent | --silen | --sile | --sil | --si | --s)
45691 # This is an error.
45692 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
45693 Try \`$0 --help' for more information." >&5
45694 echo "$as_me: error: unrecognized option: $1
45695 Try \`$0 --help' for more information." >&2;}
45696 { (exit 1); exit 1; }; } ;;
45698 *) ac_config_targets
="$ac_config_targets $1" ;;
45704 ac_configure_extra_args
=
45706 if $ac_cs_silent; then
45708 ac_configure_extra_args
="$ac_configure_extra_args --silent"
45712 cat >>$CONFIG_STATUS <<_ACEOF
45713 if \$ac_cs_recheck; then
45714 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
45715 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
45720 cat >>$CONFIG_STATUS <<_ACEOF
45722 # INIT-COMMANDS section.
45725 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
45726 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
45727 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
45735 cat >>$CONFIG_STATUS <<\_ACEOF
45736 for ac_config_target
in $ac_config_targets
45738 case "$ac_config_target" in
45739 # Handling of arguments.
45740 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
45741 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
45742 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
45743 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
45744 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
45745 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
45746 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
45747 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
45748 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
45749 { (exit 1); exit 1; }; };;
45753 # If the user did not use the arguments to specify the items to instantiate,
45754 # then the envvar interface is used. Set only those that are not.
45755 # We use the long form for the default assignment because of an extremely
45756 # bizarre bug on SunOS 4.1.3.
45757 if $ac_need_defaults; then
45758 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
45759 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
45760 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
45763 # Have a temporary directory for convenience. Make it in the build tree
45764 # simply because there is no reason to put it here, and in addition,
45765 # creating and moving files from /tmp can sometimes cause problems.
45766 # Create a temporary directory, and hook for its removal unless debugging.
45769 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
45770 trap '{ (exit 1); exit 1; }' 1 2 13 15
45773 # Create a (secure) tmp directory for tmp files.
45776 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
45777 test -n "$tmp" && test -d "$tmp"
45780 tmp
=.
/confstat$$
-$RANDOM
45781 (umask 077 && mkdir $tmp)
45784 echo "$me: cannot create a temporary directory in ." >&2
45785 { (exit 1); exit 1; }
45790 cat >>$CONFIG_STATUS <<_ACEOF
45793 # CONFIG_FILES section.
45796 # No need to generate the scripts if there are no CONFIG_FILES.
45797 # This happens for instance when ./config.status config.h
45798 if test -n "\$CONFIG_FILES"; then
45799 # Protect against being on the right side of a sed subst in config.status.
45800 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
45801 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
45802 s,@SHELL@,$SHELL,;t t
45803 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
45804 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
45805 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
45806 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
45807 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
45808 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
45809 s,@exec_prefix@,$exec_prefix,;t t
45810 s,@prefix@,$prefix,;t t
45811 s,@program_transform_name@,$program_transform_name,;t t
45812 s,@bindir@,$bindir,;t t
45813 s,@sbindir@,$sbindir,;t t
45814 s,@libexecdir@,$libexecdir,;t t
45815 s,@datadir@,$datadir,;t t
45816 s,@sysconfdir@,$sysconfdir,;t t
45817 s,@sharedstatedir@,$sharedstatedir,;t t
45818 s,@localstatedir@,$localstatedir,;t t
45819 s,@libdir@,$libdir,;t t
45820 s,@includedir@,$includedir,;t t
45821 s,@oldincludedir@,$oldincludedir,;t t
45822 s,@infodir@,$infodir,;t t
45823 s,@mandir@,$mandir,;t t
45824 s,@build_alias@,$build_alias,;t t
45825 s,@host_alias@,$host_alias,;t t
45826 s,@target_alias@,$target_alias,;t t
45827 s,@DEFS@,$DEFS,;t t
45828 s,@ECHO_C@,$ECHO_C,;t t
45829 s,@ECHO_N@,$ECHO_N,;t t
45830 s,@ECHO_T@,$ECHO_T,;t t
45831 s,@LIBS@,$LIBS,;t t
45832 s,@build@,$build,;t t
45833 s,@build_cpu@,$build_cpu,;t t
45834 s,@build_vendor@,$build_vendor,;t t
45835 s,@build_os@,$build_os,;t t
45836 s,@host@,$host,;t t
45837 s,@host_cpu@,$host_cpu,;t t
45838 s,@host_vendor@,$host_vendor,;t t
45839 s,@host_os@,$host_os,;t t
45840 s,@target@,$target,;t t
45841 s,@target_cpu@,$target_cpu,;t t
45842 s,@target_vendor@,$target_vendor,;t t
45843 s,@target_os@,$target_os,;t t
45845 s,@CFLAGS@,$CFLAGS,;t t
45846 s,@LDFLAGS@,$LDFLAGS,;t t
45847 s,@CPPFLAGS@,$CPPFLAGS,;t t
45848 s,@ac_ct_CC@,$ac_ct_CC,;t t
45849 s,@EXEEXT@,$EXEEXT,;t t
45850 s,@OBJEXT@,$OBJEXT,;t t
45852 s,@EGREP@,$EGREP,;t t
45854 s,@CXXFLAGS@,$CXXFLAGS,;t t
45855 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
45856 s,@RANLIB@,$RANLIB,;t t
45857 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
45859 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
45860 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
45861 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
45862 s,@STRIP@,$STRIP,;t t
45863 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
45864 s,@LN_S@,$LN_S,;t t
45865 s,@CXXCPP@,$CXXCPP,;t t
45866 s,@subdirs@,$subdirs,;t t
45867 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
45868 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
45869 s,@GTK_LIBS@,$GTK_LIBS,;t t
45870 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
45871 s,@X_CFLAGS@,$X_CFLAGS,;t t
45872 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
45873 s,@X_LIBS@,$X_LIBS,;t t
45874 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
45875 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
45876 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
45877 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
45878 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
45879 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
45880 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
45881 s,@RESCOMP@,$RESCOMP,;t t
45882 s,@DEREZ@,$DEREZ,;t t
45883 s,@SETFILE@,$SETFILE,;t t
45884 s,@LIBICONV@,$LIBICONV,;t t
45885 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
45886 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
45887 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
45888 s,@SDL_LIBS@,$SDL_LIBS,;t t
45889 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
45890 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
45891 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
45892 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
45893 s,@GST_INSPECT@,$GST_INSPECT,;t t
45894 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
45895 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
45896 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
45897 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
45898 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
45899 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
45900 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
45901 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
45902 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
45903 s,@VENDOR@,$VENDOR,;t t
45904 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
45905 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
45906 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
45907 s,@WXUNIV@,$WXUNIV,;t t
45908 s,@MONOLITHIC@,$MONOLITHIC,;t t
45909 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
45910 s,@EXTRALIBS@,$EXTRALIBS,;t t
45911 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
45912 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
45913 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
45914 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
45915 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
45916 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
45917 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
45918 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
45919 s,@UNICODE@,$UNICODE,;t t
45920 s,@BUILD@,$BUILD,;t t
45921 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
45922 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
45923 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
45924 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
45925 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
45926 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
45927 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
45928 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
45929 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
45930 s,@SET_MAKE@,$SET_MAKE,;t t
45931 s,@MAKE_SET@,$MAKE_SET,;t t
45932 s,@ac_ct_AR@,$ac_ct_AR,;t t
45933 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
45935 s,@ac_ct_NM@,$ac_ct_NM,;t t
45936 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
45937 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
45938 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
45939 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
45940 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
45941 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
45942 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
45943 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
45944 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
45945 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
45946 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
45947 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
45948 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
45949 s,@LIBPREFIX@,$LIBPREFIX,;t t
45950 s,@LIBEXT@,$LIBEXT,;t t
45951 s,@DLLPREFIX@,$DLLPREFIX,;t t
45952 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
45953 s,@dlldir@,$dlldir,;t t
45954 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
45955 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
45956 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
45957 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
45958 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
45959 s,@PIC_FLAG@,$PIC_FLAG,;t t
45960 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
45961 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
45962 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
45963 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
45964 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
45965 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
45966 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
45967 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
45968 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
45969 s,@GCC_PCH@,$GCC_PCH,;t t
45970 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
45971 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
45972 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
45973 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
45974 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
45975 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
45976 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
45977 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
45978 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
45979 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
45980 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
45981 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
45982 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
45983 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
45984 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
45985 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
45986 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
45987 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
45988 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
45989 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
45990 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
45991 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
45992 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
45993 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
45994 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
45995 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
45996 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
45997 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
45998 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
45999 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
46000 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
46001 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
46002 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
46003 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
46004 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
46005 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
46006 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
46007 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
46008 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
46009 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
46010 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
46011 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
46012 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
46013 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
46014 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
46015 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
46016 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
46017 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
46018 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
46019 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
46020 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
46021 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
46022 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
46023 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
46024 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
46025 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
46026 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
46027 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
46028 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
46029 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
46030 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
46031 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
46032 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
46033 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
46034 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
46035 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
46036 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
46037 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
46038 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
46039 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
46040 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
46041 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
46042 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
46043 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
46044 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
46045 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
46046 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
46047 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
46048 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
46049 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
46050 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
46051 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
46052 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
46053 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
46054 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
46055 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
46056 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
46057 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
46058 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
46059 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
46060 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
46061 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
46062 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
46063 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
46064 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
46065 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
46066 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
46067 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
46068 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
46069 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
46070 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
46071 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
46072 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
46073 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
46074 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
46075 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
46076 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
46077 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
46078 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
46079 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
46080 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
46081 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
46082 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
46083 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
46084 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
46085 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
46086 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
46087 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
46088 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
46089 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
46090 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
46091 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
46092 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
46093 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
46094 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
46095 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
46096 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
46097 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
46098 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
46099 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
46100 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
46101 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
46102 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
46103 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
46104 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
46105 s,@SHARED@,$SHARED,;t t
46106 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
46107 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
46108 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
46109 s,@USE_GUI@,$USE_GUI,;t t
46110 s,@AFMINSTALL@,$AFMINSTALL,;t t
46111 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
46112 s,@TOOLKIT@,$TOOLKIT,;t t
46113 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
46114 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
46115 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
46116 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
46117 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
46118 s,@cross_compiling@,$cross_compiling,;t t
46119 s,@WIDGET_SET@,$WIDGET_SET,;t t
46120 s,@WX_RELEASE@,$WX_RELEASE,;t t
46121 s,@WX_VERSION@,$WX_VERSION,;t t
46122 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
46123 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
46124 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
46125 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
46126 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
46127 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
46128 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
46129 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
46130 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
46131 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
46132 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
46133 s,@EXE_LINKER@,$EXE_LINKER,;t t
46134 s,@GUIDIST@,$GUIDIST,;t t
46135 s,@DISTDIR@,$DISTDIR,;t t
46136 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
46137 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
46138 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
46139 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
46140 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
46141 s,@RESFLAGS@,$RESFLAGS,;t t
46142 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
46143 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
46144 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
46145 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
46146 s,@MACRESCOMP@,$MACRESCOMP,;t t
46147 s,@MACSETFILE@,$MACSETFILE,;t t
46148 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
46150 s,@DLLTOOL@,$DLLTOOL,;t t
46151 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
46152 s,@LIBOBJS@,$LIBOBJS,;t t
46153 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
46158 cat >>$CONFIG_STATUS <<\_ACEOF
46159 # Split the substitutions into bite-sized pieces for seds with
46160 # small command number limits, like on Digital OSF/1 and HP-UX.
46161 ac_max_sed_lines
=48
46162 ac_sed_frag
=1 # Number of current file.
46163 ac_beg
=1 # First line for current file.
46164 ac_end
=$ac_max_sed_lines # Line after last line for current file.
46167 while $ac_more_lines; do
46168 if test $ac_beg -gt 1; then
46169 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
46171 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
46173 if test ! -s $tmp/subs.frag
; then
46174 ac_more_lines
=false
46176 # The purpose of the label and of the branching condition is to
46177 # speed up the sed processing (if there are no `@' at all, there
46178 # is no need to browse any of the substitutions).
46179 # These are the two extra sed commands mentioned above.
46181 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
46182 if test -z "$ac_sed_cmds"; then
46183 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
46185 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
46187 ac_sed_frag
=`expr $ac_sed_frag + 1`
46189 ac_end
=`expr $ac_end + $ac_max_sed_lines`
46192 if test -z "$ac_sed_cmds"; then
46195 fi # test -n "$CONFIG_FILES"
46198 cat >>$CONFIG_STATUS <<\_ACEOF
46199 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
46200 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
46202 - | *:- | *:-:* ) # input from stdin
46204 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
46205 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
46206 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
46207 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
46208 * ) ac_file_in
=$ac_file.
in ;;
46211 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
46212 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
46213 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46214 X"$ac_file" : 'X\(//\)[^/]' \| \
46215 X"$ac_file" : 'X\(//\)$' \| \
46216 X"$ac_file" : 'X\(/\)' \| \
46217 . : '\(.\)' 2>/dev/null ||
46219 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46220 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46221 /^X\(\/\/\)$/{ s//\1/; q; }
46222 /^X\(\/\).*/{ s//\1/; q; }
46224 { if $as_mkdir_p; then
46229 while test ! -d "$as_dir"; do
46230 as_dirs
="$as_dir $as_dirs"
46231 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
46232 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46233 X"$as_dir" : 'X\(//\)[^/]' \| \
46234 X"$as_dir" : 'X\(//\)$' \| \
46235 X"$as_dir" : 'X\(/\)' \| \
46236 . : '\(.\)' 2>/dev/null ||
46238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46239 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46240 /^X\(\/\/\)$/{ s//\1/; q; }
46241 /^X\(\/\).*/{ s//\1/; q; }
46244 test ! -n "$as_dirs" || mkdir $as_dirs
46245 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
46246 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
46247 { (exit 1); exit 1; }; }; }
46251 if test "$ac_dir" != .
; then
46252 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
46253 # A "../" for each directory in $ac_dir_suffix.
46254 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
46256 ac_dir_suffix
= ac_top_builddir
=
46260 .
) # No --srcdir option. We are building in place.
46262 if test -z "$ac_top_builddir"; then
46265 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
46267 [\\/]* | ?
:[\\/]* ) # Absolute path.
46268 ac_srcdir
=$srcdir$ac_dir_suffix;
46269 ac_top_srcdir
=$srcdir ;;
46270 *) # Relative path.
46271 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
46272 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
46275 # Do not use `cd foo && pwd` to compute absolute paths, because
46276 # the directories may not exist.
46278 .
) ac_abs_builddir
="$ac_dir";;
46281 .
) ac_abs_builddir
=`pwd`;;
46282 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
46283 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
46286 case $ac_abs_builddir in
46287 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
46289 case ${ac_top_builddir}.
in
46290 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
46291 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
46292 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
46295 case $ac_abs_builddir in
46296 .
) ac_abs_srcdir
=$ac_srcdir;;
46299 .
) ac_abs_srcdir
=$ac_abs_builddir;;
46300 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
46301 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
46304 case $ac_abs_builddir in
46305 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
46307 case $ac_top_srcdir in
46308 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
46309 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
46310 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
46316 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
46317 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
46320 # Let's still pretend it is `configure' which instantiates (i.e., don't
46321 # use $as_me), people would be surprised to read:
46322 # /* config.h. Generated by config.status. */
46323 if test x
"$ac_file" = x
-; then
46326 configure_input
="$ac_file. "
46328 configure_input
=$configure_input"Generated from `echo $ac_file_in |
46329 sed 's,.*/,,'` by configure."
46331 # First look for the input files in the build tree, otherwise in the
46333 ac_file_inputs
=`IFS=:
46334 for f in $ac_file_in; do
46336 -) echo $tmp/stdin ;;
46338 # Absolute (can't be DOS-style, as IFS=:)
46339 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
46340 echo "$as_me: error: cannot find input file: $f" >&2;}
46341 { (exit 1); exit 1; }; }
46344 if test -f "$f"; then
46347 elif test -f "$srcdir/$f"; then
46352 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
46353 echo "$as_me: error: cannot find input file: $f" >&2;}
46354 { (exit 1); exit 1; }; }
46357 done` || { (exit 1); exit 1; }
46359 if test x
"$ac_file" != x
-; then
46360 { echo "$as_me:$LINENO: creating $ac_file" >&5
46361 echo "$as_me: creating $ac_file" >&6;}
46365 cat >>$CONFIG_STATUS <<_ACEOF
46369 cat >>$CONFIG_STATUS <<\_ACEOF
46371 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
46372 s
,@configure_input@
,$configure_input,;t t
46373 s
,@srcdir@
,$ac_srcdir,;t t
46374 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
46375 s
,@top_srcdir@
,$ac_top_srcdir,;t t
46376 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
46377 s
,@builddir@
,$ac_builddir,;t t
46378 s
,@abs_builddir@
,$ac_abs_builddir,;t t
46379 s
,@top_builddir@
,$ac_top_builddir,;t t
46380 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
46381 s
,@INSTALL@
,$ac_INSTALL,;t t
46382 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
46384 if test x"$ac_file" != x-; then
46385 mv $tmp/out $ac_file
46391 # Run the commands associated with the file.
46393 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
46394 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
46398 cat >>$CONFIG_STATUS <<\_ACEOF
46401 # CONFIG_HEADER section.
46404 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
46405 # NAME is the cpp macro being defined and VALUE is the value it is being given.
46407 # ac_d sets the value in "#define NAME VALUE" lines.
46408 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
46409 ac_dB
='[ ].*$,\1#\2'
46412 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
46413 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
46414 ac_uB
='$,\1#\2define\3'
46418 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
46419 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
46421 - | *:- | *:-:* ) # input from stdin
46423 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
46424 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
46425 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
46426 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
46427 * ) ac_file_in
=$ac_file.
in ;;
46430 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
46431 echo "$as_me: creating $ac_file" >&6;}
46433 # First look for the input files in the build tree, otherwise in the
46435 ac_file_inputs
=`IFS=:
46436 for f in $ac_file_in; do
46438 -) echo $tmp/stdin ;;
46440 # Absolute (can't be DOS-style, as IFS=:)
46441 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
46442 echo "$as_me: error: cannot find input file: $f" >&2;}
46443 { (exit 1); exit 1; }; }
46444 # Do quote $f, to prevent DOS paths from being IFS'd.
46447 if test -f "$f"; then
46450 elif test -f "$srcdir/$f"; then
46455 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
46456 echo "$as_me: error: cannot find input file: $f" >&2;}
46457 { (exit 1); exit 1; }; }
46460 done` || { (exit 1); exit 1; }
46461 # Remove the trailing spaces.
46462 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
46466 # Transform confdefs.h into two sed scripts, `conftest.defines' and
46467 # `conftest.undefs', that substitutes the proper values into
46468 # config.h.in to produce config.h. The first handles `#define'
46469 # templates, and the second `#undef' templates.
46470 # And first: Protect against being on the right side of a sed subst in
46471 # config.status. Protect against being in an unquoted here document
46472 # in config.status.
46473 rm -f conftest.defines conftest.undefs
46474 # Using a here document instead of a string reduces the quoting nightmare.
46475 # Putting comments in sed scripts is not portable.
46477 # `end' is used to avoid that the second main sed command (meant for
46478 # 0-ary CPP macros) applies to n-ary macro definitions.
46479 # See the Autoconf documentation for `clear'.
46480 cat >confdef2sed.
sed <<\_ACEOF
46485 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
46487 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
46490 # If some macros were called several times there might be several times
46491 # the same #defines, which is useless. Nevertheless, we may not want to
46492 # sort them, since we want the *last* AC-DEFINE to be honored.
46493 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
46494 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
46495 rm -f confdef2sed.sed
46497 # This sed command replaces #undef with comments. This is necessary, for
46498 # example, in the case of _POSIX_SOURCE, which is predefined and required
46499 # on some systems where configure will not decide to define it.
46500 cat >>conftest.undefs <<\_ACEOF
46501 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
46504 # Break up conftest.defines because some shells have a limit on the size
46505 # of here documents, and old seds have small limits too (100 cmds).
46506 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
46507 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
46508 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
46509 echo ' :' >>$CONFIG_STATUS
46510 rm -f conftest.tail
46511 while grep . conftest.defines >/dev/null
46513 # Write a limited-size here document to $tmp/defines.sed.
46514 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
46515 # Speed up: don't consider the non `#define' lines.
46516 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
46517 # Work around the forget-to-reset-the-flag bug.
46518 echo 't clr' >>$CONFIG_STATUS
46519 echo ': clr' >>$CONFIG_STATUS
46520 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
46522 sed -f $tmp/defines.sed $tmp/in >$tmp/out
46524 mv $tmp/out $tmp/in
46526 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
46527 rm -f conftest.defines
46528 mv conftest.
tail conftest.defines
46530 rm -f conftest.defines
46531 echo ' fi # grep' >>$CONFIG_STATUS
46532 echo >>$CONFIG_STATUS
46534 # Break up conftest.undefs because some shells have a limit on the size
46535 # of here documents, and old seds have small limits too (100 cmds).
46536 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
46537 rm -f conftest.
tail
46538 while grep . conftest.undefs
>/dev
/null
46540 # Write a limited-size here document to $tmp/undefs.sed.
46541 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
46542 # Speed up: don't consider the non
`#undef'
46543 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
46544 # Work around the forget-to-reset-the-flag bug.
46545 echo 't clr' >>$CONFIG_STATUS
46546 echo ': clr' >>$CONFIG_STATUS
46547 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
46549 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
46551 mv $tmp/out $tmp/in
46553 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
46554 rm -f conftest.undefs
46555 mv conftest.tail conftest.undefs
46557 rm -f conftest.undefs
46559 cat >>$CONFIG_STATUS <<\_ACEOF
46560 # Let's still pretend it is `configure
' which instantiates (i.e., don't
46561 # use $as_me), people would be surprised to read:
46562 # /* config.h. Generated by config.status. */
46563 if test x
"$ac_file" = x
-; then
46564 echo "/* Generated by configure. */" >$tmp/config.h
46566 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
46568 cat $tmp/in >>$tmp/config.h
46570 if test x
"$ac_file" != x
-; then
46571 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
46572 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
46573 echo "$as_me: $ac_file is unchanged" >&6;}
46575 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
46576 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46577 X"$ac_file" : 'X\(//\)[^/]' \| \
46578 X"$ac_file" : 'X\(//\)$' \| \
46579 X"$ac_file" : 'X\(/\)' \| \
46580 . : '\(.\)' 2>/dev/null ||
46582 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46583 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46584 /^X\(\/\/\)$/{ s//\1/; q; }
46585 /^X\(\/\).*/{ s//\1/; q; }
46587 { if $as_mkdir_p; then
46592 while test ! -d "$as_dir"; do
46593 as_dirs
="$as_dir $as_dirs"
46594 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
46595 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46596 X"$as_dir" : 'X\(//\)[^/]' \| \
46597 X"$as_dir" : 'X\(//\)$' \| \
46598 X"$as_dir" : 'X\(/\)' \| \
46599 . : '\(.\)' 2>/dev/null ||
46601 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46602 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46603 /^X\(\/\/\)$/{ s//\1/; q; }
46604 /^X\(\/\).*/{ s//\1/; q; }
46607 test ! -n "$as_dirs" || mkdir $as_dirs
46608 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
46609 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
46610 { (exit 1); exit 1; }; }; }
46613 mv $tmp/config.h
$ac_file
46617 rm -f $tmp/config.h
46621 cat >>$CONFIG_STATUS <<\_ACEOF
46624 # CONFIG_COMMANDS section.
46626 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
46627 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
46628 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
46629 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
46630 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46631 X"$ac_dest" : 'X\(//\)[^/]' \| \
46632 X"$ac_dest" : 'X\(//\)$' \| \
46633 X"$ac_dest" : 'X\(/\)' \| \
46634 . : '\(.\)' 2>/dev/null ||
46636 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46637 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46638 /^X\(\/\/\)$/{ s//\1/; q; }
46639 /^X\(\/\).*/{ s//\1/; q; }
46641 { if $as_mkdir_p; then
46646 while test ! -d "$as_dir"; do
46647 as_dirs
="$as_dir $as_dirs"
46648 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
46649 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46650 X"$as_dir" : 'X\(//\)[^/]' \| \
46651 X"$as_dir" : 'X\(//\)$' \| \
46652 X"$as_dir" : 'X\(/\)' \| \
46653 . : '\(.\)' 2>/dev/null ||
46655 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46656 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46657 /^X\(\/\/\)$/{ s//\1/; q; }
46658 /^X\(\/\).*/{ s//\1/; q; }
46661 test ! -n "$as_dirs" || mkdir $as_dirs
46662 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
46663 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
46664 { (exit 1); exit 1; }; }; }
46668 if test "$ac_dir" != .
; then
46669 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
46670 # A "../" for each directory in $ac_dir_suffix.
46671 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
46673 ac_dir_suffix
= ac_top_builddir
=
46677 .
) # No --srcdir option. We are building in place.
46679 if test -z "$ac_top_builddir"; then
46682 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
46684 [\\/]* | ?
:[\\/]* ) # Absolute path.
46685 ac_srcdir
=$srcdir$ac_dir_suffix;
46686 ac_top_srcdir
=$srcdir ;;
46687 *) # Relative path.
46688 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
46689 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
46692 # Do not use `cd foo && pwd` to compute absolute paths, because
46693 # the directories may not exist.
46695 .
) ac_abs_builddir
="$ac_dir";;
46698 .
) ac_abs_builddir
=`pwd`;;
46699 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
46700 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
46703 case $ac_abs_builddir in
46704 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
46706 case ${ac_top_builddir}.
in
46707 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
46708 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
46709 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
46712 case $ac_abs_builddir in
46713 .
) ac_abs_srcdir
=$ac_srcdir;;
46716 .
) ac_abs_srcdir
=$ac_abs_builddir;;
46717 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
46718 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
46721 case $ac_abs_builddir in
46722 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
46724 case $ac_top_srcdir in
46725 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
46726 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
46727 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
46732 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
46733 echo "$as_me: executing $ac_dest commands" >&6;}
46735 wx
-config ) rm -f wx
-config
46736 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
46742 cat >>$CONFIG_STATUS <<\_ACEOF
46744 { (exit 0); exit 0; }
46746 chmod +x
$CONFIG_STATUS
46747 ac_clean_files
=$ac_clean_files_save
46750 # configure is writing to config.log, and then calls config.status.
46751 # config.status does its own redirection, appending to config.log.
46752 # Unfortunately, on DOS this fails, as config.log is still kept open
46753 # by configure, so config.status won't be able to write to it; its
46754 # output is simply discarded. So we exec the FD to /dev/null,
46755 # effectively closing config.log, so it can be properly (re)opened and
46756 # appended to by config.status. When coming back to configure, we
46757 # need to make the FD available again.
46758 if test "$no_create" != yes; then
46760 ac_config_status_args
=
46761 test "$silent" = yes &&
46762 ac_config_status_args
="$ac_config_status_args --quiet"
46764 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
46766 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
46767 # would make configure fail if this is the last instruction.
46768 $ac_cs_success || { (exit 1); exit 1; }
46772 # CONFIG_SUBDIRS section.
46774 if test "$no_recursion" != yes; then
46776 # Remove --cache-file and --srcdir arguments so they do not pile up.
46777 ac_sub_configure_args
=
46779 for ac_arg
in $ac_configure_args; do
46780 if test -n "$ac_prev"; then
46785 -cache-file | --cache-file | --cache-fil | --cache-fi \
46786 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
46787 ac_prev
=cache_file
;;
46788 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
46789 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
46792 --config-cache | -C)
46794 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
46796 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
46798 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
46800 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
46802 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
46806 # Always prepend --prefix to ensure using the same prefix
46807 # in subdir configurations.
46808 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
46811 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
46813 # Do not complain, so a configure script can configure whichever
46814 # parts of a large source tree are present.
46815 test -d $srcdir/$ac_dir || continue
46817 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
46818 echo "$as_me: configuring in $ac_dir" >&6;}
46819 { if $as_mkdir_p; then
46824 while test ! -d "$as_dir"; do
46825 as_dirs
="$as_dir $as_dirs"
46826 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
46827 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46828 X"$as_dir" : 'X\(//\)[^/]' \| \
46829 X"$as_dir" : 'X\(//\)$' \| \
46830 X"$as_dir" : 'X\(/\)' \| \
46831 . : '\(.\)' 2>/dev/null ||
46833 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46834 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46835 /^X\(\/\/\)$/{ s//\1/; q; }
46836 /^X\(\/\).*/{ s//\1/; q; }
46839 test ! -n "$as_dirs" || mkdir $as_dirs
46840 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
46841 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
46842 { (exit 1); exit 1; }; }; }
46846 if test "$ac_dir" != .
; then
46847 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
46848 # A "../" for each directory in $ac_dir_suffix.
46849 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
46851 ac_dir_suffix
= ac_top_builddir
=
46855 .
) # No --srcdir option. We are building in place.
46857 if test -z "$ac_top_builddir"; then
46860 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
46862 [\\/]* | ?
:[\\/]* ) # Absolute path.
46863 ac_srcdir
=$srcdir$ac_dir_suffix;
46864 ac_top_srcdir
=$srcdir ;;
46865 *) # Relative path.
46866 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
46867 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
46870 # Do not use `cd foo && pwd` to compute absolute paths, because
46871 # the directories may not exist.
46873 .
) ac_abs_builddir
="$ac_dir";;
46876 .
) ac_abs_builddir
=`pwd`;;
46877 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
46878 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
46881 case $ac_abs_builddir in
46882 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
46884 case ${ac_top_builddir}.
in
46885 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
46886 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
46887 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
46890 case $ac_abs_builddir in
46891 .
) ac_abs_srcdir
=$ac_srcdir;;
46894 .
) ac_abs_srcdir
=$ac_abs_builddir;;
46895 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
46896 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
46899 case $ac_abs_builddir in
46900 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
46902 case $ac_top_srcdir in
46903 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
46904 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
46905 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
46912 # Check for guested configure; otherwise get Cygnus style configure.
46913 if test -f $ac_srcdir/configure.gnu
; then
46914 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
46915 elif test -f $ac_srcdir/configure
; then
46916 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
46917 elif test -f $ac_srcdir/configure.
in; then
46918 ac_sub_configure
=$ac_configure
46920 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
46921 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
46925 # The recursion is here.
46926 if test -n "$ac_sub_configure"; then
46927 # Make the cache file name correct relative to the subdirectory.
46928 case $cache_file in
46929 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
46930 *) # Relative path.
46931 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
46934 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
46935 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
46936 # The eval makes quoting arguments work.
46937 eval $ac_sub_configure $ac_sub_configure_args \
46938 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
46939 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
46940 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
46941 { (exit 1); exit 1; }; }
46950 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
46952 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
46953 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
46955 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
46956 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
46957 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
46959 echo " What level of wxWidgets compatibility should be enabled?"
46960 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
46961 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
46963 echo " Which libraries should wxWidgets use?"
46964 echo " jpeg ${wxUSE_LIBJPEG-none}"
46965 echo " png ${wxUSE_LIBPNG-none}"
46966 echo " regex ${wxUSE_REGEX}"
46967 echo " tiff ${wxUSE_LIBTIFF-none}"
46968 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
46969 echo " xpm ${wxUSE_LIBXPM-none}"
46971 echo " zlib ${wxUSE_ZLIB}"
46972 echo " odbc ${wxUSE_ODBC}"
46973 echo " expat ${wxUSE_EXPAT}"
46974 echo " libmspack ${wxUSE_LIBMSPACK}"
46975 echo " sdl ${wxUSE_LIBSDL}"
46976 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"