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.1.
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.1'
274 PACKAGE_STRING
='wxWidgets 2.6.1'
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 AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS 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_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_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_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.1 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.1:";;
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
(Windows only
)
1033 --enable-dragimage use wxDragImage
1034 --enable-accessibility enable accessibility support
1035 --enable-palette use wxPalette class
1036 --enable-image use wxImage class
1037 --enable-gif use gif images
(GIF
file format
)
1038 --enable-pcx use pcx images
(PCX
file format
)
1039 --enable-iff use iff images
(IFF
file format
)
1040 --enable-pnm use pnm images
(PNM
file format
)
1041 --enable-xpm use xpm images
(XPM
file format
)
1042 --enable-icocur use Windows ICO and CUR formats
1043 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1044 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1045 --disable-largefile omit support
for large files
1046 --disable-gtktest do not try to compile and run a
test GTK
+ program
1047 --disable-gtktest Do not try to compile and run a
test GTK program
1048 --disable-sdltest Do not try to compile and run a
test SDL program
1049 --enable-omf use OMF object format
(OS
/2)
1050 --disable-precomp-headers
1051 don
't use precompiled headers even if compiler can
1054 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1055 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1056 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1057 --with-motif use Motif/Lesstif
1058 --with-mac use Mac OS X
1059 --with-cocoa use Cocoa
1060 --with-wine use Wine
1061 --with-msw use MS-Windows
1062 --with-pm use OS/2 Presentation Manager
1063 --with-mgl use SciTech MGL
1064 --with-microwin use MicroWindows
1066 --with-libpng use libpng (PNG image format)
1067 --with-libjpeg use libjpeg (JPEG file format)
1068 --with-libtiff use libtiff (TIFF file format)
1069 --with-libxpm use libxpm (XPM file format)
1070 --with-libmspack use libmspack (CHM help files loading)
1071 --with-sdl use SDL for audio on Unix
1072 --with-gnomeprint use GNOME print for printing under Unix
1073 --with-opengl use OpenGL (or Mesa)
1074 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1075 --with-regex enable support for wxRegEx class
1076 --with-zlib use zlib for LZW compression
1077 --with-odbc use the IODBC and wxODBC classes
1078 --with-expat enable XML support using expat parser
1079 --with-flavour=NAME specify a name to identify this build
1080 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1081 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1082 --with-x use the X Window System
1083 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1084 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1085 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1086 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1087 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1089 Some influential environment variables:
1090 CC C compiler command
1091 CFLAGS C compiler flags
1092 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1093 nonstandard directory <lib dir>
1094 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1095 headers in a nonstandard directory <include dir>
1097 CXX C++ compiler command
1098 CXXFLAGS C++ compiler flags
1099 CXXCPP C++ preprocessor
1101 Use these variables to override the choices made by `configure' or to
help
1102 it to
find libraries and programs with nonstandard names
/locations.
1104 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1108 if test "$ac_init_help" = "recursive"; then
1109 # If there are subdirs, report their specific --help.
1111 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1112 test -d $ac_dir || continue
1115 if test "$ac_dir" != .
; then
1116 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1117 # A "../" for each directory in $ac_dir_suffix.
1118 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1120 ac_dir_suffix
= ac_top_builddir
=
1124 .
) # No --srcdir option. We are building in place.
1126 if test -z "$ac_top_builddir"; then
1129 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1131 [\\/]* | ?
:[\\/]* ) # Absolute path.
1132 ac_srcdir
=$srcdir$ac_dir_suffix;
1133 ac_top_srcdir
=$srcdir ;;
1135 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1136 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1139 # Do not use `cd foo && pwd` to compute absolute paths, because
1140 # the directories may not exist.
1142 .
) ac_abs_builddir
="$ac_dir";;
1145 .
) ac_abs_builddir
=`pwd`;;
1146 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1147 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1150 case $ac_abs_builddir in
1151 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1153 case ${ac_top_builddir}.
in
1154 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1155 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1156 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1159 case $ac_abs_builddir in
1160 .
) ac_abs_srcdir
=$ac_srcdir;;
1163 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1164 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1165 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1168 case $ac_abs_builddir in
1169 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1171 case $ac_top_srcdir in
1172 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1173 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1174 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1179 # Check for guested configure; otherwise get Cygnus style configure.
1180 if test -f $ac_srcdir/configure.gnu
; then
1182 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1183 elif test -f $ac_srcdir/configure
; then
1185 $SHELL $ac_srcdir/configure
--help=recursive
1186 elif test -f $ac_srcdir/configure.ac
||
1187 test -f $ac_srcdir/configure.
in; then
1189 $ac_configure --help
1191 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1197 test -n "$ac_init_help" && exit 0
1198 if $ac_init_version; then
1200 wxWidgets configure
2.6.1
1201 generated by GNU Autoconf
2.59
1203 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1204 This configure
script is free software
; the Free Software Foundation
1205 gives unlimited permission to copy
, distribute and modify it.
1211 This file contains any messages produced by compilers while
1212 running configure, to aid debugging if configure makes a mistake.
1214 It was created by wxWidgets $as_me 2.6.1, which was
1215 generated by GNU Autoconf 2.59. Invocation command line was
1226 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1227 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1228 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1229 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1230 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1232 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1233 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1235 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1236 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1237 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1238 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1239 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1240 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1241 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1249 test -z "$as_dir" && as_dir
=.
1250 echo "PATH: $as_dir"
1265 # Keep a trace of the command line.
1266 # Strip out --no-create and --no-recursion so they do not pile up.
1267 # Strip out --silent because we don't want to record it for future runs.
1268 # Also quote any args containing shell meta-characters.
1269 # Make two passes to allow for proper duplicate-argument suppression.
1274 ac_must_keep_next
=false
1280 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1281 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1282 | -silent | --silent | --silen | --sile | --sil)
1284 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1285 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1288 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1290 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1291 if test $ac_must_keep_next = true
; then
1292 ac_must_keep_next
=false
# Got value, back to normal.
1295 *=* | --config-cache | -C | -disable-* | --disable-* \
1296 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1297 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1298 | -with-* | --with-* | -without-* | --without-* | --x)
1299 case "$ac_configure_args0 " in
1300 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1303 -* ) ac_must_keep_next
=true
;;
1306 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1307 # Get rid of the leading space.
1313 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1314 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1316 # When interrupted or exit'd, cleanup temporary files, and complete
1317 # config.log. We remove comments because anyway the quotes in there
1318 # would cause problems or look ugly.
1319 # WARNING: Be sure not to use single quotes in there, as some shells,
1320 # such as our DU 5.0 friend, will then `close' the trap.
1321 trap 'exit_status=$?
1322 # Save into config.log some information that might help in debugging.
1327 ## ---------------- ##
1328 ## Cache variables. ##
1329 ## ---------------- ##
1332 # The following way of writing the cache mishandles newlines in values,
1335 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1338 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1339 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1343 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1350 ## ----------------- ##
1351 ## Output variables. ##
1352 ## ----------------- ##
1355 for ac_var in $ac_subst_vars
1357 eval ac_val=$`echo $ac_var`
1358 echo "$ac_var='"'"'$ac_val'"'"'"
1362 if test -n "$ac_subst_files"; then
1369 for ac_var in $ac_subst_files
1371 eval ac_val=$`echo $ac_var`
1372 echo "$ac_var='"'"'$ac_val'"'"'"
1377 if test -s confdefs.h; then
1384 sed "/^$/d" confdefs.h | sort
1387 test "$ac_signal" != 0 &&
1388 echo "$as_me: caught signal $ac_signal"
1389 echo "$as_me: exit $exit_status"
1391 rm -f core *.core &&
1392 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1395 for ac_signal
in 1 2 13 15; do
1396 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1400 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1401 rm -rf conftest
* confdefs.h
1402 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1405 # Predefined preprocessor variables.
1407 cat >>confdefs.h
<<_ACEOF
1408 #define PACKAGE_NAME "$PACKAGE_NAME"
1412 cat >>confdefs.h
<<_ACEOF
1413 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1417 cat >>confdefs.h
<<_ACEOF
1418 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1422 cat >>confdefs.h
<<_ACEOF
1423 #define PACKAGE_STRING "$PACKAGE_STRING"
1427 cat >>confdefs.h
<<_ACEOF
1428 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1432 # Let the site file select an alternate cache file if it wants to.
1433 # Prefer explicitly selected file to automatically selected ones.
1434 if test -z "$CONFIG_SITE"; then
1435 if test "x$prefix" != xNONE
; then
1436 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1438 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1441 for ac_site_file
in $CONFIG_SITE; do
1442 if test -r "$ac_site_file"; then
1443 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1444 echo "$as_me: loading site script $ac_site_file" >&6;}
1445 sed 's/^/| /' "$ac_site_file" >&5
1450 if test -r "$cache_file"; then
1451 # Some versions of bash will fail to source /dev/null (special
1452 # files actually), so we avoid doing that.
1453 if test -f "$cache_file"; then
1454 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1455 echo "$as_me: loading cache $cache_file" >&6;}
1457 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1458 *) . .
/$cache_file;;
1462 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1463 echo "$as_me: creating cache $cache_file" >&6;}
1467 # Check that the precious variables saved in the cache have kept the same
1469 ac_cache_corrupted
=false
1470 for ac_var
in `(set) 2>&1 |
1471 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1472 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1473 eval ac_new_set
=\
$ac_env_${ac_var}_set
1474 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1475 eval ac_new_val
="\$ac_env_${ac_var}_value"
1476 case $ac_old_set,$ac_new_set in
1478 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1479 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1480 ac_cache_corrupted
=: ;;
1482 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1483 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1484 ac_cache_corrupted
=: ;;
1487 if test "x$ac_old_val" != "x$ac_new_val"; then
1488 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1489 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1490 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1491 echo "$as_me: former value: $ac_old_val" >&2;}
1492 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1493 echo "$as_me: current value: $ac_new_val" >&2;}
1494 ac_cache_corrupted
=:
1497 # Pass precious variables to config.status.
1498 if test "$ac_new_set" = set; then
1500 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1501 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1502 *) ac_arg
=$ac_var=$ac_new_val ;;
1504 case " $ac_configure_args " in
1505 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1506 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1510 if $ac_cache_corrupted; then
1511 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1512 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1513 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1514 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1515 { (exit 1); exit 1; }; }
1519 ac_cpp
='$CPP $CPPFLAGS'
1520 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1521 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1522 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1554 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1555 if test -f $ac_dir/install-sh; then
1557 ac_install_sh
="$ac_aux_dir/install-sh -c"
1559 elif test -f $ac_dir/install.sh
; then
1561 ac_install_sh
="$ac_aux_dir/install.sh -c"
1563 elif test -f $ac_dir/shtool
; then
1565 ac_install_sh
="$ac_aux_dir/shtool install -c"
1569 if test -z "$ac_aux_dir"; then
1570 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1571 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1572 { (exit 1); exit 1; }; }
1574 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1575 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1576 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1578 # Make sure we can run config.sub.
1579 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1580 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1581 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1582 { (exit 1); exit 1; }; }
1584 echo "$as_me:$LINENO: checking build system type" >&5
1585 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1586 if test "${ac_cv_build+set}" = set; then
1587 echo $ECHO_N "(cached) $ECHO_C" >&6
1589 ac_cv_build_alias
=$build_alias
1590 test -z "$ac_cv_build_alias" &&
1591 ac_cv_build_alias
=`$ac_config_guess`
1592 test -z "$ac_cv_build_alias" &&
1593 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1594 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1595 { (exit 1); exit 1; }; }
1596 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1597 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1598 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1599 { (exit 1); exit 1; }; }
1602 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1603 echo "${ECHO_T}$ac_cv_build" >&6
1605 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1606 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1607 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1610 echo "$as_me:$LINENO: checking host system type" >&5
1611 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1612 if test "${ac_cv_host+set}" = set; then
1613 echo $ECHO_N "(cached) $ECHO_C" >&6
1615 ac_cv_host_alias
=$host_alias
1616 test -z "$ac_cv_host_alias" &&
1617 ac_cv_host_alias
=$ac_cv_build_alias
1618 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1619 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1620 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1621 { (exit 1); exit 1; }; }
1624 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1625 echo "${ECHO_T}$ac_cv_host" >&6
1627 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1628 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1629 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1632 echo "$as_me:$LINENO: checking target system type" >&5
1633 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1634 if test "${ac_cv_target+set}" = set; then
1635 echo $ECHO_N "(cached) $ECHO_C" >&6
1637 ac_cv_target_alias
=$target_alias
1638 test "x$ac_cv_target_alias" = "x" &&
1639 ac_cv_target_alias
=$ac_cv_host_alias
1640 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1641 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1642 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1643 { (exit 1); exit 1; }; }
1646 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1647 echo "${ECHO_T}$ac_cv_target" >&6
1648 target
=$ac_cv_target
1649 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1650 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1651 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1654 # The aliases save the names the user supplied, while $host etc.
1655 # will get canonicalized.
1656 test -n "$target_alias" &&
1657 test "$program_prefix$program_suffix$program_transform_name" = \
1659 program_prefix
=${target_alias}-
1663 wx_major_version_number
=2
1664 wx_minor_version_number
=6
1666 wx_subrelease_number
=1
1668 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1669 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1670 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1672 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1688 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1694 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1700 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1702 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1704 DEFAULT_wxUSE_COCOA
=0
1708 DEFAULT_wxUSE_MICROWIN
=0
1709 DEFAULT_wxUSE_MOTIF
=0
1714 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1715 DEFAULT_DEFAULT_wxUSE_GTK
=0
1716 DEFAULT_DEFAULT_wxUSE_MAC
=0
1717 DEFAULT_DEFAULT_wxUSE_MGL
=0
1718 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1719 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1720 DEFAULT_DEFAULT_wxUSE_MSW
=0
1721 DEFAULT_DEFAULT_wxUSE_PM
=0
1722 DEFAULT_DEFAULT_wxUSE_X11
=0
1727 SAMPLES_RPATH_POSTLINK
=
1729 DEFAULT_STD_FLAG
=yes
1734 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1735 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1737 cat >>confdefs.h
<<\_ACEOF
1744 cat >>confdefs.h
<<\_ACEOF
1749 if test "x$TMP" = "xalpha"; then
1751 cat >>confdefs.h
<<\_ACEOF
1756 DEFAULT_DEFAULT_wxUSE_GTK
=1
1758 *-*-gnu* | *-*-k*bsd
*-gnu )
1761 if test "x$TMP" = "xalpha"; then
1763 cat >>confdefs.h
<<\_ACEOF
1768 DEFAULT_DEFAULT_wxUSE_GTK
=1
1770 *-*-irix5* | *-*-irix6* )
1773 cat >>confdefs.h
<<\_ACEOF
1777 cat >>confdefs.h
<<\_ACEOF
1781 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1787 cat >>confdefs.h
<<\_ACEOF
1791 cat >>confdefs.h
<<\_ACEOF
1792 #define __SOLARIS__ 1
1795 cat >>confdefs.h
<<\_ACEOF
1799 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1800 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1806 cat >>confdefs.h
<<\_ACEOF
1810 cat >>confdefs.h
<<\_ACEOF
1814 cat >>confdefs.h
<<\_ACEOF
1818 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1823 cat >>confdefs.h
<<\_ACEOF
1824 #define __FREEBSD__ 1
1827 cat >>confdefs.h
<<\_ACEOF
1831 DEFAULT_DEFAULT_wxUSE_GTK
=1
1836 cat >>confdefs.h
<<\_ACEOF
1837 #define __OPENBSD__ 1
1840 cat >>confdefs.h
<<\_ACEOF
1844 DEFAULT_DEFAULT_wxUSE_GTK
=1
1849 cat >>confdefs.h
<<\_ACEOF
1850 #define __NETBSD__ 1
1853 cat >>confdefs.h
<<\_ACEOF
1857 DEFAULT_DEFAULT_wxUSE_GTK
=1
1862 cat >>confdefs.h
<<\_ACEOF
1866 cat >>confdefs.h
<<\_ACEOF
1870 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1871 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1876 cat >>confdefs.h
<<\_ACEOF
1880 cat >>confdefs.h
<<\_ACEOF
1884 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1889 cat >>confdefs.h
<<\_ACEOF
1893 cat >>confdefs.h
<<\_ACEOF
1897 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1904 cat >>confdefs.h
<<\_ACEOF
1908 cat >>confdefs.h
<<\_ACEOF
1912 cat >>confdefs.h
<<\_ACEOF
1916 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1923 cat >>confdefs.h
<<\_ACEOF
1924 #define __UNIXWARE__ 1
1929 *-*-cygwin* | *-*-mingw32* )
1933 DEFAULT_DEFAULT_wxUSE_MSW
=1
1940 cat >>confdefs.h
<<\_ACEOF
1945 DEFAULT_DEFAULT_wxUSE_MGL
=1
1948 *-pc-os2_emx | *-pc-os2-emx )
1949 cat >>confdefs.h
<<\_ACEOF
1954 cat >>confdefs.h
<<\_ACEOF
1959 DEFAULT_DEFAULT_wxUSE_PM
=1
1961 LDFLAGS
="$LDFLAGS -Zcrtdll"
1962 ac_executable_extensions
=".exe"
1963 export ac_executable_extensions
1967 for ac_dir
in $PATH; do
1969 if test -z "$ac_TEMP_PATH"; then
1970 ac_TEMP_PATH
="$ac_dir"
1972 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1975 export PATH
="$ac_TEMP_PATH"
1984 cat >>confdefs.h
<<\_ACEOF
1988 cat >>confdefs.h
<<\_ACEOF
1989 #define __DARWIN__ 1
1992 cat >>confdefs.h
<<\_ACEOF
1993 #define TARGET_CARBON 1
1996 DEFAULT_DEFAULT_wxUSE_MAC
=1
1999 powerpc
-apple-macos* )
2001 ac_cv_c_bigendian
=yes
2003 DEFAULT_DEFAULT_wxUSE_MAC
=1
2009 cat >>confdefs.h
<<\_ACEOF
2016 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2017 echo "$as_me: error: unknown system type ${host}." >&2;}
2018 { (exit 1); exit 1; }; }
2024 wx_arg_cache_file
="configarg.cache"
2025 echo "loading argument cache $wx_arg_cache_file"
2026 rm -f ${wx_arg_cache_file}.tmp
2027 touch ${wx_arg_cache_file}.tmp
2028 touch ${wx_arg_cache_file}
2032 if test $DEBUG_CONFIGURE = 1; then
2033 DEFAULT_wxUSE_UNIVERSAL
=no
2034 DEFAULT_wxUSE_STL
=no
2036 DEFAULT_wxUSE_NANOX
=no
2038 DEFAULT_wxUSE_THREADS
=yes
2040 DEFAULT_wxUSE_SHARED
=yes
2041 DEFAULT_wxUSE_OPTIMISE
=no
2042 DEFAULT_wxUSE_PROFILE
=no
2043 DEFAULT_wxUSE_NO_DEPS
=no
2044 DEFAULT_wxUSE_NO_RTTI
=no
2045 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2046 DEFAULT_wxUSE_RPATH
=yes
2047 DEFAULT_wxUSE_PERMISSIVE
=no
2048 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2049 DEFAULT_wxUSE_DEBUG_INFO
=yes
2050 DEFAULT_wxUSE_DEBUG_GDB
=yes
2051 DEFAULT_wxUSE_MEM_TRACING
=no
2052 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2053 DEFAULT_wxUSE_DMALLOC
=no
2054 DEFAULT_wxUSE_APPLE_IEEE
=no
2056 DEFAULT_wxUSE_EXCEPTIONS
=no
2057 DEFAULT_wxUSE_LOG
=yes
2058 DEFAULT_wxUSE_LOGWINDOW
=no
2059 DEFAULT_wxUSE_LOGGUI
=no
2060 DEFAULT_wxUSE_LOGDIALOG
=no
2062 DEFAULT_wxUSE_GUI
=yes
2063 DEFAULT_wxUSE_CONTROLS
=no
2065 DEFAULT_wxUSE_REGEX
=no
2066 DEFAULT_wxUSE_XML
=no
2067 DEFAULT_wxUSE_EXPAT
=no
2068 DEFAULT_wxUSE_ZLIB
=no
2069 DEFAULT_wxUSE_LIBPNG
=no
2070 DEFAULT_wxUSE_LIBJPEG
=no
2071 DEFAULT_wxUSE_LIBTIFF
=no
2072 DEFAULT_wxUSE_LIBXPM
=no
2073 DEFAULT_wxUSE_LIBMSPACK
=no
2074 DEFAULT_wxUSE_LIBSDL
=no
2075 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2076 DEFAULT_wxUSE_ODBC
=no
2077 DEFAULT_wxUSE_OPENGL
=no
2079 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2080 DEFAULT_wxUSE_STACKWALKER
=no
2081 DEFAULT_wxUSE_DEBUGREPORT
=no
2082 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2083 DEFAULT_wxUSE_STD_IOSTREAM
=no
2084 DEFAULT_wxUSE_STD_STRING
=no
2085 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2086 DEFAULT_wxUSE_DATETIME
=no
2087 DEFAULT_wxUSE_TIMER
=no
2088 DEFAULT_wxUSE_STOPWATCH
=no
2089 DEFAULT_wxUSE_FILE
=no
2090 DEFAULT_wxUSE_FFILE
=no
2091 DEFAULT_wxUSE_STDPATHS
=no
2092 DEFAULT_wxUSE_TEXTBUFFER
=no
2093 DEFAULT_wxUSE_TEXTFILE
=no
2094 DEFAULT_wxUSE_SOUND
=no
2095 DEFAULT_wxUSE_MEDIACTRL
=no
2096 DEFAULT_wxUSE_INTL
=no
2097 DEFAULT_wxUSE_CONFIG
=no
2098 DEFAULT_wxUSE_FONTMAP
=no
2099 DEFAULT_wxUSE_STREAMS
=no
2100 DEFAULT_wxUSE_SOCKETS
=no
2101 DEFAULT_wxUSE_OLE
=no
2102 DEFAULT_wxUSE_DATAOBJ
=no
2103 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2104 DEFAULT_wxUSE_JOYSTICK
=no
2105 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2106 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2107 DEFAULT_wxUSE_LONGLONG
=no
2108 DEFAULT_wxUSE_GEOMETRY
=no
2110 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2111 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2112 DEFAULT_wxUSE_POSTSCRIPT
=no
2114 DEFAULT_wxUSE_CLIPBOARD
=no
2115 DEFAULT_wxUSE_TOOLTIPS
=no
2116 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2117 DEFAULT_wxUSE_DRAGIMAGE
=no
2118 DEFAULT_wxUSE_SPLINES
=no
2119 DEFAULT_wxUSE_MOUSEWHEEL
=no
2121 DEFAULT_wxUSE_MDI
=no
2122 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2123 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2124 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2126 DEFAULT_wxUSE_RESOURCES
=no
2127 DEFAULT_wxUSE_CONSTRAINTS
=no
2128 DEFAULT_wxUSE_IPC
=no
2129 DEFAULT_wxUSE_HELP
=no
2130 DEFAULT_wxUSE_MS_HTML_HELP
=no
2131 DEFAULT_wxUSE_WXHTML_HELP
=no
2132 DEFAULT_wxUSE_TREELAYOUT
=no
2133 DEFAULT_wxUSE_METAFILE
=no
2134 DEFAULT_wxUSE_MIMETYPE
=no
2135 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2136 DEFAULT_wxUSE_PROTOCOL
=no
2137 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2138 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2139 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2140 DEFAULT_wxUSE_URL
=no
2142 DEFAULT_wxUSE_COMMONDLGS
=no
2143 DEFAULT_wxUSE_CHOICEDLG
=no
2144 DEFAULT_wxUSE_COLOURDLG
=no
2145 DEFAULT_wxUSE_DIRDLG
=no
2146 DEFAULT_wxUSE_FILEDLG
=no
2147 DEFAULT_wxUSE_FINDREPLDLG
=no
2148 DEFAULT_wxUSE_FONTDLG
=no
2149 DEFAULT_wxUSE_MSGDLG
=no
2150 DEFAULT_wxUSE_NUMBERDLG
=no
2151 DEFAULT_wxUSE_TEXTDLG
=no
2152 DEFAULT_wxUSE_SPLASH
=no
2153 DEFAULT_wxUSE_STARTUP_TIPS
=no
2154 DEFAULT_wxUSE_PROGRESSDLG
=no
2155 DEFAULT_wxUSE_WIZARDDLG
=no
2157 DEFAULT_wxUSE_MENUS
=no
2158 DEFAULT_wxUSE_MINIFRAME
=no
2159 DEFAULT_wxUSE_HTML
=no
2160 DEFAULT_wxUSE_XRC
=no
2161 DEFAULT_wxUSE_WEBKIT
=no
2162 DEFAULT_wxUSE_FILESYSTEM
=no
2163 DEFAULT_wxUSE_FS_INET
=no
2164 DEFAULT_wxUSE_FS_ZIP
=no
2165 DEFAULT_wxUSE_BUSYINFO
=no
2166 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2167 DEFAULT_wxUSE_ZIPSTREAM
=no
2168 DEFAULT_wxUSE_VALIDATORS
=no
2170 DEFAULT_wxUSE_ACCEL
=no
2171 DEFAULT_wxUSE_BUTTON
=no
2172 DEFAULT_wxUSE_BMPBUTTON
=no
2173 DEFAULT_wxUSE_CALCTRL
=no
2174 DEFAULT_wxUSE_CARET
=no
2175 DEFAULT_wxUSE_CHECKBOX
=no
2176 DEFAULT_wxUSE_CHECKLST
=no
2177 DEFAULT_wxUSE_CHOICE
=no
2178 DEFAULT_wxUSE_CHOICEBOOK
=no
2179 DEFAULT_wxUSE_COMBOBOX
=no
2180 DEFAULT_wxUSE_DATEPICKCTRL
=no
2181 DEFAULT_wxUSE_DISPLAY
=no
2182 DEFAULT_wxUSE_GAUGE
=no
2183 DEFAULT_wxUSE_GRID
=no
2184 DEFAULT_wxUSE_IMAGLIST
=no
2185 DEFAULT_wxUSE_LISTBOOK
=no
2186 DEFAULT_wxUSE_LISTBOX
=no
2187 DEFAULT_wxUSE_LISTCTRL
=no
2188 DEFAULT_wxUSE_NOTEBOOK
=no
2189 DEFAULT_wxUSE_RADIOBOX
=no
2190 DEFAULT_wxUSE_RADIOBTN
=no
2191 DEFAULT_wxUSE_SASH
=no
2192 DEFAULT_wxUSE_SCROLLBAR
=no
2193 DEFAULT_wxUSE_SLIDER
=no
2194 DEFAULT_wxUSE_SPINBTN
=no
2195 DEFAULT_wxUSE_SPINCTRL
=no
2196 DEFAULT_wxUSE_SPLITTER
=no
2197 DEFAULT_wxUSE_STATBMP
=no
2198 DEFAULT_wxUSE_STATBOX
=no
2199 DEFAULT_wxUSE_STATLINE
=no
2200 DEFAULT_wxUSE_STATTEXT
=no
2201 DEFAULT_wxUSE_STATUSBAR
=yes
2202 DEFAULT_wxUSE_TABDIALOG
=no
2203 DEFAULT_wxUSE_TEXTCTRL
=no
2204 DEFAULT_wxUSE_TOGGLEBTN
=no
2205 DEFAULT_wxUSE_TOOLBAR
=no
2206 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2207 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2208 DEFAULT_wxUSE_TREECTRL
=no
2209 DEFAULT_wxUSE_POPUPWIN
=no
2210 DEFAULT_wxUSE_TIPWINDOW
=no
2212 DEFAULT_wxUSE_UNICODE
=no
2213 DEFAULT_wxUSE_UNICODE_MSLU
=no
2214 DEFAULT_wxUSE_WCSRTOMBS
=no
2216 DEFAULT_wxUSE_PALETTE
=no
2217 DEFAULT_wxUSE_IMAGE
=no
2218 DEFAULT_wxUSE_GIF
=no
2219 DEFAULT_wxUSE_PCX
=no
2220 DEFAULT_wxUSE_PNM
=no
2221 DEFAULT_wxUSE_IFF
=no
2222 DEFAULT_wxUSE_XPM
=no
2223 DEFAULT_wxUSE_ICO_CUR
=no
2224 DEFAULT_wxUSE_ACCESSIBILITY
=no
2226 DEFAULT_wxUSE_MONOLITHIC
=no
2227 DEFAULT_wxUSE_PLUGINS
=no
2228 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2230 DEFAULT_wxUSE_UNIVERSAL
=no
2231 DEFAULT_wxUSE_STL
=no
2233 DEFAULT_wxUSE_NANOX
=no
2235 DEFAULT_wxUSE_THREADS
=yes
2237 DEFAULT_wxUSE_SHARED
=yes
2238 DEFAULT_wxUSE_OPTIMISE
=yes
2239 DEFAULT_wxUSE_PROFILE
=no
2240 DEFAULT_wxUSE_NO_DEPS
=no
2241 DEFAULT_wxUSE_NO_RTTI
=no
2242 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2243 DEFAULT_wxUSE_RPATH
=yes
2244 DEFAULT_wxUSE_PERMISSIVE
=no
2245 DEFAULT_wxUSE_DEBUG_FLAG
=no
2246 DEFAULT_wxUSE_DEBUG_INFO
=no
2247 DEFAULT_wxUSE_DEBUG_GDB
=no
2248 DEFAULT_wxUSE_MEM_TRACING
=no
2249 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2250 DEFAULT_wxUSE_DMALLOC
=no
2251 DEFAULT_wxUSE_APPLE_IEEE
=yes
2253 DEFAULT_wxUSE_EXCEPTIONS
=yes
2254 DEFAULT_wxUSE_LOG
=yes
2255 DEFAULT_wxUSE_LOGWINDOW
=yes
2256 DEFAULT_wxUSE_LOGGUI
=yes
2257 DEFAULT_wxUSE_LOGDIALOG
=yes
2259 DEFAULT_wxUSE_GUI
=yes
2261 DEFAULT_wxUSE_REGEX
=yes
2262 DEFAULT_wxUSE_XML
=yes
2263 DEFAULT_wxUSE_EXPAT
=yes
2264 DEFAULT_wxUSE_ZLIB
=yes
2265 DEFAULT_wxUSE_LIBPNG
=yes
2266 DEFAULT_wxUSE_LIBJPEG
=yes
2267 DEFAULT_wxUSE_LIBTIFF
=yes
2268 DEFAULT_wxUSE_LIBXPM
=yes
2269 DEFAULT_wxUSE_LIBMSPACK
=yes
2270 DEFAULT_wxUSE_LIBSDL
=no
2271 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2272 DEFAULT_wxUSE_ODBC
=no
2273 DEFAULT_wxUSE_OPENGL
=no
2275 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2276 DEFAULT_wxUSE_STACKWALKER
=yes
2277 DEFAULT_wxUSE_DEBUGREPORT
=yes
2278 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2279 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2280 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2281 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2282 DEFAULT_wxUSE_DATETIME
=yes
2283 DEFAULT_wxUSE_TIMER
=yes
2284 DEFAULT_wxUSE_STOPWATCH
=yes
2285 DEFAULT_wxUSE_FILE
=yes
2286 DEFAULT_wxUSE_FFILE
=yes
2287 DEFAULT_wxUSE_STDPATHS
=yes
2288 DEFAULT_wxUSE_TEXTBUFFER
=yes
2289 DEFAULT_wxUSE_TEXTFILE
=yes
2290 DEFAULT_wxUSE_SOUND
=yes
2291 DEFAULT_wxUSE_MEDIACTRL
=no
2292 DEFAULT_wxUSE_INTL
=yes
2293 DEFAULT_wxUSE_CONFIG
=yes
2294 DEFAULT_wxUSE_FONTMAP
=yes
2295 DEFAULT_wxUSE_STREAMS
=yes
2296 DEFAULT_wxUSE_SOCKETS
=yes
2297 DEFAULT_wxUSE_OLE
=yes
2298 DEFAULT_wxUSE_DATAOBJ
=yes
2299 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2300 DEFAULT_wxUSE_JOYSTICK
=yes
2301 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2302 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2303 DEFAULT_wxUSE_LONGLONG
=yes
2304 DEFAULT_wxUSE_GEOMETRY
=yes
2306 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2307 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2308 DEFAULT_wxUSE_POSTSCRIPT
=yes
2310 DEFAULT_wxUSE_CLIPBOARD
=yes
2311 DEFAULT_wxUSE_TOOLTIPS
=yes
2312 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2313 DEFAULT_wxUSE_DRAGIMAGE
=yes
2314 DEFAULT_wxUSE_SPLINES
=yes
2315 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2317 DEFAULT_wxUSE_MDI
=yes
2318 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2319 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2320 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2322 DEFAULT_wxUSE_RESOURCES
=no
2323 DEFAULT_wxUSE_CONSTRAINTS
=yes
2324 DEFAULT_wxUSE_IPC
=yes
2325 DEFAULT_wxUSE_HELP
=yes
2326 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2327 DEFAULT_wxUSE_WXHTML_HELP
=yes
2328 DEFAULT_wxUSE_TREELAYOUT
=yes
2329 DEFAULT_wxUSE_METAFILE
=yes
2330 DEFAULT_wxUSE_MIMETYPE
=yes
2331 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2332 DEFAULT_wxUSE_PROTOCOL
=yes
2333 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2334 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2335 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2336 DEFAULT_wxUSE_URL
=yes
2338 DEFAULT_wxUSE_COMMONDLGS
=yes
2339 DEFAULT_wxUSE_CHOICEDLG
=yes
2340 DEFAULT_wxUSE_COLOURDLG
=yes
2341 DEFAULT_wxUSE_DIRDLG
=yes
2342 DEFAULT_wxUSE_FILEDLG
=yes
2343 DEFAULT_wxUSE_FINDREPLDLG
=yes
2344 DEFAULT_wxUSE_FONTDLG
=yes
2345 DEFAULT_wxUSE_MSGDLG
=yes
2346 DEFAULT_wxUSE_NUMBERDLG
=yes
2347 DEFAULT_wxUSE_TEXTDLG
=yes
2348 DEFAULT_wxUSE_SPLASH
=yes
2349 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2350 DEFAULT_wxUSE_PROGRESSDLG
=yes
2351 DEFAULT_wxUSE_WIZARDDLG
=yes
2353 DEFAULT_wxUSE_MENUS
=yes
2354 DEFAULT_wxUSE_MINIFRAME
=yes
2355 DEFAULT_wxUSE_HTML
=yes
2356 DEFAULT_wxUSE_XRC
=yes
2357 DEFAULT_wxUSE_WEBKIT
=yes
2358 DEFAULT_wxUSE_FILESYSTEM
=yes
2359 DEFAULT_wxUSE_FS_INET
=yes
2360 DEFAULT_wxUSE_FS_ZIP
=yes
2361 DEFAULT_wxUSE_BUSYINFO
=yes
2362 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2363 DEFAULT_wxUSE_ZIPSTREAM
=yes
2364 DEFAULT_wxUSE_VALIDATORS
=yes
2366 DEFAULT_wxUSE_ACCEL
=yes
2367 DEFAULT_wxUSE_BUTTON
=yes
2368 DEFAULT_wxUSE_BMPBUTTON
=yes
2369 DEFAULT_wxUSE_CALCTRL
=yes
2370 DEFAULT_wxUSE_CARET
=yes
2371 DEFAULT_wxUSE_CHECKBOX
=yes
2372 DEFAULT_wxUSE_CHECKLST
=yes
2373 DEFAULT_wxUSE_CHOICE
=yes
2374 DEFAULT_wxUSE_CHOICEBOOK
=yes
2375 DEFAULT_wxUSE_COMBOBOX
=yes
2376 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2377 DEFAULT_wxUSE_DISPLAY
=yes
2378 DEFAULT_wxUSE_GAUGE
=yes
2379 DEFAULT_wxUSE_GRID
=yes
2380 DEFAULT_wxUSE_IMAGLIST
=yes
2381 DEFAULT_wxUSE_LISTBOOK
=yes
2382 DEFAULT_wxUSE_LISTBOX
=yes
2383 DEFAULT_wxUSE_LISTCTRL
=yes
2384 DEFAULT_wxUSE_NOTEBOOK
=yes
2385 DEFAULT_wxUSE_RADIOBOX
=yes
2386 DEFAULT_wxUSE_RADIOBTN
=yes
2387 DEFAULT_wxUSE_SASH
=yes
2388 DEFAULT_wxUSE_SCROLLBAR
=yes
2389 DEFAULT_wxUSE_SLIDER
=yes
2390 DEFAULT_wxUSE_SPINBTN
=yes
2391 DEFAULT_wxUSE_SPINCTRL
=yes
2392 DEFAULT_wxUSE_SPLITTER
=yes
2393 DEFAULT_wxUSE_STATBMP
=yes
2394 DEFAULT_wxUSE_STATBOX
=yes
2395 DEFAULT_wxUSE_STATLINE
=yes
2396 DEFAULT_wxUSE_STATTEXT
=yes
2397 DEFAULT_wxUSE_STATUSBAR
=yes
2398 DEFAULT_wxUSE_TABDIALOG
=no
2399 DEFAULT_wxUSE_TEXTCTRL
=yes
2400 DEFAULT_wxUSE_TOGGLEBTN
=yes
2401 DEFAULT_wxUSE_TOOLBAR
=yes
2402 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2403 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2404 DEFAULT_wxUSE_TREECTRL
=yes
2405 DEFAULT_wxUSE_POPUPWIN
=yes
2406 DEFAULT_wxUSE_TIPWINDOW
=yes
2408 DEFAULT_wxUSE_UNICODE
=no
2409 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2410 DEFAULT_wxUSE_WCSRTOMBS
=no
2412 DEFAULT_wxUSE_PALETTE
=yes
2413 DEFAULT_wxUSE_IMAGE
=yes
2414 DEFAULT_wxUSE_GIF
=yes
2415 DEFAULT_wxUSE_PCX
=yes
2416 DEFAULT_wxUSE_IFF
=no
2417 DEFAULT_wxUSE_PNM
=yes
2418 DEFAULT_wxUSE_XPM
=yes
2419 DEFAULT_wxUSE_ICO_CUR
=yes
2420 DEFAULT_wxUSE_ACCESSIBILITY
=no
2422 DEFAULT_wxUSE_MONOLITHIC
=no
2423 DEFAULT_wxUSE_PLUGINS
=no
2424 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2426 DEFAULT_wxUSE_GTK2
=yes
2432 for toolkit
in `echo $ALL_TOOLKITS`; do
2433 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2434 if test "x$LINE" != "x" ; then
2435 has_toolkit_in_cache
=1
2436 eval "DEFAULT_$LINE"
2437 eval "CACHE_$toolkit=1"
2439 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2440 if test "x$LINE" != "x" ; then
2441 eval "DEFAULT_$LINE"
2449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2450 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2452 # Check whether --enable-gui or --disable-gui was given.
2453 if test "${enable_gui+set}" = set; then
2454 enableval
="$enable_gui"
2456 if test "$enableval" = yes; then
2457 ac_cv_use_gui
='wxUSE_GUI=yes'
2459 ac_cv_use_gui
='wxUSE_GUI=no'
2464 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2465 if test "x$LINE" != x
; then
2466 eval "DEFAULT_$LINE"
2471 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2475 eval "$ac_cv_use_gui"
2476 if test "$no_cache" != 1; then
2477 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2480 if test "$wxUSE_GUI" = yes; then
2481 echo "$as_me:$LINENO: result: yes" >&5
2482 echo "${ECHO_T}yes" >&6
2484 echo "$as_me:$LINENO: result: no" >&5
2485 echo "${ECHO_T}no" >&6
2490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2491 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2493 # Check whether --enable-monolithic or --disable-monolithic was given.
2494 if test "${enable_monolithic+set}" = set; then
2495 enableval
="$enable_monolithic"
2497 if test "$enableval" = yes; then
2498 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2500 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2505 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2506 if test "x$LINE" != x
; then
2507 eval "DEFAULT_$LINE"
2512 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2516 eval "$ac_cv_use_monolithic"
2517 if test "$no_cache" != 1; then
2518 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2521 if test "$wxUSE_MONOLITHIC" = yes; then
2522 echo "$as_me:$LINENO: result: yes" >&5
2523 echo "${ECHO_T}yes" >&6
2525 echo "$as_me:$LINENO: result: no" >&5
2526 echo "${ECHO_T}no" >&6
2531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2532 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2534 # Check whether --enable-plugins or --disable-plugins was given.
2535 if test "${enable_plugins+set}" = set; then
2536 enableval
="$enable_plugins"
2538 if test "$enableval" = yes; then
2539 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2541 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2546 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2547 if test "x$LINE" != x
; then
2548 eval "DEFAULT_$LINE"
2553 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2557 eval "$ac_cv_use_plugins"
2558 if test "$no_cache" != 1; then
2559 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2562 if test "$wxUSE_PLUGINS" = yes; then
2563 echo "$as_me:$LINENO: result: yes" >&5
2564 echo "${ECHO_T}yes" >&6
2566 echo "$as_me:$LINENO: result: no" >&5
2567 echo "${ECHO_T}no" >&6
2571 if test "$wxUSE_GUI" = "yes"; then
2575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2576 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2578 # Check whether --enable-universal or --disable-universal was given.
2579 if test "${enable_universal+set}" = set; then
2580 enableval
="$enable_universal"
2582 if test "$enableval" = yes; then
2583 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2585 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2590 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2591 if test "x$LINE" != x
; then
2592 eval "DEFAULT_$LINE"
2597 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2601 eval "$ac_cv_use_universal"
2602 if test "$no_cache" != 1; then
2603 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2606 if test "$wxUSE_UNIVERSAL" = yes; then
2607 echo "$as_me:$LINENO: result: yes" >&5
2608 echo "${ECHO_T}yes" >&6
2610 echo "$as_me:$LINENO: result: no" >&5
2611 echo "${ECHO_T}no" >&6
2615 # Check whether --with-gtk or --without-gtk was given.
2616 if test "${with_gtk+set}" = set; then
2618 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2621 # Check whether --with-motif or --without-motif was given.
2622 if test "${with_motif+set}" = set; then
2623 withval
="$with_motif"
2624 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2627 # Check whether --with-mac or --without-mac was given.
2628 if test "${with_mac+set}" = set; then
2630 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2633 # Check whether --with-cocoa or --without-cocoa was given.
2634 if test "${with_cocoa+set}" = set; then
2635 withval
="$with_cocoa"
2636 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2639 # Check whether --with-wine or --without-wine was given.
2640 if test "${with_wine+set}" = set; then
2641 withval
="$with_wine"
2642 wxUSE_WINE
="$withval" CACHE_WINE
=1
2645 # Check whether --with-msw or --without-msw was given.
2646 if test "${with_msw+set}" = set; then
2648 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2651 # Check whether --with-pm or --without-pm was given.
2652 if test "${with_pm+set}" = set; then
2654 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2657 # Check whether --with-mgl or --without-mgl was given.
2658 if test "${with_mgl+set}" = set; then
2660 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2663 # Check whether --with-microwin or --without-microwin was given.
2664 if test "${with_microwin+set}" = set; then
2665 withval
="$with_microwin"
2666 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2669 # Check whether --with-x11 or --without-x11 was given.
2670 if test "${with_x11+set}" = set; then
2672 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2677 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2679 # Check whether --enable-nanox or --disable-nanox was given.
2680 if test "${enable_nanox+set}" = set; then
2681 enableval
="$enable_nanox"
2683 if test "$enableval" = yes; then
2684 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2686 ac_cv_use_nanox
='wxUSE_NANOX=no'
2691 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2692 if test "x$LINE" != x
; then
2693 eval "DEFAULT_$LINE"
2698 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2702 eval "$ac_cv_use_nanox"
2703 if test "$no_cache" != 1; then
2704 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2707 if test "$wxUSE_NANOX" = yes; then
2708 echo "$as_me:$LINENO: result: yes" >&5
2709 echo "${ECHO_T}yes" >&6
2711 echo "$as_me:$LINENO: result: no" >&5
2712 echo "${ECHO_T}no" >&6
2716 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2717 if test "${enable_gtk2+set}" = set; then
2718 enableval
="$enable_gtk2"
2719 wxUSE_GTK2
="$enableval"
2723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2724 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2726 # Check whether --enable-gpe or --disable-gpe was given.
2727 if test "${enable_gpe+set}" = set; then
2728 enableval
="$enable_gpe"
2730 if test "$enableval" = yes; then
2731 ac_cv_use_gpe
='wxUSE_GPE=yes'
2733 ac_cv_use_gpe
='wxUSE_GPE=no'
2738 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2739 if test "x$LINE" != x
; then
2740 eval "DEFAULT_$LINE"
2745 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2749 eval "$ac_cv_use_gpe"
2750 if test "$no_cache" != 1; then
2751 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2754 if test "$wxUSE_GPE" = yes; then
2755 echo "$as_me:$LINENO: result: yes" >&5
2756 echo "${ECHO_T}yes" >&6
2758 echo "$as_me:$LINENO: result: no" >&5
2759 echo "${ECHO_T}no" >&6
2764 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2765 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2768 # Check whether --with-libpng or --without-libpng was given.
2769 if test "${with_libpng+set}" = set; then
2770 withval
="$with_libpng"
2772 if test "$withval" = yes; then
2773 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2774 elif test "$withval" = no
; then
2775 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2776 elif test "$withval" = sys
; then
2777 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2778 elif test "$withval" = builtin; then
2779 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2781 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2782 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2783 { (exit 1); exit 1; }; }
2788 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2789 if test "x$LINE" != x
; then
2790 eval "DEFAULT_$LINE"
2795 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2799 eval "$ac_cv_use_libpng"
2800 if test "$no_cache" != 1; then
2801 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2804 if test "$wxUSE_LIBPNG" = yes; then
2805 echo "$as_me:$LINENO: result: yes" >&5
2806 echo "${ECHO_T}yes" >&6
2807 elif test "$wxUSE_LIBPNG" = no
; then
2808 echo "$as_me:$LINENO: result: no" >&5
2809 echo "${ECHO_T}no" >&6
2810 elif test "$wxUSE_LIBPNG" = sys
; then
2811 echo "$as_me:$LINENO: result: system version" >&5
2812 echo "${ECHO_T}system version" >&6
2813 elif test "$wxUSE_LIBPNG" = builtin; then
2814 echo "$as_me:$LINENO: result: builtin version" >&5
2815 echo "${ECHO_T}builtin version" >&6
2817 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2818 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2819 { (exit 1); exit 1; }; }
2823 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2824 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2827 # Check whether --with-libjpeg or --without-libjpeg was given.
2828 if test "${with_libjpeg+set}" = set; then
2829 withval
="$with_libjpeg"
2831 if test "$withval" = yes; then
2832 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2833 elif test "$withval" = no
; then
2834 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2835 elif test "$withval" = sys
; then
2836 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2837 elif test "$withval" = builtin; then
2838 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2840 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2841 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2842 { (exit 1); exit 1; }; }
2847 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2848 if test "x$LINE" != x
; then
2849 eval "DEFAULT_$LINE"
2854 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2858 eval "$ac_cv_use_libjpeg"
2859 if test "$no_cache" != 1; then
2860 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2863 if test "$wxUSE_LIBJPEG" = yes; then
2864 echo "$as_me:$LINENO: result: yes" >&5
2865 echo "${ECHO_T}yes" >&6
2866 elif test "$wxUSE_LIBJPEG" = no
; then
2867 echo "$as_me:$LINENO: result: no" >&5
2868 echo "${ECHO_T}no" >&6
2869 elif test "$wxUSE_LIBJPEG" = sys
; then
2870 echo "$as_me:$LINENO: result: system version" >&5
2871 echo "${ECHO_T}system version" >&6
2872 elif test "$wxUSE_LIBJPEG" = builtin; then
2873 echo "$as_me:$LINENO: result: builtin version" >&5
2874 echo "${ECHO_T}builtin version" >&6
2876 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2877 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2878 { (exit 1); exit 1; }; }
2882 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2883 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2886 # Check whether --with-libtiff or --without-libtiff was given.
2887 if test "${with_libtiff+set}" = set; then
2888 withval
="$with_libtiff"
2890 if test "$withval" = yes; then
2891 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2892 elif test "$withval" = no
; then
2893 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2894 elif test "$withval" = sys
; then
2895 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2896 elif test "$withval" = builtin; then
2897 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2899 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2900 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2901 { (exit 1); exit 1; }; }
2906 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2907 if test "x$LINE" != x
; then
2908 eval "DEFAULT_$LINE"
2913 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2917 eval "$ac_cv_use_libtiff"
2918 if test "$no_cache" != 1; then
2919 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2922 if test "$wxUSE_LIBTIFF" = yes; then
2923 echo "$as_me:$LINENO: result: yes" >&5
2924 echo "${ECHO_T}yes" >&6
2925 elif test "$wxUSE_LIBTIFF" = no
; then
2926 echo "$as_me:$LINENO: result: no" >&5
2927 echo "${ECHO_T}no" >&6
2928 elif test "$wxUSE_LIBTIFF" = sys
; then
2929 echo "$as_me:$LINENO: result: system version" >&5
2930 echo "${ECHO_T}system version" >&6
2931 elif test "$wxUSE_LIBTIFF" = builtin; then
2932 echo "$as_me:$LINENO: result: builtin version" >&5
2933 echo "${ECHO_T}builtin version" >&6
2935 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2936 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2937 { (exit 1); exit 1; }; }
2941 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2942 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2945 # Check whether --with-libxpm or --without-libxpm was given.
2946 if test "${with_libxpm+set}" = set; then
2947 withval
="$with_libxpm"
2949 if test "$withval" = yes; then
2950 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2951 elif test "$withval" = no
; then
2952 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2953 elif test "$withval" = sys
; then
2954 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2955 elif test "$withval" = builtin; then
2956 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2958 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2959 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2960 { (exit 1); exit 1; }; }
2965 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2966 if test "x$LINE" != x
; then
2967 eval "DEFAULT_$LINE"
2972 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2976 eval "$ac_cv_use_libxpm"
2977 if test "$no_cache" != 1; then
2978 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2981 if test "$wxUSE_LIBXPM" = yes; then
2982 echo "$as_me:$LINENO: result: yes" >&5
2983 echo "${ECHO_T}yes" >&6
2984 elif test "$wxUSE_LIBXPM" = no
; then
2985 echo "$as_me:$LINENO: result: no" >&5
2986 echo "${ECHO_T}no" >&6
2987 elif test "$wxUSE_LIBXPM" = sys
; then
2988 echo "$as_me:$LINENO: result: system version" >&5
2989 echo "${ECHO_T}system version" >&6
2990 elif test "$wxUSE_LIBXPM" = builtin; then
2991 echo "$as_me:$LINENO: result: builtin version" >&5
2992 echo "${ECHO_T}builtin version" >&6
2994 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2995 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2996 { (exit 1); exit 1; }; }
3000 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3001 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3004 # Check whether --with-libmspack or --without-libmspack was given.
3005 if test "${with_libmspack+set}" = set; then
3006 withval
="$with_libmspack"
3008 if test "$withval" = yes; then
3009 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3011 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3016 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3017 if test "x$LINE" != x
; then
3018 eval "DEFAULT_$LINE"
3023 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3027 eval "$ac_cv_use_libmspack"
3028 if test "$no_cache" != 1; then
3029 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3032 if test "$wxUSE_LIBMSPACK" = yes; then
3033 echo "$as_me:$LINENO: result: yes" >&5
3034 echo "${ECHO_T}yes" >&6
3036 echo "$as_me:$LINENO: result: no" >&5
3037 echo "${ECHO_T}no" >&6
3041 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3042 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3045 # Check whether --with-sdl or --without-sdl was given.
3046 if test "${with_sdl+set}" = set; then
3049 if test "$withval" = yes; then
3050 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3052 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3057 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3058 if test "x$LINE" != x
; then
3059 eval "DEFAULT_$LINE"
3064 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3068 eval "$ac_cv_use_sdl"
3069 if test "$no_cache" != 1; then
3070 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3073 if test "$wxUSE_LIBSDL" = yes; then
3074 echo "$as_me:$LINENO: result: yes" >&5
3075 echo "${ECHO_T}yes" >&6
3077 echo "$as_me:$LINENO: result: no" >&5
3078 echo "${ECHO_T}no" >&6
3082 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3083 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3086 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3087 if test "${with_gnomeprint+set}" = set; then
3088 withval
="$with_gnomeprint"
3090 if test "$withval" = yes; then
3091 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3093 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3098 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3099 if test "x$LINE" != x
; then
3100 eval "DEFAULT_$LINE"
3105 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3109 eval "$ac_cv_use_gnomeprint"
3110 if test "$no_cache" != 1; then
3111 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3114 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3115 echo "$as_me:$LINENO: result: yes" >&5
3116 echo "${ECHO_T}yes" >&6
3118 echo "$as_me:$LINENO: result: no" >&5
3119 echo "${ECHO_T}no" >&6
3123 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3124 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3127 # Check whether --with-opengl or --without-opengl was given.
3128 if test "${with_opengl+set}" = set; then
3129 withval
="$with_opengl"
3131 if test "$withval" = yes; then
3132 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3134 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3139 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3140 if test "x$LINE" != x
; then
3141 eval "DEFAULT_$LINE"
3146 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3150 eval "$ac_cv_use_opengl"
3151 if test "$no_cache" != 1; then
3152 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3155 if test "$wxUSE_OPENGL" = yes; then
3156 echo "$as_me:$LINENO: result: yes" >&5
3157 echo "${ECHO_T}yes" >&6
3159 echo "$as_me:$LINENO: result: no" >&5
3160 echo "${ECHO_T}no" >&6
3167 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3168 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3171 # Check whether --with-dmalloc or --without-dmalloc was given.
3172 if test "${with_dmalloc+set}" = set; then
3173 withval
="$with_dmalloc"
3175 if test "$withval" = yes; then
3176 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3178 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3183 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3184 if test "x$LINE" != x
; then
3185 eval "DEFAULT_$LINE"
3190 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3194 eval "$ac_cv_use_dmalloc"
3195 if test "$no_cache" != 1; then
3196 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3199 if test "$wxUSE_DMALLOC" = yes; then
3200 echo "$as_me:$LINENO: result: yes" >&5
3201 echo "${ECHO_T}yes" >&6
3203 echo "$as_me:$LINENO: result: no" >&5
3204 echo "${ECHO_T}no" >&6
3208 echo "$as_me:$LINENO: checking for --with-regex" >&5
3209 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3212 # Check whether --with-regex or --without-regex was given.
3213 if test "${with_regex+set}" = set; then
3214 withval
="$with_regex"
3216 if test "$withval" = yes; then
3217 ac_cv_use_regex
='wxUSE_REGEX=yes'
3218 elif test "$withval" = no
; then
3219 ac_cv_use_regex
='wxUSE_REGEX=no'
3220 elif test "$withval" = sys
; then
3221 ac_cv_use_regex
='wxUSE_REGEX=sys'
3222 elif test "$withval" = builtin; then
3223 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3225 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3226 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3227 { (exit 1); exit 1; }; }
3232 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3233 if test "x$LINE" != x
; then
3234 eval "DEFAULT_$LINE"
3239 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3243 eval "$ac_cv_use_regex"
3244 if test "$no_cache" != 1; then
3245 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3248 if test "$wxUSE_REGEX" = yes; then
3249 echo "$as_me:$LINENO: result: yes" >&5
3250 echo "${ECHO_T}yes" >&6
3251 elif test "$wxUSE_REGEX" = no
; then
3252 echo "$as_me:$LINENO: result: no" >&5
3253 echo "${ECHO_T}no" >&6
3254 elif test "$wxUSE_REGEX" = sys
; then
3255 echo "$as_me:$LINENO: result: system version" >&5
3256 echo "${ECHO_T}system version" >&6
3257 elif test "$wxUSE_REGEX" = builtin; then
3258 echo "$as_me:$LINENO: result: builtin version" >&5
3259 echo "${ECHO_T}builtin version" >&6
3261 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3262 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3263 { (exit 1); exit 1; }; }
3267 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3268 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3271 # Check whether --with-zlib or --without-zlib was given.
3272 if test "${with_zlib+set}" = set; then
3273 withval
="$with_zlib"
3275 if test "$withval" = yes; then
3276 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3277 elif test "$withval" = no
; then
3278 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3279 elif test "$withval" = sys
; then
3280 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3281 elif test "$withval" = builtin; then
3282 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3284 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3285 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3286 { (exit 1); exit 1; }; }
3291 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3292 if test "x$LINE" != x
; then
3293 eval "DEFAULT_$LINE"
3298 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3302 eval "$ac_cv_use_zlib"
3303 if test "$no_cache" != 1; then
3304 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3307 if test "$wxUSE_ZLIB" = yes; then
3308 echo "$as_me:$LINENO: result: yes" >&5
3309 echo "${ECHO_T}yes" >&6
3310 elif test "$wxUSE_ZLIB" = no
; then
3311 echo "$as_me:$LINENO: result: no" >&5
3312 echo "${ECHO_T}no" >&6
3313 elif test "$wxUSE_ZLIB" = sys
; then
3314 echo "$as_me:$LINENO: result: system version" >&5
3315 echo "${ECHO_T}system version" >&6
3316 elif test "$wxUSE_ZLIB" = builtin; then
3317 echo "$as_me:$LINENO: result: builtin version" >&5
3318 echo "${ECHO_T}builtin version" >&6
3320 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3321 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3322 { (exit 1); exit 1; }; }
3326 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3327 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3330 # Check whether --with-odbc or --without-odbc was given.
3331 if test "${with_odbc+set}" = set; then
3332 withval
="$with_odbc"
3334 if test "$withval" = yes; then
3335 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3336 elif test "$withval" = no
; then
3337 ac_cv_use_odbc
='wxUSE_ODBC=no'
3338 elif test "$withval" = sys
; then
3339 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3340 elif test "$withval" = builtin; then
3341 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3343 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3344 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3345 { (exit 1); exit 1; }; }
3350 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3351 if test "x$LINE" != x
; then
3352 eval "DEFAULT_$LINE"
3357 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3361 eval "$ac_cv_use_odbc"
3362 if test "$no_cache" != 1; then
3363 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3366 if test "$wxUSE_ODBC" = yes; then
3367 echo "$as_me:$LINENO: result: yes" >&5
3368 echo "${ECHO_T}yes" >&6
3369 elif test "$wxUSE_ODBC" = no
; then
3370 echo "$as_me:$LINENO: result: no" >&5
3371 echo "${ECHO_T}no" >&6
3372 elif test "$wxUSE_ODBC" = sys
; then
3373 echo "$as_me:$LINENO: result: system version" >&5
3374 echo "${ECHO_T}system version" >&6
3375 elif test "$wxUSE_ODBC" = builtin; then
3376 echo "$as_me:$LINENO: result: builtin version" >&5
3377 echo "${ECHO_T}builtin version" >&6
3379 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3380 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3381 { (exit 1); exit 1; }; }
3385 echo "$as_me:$LINENO: checking for --with-expat" >&5
3386 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3389 # Check whether --with-expat or --without-expat was given.
3390 if test "${with_expat+set}" = set; then
3391 withval
="$with_expat"
3393 if test "$withval" = yes; then
3394 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3395 elif test "$withval" = no
; then
3396 ac_cv_use_expat
='wxUSE_EXPAT=no'
3397 elif test "$withval" = sys
; then
3398 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3399 elif test "$withval" = builtin; then
3400 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3402 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3403 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3404 { (exit 1); exit 1; }; }
3409 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3410 if test "x$LINE" != x
; then
3411 eval "DEFAULT_$LINE"
3416 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3420 eval "$ac_cv_use_expat"
3421 if test "$no_cache" != 1; then
3422 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3425 if test "$wxUSE_EXPAT" = yes; then
3426 echo "$as_me:$LINENO: result: yes" >&5
3427 echo "${ECHO_T}yes" >&6
3428 elif test "$wxUSE_EXPAT" = no
; then
3429 echo "$as_me:$LINENO: result: no" >&5
3430 echo "${ECHO_T}no" >&6
3431 elif test "$wxUSE_EXPAT" = sys
; then
3432 echo "$as_me:$LINENO: result: system version" >&5
3433 echo "${ECHO_T}system version" >&6
3434 elif test "$wxUSE_EXPAT" = builtin; then
3435 echo "$as_me:$LINENO: result: builtin version" >&5
3436 echo "${ECHO_T}builtin version" >&6
3438 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3439 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3440 { (exit 1); exit 1; }; }
3447 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3448 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3450 # Check whether --enable-shared or --disable-shared was given.
3451 if test "${enable_shared+set}" = set; then
3452 enableval
="$enable_shared"
3454 if test "$enableval" = yes; then
3455 ac_cv_use_shared
='wxUSE_SHARED=yes'
3457 ac_cv_use_shared
='wxUSE_SHARED=no'
3462 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3463 if test "x$LINE" != x
; then
3464 eval "DEFAULT_$LINE"
3469 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3473 eval "$ac_cv_use_shared"
3474 if test "$no_cache" != 1; then
3475 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3478 if test "$wxUSE_SHARED" = yes; then
3479 echo "$as_me:$LINENO: result: yes" >&5
3480 echo "${ECHO_T}yes" >&6
3482 echo "$as_me:$LINENO: result: no" >&5
3483 echo "${ECHO_T}no" >&6
3488 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3489 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3491 # Check whether --enable-optimise or --disable-optimise was given.
3492 if test "${enable_optimise+set}" = set; then
3493 enableval
="$enable_optimise"
3495 if test "$enableval" = yes; then
3496 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3498 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3503 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3504 if test "x$LINE" != x
; then
3505 eval "DEFAULT_$LINE"
3510 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3514 eval "$ac_cv_use_optimise"
3515 if test "$no_cache" != 1; then
3516 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3519 if test "$wxUSE_OPTIMISE" = yes; then
3520 echo "$as_me:$LINENO: result: yes" >&5
3521 echo "${ECHO_T}yes" >&6
3523 echo "$as_me:$LINENO: result: no" >&5
3524 echo "${ECHO_T}no" >&6
3529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3530 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3532 # Check whether --enable-debug or --disable-debug was given.
3533 if test "${enable_debug+set}" = set; then
3534 enableval
="$enable_debug"
3536 if test "$enableval" = yes; then
3537 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3539 ac_cv_use_debug
='wxUSE_DEBUG=no'
3544 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3545 if test "x$LINE" != x
; then
3546 eval "DEFAULT_$LINE"
3551 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3555 eval "$ac_cv_use_debug"
3556 if test "$no_cache" != 1; then
3557 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3560 if test "$wxUSE_DEBUG" = yes; then
3561 echo "$as_me:$LINENO: result: yes" >&5
3562 echo "${ECHO_T}yes" >&6
3564 echo "$as_me:$LINENO: result: no" >&5
3565 echo "${ECHO_T}no" >&6
3570 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3571 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3573 # Check whether --enable-stl or --disable-stl was given.
3574 if test "${enable_stl+set}" = set; then
3575 enableval
="$enable_stl"
3577 if test "$enableval" = yes; then
3578 ac_cv_use_stl
='wxUSE_STL=yes'
3580 ac_cv_use_stl
='wxUSE_STL=no'
3585 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3586 if test "x$LINE" != x
; then
3587 eval "DEFAULT_$LINE"
3592 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3596 eval "$ac_cv_use_stl"
3597 if test "$no_cache" != 1; then
3598 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3601 if test "$wxUSE_STL" = yes; then
3602 echo "$as_me:$LINENO: result: yes" >&5
3603 echo "${ECHO_T}yes" >&6
3605 echo "$as_me:$LINENO: result: no" >&5
3606 echo "${ECHO_T}no" >&6
3609 if test "$USE_OS2" = "1"; then
3610 DEFAULT_wxUSE_OMF
=no
3613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3614 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3616 # Check whether --enable-omf or --disable-omf was given.
3617 if test "${enable_omf+set}" = set; then
3618 enableval
="$enable_omf"
3620 if test "$enableval" = yes; then
3621 ac_cv_use_omf
='wxUSE_OMF=yes'
3623 ac_cv_use_omf
='wxUSE_OMF=no'
3628 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3629 if test "x$LINE" != x
; then
3630 eval "DEFAULT_$LINE"
3635 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3639 eval "$ac_cv_use_omf"
3640 if test "$no_cache" != 1; then
3641 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3644 if test "$wxUSE_OMF" = yes; then
3645 echo "$as_me:$LINENO: result: yes" >&5
3646 echo "${ECHO_T}yes" >&6
3648 echo "$as_me:$LINENO: result: no" >&5
3649 echo "${ECHO_T}no" >&6
3654 if test "$wxUSE_DEBUG" = "yes"; then
3655 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3656 DEFAULT_wxUSE_DEBUG_INFO
=yes
3658 elif test "$wxUSE_DEBUG" = "no"; then
3659 DEFAULT_wxUSE_DEBUG_FLAG
=no
3660 DEFAULT_wxUSE_DEBUG_INFO
=no
3666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3667 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3669 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3670 if test "${enable_debug_flag+set}" = set; then
3671 enableval
="$enable_debug_flag"
3673 if test "$enableval" = yes; then
3674 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3676 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3681 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3682 if test "x$LINE" != x
; then
3683 eval "DEFAULT_$LINE"
3688 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3692 eval "$ac_cv_use_debug_flag"
3693 if test "$no_cache" != 1; then
3694 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3697 if test "$wxUSE_DEBUG_FLAG" = yes; then
3698 echo "$as_me:$LINENO: result: yes" >&5
3699 echo "${ECHO_T}yes" >&6
3701 echo "$as_me:$LINENO: result: no" >&5
3702 echo "${ECHO_T}no" >&6
3707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3708 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3710 # Check whether --enable-debug_info or --disable-debug_info was given.
3711 if test "${enable_debug_info+set}" = set; then
3712 enableval
="$enable_debug_info"
3714 if test "$enableval" = yes; then
3715 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3717 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3722 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3723 if test "x$LINE" != x
; then
3724 eval "DEFAULT_$LINE"
3729 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3733 eval "$ac_cv_use_debug_info"
3734 if test "$no_cache" != 1; then
3735 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3738 if test "$wxUSE_DEBUG_INFO" = yes; then
3739 echo "$as_me:$LINENO: result: yes" >&5
3740 echo "${ECHO_T}yes" >&6
3742 echo "$as_me:$LINENO: result: no" >&5
3743 echo "${ECHO_T}no" >&6
3748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3749 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3751 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3752 if test "${enable_debug_gdb+set}" = set; then
3753 enableval
="$enable_debug_gdb"
3755 if test "$enableval" = yes; then
3756 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3758 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3763 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3764 if test "x$LINE" != x
; then
3765 eval "DEFAULT_$LINE"
3770 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3774 eval "$ac_cv_use_debug_gdb"
3775 if test "$no_cache" != 1; then
3776 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3779 if test "$wxUSE_DEBUG_GDB" = yes; then
3780 echo "$as_me:$LINENO: result: yes" >&5
3781 echo "${ECHO_T}yes" >&6
3783 echo "$as_me:$LINENO: result: no" >&5
3784 echo "${ECHO_T}no" >&6
3789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3790 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3792 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3793 if test "${enable_debug_cntxt+set}" = set; then
3794 enableval
="$enable_debug_cntxt"
3796 if test "$enableval" = yes; then
3797 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3799 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3804 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3805 if test "x$LINE" != x
; then
3806 eval "DEFAULT_$LINE"
3811 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3815 eval "$ac_cv_use_debug_cntxt"
3816 if test "$no_cache" != 1; then
3817 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3820 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3821 echo "$as_me:$LINENO: result: yes" >&5
3822 echo "${ECHO_T}yes" >&6
3824 echo "$as_me:$LINENO: result: no" >&5
3825 echo "${ECHO_T}no" >&6
3830 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3831 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3833 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3834 if test "${enable_mem_tracing+set}" = set; then
3835 enableval
="$enable_mem_tracing"
3837 if test "$enableval" = yes; then
3838 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3840 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3845 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3846 if test "x$LINE" != x
; then
3847 eval "DEFAULT_$LINE"
3852 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3856 eval "$ac_cv_use_mem_tracing"
3857 if test "$no_cache" != 1; then
3858 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3861 if test "$wxUSE_MEM_TRACING" = yes; then
3862 echo "$as_me:$LINENO: result: yes" >&5
3863 echo "${ECHO_T}yes" >&6
3865 echo "$as_me:$LINENO: result: no" >&5
3866 echo "${ECHO_T}no" >&6
3871 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3872 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3874 # Check whether --enable-profile or --disable-profile was given.
3875 if test "${enable_profile+set}" = set; then
3876 enableval
="$enable_profile"
3878 if test "$enableval" = yes; then
3879 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3881 ac_cv_use_profile
='wxUSE_PROFILE=no'
3886 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3887 if test "x$LINE" != x
; then
3888 eval "DEFAULT_$LINE"
3893 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3897 eval "$ac_cv_use_profile"
3898 if test "$no_cache" != 1; then
3899 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3902 if test "$wxUSE_PROFILE" = yes; then
3903 echo "$as_me:$LINENO: result: yes" >&5
3904 echo "${ECHO_T}yes" >&6
3906 echo "$as_me:$LINENO: result: no" >&5
3907 echo "${ECHO_T}no" >&6
3912 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3913 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3915 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3916 if test "${enable_no_rtti+set}" = set; then
3917 enableval
="$enable_no_rtti"
3919 if test "$enableval" = yes; then
3920 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3922 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3927 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3928 if test "x$LINE" != x
; then
3929 eval "DEFAULT_$LINE"
3934 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3938 eval "$ac_cv_use_no_rtti"
3939 if test "$no_cache" != 1; then
3940 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3943 if test "$wxUSE_NO_RTTI" = yes; then
3944 echo "$as_me:$LINENO: result: yes" >&5
3945 echo "${ECHO_T}yes" >&6
3947 echo "$as_me:$LINENO: result: no" >&5
3948 echo "${ECHO_T}no" >&6
3953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3954 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3956 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3957 if test "${enable_no_exceptions+set}" = set; then
3958 enableval
="$enable_no_exceptions"
3960 if test "$enableval" = yes; then
3961 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3963 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3968 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3969 if test "x$LINE" != x
; then
3970 eval "DEFAULT_$LINE"
3975 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3979 eval "$ac_cv_use_no_exceptions"
3980 if test "$no_cache" != 1; then
3981 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3984 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3985 echo "$as_me:$LINENO: result: yes" >&5
3986 echo "${ECHO_T}yes" >&6
3988 echo "$as_me:$LINENO: result: no" >&5
3989 echo "${ECHO_T}no" >&6
3994 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3995 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3997 # Check whether --enable-permissive or --disable-permissive was given.
3998 if test "${enable_permissive+set}" = set; then
3999 enableval
="$enable_permissive"
4001 if test "$enableval" = yes; then
4002 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4004 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4009 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4010 if test "x$LINE" != x
; then
4011 eval "DEFAULT_$LINE"
4016 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4020 eval "$ac_cv_use_permissive"
4021 if test "$no_cache" != 1; then
4022 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4025 if test "$wxUSE_PERMISSIVE" = yes; then
4026 echo "$as_me:$LINENO: result: yes" >&5
4027 echo "${ECHO_T}yes" >&6
4029 echo "$as_me:$LINENO: result: no" >&5
4030 echo "${ECHO_T}no" >&6
4035 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4036 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4038 # Check whether --enable-no_deps or --disable-no_deps was given.
4039 if test "${enable_no_deps+set}" = set; then
4040 enableval
="$enable_no_deps"
4042 if test "$enableval" = yes; then
4043 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4045 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4050 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4051 if test "x$LINE" != x
; then
4052 eval "DEFAULT_$LINE"
4057 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4061 eval "$ac_cv_use_no_deps"
4062 if test "$no_cache" != 1; then
4063 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4066 if test "$wxUSE_NO_DEPS" = yes; then
4067 echo "$as_me:$LINENO: result: yes" >&5
4068 echo "${ECHO_T}yes" >&6
4070 echo "$as_me:$LINENO: result: no" >&5
4071 echo "${ECHO_T}no" >&6
4077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4078 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4080 # Check whether --enable-compat22 or --disable-compat22 was given.
4081 if test "${enable_compat22+set}" = set; then
4082 enableval
="$enable_compat22"
4084 if test "$enableval" = yes; then
4085 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4087 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4092 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4093 if test "x$LINE" != x
; then
4094 eval "DEFAULT_$LINE"
4099 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4103 eval "$ac_cv_use_compat22"
4104 if test "$no_cache" != 1; then
4105 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4108 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4109 echo "$as_me:$LINENO: result: yes" >&5
4110 echo "${ECHO_T}yes" >&6
4112 echo "$as_me:$LINENO: result: no" >&5
4113 echo "${ECHO_T}no" >&6
4117 enablestring
=disable
4118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4119 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4121 # Check whether --enable-compat24 or --disable-compat24 was given.
4122 if test "${enable_compat24+set}" = set; then
4123 enableval
="$enable_compat24"
4125 if test "$enableval" = yes; then
4126 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4128 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4133 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4134 if test "x$LINE" != x
; then
4135 eval "DEFAULT_$LINE"
4140 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4144 eval "$ac_cv_use_compat24"
4145 if test "$no_cache" != 1; then
4146 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4149 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4150 echo "$as_me:$LINENO: result: yes" >&5
4151 echo "${ECHO_T}yes" >&6
4153 echo "$as_me:$LINENO: result: no" >&5
4154 echo "${ECHO_T}no" >&6
4160 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4161 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4163 # Check whether --enable-rpath or --disable-rpath was given.
4164 if test "${enable_rpath+set}" = set; then
4165 enableval
="$enable_rpath"
4167 if test "$enableval" = yes; then
4168 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4170 ac_cv_use_rpath
='wxUSE_RPATH=no'
4175 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4176 if test "x$LINE" != x
; then
4177 eval "DEFAULT_$LINE"
4182 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4186 eval "$ac_cv_use_rpath"
4187 if test "$no_cache" != 1; then
4188 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4191 if test "$wxUSE_RPATH" = yes; then
4192 echo "$as_me:$LINENO: result: yes" >&5
4193 echo "${ECHO_T}yes" >&6
4195 echo "$as_me:$LINENO: result: no" >&5
4196 echo "${ECHO_T}no" >&6
4204 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4205 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4207 # Check whether --enable-intl or --disable-intl was given.
4208 if test "${enable_intl+set}" = set; then
4209 enableval
="$enable_intl"
4211 if test "$enableval" = yes; then
4212 ac_cv_use_intl
='wxUSE_INTL=yes'
4214 ac_cv_use_intl
='wxUSE_INTL=no'
4219 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4220 if test "x$LINE" != x
; then
4221 eval "DEFAULT_$LINE"
4226 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4230 eval "$ac_cv_use_intl"
4231 if test "$no_cache" != 1; then
4232 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4235 if test "$wxUSE_INTL" = yes; then
4236 echo "$as_me:$LINENO: result: yes" >&5
4237 echo "${ECHO_T}yes" >&6
4239 echo "$as_me:$LINENO: result: no" >&5
4240 echo "${ECHO_T}no" >&6
4245 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4246 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4248 # Check whether --enable-config or --disable-config was given.
4249 if test "${enable_config+set}" = set; then
4250 enableval
="$enable_config"
4252 if test "$enableval" = yes; then
4253 ac_cv_use_config
='wxUSE_CONFIG=yes'
4255 ac_cv_use_config
='wxUSE_CONFIG=no'
4260 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4261 if test "x$LINE" != x
; then
4262 eval "DEFAULT_$LINE"
4267 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4271 eval "$ac_cv_use_config"
4272 if test "$no_cache" != 1; then
4273 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4276 if test "$wxUSE_CONFIG" = yes; then
4277 echo "$as_me:$LINENO: result: yes" >&5
4278 echo "${ECHO_T}yes" >&6
4280 echo "$as_me:$LINENO: result: no" >&5
4281 echo "${ECHO_T}no" >&6
4287 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4288 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4290 # Check whether --enable-protocols or --disable-protocols was given.
4291 if test "${enable_protocols+set}" = set; then
4292 enableval
="$enable_protocols"
4294 if test "$enableval" = yes; then
4295 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4297 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4302 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4303 if test "x$LINE" != x
; then
4304 eval "DEFAULT_$LINE"
4309 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4313 eval "$ac_cv_use_protocols"
4314 if test "$no_cache" != 1; then
4315 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4318 if test "$wxUSE_PROTOCOL" = yes; then
4319 echo "$as_me:$LINENO: result: yes" >&5
4320 echo "${ECHO_T}yes" >&6
4322 echo "$as_me:$LINENO: result: no" >&5
4323 echo "${ECHO_T}no" >&6
4328 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4329 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4331 # Check whether --enable-ftp or --disable-ftp was given.
4332 if test "${enable_ftp+set}" = set; then
4333 enableval
="$enable_ftp"
4335 if test "$enableval" = yes; then
4336 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4338 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4343 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4344 if test "x$LINE" != x
; then
4345 eval "DEFAULT_$LINE"
4350 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4354 eval "$ac_cv_use_ftp"
4355 if test "$no_cache" != 1; then
4356 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4359 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4360 echo "$as_me:$LINENO: result: yes" >&5
4361 echo "${ECHO_T}yes" >&6
4363 echo "$as_me:$LINENO: result: no" >&5
4364 echo "${ECHO_T}no" >&6
4369 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4370 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4372 # Check whether --enable-http or --disable-http was given.
4373 if test "${enable_http+set}" = set; then
4374 enableval
="$enable_http"
4376 if test "$enableval" = yes; then
4377 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4379 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4384 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4385 if test "x$LINE" != x
; then
4386 eval "DEFAULT_$LINE"
4391 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4395 eval "$ac_cv_use_http"
4396 if test "$no_cache" != 1; then
4397 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4400 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4401 echo "$as_me:$LINENO: result: yes" >&5
4402 echo "${ECHO_T}yes" >&6
4404 echo "$as_me:$LINENO: result: no" >&5
4405 echo "${ECHO_T}no" >&6
4410 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4411 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4413 # Check whether --enable-fileproto or --disable-fileproto was given.
4414 if test "${enable_fileproto+set}" = set; then
4415 enableval
="$enable_fileproto"
4417 if test "$enableval" = yes; then
4418 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4420 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4425 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4426 if test "x$LINE" != x
; then
4427 eval "DEFAULT_$LINE"
4432 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4436 eval "$ac_cv_use_fileproto"
4437 if test "$no_cache" != 1; then
4438 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4441 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4442 echo "$as_me:$LINENO: result: yes" >&5
4443 echo "${ECHO_T}yes" >&6
4445 echo "$as_me:$LINENO: result: no" >&5
4446 echo "${ECHO_T}no" >&6
4451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4452 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4454 # Check whether --enable-sockets or --disable-sockets was given.
4455 if test "${enable_sockets+set}" = set; then
4456 enableval
="$enable_sockets"
4458 if test "$enableval" = yes; then
4459 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4461 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4466 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4467 if test "x$LINE" != x
; then
4468 eval "DEFAULT_$LINE"
4473 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4477 eval "$ac_cv_use_sockets"
4478 if test "$no_cache" != 1; then
4479 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4482 if test "$wxUSE_SOCKETS" = yes; then
4483 echo "$as_me:$LINENO: result: yes" >&5
4484 echo "${ECHO_T}yes" >&6
4486 echo "$as_me:$LINENO: result: no" >&5
4487 echo "${ECHO_T}no" >&6
4492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4493 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4495 # Check whether --enable-ole or --disable-ole was given.
4496 if test "${enable_ole+set}" = set; then
4497 enableval
="$enable_ole"
4499 if test "$enableval" = yes; then
4500 ac_cv_use_ole
='wxUSE_OLE=yes'
4502 ac_cv_use_ole
='wxUSE_OLE=no'
4507 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4508 if test "x$LINE" != x
; then
4509 eval "DEFAULT_$LINE"
4514 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4518 eval "$ac_cv_use_ole"
4519 if test "$no_cache" != 1; then
4520 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4523 if test "$wxUSE_OLE" = yes; then
4524 echo "$as_me:$LINENO: result: yes" >&5
4525 echo "${ECHO_T}yes" >&6
4527 echo "$as_me:$LINENO: result: no" >&5
4528 echo "${ECHO_T}no" >&6
4533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4534 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4536 # Check whether --enable-dataobj or --disable-dataobj was given.
4537 if test "${enable_dataobj+set}" = set; then
4538 enableval
="$enable_dataobj"
4540 if test "$enableval" = yes; then
4541 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4543 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4548 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4549 if test "x$LINE" != x
; then
4550 eval "DEFAULT_$LINE"
4555 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4559 eval "$ac_cv_use_dataobj"
4560 if test "$no_cache" != 1; then
4561 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4564 if test "$wxUSE_DATAOBJ" = yes; then
4565 echo "$as_me:$LINENO: result: yes" >&5
4566 echo "${ECHO_T}yes" >&6
4568 echo "$as_me:$LINENO: result: no" >&5
4569 echo "${ECHO_T}no" >&6
4575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4576 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4578 # Check whether --enable-ipc or --disable-ipc was given.
4579 if test "${enable_ipc+set}" = set; then
4580 enableval
="$enable_ipc"
4582 if test "$enableval" = yes; then
4583 ac_cv_use_ipc
='wxUSE_IPC=yes'
4585 ac_cv_use_ipc
='wxUSE_IPC=no'
4590 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4591 if test "x$LINE" != x
; then
4592 eval "DEFAULT_$LINE"
4597 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4601 eval "$ac_cv_use_ipc"
4602 if test "$no_cache" != 1; then
4603 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4606 if test "$wxUSE_IPC" = yes; then
4607 echo "$as_me:$LINENO: result: yes" >&5
4608 echo "${ECHO_T}yes" >&6
4610 echo "$as_me:$LINENO: result: no" >&5
4611 echo "${ECHO_T}no" >&6
4617 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4618 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4620 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4621 if test "${enable_apple_ieee+set}" = set; then
4622 enableval
="$enable_apple_ieee"
4624 if test "$enableval" = yes; then
4625 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4627 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4632 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4633 if test "x$LINE" != x
; then
4634 eval "DEFAULT_$LINE"
4639 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4643 eval "$ac_cv_use_apple_ieee"
4644 if test "$no_cache" != 1; then
4645 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4648 if test "$wxUSE_APPLE_IEEE" = yes; then
4649 echo "$as_me:$LINENO: result: yes" >&5
4650 echo "${ECHO_T}yes" >&6
4652 echo "$as_me:$LINENO: result: no" >&5
4653 echo "${ECHO_T}no" >&6
4658 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4659 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4661 # Check whether --enable-arcstream or --disable-arcstream was given.
4662 if test "${enable_arcstream+set}" = set; then
4663 enableval
="$enable_arcstream"
4665 if test "$enableval" = yes; then
4666 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
4668 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
4673 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4674 if test "x$LINE" != x
; then
4675 eval "DEFAULT_$LINE"
4680 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4684 eval "$ac_cv_use_arcstream"
4685 if test "$no_cache" != 1; then
4686 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4689 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4690 echo "$as_me:$LINENO: result: yes" >&5
4691 echo "${ECHO_T}yes" >&6
4693 echo "$as_me:$LINENO: result: no" >&5
4694 echo "${ECHO_T}no" >&6
4699 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4700 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4702 # Check whether --enable-backtrace or --disable-backtrace was given.
4703 if test "${enable_backtrace+set}" = set; then
4704 enableval
="$enable_backtrace"
4706 if test "$enableval" = yes; then
4707 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
4709 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
4714 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4715 if test "x$LINE" != x
; then
4716 eval "DEFAULT_$LINE"
4721 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4725 eval "$ac_cv_use_backtrace"
4726 if test "$no_cache" != 1; then
4727 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4730 if test "$wxUSE_STACKWALKER" = yes; then
4731 echo "$as_me:$LINENO: result: yes" >&5
4732 echo "${ECHO_T}yes" >&6
4734 echo "$as_me:$LINENO: result: no" >&5
4735 echo "${ECHO_T}no" >&6
4740 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4741 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4743 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4744 if test "${enable_catch_segvs+set}" = set; then
4745 enableval
="$enable_catch_segvs"
4747 if test "$enableval" = yes; then
4748 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4750 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4755 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4756 if test "x$LINE" != x
; then
4757 eval "DEFAULT_$LINE"
4762 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4766 eval "$ac_cv_use_catch_segvs"
4767 if test "$no_cache" != 1; then
4768 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4771 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4772 echo "$as_me:$LINENO: result: yes" >&5
4773 echo "${ECHO_T}yes" >&6
4775 echo "$as_me:$LINENO: result: no" >&5
4776 echo "${ECHO_T}no" >&6
4781 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4782 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4784 # Check whether --enable-cmdline or --disable-cmdline was given.
4785 if test "${enable_cmdline+set}" = set; then
4786 enableval
="$enable_cmdline"
4788 if test "$enableval" = yes; then
4789 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4791 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4796 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4797 if test "x$LINE" != x
; then
4798 eval "DEFAULT_$LINE"
4803 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4807 eval "$ac_cv_use_cmdline"
4808 if test "$no_cache" != 1; then
4809 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4812 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4813 echo "$as_me:$LINENO: result: yes" >&5
4814 echo "${ECHO_T}yes" >&6
4816 echo "$as_me:$LINENO: result: no" >&5
4817 echo "${ECHO_T}no" >&6
4822 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4823 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4825 # Check whether --enable-datetime or --disable-datetime was given.
4826 if test "${enable_datetime+set}" = set; then
4827 enableval
="$enable_datetime"
4829 if test "$enableval" = yes; then
4830 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4832 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4837 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4838 if test "x$LINE" != x
; then
4839 eval "DEFAULT_$LINE"
4844 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4848 eval "$ac_cv_use_datetime"
4849 if test "$no_cache" != 1; then
4850 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4853 if test "$wxUSE_DATETIME" = yes; then
4854 echo "$as_me:$LINENO: result: yes" >&5
4855 echo "${ECHO_T}yes" >&6
4857 echo "$as_me:$LINENO: result: no" >&5
4858 echo "${ECHO_T}no" >&6
4863 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4864 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4866 # Check whether --enable-debugreport or --disable-debugreport was given.
4867 if test "${enable_debugreport+set}" = set; then
4868 enableval
="$enable_debugreport"
4870 if test "$enableval" = yes; then
4871 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
4873 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
4878 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4879 if test "x$LINE" != x
; then
4880 eval "DEFAULT_$LINE"
4885 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
4889 eval "$ac_cv_use_debugreport"
4890 if test "$no_cache" != 1; then
4891 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4894 if test "$wxUSE_DEBUGREPORT" = yes; then
4895 echo "$as_me:$LINENO: result: yes" >&5
4896 echo "${ECHO_T}yes" >&6
4898 echo "$as_me:$LINENO: result: no" >&5
4899 echo "${ECHO_T}no" >&6
4904 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4905 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4907 # Check whether --enable-dialupman or --disable-dialupman was given.
4908 if test "${enable_dialupman+set}" = set; then
4909 enableval
="$enable_dialupman"
4911 if test "$enableval" = yes; then
4912 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4914 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4919 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4920 if test "x$LINE" != x
; then
4921 eval "DEFAULT_$LINE"
4926 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4930 eval "$ac_cv_use_dialupman"
4931 if test "$no_cache" != 1; then
4932 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4935 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4936 echo "$as_me:$LINENO: result: yes" >&5
4937 echo "${ECHO_T}yes" >&6
4939 echo "$as_me:$LINENO: result: no" >&5
4940 echo "${ECHO_T}no" >&6
4945 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4946 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4948 # Check whether --enable-dynlib or --disable-dynlib was given.
4949 if test "${enable_dynlib+set}" = set; then
4950 enableval
="$enable_dynlib"
4952 if test "$enableval" = yes; then
4953 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4955 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4960 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4961 if test "x$LINE" != x
; then
4962 eval "DEFAULT_$LINE"
4967 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4971 eval "$ac_cv_use_dynlib"
4972 if test "$no_cache" != 1; then
4973 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4976 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4977 echo "$as_me:$LINENO: result: yes" >&5
4978 echo "${ECHO_T}yes" >&6
4980 echo "$as_me:$LINENO: result: no" >&5
4981 echo "${ECHO_T}no" >&6
4986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4987 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4989 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4990 if test "${enable_dynamicloader+set}" = set; then
4991 enableval
="$enable_dynamicloader"
4993 if test "$enableval" = yes; then
4994 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4996 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5001 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5002 if test "x$LINE" != x
; then
5003 eval "DEFAULT_$LINE"
5008 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5012 eval "$ac_cv_use_dynamicloader"
5013 if test "$no_cache" != 1; then
5014 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5017 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5018 echo "$as_me:$LINENO: result: yes" >&5
5019 echo "${ECHO_T}yes" >&6
5021 echo "$as_me:$LINENO: result: no" >&5
5022 echo "${ECHO_T}no" >&6
5027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5028 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5030 # Check whether --enable-exceptions or --disable-exceptions was given.
5031 if test "${enable_exceptions+set}" = set; then
5032 enableval
="$enable_exceptions"
5034 if test "$enableval" = yes; then
5035 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5037 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5042 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5043 if test "x$LINE" != x
; then
5044 eval "DEFAULT_$LINE"
5049 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5053 eval "$ac_cv_use_exceptions"
5054 if test "$no_cache" != 1; then
5055 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5058 if test "$wxUSE_EXCEPTIONS" = yes; then
5059 echo "$as_me:$LINENO: result: yes" >&5
5060 echo "${ECHO_T}yes" >&6
5062 echo "$as_me:$LINENO: result: no" >&5
5063 echo "${ECHO_T}no" >&6
5068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5069 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5071 # Check whether --enable-ffile or --disable-ffile was given.
5072 if test "${enable_ffile+set}" = set; then
5073 enableval
="$enable_ffile"
5075 if test "$enableval" = yes; then
5076 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5078 ac_cv_use_ffile
='wxUSE_FFILE=no'
5083 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5084 if test "x$LINE" != x
; then
5085 eval "DEFAULT_$LINE"
5090 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5094 eval "$ac_cv_use_ffile"
5095 if test "$no_cache" != 1; then
5096 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5099 if test "$wxUSE_FFILE" = yes; then
5100 echo "$as_me:$LINENO: result: yes" >&5
5101 echo "${ECHO_T}yes" >&6
5103 echo "$as_me:$LINENO: result: no" >&5
5104 echo "${ECHO_T}no" >&6
5109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5110 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5112 # Check whether --enable-file or --disable-file was given.
5113 if test "${enable_file+set}" = set; then
5114 enableval
="$enable_file"
5116 if test "$enableval" = yes; then
5117 ac_cv_use_file
='wxUSE_FILE=yes'
5119 ac_cv_use_file
='wxUSE_FILE=no'
5124 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5125 if test "x$LINE" != x
; then
5126 eval "DEFAULT_$LINE"
5131 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5135 eval "$ac_cv_use_file"
5136 if test "$no_cache" != 1; then
5137 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5140 if test "$wxUSE_FILE" = yes; then
5141 echo "$as_me:$LINENO: result: yes" >&5
5142 echo "${ECHO_T}yes" >&6
5144 echo "$as_me:$LINENO: result: no" >&5
5145 echo "${ECHO_T}no" >&6
5150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5151 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5153 # Check whether --enable-filesystem or --disable-filesystem was given.
5154 if test "${enable_filesystem+set}" = set; then
5155 enableval
="$enable_filesystem"
5157 if test "$enableval" = yes; then
5158 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5160 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5165 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5166 if test "x$LINE" != x
; then
5167 eval "DEFAULT_$LINE"
5172 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5176 eval "$ac_cv_use_filesystem"
5177 if test "$no_cache" != 1; then
5178 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5181 if test "$wxUSE_FILESYSTEM" = yes; then
5182 echo "$as_me:$LINENO: result: yes" >&5
5183 echo "${ECHO_T}yes" >&6
5185 echo "$as_me:$LINENO: result: no" >&5
5186 echo "${ECHO_T}no" >&6
5191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5192 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5194 # Check whether --enable-fontmap or --disable-fontmap was given.
5195 if test "${enable_fontmap+set}" = set; then
5196 enableval
="$enable_fontmap"
5198 if test "$enableval" = yes; then
5199 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5201 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5206 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5207 if test "x$LINE" != x
; then
5208 eval "DEFAULT_$LINE"
5213 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5217 eval "$ac_cv_use_fontmap"
5218 if test "$no_cache" != 1; then
5219 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5222 if test "$wxUSE_FONTMAP" = yes; then
5223 echo "$as_me:$LINENO: result: yes" >&5
5224 echo "${ECHO_T}yes" >&6
5226 echo "$as_me:$LINENO: result: no" >&5
5227 echo "${ECHO_T}no" >&6
5232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5233 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5235 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5236 if test "${enable_fs_inet+set}" = set; then
5237 enableval
="$enable_fs_inet"
5239 if test "$enableval" = yes; then
5240 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5242 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5247 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5248 if test "x$LINE" != x
; then
5249 eval "DEFAULT_$LINE"
5254 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5258 eval "$ac_cv_use_fs_inet"
5259 if test "$no_cache" != 1; then
5260 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5263 if test "$wxUSE_FS_INET" = yes; then
5264 echo "$as_me:$LINENO: result: yes" >&5
5265 echo "${ECHO_T}yes" >&6
5267 echo "$as_me:$LINENO: result: no" >&5
5268 echo "${ECHO_T}no" >&6
5273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5274 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5276 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5277 if test "${enable_fs_zip+set}" = set; then
5278 enableval
="$enable_fs_zip"
5280 if test "$enableval" = yes; then
5281 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5283 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5288 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5289 if test "x$LINE" != x
; then
5290 eval "DEFAULT_$LINE"
5295 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5299 eval "$ac_cv_use_fs_zip"
5300 if test "$no_cache" != 1; then
5301 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5304 if test "$wxUSE_FS_ZIP" = yes; then
5305 echo "$as_me:$LINENO: result: yes" >&5
5306 echo "${ECHO_T}yes" >&6
5308 echo "$as_me:$LINENO: result: no" >&5
5309 echo "${ECHO_T}no" >&6
5314 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5315 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5317 # Check whether --enable-geometry or --disable-geometry was given.
5318 if test "${enable_geometry+set}" = set; then
5319 enableval
="$enable_geometry"
5321 if test "$enableval" = yes; then
5322 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5324 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5329 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5330 if test "x$LINE" != x
; then
5331 eval "DEFAULT_$LINE"
5336 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5340 eval "$ac_cv_use_geometry"
5341 if test "$no_cache" != 1; then
5342 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5345 if test "$wxUSE_GEOMETRY" = yes; then
5346 echo "$as_me:$LINENO: result: yes" >&5
5347 echo "${ECHO_T}yes" >&6
5349 echo "$as_me:$LINENO: result: no" >&5
5350 echo "${ECHO_T}no" >&6
5355 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5356 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5358 # Check whether --enable-log or --disable-log was given.
5359 if test "${enable_log+set}" = set; then
5360 enableval
="$enable_log"
5362 if test "$enableval" = yes; then
5363 ac_cv_use_log
='wxUSE_LOG=yes'
5365 ac_cv_use_log
='wxUSE_LOG=no'
5370 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5371 if test "x$LINE" != x
; then
5372 eval "DEFAULT_$LINE"
5377 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5381 eval "$ac_cv_use_log"
5382 if test "$no_cache" != 1; then
5383 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5386 if test "$wxUSE_LOG" = yes; then
5387 echo "$as_me:$LINENO: result: yes" >&5
5388 echo "${ECHO_T}yes" >&6
5390 echo "$as_me:$LINENO: result: no" >&5
5391 echo "${ECHO_T}no" >&6
5396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5397 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5399 # Check whether --enable-longlong or --disable-longlong was given.
5400 if test "${enable_longlong+set}" = set; then
5401 enableval
="$enable_longlong"
5403 if test "$enableval" = yes; then
5404 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5406 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5411 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5412 if test "x$LINE" != x
; then
5413 eval "DEFAULT_$LINE"
5418 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5422 eval "$ac_cv_use_longlong"
5423 if test "$no_cache" != 1; then
5424 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5427 if test "$wxUSE_LONGLONG" = yes; then
5428 echo "$as_me:$LINENO: result: yes" >&5
5429 echo "${ECHO_T}yes" >&6
5431 echo "$as_me:$LINENO: result: no" >&5
5432 echo "${ECHO_T}no" >&6
5437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5438 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5440 # Check whether --enable-mimetype or --disable-mimetype was given.
5441 if test "${enable_mimetype+set}" = set; then
5442 enableval
="$enable_mimetype"
5444 if test "$enableval" = yes; then
5445 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5447 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5452 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5453 if test "x$LINE" != x
; then
5454 eval "DEFAULT_$LINE"
5459 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5463 eval "$ac_cv_use_mimetype"
5464 if test "$no_cache" != 1; then
5465 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5468 if test "$wxUSE_MIMETYPE" = yes; then
5469 echo "$as_me:$LINENO: result: yes" >&5
5470 echo "${ECHO_T}yes" >&6
5472 echo "$as_me:$LINENO: result: no" >&5
5473 echo "${ECHO_T}no" >&6
5478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5479 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5481 # Check whether --enable-mslu or --disable-mslu was given.
5482 if test "${enable_mslu+set}" = set; then
5483 enableval
="$enable_mslu"
5485 if test "$enableval" = yes; then
5486 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5488 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5493 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5494 if test "x$LINE" != x
; then
5495 eval "DEFAULT_$LINE"
5500 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5504 eval "$ac_cv_use_mslu"
5505 if test "$no_cache" != 1; then
5506 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5509 if test "$wxUSE_UNICODE_MSLU" = yes; then
5510 echo "$as_me:$LINENO: result: yes" >&5
5511 echo "${ECHO_T}yes" >&6
5513 echo "$as_me:$LINENO: result: no" >&5
5514 echo "${ECHO_T}no" >&6
5519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5520 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5522 # Check whether --enable-snglinst or --disable-snglinst was given.
5523 if test "${enable_snglinst+set}" = set; then
5524 enableval
="$enable_snglinst"
5526 if test "$enableval" = yes; then
5527 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5529 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5534 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5535 if test "x$LINE" != x
; then
5536 eval "DEFAULT_$LINE"
5541 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5545 eval "$ac_cv_use_snglinst"
5546 if test "$no_cache" != 1; then
5547 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5550 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5551 echo "$as_me:$LINENO: result: yes" >&5
5552 echo "${ECHO_T}yes" >&6
5554 echo "$as_me:$LINENO: result: no" >&5
5555 echo "${ECHO_T}no" >&6
5560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5561 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5563 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5564 if test "${enable_std_iostreams+set}" = set; then
5565 enableval
="$enable_std_iostreams"
5567 if test "$enableval" = yes; then
5568 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5570 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5575 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5576 if test "x$LINE" != x
; then
5577 eval "DEFAULT_$LINE"
5582 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5586 eval "$ac_cv_use_std_iostreams"
5587 if test "$no_cache" != 1; then
5588 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5591 if test "$wxUSE_STD_IOSTREAM" = yes; then
5592 echo "$as_me:$LINENO: result: yes" >&5
5593 echo "${ECHO_T}yes" >&6
5595 echo "$as_me:$LINENO: result: no" >&5
5596 echo "${ECHO_T}no" >&6
5601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5602 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5604 # Check whether --enable-std_string or --disable-std_string was given.
5605 if test "${enable_std_string+set}" = set; then
5606 enableval
="$enable_std_string"
5608 if test "$enableval" = yes; then
5609 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
5611 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
5616 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5617 if test "x$LINE" != x
; then
5618 eval "DEFAULT_$LINE"
5623 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5627 eval "$ac_cv_use_std_string"
5628 if test "$no_cache" != 1; then
5629 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5632 if test "$wxUSE_STD_STRING" = yes; then
5633 echo "$as_me:$LINENO: result: yes" >&5
5634 echo "${ECHO_T}yes" >&6
5636 echo "$as_me:$LINENO: result: no" >&5
5637 echo "${ECHO_T}no" >&6
5642 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5643 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5645 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5646 if test "${enable_stdpaths+set}" = set; then
5647 enableval
="$enable_stdpaths"
5649 if test "$enableval" = yes; then
5650 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
5652 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
5657 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5658 if test "x$LINE" != x
; then
5659 eval "DEFAULT_$LINE"
5664 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5668 eval "$ac_cv_use_stdpaths"
5669 if test "$no_cache" != 1; then
5670 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5673 if test "$wxUSE_STDPATHS" = yes; then
5674 echo "$as_me:$LINENO: result: yes" >&5
5675 echo "${ECHO_T}yes" >&6
5677 echo "$as_me:$LINENO: result: no" >&5
5678 echo "${ECHO_T}no" >&6
5683 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5684 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5686 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5687 if test "${enable_stopwatch+set}" = set; then
5688 enableval
="$enable_stopwatch"
5690 if test "$enableval" = yes; then
5691 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5693 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5698 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5699 if test "x$LINE" != x
; then
5700 eval "DEFAULT_$LINE"
5705 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5709 eval "$ac_cv_use_stopwatch"
5710 if test "$no_cache" != 1; then
5711 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5714 if test "$wxUSE_STOPWATCH" = yes; then
5715 echo "$as_me:$LINENO: result: yes" >&5
5716 echo "${ECHO_T}yes" >&6
5718 echo "$as_me:$LINENO: result: no" >&5
5719 echo "${ECHO_T}no" >&6
5724 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5725 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5727 # Check whether --enable-streams or --disable-streams was given.
5728 if test "${enable_streams+set}" = set; then
5729 enableval
="$enable_streams"
5731 if test "$enableval" = yes; then
5732 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5734 ac_cv_use_streams
='wxUSE_STREAMS=no'
5739 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5740 if test "x$LINE" != x
; then
5741 eval "DEFAULT_$LINE"
5746 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5750 eval "$ac_cv_use_streams"
5751 if test "$no_cache" != 1; then
5752 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5755 if test "$wxUSE_STREAMS" = yes; then
5756 echo "$as_me:$LINENO: result: yes" >&5
5757 echo "${ECHO_T}yes" >&6
5759 echo "$as_me:$LINENO: result: no" >&5
5760 echo "${ECHO_T}no" >&6
5765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5766 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5768 # Check whether --enable-system_options or --disable-system_options was given.
5769 if test "${enable_system_options+set}" = set; then
5770 enableval
="$enable_system_options"
5772 if test "$enableval" = yes; then
5773 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5775 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5780 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5781 if test "x$LINE" != x
; then
5782 eval "DEFAULT_$LINE"
5787 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5791 eval "$ac_cv_use_system_options"
5792 if test "$no_cache" != 1; then
5793 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5796 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5797 echo "$as_me:$LINENO: result: yes" >&5
5798 echo "${ECHO_T}yes" >&6
5800 echo "$as_me:$LINENO: result: no" >&5
5801 echo "${ECHO_T}no" >&6
5806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5807 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5809 # Check whether --enable-textbuf or --disable-textbuf was given.
5810 if test "${enable_textbuf+set}" = set; then
5811 enableval
="$enable_textbuf"
5813 if test "$enableval" = yes; then
5814 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5816 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5821 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5822 if test "x$LINE" != x
; then
5823 eval "DEFAULT_$LINE"
5828 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5832 eval "$ac_cv_use_textbuf"
5833 if test "$no_cache" != 1; then
5834 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5837 if test "$wxUSE_TEXTBUFFER" = yes; then
5838 echo "$as_me:$LINENO: result: yes" >&5
5839 echo "${ECHO_T}yes" >&6
5841 echo "$as_me:$LINENO: result: no" >&5
5842 echo "${ECHO_T}no" >&6
5847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5848 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5850 # Check whether --enable-textfile or --disable-textfile was given.
5851 if test "${enable_textfile+set}" = set; then
5852 enableval
="$enable_textfile"
5854 if test "$enableval" = yes; then
5855 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5857 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5862 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5863 if test "x$LINE" != x
; then
5864 eval "DEFAULT_$LINE"
5869 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5873 eval "$ac_cv_use_textfile"
5874 if test "$no_cache" != 1; then
5875 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5878 if test "$wxUSE_TEXTFILE" = yes; then
5879 echo "$as_me:$LINENO: result: yes" >&5
5880 echo "${ECHO_T}yes" >&6
5882 echo "$as_me:$LINENO: result: no" >&5
5883 echo "${ECHO_T}no" >&6
5888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5889 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5891 # Check whether --enable-timer or --disable-timer was given.
5892 if test "${enable_timer+set}" = set; then
5893 enableval
="$enable_timer"
5895 if test "$enableval" = yes; then
5896 ac_cv_use_timer
='wxUSE_TIMER=yes'
5898 ac_cv_use_timer
='wxUSE_TIMER=no'
5903 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5904 if test "x$LINE" != x
; then
5905 eval "DEFAULT_$LINE"
5910 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5914 eval "$ac_cv_use_timer"
5915 if test "$no_cache" != 1; then
5916 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5919 if test "$wxUSE_TIMER" = yes; then
5920 echo "$as_me:$LINENO: result: yes" >&5
5921 echo "${ECHO_T}yes" >&6
5923 echo "$as_me:$LINENO: result: no" >&5
5924 echo "${ECHO_T}no" >&6
5929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5930 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5932 # Check whether --enable-unicode or --disable-unicode was given.
5933 if test "${enable_unicode+set}" = set; then
5934 enableval
="$enable_unicode"
5936 if test "$enableval" = yes; then
5937 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5939 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5944 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5945 if test "x$LINE" != x
; then
5946 eval "DEFAULT_$LINE"
5951 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5955 eval "$ac_cv_use_unicode"
5956 if test "$no_cache" != 1; then
5957 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5960 if test "$wxUSE_UNICODE" = yes; then
5961 echo "$as_me:$LINENO: result: yes" >&5
5962 echo "${ECHO_T}yes" >&6
5964 echo "$as_me:$LINENO: result: no" >&5
5965 echo "${ECHO_T}no" >&6
5970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5971 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5973 # Check whether --enable-sound or --disable-sound was given.
5974 if test "${enable_sound+set}" = set; then
5975 enableval
="$enable_sound"
5977 if test "$enableval" = yes; then
5978 ac_cv_use_sound
='wxUSE_SOUND=yes'
5980 ac_cv_use_sound
='wxUSE_SOUND=no'
5985 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5986 if test "x$LINE" != x
; then
5987 eval "DEFAULT_$LINE"
5992 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5996 eval "$ac_cv_use_sound"
5997 if test "$no_cache" != 1; then
5998 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6001 if test "$wxUSE_SOUND" = yes; then
6002 echo "$as_me:$LINENO: result: yes" >&5
6003 echo "${ECHO_T}yes" >&6
6005 echo "$as_me:$LINENO: result: no" >&5
6006 echo "${ECHO_T}no" >&6
6011 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6012 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6014 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6015 if test "${enable_mediactrl+set}" = set; then
6016 enableval
="$enable_mediactrl"
6018 if test "$enableval" = yes; then
6019 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6021 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6026 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6027 if test "x$LINE" != x
; then
6028 eval "DEFAULT_$LINE"
6033 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6037 eval "$ac_cv_use_mediactrl"
6038 if test "$no_cache" != 1; then
6039 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6042 if test "$wxUSE_MEDIACTRL" = yes; then
6043 echo "$as_me:$LINENO: result: yes" >&5
6044 echo "${ECHO_T}yes" >&6
6046 echo "$as_me:$LINENO: result: no" >&5
6047 echo "${ECHO_T}no" >&6
6052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6053 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6055 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6056 if test "${enable_wxprintfv+set}" = set; then
6057 enableval
="$enable_wxprintfv"
6059 if test "$enableval" = yes; then
6060 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
6062 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
6067 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6068 if test "x$LINE" != x
; then
6069 eval "DEFAULT_$LINE"
6074 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6078 eval "$ac_cv_use_wxprintfv"
6079 if test "$no_cache" != 1; then
6080 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6083 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6084 echo "$as_me:$LINENO: result: yes" >&5
6085 echo "${ECHO_T}yes" >&6
6087 echo "$as_me:$LINENO: result: no" >&5
6088 echo "${ECHO_T}no" >&6
6093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6094 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6096 # Check whether --enable-zipstream or --disable-zipstream was given.
6097 if test "${enable_zipstream+set}" = set; then
6098 enableval
="$enable_zipstream"
6100 if test "$enableval" = yes; then
6101 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6103 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6108 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6109 if test "x$LINE" != x
; then
6110 eval "DEFAULT_$LINE"
6115 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6119 eval "$ac_cv_use_zipstream"
6120 if test "$no_cache" != 1; then
6121 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6124 if test "$wxUSE_ZIPSTREAM" = yes; then
6125 echo "$as_me:$LINENO: result: yes" >&5
6126 echo "${ECHO_T}yes" >&6
6128 echo "$as_me:$LINENO: result: no" >&5
6129 echo "${ECHO_T}no" >&6
6135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6136 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6138 # Check whether --enable-url or --disable-url was given.
6139 if test "${enable_url+set}" = set; then
6140 enableval
="$enable_url"
6142 if test "$enableval" = yes; then
6143 ac_cv_use_url
='wxUSE_URL=yes'
6145 ac_cv_use_url
='wxUSE_URL=no'
6150 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6151 if test "x$LINE" != x
; then
6152 eval "DEFAULT_$LINE"
6157 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6161 eval "$ac_cv_use_url"
6162 if test "$no_cache" != 1; then
6163 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6166 if test "$wxUSE_URL" = yes; then
6167 echo "$as_me:$LINENO: result: yes" >&5
6168 echo "${ECHO_T}yes" >&6
6170 echo "$as_me:$LINENO: result: no" >&5
6171 echo "${ECHO_T}no" >&6
6176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6177 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6179 # Check whether --enable-protocol or --disable-protocol was given.
6180 if test "${enable_protocol+set}" = set; then
6181 enableval
="$enable_protocol"
6183 if test "$enableval" = yes; then
6184 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6186 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6191 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6192 if test "x$LINE" != x
; then
6193 eval "DEFAULT_$LINE"
6198 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6202 eval "$ac_cv_use_protocol"
6203 if test "$no_cache" != 1; then
6204 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6207 if test "$wxUSE_PROTOCOL" = yes; then
6208 echo "$as_me:$LINENO: result: yes" >&5
6209 echo "${ECHO_T}yes" >&6
6211 echo "$as_me:$LINENO: result: no" >&5
6212 echo "${ECHO_T}no" >&6
6217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6218 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6220 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6221 if test "${enable_protocol_http+set}" = set; then
6222 enableval
="$enable_protocol_http"
6224 if test "$enableval" = yes; then
6225 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6227 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6232 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6233 if test "x$LINE" != x
; then
6234 eval "DEFAULT_$LINE"
6239 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6243 eval "$ac_cv_use_protocol_http"
6244 if test "$no_cache" != 1; then
6245 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6248 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6249 echo "$as_me:$LINENO: result: yes" >&5
6250 echo "${ECHO_T}yes" >&6
6252 echo "$as_me:$LINENO: result: no" >&5
6253 echo "${ECHO_T}no" >&6
6258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6259 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6261 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6262 if test "${enable_protocol_ftp+set}" = set; then
6263 enableval
="$enable_protocol_ftp"
6265 if test "$enableval" = yes; then
6266 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6268 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6273 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6274 if test "x$LINE" != x
; then
6275 eval "DEFAULT_$LINE"
6280 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6284 eval "$ac_cv_use_protocol_ftp"
6285 if test "$no_cache" != 1; then
6286 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6289 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6290 echo "$as_me:$LINENO: result: yes" >&5
6291 echo "${ECHO_T}yes" >&6
6293 echo "$as_me:$LINENO: result: no" >&5
6294 echo "${ECHO_T}no" >&6
6299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6300 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6302 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6303 if test "${enable_protocol_file+set}" = set; then
6304 enableval
="$enable_protocol_file"
6306 if test "$enableval" = yes; then
6307 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6309 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6314 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6315 if test "x$LINE" != x
; then
6316 eval "DEFAULT_$LINE"
6321 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6325 eval "$ac_cv_use_protocol_file"
6326 if test "$no_cache" != 1; then
6327 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6330 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6331 echo "$as_me:$LINENO: result: yes" >&5
6332 echo "${ECHO_T}yes" >&6
6334 echo "$as_me:$LINENO: result: no" >&5
6335 echo "${ECHO_T}no" >&6
6343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6344 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6346 # Check whether --enable-threads or --disable-threads was given.
6347 if test "${enable_threads+set}" = set; then
6348 enableval
="$enable_threads"
6350 if test "$enableval" = yes; then
6351 ac_cv_use_threads
='wxUSE_THREADS=yes'
6353 ac_cv_use_threads
='wxUSE_THREADS=no'
6358 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6359 if test "x$LINE" != x
; then
6360 eval "DEFAULT_$LINE"
6365 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6369 eval "$ac_cv_use_threads"
6370 if test "$no_cache" != 1; then
6371 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6374 if test "$wxUSE_THREADS" = yes; then
6375 echo "$as_me:$LINENO: result: yes" >&5
6376 echo "${ECHO_T}yes" >&6
6378 echo "$as_me:$LINENO: result: no" >&5
6379 echo "${ECHO_T}no" >&6
6383 if test "$wxUSE_GUI" = "yes"; then
6388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6389 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6391 # Check whether --enable-docview or --disable-docview was given.
6392 if test "${enable_docview+set}" = set; then
6393 enableval
="$enable_docview"
6395 if test "$enableval" = yes; then
6396 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6398 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6403 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6404 if test "x$LINE" != x
; then
6405 eval "DEFAULT_$LINE"
6410 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6414 eval "$ac_cv_use_docview"
6415 if test "$no_cache" != 1; then
6416 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6419 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6420 echo "$as_me:$LINENO: result: yes" >&5
6421 echo "${ECHO_T}yes" >&6
6423 echo "$as_me:$LINENO: result: no" >&5
6424 echo "${ECHO_T}no" >&6
6429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6430 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6432 # Check whether --enable-help or --disable-help was given.
6433 if test "${enable_help+set}" = set; then
6434 enableval
="$enable_help"
6436 if test "$enableval" = yes; then
6437 ac_cv_use_help
='wxUSE_HELP=yes'
6439 ac_cv_use_help
='wxUSE_HELP=no'
6444 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6445 if test "x$LINE" != x
; then
6446 eval "DEFAULT_$LINE"
6451 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6455 eval "$ac_cv_use_help"
6456 if test "$no_cache" != 1; then
6457 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6460 if test "$wxUSE_HELP" = yes; then
6461 echo "$as_me:$LINENO: result: yes" >&5
6462 echo "${ECHO_T}yes" >&6
6464 echo "$as_me:$LINENO: result: no" >&5
6465 echo "${ECHO_T}no" >&6
6470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6471 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6473 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6474 if test "${enable_mshtmlhelp+set}" = set; then
6475 enableval
="$enable_mshtmlhelp"
6477 if test "$enableval" = yes; then
6478 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6480 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6485 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6486 if test "x$LINE" != x
; then
6487 eval "DEFAULT_$LINE"
6492 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6496 eval "$ac_cv_use_mshtmlhelp"
6497 if test "$no_cache" != 1; then
6498 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6501 if test "$wxUSE_MS_HTML_HELP" = yes; then
6502 echo "$as_me:$LINENO: result: yes" >&5
6503 echo "${ECHO_T}yes" >&6
6505 echo "$as_me:$LINENO: result: no" >&5
6506 echo "${ECHO_T}no" >&6
6511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6512 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6514 # Check whether --enable-html or --disable-html was given.
6515 if test "${enable_html+set}" = set; then
6516 enableval
="$enable_html"
6518 if test "$enableval" = yes; then
6519 ac_cv_use_html
='wxUSE_HTML=yes'
6521 ac_cv_use_html
='wxUSE_HTML=no'
6526 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6527 if test "x$LINE" != x
; then
6528 eval "DEFAULT_$LINE"
6533 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6537 eval "$ac_cv_use_html"
6538 if test "$no_cache" != 1; then
6539 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6542 if test "$wxUSE_HTML" = yes; then
6543 echo "$as_me:$LINENO: result: yes" >&5
6544 echo "${ECHO_T}yes" >&6
6546 echo "$as_me:$LINENO: result: no" >&5
6547 echo "${ECHO_T}no" >&6
6552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6553 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6555 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6556 if test "${enable_htmlhelp+set}" = set; then
6557 enableval
="$enable_htmlhelp"
6559 if test "$enableval" = yes; then
6560 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6562 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6567 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6568 if test "x$LINE" != x
; then
6569 eval "DEFAULT_$LINE"
6574 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6578 eval "$ac_cv_use_htmlhelp"
6579 if test "$no_cache" != 1; then
6580 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6583 if test "$wxUSE_WXHTML_HELP" = yes; then
6584 echo "$as_me:$LINENO: result: yes" >&5
6585 echo "${ECHO_T}yes" >&6
6587 echo "$as_me:$LINENO: result: no" >&5
6588 echo "${ECHO_T}no" >&6
6593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6594 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6596 # Check whether --enable-xrc or --disable-xrc was given.
6597 if test "${enable_xrc+set}" = set; then
6598 enableval
="$enable_xrc"
6600 if test "$enableval" = yes; then
6601 ac_cv_use_xrc
='wxUSE_XRC=yes'
6603 ac_cv_use_xrc
='wxUSE_XRC=no'
6608 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6609 if test "x$LINE" != x
; then
6610 eval "DEFAULT_$LINE"
6615 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6619 eval "$ac_cv_use_xrc"
6620 if test "$no_cache" != 1; then
6621 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6624 if test "$wxUSE_XRC" = yes; then
6625 echo "$as_me:$LINENO: result: yes" >&5
6626 echo "${ECHO_T}yes" >&6
6628 echo "$as_me:$LINENO: result: no" >&5
6629 echo "${ECHO_T}no" >&6
6634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6635 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6637 # Check whether --enable-constraints or --disable-constraints was given.
6638 if test "${enable_constraints+set}" = set; then
6639 enableval
="$enable_constraints"
6641 if test "$enableval" = yes; then
6642 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6644 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6649 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6650 if test "x$LINE" != x
; then
6651 eval "DEFAULT_$LINE"
6656 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6660 eval "$ac_cv_use_constraints"
6661 if test "$no_cache" != 1; then
6662 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6665 if test "$wxUSE_CONSTRAINTS" = yes; then
6666 echo "$as_me:$LINENO: result: yes" >&5
6667 echo "${ECHO_T}yes" >&6
6669 echo "$as_me:$LINENO: result: no" >&5
6670 echo "${ECHO_T}no" >&6
6675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6676 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6678 # Check whether --enable-printarch or --disable-printarch was given.
6679 if test "${enable_printarch+set}" = set; then
6680 enableval
="$enable_printarch"
6682 if test "$enableval" = yes; then
6683 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6685 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6690 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6691 if test "x$LINE" != x
; then
6692 eval "DEFAULT_$LINE"
6697 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6701 eval "$ac_cv_use_printarch"
6702 if test "$no_cache" != 1; then
6703 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6706 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6707 echo "$as_me:$LINENO: result: yes" >&5
6708 echo "${ECHO_T}yes" >&6
6710 echo "$as_me:$LINENO: result: no" >&5
6711 echo "${ECHO_T}no" >&6
6716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6717 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6719 # Check whether --enable-mdi or --disable-mdi was given.
6720 if test "${enable_mdi+set}" = set; then
6721 enableval
="$enable_mdi"
6723 if test "$enableval" = yes; then
6724 ac_cv_use_mdi
='wxUSE_MDI=yes'
6726 ac_cv_use_mdi
='wxUSE_MDI=no'
6731 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6732 if test "x$LINE" != x
; then
6733 eval "DEFAULT_$LINE"
6738 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6742 eval "$ac_cv_use_mdi"
6743 if test "$no_cache" != 1; then
6744 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6747 if test "$wxUSE_MDI" = yes; then
6748 echo "$as_me:$LINENO: result: yes" >&5
6749 echo "${ECHO_T}yes" >&6
6751 echo "$as_me:$LINENO: result: no" >&5
6752 echo "${ECHO_T}no" >&6
6757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6758 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6760 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6761 if test "${enable_mdidoc+set}" = set; then
6762 enableval
="$enable_mdidoc"
6764 if test "$enableval" = yes; then
6765 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6767 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6772 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6773 if test "x$LINE" != x
; then
6774 eval "DEFAULT_$LINE"
6779 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6783 eval "$ac_cv_use_mdidoc"
6784 if test "$no_cache" != 1; then
6785 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6788 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6789 echo "$as_me:$LINENO: result: yes" >&5
6790 echo "${ECHO_T}yes" >&6
6792 echo "$as_me:$LINENO: result: no" >&5
6793 echo "${ECHO_T}no" >&6
6798 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6799 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6801 # Check whether --enable-loggui or --disable-loggui was given.
6802 if test "${enable_loggui+set}" = set; then
6803 enableval
="$enable_loggui"
6805 if test "$enableval" = yes; then
6806 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6808 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6813 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6814 if test "x$LINE" != x
; then
6815 eval "DEFAULT_$LINE"
6820 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6824 eval "$ac_cv_use_loggui"
6825 if test "$no_cache" != 1; then
6826 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6829 if test "$wxUSE_LOGGUI" = yes; then
6830 echo "$as_me:$LINENO: result: yes" >&5
6831 echo "${ECHO_T}yes" >&6
6833 echo "$as_me:$LINENO: result: no" >&5
6834 echo "${ECHO_T}no" >&6
6839 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6840 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6842 # Check whether --enable-logwin or --disable-logwin was given.
6843 if test "${enable_logwin+set}" = set; then
6844 enableval
="$enable_logwin"
6846 if test "$enableval" = yes; then
6847 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6849 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6854 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6855 if test "x$LINE" != x
; then
6856 eval "DEFAULT_$LINE"
6861 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6865 eval "$ac_cv_use_logwin"
6866 if test "$no_cache" != 1; then
6867 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6870 if test "$wxUSE_LOGWINDOW" = yes; then
6871 echo "$as_me:$LINENO: result: yes" >&5
6872 echo "${ECHO_T}yes" >&6
6874 echo "$as_me:$LINENO: result: no" >&5
6875 echo "${ECHO_T}no" >&6
6880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6881 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6883 # Check whether --enable-logdialog or --disable-logdialog was given.
6884 if test "${enable_logdialog+set}" = set; then
6885 enableval
="$enable_logdialog"
6887 if test "$enableval" = yes; then
6888 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6890 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6895 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6896 if test "x$LINE" != x
; then
6897 eval "DEFAULT_$LINE"
6902 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6906 eval "$ac_cv_use_logdialog"
6907 if test "$no_cache" != 1; then
6908 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6911 if test "$wxUSE_LOGDIALOG" = yes; then
6912 echo "$as_me:$LINENO: result: yes" >&5
6913 echo "${ECHO_T}yes" >&6
6915 echo "$as_me:$LINENO: result: no" >&5
6916 echo "${ECHO_T}no" >&6
6921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6922 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6924 # Check whether --enable-webkit or --disable-webkit was given.
6925 if test "${enable_webkit+set}" = set; then
6926 enableval
="$enable_webkit"
6928 if test "$enableval" = yes; then
6929 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6931 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6936 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6937 if test "x$LINE" != x
; then
6938 eval "DEFAULT_$LINE"
6943 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6947 eval "$ac_cv_use_webkit"
6948 if test "$no_cache" != 1; then
6949 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6952 if test "$wxUSE_WEBKIT" = yes; then
6953 echo "$as_me:$LINENO: result: yes" >&5
6954 echo "${ECHO_T}yes" >&6
6956 echo "$as_me:$LINENO: result: no" >&5
6957 echo "${ECHO_T}no" >&6
6963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6964 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6966 # Check whether --enable-postscript or --disable-postscript was given.
6967 if test "${enable_postscript+set}" = set; then
6968 enableval
="$enable_postscript"
6970 if test "$enableval" = yes; then
6971 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6973 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6978 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6979 if test "x$LINE" != x
; then
6980 eval "DEFAULT_$LINE"
6985 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6989 eval "$ac_cv_use_postscript"
6990 if test "$no_cache" != 1; then
6991 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6994 if test "$wxUSE_POSTSCRIPT" = yes; then
6995 echo "$as_me:$LINENO: result: yes" >&5
6996 echo "${ECHO_T}yes" >&6
6998 echo "$as_me:$LINENO: result: no" >&5
6999 echo "${ECHO_T}no" >&6
7007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7008 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7010 # Check whether --enable-prologio or --disable-prologio was given.
7011 if test "${enable_prologio+set}" = set; then
7012 enableval
="$enable_prologio"
7014 if test "$enableval" = yes; then
7015 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7017 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7022 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7023 if test "x$LINE" != x
; then
7024 eval "DEFAULT_$LINE"
7029 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7033 eval "$ac_cv_use_prologio"
7034 if test "$no_cache" != 1; then
7035 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7038 if test "$wxUSE_PROLOGIO" = yes; then
7039 echo "$as_me:$LINENO: result: yes" >&5
7040 echo "${ECHO_T}yes" >&6
7042 echo "$as_me:$LINENO: result: no" >&5
7043 echo "${ECHO_T}no" >&6
7048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7049 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7051 # Check whether --enable-resources or --disable-resources was given.
7052 if test "${enable_resources+set}" = set; then
7053 enableval
="$enable_resources"
7055 if test "$enableval" = yes; then
7056 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7058 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7063 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7064 if test "x$LINE" != x
; then
7065 eval "DEFAULT_$LINE"
7070 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7074 eval "$ac_cv_use_resources"
7075 if test "$no_cache" != 1; then
7076 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7079 if test "$wxUSE_RESOURCES" = yes; then
7080 echo "$as_me:$LINENO: result: yes" >&5
7081 echo "${ECHO_T}yes" >&6
7083 echo "$as_me:$LINENO: result: no" >&5
7084 echo "${ECHO_T}no" >&6
7091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7092 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7094 # Check whether --enable-clipboard or --disable-clipboard was given.
7095 if test "${enable_clipboard+set}" = set; then
7096 enableval
="$enable_clipboard"
7098 if test "$enableval" = yes; then
7099 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7101 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7106 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7107 if test "x$LINE" != x
; then
7108 eval "DEFAULT_$LINE"
7113 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7117 eval "$ac_cv_use_clipboard"
7118 if test "$no_cache" != 1; then
7119 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7122 if test "$wxUSE_CLIPBOARD" = yes; then
7123 echo "$as_me:$LINENO: result: yes" >&5
7124 echo "${ECHO_T}yes" >&6
7126 echo "$as_me:$LINENO: result: no" >&5
7127 echo "${ECHO_T}no" >&6
7132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7133 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7135 # Check whether --enable-dnd or --disable-dnd was given.
7136 if test "${enable_dnd+set}" = set; then
7137 enableval
="$enable_dnd"
7139 if test "$enableval" = yes; then
7140 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7142 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7147 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7148 if test "x$LINE" != x
; then
7149 eval "DEFAULT_$LINE"
7154 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7158 eval "$ac_cv_use_dnd"
7159 if test "$no_cache" != 1; then
7160 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7163 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7164 echo "$as_me:$LINENO: result: yes" >&5
7165 echo "${ECHO_T}yes" >&6
7167 echo "$as_me:$LINENO: result: no" >&5
7168 echo "${ECHO_T}no" >&6
7173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7174 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7176 # Check whether --enable-metafile or --disable-metafile was given.
7177 if test "${enable_metafile+set}" = set; then
7178 enableval
="$enable_metafile"
7180 if test "$enableval" = yes; then
7181 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7183 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7188 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7189 if test "x$LINE" != x
; then
7190 eval "DEFAULT_$LINE"
7195 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7199 eval "$ac_cv_use_metafile"
7200 if test "$no_cache" != 1; then
7201 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7204 if test "$wxUSE_METAFILE" = yes; then
7205 echo "$as_me:$LINENO: result: yes" >&5
7206 echo "${ECHO_T}yes" >&6
7208 echo "$as_me:$LINENO: result: no" >&5
7209 echo "${ECHO_T}no" >&6
7217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7218 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7220 # Check whether --enable-controls or --disable-controls was given.
7221 if test "${enable_controls+set}" = set; then
7222 enableval
="$enable_controls"
7224 if test "$enableval" = yes; then
7225 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7227 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7232 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7233 if test "x$LINE" != x
; then
7234 eval "DEFAULT_$LINE"
7239 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7243 eval "$ac_cv_use_controls"
7244 if test "$no_cache" != 1; then
7245 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7248 if test "$wxUSE_CONTROLS" = yes; then
7249 echo "$as_me:$LINENO: result: yes" >&5
7250 echo "${ECHO_T}yes" >&6
7252 echo "$as_me:$LINENO: result: no" >&5
7253 echo "${ECHO_T}no" >&6
7257 if test "$wxUSE_CONTROLS" = "yes"; then
7258 DEFAULT_wxUSE_ACCEL
=yes
7259 DEFAULT_wxUSE_BMPBUTTON
=yes
7260 DEFAULT_wxUSE_BUTTON
=yes
7261 DEFAULT_wxUSE_CALCTRL
=yes
7262 DEFAULT_wxUSE_CARET
=yes
7263 DEFAULT_wxUSE_COMBOBOX
=yes
7264 DEFAULT_wxUSE_CHECKBOX
=yes
7265 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7266 DEFAULT_wxUSE_CHOICE
=yes
7267 DEFAULT_wxUSE_CHOICEBOOK
=yes
7268 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7269 DEFAULT_wxUSE_GAUGE
=yes
7270 DEFAULT_wxUSE_GRID
=yes
7271 DEFAULT_wxUSE_IMAGLIST
=yes
7272 DEFAULT_wxUSE_LISTBOOK
=yes
7273 DEFAULT_wxUSE_LISTBOX
=yes
7274 DEFAULT_wxUSE_LISTCTRL
=yes
7275 DEFAULT_wxUSE_NOTEBOOK
=yes
7276 DEFAULT_wxUSE_RADIOBOX
=yes
7277 DEFAULT_wxUSE_RADIOBTN
=yes
7278 DEFAULT_wxUSE_SASH
=yes
7279 DEFAULT_wxUSE_SCROLLBAR
=yes
7280 DEFAULT_wxUSE_SLIDER
=yes
7281 DEFAULT_wxUSE_SPINBTN
=yes
7282 DEFAULT_wxUSE_SPINCTRL
=yes
7283 DEFAULT_wxUSE_SPLITTER
=yes
7284 DEFAULT_wxUSE_STATBMP
=yes
7285 DEFAULT_wxUSE_STATBOX
=yes
7286 DEFAULT_wxUSE_STATLINE
=yes
7287 DEFAULT_wxUSE_STATUSBAR
=yes
7288 DEFAULT_wxUSE_TAB_DIALOG
=yes
7289 DEFAULT_wxUSE_TOGGLEBTN
=yes
7290 DEFAULT_wxUSE_TOOLBAR
=yes
7291 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7292 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7293 DEFAULT_wxUSE_TOOLTIPS
=yes
7294 DEFAULT_wxUSE_TREECTRL
=yes
7295 DEFAULT_wxUSE_POPUPWIN
=yes
7296 DEFAULT_wxUSE_TIPWINDOW
=yes
7297 elif test "$wxUSE_CONTROLS" = "no"; then
7298 DEFAULT_wxUSE_ACCEL
=no
7299 DEFAULT_wxUSE_BMPBUTTON
=no
7300 DEFAULT_wxUSE_BUTTON
=no
7301 DEFAULT_wxUSE_CALCTRL
=no
7302 DEFAULT_wxUSE_CARET
=no
7303 DEFAULT_wxUSE_COMBOBOX
=no
7304 DEFAULT_wxUSE_CHECKBOX
=no
7305 DEFAULT_wxUSE_CHECKLISTBOX
=no
7306 DEFAULT_wxUSE_CHOICE
=no
7307 DEFAULT_wxUSE_CHOICEBOOK
=no
7308 DEFAULT_wxUSE_DATEPICKCTRL
=no
7309 DEFAULT_wxUSE_GAUGE
=no
7310 DEFAULT_wxUSE_GRID
=no
7311 DEFAULT_wxUSE_IMAGLIST
=no
7312 DEFAULT_wxUSE_LISTBOOK
=no
7313 DEFAULT_wxUSE_LISTBOX
=no
7314 DEFAULT_wxUSE_LISTCTRL
=no
7315 DEFAULT_wxUSE_NOTEBOOK
=no
7316 DEFAULT_wxUSE_RADIOBOX
=no
7317 DEFAULT_wxUSE_RADIOBTN
=no
7318 DEFAULT_wxUSE_SASH
=no
7319 DEFAULT_wxUSE_SCROLLBAR
=no
7320 DEFAULT_wxUSE_SLIDER
=no
7321 DEFAULT_wxUSE_SPINBTN
=no
7322 DEFAULT_wxUSE_SPINCTRL
=no
7323 DEFAULT_wxUSE_SPLITTER
=no
7324 DEFAULT_wxUSE_STATBMP
=no
7325 DEFAULT_wxUSE_STATBOX
=no
7326 DEFAULT_wxUSE_STATLINE
=no
7327 DEFAULT_wxUSE_STATUSBAR
=no
7328 DEFAULT_wxUSE_TAB_DIALOG
=no
7329 DEFAULT_wxUSE_TOGGLEBTN
=no
7330 DEFAULT_wxUSE_TOOLBAR
=no
7331 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7332 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7333 DEFAULT_wxUSE_TOOLTIPS
=no
7334 DEFAULT_wxUSE_TREECTRL
=no
7335 DEFAULT_wxUSE_POPUPWIN
=no
7336 DEFAULT_wxUSE_TIPWINDOW
=no
7341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7342 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7344 # Check whether --enable-accel or --disable-accel was given.
7345 if test "${enable_accel+set}" = set; then
7346 enableval
="$enable_accel"
7348 if test "$enableval" = yes; then
7349 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7351 ac_cv_use_accel
='wxUSE_ACCEL=no'
7356 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7357 if test "x$LINE" != x
; then
7358 eval "DEFAULT_$LINE"
7363 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7367 eval "$ac_cv_use_accel"
7368 if test "$no_cache" != 1; then
7369 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7372 if test "$wxUSE_ACCEL" = yes; then
7373 echo "$as_me:$LINENO: result: yes" >&5
7374 echo "${ECHO_T}yes" >&6
7376 echo "$as_me:$LINENO: result: no" >&5
7377 echo "${ECHO_T}no" >&6
7382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7383 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7385 # Check whether --enable-button or --disable-button was given.
7386 if test "${enable_button+set}" = set; then
7387 enableval
="$enable_button"
7389 if test "$enableval" = yes; then
7390 ac_cv_use_button
='wxUSE_BUTTON=yes'
7392 ac_cv_use_button
='wxUSE_BUTTON=no'
7397 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7398 if test "x$LINE" != x
; then
7399 eval "DEFAULT_$LINE"
7404 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7408 eval "$ac_cv_use_button"
7409 if test "$no_cache" != 1; then
7410 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7413 if test "$wxUSE_BUTTON" = yes; then
7414 echo "$as_me:$LINENO: result: yes" >&5
7415 echo "${ECHO_T}yes" >&6
7417 echo "$as_me:$LINENO: result: no" >&5
7418 echo "${ECHO_T}no" >&6
7423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7424 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7426 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7427 if test "${enable_bmpbutton+set}" = set; then
7428 enableval
="$enable_bmpbutton"
7430 if test "$enableval" = yes; then
7431 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7433 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7438 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7439 if test "x$LINE" != x
; then
7440 eval "DEFAULT_$LINE"
7445 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7449 eval "$ac_cv_use_bmpbutton"
7450 if test "$no_cache" != 1; then
7451 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7454 if test "$wxUSE_BMPBUTTON" = yes; then
7455 echo "$as_me:$LINENO: result: yes" >&5
7456 echo "${ECHO_T}yes" >&6
7458 echo "$as_me:$LINENO: result: no" >&5
7459 echo "${ECHO_T}no" >&6
7464 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7465 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7467 # Check whether --enable-calendar or --disable-calendar was given.
7468 if test "${enable_calendar+set}" = set; then
7469 enableval
="$enable_calendar"
7471 if test "$enableval" = yes; then
7472 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7474 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7479 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7480 if test "x$LINE" != x
; then
7481 eval "DEFAULT_$LINE"
7486 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7490 eval "$ac_cv_use_calendar"
7491 if test "$no_cache" != 1; then
7492 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7495 if test "$wxUSE_CALCTRL" = yes; then
7496 echo "$as_me:$LINENO: result: yes" >&5
7497 echo "${ECHO_T}yes" >&6
7499 echo "$as_me:$LINENO: result: no" >&5
7500 echo "${ECHO_T}no" >&6
7505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7506 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7508 # Check whether --enable-caret or --disable-caret was given.
7509 if test "${enable_caret+set}" = set; then
7510 enableval
="$enable_caret"
7512 if test "$enableval" = yes; then
7513 ac_cv_use_caret
='wxUSE_CARET=yes'
7515 ac_cv_use_caret
='wxUSE_CARET=no'
7520 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7521 if test "x$LINE" != x
; then
7522 eval "DEFAULT_$LINE"
7527 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7531 eval "$ac_cv_use_caret"
7532 if test "$no_cache" != 1; then
7533 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7536 if test "$wxUSE_CARET" = yes; then
7537 echo "$as_me:$LINENO: result: yes" >&5
7538 echo "${ECHO_T}yes" >&6
7540 echo "$as_me:$LINENO: result: no" >&5
7541 echo "${ECHO_T}no" >&6
7546 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7547 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7549 # Check whether --enable-checkbox or --disable-checkbox was given.
7550 if test "${enable_checkbox+set}" = set; then
7551 enableval
="$enable_checkbox"
7553 if test "$enableval" = yes; then
7554 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7556 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7561 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7562 if test "x$LINE" != x
; then
7563 eval "DEFAULT_$LINE"
7568 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7572 eval "$ac_cv_use_checkbox"
7573 if test "$no_cache" != 1; then
7574 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7577 if test "$wxUSE_CHECKBOX" = yes; then
7578 echo "$as_me:$LINENO: result: yes" >&5
7579 echo "${ECHO_T}yes" >&6
7581 echo "$as_me:$LINENO: result: no" >&5
7582 echo "${ECHO_T}no" >&6
7587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7588 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7590 # Check whether --enable-checklst or --disable-checklst was given.
7591 if test "${enable_checklst+set}" = set; then
7592 enableval
="$enable_checklst"
7594 if test "$enableval" = yes; then
7595 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7597 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7602 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7603 if test "x$LINE" != x
; then
7604 eval "DEFAULT_$LINE"
7609 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7613 eval "$ac_cv_use_checklst"
7614 if test "$no_cache" != 1; then
7615 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7618 if test "$wxUSE_CHECKLST" = yes; then
7619 echo "$as_me:$LINENO: result: yes" >&5
7620 echo "${ECHO_T}yes" >&6
7622 echo "$as_me:$LINENO: result: no" >&5
7623 echo "${ECHO_T}no" >&6
7628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7629 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7631 # Check whether --enable-choice or --disable-choice was given.
7632 if test "${enable_choice+set}" = set; then
7633 enableval
="$enable_choice"
7635 if test "$enableval" = yes; then
7636 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7638 ac_cv_use_choice
='wxUSE_CHOICE=no'
7643 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7644 if test "x$LINE" != x
; then
7645 eval "DEFAULT_$LINE"
7650 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7654 eval "$ac_cv_use_choice"
7655 if test "$no_cache" != 1; then
7656 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7659 if test "$wxUSE_CHOICE" = yes; then
7660 echo "$as_me:$LINENO: result: yes" >&5
7661 echo "${ECHO_T}yes" >&6
7663 echo "$as_me:$LINENO: result: no" >&5
7664 echo "${ECHO_T}no" >&6
7669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7670 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7672 # Check whether --enable-choicebook or --disable-choicebook was given.
7673 if test "${enable_choicebook+set}" = set; then
7674 enableval
="$enable_choicebook"
7676 if test "$enableval" = yes; then
7677 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7679 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7684 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7685 if test "x$LINE" != x
; then
7686 eval "DEFAULT_$LINE"
7691 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7695 eval "$ac_cv_use_choicebook"
7696 if test "$no_cache" != 1; then
7697 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7700 if test "$wxUSE_CHOICEBOOK" = yes; then
7701 echo "$as_me:$LINENO: result: yes" >&5
7702 echo "${ECHO_T}yes" >&6
7704 echo "$as_me:$LINENO: result: no" >&5
7705 echo "${ECHO_T}no" >&6
7710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7711 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7713 # Check whether --enable-combobox or --disable-combobox was given.
7714 if test "${enable_combobox+set}" = set; then
7715 enableval
="$enable_combobox"
7717 if test "$enableval" = yes; then
7718 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7720 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7725 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7726 if test "x$LINE" != x
; then
7727 eval "DEFAULT_$LINE"
7732 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7736 eval "$ac_cv_use_combobox"
7737 if test "$no_cache" != 1; then
7738 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7741 if test "$wxUSE_COMBOBOX" = yes; then
7742 echo "$as_me:$LINENO: result: yes" >&5
7743 echo "${ECHO_T}yes" >&6
7745 echo "$as_me:$LINENO: result: no" >&5
7746 echo "${ECHO_T}no" >&6
7751 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7752 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7754 # Check whether --enable-datepick or --disable-datepick was given.
7755 if test "${enable_datepick+set}" = set; then
7756 enableval
="$enable_datepick"
7758 if test "$enableval" = yes; then
7759 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
7761 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
7766 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7767 if test "x$LINE" != x
; then
7768 eval "DEFAULT_$LINE"
7773 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7777 eval "$ac_cv_use_datepick"
7778 if test "$no_cache" != 1; then
7779 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7782 if test "$wxUSE_DATEPICKCTRL" = yes; then
7783 echo "$as_me:$LINENO: result: yes" >&5
7784 echo "${ECHO_T}yes" >&6
7786 echo "$as_me:$LINENO: result: no" >&5
7787 echo "${ECHO_T}no" >&6
7792 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7793 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7795 # Check whether --enable-display or --disable-display was given.
7796 if test "${enable_display+set}" = set; then
7797 enableval
="$enable_display"
7799 if test "$enableval" = yes; then
7800 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7802 ac_cv_use_display
='wxUSE_DISPLAY=no'
7807 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7808 if test "x$LINE" != x
; then
7809 eval "DEFAULT_$LINE"
7814 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7818 eval "$ac_cv_use_display"
7819 if test "$no_cache" != 1; then
7820 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7823 if test "$wxUSE_DISPLAY" = yes; then
7824 echo "$as_me:$LINENO: result: yes" >&5
7825 echo "${ECHO_T}yes" >&6
7827 echo "$as_me:$LINENO: result: no" >&5
7828 echo "${ECHO_T}no" >&6
7833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7834 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7836 # Check whether --enable-gauge or --disable-gauge was given.
7837 if test "${enable_gauge+set}" = set; then
7838 enableval
="$enable_gauge"
7840 if test "$enableval" = yes; then
7841 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7843 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7848 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7849 if test "x$LINE" != x
; then
7850 eval "DEFAULT_$LINE"
7855 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7859 eval "$ac_cv_use_gauge"
7860 if test "$no_cache" != 1; then
7861 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7864 if test "$wxUSE_GAUGE" = yes; then
7865 echo "$as_me:$LINENO: result: yes" >&5
7866 echo "${ECHO_T}yes" >&6
7868 echo "$as_me:$LINENO: result: no" >&5
7869 echo "${ECHO_T}no" >&6
7874 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7875 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7877 # Check whether --enable-grid or --disable-grid was given.
7878 if test "${enable_grid+set}" = set; then
7879 enableval
="$enable_grid"
7881 if test "$enableval" = yes; then
7882 ac_cv_use_grid
='wxUSE_GRID=yes'
7884 ac_cv_use_grid
='wxUSE_GRID=no'
7889 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7890 if test "x$LINE" != x
; then
7891 eval "DEFAULT_$LINE"
7896 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7900 eval "$ac_cv_use_grid"
7901 if test "$no_cache" != 1; then
7902 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7905 if test "$wxUSE_GRID" = yes; then
7906 echo "$as_me:$LINENO: result: yes" >&5
7907 echo "${ECHO_T}yes" >&6
7909 echo "$as_me:$LINENO: result: no" >&5
7910 echo "${ECHO_T}no" >&6
7915 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7916 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7918 # Check whether --enable-imaglist or --disable-imaglist was given.
7919 if test "${enable_imaglist+set}" = set; then
7920 enableval
="$enable_imaglist"
7922 if test "$enableval" = yes; then
7923 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7925 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7930 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7931 if test "x$LINE" != x
; then
7932 eval "DEFAULT_$LINE"
7937 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7941 eval "$ac_cv_use_imaglist"
7942 if test "$no_cache" != 1; then
7943 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7946 if test "$wxUSE_IMAGLIST" = yes; then
7947 echo "$as_me:$LINENO: result: yes" >&5
7948 echo "${ECHO_T}yes" >&6
7950 echo "$as_me:$LINENO: result: no" >&5
7951 echo "${ECHO_T}no" >&6
7956 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7957 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7959 # Check whether --enable-listbook or --disable-listbook was given.
7960 if test "${enable_listbook+set}" = set; then
7961 enableval
="$enable_listbook"
7963 if test "$enableval" = yes; then
7964 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7966 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7971 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7972 if test "x$LINE" != x
; then
7973 eval "DEFAULT_$LINE"
7978 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7982 eval "$ac_cv_use_listbook"
7983 if test "$no_cache" != 1; then
7984 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7987 if test "$wxUSE_LISTBOOK" = yes; then
7988 echo "$as_me:$LINENO: result: yes" >&5
7989 echo "${ECHO_T}yes" >&6
7991 echo "$as_me:$LINENO: result: no" >&5
7992 echo "${ECHO_T}no" >&6
7997 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7998 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8000 # Check whether --enable-listbox or --disable-listbox was given.
8001 if test "${enable_listbox+set}" = set; then
8002 enableval
="$enable_listbox"
8004 if test "$enableval" = yes; then
8005 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
8007 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
8012 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8013 if test "x$LINE" != x
; then
8014 eval "DEFAULT_$LINE"
8019 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8023 eval "$ac_cv_use_listbox"
8024 if test "$no_cache" != 1; then
8025 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8028 if test "$wxUSE_LISTBOX" = yes; then
8029 echo "$as_me:$LINENO: result: yes" >&5
8030 echo "${ECHO_T}yes" >&6
8032 echo "$as_me:$LINENO: result: no" >&5
8033 echo "${ECHO_T}no" >&6
8038 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8039 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8041 # Check whether --enable-listctrl or --disable-listctrl was given.
8042 if test "${enable_listctrl+set}" = set; then
8043 enableval
="$enable_listctrl"
8045 if test "$enableval" = yes; then
8046 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
8048 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
8053 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8054 if test "x$LINE" != x
; then
8055 eval "DEFAULT_$LINE"
8060 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8064 eval "$ac_cv_use_listctrl"
8065 if test "$no_cache" != 1; then
8066 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8069 if test "$wxUSE_LISTCTRL" = yes; then
8070 echo "$as_me:$LINENO: result: yes" >&5
8071 echo "${ECHO_T}yes" >&6
8073 echo "$as_me:$LINENO: result: no" >&5
8074 echo "${ECHO_T}no" >&6
8079 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8080 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8082 # Check whether --enable-notebook or --disable-notebook was given.
8083 if test "${enable_notebook+set}" = set; then
8084 enableval
="$enable_notebook"
8086 if test "$enableval" = yes; then
8087 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
8089 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
8094 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8095 if test "x$LINE" != x
; then
8096 eval "DEFAULT_$LINE"
8101 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8105 eval "$ac_cv_use_notebook"
8106 if test "$no_cache" != 1; then
8107 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8110 if test "$wxUSE_NOTEBOOK" = yes; then
8111 echo "$as_me:$LINENO: result: yes" >&5
8112 echo "${ECHO_T}yes" >&6
8114 echo "$as_me:$LINENO: result: no" >&5
8115 echo "${ECHO_T}no" >&6
8120 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8121 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8123 # Check whether --enable-radiobox or --disable-radiobox was given.
8124 if test "${enable_radiobox+set}" = set; then
8125 enableval
="$enable_radiobox"
8127 if test "$enableval" = yes; then
8128 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
8130 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
8135 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8136 if test "x$LINE" != x
; then
8137 eval "DEFAULT_$LINE"
8142 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8146 eval "$ac_cv_use_radiobox"
8147 if test "$no_cache" != 1; then
8148 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8151 if test "$wxUSE_RADIOBOX" = yes; then
8152 echo "$as_me:$LINENO: result: yes" >&5
8153 echo "${ECHO_T}yes" >&6
8155 echo "$as_me:$LINENO: result: no" >&5
8156 echo "${ECHO_T}no" >&6
8161 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8162 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8164 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8165 if test "${enable_radiobtn+set}" = set; then
8166 enableval
="$enable_radiobtn"
8168 if test "$enableval" = yes; then
8169 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
8171 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
8176 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8177 if test "x$LINE" != x
; then
8178 eval "DEFAULT_$LINE"
8183 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8187 eval "$ac_cv_use_radiobtn"
8188 if test "$no_cache" != 1; then
8189 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8192 if test "$wxUSE_RADIOBTN" = yes; then
8193 echo "$as_me:$LINENO: result: yes" >&5
8194 echo "${ECHO_T}yes" >&6
8196 echo "$as_me:$LINENO: result: no" >&5
8197 echo "${ECHO_T}no" >&6
8202 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8203 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8205 # Check whether --enable-sash or --disable-sash was given.
8206 if test "${enable_sash+set}" = set; then
8207 enableval
="$enable_sash"
8209 if test "$enableval" = yes; then
8210 ac_cv_use_sash
='wxUSE_SASH=yes'
8212 ac_cv_use_sash
='wxUSE_SASH=no'
8217 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8218 if test "x$LINE" != x
; then
8219 eval "DEFAULT_$LINE"
8224 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8228 eval "$ac_cv_use_sash"
8229 if test "$no_cache" != 1; then
8230 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8233 if test "$wxUSE_SASH" = yes; then
8234 echo "$as_me:$LINENO: result: yes" >&5
8235 echo "${ECHO_T}yes" >&6
8237 echo "$as_me:$LINENO: result: no" >&5
8238 echo "${ECHO_T}no" >&6
8243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8244 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8246 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8247 if test "${enable_scrollbar+set}" = set; then
8248 enableval
="$enable_scrollbar"
8250 if test "$enableval" = yes; then
8251 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
8253 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
8258 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8259 if test "x$LINE" != x
; then
8260 eval "DEFAULT_$LINE"
8265 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8269 eval "$ac_cv_use_scrollbar"
8270 if test "$no_cache" != 1; then
8271 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8274 if test "$wxUSE_SCROLLBAR" = yes; then
8275 echo "$as_me:$LINENO: result: yes" >&5
8276 echo "${ECHO_T}yes" >&6
8278 echo "$as_me:$LINENO: result: no" >&5
8279 echo "${ECHO_T}no" >&6
8284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8285 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8287 # Check whether --enable-slider or --disable-slider was given.
8288 if test "${enable_slider+set}" = set; then
8289 enableval
="$enable_slider"
8291 if test "$enableval" = yes; then
8292 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8294 ac_cv_use_slider
='wxUSE_SLIDER=no'
8299 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8300 if test "x$LINE" != x
; then
8301 eval "DEFAULT_$LINE"
8306 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8310 eval "$ac_cv_use_slider"
8311 if test "$no_cache" != 1; then
8312 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8315 if test "$wxUSE_SLIDER" = yes; then
8316 echo "$as_me:$LINENO: result: yes" >&5
8317 echo "${ECHO_T}yes" >&6
8319 echo "$as_me:$LINENO: result: no" >&5
8320 echo "${ECHO_T}no" >&6
8325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8326 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8328 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8329 if test "${enable_spinbtn+set}" = set; then
8330 enableval
="$enable_spinbtn"
8332 if test "$enableval" = yes; then
8333 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8335 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8340 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8341 if test "x$LINE" != x
; then
8342 eval "DEFAULT_$LINE"
8347 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8351 eval "$ac_cv_use_spinbtn"
8352 if test "$no_cache" != 1; then
8353 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8356 if test "$wxUSE_SPINBTN" = yes; then
8357 echo "$as_me:$LINENO: result: yes" >&5
8358 echo "${ECHO_T}yes" >&6
8360 echo "$as_me:$LINENO: result: no" >&5
8361 echo "${ECHO_T}no" >&6
8366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8367 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8369 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8370 if test "${enable_spinctrl+set}" = set; then
8371 enableval
="$enable_spinctrl"
8373 if test "$enableval" = yes; then
8374 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8376 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8381 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8382 if test "x$LINE" != x
; then
8383 eval "DEFAULT_$LINE"
8388 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8392 eval "$ac_cv_use_spinctrl"
8393 if test "$no_cache" != 1; then
8394 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8397 if test "$wxUSE_SPINCTRL" = yes; then
8398 echo "$as_me:$LINENO: result: yes" >&5
8399 echo "${ECHO_T}yes" >&6
8401 echo "$as_me:$LINENO: result: no" >&5
8402 echo "${ECHO_T}no" >&6
8407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8408 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8410 # Check whether --enable-splitter or --disable-splitter was given.
8411 if test "${enable_splitter+set}" = set; then
8412 enableval
="$enable_splitter"
8414 if test "$enableval" = yes; then
8415 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8417 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8422 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8423 if test "x$LINE" != x
; then
8424 eval "DEFAULT_$LINE"
8429 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8433 eval "$ac_cv_use_splitter"
8434 if test "$no_cache" != 1; then
8435 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8438 if test "$wxUSE_SPLITTER" = yes; then
8439 echo "$as_me:$LINENO: result: yes" >&5
8440 echo "${ECHO_T}yes" >&6
8442 echo "$as_me:$LINENO: result: no" >&5
8443 echo "${ECHO_T}no" >&6
8448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8449 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8451 # Check whether --enable-statbmp or --disable-statbmp was given.
8452 if test "${enable_statbmp+set}" = set; then
8453 enableval
="$enable_statbmp"
8455 if test "$enableval" = yes; then
8456 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8458 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8463 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8464 if test "x$LINE" != x
; then
8465 eval "DEFAULT_$LINE"
8470 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8474 eval "$ac_cv_use_statbmp"
8475 if test "$no_cache" != 1; then
8476 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8479 if test "$wxUSE_STATBMP" = yes; then
8480 echo "$as_me:$LINENO: result: yes" >&5
8481 echo "${ECHO_T}yes" >&6
8483 echo "$as_me:$LINENO: result: no" >&5
8484 echo "${ECHO_T}no" >&6
8489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8490 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8492 # Check whether --enable-statbox or --disable-statbox was given.
8493 if test "${enable_statbox+set}" = set; then
8494 enableval
="$enable_statbox"
8496 if test "$enableval" = yes; then
8497 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8499 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8504 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8505 if test "x$LINE" != x
; then
8506 eval "DEFAULT_$LINE"
8511 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8515 eval "$ac_cv_use_statbox"
8516 if test "$no_cache" != 1; then
8517 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8520 if test "$wxUSE_STATBOX" = yes; then
8521 echo "$as_me:$LINENO: result: yes" >&5
8522 echo "${ECHO_T}yes" >&6
8524 echo "$as_me:$LINENO: result: no" >&5
8525 echo "${ECHO_T}no" >&6
8530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8531 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8533 # Check whether --enable-statline or --disable-statline was given.
8534 if test "${enable_statline+set}" = set; then
8535 enableval
="$enable_statline"
8537 if test "$enableval" = yes; then
8538 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8540 ac_cv_use_statline
='wxUSE_STATLINE=no'
8545 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8546 if test "x$LINE" != x
; then
8547 eval "DEFAULT_$LINE"
8552 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8556 eval "$ac_cv_use_statline"
8557 if test "$no_cache" != 1; then
8558 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8561 if test "$wxUSE_STATLINE" = yes; then
8562 echo "$as_me:$LINENO: result: yes" >&5
8563 echo "${ECHO_T}yes" >&6
8565 echo "$as_me:$LINENO: result: no" >&5
8566 echo "${ECHO_T}no" >&6
8571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8572 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8574 # Check whether --enable-stattext or --disable-stattext was given.
8575 if test "${enable_stattext+set}" = set; then
8576 enableval
="$enable_stattext"
8578 if test "$enableval" = yes; then
8579 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8581 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8586 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8587 if test "x$LINE" != x
; then
8588 eval "DEFAULT_$LINE"
8593 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8597 eval "$ac_cv_use_stattext"
8598 if test "$no_cache" != 1; then
8599 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8602 if test "$wxUSE_STATTEXT" = yes; then
8603 echo "$as_me:$LINENO: result: yes" >&5
8604 echo "${ECHO_T}yes" >&6
8606 echo "$as_me:$LINENO: result: no" >&5
8607 echo "${ECHO_T}no" >&6
8612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8613 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8615 # Check whether --enable-statusbar or --disable-statusbar was given.
8616 if test "${enable_statusbar+set}" = set; then
8617 enableval
="$enable_statusbar"
8619 if test "$enableval" = yes; then
8620 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8622 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8627 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8628 if test "x$LINE" != x
; then
8629 eval "DEFAULT_$LINE"
8634 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8638 eval "$ac_cv_use_statusbar"
8639 if test "$no_cache" != 1; then
8640 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8643 if test "$wxUSE_STATUSBAR" = yes; then
8644 echo "$as_me:$LINENO: result: yes" >&5
8645 echo "${ECHO_T}yes" >&6
8647 echo "$as_me:$LINENO: result: no" >&5
8648 echo "${ECHO_T}no" >&6
8653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8654 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8656 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8657 if test "${enable_tabdialog+set}" = set; then
8658 enableval
="$enable_tabdialog"
8660 if test "$enableval" = yes; then
8661 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8663 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8668 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8669 if test "x$LINE" != x
; then
8670 eval "DEFAULT_$LINE"
8675 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8679 eval "$ac_cv_use_tabdialog"
8680 if test "$no_cache" != 1; then
8681 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8684 if test "$wxUSE_TABDIALOG" = yes; then
8685 echo "$as_me:$LINENO: result: yes" >&5
8686 echo "${ECHO_T}yes" >&6
8688 echo "$as_me:$LINENO: result: no" >&5
8689 echo "${ECHO_T}no" >&6
8694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8695 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8697 # Check whether --enable-textctrl or --disable-textctrl was given.
8698 if test "${enable_textctrl+set}" = set; then
8699 enableval
="$enable_textctrl"
8701 if test "$enableval" = yes; then
8702 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8704 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8709 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8710 if test "x$LINE" != x
; then
8711 eval "DEFAULT_$LINE"
8716 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8720 eval "$ac_cv_use_textctrl"
8721 if test "$no_cache" != 1; then
8722 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8725 if test "$wxUSE_TEXTCTRL" = yes; then
8726 echo "$as_me:$LINENO: result: yes" >&5
8727 echo "${ECHO_T}yes" >&6
8729 echo "$as_me:$LINENO: result: no" >&5
8730 echo "${ECHO_T}no" >&6
8735 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8736 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8738 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8739 if test "${enable_togglebtn+set}" = set; then
8740 enableval
="$enable_togglebtn"
8742 if test "$enableval" = yes; then
8743 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8745 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8750 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8751 if test "x$LINE" != x
; then
8752 eval "DEFAULT_$LINE"
8757 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8761 eval "$ac_cv_use_togglebtn"
8762 if test "$no_cache" != 1; then
8763 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8766 if test "$wxUSE_TOGGLEBTN" = yes; then
8767 echo "$as_me:$LINENO: result: yes" >&5
8768 echo "${ECHO_T}yes" >&6
8770 echo "$as_me:$LINENO: result: no" >&5
8771 echo "${ECHO_T}no" >&6
8776 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8777 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8779 # Check whether --enable-toolbar or --disable-toolbar was given.
8780 if test "${enable_toolbar+set}" = set; then
8781 enableval
="$enable_toolbar"
8783 if test "$enableval" = yes; then
8784 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8786 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8791 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8792 if test "x$LINE" != x
; then
8793 eval "DEFAULT_$LINE"
8798 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8802 eval "$ac_cv_use_toolbar"
8803 if test "$no_cache" != 1; then
8804 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8807 if test "$wxUSE_TOOLBAR" = yes; then
8808 echo "$as_me:$LINENO: result: yes" >&5
8809 echo "${ECHO_T}yes" >&6
8811 echo "$as_me:$LINENO: result: no" >&5
8812 echo "${ECHO_T}no" >&6
8817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8818 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8820 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8821 if test "${enable_tbarnative+set}" = set; then
8822 enableval
="$enable_tbarnative"
8824 if test "$enableval" = yes; then
8825 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8827 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8832 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8833 if test "x$LINE" != x
; then
8834 eval "DEFAULT_$LINE"
8839 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8843 eval "$ac_cv_use_tbarnative"
8844 if test "$no_cache" != 1; then
8845 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8848 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8849 echo "$as_me:$LINENO: result: yes" >&5
8850 echo "${ECHO_T}yes" >&6
8852 echo "$as_me:$LINENO: result: no" >&5
8853 echo "${ECHO_T}no" >&6
8858 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8859 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8861 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8862 if test "${enable_tbarsmpl+set}" = set; then
8863 enableval
="$enable_tbarsmpl"
8865 if test "$enableval" = yes; then
8866 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8868 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8873 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8874 if test "x$LINE" != x
; then
8875 eval "DEFAULT_$LINE"
8880 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8884 eval "$ac_cv_use_tbarsmpl"
8885 if test "$no_cache" != 1; then
8886 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8889 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8890 echo "$as_me:$LINENO: result: yes" >&5
8891 echo "${ECHO_T}yes" >&6
8893 echo "$as_me:$LINENO: result: no" >&5
8894 echo "${ECHO_T}no" >&6
8899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8900 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8902 # Check whether --enable-treectrl or --disable-treectrl was given.
8903 if test "${enable_treectrl+set}" = set; then
8904 enableval
="$enable_treectrl"
8906 if test "$enableval" = yes; then
8907 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8909 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8914 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8915 if test "x$LINE" != x
; then
8916 eval "DEFAULT_$LINE"
8921 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8925 eval "$ac_cv_use_treectrl"
8926 if test "$no_cache" != 1; then
8927 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8930 if test "$wxUSE_TREECTRL" = yes; then
8931 echo "$as_me:$LINENO: result: yes" >&5
8932 echo "${ECHO_T}yes" >&6
8934 echo "$as_me:$LINENO: result: no" >&5
8935 echo "${ECHO_T}no" >&6
8940 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8941 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8943 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8944 if test "${enable_tipwindow+set}" = set; then
8945 enableval
="$enable_tipwindow"
8947 if test "$enableval" = yes; then
8948 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8950 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8955 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8956 if test "x$LINE" != x
; then
8957 eval "DEFAULT_$LINE"
8962 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8966 eval "$ac_cv_use_tipwindow"
8967 if test "$no_cache" != 1; then
8968 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8971 if test "$wxUSE_TIPWINDOW" = yes; then
8972 echo "$as_me:$LINENO: result: yes" >&5
8973 echo "${ECHO_T}yes" >&6
8975 echo "$as_me:$LINENO: result: no" >&5
8976 echo "${ECHO_T}no" >&6
8981 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8982 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8984 # Check whether --enable-popupwin or --disable-popupwin was given.
8985 if test "${enable_popupwin+set}" = set; then
8986 enableval
="$enable_popupwin"
8988 if test "$enableval" = yes; then
8989 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8991 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8996 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8997 if test "x$LINE" != x
; then
8998 eval "DEFAULT_$LINE"
9003 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9007 eval "$ac_cv_use_popupwin"
9008 if test "$no_cache" != 1; then
9009 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9012 if test "$wxUSE_POPUPWIN" = yes; then
9013 echo "$as_me:$LINENO: result: yes" >&5
9014 echo "${ECHO_T}yes" >&6
9016 echo "$as_me:$LINENO: result: no" >&5
9017 echo "${ECHO_T}no" >&6
9024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9025 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9027 # Check whether --enable-commondlg or --disable-commondlg was given.
9028 if test "${enable_commondlg+set}" = set; then
9029 enableval
="$enable_commondlg"
9031 if test "$enableval" = yes; then
9032 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
9034 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
9039 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9040 if test "x$LINE" != x
; then
9041 eval "DEFAULT_$LINE"
9046 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9050 eval "$ac_cv_use_commondlg"
9051 if test "$no_cache" != 1; then
9052 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9055 if test "$wxUSE_COMMONDLGS" = yes; then
9056 echo "$as_me:$LINENO: result: yes" >&5
9057 echo "${ECHO_T}yes" >&6
9059 echo "$as_me:$LINENO: result: no" >&5
9060 echo "${ECHO_T}no" >&6
9065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9066 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9068 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9069 if test "${enable_choicedlg+set}" = set; then
9070 enableval
="$enable_choicedlg"
9072 if test "$enableval" = yes; then
9073 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
9075 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
9080 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9081 if test "x$LINE" != x
; then
9082 eval "DEFAULT_$LINE"
9087 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9091 eval "$ac_cv_use_choicedlg"
9092 if test "$no_cache" != 1; then
9093 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9096 if test "$wxUSE_CHOICEDLG" = yes; then
9097 echo "$as_me:$LINENO: result: yes" >&5
9098 echo "${ECHO_T}yes" >&6
9100 echo "$as_me:$LINENO: result: no" >&5
9101 echo "${ECHO_T}no" >&6
9106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9107 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9109 # Check whether --enable-coldlg or --disable-coldlg was given.
9110 if test "${enable_coldlg+set}" = set; then
9111 enableval
="$enable_coldlg"
9113 if test "$enableval" = yes; then
9114 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
9116 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
9121 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9122 if test "x$LINE" != x
; then
9123 eval "DEFAULT_$LINE"
9128 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9132 eval "$ac_cv_use_coldlg"
9133 if test "$no_cache" != 1; then
9134 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9137 if test "$wxUSE_COLOURDLG" = yes; then
9138 echo "$as_me:$LINENO: result: yes" >&5
9139 echo "${ECHO_T}yes" >&6
9141 echo "$as_me:$LINENO: result: no" >&5
9142 echo "${ECHO_T}no" >&6
9147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9148 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9150 # Check whether --enable-filedlg or --disable-filedlg was given.
9151 if test "${enable_filedlg+set}" = set; then
9152 enableval
="$enable_filedlg"
9154 if test "$enableval" = yes; then
9155 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
9157 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
9162 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9163 if test "x$LINE" != x
; then
9164 eval "DEFAULT_$LINE"
9169 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9173 eval "$ac_cv_use_filedlg"
9174 if test "$no_cache" != 1; then
9175 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9178 if test "$wxUSE_FILEDLG" = yes; then
9179 echo "$as_me:$LINENO: result: yes" >&5
9180 echo "${ECHO_T}yes" >&6
9182 echo "$as_me:$LINENO: result: no" >&5
9183 echo "${ECHO_T}no" >&6
9188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9189 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9191 # Check whether --enable-finddlg or --disable-finddlg was given.
9192 if test "${enable_finddlg+set}" = set; then
9193 enableval
="$enable_finddlg"
9195 if test "$enableval" = yes; then
9196 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
9198 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
9203 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9204 if test "x$LINE" != x
; then
9205 eval "DEFAULT_$LINE"
9210 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9214 eval "$ac_cv_use_finddlg"
9215 if test "$no_cache" != 1; then
9216 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9219 if test "$wxUSE_FINDREPLDLG" = yes; then
9220 echo "$as_me:$LINENO: result: yes" >&5
9221 echo "${ECHO_T}yes" >&6
9223 echo "$as_me:$LINENO: result: no" >&5
9224 echo "${ECHO_T}no" >&6
9229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9230 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9232 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9233 if test "${enable_fontdlg+set}" = set; then
9234 enableval
="$enable_fontdlg"
9236 if test "$enableval" = yes; then
9237 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
9239 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
9244 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9245 if test "x$LINE" != x
; then
9246 eval "DEFAULT_$LINE"
9251 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9255 eval "$ac_cv_use_fontdlg"
9256 if test "$no_cache" != 1; then
9257 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9260 if test "$wxUSE_FONTDLG" = yes; then
9261 echo "$as_me:$LINENO: result: yes" >&5
9262 echo "${ECHO_T}yes" >&6
9264 echo "$as_me:$LINENO: result: no" >&5
9265 echo "${ECHO_T}no" >&6
9270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9271 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9273 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9274 if test "${enable_dirdlg+set}" = set; then
9275 enableval
="$enable_dirdlg"
9277 if test "$enableval" = yes; then
9278 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
9280 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
9285 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9286 if test "x$LINE" != x
; then
9287 eval "DEFAULT_$LINE"
9292 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9296 eval "$ac_cv_use_dirdlg"
9297 if test "$no_cache" != 1; then
9298 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9301 if test "$wxUSE_DIRDLG" = yes; then
9302 echo "$as_me:$LINENO: result: yes" >&5
9303 echo "${ECHO_T}yes" >&6
9305 echo "$as_me:$LINENO: result: no" >&5
9306 echo "${ECHO_T}no" >&6
9311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9312 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9314 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9315 if test "${enable_msgdlg+set}" = set; then
9316 enableval
="$enable_msgdlg"
9318 if test "$enableval" = yes; then
9319 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
9321 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
9326 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9327 if test "x$LINE" != x
; then
9328 eval "DEFAULT_$LINE"
9333 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9337 eval "$ac_cv_use_msgdlg"
9338 if test "$no_cache" != 1; then
9339 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9342 if test "$wxUSE_MSGDLG" = yes; then
9343 echo "$as_me:$LINENO: result: yes" >&5
9344 echo "${ECHO_T}yes" >&6
9346 echo "$as_me:$LINENO: result: no" >&5
9347 echo "${ECHO_T}no" >&6
9352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9353 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9355 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9356 if test "${enable_numberdlg+set}" = set; then
9357 enableval
="$enable_numberdlg"
9359 if test "$enableval" = yes; then
9360 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9362 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9367 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9368 if test "x$LINE" != x
; then
9369 eval "DEFAULT_$LINE"
9374 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9378 eval "$ac_cv_use_numberdlg"
9379 if test "$no_cache" != 1; then
9380 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9383 if test "$wxUSE_NUMBERDLG" = yes; then
9384 echo "$as_me:$LINENO: result: yes" >&5
9385 echo "${ECHO_T}yes" >&6
9387 echo "$as_me:$LINENO: result: no" >&5
9388 echo "${ECHO_T}no" >&6
9393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9394 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9396 # Check whether --enable-splash or --disable-splash was given.
9397 if test "${enable_splash+set}" = set; then
9398 enableval
="$enable_splash"
9400 if test "$enableval" = yes; then
9401 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9403 ac_cv_use_splash
='wxUSE_SPLASH=no'
9408 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9409 if test "x$LINE" != x
; then
9410 eval "DEFAULT_$LINE"
9415 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9419 eval "$ac_cv_use_splash"
9420 if test "$no_cache" != 1; then
9421 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9424 if test "$wxUSE_SPLASH" = yes; then
9425 echo "$as_me:$LINENO: result: yes" >&5
9426 echo "${ECHO_T}yes" >&6
9428 echo "$as_me:$LINENO: result: no" >&5
9429 echo "${ECHO_T}no" >&6
9434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9435 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9437 # Check whether --enable-textdlg or --disable-textdlg was given.
9438 if test "${enable_textdlg+set}" = set; then
9439 enableval
="$enable_textdlg"
9441 if test "$enableval" = yes; then
9442 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9444 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9449 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9450 if test "x$LINE" != x
; then
9451 eval "DEFAULT_$LINE"
9456 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9460 eval "$ac_cv_use_textdlg"
9461 if test "$no_cache" != 1; then
9462 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9465 if test "$wxUSE_TEXTDLG" = yes; then
9466 echo "$as_me:$LINENO: result: yes" >&5
9467 echo "${ECHO_T}yes" >&6
9469 echo "$as_me:$LINENO: result: no" >&5
9470 echo "${ECHO_T}no" >&6
9475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9476 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9478 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9479 if test "${enable_tipdlg+set}" = set; then
9480 enableval
="$enable_tipdlg"
9482 if test "$enableval" = yes; then
9483 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9485 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9490 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9491 if test "x$LINE" != x
; then
9492 eval "DEFAULT_$LINE"
9497 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9501 eval "$ac_cv_use_tipdlg"
9502 if test "$no_cache" != 1; then
9503 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9506 if test "$wxUSE_STARTUP_TIPS" = yes; then
9507 echo "$as_me:$LINENO: result: yes" >&5
9508 echo "${ECHO_T}yes" >&6
9510 echo "$as_me:$LINENO: result: no" >&5
9511 echo "${ECHO_T}no" >&6
9516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9517 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9519 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9520 if test "${enable_progressdlg+set}" = set; then
9521 enableval
="$enable_progressdlg"
9523 if test "$enableval" = yes; then
9524 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9526 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9531 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9532 if test "x$LINE" != x
; then
9533 eval "DEFAULT_$LINE"
9538 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9542 eval "$ac_cv_use_progressdlg"
9543 if test "$no_cache" != 1; then
9544 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9547 if test "$wxUSE_PROGRESSDLG" = yes; then
9548 echo "$as_me:$LINENO: result: yes" >&5
9549 echo "${ECHO_T}yes" >&6
9551 echo "$as_me:$LINENO: result: no" >&5
9552 echo "${ECHO_T}no" >&6
9557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9558 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9560 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9561 if test "${enable_wizarddlg+set}" = set; then
9562 enableval
="$enable_wizarddlg"
9564 if test "$enableval" = yes; then
9565 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9567 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9572 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9573 if test "x$LINE" != x
; then
9574 eval "DEFAULT_$LINE"
9579 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9583 eval "$ac_cv_use_wizarddlg"
9584 if test "$no_cache" != 1; then
9585 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9588 if test "$wxUSE_WIZARDDLG" = yes; then
9589 echo "$as_me:$LINENO: result: yes" >&5
9590 echo "${ECHO_T}yes" >&6
9592 echo "$as_me:$LINENO: result: no" >&5
9593 echo "${ECHO_T}no" >&6
9600 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9601 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9603 # Check whether --enable-menus or --disable-menus was given.
9604 if test "${enable_menus+set}" = set; then
9605 enableval
="$enable_menus"
9607 if test "$enableval" = yes; then
9608 ac_cv_use_menus
='wxUSE_MENUS=yes'
9610 ac_cv_use_menus
='wxUSE_MENUS=no'
9615 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9616 if test "x$LINE" != x
; then
9617 eval "DEFAULT_$LINE"
9622 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9626 eval "$ac_cv_use_menus"
9627 if test "$no_cache" != 1; then
9628 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9631 if test "$wxUSE_MENUS" = yes; then
9632 echo "$as_me:$LINENO: result: yes" >&5
9633 echo "${ECHO_T}yes" >&6
9635 echo "$as_me:$LINENO: result: no" >&5
9636 echo "${ECHO_T}no" >&6
9641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9642 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9644 # Check whether --enable-miniframe or --disable-miniframe was given.
9645 if test "${enable_miniframe+set}" = set; then
9646 enableval
="$enable_miniframe"
9648 if test "$enableval" = yes; then
9649 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9651 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9656 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9657 if test "x$LINE" != x
; then
9658 eval "DEFAULT_$LINE"
9663 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9667 eval "$ac_cv_use_miniframe"
9668 if test "$no_cache" != 1; then
9669 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9672 if test "$wxUSE_MINIFRAME" = yes; then
9673 echo "$as_me:$LINENO: result: yes" >&5
9674 echo "${ECHO_T}yes" >&6
9676 echo "$as_me:$LINENO: result: no" >&5
9677 echo "${ECHO_T}no" >&6
9682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9683 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9685 # Check whether --enable-tooltips or --disable-tooltips was given.
9686 if test "${enable_tooltips+set}" = set; then
9687 enableval
="$enable_tooltips"
9689 if test "$enableval" = yes; then
9690 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9692 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9697 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9698 if test "x$LINE" != x
; then
9699 eval "DEFAULT_$LINE"
9704 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9708 eval "$ac_cv_use_tooltips"
9709 if test "$no_cache" != 1; then
9710 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9713 if test "$wxUSE_TOOLTIPS" = yes; then
9714 echo "$as_me:$LINENO: result: yes" >&5
9715 echo "${ECHO_T}yes" >&6
9717 echo "$as_me:$LINENO: result: no" >&5
9718 echo "${ECHO_T}no" >&6
9723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9724 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9726 # Check whether --enable-splines or --disable-splines was given.
9727 if test "${enable_splines+set}" = set; then
9728 enableval
="$enable_splines"
9730 if test "$enableval" = yes; then
9731 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9733 ac_cv_use_splines
='wxUSE_SPLINES=no'
9738 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9739 if test "x$LINE" != x
; then
9740 eval "DEFAULT_$LINE"
9745 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9749 eval "$ac_cv_use_splines"
9750 if test "$no_cache" != 1; then
9751 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9754 if test "$wxUSE_SPLINES" = yes; then
9755 echo "$as_me:$LINENO: result: yes" >&5
9756 echo "${ECHO_T}yes" >&6
9758 echo "$as_me:$LINENO: result: no" >&5
9759 echo "${ECHO_T}no" >&6
9764 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
9765 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
9767 # Check whether --enable-mousewheel or --disable-mousewheel was given.
9768 if test "${enable_mousewheel+set}" = set; then
9769 enableval
="$enable_mousewheel"
9771 if test "$enableval" = yes; then
9772 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
9774 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
9779 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
9780 if test "x$LINE" != x
; then
9781 eval "DEFAULT_$LINE"
9786 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
9790 eval "$ac_cv_use_mousewheel"
9791 if test "$no_cache" != 1; then
9792 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
9795 if test "$wxUSE_MOUSEWHEEL" = yes; then
9796 echo "$as_me:$LINENO: result: yes" >&5
9797 echo "${ECHO_T}yes" >&6
9799 echo "$as_me:$LINENO: result: no" >&5
9800 echo "${ECHO_T}no" >&6
9805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9806 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9808 # Check whether --enable-validators or --disable-validators was given.
9809 if test "${enable_validators+set}" = set; then
9810 enableval
="$enable_validators"
9812 if test "$enableval" = yes; then
9813 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9815 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9820 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9821 if test "x$LINE" != x
; then
9822 eval "DEFAULT_$LINE"
9827 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9831 eval "$ac_cv_use_validators"
9832 if test "$no_cache" != 1; then
9833 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9836 if test "$wxUSE_VALIDATORS" = yes; then
9837 echo "$as_me:$LINENO: result: yes" >&5
9838 echo "${ECHO_T}yes" >&6
9840 echo "$as_me:$LINENO: result: no" >&5
9841 echo "${ECHO_T}no" >&6
9846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9847 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9849 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9850 if test "${enable_busyinfo+set}" = set; then
9851 enableval
="$enable_busyinfo"
9853 if test "$enableval" = yes; then
9854 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9856 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9861 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9862 if test "x$LINE" != x
; then
9863 eval "DEFAULT_$LINE"
9868 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9872 eval "$ac_cv_use_busyinfo"
9873 if test "$no_cache" != 1; then
9874 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9877 if test "$wxUSE_BUSYINFO" = yes; then
9878 echo "$as_me:$LINENO: result: yes" >&5
9879 echo "${ECHO_T}yes" >&6
9881 echo "$as_me:$LINENO: result: no" >&5
9882 echo "${ECHO_T}no" >&6
9887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9888 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9890 # Check whether --enable-joystick or --disable-joystick was given.
9891 if test "${enable_joystick+set}" = set; then
9892 enableval
="$enable_joystick"
9894 if test "$enableval" = yes; then
9895 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9897 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9902 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9903 if test "x$LINE" != x
; then
9904 eval "DEFAULT_$LINE"
9909 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9913 eval "$ac_cv_use_joystick"
9914 if test "$no_cache" != 1; then
9915 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9918 if test "$wxUSE_JOYSTICK" = yes; then
9919 echo "$as_me:$LINENO: result: yes" >&5
9920 echo "${ECHO_T}yes" >&6
9922 echo "$as_me:$LINENO: result: no" >&5
9923 echo "${ECHO_T}no" >&6
9928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9929 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9931 # Check whether --enable-metafile or --disable-metafile was given.
9932 if test "${enable_metafile+set}" = set; then
9933 enableval
="$enable_metafile"
9935 if test "$enableval" = yes; then
9936 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9938 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9943 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9944 if test "x$LINE" != x
; then
9945 eval "DEFAULT_$LINE"
9950 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9954 eval "$ac_cv_use_metafile"
9955 if test "$no_cache" != 1; then
9956 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9959 if test "$wxUSE_METAFILE" = yes; then
9960 echo "$as_me:$LINENO: result: yes" >&5
9961 echo "${ECHO_T}yes" >&6
9963 echo "$as_me:$LINENO: result: no" >&5
9964 echo "${ECHO_T}no" >&6
9969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9970 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9972 # Check whether --enable-dragimage or --disable-dragimage was given.
9973 if test "${enable_dragimage+set}" = set; then
9974 enableval
="$enable_dragimage"
9976 if test "$enableval" = yes; then
9977 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9979 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9984 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9985 if test "x$LINE" != x
; then
9986 eval "DEFAULT_$LINE"
9991 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9995 eval "$ac_cv_use_dragimage"
9996 if test "$no_cache" != 1; then
9997 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10000 if test "$wxUSE_DRAGIMAGE" = yes; then
10001 echo "$as_me:$LINENO: result: yes" >&5
10002 echo "${ECHO_T}yes" >&6
10004 echo "$as_me:$LINENO: result: no" >&5
10005 echo "${ECHO_T}no" >&6
10010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10011 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10013 # Check whether --enable-accessibility or --disable-accessibility was given.
10014 if test "${enable_accessibility+set}" = set; then
10015 enableval
="$enable_accessibility"
10017 if test "$enableval" = yes; then
10018 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
10020 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
10025 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10026 if test "x$LINE" != x
; then
10027 eval "DEFAULT_$LINE"
10032 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10036 eval "$ac_cv_use_accessibility"
10037 if test "$no_cache" != 1; then
10038 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10041 if test "$wxUSE_ACCESSIBILITY" = yes; then
10042 echo "$as_me:$LINENO: result: yes" >&5
10043 echo "${ECHO_T}yes" >&6
10045 echo "$as_me:$LINENO: result: no" >&5
10046 echo "${ECHO_T}no" >&6
10053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10054 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10056 # Check whether --enable-palette or --disable-palette was given.
10057 if test "${enable_palette+set}" = set; then
10058 enableval
="$enable_palette"
10060 if test "$enableval" = yes; then
10061 ac_cv_use_palette
='wxUSE_PALETTE=yes'
10063 ac_cv_use_palette
='wxUSE_PALETTE=no'
10068 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10069 if test "x$LINE" != x
; then
10070 eval "DEFAULT_$LINE"
10075 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10079 eval "$ac_cv_use_palette"
10080 if test "$no_cache" != 1; then
10081 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10084 if test "$wxUSE_PALETTE" = yes; then
10085 echo "$as_me:$LINENO: result: yes" >&5
10086 echo "${ECHO_T}yes" >&6
10088 echo "$as_me:$LINENO: result: no" >&5
10089 echo "${ECHO_T}no" >&6
10094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10095 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10097 # Check whether --enable-image or --disable-image was given.
10098 if test "${enable_image+set}" = set; then
10099 enableval
="$enable_image"
10101 if test "$enableval" = yes; then
10102 ac_cv_use_image
='wxUSE_IMAGE=yes'
10104 ac_cv_use_image
='wxUSE_IMAGE=no'
10109 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10110 if test "x$LINE" != x
; then
10111 eval "DEFAULT_$LINE"
10116 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10120 eval "$ac_cv_use_image"
10121 if test "$no_cache" != 1; then
10122 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10125 if test "$wxUSE_IMAGE" = yes; then
10126 echo "$as_me:$LINENO: result: yes" >&5
10127 echo "${ECHO_T}yes" >&6
10129 echo "$as_me:$LINENO: result: no" >&5
10130 echo "${ECHO_T}no" >&6
10135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10136 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10138 # Check whether --enable-gif or --disable-gif was given.
10139 if test "${enable_gif+set}" = set; then
10140 enableval
="$enable_gif"
10142 if test "$enableval" = yes; then
10143 ac_cv_use_gif
='wxUSE_GIF=yes'
10145 ac_cv_use_gif
='wxUSE_GIF=no'
10150 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10151 if test "x$LINE" != x
; then
10152 eval "DEFAULT_$LINE"
10157 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10161 eval "$ac_cv_use_gif"
10162 if test "$no_cache" != 1; then
10163 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10166 if test "$wxUSE_GIF" = yes; then
10167 echo "$as_me:$LINENO: result: yes" >&5
10168 echo "${ECHO_T}yes" >&6
10170 echo "$as_me:$LINENO: result: no" >&5
10171 echo "${ECHO_T}no" >&6
10176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10177 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10179 # Check whether --enable-pcx or --disable-pcx was given.
10180 if test "${enable_pcx+set}" = set; then
10181 enableval
="$enable_pcx"
10183 if test "$enableval" = yes; then
10184 ac_cv_use_pcx
='wxUSE_PCX=yes'
10186 ac_cv_use_pcx
='wxUSE_PCX=no'
10191 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10192 if test "x$LINE" != x
; then
10193 eval "DEFAULT_$LINE"
10198 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10202 eval "$ac_cv_use_pcx"
10203 if test "$no_cache" != 1; then
10204 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10207 if test "$wxUSE_PCX" = yes; then
10208 echo "$as_me:$LINENO: result: yes" >&5
10209 echo "${ECHO_T}yes" >&6
10211 echo "$as_me:$LINENO: result: no" >&5
10212 echo "${ECHO_T}no" >&6
10217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10218 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10220 # Check whether --enable-iff or --disable-iff was given.
10221 if test "${enable_iff+set}" = set; then
10222 enableval
="$enable_iff"
10224 if test "$enableval" = yes; then
10225 ac_cv_use_iff
='wxUSE_IFF=yes'
10227 ac_cv_use_iff
='wxUSE_IFF=no'
10232 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10233 if test "x$LINE" != x
; then
10234 eval "DEFAULT_$LINE"
10239 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10243 eval "$ac_cv_use_iff"
10244 if test "$no_cache" != 1; then
10245 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10248 if test "$wxUSE_IFF" = yes; then
10249 echo "$as_me:$LINENO: result: yes" >&5
10250 echo "${ECHO_T}yes" >&6
10252 echo "$as_me:$LINENO: result: no" >&5
10253 echo "${ECHO_T}no" >&6
10258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10259 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10261 # Check whether --enable-pnm or --disable-pnm was given.
10262 if test "${enable_pnm+set}" = set; then
10263 enableval
="$enable_pnm"
10265 if test "$enableval" = yes; then
10266 ac_cv_use_pnm
='wxUSE_PNM=yes'
10268 ac_cv_use_pnm
='wxUSE_PNM=no'
10273 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10274 if test "x$LINE" != x
; then
10275 eval "DEFAULT_$LINE"
10280 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10284 eval "$ac_cv_use_pnm"
10285 if test "$no_cache" != 1; then
10286 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10289 if test "$wxUSE_PNM" = yes; then
10290 echo "$as_me:$LINENO: result: yes" >&5
10291 echo "${ECHO_T}yes" >&6
10293 echo "$as_me:$LINENO: result: no" >&5
10294 echo "${ECHO_T}no" >&6
10299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10300 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10302 # Check whether --enable-xpm or --disable-xpm was given.
10303 if test "${enable_xpm+set}" = set; then
10304 enableval
="$enable_xpm"
10306 if test "$enableval" = yes; then
10307 ac_cv_use_xpm
='wxUSE_XPM=yes'
10309 ac_cv_use_xpm
='wxUSE_XPM=no'
10314 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10315 if test "x$LINE" != x
; then
10316 eval "DEFAULT_$LINE"
10321 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10325 eval "$ac_cv_use_xpm"
10326 if test "$no_cache" != 1; then
10327 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10330 if test "$wxUSE_XPM" = yes; then
10331 echo "$as_me:$LINENO: result: yes" >&5
10332 echo "${ECHO_T}yes" >&6
10334 echo "$as_me:$LINENO: result: no" >&5
10335 echo "${ECHO_T}no" >&6
10340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10341 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10343 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10344 if test "${enable_ico_cur+set}" = set; then
10345 enableval
="$enable_ico_cur"
10347 if test "$enableval" = yes; then
10348 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
10350 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
10355 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10356 if test "x$LINE" != x
; then
10357 eval "DEFAULT_$LINE"
10362 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10366 eval "$ac_cv_use_ico_cur"
10367 if test "$no_cache" != 1; then
10368 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10371 if test "$wxUSE_ICO_CUR" = yes; then
10372 echo "$as_me:$LINENO: result: yes" >&5
10373 echo "${ECHO_T}yes" >&6
10375 echo "$as_me:$LINENO: result: no" >&5
10376 echo "${ECHO_T}no" >&6
10384 # Check whether --with-flavour or --without-flavour was given.
10385 if test "${with_flavour+set}" = set; then
10386 withval
="$with_flavour"
10387 WX_FLAVOUR
="$withval"
10393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10394 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10396 # Check whether --enable-official_build or --disable-official_build was given.
10397 if test "${enable_official_build+set}" = set; then
10398 enableval
="$enable_official_build"
10400 if test "$enableval" = yes; then
10401 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10403 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10408 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10409 if test "x$LINE" != x
; then
10410 eval "DEFAULT_$LINE"
10415 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10419 eval "$ac_cv_use_official_build"
10420 if test "$no_cache" != 1; then
10421 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10424 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10425 echo "$as_me:$LINENO: result: yes" >&5
10426 echo "${ECHO_T}yes" >&6
10428 echo "$as_me:$LINENO: result: no" >&5
10429 echo "${ECHO_T}no" >&6
10432 # Check whether --enable-vendor or --disable-vendor was given.
10433 if test "${enable_vendor+set}" = set; then
10434 enableval
="$enable_vendor"
10435 VENDOR
="$enableval"
10437 if test "x$VENDOR" = "x"; then
10444 echo "saving argument cache $wx_arg_cache_file"
10445 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10449 echo "$as_me:$LINENO: checking for toolkit" >&5
10450 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10452 # In Wine, we need to default to MSW, not GTK or MOTIF
10453 if test "$wxUSE_WINE" = "yes"; then
10454 DEFAULT_DEFAULT_wxUSE_GTK
=0
10455 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10456 DEFAULT_DEFAULT_wxUSE_MSW
=1
10461 if test "$wxUSE_GUI" = "yes"; then
10463 if test "$USE_BEOS" = 1; then
10464 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10465 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10466 { (exit 1); exit 1; }; }
10469 if test "$TOOLKIT_GIVEN" = 1; then
10470 for toolkit
in `echo $ALL_TOOLKITS`; do
10472 eval "value=\$${var}"
10473 if test "x$value" = "xno"; then
10475 elif test "x$value" != "x"; then
10479 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10480 eval "wx${toolkit}_VERSION=$value"
10484 for toolkit
in `echo $ALL_TOOLKITS`; do
10485 if test "$has_toolkit_in_cache" != 1; then
10486 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10488 var
=DEFAULT_wxUSE_
$toolkit
10490 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10491 if test "x$version" != "x"; then
10492 eval "wx${toolkit}_VERSION=$version"
10495 eval "wxUSE_$toolkit=\$${var}"
10499 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10500 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10501 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10504 *-pc-os2_emx | *-pc-os2-emx )
10505 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10508 case "$NUM_TOOLKITS" in
10512 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10513 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10514 { (exit 1); exit 1; }; }
10517 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10518 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10519 { (exit 1); exit 1; }; }
10522 # to be removed when --disable-gtk2 isn't needed
10523 if test "x$wxUSE_GTK2" = "xyes"; then
10525 elif test "x$wxUSE_GTK2" = "xno"; then
10529 for toolkit
in `echo $ALL_TOOLKITS`; do
10531 eval "value=\$${var}"
10532 if test "x$value" != x
; then
10533 cache_var
=CACHE_
$toolkit
10534 eval "cache=\$${cache_var}"
10535 if test "$cache" = 1; then
10536 echo "$var=$value" >> ${wx_arg_cache_file}
10537 eval "version=\$wx${toolkit}_VERSION"
10538 if test "x$version" != "x"; then
10539 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10542 if test "$value" = 1; then
10543 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10544 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10545 echo "${ECHO_T}$toolkit_echo" >&6
10550 if test "x$host_alias" != "x"; then
10551 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10552 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10554 echo "$as_me:$LINENO: result: base only" >&5
10555 echo "${ECHO_T}base only" >&6
10560 doesnt_want_win32
=0
10563 if test "$wxUSE_MSW" = 1 ; then
10566 doesnt_want_win32
=1
10574 if test "$wxUSE_WINE" = "yes"; then
10579 LDFLAGS_GUI
="-mwindows"
10582 if test "$wants_win32" = 1 ; then
10585 cat >>confdefs.h
<<\_ACEOF
10586 #define __WIN32__ 1
10589 cat >>confdefs.h
<<\_ACEOF
10590 #define __WIN95__ 1
10593 cat >>confdefs.h
<<\_ACEOF
10594 #define __WINDOWS__ 1
10597 cat >>confdefs.h
<<\_ACEOF
10598 #define __GNUWIN32__ 1
10601 cat >>confdefs.h
<<\_ACEOF
10605 cat >>confdefs.h
<<\_ACEOF
10606 #define WINVER 0x0400
10610 if test "$doesnt_want_win32" = 1 ; then
10615 if test "$USE_UNIX" = 1 ; then
10617 cat >>confdefs.h
<<\_ACEOF
10624 cat >confcache
<<\_ACEOF
10625 # This file is a shell script that caches the results of configure
10626 # tests run on this system so they can be shared between configure
10627 # scripts and configure runs, see configure's option --config-cache.
10628 # It is not useful on other systems. If it contains results you don't
10629 # want to keep, you may remove or edit it.
10631 # config.status only pays attention to the cache file if you give it
10632 # the --recheck option to rerun configure.
10634 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10635 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10636 # following values.
10640 # The following way of writing the cache mishandles newlines in values,
10641 # but we know of no workaround that is simple, portable, and efficient.
10642 # So, don't put newlines in cache variables' values.
10643 # Ultrix sh set writes to stderr and can't be redirected directly,
10644 # and sets the high bit in the cache file unless we assign to the vars.
10647 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10649 # `set' does not quote correctly, so add quotes (double-quote
10650 # substitution turns \\\\ into \\, and sed turns \\ into \).
10653 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10656 # `set' quotes correctly as required by POSIX, so do not add quotes.
10658 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10665 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10667 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10669 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10670 if test -w $cache_file; then
10671 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10672 cat confcache
>$cache_file
10674 echo "not updating unwritable cache $cache_file"
10679 if test "$build" != "$host" ; then
10680 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10682 CXX
=$host_alias-c++
10684 RANLIB
=$host_alias-ranlib
10685 DLLTOOL
=$host_alias-dlltool
10686 RESCOMP
=$host_alias-windres
10687 STRIP
=$host_alias-strip
10688 elif test "x$CC" '!=' "x"; then
10689 echo "You set CC, I assume you know what you are doing."
10691 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10692 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10693 { (exit 1); exit 1; }; }
10701 ac_cpp
='$CPP $CPPFLAGS'
10702 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10703 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10704 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10705 if test -n "$ac_tool_prefix"; then
10706 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10707 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10708 echo "$as_me:$LINENO: checking for $ac_word" >&5
10709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10710 if test "${ac_cv_prog_CC+set}" = set; then
10711 echo $ECHO_N "(cached) $ECHO_C" >&6
10713 if test -n "$CC"; then
10714 ac_cv_prog_CC
="$CC" # Let the user override the test.
10716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10717 for as_dir
in $PATH
10720 test -z "$as_dir" && as_dir
=.
10721 for ac_exec_ext
in '' $ac_executable_extensions; do
10722 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10723 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10724 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10733 if test -n "$CC"; then
10734 echo "$as_me:$LINENO: result: $CC" >&5
10735 echo "${ECHO_T}$CC" >&6
10737 echo "$as_me:$LINENO: result: no" >&5
10738 echo "${ECHO_T}no" >&6
10742 if test -z "$ac_cv_prog_CC"; then
10744 # Extract the first word of "gcc", so it can be a program name with args.
10745 set dummy gcc
; ac_word
=$2
10746 echo "$as_me:$LINENO: checking for $ac_word" >&5
10747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10748 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10749 echo $ECHO_N "(cached) $ECHO_C" >&6
10751 if test -n "$ac_ct_CC"; then
10752 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10755 for as_dir
in $PATH
10758 test -z "$as_dir" && as_dir
=.
10759 for ac_exec_ext
in '' $ac_executable_extensions; do
10760 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10761 ac_cv_prog_ac_ct_CC
="gcc"
10762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10770 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10771 if test -n "$ac_ct_CC"; then
10772 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10773 echo "${ECHO_T}$ac_ct_CC" >&6
10775 echo "$as_me:$LINENO: result: no" >&5
10776 echo "${ECHO_T}no" >&6
10781 CC
="$ac_cv_prog_CC"
10784 if test -z "$CC"; then
10785 if test -n "$ac_tool_prefix"; then
10786 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10787 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10788 echo "$as_me:$LINENO: checking for $ac_word" >&5
10789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10790 if test "${ac_cv_prog_CC+set}" = set; then
10791 echo $ECHO_N "(cached) $ECHO_C" >&6
10793 if test -n "$CC"; then
10794 ac_cv_prog_CC
="$CC" # Let the user override the test.
10796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10797 for as_dir
in $PATH
10800 test -z "$as_dir" && as_dir
=.
10801 for ac_exec_ext
in '' $ac_executable_extensions; do
10802 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10803 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10813 if test -n "$CC"; then
10814 echo "$as_me:$LINENO: result: $CC" >&5
10815 echo "${ECHO_T}$CC" >&6
10817 echo "$as_me:$LINENO: result: no" >&5
10818 echo "${ECHO_T}no" >&6
10822 if test -z "$ac_cv_prog_CC"; then
10824 # Extract the first word of "cc", so it can be a program name with args.
10825 set dummy cc
; ac_word
=$2
10826 echo "$as_me:$LINENO: checking for $ac_word" >&5
10827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10828 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10829 echo $ECHO_N "(cached) $ECHO_C" >&6
10831 if test -n "$ac_ct_CC"; then
10832 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10835 for as_dir
in $PATH
10838 test -z "$as_dir" && as_dir
=.
10839 for ac_exec_ext
in '' $ac_executable_extensions; do
10840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10841 ac_cv_prog_ac_ct_CC
="cc"
10842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10850 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10851 if test -n "$ac_ct_CC"; then
10852 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10853 echo "${ECHO_T}$ac_ct_CC" >&6
10855 echo "$as_me:$LINENO: result: no" >&5
10856 echo "${ECHO_T}no" >&6
10861 CC
="$ac_cv_prog_CC"
10865 if test -z "$CC"; then
10866 # Extract the first word of "cc", so it can be a program name with args.
10867 set dummy cc
; ac_word
=$2
10868 echo "$as_me:$LINENO: checking for $ac_word" >&5
10869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10870 if test "${ac_cv_prog_CC+set}" = set; then
10871 echo $ECHO_N "(cached) $ECHO_C" >&6
10873 if test -n "$CC"; then
10874 ac_cv_prog_CC
="$CC" # Let the user override the test.
10876 ac_prog_rejected
=no
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 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10885 ac_prog_rejected
=yes
10889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10895 if test $ac_prog_rejected = yes; then
10896 # We found a bogon in the path, so make sure we never use it.
10897 set dummy
$ac_cv_prog_CC
10899 if test $# != 0; then
10900 # We chose a different compiler from the bogus one.
10901 # However, it has the same basename, so the bogon will be chosen
10902 # first if we set CC to just the basename; use the full file name.
10904 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10910 if test -n "$CC"; then
10911 echo "$as_me:$LINENO: result: $CC" >&5
10912 echo "${ECHO_T}$CC" >&6
10914 echo "$as_me:$LINENO: result: no" >&5
10915 echo "${ECHO_T}no" >&6
10919 if test -z "$CC"; then
10920 if test -n "$ac_tool_prefix"; then
10923 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10924 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10925 echo "$as_me:$LINENO: checking for $ac_word" >&5
10926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10927 if test "${ac_cv_prog_CC+set}" = set; then
10928 echo $ECHO_N "(cached) $ECHO_C" >&6
10930 if test -n "$CC"; then
10931 ac_cv_prog_CC
="$CC" # Let the user override the test.
10933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10934 for as_dir
in $PATH
10937 test -z "$as_dir" && as_dir
=.
10938 for ac_exec_ext
in '' $ac_executable_extensions; do
10939 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10940 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10950 if test -n "$CC"; then
10951 echo "$as_me:$LINENO: result: $CC" >&5
10952 echo "${ECHO_T}$CC" >&6
10954 echo "$as_me:$LINENO: result: no" >&5
10955 echo "${ECHO_T}no" >&6
10958 test -n "$CC" && break
10961 if test -z "$CC"; then
10965 # Extract the first word of "$ac_prog", so it can be a program name with args.
10966 set dummy
$ac_prog; ac_word
=$2
10967 echo "$as_me:$LINENO: checking for $ac_word" >&5
10968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10969 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10970 echo $ECHO_N "(cached) $ECHO_C" >&6
10972 if test -n "$ac_ct_CC"; then
10973 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10976 for as_dir
in $PATH
10979 test -z "$as_dir" && as_dir
=.
10980 for ac_exec_ext
in '' $ac_executable_extensions; do
10981 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10982 ac_cv_prog_ac_ct_CC
="$ac_prog"
10983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10991 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10992 if test -n "$ac_ct_CC"; then
10993 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10994 echo "${ECHO_T}$ac_ct_CC" >&6
10996 echo "$as_me:$LINENO: result: no" >&5
10997 echo "${ECHO_T}no" >&6
11000 test -n "$ac_ct_CC" && break
11009 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11010 See \`config.log' for more details." >&5
11011 echo "$as_me: error: no acceptable C compiler found in \$PATH
11012 See \`config.log' for more details." >&2;}
11013 { (exit 1); exit 1; }; }
11015 # Provide some information about the compiler.
11016 echo "$as_me:$LINENO:" \
11017 "checking for C compiler version" >&5
11018 ac_compiler
=`set X $ac_compile; echo $2`
11019 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11020 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11023 (exit $ac_status); }
11024 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11025 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11028 (exit $ac_status); }
11029 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11030 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11033 (exit $ac_status); }
11035 cat >conftest.
$ac_ext <<_ACEOF
11038 cat confdefs.h
>>conftest.
$ac_ext
11039 cat >>conftest.
$ac_ext <<_ACEOF
11040 /* end confdefs.h. */
11050 ac_clean_files_save
=$ac_clean_files
11051 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
11052 # Try to create an executable without -o first, disregard a.out.
11053 # It will help us diagnose broken compilers, and finding out an intuition
11055 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11056 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11057 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11058 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11059 (eval $ac_link_default) 2>&5
11061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11062 (exit $ac_status); }; then
11063 # Find the output, starting from the most likely. This scheme is
11064 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11067 # Be careful to initialize this variable, since it used to be cached.
11068 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11070 # b.out is created by i960 compilers.
11071 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
11073 test -f "$ac_file" || continue
11075 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
11078 # This is the source file.
11081 # We found the default executable, but exeext='' is most
11085 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11086 # FIXME: I believe we export ac_cv_exeext for Libtool,
11087 # but it would be cool to find out if it's true. Does anybody
11088 # maintain Libtool? --akim.
11089 export ac_cv_exeext
11096 echo "$as_me: failed program was:" >&5
11097 sed 's/^/| /' conftest.
$ac_ext >&5
11099 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11100 See \`config.log' for more details." >&5
11101 echo "$as_me: error: C compiler cannot create executables
11102 See \`config.log' for more details." >&2;}
11103 { (exit 77); exit 77; }; }
11106 ac_exeext
=$ac_cv_exeext
11107 echo "$as_me:$LINENO: result: $ac_file" >&5
11108 echo "${ECHO_T}$ac_file" >&6
11110 # Check the compiler produces executables we can run. If not, either
11111 # the compiler is broken, or we cross compile.
11112 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11113 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11114 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11115 # If not cross compiling, check that we can run a simple program.
11116 if test "$cross_compiling" != yes; then
11117 if { ac_try
='./$ac_file'
11118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11119 (eval $ac_try) 2>&5
11121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11122 (exit $ac_status); }; }; then
11125 if test "$cross_compiling" = maybe
; then
11126 cross_compiling
=yes
11128 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11129 If you meant to cross compile, use \`--host'.
11130 See \`config.log' for more details." >&5
11131 echo "$as_me: error: cannot run C compiled programs.
11132 If you meant to cross compile, use \`--host'.
11133 See \`config.log' for more details." >&2;}
11134 { (exit 1); exit 1; }; }
11138 echo "$as_me:$LINENO: result: yes" >&5
11139 echo "${ECHO_T}yes" >&6
11141 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11142 ac_clean_files
=$ac_clean_files_save
11143 # Check the compiler produces executables we can run. If not, either
11144 # the compiler is broken, or we cross compile.
11145 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11146 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11147 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11148 echo "${ECHO_T}$cross_compiling" >&6
11150 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11151 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11153 (eval $ac_link) 2>&5
11155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11156 (exit $ac_status); }; then
11157 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11158 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11159 # work properly (i.e., refer to `conftest.exe'), while it won't with
11161 for ac_file
in conftest.exe conftest conftest.
*; do
11162 test -f "$ac_file" || continue
11164 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11165 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11166 export ac_cv_exeext
11172 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11173 See \`config.log' for more details." >&5
11174 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11175 See \`config.log' for more details." >&2;}
11176 { (exit 1); exit 1; }; }
11179 rm -f conftest
$ac_cv_exeext
11180 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11181 echo "${ECHO_T}$ac_cv_exeext" >&6
11183 rm -f conftest.
$ac_ext
11184 EXEEXT
=$ac_cv_exeext
11186 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11187 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11188 if test "${ac_cv_objext+set}" = set; then
11189 echo $ECHO_N "(cached) $ECHO_C" >&6
11191 cat >conftest.
$ac_ext <<_ACEOF
11194 cat confdefs.h
>>conftest.
$ac_ext
11195 cat >>conftest.
$ac_ext <<_ACEOF
11196 /* end confdefs.h. */
11206 rm -f conftest.o conftest.obj
11207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11208 (eval $ac_compile) 2>&5
11210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11211 (exit $ac_status); }; then
11212 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11214 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
11215 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11220 echo "$as_me: failed program was:" >&5
11221 sed 's/^/| /' conftest.
$ac_ext >&5
11223 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11224 See \`config.log' for more details." >&5
11225 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11226 See \`config.log' for more details." >&2;}
11227 { (exit 1); exit 1; }; }
11230 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11232 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11233 echo "${ECHO_T}$ac_cv_objext" >&6
11234 OBJEXT
=$ac_cv_objext
11236 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11237 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11238 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11239 echo $ECHO_N "(cached) $ECHO_C" >&6
11241 cat >conftest.
$ac_ext <<_ACEOF
11244 cat confdefs.h
>>conftest.
$ac_ext
11245 cat >>conftest.
$ac_ext <<_ACEOF
11246 /* end confdefs.h. */
11259 rm -f conftest.
$ac_objext
11260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11261 (eval $ac_compile) 2>conftest.er1
11263 grep -v '^ *+' conftest.er1
>conftest.err
11265 cat conftest.err
>&5
11266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11267 (exit $ac_status); } &&
11268 { ac_try
='test -z "$ac_c_werror_flag"
11269 || test ! -s conftest.err'
11270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11271 (eval $ac_try) 2>&5
11273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11274 (exit $ac_status); }; } &&
11275 { ac_try
='test -s conftest.$ac_objext'
11276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11277 (eval $ac_try) 2>&5
11279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11280 (exit $ac_status); }; }; then
11281 ac_compiler_gnu
=yes
11283 echo "$as_me: failed program was:" >&5
11284 sed 's/^/| /' conftest.
$ac_ext >&5
11288 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11289 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11292 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11293 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11294 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11295 ac_test_CFLAGS
=${CFLAGS+set}
11296 ac_save_CFLAGS
=$CFLAGS
11298 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11299 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11300 if test "${ac_cv_prog_cc_g+set}" = set; then
11301 echo $ECHO_N "(cached) $ECHO_C" >&6
11303 cat >conftest.
$ac_ext <<_ACEOF
11306 cat confdefs.h
>>conftest.
$ac_ext
11307 cat >>conftest.
$ac_ext <<_ACEOF
11308 /* end confdefs.h. */
11318 rm -f conftest.
$ac_objext
11319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11320 (eval $ac_compile) 2>conftest.er1
11322 grep -v '^ *+' conftest.er1
>conftest.err
11324 cat conftest.err
>&5
11325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11326 (exit $ac_status); } &&
11327 { ac_try
='test -z "$ac_c_werror_flag"
11328 || test ! -s conftest.err'
11329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11330 (eval $ac_try) 2>&5
11332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11333 (exit $ac_status); }; } &&
11334 { ac_try
='test -s conftest.$ac_objext'
11335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11336 (eval $ac_try) 2>&5
11338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11339 (exit $ac_status); }; }; then
11340 ac_cv_prog_cc_g
=yes
11342 echo "$as_me: failed program was:" >&5
11343 sed 's/^/| /' conftest.
$ac_ext >&5
11347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11349 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11350 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11351 if test "$ac_test_CFLAGS" = set; then
11352 CFLAGS
=$ac_save_CFLAGS
11353 elif test $ac_cv_prog_cc_g = yes; then
11354 if test "$GCC" = yes; then
11360 if test "$GCC" = yes; then
11366 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11367 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11368 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11369 echo $ECHO_N "(cached) $ECHO_C" >&6
11371 ac_cv_prog_cc_stdc
=no
11373 cat >conftest.
$ac_ext <<_ACEOF
11376 cat confdefs.h
>>conftest.
$ac_ext
11377 cat >>conftest.
$ac_ext <<_ACEOF
11378 /* end confdefs.h. */
11379 #include <stdarg.h>
11381 #include <sys/types.h>
11382 #include <sys/stat.h>
11383 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11384 struct buf { int x; };
11385 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11386 static char *e (p, i)
11392 static char *f (char * (*g) (char **, int), char **p, ...)
11397 s = g (p, va_arg (v,int));
11402 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11403 function prototypes and stuff, but not '\xHH' hex character constants.
11404 These don't provoke an error unfortunately, instead are silently treated
11405 as 'x'. The following induces an error, until -std1 is added to get
11406 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11407 array size at least. It's necessary to write '\x00'==0 to get something
11408 that's true only with -std1. */
11409 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11411 int test (int i, double x);
11412 struct s1 {int (*f) (int a);};
11413 struct s2 {int (*f) (double a);};
11414 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11420 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11425 # Don't try gcc -ansi; that turns off useful extensions and
11426 # breaks some systems' header files.
11427 # AIX -qlanglvl=ansi
11428 # Ultrix and OSF/1 -std1
11429 # HP-UX 10.20 and later -Ae
11430 # HP-UX older versions -Aa -D_HPUX_SOURCE
11431 # SVR4 -Xc -D__EXTENSIONS__
11432 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11434 CC
="$ac_save_CC $ac_arg"
11435 rm -f conftest.
$ac_objext
11436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11437 (eval $ac_compile) 2>conftest.er1
11439 grep -v '^ *+' conftest.er1
>conftest.err
11441 cat conftest.err
>&5
11442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11443 (exit $ac_status); } &&
11444 { ac_try
='test -z "$ac_c_werror_flag"
11445 || test ! -s conftest.err'
11446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11447 (eval $ac_try) 2>&5
11449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11450 (exit $ac_status); }; } &&
11451 { ac_try
='test -s conftest.$ac_objext'
11452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11453 (eval $ac_try) 2>&5
11455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11456 (exit $ac_status); }; }; then
11457 ac_cv_prog_cc_stdc
=$ac_arg
11460 echo "$as_me: failed program was:" >&5
11461 sed 's/^/| /' conftest.
$ac_ext >&5
11464 rm -f conftest.err conftest.
$ac_objext
11466 rm -f conftest.
$ac_ext conftest.
$ac_objext
11471 case "x$ac_cv_prog_cc_stdc" in
11473 echo "$as_me:$LINENO: result: none needed" >&5
11474 echo "${ECHO_T}none needed" >&6 ;;
11476 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11477 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11478 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11481 # Some people use a C++ compiler to compile C. Since we use `exit',
11482 # in C++ we need to declare it. In case someone uses the same compiler
11483 # for both compiling C and C++ we need to have the C++ compiler decide
11484 # the declaration of exit, since it's the most demanding environment.
11485 cat >conftest.
$ac_ext <<_ACEOF
11486 #ifndef __cplusplus
11490 rm -f conftest.
$ac_objext
11491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11492 (eval $ac_compile) 2>conftest.er1
11494 grep -v '^ *+' conftest.er1
>conftest.err
11496 cat conftest.err
>&5
11497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11498 (exit $ac_status); } &&
11499 { ac_try
='test -z "$ac_c_werror_flag"
11500 || test ! -s conftest.err'
11501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11502 (eval $ac_try) 2>&5
11504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11505 (exit $ac_status); }; } &&
11506 { ac_try
='test -s conftest.$ac_objext'
11507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11508 (eval $ac_try) 2>&5
11510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11511 (exit $ac_status); }; }; then
11512 for ac_declaration
in \
11514 'extern "C" void std::exit (int) throw (); using std::exit;' \
11515 'extern "C" void std::exit (int); using std::exit;' \
11516 'extern "C" void exit (int) throw ();' \
11517 'extern "C" void exit (int);' \
11520 cat >conftest.
$ac_ext <<_ACEOF
11523 cat confdefs.h
>>conftest.
$ac_ext
11524 cat >>conftest.
$ac_ext <<_ACEOF
11525 /* end confdefs.h. */
11527 #include <stdlib.h>
11536 rm -f conftest.
$ac_objext
11537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11538 (eval $ac_compile) 2>conftest.er1
11540 grep -v '^ *+' conftest.er1
>conftest.err
11542 cat conftest.err
>&5
11543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11544 (exit $ac_status); } &&
11545 { ac_try
='test -z "$ac_c_werror_flag"
11546 || test ! -s conftest.err'
11547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11548 (eval $ac_try) 2>&5
11550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11551 (exit $ac_status); }; } &&
11552 { ac_try
='test -s conftest.$ac_objext'
11553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11554 (eval $ac_try) 2>&5
11556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11557 (exit $ac_status); }; }; then
11560 echo "$as_me: failed program was:" >&5
11561 sed 's/^/| /' conftest.
$ac_ext >&5
11565 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11566 cat >conftest.
$ac_ext <<_ACEOF
11569 cat confdefs.h
>>conftest.
$ac_ext
11570 cat >>conftest.
$ac_ext <<_ACEOF
11571 /* end confdefs.h. */
11581 rm -f conftest.
$ac_objext
11582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11583 (eval $ac_compile) 2>conftest.er1
11585 grep -v '^ *+' conftest.er1
>conftest.err
11587 cat conftest.err
>&5
11588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11589 (exit $ac_status); } &&
11590 { ac_try
='test -z "$ac_c_werror_flag"
11591 || test ! -s conftest.err'
11592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11593 (eval $ac_try) 2>&5
11595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11596 (exit $ac_status); }; } &&
11597 { ac_try
='test -s conftest.$ac_objext'
11598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11599 (eval $ac_try) 2>&5
11601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11602 (exit $ac_status); }; }; then
11605 echo "$as_me: failed program was:" >&5
11606 sed 's/^/| /' conftest.
$ac_ext >&5
11609 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11612 if test -n "$ac_declaration"; then
11613 echo '#ifdef __cplusplus' >>confdefs.h
11614 echo $ac_declaration >>confdefs.h
11615 echo '#endif' >>confdefs.h
11619 echo "$as_me: failed program was:" >&5
11620 sed 's/^/| /' conftest.
$ac_ext >&5
11623 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11625 ac_cpp
='$CPP $CPPFLAGS'
11626 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11627 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11628 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11630 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11631 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11632 if test "${wx_cv_c_exto+set}" = set; then
11633 echo $ECHO_N "(cached) $ECHO_C" >&6
11635 cat >conftest.
$ac_ext <<_ACEOF
11638 cat confdefs.h
>>conftest.
$ac_ext
11639 cat >>conftest.
$ac_ext <<_ACEOF
11640 /* end confdefs.h. */
11650 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
11651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11652 (eval $ac_compile) 2>&5
11654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11655 (exit $ac_status); }; then
11656 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
11658 conftest.
$ac_ext.o
)
11659 wx_cv_c_exto
="-ext o"
11666 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11667 See \`config.log' for more details." >&5
11668 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11669 See \`config.log' for more details." >&2;}
11670 { (exit 1); exit 1; }; }
11674 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
11677 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5
11678 echo "${ECHO_T}$wx_cv_c_exto" >&6
11679 if test "x$wx_cv_c_exto" '!=' "x"; then
11680 if test "c" = "c"; then
11681 CFLAGS
="$wx_cv_c_exto $CFLAGS"
11683 if test "c" = "cxx"; then
11684 CXXFLAGS
="$wx_cv_c_exto $CXXFLAGS"
11688 if test "x$wx_cv_c_exto" '!=' "x"; then
11689 unset ac_cv_prog_cc_g
11690 ac_test_CFLAGS
=${CFLAGS+set}
11691 ac_save_CFLAGS
=$CFLAGS
11693 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11694 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11695 if test "${ac_cv_prog_cc_g+set}" = set; then
11696 echo $ECHO_N "(cached) $ECHO_C" >&6
11698 cat >conftest.
$ac_ext <<_ACEOF
11701 cat confdefs.h
>>conftest.
$ac_ext
11702 cat >>conftest.
$ac_ext <<_ACEOF
11703 /* end confdefs.h. */
11713 rm -f conftest.
$ac_objext
11714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11715 (eval $ac_compile) 2>conftest.er1
11717 grep -v '^ *+' conftest.er1
>conftest.err
11719 cat conftest.err
>&5
11720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11721 (exit $ac_status); } &&
11722 { ac_try
='test -z "$ac_c_werror_flag"
11723 || test ! -s conftest.err'
11724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11725 (eval $ac_try) 2>&5
11727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11728 (exit $ac_status); }; } &&
11729 { ac_try
='test -s conftest.$ac_objext'
11730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11731 (eval $ac_try) 2>&5
11733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11734 (exit $ac_status); }; }; then
11735 ac_cv_prog_cc_g
=yes
11737 echo "$as_me: failed program was:" >&5
11738 sed 's/^/| /' conftest.
$ac_ext >&5
11742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11744 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11745 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11746 if test "$ac_test_CFLAGS" = set; then
11747 CFLAGS
=$ac_save_CFLAGS
11748 elif test $ac_cv_prog_cc_g = yes; then
11749 if test "$GCC" = yes; then
11755 if test "$GCC" = yes; then
11763 ac_cpp
='$CPP $CPPFLAGS'
11764 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11765 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11766 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11768 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11769 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11770 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11771 echo $ECHO_N "(cached) $ECHO_C" >&6
11773 cat >conftest.
$ac_ext <<_ACEOF
11776 cat confdefs.h
>>conftest.
$ac_ext
11777 cat >>conftest.
$ac_ext <<_ACEOF
11778 /* end confdefs.h. */
11791 rm -f conftest.
$ac_objext
11792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11793 (eval $ac_compile) 2>conftest.er1
11795 grep -v '^ *+' conftest.er1
>conftest.err
11797 cat conftest.err
>&5
11798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11799 (exit $ac_status); } &&
11800 { ac_try
='test -z "$ac_c_werror_flag"
11801 || test ! -s conftest.err'
11802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11803 (eval $ac_try) 2>&5
11805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11806 (exit $ac_status); }; } &&
11807 { ac_try
='test -s conftest.$ac_objext'
11808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11809 (eval $ac_try) 2>&5
11811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11812 (exit $ac_status); }; }; then
11813 bakefile_compiler_mwerks
=yes
11815 echo "$as_me: failed program was:" >&5
11816 sed 's/^/| /' conftest.
$ac_ext >&5
11818 bakefile_compiler_mwerks
=no
11820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11821 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
11824 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11825 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11827 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
11829 ac_cpp
='$CPP $CPPFLAGS'
11830 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11831 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11832 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11836 ac_cpp
='$CPP $CPPFLAGS'
11837 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11838 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11839 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11841 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11842 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11843 if test "${wx_cv_c_compiler_xlc+set}" = set; then
11844 echo $ECHO_N "(cached) $ECHO_C" >&6
11846 cat >conftest.
$ac_ext <<_ACEOF
11849 cat confdefs.h
>>conftest.
$ac_ext
11850 cat >>conftest.
$ac_ext <<_ACEOF
11851 /* end confdefs.h. */
11864 rm -f conftest.
$ac_objext
11865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11866 (eval $ac_compile) 2>conftest.er1
11868 grep -v '^ *+' conftest.er1
>conftest.err
11870 cat conftest.err
>&5
11871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11872 (exit $ac_status); } &&
11873 { ac_try
='test -z "$ac_c_werror_flag"
11874 || test ! -s conftest.err'
11875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11876 (eval $ac_try) 2>&5
11878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11879 (exit $ac_status); }; } &&
11880 { ac_try
='test -s conftest.$ac_objext'
11881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11882 (eval $ac_try) 2>&5
11884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11885 (exit $ac_status); }; }; then
11886 wx_compiler_xlc
=yes
11888 echo "$as_me: failed program was:" >&5
11889 sed 's/^/| /' conftest.
$ac_ext >&5
11893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11894 wx_cv_c_compiler_xlc
=$wx_compiler_xlc
11897 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
11898 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
11900 XLCC
=`test $wx_cv_c_compiler_xlc = yes && echo yes`
11902 ac_cpp
='$CPP $CPPFLAGS'
11903 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11904 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11905 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11911 ac_cpp
='$CPP $CPPFLAGS'
11912 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11913 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11914 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11916 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
11917 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
11918 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
11919 echo $ECHO_N "(cached) $ECHO_C" >&6
11921 cat >conftest.
$ac_ext <<_ACEOF
11924 cat confdefs.h
>>conftest.
$ac_ext
11925 cat >>conftest.
$ac_ext <<_ACEOF
11926 /* end confdefs.h. */
11940 rm -f conftest.
$ac_objext
11941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11942 (eval $ac_compile) 2>conftest.er1
11944 grep -v '^ *+' conftest.er1
>conftest.err
11946 cat conftest.err
>&5
11947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11948 (exit $ac_status); } &&
11949 { ac_try
='test -z "$ac_c_werror_flag"
11950 || test ! -s conftest.err'
11951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11952 (eval $ac_try) 2>&5
11954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11955 (exit $ac_status); }; } &&
11956 { ac_try
='test -s conftest.$ac_objext'
11957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11958 (eval $ac_try) 2>&5
11960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11961 (exit $ac_status); }; }; then
11962 bakefile_cv_c_compiler___SUNPRO_C
=yes
11964 echo "$as_me: failed program was:" >&5
11965 sed 's/^/| /' conftest.
$ac_ext >&5
11967 bakefile_cv_c_compiler___SUNPRO_C
=no
11970 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11974 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
11975 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
11977 ac_cpp
='$CPP $CPPFLAGS'
11978 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11979 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11980 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11982 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
11992 ac_cpp
='$CPP $CPPFLAGS'
11993 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11994 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11995 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11996 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11997 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11998 # On Suns, sometimes $CPP names a directory.
11999 if test -n "$CPP" && test -d "$CPP"; then
12002 if test -z "$CPP"; then
12003 if test "${ac_cv_prog_CPP+set}" = set; then
12004 echo $ECHO_N "(cached) $ECHO_C" >&6
12006 # Double quotes because CPP needs to be expanded
12007 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12009 ac_preproc_ok
=false
12010 for ac_c_preproc_warn_flag
in '' yes
12012 # Use a header file that comes with gcc, so configuring glibc
12013 # with a fresh cross-compiler works.
12014 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12015 # <limits.h> exists even on freestanding compilers.
12016 # On the NeXT, cc -E runs the code through the compiler's parser,
12017 # not just through cpp. "Syntax error" is here to catch this case.
12018 cat >conftest.
$ac_ext <<_ACEOF
12021 cat confdefs.h
>>conftest.
$ac_ext
12022 cat >>conftest.
$ac_ext <<_ACEOF
12023 /* end confdefs.h. */
12025 # include <limits.h>
12027 # include <assert.h>
12031 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12032 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12034 grep -v '^ *+' conftest.er1
>conftest.err
12036 cat conftest.err
>&5
12037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12038 (exit $ac_status); } >/dev
/null
; then
12039 if test -s conftest.err
; then
12040 ac_cpp_err
=$ac_c_preproc_warn_flag
12041 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12048 if test -z "$ac_cpp_err"; then
12051 echo "$as_me: failed program was:" >&5
12052 sed 's/^/| /' conftest.
$ac_ext >&5
12054 # Broken: fails on valid input.
12057 rm -f conftest.err conftest.
$ac_ext
12059 # OK, works on sane cases. Now check whether non-existent headers
12060 # can be detected and how.
12061 cat >conftest.
$ac_ext <<_ACEOF
12064 cat confdefs.h
>>conftest.
$ac_ext
12065 cat >>conftest.
$ac_ext <<_ACEOF
12066 /* end confdefs.h. */
12067 #include <ac_nonexistent.h>
12069 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12070 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12072 grep -v '^ *+' conftest.er1
>conftest.err
12074 cat conftest.err
>&5
12075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12076 (exit $ac_status); } >/dev
/null
; then
12077 if test -s conftest.err
; then
12078 ac_cpp_err
=$ac_c_preproc_warn_flag
12079 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12086 if test -z "$ac_cpp_err"; then
12087 # Broken: success on invalid input.
12090 echo "$as_me: failed program was:" >&5
12091 sed 's/^/| /' conftest.
$ac_ext >&5
12093 # Passes both tests.
12097 rm -f conftest.err conftest.
$ac_ext
12100 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12101 rm -f conftest.err conftest.
$ac_ext
12102 if $ac_preproc_ok; then
12107 ac_cv_prog_CPP
=$CPP
12110 CPP
=$ac_cv_prog_CPP
12112 ac_cv_prog_CPP
=$CPP
12114 echo "$as_me:$LINENO: result: $CPP" >&5
12115 echo "${ECHO_T}$CPP" >&6
12116 ac_preproc_ok
=false
12117 for ac_c_preproc_warn_flag
in '' yes
12119 # Use a header file that comes with gcc, so configuring glibc
12120 # with a fresh cross-compiler works.
12121 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12122 # <limits.h> exists even on freestanding compilers.
12123 # On the NeXT, cc -E runs the code through the compiler's parser,
12124 # not just through cpp. "Syntax error" is here to catch this case.
12125 cat >conftest.
$ac_ext <<_ACEOF
12128 cat confdefs.h
>>conftest.
$ac_ext
12129 cat >>conftest.
$ac_ext <<_ACEOF
12130 /* end confdefs.h. */
12132 # include <limits.h>
12134 # include <assert.h>
12138 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12139 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12141 grep -v '^ *+' conftest.er1
>conftest.err
12143 cat conftest.err
>&5
12144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12145 (exit $ac_status); } >/dev
/null
; then
12146 if test -s conftest.err
; then
12147 ac_cpp_err
=$ac_c_preproc_warn_flag
12148 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12155 if test -z "$ac_cpp_err"; then
12158 echo "$as_me: failed program was:" >&5
12159 sed 's/^/| /' conftest.
$ac_ext >&5
12161 # Broken: fails on valid input.
12164 rm -f conftest.err conftest.
$ac_ext
12166 # OK, works on sane cases. Now check whether non-existent headers
12167 # can be detected and how.
12168 cat >conftest.
$ac_ext <<_ACEOF
12171 cat confdefs.h
>>conftest.
$ac_ext
12172 cat >>conftest.
$ac_ext <<_ACEOF
12173 /* end confdefs.h. */
12174 #include <ac_nonexistent.h>
12176 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12177 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12179 grep -v '^ *+' conftest.er1
>conftest.err
12181 cat conftest.err
>&5
12182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12183 (exit $ac_status); } >/dev
/null
; then
12184 if test -s conftest.err
; then
12185 ac_cpp_err
=$ac_c_preproc_warn_flag
12186 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12193 if test -z "$ac_cpp_err"; then
12194 # Broken: success on invalid input.
12197 echo "$as_me: failed program was:" >&5
12198 sed 's/^/| /' conftest.
$ac_ext >&5
12200 # Passes both tests.
12204 rm -f conftest.err conftest.
$ac_ext
12207 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12208 rm -f conftest.err conftest.
$ac_ext
12209 if $ac_preproc_ok; then
12212 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12213 See \`config.log' for more details." >&5
12214 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12215 See \`config.log' for more details." >&2;}
12216 { (exit 1); exit 1; }; }
12220 ac_cpp
='$CPP $CPPFLAGS'
12221 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12222 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12223 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12226 echo "$as_me:$LINENO: checking for egrep" >&5
12227 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12228 if test "${ac_cv_prog_egrep+set}" = set; then
12229 echo $ECHO_N "(cached) $ECHO_C" >&6
12231 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
12232 then ac_cv_prog_egrep
='grep -E'
12233 else ac_cv_prog_egrep
='egrep'
12236 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12237 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12238 EGREP
=$ac_cv_prog_egrep
12241 if test $ac_cv_c_compiler_gnu = yes; then
12242 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12243 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12244 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12245 echo $ECHO_N "(cached) $ECHO_C" >&6
12247 ac_pattern
="Autoconf.*'x'"
12248 cat >conftest.
$ac_ext <<_ACEOF
12251 cat confdefs.h
>>conftest.
$ac_ext
12252 cat >>conftest.
$ac_ext <<_ACEOF
12253 /* end confdefs.h. */
12257 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12258 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12259 ac_cv_prog_gcc_traditional
=yes
12261 ac_cv_prog_gcc_traditional
=no
12266 if test $ac_cv_prog_gcc_traditional = no
; then
12267 cat >conftest.
$ac_ext <<_ACEOF
12270 cat confdefs.h
>>conftest.
$ac_ext
12271 cat >>conftest.
$ac_ext <<_ACEOF
12272 /* end confdefs.h. */
12273 #include <termio.h>
12276 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12277 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12278 ac_cv_prog_gcc_traditional
=yes
12284 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12285 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12286 if test $ac_cv_prog_gcc_traditional = yes; then
12287 CC
="$CC -traditional"
12295 ac_cpp
='$CXXCPP $CPPFLAGS'
12296 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12297 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12298 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12301 CXXFLAGS
=${CXXFLAGS:=}
12305 ac_cpp
='$CXXCPP $CPPFLAGS'
12306 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12307 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12308 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12309 if test -n "$ac_tool_prefix"; then
12310 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12312 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12313 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12314 echo "$as_me:$LINENO: checking for $ac_word" >&5
12315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12316 if test "${ac_cv_prog_CXX+set}" = set; then
12317 echo $ECHO_N "(cached) $ECHO_C" >&6
12319 if test -n "$CXX"; then
12320 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
12322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12323 for as_dir
in $PATH
12326 test -z "$as_dir" && as_dir
=.
12327 for ac_exec_ext
in '' $ac_executable_extensions; do
12328 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12329 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
12330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12338 CXX
=$ac_cv_prog_CXX
12339 if test -n "$CXX"; then
12340 echo "$as_me:$LINENO: result: $CXX" >&5
12341 echo "${ECHO_T}$CXX" >&6
12343 echo "$as_me:$LINENO: result: no" >&5
12344 echo "${ECHO_T}no" >&6
12347 test -n "$CXX" && break
12350 if test -z "$CXX"; then
12352 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12354 # Extract the first word of "$ac_prog", so it can be a program name with args.
12355 set dummy
$ac_prog; ac_word
=$2
12356 echo "$as_me:$LINENO: checking for $ac_word" >&5
12357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12358 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12359 echo $ECHO_N "(cached) $ECHO_C" >&6
12361 if test -n "$ac_ct_CXX"; then
12362 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
12364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12365 for as_dir
in $PATH
12368 test -z "$as_dir" && as_dir
=.
12369 for ac_exec_ext
in '' $ac_executable_extensions; do
12370 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12371 ac_cv_prog_ac_ct_CXX
="$ac_prog"
12372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12380 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
12381 if test -n "$ac_ct_CXX"; then
12382 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12383 echo "${ECHO_T}$ac_ct_CXX" >&6
12385 echo "$as_me:$LINENO: result: no" >&5
12386 echo "${ECHO_T}no" >&6
12389 test -n "$ac_ct_CXX" && break
12391 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
12397 # Provide some information about the compiler.
12398 echo "$as_me:$LINENO:" \
12399 "checking for C++ compiler version" >&5
12400 ac_compiler
=`set X $ac_compile; echo $2`
12401 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12402 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12405 (exit $ac_status); }
12406 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12407 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12410 (exit $ac_status); }
12411 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12412 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12415 (exit $ac_status); }
12417 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12418 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12419 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12420 echo $ECHO_N "(cached) $ECHO_C" >&6
12422 cat >conftest.
$ac_ext <<_ACEOF
12425 cat confdefs.h
>>conftest.
$ac_ext
12426 cat >>conftest.
$ac_ext <<_ACEOF
12427 /* end confdefs.h. */
12440 rm -f conftest.
$ac_objext
12441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12442 (eval $ac_compile) 2>conftest.er1
12444 grep -v '^ *+' conftest.er1
>conftest.err
12446 cat conftest.err
>&5
12447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12448 (exit $ac_status); } &&
12449 { ac_try
='test -z "$ac_cxx_werror_flag"
12450 || test ! -s conftest.err'
12451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12452 (eval $ac_try) 2>&5
12454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12455 (exit $ac_status); }; } &&
12456 { ac_try
='test -s conftest.$ac_objext'
12457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12458 (eval $ac_try) 2>&5
12460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12461 (exit $ac_status); }; }; then
12462 ac_compiler_gnu
=yes
12464 echo "$as_me: failed program was:" >&5
12465 sed 's/^/| /' conftest.
$ac_ext >&5
12469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12470 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
12473 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12474 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12475 GXX
=`test $ac_compiler_gnu = yes && echo yes`
12476 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12477 ac_save_CXXFLAGS
=$CXXFLAGS
12479 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12480 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12481 if test "${ac_cv_prog_cxx_g+set}" = set; then
12482 echo $ECHO_N "(cached) $ECHO_C" >&6
12484 cat >conftest.
$ac_ext <<_ACEOF
12487 cat confdefs.h
>>conftest.
$ac_ext
12488 cat >>conftest.
$ac_ext <<_ACEOF
12489 /* end confdefs.h. */
12499 rm -f conftest.
$ac_objext
12500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12501 (eval $ac_compile) 2>conftest.er1
12503 grep -v '^ *+' conftest.er1
>conftest.err
12505 cat conftest.err
>&5
12506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12507 (exit $ac_status); } &&
12508 { ac_try
='test -z "$ac_cxx_werror_flag"
12509 || test ! -s conftest.err'
12510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12511 (eval $ac_try) 2>&5
12513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12514 (exit $ac_status); }; } &&
12515 { ac_try
='test -s conftest.$ac_objext'
12516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12517 (eval $ac_try) 2>&5
12519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12520 (exit $ac_status); }; }; then
12521 ac_cv_prog_cxx_g
=yes
12523 echo "$as_me: failed program was:" >&5
12524 sed 's/^/| /' conftest.
$ac_ext >&5
12526 ac_cv_prog_cxx_g
=no
12528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12530 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12531 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12532 if test "$ac_test_CXXFLAGS" = set; then
12533 CXXFLAGS
=$ac_save_CXXFLAGS
12534 elif test $ac_cv_prog_cxx_g = yes; then
12535 if test "$GXX" = yes; then
12541 if test "$GXX" = yes; then
12547 for ac_declaration
in \
12549 'extern "C" void std::exit (int) throw (); using std::exit;' \
12550 'extern "C" void std::exit (int); using std::exit;' \
12551 'extern "C" void exit (int) throw ();' \
12552 'extern "C" void exit (int);' \
12555 cat >conftest.
$ac_ext <<_ACEOF
12558 cat confdefs.h
>>conftest.
$ac_ext
12559 cat >>conftest.
$ac_ext <<_ACEOF
12560 /* end confdefs.h. */
12562 #include <stdlib.h>
12571 rm -f conftest.
$ac_objext
12572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12573 (eval $ac_compile) 2>conftest.er1
12575 grep -v '^ *+' conftest.er1
>conftest.err
12577 cat conftest.err
>&5
12578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12579 (exit $ac_status); } &&
12580 { ac_try
='test -z "$ac_cxx_werror_flag"
12581 || test ! -s conftest.err'
12582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12583 (eval $ac_try) 2>&5
12585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12586 (exit $ac_status); }; } &&
12587 { ac_try
='test -s conftest.$ac_objext'
12588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12589 (eval $ac_try) 2>&5
12591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592 (exit $ac_status); }; }; then
12595 echo "$as_me: failed program was:" >&5
12596 sed 's/^/| /' conftest.
$ac_ext >&5
12600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12601 cat >conftest.
$ac_ext <<_ACEOF
12604 cat confdefs.h
>>conftest.
$ac_ext
12605 cat >>conftest.
$ac_ext <<_ACEOF
12606 /* end confdefs.h. */
12616 rm -f conftest.
$ac_objext
12617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12618 (eval $ac_compile) 2>conftest.er1
12620 grep -v '^ *+' conftest.er1
>conftest.err
12622 cat conftest.err
>&5
12623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12624 (exit $ac_status); } &&
12625 { ac_try
='test -z "$ac_cxx_werror_flag"
12626 || test ! -s conftest.err'
12627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12628 (eval $ac_try) 2>&5
12630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12631 (exit $ac_status); }; } &&
12632 { ac_try
='test -s conftest.$ac_objext'
12633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12634 (eval $ac_try) 2>&5
12636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12637 (exit $ac_status); }; }; then
12640 echo "$as_me: failed program was:" >&5
12641 sed 's/^/| /' conftest.
$ac_ext >&5
12644 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12647 if test -n "$ac_declaration"; then
12648 echo '#ifdef __cplusplus' >>confdefs.h
12649 echo $ac_declaration >>confdefs.h
12650 echo '#endif' >>confdefs.h
12654 ac_cpp
='$CXXCPP $CPPFLAGS'
12655 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12656 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12657 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12659 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
12660 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
12661 if test "${wx_cv_cxx_exto+set}" = set; then
12662 echo $ECHO_N "(cached) $ECHO_C" >&6
12664 cat >conftest.
$ac_ext <<_ACEOF
12667 cat confdefs.h
>>conftest.
$ac_ext
12668 cat >>conftest.
$ac_ext <<_ACEOF
12669 /* end confdefs.h. */
12679 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12681 (eval $ac_compile) 2>&5
12683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12684 (exit $ac_status); }; then
12685 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12687 conftest.
$ac_ext.o
)
12688 wx_cv_cxx_exto
="-ext o"
12695 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12696 See \`config.log' for more details." >&5
12697 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12698 See \`config.log' for more details." >&2;}
12699 { (exit 1); exit 1; }; }
12703 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12706 echo "$as_me:$LINENO: result: $wx_cv_cxx_exto" >&5
12707 echo "${ECHO_T}$wx_cv_cxx_exto" >&6
12708 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12709 if test "cxx" = "c"; then
12710 CFLAGS
="$wx_cv_cxx_exto $CFLAGS"
12712 if test "cxx" = "cxx"; then
12713 CXXFLAGS
="$wx_cv_cxx_exto $CXXFLAGS"
12717 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12718 unset ac_cv_prog_cxx_g
12719 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12720 ac_save_CXXFLAGS
=$CXXFLAGS
12722 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12723 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12724 if test "${ac_cv_prog_cxx_g+set}" = set; then
12725 echo $ECHO_N "(cached) $ECHO_C" >&6
12727 cat >conftest.
$ac_ext <<_ACEOF
12730 cat confdefs.h
>>conftest.
$ac_ext
12731 cat >>conftest.
$ac_ext <<_ACEOF
12732 /* end confdefs.h. */
12742 rm -f conftest.
$ac_objext
12743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12744 (eval $ac_compile) 2>conftest.er1
12746 grep -v '^ *+' conftest.er1
>conftest.err
12748 cat conftest.err
>&5
12749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12750 (exit $ac_status); } &&
12751 { ac_try
='test -z "$ac_cxx_werror_flag"
12752 || test ! -s conftest.err'
12753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12754 (eval $ac_try) 2>&5
12756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12757 (exit $ac_status); }; } &&
12758 { ac_try
='test -s conftest.$ac_objext'
12759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12760 (eval $ac_try) 2>&5
12762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12763 (exit $ac_status); }; }; then
12764 ac_cv_prog_cxx_g
=yes
12766 echo "$as_me: failed program was:" >&5
12767 sed 's/^/| /' conftest.
$ac_ext >&5
12769 ac_cv_prog_cxx_g
=no
12771 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12773 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12774 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12775 if test "$ac_test_CXXFLAGS" = set; then
12776 CXXFLAGS
=$ac_save_CXXFLAGS
12777 elif test $ac_cv_prog_cxx_g = yes; then
12778 if test "$GXX" = yes; then
12784 if test "$GXX" = yes; then
12792 ac_cpp
='$CXXCPP $CPPFLAGS'
12793 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12794 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12795 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12797 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12798 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12799 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12800 echo $ECHO_N "(cached) $ECHO_C" >&6
12802 cat >conftest.
$ac_ext <<_ACEOF
12805 cat confdefs.h
>>conftest.
$ac_ext
12806 cat >>conftest.
$ac_ext <<_ACEOF
12807 /* end confdefs.h. */
12820 rm -f conftest.
$ac_objext
12821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12822 (eval $ac_compile) 2>conftest.er1
12824 grep -v '^ *+' conftest.er1
>conftest.err
12826 cat conftest.err
>&5
12827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12828 (exit $ac_status); } &&
12829 { ac_try
='test -z "$ac_cxx_werror_flag"
12830 || test ! -s conftest.err'
12831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12832 (eval $ac_try) 2>&5
12834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12835 (exit $ac_status); }; } &&
12836 { ac_try
='test -s conftest.$ac_objext'
12837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12838 (eval $ac_try) 2>&5
12840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12841 (exit $ac_status); }; }; then
12842 bakefile_compiler_mwerks
=yes
12844 echo "$as_me: failed program was:" >&5
12845 sed 's/^/| /' conftest.
$ac_ext >&5
12847 bakefile_compiler_mwerks
=no
12849 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12850 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
12853 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12854 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12856 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
12858 ac_cpp
='$CXXCPP $CPPFLAGS'
12859 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12860 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12861 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12865 ac_cpp
='$CXXCPP $CPPFLAGS'
12866 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12867 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12868 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12870 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
12871 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
12872 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
12873 echo $ECHO_N "(cached) $ECHO_C" >&6
12875 cat >conftest.
$ac_ext <<_ACEOF
12878 cat confdefs.h
>>conftest.
$ac_ext
12879 cat >>conftest.
$ac_ext <<_ACEOF
12880 /* end confdefs.h. */
12893 rm -f conftest.
$ac_objext
12894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12895 (eval $ac_compile) 2>conftest.er1
12897 grep -v '^ *+' conftest.er1
>conftest.err
12899 cat conftest.err
>&5
12900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12901 (exit $ac_status); } &&
12902 { ac_try
='test -z "$ac_cxx_werror_flag"
12903 || test ! -s conftest.err'
12904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12905 (eval $ac_try) 2>&5
12907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12908 (exit $ac_status); }; } &&
12909 { ac_try
='test -s conftest.$ac_objext'
12910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12911 (eval $ac_try) 2>&5
12913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12914 (exit $ac_status); }; }; then
12915 wx_compiler_xlc
=yes
12917 echo "$as_me: failed program was:" >&5
12918 sed 's/^/| /' conftest.
$ac_ext >&5
12922 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12923 wx_cv_cxx_compiler_xlc
=$wx_compiler_xlc
12926 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
12927 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
12929 XLCXX
=`test $wx_cv_cxx_compiler_xlc = yes && echo yes`
12931 ac_cpp
='$CXXCPP $CPPFLAGS'
12932 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12933 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12934 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12940 ac_cpp
='$CXXCPP $CPPFLAGS'
12941 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12942 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12943 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12945 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
12946 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
12947 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
12948 echo $ECHO_N "(cached) $ECHO_C" >&6
12950 cat >conftest.
$ac_ext <<_ACEOF
12953 cat confdefs.h
>>conftest.
$ac_ext
12954 cat >>conftest.
$ac_ext <<_ACEOF
12955 /* end confdefs.h. */
12961 #ifndef __SUNPRO_CC
12969 rm -f conftest.
$ac_objext
12970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12971 (eval $ac_compile) 2>conftest.er1
12973 grep -v '^ *+' conftest.er1
>conftest.err
12975 cat conftest.err
>&5
12976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12977 (exit $ac_status); } &&
12978 { ac_try
='test -z "$ac_cxx_werror_flag"
12979 || test ! -s conftest.err'
12980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12981 (eval $ac_try) 2>&5
12983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12984 (exit $ac_status); }; } &&
12985 { ac_try
='test -s conftest.$ac_objext'
12986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12987 (eval $ac_try) 2>&5
12989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12990 (exit $ac_status); }; }; then
12991 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
12993 echo "$as_me: failed program was:" >&5
12994 sed 's/^/| /' conftest.
$ac_ext >&5
12996 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
12999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13003 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
13004 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
13006 ac_cpp
='$CXXCPP $CPPFLAGS'
13007 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13008 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13009 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13011 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
13021 ac_cpp
='$CPP $CPPFLAGS'
13022 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13023 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13024 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13027 if test -n "$ac_tool_prefix"; then
13028 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
13029 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
13030 echo "$as_me:$LINENO: checking for $ac_word" >&5
13031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13032 if test "${ac_cv_prog_RANLIB+set}" = set; then
13033 echo $ECHO_N "(cached) $ECHO_C" >&6
13035 if test -n "$RANLIB"; then
13036 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
13038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13039 for as_dir
in $PATH
13042 test -z "$as_dir" && as_dir
=.
13043 for ac_exec_ext
in '' $ac_executable_extensions; do
13044 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13045 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
13046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13054 RANLIB
=$ac_cv_prog_RANLIB
13055 if test -n "$RANLIB"; then
13056 echo "$as_me:$LINENO: result: $RANLIB" >&5
13057 echo "${ECHO_T}$RANLIB" >&6
13059 echo "$as_me:$LINENO: result: no" >&5
13060 echo "${ECHO_T}no" >&6
13064 if test -z "$ac_cv_prog_RANLIB"; then
13065 ac_ct_RANLIB
=$RANLIB
13066 # Extract the first word of "ranlib", so it can be a program name with args.
13067 set dummy ranlib
; ac_word
=$2
13068 echo "$as_me:$LINENO: checking for $ac_word" >&5
13069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13070 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
13071 echo $ECHO_N "(cached) $ECHO_C" >&6
13073 if test -n "$ac_ct_RANLIB"; then
13074 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
13076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13077 for as_dir
in $PATH
13080 test -z "$as_dir" && as_dir
=.
13081 for ac_exec_ext
in '' $ac_executable_extensions; do
13082 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13083 ac_cv_prog_ac_ct_RANLIB
="ranlib"
13084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13090 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
13093 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
13094 if test -n "$ac_ct_RANLIB"; then
13095 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
13096 echo "${ECHO_T}$ac_ct_RANLIB" >&6
13098 echo "$as_me:$LINENO: result: no" >&5
13099 echo "${ECHO_T}no" >&6
13102 RANLIB
=$ac_ct_RANLIB
13104 RANLIB
="$ac_cv_prog_RANLIB"
13108 # Extract the first word of "ar", so it can be a program name with args.
13109 set dummy
ar; ac_word
=$2
13110 echo "$as_me:$LINENO: checking for $ac_word" >&5
13111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13112 if test "${ac_cv_prog_AR+set}" = set; then
13113 echo $ECHO_N "(cached) $ECHO_C" >&6
13115 if test -n "$AR"; then
13116 ac_cv_prog_AR
="$AR" # Let the user override the test.
13118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13119 for as_dir
in $PATH
13122 test -z "$as_dir" && as_dir
=.
13123 for ac_exec_ext
in '' $ac_executable_extensions; do
13124 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13135 if test -n "$AR"; then
13136 echo "$as_me:$LINENO: result: $AR" >&5
13137 echo "${ECHO_T}$AR" >&6
13139 echo "$as_me:$LINENO: result: no" >&5
13140 echo "${ECHO_T}no" >&6
13143 if test "x$AR" = "x" ; then
13144 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
13145 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
13146 { (exit 1); exit 1; }; }
13149 # Find a good install program. We prefer a C program (faster),
13150 # so one script is as good as another. But avoid the broken or
13151 # incompatible versions:
13152 # SysV /etc/install, /usr/sbin/install
13153 # SunOS /usr/etc/install
13154 # IRIX /sbin/install
13156 # AmigaOS /C/install, which installs bootblocks on floppy discs
13157 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
13158 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
13159 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
13160 # OS/2's system install, which has a completely different semantic
13161 # ./install, which can be erroneously created by make from ./install.sh.
13162 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
13163 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
13164 if test -z "$INSTALL"; then
13165 if test "${ac_cv_path_install+set}" = set; then
13166 echo $ECHO_N "(cached) $ECHO_C" >&6
13168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13169 for as_dir
in $PATH
13172 test -z "$as_dir" && as_dir
=.
13173 # Account for people who put trailing slashes in PATH elements.
13175 .
/ | .
// | /cC
/* | \
13176 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
13177 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
13180 # OSF1 and SCO ODT 3.0 have their own names for install.
13181 # Don't use installbsd from OSF since it installs stuff as root
13183 for ac_prog
in ginstall scoinst
install; do
13184 for ac_exec_ext
in '' $ac_executable_extensions; do
13185 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
13186 if test $ac_prog = install &&
13187 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
13188 # AIX install. It has an incompatible calling convention.
13190 elif test $ac_prog = install &&
13191 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
13192 # program-specific install script used by HP pwplus--don't use.
13195 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
13207 if test "${ac_cv_path_install+set}" = set; then
13208 INSTALL
=$ac_cv_path_install
13210 # As a last resort, use the slow shell script. We don't cache a
13211 # path for INSTALL within a source directory, because that will
13212 # break other packages using the cache if that directory is
13213 # removed, or if the path is relative.
13214 INSTALL
=$ac_install_sh
13217 echo "$as_me:$LINENO: result: $INSTALL" >&5
13218 echo "${ECHO_T}$INSTALL" >&6
13220 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
13221 # It thinks the first close brace ends the variable substitution.
13222 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
13224 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
13226 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
13232 ?
:* ) # Drive letter, considered as absolute.
13235 INSTALL
=`pwd`/${INSTALL} ;;
13241 powerpc
-*-darwin* )
13242 INSTALL_PROGRAM
="cp -fp"
13243 INSTALL_DATA
="cp -fp"
13249 # Extract the first word of "strip", so it can be a program name with args.
13250 set dummy strip
; ac_word
=$2
13251 echo "$as_me:$LINENO: checking for $ac_word" >&5
13252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13253 if test "${ac_cv_prog_STRIP+set}" = set; then
13254 echo $ECHO_N "(cached) $ECHO_C" >&6
13256 if test -n "$STRIP"; then
13257 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
13259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13260 for as_dir
in $PATH
13263 test -z "$as_dir" && as_dir
=.
13264 for ac_exec_ext
in '' $ac_executable_extensions; do
13265 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13266 ac_cv_prog_STRIP
="strip"
13267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13273 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
13276 STRIP
=$ac_cv_prog_STRIP
13277 if test -n "$STRIP"; then
13278 echo "$as_me:$LINENO: result: $STRIP" >&5
13279 echo "${ECHO_T}$STRIP" >&6
13281 echo "$as_me:$LINENO: result: no" >&5
13282 echo "${ECHO_T}no" >&6
13286 echo "$as_me:$LINENO: checking if make is GNU make" >&5
13287 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
13288 if test "${wx_cv_prog_makeisgnu+set}" = set; then
13289 echo $ECHO_N "(cached) $ECHO_C" >&6
13292 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
13293 egrep -s GNU
> /dev
/null
); then
13294 wx_cv_prog_makeisgnu
="yes"
13296 wx_cv_prog_makeisgnu
="no"
13300 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
13301 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
13303 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
13311 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
13312 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
13313 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
13314 if test "${wx_cv_prog_makevpath+set}" = set; then
13315 echo $ECHO_N "(cached) $ECHO_C" >&6
13318 cat - << EOF > confMake
13324 if test ! -d sub
; then
13327 echo dummy
> sub
/file
13328 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
13330 rm -f sub
/file check final_file confMake
13332 if test "$RESULT" = 0; then
13333 wx_cv_prog_makevpath
="yes"
13335 wx_cv_prog_makevpath
="no"
13339 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
13340 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
13342 if test "x$wx_cv_prog_makevpath" != "xyes"; then
13343 { { echo "$as_me:$LINENO: error:
13344 You need a make-utility that is able to use the variable
13346 If your version of make does not support VPATH correctly,
13347 please install GNU-make (possibly as gmake), and start
13348 configure with the following command:
13349 export MAKE=gmake; ./configure for sh-type shells
13350 setenv MAKE gmake; ./configure for csh-type shells
13351 Also please do remember to use gmake in this case every time
13352 you are trying to compile.
13354 echo "$as_me: error:
13355 You need a make-utility that is able to use the variable
13357 If your version of make does not support VPATH correctly,
13358 please install GNU-make (possibly as gmake), and start
13359 configure with the following command:
13360 export MAKE=gmake; ./configure for sh-type shells
13361 setenv MAKE gmake; ./configure for csh-type shells
13362 Also please do remember to use gmake in this case every time
13363 you are trying to compile.
13365 { (exit 1); exit 1; }; }
13367 echo "$as_me:$LINENO: checking whether ln -s works" >&5
13368 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
13370 if test "$LN_S" = "ln -s"; then
13371 echo "$as_me:$LINENO: result: yes" >&5
13372 echo "${ECHO_T}yes" >&6
13374 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13375 echo "${ECHO_T}no, using $LN_S" >&6
13380 if test "x$XLCXX" = "xyes"; then
13381 CXXFLAGS
="$CXXFLAGS -qunique"
13386 powerpc
-*-darwin* )
13387 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
13388 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
13389 cat >conftest.
$ac_ext <<_ACEOF
13392 cat confdefs.h
>>conftest.
$ac_ext
13393 cat >>conftest.
$ac_ext <<_ACEOF
13394 /* end confdefs.h. */
13399 #ifndef __POWERPC__
13400 choke me for lack of PowerPC
13407 rm -f conftest.
$ac_objext
13408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13409 (eval $ac_compile) 2>conftest.er1
13411 grep -v '^ *+' conftest.er1
>conftest.err
13413 cat conftest.err
>&5
13414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13415 (exit $ac_status); } &&
13416 { ac_try
='test -z "$ac_c_werror_flag"
13417 || test ! -s conftest.err'
13418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13419 (eval $ac_try) 2>&5
13421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13422 (exit $ac_status); }; } &&
13423 { ac_try
='test -s conftest.$ac_objext'
13424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13425 (eval $ac_try) 2>&5
13427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13428 (exit $ac_status); }; }; then
13429 echo "$as_me:$LINENO: result: yes" >&5
13430 echo "${ECHO_T}yes" >&6
13432 echo "$as_me: failed program was:" >&5
13433 sed 's/^/| /' conftest.
$ac_ext >&5
13435 echo "$as_me:$LINENO: result: no" >&5
13436 echo "${ECHO_T}no" >&6
13437 cat >>confdefs.h
<<\_ACEOF
13438 #define __POWERPC__ 1
13443 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13444 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
13445 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
13446 cat >conftest.
$ac_ext <<_ACEOF
13449 cat confdefs.h
>>conftest.
$ac_ext
13450 cat >>conftest.
$ac_ext <<_ACEOF
13451 /* end confdefs.h. */
13452 #include <CoreFoundation/CFBase.h>
13462 rm -f conftest.
$ac_objext
13463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13464 (eval $ac_compile) 2>conftest.er1
13466 grep -v '^ *+' conftest.er1
>conftest.err
13468 cat conftest.err
>&5
13469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13470 (exit $ac_status); } &&
13471 { ac_try
='test -z "$ac_c_werror_flag"
13472 || test ! -s conftest.err'
13473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13474 (eval $ac_try) 2>&5
13476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13477 (exit $ac_status); }; } &&
13478 { ac_try
='test -s conftest.$ac_objext'
13479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13480 (eval $ac_try) 2>&5
13482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13483 (exit $ac_status); }; }; then
13484 echo "$as_me:$LINENO: result: yes" >&5
13485 echo "${ECHO_T}yes" >&6
13487 echo "$as_me: failed program was:" >&5
13488 sed 's/^/| /' conftest.
$ac_ext >&5
13490 echo "$as_me:$LINENO: result: no" >&5
13491 echo "${ECHO_T}no" >&6
13492 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
13493 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
13494 cat >conftest.
$ac_ext <<_ACEOF
13497 cat confdefs.h
>>conftest.
$ac_ext
13498 cat >>conftest.
$ac_ext <<_ACEOF
13499 /* end confdefs.h. */
13500 #define __CF_USE_FRAMEWORK_INCLUDES__
13501 #include <CoreFoundation/CFBase.h>
13511 rm -f conftest.
$ac_objext
13512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13513 (eval $ac_compile) 2>conftest.er1
13515 grep -v '^ *+' conftest.er1
>conftest.err
13517 cat conftest.err
>&5
13518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13519 (exit $ac_status); } &&
13520 { ac_try
='test -z "$ac_c_werror_flag"
13521 || test ! -s conftest.err'
13522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13523 (eval $ac_try) 2>&5
13525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13526 (exit $ac_status); }; } &&
13527 { ac_try
='test -s conftest.$ac_objext'
13528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13529 (eval $ac_try) 2>&5
13531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13532 (exit $ac_status); }; }; then
13533 echo "$as_me:$LINENO: result: yes" >&5
13534 echo "${ECHO_T}yes" >&6
13535 CPPFLAGS
="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
13537 echo "$as_me: failed program was:" >&5
13538 sed 's/^/| /' conftest.
$ac_ext >&5
13540 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
13541 See \`config.log' for more details." >&5
13542 echo "$as_me: error: no. CoreFoundation not available.
13543 See \`config.log' for more details." >&2;}
13544 { (exit 1); exit 1; }; }
13547 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13551 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13556 *-pc-os2_emx | *-pc-os2-emx )
13557 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
13558 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
13559 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
13560 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
13561 echo $ECHO_N "(cached) $ECHO_C" >&6
13563 ac_check_lib_save_LIBS
=$LIBS
13564 LIBS
="-lcExt $LIBS"
13565 cat >conftest.
$ac_ext <<_ACEOF
13568 cat confdefs.h
>>conftest.
$ac_ext
13569 cat >>conftest.
$ac_ext <<_ACEOF
13570 /* end confdefs.h. */
13572 /* Override any gcc2 internal prototype to avoid an error. */
13576 /* We use char because int might match the return type of a gcc2
13577 builtin and then its argument prototype would still apply. */
13587 rm -f conftest.
$ac_objext conftest
$ac_exeext
13588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13589 (eval $ac_link) 2>conftest.er1
13591 grep -v '^ *+' conftest.er1
>conftest.err
13593 cat conftest.err
>&5
13594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13595 (exit $ac_status); } &&
13596 { ac_try
='test -z "$ac_c_werror_flag"
13597 || test ! -s conftest.err'
13598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13599 (eval $ac_try) 2>&5
13601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13602 (exit $ac_status); }; } &&
13603 { ac_try
='test -s conftest$ac_exeext'
13604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13605 (eval $ac_try) 2>&5
13607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13608 (exit $ac_status); }; }; then
13609 ac_cv_lib_cExt_drand48
=yes
13611 echo "$as_me: failed program was:" >&5
13612 sed 's/^/| /' conftest.
$ac_ext >&5
13614 ac_cv_lib_cExt_drand48
=no
13616 rm -f conftest.err conftest.
$ac_objext \
13617 conftest
$ac_exeext conftest.
$ac_ext
13618 LIBS
=$ac_check_lib_save_LIBS
13620 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
13621 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
13622 if test $ac_cv_lib_cExt_drand48 = yes; then
13623 LIBS
="$LIBS -lcExt"
13627 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
13629 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
13630 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
13631 if test "${wx_cv_gccversion+set}" = set; then
13632 echo $ECHO_N "(cached) $ECHO_C" >&6
13635 if test "$cross_compiling" = yes; then
13636 wx_cv_gccversion
="EMX2"
13639 cat >conftest.
$ac_ext <<_ACEOF
13642 cat confdefs.h
>>conftest.
$ac_ext
13643 cat >>conftest.
$ac_ext <<_ACEOF
13644 /* end confdefs.h. */
13650 FILE *f=fopen("conftestval", "w");
13655 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
13657 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
13667 rm -f conftest
$ac_exeext
13668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13669 (eval $ac_link) 2>&5
13671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13672 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13674 (eval $ac_try) 2>&5
13676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13677 (exit $ac_status); }; }; then
13678 wx_cv_gccversion
=`cat conftestval`
13680 echo "$as_me: program exited with status $ac_status" >&5
13681 echo "$as_me: failed program was:" >&5
13682 sed 's/^/| /' conftest.
$ac_ext >&5
13684 ( exit $ac_status )
13685 wx_cv_gccversion
="EMX2"
13687 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13691 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
13692 echo "${ECHO_T}$wx_cv_gccversion" >&6
13693 if test "$wx_cv_gccversion" = "EMX2"; then
13694 LIBS
="$LIBS -lstdcpp"
13695 LDFLAGS
="$LDFLAGS -Zsysv-signals"
13697 if test "$wx_cv_gccversion" = "EMX3"; then
13698 LIBS
="$LIBS -lstdcxx"
13699 LDFLAGS
="$LDFLAGS -Zsysv-signals"
13701 LIBS
="$LIBS -lstdc++"
13704 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
13705 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
13706 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
13716 ac_cpp
='$CXXCPP $CPPFLAGS'
13717 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13718 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13719 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13722 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
13723 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
13724 if test "${ac_cv_string_strcasecmp+set}" = set; then
13725 echo $ECHO_N "(cached) $ECHO_C" >&6
13728 cat >conftest.
$ac_ext <<_ACEOF
13731 cat confdefs.h
>>conftest.
$ac_ext
13732 cat >>conftest.
$ac_ext <<_ACEOF
13733 /* end confdefs.h. */
13735 #include <string.h>
13741 strcasecmp("foo", "bar");
13747 rm -f conftest.
$ac_objext conftest
$ac_exeext
13748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13749 (eval $ac_link) 2>conftest.er1
13751 grep -v '^ *+' conftest.er1
>conftest.err
13753 cat conftest.err
>&5
13754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13755 (exit $ac_status); } &&
13756 { ac_try
='test -z "$ac_cxx_werror_flag"
13757 || test ! -s conftest.err'
13758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13759 (eval $ac_try) 2>&5
13761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13762 (exit $ac_status); }; } &&
13763 { ac_try
='test -s conftest$ac_exeext'
13764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13765 (eval $ac_try) 2>&5
13767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13768 (exit $ac_status); }; }; then
13769 ac_cv_string_strcasecmp
=yes
13771 echo "$as_me: failed program was:" >&5
13772 sed 's/^/| /' conftest.
$ac_ext >&5
13774 ac_cv_string_strcasecmp
=no
13777 rm -f conftest.err conftest.
$ac_objext \
13778 conftest
$ac_exeext conftest.
$ac_ext
13781 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
13782 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
13784 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
13785 cat >>confdefs.h
<<\_ACEOF
13786 #define HAVE_STRCASECMP_IN_STRING_H 1
13790 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
13791 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
13792 if test "${ac_cv_strings_strcasecmp+set}" = set; then
13793 echo $ECHO_N "(cached) $ECHO_C" >&6
13796 cat >conftest.
$ac_ext <<_ACEOF
13799 cat confdefs.h
>>conftest.
$ac_ext
13800 cat >>conftest.
$ac_ext <<_ACEOF
13801 /* end confdefs.h. */
13803 #include <strings.h>
13809 strcasecmp("foo", "bar");
13815 rm -f conftest.
$ac_objext conftest
$ac_exeext
13816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13817 (eval $ac_link) 2>conftest.er1
13819 grep -v '^ *+' conftest.er1
>conftest.err
13821 cat conftest.err
>&5
13822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13823 (exit $ac_status); } &&
13824 { ac_try
='test -z "$ac_cxx_werror_flag"
13825 || test ! -s conftest.err'
13826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13827 (eval $ac_try) 2>&5
13829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13830 (exit $ac_status); }; } &&
13831 { ac_try
='test -s conftest$ac_exeext'
13832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13833 (eval $ac_try) 2>&5
13835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13836 (exit $ac_status); }; }; then
13837 ac_cv_strings_strcasecmp
=yes
13839 echo "$as_me: failed program was:" >&5
13840 sed 's/^/| /' conftest.
$ac_ext >&5
13842 ac_cv_strings_strcasecmp
=no
13845 rm -f conftest.err conftest.
$ac_objext \
13846 conftest
$ac_exeext conftest.
$ac_ext
13849 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
13850 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
13852 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
13853 cat >>confdefs.h
<<\_ACEOF
13854 #define HAVE_STRCASECMP_IN_STRINGS_H 1
13858 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
13859 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
13860 { (exit 1); exit 1; }; }
13865 ac_cpp
='$CPP $CPPFLAGS'
13866 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13867 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13868 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13874 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13875 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13876 if test "${ac_cv_header_stdc+set}" = set; then
13877 echo $ECHO_N "(cached) $ECHO_C" >&6
13879 cat >conftest.
$ac_ext <<_ACEOF
13882 cat confdefs.h
>>conftest.
$ac_ext
13883 cat >>conftest.
$ac_ext <<_ACEOF
13884 /* end confdefs.h. */
13885 #include <stdlib.h>
13886 #include <stdarg.h>
13887 #include <string.h>
13898 rm -f conftest.
$ac_objext
13899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13900 (eval $ac_compile) 2>conftest.er1
13902 grep -v '^ *+' conftest.er1
>conftest.err
13904 cat conftest.err
>&5
13905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13906 (exit $ac_status); } &&
13907 { ac_try
='test -z "$ac_c_werror_flag"
13908 || test ! -s conftest.err'
13909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13910 (eval $ac_try) 2>&5
13912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13913 (exit $ac_status); }; } &&
13914 { ac_try
='test -s conftest.$ac_objext'
13915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13916 (eval $ac_try) 2>&5
13918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13919 (exit $ac_status); }; }; then
13920 ac_cv_header_stdc
=yes
13922 echo "$as_me: failed program was:" >&5
13923 sed 's/^/| /' conftest.
$ac_ext >&5
13925 ac_cv_header_stdc
=no
13927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13929 if test $ac_cv_header_stdc = yes; then
13930 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13931 cat >conftest.
$ac_ext <<_ACEOF
13934 cat confdefs.h
>>conftest.
$ac_ext
13935 cat >>conftest.
$ac_ext <<_ACEOF
13936 /* end confdefs.h. */
13937 #include <string.h>
13940 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13941 $EGREP "memchr" >/dev
/null
2>&1; then
13944 ac_cv_header_stdc
=no
13950 if test $ac_cv_header_stdc = yes; then
13951 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13952 cat >conftest.
$ac_ext <<_ACEOF
13955 cat confdefs.h
>>conftest.
$ac_ext
13956 cat >>conftest.
$ac_ext <<_ACEOF
13957 /* end confdefs.h. */
13958 #include <stdlib.h>
13961 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13962 $EGREP "free" >/dev
/null
2>&1; then
13965 ac_cv_header_stdc
=no
13971 if test $ac_cv_header_stdc = yes; then
13972 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13973 if test "$cross_compiling" = yes; then
13976 cat >conftest.
$ac_ext <<_ACEOF
13979 cat confdefs.h
>>conftest.
$ac_ext
13980 cat >>conftest.
$ac_ext <<_ACEOF
13981 /* end confdefs.h. */
13983 #if ((' ' & 0x0FF) == 0x020)
13984 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13985 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13987 # define ISLOWER(c) \
13988 (('a' <= (c) && (c) <= 'i') \
13989 || ('j' <= (c) && (c) <= 'r') \
13990 || ('s' <= (c) && (c) <= 'z'))
13991 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13994 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13999 for (i = 0; i < 256; i++)
14000 if (XOR (islower (i), ISLOWER (i))
14001 || toupper (i) != TOUPPER (i))
14006 rm -f conftest
$ac_exeext
14007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14008 (eval $ac_link) 2>&5
14010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14011 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14013 (eval $ac_try) 2>&5
14015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14016 (exit $ac_status); }; }; then
14019 echo "$as_me: program exited with status $ac_status" >&5
14020 echo "$as_me: failed program was:" >&5
14021 sed 's/^/| /' conftest.
$ac_ext >&5
14023 ( exit $ac_status )
14024 ac_cv_header_stdc
=no
14026 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14030 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14031 echo "${ECHO_T}$ac_cv_header_stdc" >&6
14032 if test $ac_cv_header_stdc = yes; then
14034 cat >>confdefs.h
<<\_ACEOF
14035 #define STDC_HEADERS 1
14040 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
14050 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
14051 inttypes.h stdint.h unistd.h
14053 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14054 echo "$as_me:$LINENO: checking for $ac_header" >&5
14055 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14056 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14057 echo $ECHO_N "(cached) $ECHO_C" >&6
14059 cat >conftest.
$ac_ext <<_ACEOF
14062 cat confdefs.h
>>conftest.
$ac_ext
14063 cat >>conftest.
$ac_ext <<_ACEOF
14064 /* end confdefs.h. */
14065 $ac_includes_default
14067 #include <$ac_header>
14069 rm -f conftest.
$ac_objext
14070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14071 (eval $ac_compile) 2>conftest.er1
14073 grep -v '^ *+' conftest.er1
>conftest.err
14075 cat conftest.err
>&5
14076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14077 (exit $ac_status); } &&
14078 { ac_try
='test -z "$ac_c_werror_flag"
14079 || test ! -s conftest.err'
14080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14081 (eval $ac_try) 2>&5
14083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14084 (exit $ac_status); }; } &&
14085 { ac_try
='test -s conftest.$ac_objext'
14086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14087 (eval $ac_try) 2>&5
14089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14090 (exit $ac_status); }; }; then
14091 eval "$as_ac_Header=yes"
14093 echo "$as_me: failed program was:" >&5
14094 sed 's/^/| /' conftest.
$ac_ext >&5
14096 eval "$as_ac_Header=no"
14098 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14101 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14102 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14103 cat >>confdefs.h
<<_ACEOF
14104 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14113 for ac_header
in stdlib.h
14115 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14117 echo "$as_me:$LINENO: checking for $ac_header" >&5
14118 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14119 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14120 echo $ECHO_N "(cached) $ECHO_C" >&6
14122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14123 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14125 # Is the header compilable?
14126 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14127 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14128 cat >conftest.
$ac_ext <<_ACEOF
14131 cat confdefs.h
>>conftest.
$ac_ext
14132 cat >>conftest.
$ac_ext <<_ACEOF
14133 /* end confdefs.h. */
14134 $ac_includes_default
14135 #include <$ac_header>
14137 rm -f conftest.
$ac_objext
14138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14139 (eval $ac_compile) 2>conftest.er1
14141 grep -v '^ *+' conftest.er1
>conftest.err
14143 cat conftest.err
>&5
14144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14145 (exit $ac_status); } &&
14146 { ac_try
='test -z "$ac_c_werror_flag"
14147 || test ! -s conftest.err'
14148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14149 (eval $ac_try) 2>&5
14151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14152 (exit $ac_status); }; } &&
14153 { ac_try
='test -s conftest.$ac_objext'
14154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14155 (eval $ac_try) 2>&5
14157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14158 (exit $ac_status); }; }; then
14159 ac_header_compiler
=yes
14161 echo "$as_me: failed program was:" >&5
14162 sed 's/^/| /' conftest.
$ac_ext >&5
14164 ac_header_compiler
=no
14166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14167 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14168 echo "${ECHO_T}$ac_header_compiler" >&6
14170 # Is the header present?
14171 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14172 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14173 cat >conftest.
$ac_ext <<_ACEOF
14176 cat confdefs.h
>>conftest.
$ac_ext
14177 cat >>conftest.
$ac_ext <<_ACEOF
14178 /* end confdefs.h. */
14179 #include <$ac_header>
14181 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14182 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14184 grep -v '^ *+' conftest.er1
>conftest.err
14186 cat conftest.err
>&5
14187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14188 (exit $ac_status); } >/dev
/null
; then
14189 if test -s conftest.err
; then
14190 ac_cpp_err
=$ac_c_preproc_warn_flag
14191 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14198 if test -z "$ac_cpp_err"; then
14199 ac_header_preproc
=yes
14201 echo "$as_me: failed program was:" >&5
14202 sed 's/^/| /' conftest.
$ac_ext >&5
14204 ac_header_preproc
=no
14206 rm -f conftest.err conftest.
$ac_ext
14207 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14208 echo "${ECHO_T}$ac_header_preproc" >&6
14210 # So? What about this header?
14211 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14213 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14214 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14215 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14216 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14217 ac_header_preproc
=yes
14220 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14221 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14222 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14223 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14224 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14225 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14226 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14227 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14228 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14229 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14230 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14231 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14234 ## ----------------------------------------- ##
14235 ## Report this to wx-dev@lists.wxwidgets.org ##
14236 ## ----------------------------------------- ##
14239 sed "s/^/$as_me: WARNING: /" >&2
14242 echo "$as_me:$LINENO: checking for $ac_header" >&5
14243 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14244 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14245 echo $ECHO_N "(cached) $ECHO_C" >&6
14247 eval "$as_ac_Header=\$ac_header_preproc"
14249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14250 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14253 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14254 cat >>confdefs.h
<<_ACEOF
14255 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14263 for ac_header
in malloc.h
14265 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14266 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14267 echo "$as_me:$LINENO: checking for $ac_header" >&5
14268 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14269 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14270 echo $ECHO_N "(cached) $ECHO_C" >&6
14272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14273 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14275 # Is the header compilable?
14276 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14277 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14278 cat >conftest.
$ac_ext <<_ACEOF
14281 cat confdefs.h
>>conftest.
$ac_ext
14282 cat >>conftest.
$ac_ext <<_ACEOF
14283 /* end confdefs.h. */
14284 $ac_includes_default
14285 #include <$ac_header>
14287 rm -f conftest.
$ac_objext
14288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14289 (eval $ac_compile) 2>conftest.er1
14291 grep -v '^ *+' conftest.er1
>conftest.err
14293 cat conftest.err
>&5
14294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14295 (exit $ac_status); } &&
14296 { ac_try
='test -z "$ac_c_werror_flag"
14297 || test ! -s conftest.err'
14298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14299 (eval $ac_try) 2>&5
14301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14302 (exit $ac_status); }; } &&
14303 { ac_try
='test -s conftest.$ac_objext'
14304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14305 (eval $ac_try) 2>&5
14307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14308 (exit $ac_status); }; }; then
14309 ac_header_compiler
=yes
14311 echo "$as_me: failed program was:" >&5
14312 sed 's/^/| /' conftest.
$ac_ext >&5
14314 ac_header_compiler
=no
14316 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14317 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14318 echo "${ECHO_T}$ac_header_compiler" >&6
14320 # Is the header present?
14321 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14322 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14323 cat >conftest.
$ac_ext <<_ACEOF
14326 cat confdefs.h
>>conftest.
$ac_ext
14327 cat >>conftest.
$ac_ext <<_ACEOF
14328 /* end confdefs.h. */
14329 #include <$ac_header>
14331 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14332 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14334 grep -v '^ *+' conftest.er1
>conftest.err
14336 cat conftest.err
>&5
14337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14338 (exit $ac_status); } >/dev
/null
; then
14339 if test -s conftest.err
; then
14340 ac_cpp_err
=$ac_c_preproc_warn_flag
14341 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14348 if test -z "$ac_cpp_err"; then
14349 ac_header_preproc
=yes
14351 echo "$as_me: failed program was:" >&5
14352 sed 's/^/| /' conftest.
$ac_ext >&5
14354 ac_header_preproc
=no
14356 rm -f conftest.err conftest.
$ac_ext
14357 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14358 echo "${ECHO_T}$ac_header_preproc" >&6
14360 # So? What about this header?
14361 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14363 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14364 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14365 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14366 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14367 ac_header_preproc
=yes
14370 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14371 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14372 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14373 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14374 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14375 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14376 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14377 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14378 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14379 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14380 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14381 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14384 ## ----------------------------------------- ##
14385 ## Report this to wx-dev@lists.wxwidgets.org ##
14386 ## ----------------------------------------- ##
14389 sed "s/^/$as_me: WARNING: /" >&2
14392 echo "$as_me:$LINENO: checking for $ac_header" >&5
14393 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14394 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14395 echo $ECHO_N "(cached) $ECHO_C" >&6
14397 eval "$as_ac_Header=\$ac_header_preproc"
14399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14400 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14403 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14404 cat >>confdefs.h
<<_ACEOF
14405 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14413 for ac_header
in unistd.h
14415 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14416 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14417 echo "$as_me:$LINENO: checking for $ac_header" >&5
14418 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14419 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14420 echo $ECHO_N "(cached) $ECHO_C" >&6
14422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14423 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14425 # Is the header compilable?
14426 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14427 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14428 cat >conftest.
$ac_ext <<_ACEOF
14431 cat confdefs.h
>>conftest.
$ac_ext
14432 cat >>conftest.
$ac_ext <<_ACEOF
14433 /* end confdefs.h. */
14434 $ac_includes_default
14435 #include <$ac_header>
14437 rm -f conftest.
$ac_objext
14438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14439 (eval $ac_compile) 2>conftest.er1
14441 grep -v '^ *+' conftest.er1
>conftest.err
14443 cat conftest.err
>&5
14444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14445 (exit $ac_status); } &&
14446 { ac_try
='test -z "$ac_c_werror_flag"
14447 || test ! -s conftest.err'
14448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14449 (eval $ac_try) 2>&5
14451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14452 (exit $ac_status); }; } &&
14453 { ac_try
='test -s conftest.$ac_objext'
14454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14455 (eval $ac_try) 2>&5
14457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14458 (exit $ac_status); }; }; then
14459 ac_header_compiler
=yes
14461 echo "$as_me: failed program was:" >&5
14462 sed 's/^/| /' conftest.
$ac_ext >&5
14464 ac_header_compiler
=no
14466 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14467 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14468 echo "${ECHO_T}$ac_header_compiler" >&6
14470 # Is the header present?
14471 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14472 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14473 cat >conftest.
$ac_ext <<_ACEOF
14476 cat confdefs.h
>>conftest.
$ac_ext
14477 cat >>conftest.
$ac_ext <<_ACEOF
14478 /* end confdefs.h. */
14479 #include <$ac_header>
14481 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14482 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14484 grep -v '^ *+' conftest.er1
>conftest.err
14486 cat conftest.err
>&5
14487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14488 (exit $ac_status); } >/dev
/null
; then
14489 if test -s conftest.err
; then
14490 ac_cpp_err
=$ac_c_preproc_warn_flag
14491 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14498 if test -z "$ac_cpp_err"; then
14499 ac_header_preproc
=yes
14501 echo "$as_me: failed program was:" >&5
14502 sed 's/^/| /' conftest.
$ac_ext >&5
14504 ac_header_preproc
=no
14506 rm -f conftest.err conftest.
$ac_ext
14507 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14508 echo "${ECHO_T}$ac_header_preproc" >&6
14510 # So? What about this header?
14511 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14513 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14514 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14515 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14516 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14517 ac_header_preproc
=yes
14520 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14521 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14522 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14523 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14524 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14525 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14526 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14527 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14528 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14529 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14530 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14531 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14534 ## ----------------------------------------- ##
14535 ## Report this to wx-dev@lists.wxwidgets.org ##
14536 ## ----------------------------------------- ##
14539 sed "s/^/$as_me: WARNING: /" >&2
14542 echo "$as_me:$LINENO: checking for $ac_header" >&5
14543 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14544 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14545 echo $ECHO_N "(cached) $ECHO_C" >&6
14547 eval "$as_ac_Header=\$ac_header_preproc"
14549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14550 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14553 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14554 cat >>confdefs.h
<<_ACEOF
14555 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14563 for ac_header
in wchar.h
14565 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14566 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14567 echo "$as_me:$LINENO: checking for $ac_header" >&5
14568 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14569 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14570 echo $ECHO_N "(cached) $ECHO_C" >&6
14572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14573 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14575 # Is the header compilable?
14576 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14577 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14578 cat >conftest.
$ac_ext <<_ACEOF
14581 cat confdefs.h
>>conftest.
$ac_ext
14582 cat >>conftest.
$ac_ext <<_ACEOF
14583 /* end confdefs.h. */
14584 $ac_includes_default
14585 #include <$ac_header>
14587 rm -f conftest.
$ac_objext
14588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14589 (eval $ac_compile) 2>conftest.er1
14591 grep -v '^ *+' conftest.er1
>conftest.err
14593 cat conftest.err
>&5
14594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14595 (exit $ac_status); } &&
14596 { ac_try
='test -z "$ac_c_werror_flag"
14597 || test ! -s conftest.err'
14598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14599 (eval $ac_try) 2>&5
14601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14602 (exit $ac_status); }; } &&
14603 { ac_try
='test -s conftest.$ac_objext'
14604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14605 (eval $ac_try) 2>&5
14607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14608 (exit $ac_status); }; }; then
14609 ac_header_compiler
=yes
14611 echo "$as_me: failed program was:" >&5
14612 sed 's/^/| /' conftest.
$ac_ext >&5
14614 ac_header_compiler
=no
14616 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14617 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14618 echo "${ECHO_T}$ac_header_compiler" >&6
14620 # Is the header present?
14621 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14622 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14623 cat >conftest.
$ac_ext <<_ACEOF
14626 cat confdefs.h
>>conftest.
$ac_ext
14627 cat >>conftest.
$ac_ext <<_ACEOF
14628 /* end confdefs.h. */
14629 #include <$ac_header>
14631 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14632 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14634 grep -v '^ *+' conftest.er1
>conftest.err
14636 cat conftest.err
>&5
14637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14638 (exit $ac_status); } >/dev
/null
; then
14639 if test -s conftest.err
; then
14640 ac_cpp_err
=$ac_c_preproc_warn_flag
14641 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14648 if test -z "$ac_cpp_err"; then
14649 ac_header_preproc
=yes
14651 echo "$as_me: failed program was:" >&5
14652 sed 's/^/| /' conftest.
$ac_ext >&5
14654 ac_header_preproc
=no
14656 rm -f conftest.err conftest.
$ac_ext
14657 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14658 echo "${ECHO_T}$ac_header_preproc" >&6
14660 # So? What about this header?
14661 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14663 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14664 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14665 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14666 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14667 ac_header_preproc
=yes
14670 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14671 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14672 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14673 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14674 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14675 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14676 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14677 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14678 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14679 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14680 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14681 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14684 ## ----------------------------------------- ##
14685 ## Report this to wx-dev@lists.wxwidgets.org ##
14686 ## ----------------------------------------- ##
14689 sed "s/^/$as_me: WARNING: /" >&2
14692 echo "$as_me:$LINENO: checking for $ac_header" >&5
14693 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14694 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14695 echo $ECHO_N "(cached) $ECHO_C" >&6
14697 eval "$as_ac_Header=\$ac_header_preproc"
14699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14700 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14703 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14704 cat >>confdefs.h
<<_ACEOF
14705 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14713 if test "$ac_cv_header_wchar_h" != "yes"; then
14715 for ac_header
in wcstr.h
14717 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14719 echo "$as_me:$LINENO: checking for $ac_header" >&5
14720 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14721 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14722 echo $ECHO_N "(cached) $ECHO_C" >&6
14724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14725 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14727 # Is the header compilable?
14728 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14729 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14730 cat >conftest.
$ac_ext <<_ACEOF
14733 cat confdefs.h
>>conftest.
$ac_ext
14734 cat >>conftest.
$ac_ext <<_ACEOF
14735 /* end confdefs.h. */
14736 $ac_includes_default
14737 #include <$ac_header>
14739 rm -f conftest.
$ac_objext
14740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14741 (eval $ac_compile) 2>conftest.er1
14743 grep -v '^ *+' conftest.er1
>conftest.err
14745 cat conftest.err
>&5
14746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14747 (exit $ac_status); } &&
14748 { ac_try
='test -z "$ac_c_werror_flag"
14749 || test ! -s conftest.err'
14750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14751 (eval $ac_try) 2>&5
14753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14754 (exit $ac_status); }; } &&
14755 { ac_try
='test -s conftest.$ac_objext'
14756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14757 (eval $ac_try) 2>&5
14759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14760 (exit $ac_status); }; }; then
14761 ac_header_compiler
=yes
14763 echo "$as_me: failed program was:" >&5
14764 sed 's/^/| /' conftest.
$ac_ext >&5
14766 ac_header_compiler
=no
14768 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14769 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14770 echo "${ECHO_T}$ac_header_compiler" >&6
14772 # Is the header present?
14773 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14774 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14775 cat >conftest.
$ac_ext <<_ACEOF
14778 cat confdefs.h
>>conftest.
$ac_ext
14779 cat >>conftest.
$ac_ext <<_ACEOF
14780 /* end confdefs.h. */
14781 #include <$ac_header>
14783 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14784 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14786 grep -v '^ *+' conftest.er1
>conftest.err
14788 cat conftest.err
>&5
14789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14790 (exit $ac_status); } >/dev
/null
; then
14791 if test -s conftest.err
; then
14792 ac_cpp_err
=$ac_c_preproc_warn_flag
14793 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14800 if test -z "$ac_cpp_err"; then
14801 ac_header_preproc
=yes
14803 echo "$as_me: failed program was:" >&5
14804 sed 's/^/| /' conftest.
$ac_ext >&5
14806 ac_header_preproc
=no
14808 rm -f conftest.err conftest.
$ac_ext
14809 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14810 echo "${ECHO_T}$ac_header_preproc" >&6
14812 # So? What about this header?
14813 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14815 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14816 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14817 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14818 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14819 ac_header_preproc
=yes
14822 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14823 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14824 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14825 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14826 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14827 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14828 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14829 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14830 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14831 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14832 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14833 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14836 ## ----------------------------------------- ##
14837 ## Report this to wx-dev@lists.wxwidgets.org ##
14838 ## ----------------------------------------- ##
14841 sed "s/^/$as_me: WARNING: /" >&2
14844 echo "$as_me:$LINENO: checking for $ac_header" >&5
14845 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14846 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14847 echo $ECHO_N "(cached) $ECHO_C" >&6
14849 eval "$as_ac_Header=\$ac_header_preproc"
14851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14852 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14855 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14856 cat >>confdefs.h
<<_ACEOF
14857 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14867 for ac_header
in fnmatch.h
14869 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14870 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14871 echo "$as_me:$LINENO: checking for $ac_header" >&5
14872 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14873 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14874 echo $ECHO_N "(cached) $ECHO_C" >&6
14876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14877 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14879 # Is the header compilable?
14880 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14881 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14882 cat >conftest.
$ac_ext <<_ACEOF
14885 cat confdefs.h
>>conftest.
$ac_ext
14886 cat >>conftest.
$ac_ext <<_ACEOF
14887 /* end confdefs.h. */
14888 $ac_includes_default
14889 #include <$ac_header>
14891 rm -f conftest.
$ac_objext
14892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14893 (eval $ac_compile) 2>conftest.er1
14895 grep -v '^ *+' conftest.er1
>conftest.err
14897 cat conftest.err
>&5
14898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14899 (exit $ac_status); } &&
14900 { ac_try
='test -z "$ac_c_werror_flag"
14901 || test ! -s conftest.err'
14902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14903 (eval $ac_try) 2>&5
14905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14906 (exit $ac_status); }; } &&
14907 { ac_try
='test -s conftest.$ac_objext'
14908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14909 (eval $ac_try) 2>&5
14911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14912 (exit $ac_status); }; }; then
14913 ac_header_compiler
=yes
14915 echo "$as_me: failed program was:" >&5
14916 sed 's/^/| /' conftest.
$ac_ext >&5
14918 ac_header_compiler
=no
14920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14921 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14922 echo "${ECHO_T}$ac_header_compiler" >&6
14924 # Is the header present?
14925 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14926 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14927 cat >conftest.
$ac_ext <<_ACEOF
14930 cat confdefs.h
>>conftest.
$ac_ext
14931 cat >>conftest.
$ac_ext <<_ACEOF
14932 /* end confdefs.h. */
14933 #include <$ac_header>
14935 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14936 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14938 grep -v '^ *+' conftest.er1
>conftest.err
14940 cat conftest.err
>&5
14941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14942 (exit $ac_status); } >/dev
/null
; then
14943 if test -s conftest.err
; then
14944 ac_cpp_err
=$ac_c_preproc_warn_flag
14945 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14952 if test -z "$ac_cpp_err"; then
14953 ac_header_preproc
=yes
14955 echo "$as_me: failed program was:" >&5
14956 sed 's/^/| /' conftest.
$ac_ext >&5
14958 ac_header_preproc
=no
14960 rm -f conftest.err conftest.
$ac_ext
14961 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14962 echo "${ECHO_T}$ac_header_preproc" >&6
14964 # So? What about this header?
14965 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14967 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14968 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14969 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14970 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14971 ac_header_preproc
=yes
14974 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14975 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14976 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14977 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14978 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14979 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14980 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14981 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14982 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14983 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14984 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14985 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14988 ## ----------------------------------------- ##
14989 ## Report this to wx-dev@lists.wxwidgets.org ##
14990 ## ----------------------------------------- ##
14993 sed "s/^/$as_me: WARNING: /" >&2
14996 echo "$as_me:$LINENO: checking for $ac_header" >&5
14997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14998 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14999 echo $ECHO_N "(cached) $ECHO_C" >&6
15001 eval "$as_ac_Header=\$ac_header_preproc"
15003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15004 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15007 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15008 cat >>confdefs.h
<<_ACEOF
15009 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15017 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
15019 for ac_func
in fnmatch
15021 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15022 echo "$as_me:$LINENO: checking for $ac_func" >&5
15023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15024 if eval "test \"\${$as_ac_var+set}\" = set"; then
15025 echo $ECHO_N "(cached) $ECHO_C" >&6
15027 cat >conftest.
$ac_ext <<_ACEOF
15030 cat confdefs.h
>>conftest.
$ac_ext
15031 cat >>conftest.
$ac_ext <<_ACEOF
15032 /* end confdefs.h. */
15033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15035 #define $ac_func innocuous_$ac_func
15037 /* System header to define __stub macros and hopefully few prototypes,
15038 which can conflict with char $ac_func (); below.
15039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15040 <limits.h> exists even on freestanding compilers. */
15043 # include <limits.h>
15045 # include <assert.h>
15050 /* Override any gcc2 internal prototype to avoid an error. */
15055 /* We use char because int might match the return type of a gcc2
15056 builtin and then its argument prototype would still apply. */
15058 /* The GNU C library defines this for functions which it implements
15059 to always fail with ENOSYS. Some functions are actually named
15060 something starting with __ and the normal name is an alias. */
15061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15064 char (*f) () = $ac_func;
15073 return f != $ac_func;
15078 rm -f conftest.
$ac_objext conftest
$ac_exeext
15079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15080 (eval $ac_link) 2>conftest.er1
15082 grep -v '^ *+' conftest.er1
>conftest.err
15084 cat conftest.err
>&5
15085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15086 (exit $ac_status); } &&
15087 { ac_try
='test -z "$ac_c_werror_flag"
15088 || test ! -s conftest.err'
15089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15090 (eval $ac_try) 2>&5
15092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15093 (exit $ac_status); }; } &&
15094 { ac_try
='test -s conftest$ac_exeext'
15095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15096 (eval $ac_try) 2>&5
15098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15099 (exit $ac_status); }; }; then
15100 eval "$as_ac_var=yes"
15102 echo "$as_me: failed program was:" >&5
15103 sed 's/^/| /' conftest.
$ac_ext >&5
15105 eval "$as_ac_var=no"
15107 rm -f conftest.err conftest.
$ac_objext \
15108 conftest
$ac_exeext conftest.
$ac_ext
15110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15111 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15112 if test `eval echo '${'$as_ac_var'}'` = yes; then
15113 cat >>confdefs.h
<<_ACEOF
15114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15123 for ac_header
in langinfo.h
15125 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15126 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15127 echo "$as_me:$LINENO: checking for $ac_header" >&5
15128 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15129 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15130 echo $ECHO_N "(cached) $ECHO_C" >&6
15132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15133 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15135 # Is the header compilable?
15136 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15137 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15138 cat >conftest.
$ac_ext <<_ACEOF
15141 cat confdefs.h
>>conftest.
$ac_ext
15142 cat >>conftest.
$ac_ext <<_ACEOF
15143 /* end confdefs.h. */
15144 $ac_includes_default
15145 #include <$ac_header>
15147 rm -f conftest.
$ac_objext
15148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15149 (eval $ac_compile) 2>conftest.er1
15151 grep -v '^ *+' conftest.er1
>conftest.err
15153 cat conftest.err
>&5
15154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15155 (exit $ac_status); } &&
15156 { ac_try
='test -z "$ac_c_werror_flag"
15157 || test ! -s conftest.err'
15158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15159 (eval $ac_try) 2>&5
15161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15162 (exit $ac_status); }; } &&
15163 { ac_try
='test -s conftest.$ac_objext'
15164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15165 (eval $ac_try) 2>&5
15167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15168 (exit $ac_status); }; }; then
15169 ac_header_compiler
=yes
15171 echo "$as_me: failed program was:" >&5
15172 sed 's/^/| /' conftest.
$ac_ext >&5
15174 ac_header_compiler
=no
15176 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15177 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15178 echo "${ECHO_T}$ac_header_compiler" >&6
15180 # Is the header present?
15181 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15182 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15183 cat >conftest.
$ac_ext <<_ACEOF
15186 cat confdefs.h
>>conftest.
$ac_ext
15187 cat >>conftest.
$ac_ext <<_ACEOF
15188 /* end confdefs.h. */
15189 #include <$ac_header>
15191 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15192 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15194 grep -v '^ *+' conftest.er1
>conftest.err
15196 cat conftest.err
>&5
15197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15198 (exit $ac_status); } >/dev
/null
; then
15199 if test -s conftest.err
; then
15200 ac_cpp_err
=$ac_c_preproc_warn_flag
15201 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15208 if test -z "$ac_cpp_err"; then
15209 ac_header_preproc
=yes
15211 echo "$as_me: failed program was:" >&5
15212 sed 's/^/| /' conftest.
$ac_ext >&5
15214 ac_header_preproc
=no
15216 rm -f conftest.err conftest.
$ac_ext
15217 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15218 echo "${ECHO_T}$ac_header_preproc" >&6
15220 # So? What about this header?
15221 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15223 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15224 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15225 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15226 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15227 ac_header_preproc
=yes
15230 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15231 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15232 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15233 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15234 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15235 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15236 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15237 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15239 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15240 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15241 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15244 ## ----------------------------------------- ##
15245 ## Report this to wx-dev@lists.wxwidgets.org ##
15246 ## ----------------------------------------- ##
15249 sed "s/^/$as_me: WARNING: /" >&2
15252 echo "$as_me:$LINENO: checking for $ac_header" >&5
15253 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15254 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15255 echo $ECHO_N "(cached) $ECHO_C" >&6
15257 eval "$as_ac_Header=\$ac_header_preproc"
15259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15260 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15263 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15264 cat >>confdefs.h
<<_ACEOF
15265 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15274 *-pc-os2_emx | *-pc-os2-emx )
15275 if test $ac_cv_header_langinfo_h = "yes" \
15276 -a \
( "$wx_cv_gccversion" = "EMX2" \
15277 -o "$wx_cv_gccversion" = "EMX3" \
15278 -o "$wx_cv_gccversion" = "Innotek5" \
); then
15279 LIBS
="$LIBS -lintl"
15284 if test "$wxUSE_GUI" = "yes"; then
15285 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
15287 for ac_header
in X
11/Xlib.h
15289 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15290 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15291 echo "$as_me:$LINENO: checking for $ac_header" >&5
15292 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15294 echo $ECHO_N "(cached) $ECHO_C" >&6
15296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15297 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15299 # Is the header compilable?
15300 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15301 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15302 cat >conftest.
$ac_ext <<_ACEOF
15305 cat confdefs.h
>>conftest.
$ac_ext
15306 cat >>conftest.
$ac_ext <<_ACEOF
15307 /* end confdefs.h. */
15308 $ac_includes_default
15309 #include <$ac_header>
15311 rm -f conftest.
$ac_objext
15312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15313 (eval $ac_compile) 2>conftest.er1
15315 grep -v '^ *+' conftest.er1
>conftest.err
15317 cat conftest.err
>&5
15318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15319 (exit $ac_status); } &&
15320 { ac_try
='test -z "$ac_c_werror_flag"
15321 || test ! -s conftest.err'
15322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15323 (eval $ac_try) 2>&5
15325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15326 (exit $ac_status); }; } &&
15327 { ac_try
='test -s conftest.$ac_objext'
15328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15329 (eval $ac_try) 2>&5
15331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15332 (exit $ac_status); }; }; then
15333 ac_header_compiler
=yes
15335 echo "$as_me: failed program was:" >&5
15336 sed 's/^/| /' conftest.
$ac_ext >&5
15338 ac_header_compiler
=no
15340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15341 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15342 echo "${ECHO_T}$ac_header_compiler" >&6
15344 # Is the header present?
15345 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15346 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15347 cat >conftest.
$ac_ext <<_ACEOF
15350 cat confdefs.h
>>conftest.
$ac_ext
15351 cat >>conftest.
$ac_ext <<_ACEOF
15352 /* end confdefs.h. */
15353 #include <$ac_header>
15355 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15356 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15358 grep -v '^ *+' conftest.er1
>conftest.err
15360 cat conftest.err
>&5
15361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15362 (exit $ac_status); } >/dev
/null
; then
15363 if test -s conftest.err
; then
15364 ac_cpp_err
=$ac_c_preproc_warn_flag
15365 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15372 if test -z "$ac_cpp_err"; then
15373 ac_header_preproc
=yes
15375 echo "$as_me: failed program was:" >&5
15376 sed 's/^/| /' conftest.
$ac_ext >&5
15378 ac_header_preproc
=no
15380 rm -f conftest.err conftest.
$ac_ext
15381 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15382 echo "${ECHO_T}$ac_header_preproc" >&6
15384 # So? What about this header?
15385 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15387 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15388 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15389 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15390 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15391 ac_header_preproc
=yes
15394 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15395 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15396 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15397 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15398 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15399 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15400 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15401 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15402 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15403 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15404 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15405 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15408 ## ----------------------------------------- ##
15409 ## Report this to wx-dev@lists.wxwidgets.org ##
15410 ## ----------------------------------------- ##
15413 sed "s/^/$as_me: WARNING: /" >&2
15416 echo "$as_me:$LINENO: checking for $ac_header" >&5
15417 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15418 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15419 echo $ECHO_N "(cached) $ECHO_C" >&6
15421 eval "$as_ac_Header=\$ac_header_preproc"
15423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15424 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15427 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15428 cat >>confdefs.h
<<_ACEOF
15429 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15437 for ac_header
in X
11/XKBlib.h
15439 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15440 echo "$as_me:$LINENO: checking for $ac_header" >&5
15441 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15442 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15443 echo $ECHO_N "(cached) $ECHO_C" >&6
15445 cat >conftest.
$ac_ext <<_ACEOF
15448 cat confdefs.h
>>conftest.
$ac_ext
15449 cat >>conftest.
$ac_ext <<_ACEOF
15450 /* end confdefs.h. */
15452 #if HAVE_X11_XLIB_H
15453 #include <X11/Xlib.h>
15457 #include <$ac_header>
15459 rm -f conftest.
$ac_objext
15460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15461 (eval $ac_compile) 2>conftest.er1
15463 grep -v '^ *+' conftest.er1
>conftest.err
15465 cat conftest.err
>&5
15466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15467 (exit $ac_status); } &&
15468 { ac_try
='test -z "$ac_c_werror_flag"
15469 || test ! -s conftest.err'
15470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15471 (eval $ac_try) 2>&5
15473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15474 (exit $ac_status); }; } &&
15475 { ac_try
='test -s conftest.$ac_objext'
15476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15477 (eval $ac_try) 2>&5
15479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15480 (exit $ac_status); }; }; then
15481 eval "$as_ac_Header=yes"
15483 echo "$as_me: failed program was:" >&5
15484 sed 's/^/| /' conftest.
$ac_ext >&5
15486 eval "$as_ac_Header=no"
15488 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15491 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15492 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15493 cat >>confdefs.h
<<_ACEOF
15494 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15505 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15506 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15507 if test "${ac_cv_c_const+set}" = set; then
15508 echo $ECHO_N "(cached) $ECHO_C" >&6
15510 cat >conftest.
$ac_ext <<_ACEOF
15513 cat confdefs.h
>>conftest.
$ac_ext
15514 cat >>conftest.
$ac_ext <<_ACEOF
15515 /* end confdefs.h. */
15520 /* FIXME: Include the comments suggested by Paul. */
15521 #ifndef __cplusplus
15522 /* Ultrix mips cc rejects this. */
15523 typedef int charset[2];
15525 /* SunOS 4.1.1 cc rejects this. */
15526 char const *const *ccp;
15528 /* NEC SVR4.0.2 mips cc rejects this. */
15529 struct point {int x, y;};
15530 static struct point const zero = {0,0};
15531 /* AIX XL C 1.02.0.0 rejects this.
15532 It does not let you subtract one const X* pointer from another in
15533 an arm of an if-expression whose if-part is not a constant
15535 const char *g = "string";
15536 ccp = &g + (g ? g-g : 0);
15537 /* HPUX 7.0 cc rejects these. */
15540 ccp = (char const *const *) p;
15541 { /* SCO 3.2v4 cc rejects this. */
15543 char const *s = 0 ? (char *) 0 : (char const *) 0;
15547 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15548 int x[] = {25, 17};
15549 const int *foo = &x[0];
15552 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15553 typedef const int *iptr;
15557 { /* AIX XL C 1.02.0.0 rejects this saying
15558 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15559 struct s { int j; const int *ap[3]; };
15560 struct s *b; b->j = 5;
15562 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15563 const int foo = 10;
15571 rm -f conftest.
$ac_objext
15572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15573 (eval $ac_compile) 2>conftest.er1
15575 grep -v '^ *+' conftest.er1
>conftest.err
15577 cat conftest.err
>&5
15578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15579 (exit $ac_status); } &&
15580 { ac_try
='test -z "$ac_c_werror_flag"
15581 || test ! -s conftest.err'
15582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15583 (eval $ac_try) 2>&5
15585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15586 (exit $ac_status); }; } &&
15587 { ac_try
='test -s conftest.$ac_objext'
15588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15589 (eval $ac_try) 2>&5
15591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15592 (exit $ac_status); }; }; then
15595 echo "$as_me: failed program was:" >&5
15596 sed 's/^/| /' conftest.
$ac_ext >&5
15600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15602 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15603 echo "${ECHO_T}$ac_cv_c_const" >&6
15604 if test $ac_cv_c_const = no
; then
15606 cat >>confdefs.h
<<\_ACEOF
15612 echo "$as_me:$LINENO: checking for inline" >&5
15613 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15614 if test "${ac_cv_c_inline+set}" = set; then
15615 echo $ECHO_N "(cached) $ECHO_C" >&6
15618 for ac_kw
in inline __inline__ __inline
; do
15619 cat >conftest.
$ac_ext <<_ACEOF
15622 cat confdefs.h
>>conftest.
$ac_ext
15623 cat >>conftest.
$ac_ext <<_ACEOF
15624 /* end confdefs.h. */
15625 #ifndef __cplusplus
15627 static $ac_kw foo_t static_foo () {return 0; }
15628 $ac_kw foo_t foo () {return 0; }
15632 rm -f conftest.
$ac_objext
15633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15634 (eval $ac_compile) 2>conftest.er1
15636 grep -v '^ *+' conftest.er1
>conftest.err
15638 cat conftest.err
>&5
15639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15640 (exit $ac_status); } &&
15641 { ac_try
='test -z "$ac_c_werror_flag"
15642 || test ! -s conftest.err'
15643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15644 (eval $ac_try) 2>&5
15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); }; } &&
15648 { ac_try
='test -s conftest.$ac_objext'
15649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15650 (eval $ac_try) 2>&5
15652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15653 (exit $ac_status); }; }; then
15654 ac_cv_c_inline
=$ac_kw; break
15656 echo "$as_me: failed program was:" >&5
15657 sed 's/^/| /' conftest.
$ac_ext >&5
15660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15664 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15665 echo "${ECHO_T}$ac_cv_c_inline" >&6
15668 case $ac_cv_c_inline in
15671 case $ac_cv_c_inline in
15673 *) ac_val
=$ac_cv_c_inline;;
15675 cat >>confdefs.h
<<_ACEOF
15676 #ifndef __cplusplus
15677 #define inline $ac_val
15684 echo "$as_me:$LINENO: checking for char" >&5
15685 echo $ECHO_N "checking for char... $ECHO_C" >&6
15686 if test "${ac_cv_type_char+set}" = set; then
15687 echo $ECHO_N "(cached) $ECHO_C" >&6
15689 cat >conftest.
$ac_ext <<_ACEOF
15692 cat confdefs.h
>>conftest.
$ac_ext
15693 cat >>conftest.
$ac_ext <<_ACEOF
15694 /* end confdefs.h. */
15695 $ac_includes_default
15707 rm -f conftest.
$ac_objext
15708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15709 (eval $ac_compile) 2>conftest.er1
15711 grep -v '^ *+' conftest.er1
>conftest.err
15713 cat conftest.err
>&5
15714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15715 (exit $ac_status); } &&
15716 { ac_try
='test -z "$ac_c_werror_flag"
15717 || test ! -s conftest.err'
15718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15719 (eval $ac_try) 2>&5
15721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15722 (exit $ac_status); }; } &&
15723 { ac_try
='test -s conftest.$ac_objext'
15724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15725 (eval $ac_try) 2>&5
15727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15728 (exit $ac_status); }; }; then
15729 ac_cv_type_char
=yes
15731 echo "$as_me: failed program was:" >&5
15732 sed 's/^/| /' conftest.
$ac_ext >&5
15736 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15738 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15739 echo "${ECHO_T}$ac_cv_type_char" >&6
15741 echo "$as_me:$LINENO: checking size of char" >&5
15742 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15743 if test "${ac_cv_sizeof_char+set}" = set; then
15744 echo $ECHO_N "(cached) $ECHO_C" >&6
15746 if test "$ac_cv_type_char" = yes; then
15747 # The cast to unsigned long works around a bug in the HP C Compiler
15748 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15749 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15750 # This bug is HP SR number 8606223364.
15751 if test "$cross_compiling" = yes; then
15752 # Depending upon the size, compute the lo and hi bounds.
15753 cat >conftest.
$ac_ext <<_ACEOF
15756 cat confdefs.h
>>conftest.
$ac_ext
15757 cat >>conftest.
$ac_ext <<_ACEOF
15758 /* end confdefs.h. */
15759 $ac_includes_default
15763 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15770 rm -f conftest.
$ac_objext
15771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15772 (eval $ac_compile) 2>conftest.er1
15774 grep -v '^ *+' conftest.er1
>conftest.err
15776 cat conftest.err
>&5
15777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15778 (exit $ac_status); } &&
15779 { ac_try
='test -z "$ac_c_werror_flag"
15780 || test ! -s conftest.err'
15781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15782 (eval $ac_try) 2>&5
15784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15785 (exit $ac_status); }; } &&
15786 { ac_try
='test -s conftest.$ac_objext'
15787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15788 (eval $ac_try) 2>&5
15790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15791 (exit $ac_status); }; }; then
15794 cat >conftest.
$ac_ext <<_ACEOF
15797 cat confdefs.h
>>conftest.
$ac_ext
15798 cat >>conftest.
$ac_ext <<_ACEOF
15799 /* end confdefs.h. */
15800 $ac_includes_default
15804 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15811 rm -f conftest.
$ac_objext
15812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15813 (eval $ac_compile) 2>conftest.er1
15815 grep -v '^ *+' conftest.er1
>conftest.err
15817 cat conftest.err
>&5
15818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15819 (exit $ac_status); } &&
15820 { ac_try
='test -z "$ac_c_werror_flag"
15821 || test ! -s conftest.err'
15822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15823 (eval $ac_try) 2>&5
15825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); }; } &&
15827 { ac_try
='test -s conftest.$ac_objext'
15828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15829 (eval $ac_try) 2>&5
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); }; }; then
15833 ac_hi
=$ac_mid; break
15835 echo "$as_me: failed program was:" >&5
15836 sed 's/^/| /' conftest.
$ac_ext >&5
15838 ac_lo
=`expr $ac_mid + 1`
15839 if test $ac_lo -le $ac_mid; then
15843 ac_mid
=`expr 2 '*' $ac_mid + 1`
15845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15848 echo "$as_me: failed program was:" >&5
15849 sed 's/^/| /' conftest.
$ac_ext >&5
15851 cat >conftest.
$ac_ext <<_ACEOF
15854 cat confdefs.h
>>conftest.
$ac_ext
15855 cat >>conftest.
$ac_ext <<_ACEOF
15856 /* end confdefs.h. */
15857 $ac_includes_default
15861 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15868 rm -f conftest.
$ac_objext
15869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15870 (eval $ac_compile) 2>conftest.er1
15872 grep -v '^ *+' conftest.er1
>conftest.err
15874 cat conftest.err
>&5
15875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15876 (exit $ac_status); } &&
15877 { ac_try
='test -z "$ac_c_werror_flag"
15878 || test ! -s conftest.err'
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); }; } &&
15884 { ac_try
='test -s conftest.$ac_objext'
15885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15886 (eval $ac_try) 2>&5
15888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15889 (exit $ac_status); }; }; then
15892 cat >conftest.
$ac_ext <<_ACEOF
15895 cat confdefs.h
>>conftest.
$ac_ext
15896 cat >>conftest.
$ac_ext <<_ACEOF
15897 /* end confdefs.h. */
15898 $ac_includes_default
15902 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15909 rm -f conftest.
$ac_objext
15910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15911 (eval $ac_compile) 2>conftest.er1
15913 grep -v '^ *+' conftest.er1
>conftest.err
15915 cat conftest.err
>&5
15916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15917 (exit $ac_status); } &&
15918 { ac_try
='test -z "$ac_c_werror_flag"
15919 || test ! -s conftest.err'
15920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15921 (eval $ac_try) 2>&5
15923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15924 (exit $ac_status); }; } &&
15925 { ac_try
='test -s conftest.$ac_objext'
15926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15927 (eval $ac_try) 2>&5
15929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15930 (exit $ac_status); }; }; then
15931 ac_lo
=$ac_mid; break
15933 echo "$as_me: failed program was:" >&5
15934 sed 's/^/| /' conftest.
$ac_ext >&5
15936 ac_hi
=`expr '(' $ac_mid ')' - 1`
15937 if test $ac_mid -le $ac_hi; then
15941 ac_mid
=`expr 2 '*' $ac_mid`
15943 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15946 echo "$as_me: failed program was:" >&5
15947 sed 's/^/| /' conftest.
$ac_ext >&5
15951 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15953 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15954 # Binary search between lo and hi bounds.
15955 while test "x$ac_lo" != "x$ac_hi"; do
15956 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15957 cat >conftest.
$ac_ext <<_ACEOF
15960 cat confdefs.h
>>conftest.
$ac_ext
15961 cat >>conftest.
$ac_ext <<_ACEOF
15962 /* end confdefs.h. */
15963 $ac_includes_default
15967 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15974 rm -f conftest.
$ac_objext
15975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15976 (eval $ac_compile) 2>conftest.er1
15978 grep -v '^ *+' conftest.er1
>conftest.err
15980 cat conftest.err
>&5
15981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15982 (exit $ac_status); } &&
15983 { ac_try
='test -z "$ac_c_werror_flag"
15984 || test ! -s conftest.err'
15985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15986 (eval $ac_try) 2>&5
15988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15989 (exit $ac_status); }; } &&
15990 { ac_try
='test -s conftest.$ac_objext'
15991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15992 (eval $ac_try) 2>&5
15994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15995 (exit $ac_status); }; }; then
15998 echo "$as_me: failed program was:" >&5
15999 sed 's/^/| /' conftest.
$ac_ext >&5
16001 ac_lo
=`expr '(' $ac_mid ')' + 1`
16003 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16006 ?
*) ac_cv_sizeof_char
=$ac_lo;;
16007 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16008 See \`config.log' for more details." >&5
16009 echo "$as_me: error: cannot compute sizeof (char), 77
16010 See \`config.log' for more details." >&2;}
16011 { (exit 1); exit 1; }; } ;;
16014 if test "$cross_compiling" = yes; then
16015 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16016 See \`config.log' for more details." >&5
16017 echo "$as_me: error: cannot run test program while cross compiling
16018 See \`config.log' for more details." >&2;}
16019 { (exit 1); exit 1; }; }
16021 cat >conftest.
$ac_ext <<_ACEOF
16024 cat confdefs.h
>>conftest.
$ac_ext
16025 cat >>conftest.
$ac_ext <<_ACEOF
16026 /* end confdefs.h. */
16027 $ac_includes_default
16028 long longval () { return (long) (sizeof (char)); }
16029 unsigned long ulongval () { return (long) (sizeof (char)); }
16031 #include <stdlib.h>
16036 FILE *f = fopen ("conftest.val", "w");
16039 if (((long) (sizeof (char))) < 0)
16041 long i = longval ();
16042 if (i != ((long) (sizeof (char))))
16044 fprintf (f, "%ld\n", i);
16048 unsigned long i = ulongval ();
16049 if (i != ((long) (sizeof (char))))
16051 fprintf (f, "%lu\n", i);
16053 exit (ferror (f) || fclose (f) != 0);
16059 rm -f conftest
$ac_exeext
16060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16061 (eval $ac_link) 2>&5
16063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16064 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16066 (eval $ac_try) 2>&5
16068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16069 (exit $ac_status); }; }; then
16070 ac_cv_sizeof_char
=`cat conftest.val`
16072 echo "$as_me: program exited with status $ac_status" >&5
16073 echo "$as_me: failed program was:" >&5
16074 sed 's/^/| /' conftest.
$ac_ext >&5
16076 ( exit $ac_status )
16077 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16078 See \`config.log' for more details." >&5
16079 echo "$as_me: error: cannot compute sizeof (char), 77
16080 See \`config.log' for more details." >&2;}
16081 { (exit 1); exit 1; }; }
16083 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16088 ac_cv_sizeof_char
=0
16091 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
16092 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
16093 cat >>confdefs.h
<<_ACEOF
16094 #define SIZEOF_CHAR $ac_cv_sizeof_char
16098 echo "$as_me:$LINENO: checking for short" >&5
16099 echo $ECHO_N "checking for short... $ECHO_C" >&6
16100 if test "${ac_cv_type_short+set}" = set; then
16101 echo $ECHO_N "(cached) $ECHO_C" >&6
16103 cat >conftest.
$ac_ext <<_ACEOF
16106 cat confdefs.h
>>conftest.
$ac_ext
16107 cat >>conftest.
$ac_ext <<_ACEOF
16108 /* end confdefs.h. */
16109 $ac_includes_default
16115 if (sizeof (short))
16121 rm -f conftest.
$ac_objext
16122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16123 (eval $ac_compile) 2>conftest.er1
16125 grep -v '^ *+' conftest.er1
>conftest.err
16127 cat conftest.err
>&5
16128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16129 (exit $ac_status); } &&
16130 { ac_try
='test -z "$ac_c_werror_flag"
16131 || test ! -s conftest.err'
16132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16133 (eval $ac_try) 2>&5
16135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16136 (exit $ac_status); }; } &&
16137 { ac_try
='test -s conftest.$ac_objext'
16138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16139 (eval $ac_try) 2>&5
16141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16142 (exit $ac_status); }; }; then
16143 ac_cv_type_short
=yes
16145 echo "$as_me: failed program was:" >&5
16146 sed 's/^/| /' conftest.
$ac_ext >&5
16148 ac_cv_type_short
=no
16150 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16152 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
16153 echo "${ECHO_T}$ac_cv_type_short" >&6
16155 echo "$as_me:$LINENO: checking size of short" >&5
16156 echo $ECHO_N "checking size of short... $ECHO_C" >&6
16157 if test "${ac_cv_sizeof_short+set}" = set; then
16158 echo $ECHO_N "(cached) $ECHO_C" >&6
16160 if test "$ac_cv_type_short" = yes; then
16161 # The cast to unsigned long works around a bug in the HP C Compiler
16162 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16163 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16164 # This bug is HP SR number 8606223364.
16165 if test "$cross_compiling" = yes; then
16166 # Depending upon the size, compute the lo and hi bounds.
16167 cat >conftest.
$ac_ext <<_ACEOF
16170 cat confdefs.h
>>conftest.
$ac_ext
16171 cat >>conftest.
$ac_ext <<_ACEOF
16172 /* end confdefs.h. */
16173 $ac_includes_default
16177 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16184 rm -f conftest.
$ac_objext
16185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16186 (eval $ac_compile) 2>conftest.er1
16188 grep -v '^ *+' conftest.er1
>conftest.err
16190 cat conftest.err
>&5
16191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16192 (exit $ac_status); } &&
16193 { ac_try
='test -z "$ac_c_werror_flag"
16194 || test ! -s conftest.err'
16195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16196 (eval $ac_try) 2>&5
16198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16199 (exit $ac_status); }; } &&
16200 { ac_try
='test -s conftest.$ac_objext'
16201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16202 (eval $ac_try) 2>&5
16204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16205 (exit $ac_status); }; }; then
16208 cat >conftest.
$ac_ext <<_ACEOF
16211 cat confdefs.h
>>conftest.
$ac_ext
16212 cat >>conftest.
$ac_ext <<_ACEOF
16213 /* end confdefs.h. */
16214 $ac_includes_default
16218 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16225 rm -f conftest.
$ac_objext
16226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16227 (eval $ac_compile) 2>conftest.er1
16229 grep -v '^ *+' conftest.er1
>conftest.err
16231 cat conftest.err
>&5
16232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16233 (exit $ac_status); } &&
16234 { ac_try
='test -z "$ac_c_werror_flag"
16235 || test ! -s conftest.err'
16236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16237 (eval $ac_try) 2>&5
16239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16240 (exit $ac_status); }; } &&
16241 { ac_try
='test -s conftest.$ac_objext'
16242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16243 (eval $ac_try) 2>&5
16245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16246 (exit $ac_status); }; }; then
16247 ac_hi
=$ac_mid; break
16249 echo "$as_me: failed program was:" >&5
16250 sed 's/^/| /' conftest.
$ac_ext >&5
16252 ac_lo
=`expr $ac_mid + 1`
16253 if test $ac_lo -le $ac_mid; then
16257 ac_mid
=`expr 2 '*' $ac_mid + 1`
16259 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16262 echo "$as_me: failed program was:" >&5
16263 sed 's/^/| /' conftest.
$ac_ext >&5
16265 cat >conftest.
$ac_ext <<_ACEOF
16268 cat confdefs.h
>>conftest.
$ac_ext
16269 cat >>conftest.
$ac_ext <<_ACEOF
16270 /* end confdefs.h. */
16271 $ac_includes_default
16275 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
16282 rm -f conftest.
$ac_objext
16283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16284 (eval $ac_compile) 2>conftest.er1
16286 grep -v '^ *+' conftest.er1
>conftest.err
16288 cat conftest.err
>&5
16289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16290 (exit $ac_status); } &&
16291 { ac_try
='test -z "$ac_c_werror_flag"
16292 || test ! -s conftest.err'
16293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16294 (eval $ac_try) 2>&5
16296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16297 (exit $ac_status); }; } &&
16298 { ac_try
='test -s conftest.$ac_objext'
16299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16300 (eval $ac_try) 2>&5
16302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16303 (exit $ac_status); }; }; then
16306 cat >conftest.
$ac_ext <<_ACEOF
16309 cat confdefs.h
>>conftest.
$ac_ext
16310 cat >>conftest.
$ac_ext <<_ACEOF
16311 /* end confdefs.h. */
16312 $ac_includes_default
16316 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16323 rm -f conftest.
$ac_objext
16324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16325 (eval $ac_compile) 2>conftest.er1
16327 grep -v '^ *+' conftest.er1
>conftest.err
16329 cat conftest.err
>&5
16330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16331 (exit $ac_status); } &&
16332 { ac_try
='test -z "$ac_c_werror_flag"
16333 || test ! -s conftest.err'
16334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16335 (eval $ac_try) 2>&5
16337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16338 (exit $ac_status); }; } &&
16339 { ac_try
='test -s conftest.$ac_objext'
16340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16341 (eval $ac_try) 2>&5
16343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16344 (exit $ac_status); }; }; then
16345 ac_lo
=$ac_mid; break
16347 echo "$as_me: failed program was:" >&5
16348 sed 's/^/| /' conftest.
$ac_ext >&5
16350 ac_hi
=`expr '(' $ac_mid ')' - 1`
16351 if test $ac_mid -le $ac_hi; then
16355 ac_mid
=`expr 2 '*' $ac_mid`
16357 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16360 echo "$as_me: failed program was:" >&5
16361 sed 's/^/| /' conftest.
$ac_ext >&5
16365 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16367 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16368 # Binary search between lo and hi bounds.
16369 while test "x$ac_lo" != "x$ac_hi"; do
16370 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16371 cat >conftest.
$ac_ext <<_ACEOF
16374 cat confdefs.h
>>conftest.
$ac_ext
16375 cat >>conftest.
$ac_ext <<_ACEOF
16376 /* end confdefs.h. */
16377 $ac_includes_default
16381 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16388 rm -f conftest.
$ac_objext
16389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16390 (eval $ac_compile) 2>conftest.er1
16392 grep -v '^ *+' conftest.er1
>conftest.err
16394 cat conftest.err
>&5
16395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16396 (exit $ac_status); } &&
16397 { ac_try
='test -z "$ac_c_werror_flag"
16398 || test ! -s conftest.err'
16399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16400 (eval $ac_try) 2>&5
16402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16403 (exit $ac_status); }; } &&
16404 { ac_try
='test -s conftest.$ac_objext'
16405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16406 (eval $ac_try) 2>&5
16408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16409 (exit $ac_status); }; }; then
16412 echo "$as_me: failed program was:" >&5
16413 sed 's/^/| /' conftest.
$ac_ext >&5
16415 ac_lo
=`expr '(' $ac_mid ')' + 1`
16417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16420 ?
*) ac_cv_sizeof_short
=$ac_lo;;
16421 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16422 See \`config.log' for more details." >&5
16423 echo "$as_me: error: cannot compute sizeof (short), 77
16424 See \`config.log' for more details." >&2;}
16425 { (exit 1); exit 1; }; } ;;
16428 if test "$cross_compiling" = yes; then
16429 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16430 See \`config.log' for more details." >&5
16431 echo "$as_me: error: cannot run test program while cross compiling
16432 See \`config.log' for more details." >&2;}
16433 { (exit 1); exit 1; }; }
16435 cat >conftest.
$ac_ext <<_ACEOF
16438 cat confdefs.h
>>conftest.
$ac_ext
16439 cat >>conftest.
$ac_ext <<_ACEOF
16440 /* end confdefs.h. */
16441 $ac_includes_default
16442 long longval () { return (long) (sizeof (short)); }
16443 unsigned long ulongval () { return (long) (sizeof (short)); }
16445 #include <stdlib.h>
16450 FILE *f = fopen ("conftest.val", "w");
16453 if (((long) (sizeof (short))) < 0)
16455 long i = longval ();
16456 if (i != ((long) (sizeof (short))))
16458 fprintf (f, "%ld\n", i);
16462 unsigned long i = ulongval ();
16463 if (i != ((long) (sizeof (short))))
16465 fprintf (f, "%lu\n", i);
16467 exit (ferror (f) || fclose (f) != 0);
16473 rm -f conftest
$ac_exeext
16474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16475 (eval $ac_link) 2>&5
16477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16478 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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); }; }; then
16484 ac_cv_sizeof_short
=`cat conftest.val`
16486 echo "$as_me: program exited with status $ac_status" >&5
16487 echo "$as_me: failed program was:" >&5
16488 sed 's/^/| /' conftest.
$ac_ext >&5
16490 ( exit $ac_status )
16491 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16492 See \`config.log' for more details." >&5
16493 echo "$as_me: error: cannot compute sizeof (short), 77
16494 See \`config.log' for more details." >&2;}
16495 { (exit 1); exit 1; }; }
16497 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16502 ac_cv_sizeof_short
=0
16505 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16506 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16507 cat >>confdefs.h
<<_ACEOF
16508 #define SIZEOF_SHORT $ac_cv_sizeof_short
16512 echo "$as_me:$LINENO: checking for void *" >&5
16513 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16514 if test "${ac_cv_type_void_p+set}" = set; then
16515 echo $ECHO_N "(cached) $ECHO_C" >&6
16517 cat >conftest.
$ac_ext <<_ACEOF
16520 cat confdefs.h
>>conftest.
$ac_ext
16521 cat >>conftest.
$ac_ext <<_ACEOF
16522 /* end confdefs.h. */
16523 $ac_includes_default
16529 if (sizeof (void *))
16535 rm -f conftest.
$ac_objext
16536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16537 (eval $ac_compile) 2>conftest.er1
16539 grep -v '^ *+' conftest.er1
>conftest.err
16541 cat conftest.err
>&5
16542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16543 (exit $ac_status); } &&
16544 { ac_try
='test -z "$ac_c_werror_flag"
16545 || test ! -s conftest.err'
16546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16547 (eval $ac_try) 2>&5
16549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16550 (exit $ac_status); }; } &&
16551 { ac_try
='test -s conftest.$ac_objext'
16552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16553 (eval $ac_try) 2>&5
16555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16556 (exit $ac_status); }; }; then
16557 ac_cv_type_void_p
=yes
16559 echo "$as_me: failed program was:" >&5
16560 sed 's/^/| /' conftest.
$ac_ext >&5
16562 ac_cv_type_void_p
=no
16564 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16566 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16567 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16569 echo "$as_me:$LINENO: checking size of void *" >&5
16570 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16571 if test "${ac_cv_sizeof_void_p+set}" = set; then
16572 echo $ECHO_N "(cached) $ECHO_C" >&6
16574 if test "$ac_cv_type_void_p" = yes; then
16575 # The cast to unsigned long works around a bug in the HP C Compiler
16576 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16577 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16578 # This bug is HP SR number 8606223364.
16579 if test "$cross_compiling" = yes; then
16580 # Depending upon the size, compute the lo and hi bounds.
16581 cat >conftest.
$ac_ext <<_ACEOF
16584 cat confdefs.h
>>conftest.
$ac_ext
16585 cat >>conftest.
$ac_ext <<_ACEOF
16586 /* end confdefs.h. */
16587 $ac_includes_default
16591 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16598 rm -f conftest.
$ac_objext
16599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16600 (eval $ac_compile) 2>conftest.er1
16602 grep -v '^ *+' conftest.er1
>conftest.err
16604 cat conftest.err
>&5
16605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16606 (exit $ac_status); } &&
16607 { ac_try
='test -z "$ac_c_werror_flag"
16608 || test ! -s conftest.err'
16609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16610 (eval $ac_try) 2>&5
16612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16613 (exit $ac_status); }; } &&
16614 { ac_try
='test -s conftest.$ac_objext'
16615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16616 (eval $ac_try) 2>&5
16618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619 (exit $ac_status); }; }; then
16622 cat >conftest.
$ac_ext <<_ACEOF
16625 cat confdefs.h
>>conftest.
$ac_ext
16626 cat >>conftest.
$ac_ext <<_ACEOF
16627 /* end confdefs.h. */
16628 $ac_includes_default
16632 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16639 rm -f conftest.
$ac_objext
16640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16641 (eval $ac_compile) 2>conftest.er1
16643 grep -v '^ *+' conftest.er1
>conftest.err
16645 cat conftest.err
>&5
16646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16647 (exit $ac_status); } &&
16648 { ac_try
='test -z "$ac_c_werror_flag"
16649 || test ! -s conftest.err'
16650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16651 (eval $ac_try) 2>&5
16653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16654 (exit $ac_status); }; } &&
16655 { ac_try
='test -s conftest.$ac_objext'
16656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16657 (eval $ac_try) 2>&5
16659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16660 (exit $ac_status); }; }; then
16661 ac_hi
=$ac_mid; break
16663 echo "$as_me: failed program was:" >&5
16664 sed 's/^/| /' conftest.
$ac_ext >&5
16666 ac_lo
=`expr $ac_mid + 1`
16667 if test $ac_lo -le $ac_mid; then
16671 ac_mid
=`expr 2 '*' $ac_mid + 1`
16673 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16676 echo "$as_me: failed program was:" >&5
16677 sed 's/^/| /' conftest.
$ac_ext >&5
16679 cat >conftest.
$ac_ext <<_ACEOF
16682 cat confdefs.h
>>conftest.
$ac_ext
16683 cat >>conftest.
$ac_ext <<_ACEOF
16684 /* end confdefs.h. */
16685 $ac_includes_default
16689 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16696 rm -f conftest.
$ac_objext
16697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16698 (eval $ac_compile) 2>conftest.er1
16700 grep -v '^ *+' conftest.er1
>conftest.err
16702 cat conftest.err
>&5
16703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16704 (exit $ac_status); } &&
16705 { ac_try
='test -z "$ac_c_werror_flag"
16706 || test ! -s conftest.err'
16707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16708 (eval $ac_try) 2>&5
16710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16711 (exit $ac_status); }; } &&
16712 { ac_try
='test -s conftest.$ac_objext'
16713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16714 (eval $ac_try) 2>&5
16716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16717 (exit $ac_status); }; }; then
16720 cat >conftest.
$ac_ext <<_ACEOF
16723 cat confdefs.h
>>conftest.
$ac_ext
16724 cat >>conftest.
$ac_ext <<_ACEOF
16725 /* end confdefs.h. */
16726 $ac_includes_default
16730 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16737 rm -f conftest.
$ac_objext
16738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16739 (eval $ac_compile) 2>conftest.er1
16741 grep -v '^ *+' conftest.er1
>conftest.err
16743 cat conftest.err
>&5
16744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16745 (exit $ac_status); } &&
16746 { ac_try
='test -z "$ac_c_werror_flag"
16747 || test ! -s conftest.err'
16748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16749 (eval $ac_try) 2>&5
16751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16752 (exit $ac_status); }; } &&
16753 { ac_try
='test -s conftest.$ac_objext'
16754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16755 (eval $ac_try) 2>&5
16757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16758 (exit $ac_status); }; }; then
16759 ac_lo
=$ac_mid; break
16761 echo "$as_me: failed program was:" >&5
16762 sed 's/^/| /' conftest.
$ac_ext >&5
16764 ac_hi
=`expr '(' $ac_mid ')' - 1`
16765 if test $ac_mid -le $ac_hi; then
16769 ac_mid
=`expr 2 '*' $ac_mid`
16771 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16774 echo "$as_me: failed program was:" >&5
16775 sed 's/^/| /' conftest.
$ac_ext >&5
16779 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16781 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16782 # Binary search between lo and hi bounds.
16783 while test "x$ac_lo" != "x$ac_hi"; do
16784 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16785 cat >conftest.
$ac_ext <<_ACEOF
16788 cat confdefs.h
>>conftest.
$ac_ext
16789 cat >>conftest.
$ac_ext <<_ACEOF
16790 /* end confdefs.h. */
16791 $ac_includes_default
16795 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16802 rm -f conftest.
$ac_objext
16803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16804 (eval $ac_compile) 2>conftest.er1
16806 grep -v '^ *+' conftest.er1
>conftest.err
16808 cat conftest.err
>&5
16809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16810 (exit $ac_status); } &&
16811 { ac_try
='test -z "$ac_c_werror_flag"
16812 || test ! -s conftest.err'
16813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16814 (eval $ac_try) 2>&5
16816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16817 (exit $ac_status); }; } &&
16818 { ac_try
='test -s conftest.$ac_objext'
16819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16820 (eval $ac_try) 2>&5
16822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16823 (exit $ac_status); }; }; then
16826 echo "$as_me: failed program was:" >&5
16827 sed 's/^/| /' conftest.
$ac_ext >&5
16829 ac_lo
=`expr '(' $ac_mid ')' + 1`
16831 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16834 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
16835 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16836 See \`config.log' for more details." >&5
16837 echo "$as_me: error: cannot compute sizeof (void *), 77
16838 See \`config.log' for more details." >&2;}
16839 { (exit 1); exit 1; }; } ;;
16842 if test "$cross_compiling" = yes; then
16843 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16844 See \`config.log' for more details." >&5
16845 echo "$as_me: error: cannot run test program while cross compiling
16846 See \`config.log' for more details." >&2;}
16847 { (exit 1); exit 1; }; }
16849 cat >conftest.
$ac_ext <<_ACEOF
16852 cat confdefs.h
>>conftest.
$ac_ext
16853 cat >>conftest.
$ac_ext <<_ACEOF
16854 /* end confdefs.h. */
16855 $ac_includes_default
16856 long longval () { return (long) (sizeof (void *)); }
16857 unsigned long ulongval () { return (long) (sizeof (void *)); }
16859 #include <stdlib.h>
16864 FILE *f = fopen ("conftest.val", "w");
16867 if (((long) (sizeof (void *))) < 0)
16869 long i = longval ();
16870 if (i != ((long) (sizeof (void *))))
16872 fprintf (f, "%ld\n", i);
16876 unsigned long i = ulongval ();
16877 if (i != ((long) (sizeof (void *))))
16879 fprintf (f, "%lu\n", i);
16881 exit (ferror (f) || fclose (f) != 0);
16887 rm -f conftest
$ac_exeext
16888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16889 (eval $ac_link) 2>&5
16891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16892 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16894 (eval $ac_try) 2>&5
16896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16897 (exit $ac_status); }; }; then
16898 ac_cv_sizeof_void_p
=`cat conftest.val`
16900 echo "$as_me: program exited with status $ac_status" >&5
16901 echo "$as_me: failed program was:" >&5
16902 sed 's/^/| /' conftest.
$ac_ext >&5
16904 ( exit $ac_status )
16905 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16906 See \`config.log' for more details." >&5
16907 echo "$as_me: error: cannot compute sizeof (void *), 77
16908 See \`config.log' for more details." >&2;}
16909 { (exit 1); exit 1; }; }
16911 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16916 ac_cv_sizeof_void_p
=0
16919 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16920 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16921 cat >>confdefs.h
<<_ACEOF
16922 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16926 echo "$as_me:$LINENO: checking for int" >&5
16927 echo $ECHO_N "checking for int... $ECHO_C" >&6
16928 if test "${ac_cv_type_int+set}" = set; then
16929 echo $ECHO_N "(cached) $ECHO_C" >&6
16931 cat >conftest.
$ac_ext <<_ACEOF
16934 cat confdefs.h
>>conftest.
$ac_ext
16935 cat >>conftest.
$ac_ext <<_ACEOF
16936 /* end confdefs.h. */
16937 $ac_includes_default
16949 rm -f conftest.
$ac_objext
16950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16951 (eval $ac_compile) 2>conftest.er1
16953 grep -v '^ *+' conftest.er1
>conftest.err
16955 cat conftest.err
>&5
16956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16957 (exit $ac_status); } &&
16958 { ac_try
='test -z "$ac_c_werror_flag"
16959 || test ! -s conftest.err'
16960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16961 (eval $ac_try) 2>&5
16963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16964 (exit $ac_status); }; } &&
16965 { ac_try
='test -s conftest.$ac_objext'
16966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16967 (eval $ac_try) 2>&5
16969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16970 (exit $ac_status); }; }; then
16973 echo "$as_me: failed program was:" >&5
16974 sed 's/^/| /' conftest.
$ac_ext >&5
16978 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16980 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16981 echo "${ECHO_T}$ac_cv_type_int" >&6
16983 echo "$as_me:$LINENO: checking size of int" >&5
16984 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16985 if test "${ac_cv_sizeof_int+set}" = set; then
16986 echo $ECHO_N "(cached) $ECHO_C" >&6
16988 if test "$ac_cv_type_int" = yes; then
16989 # The cast to unsigned long works around a bug in the HP C Compiler
16990 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16991 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16992 # This bug is HP SR number 8606223364.
16993 if test "$cross_compiling" = yes; then
16994 # Depending upon the size, compute the lo and hi bounds.
16995 cat >conftest.
$ac_ext <<_ACEOF
16998 cat confdefs.h
>>conftest.
$ac_ext
16999 cat >>conftest.
$ac_ext <<_ACEOF
17000 /* end confdefs.h. */
17001 $ac_includes_default
17005 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
17012 rm -f conftest.
$ac_objext
17013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17014 (eval $ac_compile) 2>conftest.er1
17016 grep -v '^ *+' conftest.er1
>conftest.err
17018 cat conftest.err
>&5
17019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17020 (exit $ac_status); } &&
17021 { ac_try
='test -z "$ac_c_werror_flag"
17022 || test ! -s conftest.err'
17023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17024 (eval $ac_try) 2>&5
17026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17027 (exit $ac_status); }; } &&
17028 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
17036 cat >conftest.
$ac_ext <<_ACEOF
17039 cat confdefs.h
>>conftest.
$ac_ext
17040 cat >>conftest.
$ac_ext <<_ACEOF
17041 /* end confdefs.h. */
17042 $ac_includes_default
17046 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17053 rm -f conftest.
$ac_objext
17054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17055 (eval $ac_compile) 2>conftest.er1
17057 grep -v '^ *+' conftest.er1
>conftest.err
17059 cat conftest.err
>&5
17060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17061 (exit $ac_status); } &&
17062 { ac_try
='test -z "$ac_c_werror_flag"
17063 || test ! -s conftest.err'
17064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17065 (eval $ac_try) 2>&5
17067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17068 (exit $ac_status); }; } &&
17069 { ac_try
='test -s conftest.$ac_objext'
17070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17071 (eval $ac_try) 2>&5
17073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17074 (exit $ac_status); }; }; then
17075 ac_hi
=$ac_mid; break
17077 echo "$as_me: failed program was:" >&5
17078 sed 's/^/| /' conftest.
$ac_ext >&5
17080 ac_lo
=`expr $ac_mid + 1`
17081 if test $ac_lo -le $ac_mid; then
17085 ac_mid
=`expr 2 '*' $ac_mid + 1`
17087 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17090 echo "$as_me: failed program was:" >&5
17091 sed 's/^/| /' conftest.
$ac_ext >&5
17093 cat >conftest.
$ac_ext <<_ACEOF
17096 cat confdefs.h
>>conftest.
$ac_ext
17097 cat >>conftest.
$ac_ext <<_ACEOF
17098 /* end confdefs.h. */
17099 $ac_includes_default
17103 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
17110 rm -f conftest.
$ac_objext
17111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17112 (eval $ac_compile) 2>conftest.er1
17114 grep -v '^ *+' conftest.er1
>conftest.err
17116 cat conftest.err
>&5
17117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17118 (exit $ac_status); } &&
17119 { ac_try
='test -z "$ac_c_werror_flag"
17120 || test ! -s conftest.err'
17121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17122 (eval $ac_try) 2>&5
17124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17125 (exit $ac_status); }; } &&
17126 { ac_try
='test -s conftest.$ac_objext'
17127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17128 (eval $ac_try) 2>&5
17130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17131 (exit $ac_status); }; }; then
17134 cat >conftest.
$ac_ext <<_ACEOF
17137 cat confdefs.h
>>conftest.
$ac_ext
17138 cat >>conftest.
$ac_ext <<_ACEOF
17139 /* end confdefs.h. */
17140 $ac_includes_default
17144 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
17151 rm -f conftest.
$ac_objext
17152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17153 (eval $ac_compile) 2>conftest.er1
17155 grep -v '^ *+' conftest.er1
>conftest.err
17157 cat conftest.err
>&5
17158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17159 (exit $ac_status); } &&
17160 { ac_try
='test -z "$ac_c_werror_flag"
17161 || test ! -s conftest.err'
17162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17163 (eval $ac_try) 2>&5
17165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166 (exit $ac_status); }; } &&
17167 { ac_try
='test -s conftest.$ac_objext'
17168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17169 (eval $ac_try) 2>&5
17171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17172 (exit $ac_status); }; }; then
17173 ac_lo
=$ac_mid; break
17175 echo "$as_me: failed program was:" >&5
17176 sed 's/^/| /' conftest.
$ac_ext >&5
17178 ac_hi
=`expr '(' $ac_mid ')' - 1`
17179 if test $ac_mid -le $ac_hi; then
17183 ac_mid
=`expr 2 '*' $ac_mid`
17185 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17188 echo "$as_me: failed program was:" >&5
17189 sed 's/^/| /' conftest.
$ac_ext >&5
17193 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17195 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17196 # Binary search between lo and hi bounds.
17197 while test "x$ac_lo" != "x$ac_hi"; do
17198 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17199 cat >conftest.
$ac_ext <<_ACEOF
17202 cat confdefs.h
>>conftest.
$ac_ext
17203 cat >>conftest.
$ac_ext <<_ACEOF
17204 /* end confdefs.h. */
17205 $ac_includes_default
17209 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17216 rm -f conftest.
$ac_objext
17217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17218 (eval $ac_compile) 2>conftest.er1
17220 grep -v '^ *+' conftest.er1
>conftest.err
17222 cat conftest.err
>&5
17223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17224 (exit $ac_status); } &&
17225 { ac_try
='test -z "$ac_c_werror_flag"
17226 || 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
17240 echo "$as_me: failed program was:" >&5
17241 sed 's/^/| /' conftest.
$ac_ext >&5
17243 ac_lo
=`expr '(' $ac_mid ')' + 1`
17245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17248 ?
*) ac_cv_sizeof_int
=$ac_lo;;
17249 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17250 See \`config.log' for more details." >&5
17251 echo "$as_me: error: cannot compute sizeof (int), 77
17252 See \`config.log' for more details." >&2;}
17253 { (exit 1); exit 1; }; } ;;
17256 if test "$cross_compiling" = yes; then
17257 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17258 See \`config.log' for more details." >&5
17259 echo "$as_me: error: cannot run test program while cross compiling
17260 See \`config.log' for more details." >&2;}
17261 { (exit 1); exit 1; }; }
17263 cat >conftest.
$ac_ext <<_ACEOF
17266 cat confdefs.h
>>conftest.
$ac_ext
17267 cat >>conftest.
$ac_ext <<_ACEOF
17268 /* end confdefs.h. */
17269 $ac_includes_default
17270 long longval () { return (long) (sizeof (int)); }
17271 unsigned long ulongval () { return (long) (sizeof (int)); }
17273 #include <stdlib.h>
17278 FILE *f = fopen ("conftest.val", "w");
17281 if (((long) (sizeof (int))) < 0)
17283 long i = longval ();
17284 if (i != ((long) (sizeof (int))))
17286 fprintf (f, "%ld\n", i);
17290 unsigned long i = ulongval ();
17291 if (i != ((long) (sizeof (int))))
17293 fprintf (f, "%lu\n", i);
17295 exit (ferror (f) || fclose (f) != 0);
17301 rm -f conftest
$ac_exeext
17302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17303 (eval $ac_link) 2>&5
17305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17306 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17308 (eval $ac_try) 2>&5
17310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17311 (exit $ac_status); }; }; then
17312 ac_cv_sizeof_int
=`cat conftest.val`
17314 echo "$as_me: program exited with status $ac_status" >&5
17315 echo "$as_me: failed program was:" >&5
17316 sed 's/^/| /' conftest.
$ac_ext >&5
17318 ( exit $ac_status )
17319 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17320 See \`config.log' for more details." >&5
17321 echo "$as_me: error: cannot compute sizeof (int), 77
17322 See \`config.log' for more details." >&2;}
17323 { (exit 1); exit 1; }; }
17325 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17333 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17334 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17335 cat >>confdefs.h
<<_ACEOF
17336 #define SIZEOF_INT $ac_cv_sizeof_int
17340 echo "$as_me:$LINENO: checking for long" >&5
17341 echo $ECHO_N "checking for long... $ECHO_C" >&6
17342 if test "${ac_cv_type_long+set}" = set; then
17343 echo $ECHO_N "(cached) $ECHO_C" >&6
17345 cat >conftest.
$ac_ext <<_ACEOF
17348 cat confdefs.h
>>conftest.
$ac_ext
17349 cat >>conftest.
$ac_ext <<_ACEOF
17350 /* end confdefs.h. */
17351 $ac_includes_default
17363 rm -f conftest.
$ac_objext
17364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17365 (eval $ac_compile) 2>conftest.er1
17367 grep -v '^ *+' conftest.er1
>conftest.err
17369 cat conftest.err
>&5
17370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17371 (exit $ac_status); } &&
17372 { ac_try
='test -z "$ac_c_werror_flag"
17373 || test ! -s conftest.err'
17374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17375 (eval $ac_try) 2>&5
17377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17378 (exit $ac_status); }; } &&
17379 { ac_try
='test -s conftest.$ac_objext'
17380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17381 (eval $ac_try) 2>&5
17383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17384 (exit $ac_status); }; }; then
17385 ac_cv_type_long
=yes
17387 echo "$as_me: failed program was:" >&5
17388 sed 's/^/| /' conftest.
$ac_ext >&5
17392 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17394 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17395 echo "${ECHO_T}$ac_cv_type_long" >&6
17397 echo "$as_me:$LINENO: checking size of long" >&5
17398 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17399 if test "${ac_cv_sizeof_long+set}" = set; then
17400 echo $ECHO_N "(cached) $ECHO_C" >&6
17402 if test "$ac_cv_type_long" = yes; then
17403 # The cast to unsigned long works around a bug in the HP C Compiler
17404 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17405 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17406 # This bug is HP SR number 8606223364.
17407 if test "$cross_compiling" = yes; then
17408 # Depending upon the size, compute the lo and hi bounds.
17409 cat >conftest.
$ac_ext <<_ACEOF
17412 cat confdefs.h
>>conftest.
$ac_ext
17413 cat >>conftest.
$ac_ext <<_ACEOF
17414 /* end confdefs.h. */
17415 $ac_includes_default
17419 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17426 rm -f conftest.
$ac_objext
17427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17428 (eval $ac_compile) 2>conftest.er1
17430 grep -v '^ *+' conftest.er1
>conftest.err
17432 cat conftest.err
>&5
17433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17434 (exit $ac_status); } &&
17435 { ac_try
='test -z "$ac_c_werror_flag"
17436 || test ! -s conftest.err'
17437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17438 (eval $ac_try) 2>&5
17440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17441 (exit $ac_status); }; } &&
17442 { ac_try
='test -s conftest.$ac_objext'
17443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17444 (eval $ac_try) 2>&5
17446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17447 (exit $ac_status); }; }; then
17450 cat >conftest.
$ac_ext <<_ACEOF
17453 cat confdefs.h
>>conftest.
$ac_ext
17454 cat >>conftest.
$ac_ext <<_ACEOF
17455 /* end confdefs.h. */
17456 $ac_includes_default
17460 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17467 rm -f conftest.
$ac_objext
17468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17469 (eval $ac_compile) 2>conftest.er1
17471 grep -v '^ *+' conftest.er1
>conftest.err
17473 cat conftest.err
>&5
17474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17475 (exit $ac_status); } &&
17476 { ac_try
='test -z "$ac_c_werror_flag"
17477 || test ! -s conftest.err'
17478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17479 (eval $ac_try) 2>&5
17481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17482 (exit $ac_status); }; } &&
17483 { ac_try
='test -s conftest.$ac_objext'
17484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17485 (eval $ac_try) 2>&5
17487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17488 (exit $ac_status); }; }; then
17489 ac_hi
=$ac_mid; break
17491 echo "$as_me: failed program was:" >&5
17492 sed 's/^/| /' conftest.
$ac_ext >&5
17494 ac_lo
=`expr $ac_mid + 1`
17495 if test $ac_lo -le $ac_mid; then
17499 ac_mid
=`expr 2 '*' $ac_mid + 1`
17501 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17504 echo "$as_me: failed program was:" >&5
17505 sed 's/^/| /' conftest.
$ac_ext >&5
17507 cat >conftest.
$ac_ext <<_ACEOF
17510 cat confdefs.h
>>conftest.
$ac_ext
17511 cat >>conftest.
$ac_ext <<_ACEOF
17512 /* end confdefs.h. */
17513 $ac_includes_default
17517 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17524 rm -f conftest.
$ac_objext
17525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17526 (eval $ac_compile) 2>conftest.er1
17528 grep -v '^ *+' conftest.er1
>conftest.err
17530 cat conftest.err
>&5
17531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17532 (exit $ac_status); } &&
17533 { ac_try
='test -z "$ac_c_werror_flag"
17534 || test ! -s conftest.err'
17535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17536 (eval $ac_try) 2>&5
17538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17539 (exit $ac_status); }; } &&
17540 { ac_try
='test -s conftest.$ac_objext'
17541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17542 (eval $ac_try) 2>&5
17544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17545 (exit $ac_status); }; }; then
17548 cat >conftest.
$ac_ext <<_ACEOF
17551 cat confdefs.h
>>conftest.
$ac_ext
17552 cat >>conftest.
$ac_ext <<_ACEOF
17553 /* end confdefs.h. */
17554 $ac_includes_default
17558 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17565 rm -f conftest.
$ac_objext
17566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17567 (eval $ac_compile) 2>conftest.er1
17569 grep -v '^ *+' conftest.er1
>conftest.err
17571 cat conftest.err
>&5
17572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17573 (exit $ac_status); } &&
17574 { ac_try
='test -z "$ac_c_werror_flag"
17575 || test ! -s conftest.err'
17576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17577 (eval $ac_try) 2>&5
17579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17580 (exit $ac_status); }; } &&
17581 { ac_try
='test -s conftest.$ac_objext'
17582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17583 (eval $ac_try) 2>&5
17585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586 (exit $ac_status); }; }; then
17587 ac_lo
=$ac_mid; break
17589 echo "$as_me: failed program was:" >&5
17590 sed 's/^/| /' conftest.
$ac_ext >&5
17592 ac_hi
=`expr '(' $ac_mid ')' - 1`
17593 if test $ac_mid -le $ac_hi; then
17597 ac_mid
=`expr 2 '*' $ac_mid`
17599 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17602 echo "$as_me: failed program was:" >&5
17603 sed 's/^/| /' conftest.
$ac_ext >&5
17607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17609 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17610 # Binary search between lo and hi bounds.
17611 while test "x$ac_lo" != "x$ac_hi"; do
17612 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17613 cat >conftest.
$ac_ext <<_ACEOF
17616 cat confdefs.h
>>conftest.
$ac_ext
17617 cat >>conftest.
$ac_ext <<_ACEOF
17618 /* end confdefs.h. */
17619 $ac_includes_default
17623 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17630 rm -f conftest.
$ac_objext
17631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17632 (eval $ac_compile) 2>conftest.er1
17634 grep -v '^ *+' conftest.er1
>conftest.err
17636 cat conftest.err
>&5
17637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17638 (exit $ac_status); } &&
17639 { ac_try
='test -z "$ac_c_werror_flag"
17640 || test ! -s conftest.err'
17641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17642 (eval $ac_try) 2>&5
17644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17645 (exit $ac_status); }; } &&
17646 { ac_try
='test -s conftest.$ac_objext'
17647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17648 (eval $ac_try) 2>&5
17650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17651 (exit $ac_status); }; }; then
17654 echo "$as_me: failed program was:" >&5
17655 sed 's/^/| /' conftest.
$ac_ext >&5
17657 ac_lo
=`expr '(' $ac_mid ')' + 1`
17659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17662 ?
*) ac_cv_sizeof_long
=$ac_lo;;
17663 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17664 See \`config.log' for more details." >&5
17665 echo "$as_me: error: cannot compute sizeof (long), 77
17666 See \`config.log' for more details." >&2;}
17667 { (exit 1); exit 1; }; } ;;
17670 if test "$cross_compiling" = yes; then
17671 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17672 See \`config.log' for more details." >&5
17673 echo "$as_me: error: cannot run test program while cross compiling
17674 See \`config.log' for more details." >&2;}
17675 { (exit 1); exit 1; }; }
17677 cat >conftest.
$ac_ext <<_ACEOF
17680 cat confdefs.h
>>conftest.
$ac_ext
17681 cat >>conftest.
$ac_ext <<_ACEOF
17682 /* end confdefs.h. */
17683 $ac_includes_default
17684 long longval () { return (long) (sizeof (long)); }
17685 unsigned long ulongval () { return (long) (sizeof (long)); }
17687 #include <stdlib.h>
17692 FILE *f = fopen ("conftest.val", "w");
17695 if (((long) (sizeof (long))) < 0)
17697 long i = longval ();
17698 if (i != ((long) (sizeof (long))))
17700 fprintf (f, "%ld\n", i);
17704 unsigned long i = ulongval ();
17705 if (i != ((long) (sizeof (long))))
17707 fprintf (f, "%lu\n", i);
17709 exit (ferror (f) || fclose (f) != 0);
17715 rm -f conftest
$ac_exeext
17716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17717 (eval $ac_link) 2>&5
17719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17720 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17722 (eval $ac_try) 2>&5
17724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17725 (exit $ac_status); }; }; then
17726 ac_cv_sizeof_long
=`cat conftest.val`
17728 echo "$as_me: program exited with status $ac_status" >&5
17729 echo "$as_me: failed program was:" >&5
17730 sed 's/^/| /' conftest.
$ac_ext >&5
17732 ( exit $ac_status )
17733 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17734 See \`config.log' for more details." >&5
17735 echo "$as_me: error: cannot compute sizeof (long), 77
17736 See \`config.log' for more details." >&2;}
17737 { (exit 1); exit 1; }; }
17739 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17744 ac_cv_sizeof_long
=0
17747 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17748 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17749 cat >>confdefs.h
<<_ACEOF
17750 #define SIZEOF_LONG $ac_cv_sizeof_long
17754 echo "$as_me:$LINENO: checking for size_t" >&5
17755 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17756 if test "${ac_cv_type_size_t+set}" = set; then
17757 echo $ECHO_N "(cached) $ECHO_C" >&6
17759 cat >conftest.
$ac_ext <<_ACEOF
17762 cat confdefs.h
>>conftest.
$ac_ext
17763 cat >>conftest.
$ac_ext <<_ACEOF
17764 /* end confdefs.h. */
17765 $ac_includes_default
17771 if (sizeof (size_t))
17777 rm -f conftest.
$ac_objext
17778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17779 (eval $ac_compile) 2>conftest.er1
17781 grep -v '^ *+' conftest.er1
>conftest.err
17783 cat conftest.err
>&5
17784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17785 (exit $ac_status); } &&
17786 { ac_try
='test -z "$ac_c_werror_flag"
17787 || test ! -s conftest.err'
17788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17789 (eval $ac_try) 2>&5
17791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17792 (exit $ac_status); }; } &&
17793 { ac_try
='test -s conftest.$ac_objext'
17794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17795 (eval $ac_try) 2>&5
17797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17798 (exit $ac_status); }; }; then
17799 ac_cv_type_size_t
=yes
17801 echo "$as_me: failed program was:" >&5
17802 sed 's/^/| /' conftest.
$ac_ext >&5
17804 ac_cv_type_size_t
=no
17806 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17808 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17809 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17811 echo "$as_me:$LINENO: checking size of size_t" >&5
17812 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
17813 if test "${ac_cv_sizeof_size_t+set}" = set; then
17814 echo $ECHO_N "(cached) $ECHO_C" >&6
17816 if test "$ac_cv_type_size_t" = yes; then
17817 # The cast to unsigned long works around a bug in the HP C Compiler
17818 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17819 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17820 # This bug is HP SR number 8606223364.
17821 if test "$cross_compiling" = yes; then
17822 # Depending upon the size, compute the lo and hi bounds.
17823 cat >conftest.
$ac_ext <<_ACEOF
17826 cat confdefs.h
>>conftest.
$ac_ext
17827 cat >>conftest.
$ac_ext <<_ACEOF
17828 /* end confdefs.h. */
17829 $ac_includes_default
17833 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
17840 rm -f conftest.
$ac_objext
17841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17842 (eval $ac_compile) 2>conftest.er1
17844 grep -v '^ *+' conftest.er1
>conftest.err
17846 cat conftest.err
>&5
17847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17848 (exit $ac_status); } &&
17849 { ac_try
='test -z "$ac_c_werror_flag"
17850 || test ! -s conftest.err'
17851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17852 (eval $ac_try) 2>&5
17854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17855 (exit $ac_status); }; } &&
17856 { ac_try
='test -s conftest.$ac_objext'
17857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17858 (eval $ac_try) 2>&5
17860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861 (exit $ac_status); }; }; then
17864 cat >conftest.
$ac_ext <<_ACEOF
17867 cat confdefs.h
>>conftest.
$ac_ext
17868 cat >>conftest.
$ac_ext <<_ACEOF
17869 /* end confdefs.h. */
17870 $ac_includes_default
17874 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17881 rm -f conftest.
$ac_objext
17882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17883 (eval $ac_compile) 2>conftest.er1
17885 grep -v '^ *+' conftest.er1
>conftest.err
17887 cat conftest.err
>&5
17888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17889 (exit $ac_status); } &&
17890 { ac_try
='test -z "$ac_c_werror_flag"
17891 || test ! -s conftest.err'
17892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17893 (eval $ac_try) 2>&5
17895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17896 (exit $ac_status); }; } &&
17897 { ac_try
='test -s conftest.$ac_objext'
17898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17899 (eval $ac_try) 2>&5
17901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17902 (exit $ac_status); }; }; then
17903 ac_hi
=$ac_mid; break
17905 echo "$as_me: failed program was:" >&5
17906 sed 's/^/| /' conftest.
$ac_ext >&5
17908 ac_lo
=`expr $ac_mid + 1`
17909 if test $ac_lo -le $ac_mid; then
17913 ac_mid
=`expr 2 '*' $ac_mid + 1`
17915 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17918 echo "$as_me: failed program was:" >&5
17919 sed 's/^/| /' conftest.
$ac_ext >&5
17921 cat >conftest.
$ac_ext <<_ACEOF
17924 cat confdefs.h
>>conftest.
$ac_ext
17925 cat >>conftest.
$ac_ext <<_ACEOF
17926 /* end confdefs.h. */
17927 $ac_includes_default
17931 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
17938 rm -f conftest.
$ac_objext
17939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17940 (eval $ac_compile) 2>conftest.er1
17942 grep -v '^ *+' conftest.er1
>conftest.err
17944 cat conftest.err
>&5
17945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17946 (exit $ac_status); } &&
17947 { ac_try
='test -z "$ac_c_werror_flag"
17948 || test ! -s conftest.err'
17949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17950 (eval $ac_try) 2>&5
17952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17953 (exit $ac_status); }; } &&
17954 { ac_try
='test -s conftest.$ac_objext'
17955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17956 (eval $ac_try) 2>&5
17958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17959 (exit $ac_status); }; }; then
17962 cat >conftest.
$ac_ext <<_ACEOF
17965 cat confdefs.h
>>conftest.
$ac_ext
17966 cat >>conftest.
$ac_ext <<_ACEOF
17967 /* end confdefs.h. */
17968 $ac_includes_default
17972 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17979 rm -f conftest.
$ac_objext
17980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17981 (eval $ac_compile) 2>conftest.er1
17983 grep -v '^ *+' conftest.er1
>conftest.err
17985 cat conftest.err
>&5
17986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17987 (exit $ac_status); } &&
17988 { ac_try
='test -z "$ac_c_werror_flag"
17989 || test ! -s conftest.err'
17990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17991 (eval $ac_try) 2>&5
17993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17994 (exit $ac_status); }; } &&
17995 { ac_try
='test -s conftest.$ac_objext'
17996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17997 (eval $ac_try) 2>&5
17999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18000 (exit $ac_status); }; }; then
18001 ac_lo
=$ac_mid; break
18003 echo "$as_me: failed program was:" >&5
18004 sed 's/^/| /' conftest.
$ac_ext >&5
18006 ac_hi
=`expr '(' $ac_mid ')' - 1`
18007 if test $ac_mid -le $ac_hi; then
18011 ac_mid
=`expr 2 '*' $ac_mid`
18013 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18016 echo "$as_me: failed program was:" >&5
18017 sed 's/^/| /' conftest.
$ac_ext >&5
18021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18023 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18024 # Binary search between lo and hi bounds.
18025 while test "x$ac_lo" != "x$ac_hi"; do
18026 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18027 cat >conftest.
$ac_ext <<_ACEOF
18030 cat confdefs.h
>>conftest.
$ac_ext
18031 cat >>conftest.
$ac_ext <<_ACEOF
18032 /* end confdefs.h. */
18033 $ac_includes_default
18037 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
18044 rm -f conftest.
$ac_objext
18045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18046 (eval $ac_compile) 2>conftest.er1
18048 grep -v '^ *+' conftest.er1
>conftest.err
18050 cat conftest.err
>&5
18051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18052 (exit $ac_status); } &&
18053 { ac_try
='test -z "$ac_c_werror_flag"
18054 || test ! -s conftest.err'
18055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18056 (eval $ac_try) 2>&5
18058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18059 (exit $ac_status); }; } &&
18060 { ac_try
='test -s conftest.$ac_objext'
18061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18062 (eval $ac_try) 2>&5
18064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18065 (exit $ac_status); }; }; then
18068 echo "$as_me: failed program was:" >&5
18069 sed 's/^/| /' conftest.
$ac_ext >&5
18071 ac_lo
=`expr '(' $ac_mid ')' + 1`
18073 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18076 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
18077 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
18078 See \`config.log' for more details." >&5
18079 echo "$as_me: error: cannot compute sizeof (size_t), 77
18080 See \`config.log' for more details." >&2;}
18081 { (exit 1); exit 1; }; } ;;
18084 if test "$cross_compiling" = yes; then
18085 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18086 See \`config.log' for more details." >&5
18087 echo "$as_me: error: cannot run test program while cross compiling
18088 See \`config.log' for more details." >&2;}
18089 { (exit 1); exit 1; }; }
18091 cat >conftest.
$ac_ext <<_ACEOF
18094 cat confdefs.h
>>conftest.
$ac_ext
18095 cat >>conftest.
$ac_ext <<_ACEOF
18096 /* end confdefs.h. */
18097 $ac_includes_default
18098 long longval () { return (long) (sizeof (size_t)); }
18099 unsigned long ulongval () { return (long) (sizeof (size_t)); }
18101 #include <stdlib.h>
18106 FILE *f = fopen ("conftest.val", "w");
18109 if (((long) (sizeof (size_t))) < 0)
18111 long i = longval ();
18112 if (i != ((long) (sizeof (size_t))))
18114 fprintf (f, "%ld\n", i);
18118 unsigned long i = ulongval ();
18119 if (i != ((long) (sizeof (size_t))))
18121 fprintf (f, "%lu\n", i);
18123 exit (ferror (f) || fclose (f) != 0);
18129 rm -f conftest
$ac_exeext
18130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18131 (eval $ac_link) 2>&5
18133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18134 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18136 (eval $ac_try) 2>&5
18138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18139 (exit $ac_status); }; }; then
18140 ac_cv_sizeof_size_t
=`cat conftest.val`
18142 echo "$as_me: program exited with status $ac_status" >&5
18143 echo "$as_me: failed program was:" >&5
18144 sed 's/^/| /' conftest.
$ac_ext >&5
18146 ( exit $ac_status )
18147 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
18148 See \`config.log' for more details." >&5
18149 echo "$as_me: error: cannot compute sizeof (size_t), 77
18150 See \`config.log' for more details." >&2;}
18151 { (exit 1); exit 1; }; }
18153 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18158 ac_cv_sizeof_size_t
=0
18161 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
18162 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
18163 cat >>confdefs.h
<<_ACEOF
18164 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
18171 echo "$as_me:$LINENO: checking for long long" >&5
18172 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18173 if test "${ac_cv_type_long_long+set}" = set; then
18174 echo $ECHO_N "(cached) $ECHO_C" >&6
18176 cat >conftest.
$ac_ext <<_ACEOF
18179 cat confdefs.h
>>conftest.
$ac_ext
18180 cat >>conftest.
$ac_ext <<_ACEOF
18181 /* end confdefs.h. */
18182 $ac_includes_default
18186 if ((long long *) 0)
18188 if (sizeof (long long))
18194 rm -f conftest.
$ac_objext
18195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18196 (eval $ac_compile) 2>conftest.er1
18198 grep -v '^ *+' conftest.er1
>conftest.err
18200 cat conftest.err
>&5
18201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18202 (exit $ac_status); } &&
18203 { ac_try
='test -z "$ac_c_werror_flag"
18204 || test ! -s conftest.err'
18205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18206 (eval $ac_try) 2>&5
18208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18209 (exit $ac_status); }; } &&
18210 { ac_try
='test -s conftest.$ac_objext'
18211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18212 (eval $ac_try) 2>&5
18214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18215 (exit $ac_status); }; }; then
18216 ac_cv_type_long_long
=yes
18218 echo "$as_me: failed program was:" >&5
18219 sed 's/^/| /' conftest.
$ac_ext >&5
18221 ac_cv_type_long_long
=no
18223 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18225 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18226 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18228 echo "$as_me:$LINENO: checking size of long long" >&5
18229 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18230 if test "${ac_cv_sizeof_long_long+set}" = set; then
18231 echo $ECHO_N "(cached) $ECHO_C" >&6
18233 if test "$ac_cv_type_long_long" = yes; then
18234 # The cast to unsigned long works around a bug in the HP C Compiler
18235 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18236 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18237 # This bug is HP SR number 8606223364.
18238 if test "$cross_compiling" = yes; then
18239 # Depending upon the size, compute the lo and hi bounds.
18240 cat >conftest.
$ac_ext <<_ACEOF
18243 cat confdefs.h
>>conftest.
$ac_ext
18244 cat >>conftest.
$ac_ext <<_ACEOF
18245 /* end confdefs.h. */
18246 $ac_includes_default
18250 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18257 rm -f conftest.
$ac_objext
18258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18259 (eval $ac_compile) 2>conftest.er1
18261 grep -v '^ *+' conftest.er1
>conftest.err
18263 cat conftest.err
>&5
18264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18265 (exit $ac_status); } &&
18266 { ac_try
='test -z "$ac_c_werror_flag"
18267 || test ! -s conftest.err'
18268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18269 (eval $ac_try) 2>&5
18271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18272 (exit $ac_status); }; } &&
18273 { ac_try
='test -s conftest.$ac_objext'
18274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18275 (eval $ac_try) 2>&5
18277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18278 (exit $ac_status); }; }; then
18281 cat >conftest.
$ac_ext <<_ACEOF
18284 cat confdefs.h
>>conftest.
$ac_ext
18285 cat >>conftest.
$ac_ext <<_ACEOF
18286 /* end confdefs.h. */
18287 $ac_includes_default
18291 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18298 rm -f conftest.
$ac_objext
18299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18300 (eval $ac_compile) 2>conftest.er1
18302 grep -v '^ *+' conftest.er1
>conftest.err
18304 cat conftest.err
>&5
18305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18306 (exit $ac_status); } &&
18307 { ac_try
='test -z "$ac_c_werror_flag"
18308 || test ! -s conftest.err'
18309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18310 (eval $ac_try) 2>&5
18312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18313 (exit $ac_status); }; } &&
18314 { ac_try
='test -s conftest.$ac_objext'
18315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18316 (eval $ac_try) 2>&5
18318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18319 (exit $ac_status); }; }; then
18320 ac_hi
=$ac_mid; break
18322 echo "$as_me: failed program was:" >&5
18323 sed 's/^/| /' conftest.
$ac_ext >&5
18325 ac_lo
=`expr $ac_mid + 1`
18326 if test $ac_lo -le $ac_mid; then
18330 ac_mid
=`expr 2 '*' $ac_mid + 1`
18332 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18335 echo "$as_me: failed program was:" >&5
18336 sed 's/^/| /' conftest.
$ac_ext >&5
18338 cat >conftest.
$ac_ext <<_ACEOF
18341 cat confdefs.h
>>conftest.
$ac_ext
18342 cat >>conftest.
$ac_ext <<_ACEOF
18343 /* end confdefs.h. */
18344 $ac_includes_default
18348 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18355 rm -f conftest.
$ac_objext
18356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18357 (eval $ac_compile) 2>conftest.er1
18359 grep -v '^ *+' conftest.er1
>conftest.err
18361 cat conftest.err
>&5
18362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18363 (exit $ac_status); } &&
18364 { ac_try
='test -z "$ac_c_werror_flag"
18365 || test ! -s conftest.err'
18366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18367 (eval $ac_try) 2>&5
18369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18370 (exit $ac_status); }; } &&
18371 { ac_try
='test -s conftest.$ac_objext'
18372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18373 (eval $ac_try) 2>&5
18375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18376 (exit $ac_status); }; }; then
18379 cat >conftest.
$ac_ext <<_ACEOF
18382 cat confdefs.h
>>conftest.
$ac_ext
18383 cat >>conftest.
$ac_ext <<_ACEOF
18384 /* end confdefs.h. */
18385 $ac_includes_default
18389 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18396 rm -f conftest.
$ac_objext
18397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18398 (eval $ac_compile) 2>conftest.er1
18400 grep -v '^ *+' conftest.er1
>conftest.err
18402 cat conftest.err
>&5
18403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18404 (exit $ac_status); } &&
18405 { ac_try
='test -z "$ac_c_werror_flag"
18406 || test ! -s conftest.err'
18407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18408 (eval $ac_try) 2>&5
18410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18411 (exit $ac_status); }; } &&
18412 { ac_try
='test -s conftest.$ac_objext'
18413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18414 (eval $ac_try) 2>&5
18416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18417 (exit $ac_status); }; }; then
18418 ac_lo
=$ac_mid; break
18420 echo "$as_me: failed program was:" >&5
18421 sed 's/^/| /' conftest.
$ac_ext >&5
18423 ac_hi
=`expr '(' $ac_mid ')' - 1`
18424 if test $ac_mid -le $ac_hi; then
18428 ac_mid
=`expr 2 '*' $ac_mid`
18430 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18433 echo "$as_me: failed program was:" >&5
18434 sed 's/^/| /' conftest.
$ac_ext >&5
18438 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18440 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18441 # Binary search between lo and hi bounds.
18442 while test "x$ac_lo" != "x$ac_hi"; do
18443 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18444 cat >conftest.
$ac_ext <<_ACEOF
18447 cat confdefs.h
>>conftest.
$ac_ext
18448 cat >>conftest.
$ac_ext <<_ACEOF
18449 /* end confdefs.h. */
18450 $ac_includes_default
18454 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18461 rm -f conftest.
$ac_objext
18462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18463 (eval $ac_compile) 2>conftest.er1
18465 grep -v '^ *+' conftest.er1
>conftest.err
18467 cat conftest.err
>&5
18468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18469 (exit $ac_status); } &&
18470 { ac_try
='test -z "$ac_c_werror_flag"
18471 || test ! -s conftest.err'
18472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18473 (eval $ac_try) 2>&5
18475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18476 (exit $ac_status); }; } &&
18477 { ac_try
='test -s conftest.$ac_objext'
18478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18479 (eval $ac_try) 2>&5
18481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18482 (exit $ac_status); }; }; then
18485 echo "$as_me: failed program was:" >&5
18486 sed 's/^/| /' conftest.
$ac_ext >&5
18488 ac_lo
=`expr '(' $ac_mid ')' + 1`
18490 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18493 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18494 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18495 See \`config.log' for more details." >&5
18496 echo "$as_me: error: cannot compute sizeof (long long), 77
18497 See \`config.log' for more details." >&2;}
18498 { (exit 1); exit 1; }; } ;;
18501 if test "$cross_compiling" = yes; then
18502 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18503 See \`config.log' for more details." >&5
18504 echo "$as_me: error: cannot run test program while cross compiling
18505 See \`config.log' for more details." >&2;}
18506 { (exit 1); exit 1; }; }
18508 cat >conftest.
$ac_ext <<_ACEOF
18511 cat confdefs.h
>>conftest.
$ac_ext
18512 cat >>conftest.
$ac_ext <<_ACEOF
18513 /* end confdefs.h. */
18514 $ac_includes_default
18515 long longval () { return (long) (sizeof (long long)); }
18516 unsigned long ulongval () { return (long) (sizeof (long long)); }
18518 #include <stdlib.h>
18523 FILE *f = fopen ("conftest.val", "w");
18526 if (((long) (sizeof (long long))) < 0)
18528 long i = longval ();
18529 if (i != ((long) (sizeof (long long))))
18531 fprintf (f, "%ld\n", i);
18535 unsigned long i = ulongval ();
18536 if (i != ((long) (sizeof (long long))))
18538 fprintf (f, "%lu\n", i);
18540 exit (ferror (f) || fclose (f) != 0);
18546 rm -f conftest
$ac_exeext
18547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18548 (eval $ac_link) 2>&5
18550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18551 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18553 (eval $ac_try) 2>&5
18555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18556 (exit $ac_status); }; }; then
18557 ac_cv_sizeof_long_long
=`cat conftest.val`
18559 echo "$as_me: program exited with status $ac_status" >&5
18560 echo "$as_me: failed program was:" >&5
18561 sed 's/^/| /' conftest.
$ac_ext >&5
18563 ( exit $ac_status )
18564 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18565 See \`config.log' for more details." >&5
18566 echo "$as_me: error: cannot compute sizeof (long long), 77
18567 See \`config.log' for more details." >&2;}
18568 { (exit 1); exit 1; }; }
18570 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18575 ac_cv_sizeof_long_long
=0
18578 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18579 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18580 cat >>confdefs.h
<<_ACEOF
18581 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18587 echo "$as_me:$LINENO: checking for long long" >&5
18588 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18589 if test "${ac_cv_type_long_long+set}" = set; then
18590 echo $ECHO_N "(cached) $ECHO_C" >&6
18592 cat >conftest.
$ac_ext <<_ACEOF
18595 cat confdefs.h
>>conftest.
$ac_ext
18596 cat >>conftest.
$ac_ext <<_ACEOF
18597 /* end confdefs.h. */
18598 $ac_includes_default
18602 if ((long long *) 0)
18604 if (sizeof (long long))
18610 rm -f conftest.
$ac_objext
18611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18612 (eval $ac_compile) 2>conftest.er1
18614 grep -v '^ *+' conftest.er1
>conftest.err
18616 cat conftest.err
>&5
18617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18618 (exit $ac_status); } &&
18619 { ac_try
='test -z "$ac_c_werror_flag"
18620 || test ! -s conftest.err'
18621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18622 (eval $ac_try) 2>&5
18624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18625 (exit $ac_status); }; } &&
18626 { ac_try
='test -s conftest.$ac_objext'
18627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18628 (eval $ac_try) 2>&5
18630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18631 (exit $ac_status); }; }; then
18632 ac_cv_type_long_long
=yes
18634 echo "$as_me: failed program was:" >&5
18635 sed 's/^/| /' conftest.
$ac_ext >&5
18637 ac_cv_type_long_long
=no
18639 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18641 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18642 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18644 echo "$as_me:$LINENO: checking size of long long" >&5
18645 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18646 if test "${ac_cv_sizeof_long_long+set}" = set; then
18647 echo $ECHO_N "(cached) $ECHO_C" >&6
18649 if test "$ac_cv_type_long_long" = yes; then
18650 # The cast to unsigned long works around a bug in the HP C Compiler
18651 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18652 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18653 # This bug is HP SR number 8606223364.
18654 if test "$cross_compiling" = yes; then
18655 # Depending upon the size, compute the lo and hi bounds.
18656 cat >conftest.
$ac_ext <<_ACEOF
18659 cat confdefs.h
>>conftest.
$ac_ext
18660 cat >>conftest.
$ac_ext <<_ACEOF
18661 /* end confdefs.h. */
18662 $ac_includes_default
18666 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18673 rm -f conftest.
$ac_objext
18674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18675 (eval $ac_compile) 2>conftest.er1
18677 grep -v '^ *+' conftest.er1
>conftest.err
18679 cat conftest.err
>&5
18680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18681 (exit $ac_status); } &&
18682 { ac_try
='test -z "$ac_c_werror_flag"
18683 || test ! -s conftest.err'
18684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18685 (eval $ac_try) 2>&5
18687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18688 (exit $ac_status); }; } &&
18689 { ac_try
='test -s conftest.$ac_objext'
18690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18691 (eval $ac_try) 2>&5
18693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18694 (exit $ac_status); }; }; then
18697 cat >conftest.
$ac_ext <<_ACEOF
18700 cat confdefs.h
>>conftest.
$ac_ext
18701 cat >>conftest.
$ac_ext <<_ACEOF
18702 /* end confdefs.h. */
18703 $ac_includes_default
18707 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18714 rm -f conftest.
$ac_objext
18715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18716 (eval $ac_compile) 2>conftest.er1
18718 grep -v '^ *+' conftest.er1
>conftest.err
18720 cat conftest.err
>&5
18721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18722 (exit $ac_status); } &&
18723 { ac_try
='test -z "$ac_c_werror_flag"
18724 || 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
18736 ac_hi
=$ac_mid; break
18738 echo "$as_me: failed program was:" >&5
18739 sed 's/^/| /' conftest.
$ac_ext >&5
18741 ac_lo
=`expr $ac_mid + 1`
18742 if test $ac_lo -le $ac_mid; then
18746 ac_mid
=`expr 2 '*' $ac_mid + 1`
18748 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18751 echo "$as_me: failed program was:" >&5
18752 sed 's/^/| /' conftest.
$ac_ext >&5
18754 cat >conftest.
$ac_ext <<_ACEOF
18757 cat confdefs.h
>>conftest.
$ac_ext
18758 cat >>conftest.
$ac_ext <<_ACEOF
18759 /* end confdefs.h. */
18760 $ac_includes_default
18764 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18771 rm -f conftest.
$ac_objext
18772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18773 (eval $ac_compile) 2>conftest.er1
18775 grep -v '^ *+' conftest.er1
>conftest.err
18777 cat conftest.err
>&5
18778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18779 (exit $ac_status); } &&
18780 { ac_try
='test -z "$ac_c_werror_flag"
18781 || test ! -s conftest.err'
18782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18783 (eval $ac_try) 2>&5
18785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18786 (exit $ac_status); }; } &&
18787 { ac_try
='test -s conftest.$ac_objext'
18788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18789 (eval $ac_try) 2>&5
18791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18792 (exit $ac_status); }; }; then
18795 cat >conftest.
$ac_ext <<_ACEOF
18798 cat confdefs.h
>>conftest.
$ac_ext
18799 cat >>conftest.
$ac_ext <<_ACEOF
18800 /* end confdefs.h. */
18801 $ac_includes_default
18805 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18812 rm -f conftest.
$ac_objext
18813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18814 (eval $ac_compile) 2>conftest.er1
18816 grep -v '^ *+' conftest.er1
>conftest.err
18818 cat conftest.err
>&5
18819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18820 (exit $ac_status); } &&
18821 { ac_try
='test -z "$ac_c_werror_flag"
18822 || test ! -s conftest.err'
18823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18824 (eval $ac_try) 2>&5
18826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18827 (exit $ac_status); }; } &&
18828 { ac_try
='test -s conftest.$ac_objext'
18829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18830 (eval $ac_try) 2>&5
18832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18833 (exit $ac_status); }; }; then
18834 ac_lo
=$ac_mid; break
18836 echo "$as_me: failed program was:" >&5
18837 sed 's/^/| /' conftest.
$ac_ext >&5
18839 ac_hi
=`expr '(' $ac_mid ')' - 1`
18840 if test $ac_mid -le $ac_hi; then
18844 ac_mid
=`expr 2 '*' $ac_mid`
18846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18849 echo "$as_me: failed program was:" >&5
18850 sed 's/^/| /' conftest.
$ac_ext >&5
18854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18857 # Binary search between lo and hi bounds.
18858 while test "x$ac_lo" != "x$ac_hi"; do
18859 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18860 cat >conftest.
$ac_ext <<_ACEOF
18863 cat confdefs.h
>>conftest.
$ac_ext
18864 cat >>conftest.
$ac_ext <<_ACEOF
18865 /* end confdefs.h. */
18866 $ac_includes_default
18870 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18877 rm -f conftest.
$ac_objext
18878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18879 (eval $ac_compile) 2>conftest.er1
18881 grep -v '^ *+' conftest.er1
>conftest.err
18883 cat conftest.err
>&5
18884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18885 (exit $ac_status); } &&
18886 { ac_try
='test -z "$ac_c_werror_flag"
18887 || test ! -s conftest.err'
18888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18889 (eval $ac_try) 2>&5
18891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18892 (exit $ac_status); }; } &&
18893 { ac_try
='test -s conftest.$ac_objext'
18894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18895 (eval $ac_try) 2>&5
18897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18898 (exit $ac_status); }; }; then
18901 echo "$as_me: failed program was:" >&5
18902 sed 's/^/| /' conftest.
$ac_ext >&5
18904 ac_lo
=`expr '(' $ac_mid ')' + 1`
18906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18909 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18910 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18911 See \`config.log' for more details." >&5
18912 echo "$as_me: error: cannot compute sizeof (long long), 77
18913 See \`config.log' for more details." >&2;}
18914 { (exit 1); exit 1; }; } ;;
18917 if test "$cross_compiling" = yes; then
18918 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18919 See \`config.log' for more details." >&5
18920 echo "$as_me: error: cannot run test program while cross compiling
18921 See \`config.log' for more details." >&2;}
18922 { (exit 1); exit 1; }; }
18924 cat >conftest.
$ac_ext <<_ACEOF
18927 cat confdefs.h
>>conftest.
$ac_ext
18928 cat >>conftest.
$ac_ext <<_ACEOF
18929 /* end confdefs.h. */
18930 $ac_includes_default
18931 long longval () { return (long) (sizeof (long long)); }
18932 unsigned long ulongval () { return (long) (sizeof (long long)); }
18934 #include <stdlib.h>
18939 FILE *f = fopen ("conftest.val", "w");
18942 if (((long) (sizeof (long long))) < 0)
18944 long i = longval ();
18945 if (i != ((long) (sizeof (long long))))
18947 fprintf (f, "%ld\n", i);
18951 unsigned long i = ulongval ();
18952 if (i != ((long) (sizeof (long long))))
18954 fprintf (f, "%lu\n", i);
18956 exit (ferror (f) || fclose (f) != 0);
18962 rm -f conftest
$ac_exeext
18963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18964 (eval $ac_link) 2>&5
18966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18967 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18969 (eval $ac_try) 2>&5
18971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18972 (exit $ac_status); }; }; then
18973 ac_cv_sizeof_long_long
=`cat conftest.val`
18975 echo "$as_me: program exited with status $ac_status" >&5
18976 echo "$as_me: failed program was:" >&5
18977 sed 's/^/| /' conftest.
$ac_ext >&5
18979 ( exit $ac_status )
18980 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18981 See \`config.log' for more details." >&5
18982 echo "$as_me: error: cannot compute sizeof (long long), 77
18983 See \`config.log' for more details." >&2;}
18984 { (exit 1); exit 1; }; }
18986 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18991 ac_cv_sizeof_long_long
=0
18994 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18995 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18996 cat >>confdefs.h
<<_ACEOF
18997 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19001 if test "$ac_cv_sizeof_long_long" != "0"; then
19002 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
19006 echo "$as_me:$LINENO: checking for long long" >&5
19007 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19008 if test "${ac_cv_type_long_long+set}" = set; then
19009 echo $ECHO_N "(cached) $ECHO_C" >&6
19011 cat >conftest.
$ac_ext <<_ACEOF
19014 cat confdefs.h
>>conftest.
$ac_ext
19015 cat >>conftest.
$ac_ext <<_ACEOF
19016 /* end confdefs.h. */
19017 $ac_includes_default
19021 if ((long long *) 0)
19023 if (sizeof (long long))
19029 rm -f conftest.
$ac_objext
19030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19031 (eval $ac_compile) 2>conftest.er1
19033 grep -v '^ *+' conftest.er1
>conftest.err
19035 cat conftest.err
>&5
19036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19037 (exit $ac_status); } &&
19038 { ac_try
='test -z "$ac_c_werror_flag"
19039 || test ! -s conftest.err'
19040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19041 (eval $ac_try) 2>&5
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); }; } &&
19045 { ac_try
='test -s conftest.$ac_objext'
19046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19047 (eval $ac_try) 2>&5
19049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19050 (exit $ac_status); }; }; then
19051 ac_cv_type_long_long
=yes
19053 echo "$as_me: failed program was:" >&5
19054 sed 's/^/| /' conftest.
$ac_ext >&5
19056 ac_cv_type_long_long
=no
19058 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19060 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19061 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19063 echo "$as_me:$LINENO: checking size of long long" >&5
19064 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19065 if test "${ac_cv_sizeof_long_long+set}" = set; then
19066 echo $ECHO_N "(cached) $ECHO_C" >&6
19068 if test "$ac_cv_type_long_long" = yes; then
19069 # The cast to unsigned long works around a bug in the HP C Compiler
19070 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19071 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19072 # This bug is HP SR number 8606223364.
19073 if test "$cross_compiling" = yes; then
19074 # Depending upon the size, compute the lo and hi bounds.
19075 cat >conftest.
$ac_ext <<_ACEOF
19078 cat confdefs.h
>>conftest.
$ac_ext
19079 cat >>conftest.
$ac_ext <<_ACEOF
19080 /* end confdefs.h. */
19081 $ac_includes_default
19085 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19092 rm -f conftest.
$ac_objext
19093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19094 (eval $ac_compile) 2>conftest.er1
19096 grep -v '^ *+' conftest.er1
>conftest.err
19098 cat conftest.err
>&5
19099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19100 (exit $ac_status); } &&
19101 { ac_try
='test -z "$ac_c_werror_flag"
19102 || test ! -s conftest.err'
19103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19104 (eval $ac_try) 2>&5
19106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19107 (exit $ac_status); }; } &&
19108 { ac_try
='test -s conftest.$ac_objext'
19109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19110 (eval $ac_try) 2>&5
19112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19113 (exit $ac_status); }; }; then
19116 cat >conftest.
$ac_ext <<_ACEOF
19119 cat confdefs.h
>>conftest.
$ac_ext
19120 cat >>conftest.
$ac_ext <<_ACEOF
19121 /* end confdefs.h. */
19122 $ac_includes_default
19126 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19133 rm -f conftest.
$ac_objext
19134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19135 (eval $ac_compile) 2>conftest.er1
19137 grep -v '^ *+' conftest.er1
>conftest.err
19139 cat conftest.err
>&5
19140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19141 (exit $ac_status); } &&
19142 { ac_try
='test -z "$ac_c_werror_flag"
19143 || test ! -s conftest.err'
19144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19145 (eval $ac_try) 2>&5
19147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19148 (exit $ac_status); }; } &&
19149 { ac_try
='test -s conftest.$ac_objext'
19150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19151 (eval $ac_try) 2>&5
19153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19154 (exit $ac_status); }; }; then
19155 ac_hi
=$ac_mid; break
19157 echo "$as_me: failed program was:" >&5
19158 sed 's/^/| /' conftest.
$ac_ext >&5
19160 ac_lo
=`expr $ac_mid + 1`
19161 if test $ac_lo -le $ac_mid; then
19165 ac_mid
=`expr 2 '*' $ac_mid + 1`
19167 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19170 echo "$as_me: failed program was:" >&5
19171 sed 's/^/| /' conftest.
$ac_ext >&5
19173 cat >conftest.
$ac_ext <<_ACEOF
19176 cat confdefs.h
>>conftest.
$ac_ext
19177 cat >>conftest.
$ac_ext <<_ACEOF
19178 /* end confdefs.h. */
19179 $ac_includes_default
19183 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19190 rm -f conftest.
$ac_objext
19191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19192 (eval $ac_compile) 2>conftest.er1
19194 grep -v '^ *+' conftest.er1
>conftest.err
19196 cat conftest.err
>&5
19197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198 (exit $ac_status); } &&
19199 { ac_try
='test -z "$ac_c_werror_flag"
19200 || test ! -s conftest.err'
19201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19202 (eval $ac_try) 2>&5
19204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19205 (exit $ac_status); }; } &&
19206 { ac_try
='test -s conftest.$ac_objext'
19207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19208 (eval $ac_try) 2>&5
19210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19211 (exit $ac_status); }; }; then
19214 cat >conftest.
$ac_ext <<_ACEOF
19217 cat confdefs.h
>>conftest.
$ac_ext
19218 cat >>conftest.
$ac_ext <<_ACEOF
19219 /* end confdefs.h. */
19220 $ac_includes_default
19224 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19231 rm -f conftest.
$ac_objext
19232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19233 (eval $ac_compile) 2>conftest.er1
19235 grep -v '^ *+' conftest.er1
>conftest.err
19237 cat conftest.err
>&5
19238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19239 (exit $ac_status); } &&
19240 { ac_try
='test -z "$ac_c_werror_flag"
19241 || test ! -s conftest.err'
19242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19243 (eval $ac_try) 2>&5
19245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19246 (exit $ac_status); }; } &&
19247 { ac_try
='test -s conftest.$ac_objext'
19248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19249 (eval $ac_try) 2>&5
19251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19252 (exit $ac_status); }; }; then
19253 ac_lo
=$ac_mid; break
19255 echo "$as_me: failed program was:" >&5
19256 sed 's/^/| /' conftest.
$ac_ext >&5
19258 ac_hi
=`expr '(' $ac_mid ')' - 1`
19259 if test $ac_mid -le $ac_hi; then
19263 ac_mid
=`expr 2 '*' $ac_mid`
19265 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19268 echo "$as_me: failed program was:" >&5
19269 sed 's/^/| /' conftest.
$ac_ext >&5
19273 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19275 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19276 # Binary search between lo and hi bounds.
19277 while test "x$ac_lo" != "x$ac_hi"; do
19278 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19279 cat >conftest.
$ac_ext <<_ACEOF
19282 cat confdefs.h
>>conftest.
$ac_ext
19283 cat >>conftest.
$ac_ext <<_ACEOF
19284 /* end confdefs.h. */
19285 $ac_includes_default
19289 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19296 rm -f conftest.
$ac_objext
19297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19298 (eval $ac_compile) 2>conftest.er1
19300 grep -v '^ *+' conftest.er1
>conftest.err
19302 cat conftest.err
>&5
19303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19304 (exit $ac_status); } &&
19305 { ac_try
='test -z "$ac_c_werror_flag"
19306 || test ! -s conftest.err'
19307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19308 (eval $ac_try) 2>&5
19310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19311 (exit $ac_status); }; } &&
19312 { ac_try
='test -s conftest.$ac_objext'
19313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19314 (eval $ac_try) 2>&5
19316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19317 (exit $ac_status); }; }; then
19320 echo "$as_me: failed program was:" >&5
19321 sed 's/^/| /' conftest.
$ac_ext >&5
19323 ac_lo
=`expr '(' $ac_mid ')' + 1`
19325 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19328 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19329 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19330 See \`config.log' for more details." >&5
19331 echo "$as_me: error: cannot compute sizeof (long long), 77
19332 See \`config.log' for more details." >&2;}
19333 { (exit 1); exit 1; }; } ;;
19336 if test "$cross_compiling" = yes; then
19337 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19338 See \`config.log' for more details." >&5
19339 echo "$as_me: error: cannot run test program while cross compiling
19340 See \`config.log' for more details." >&2;}
19341 { (exit 1); exit 1; }; }
19343 cat >conftest.
$ac_ext <<_ACEOF
19346 cat confdefs.h
>>conftest.
$ac_ext
19347 cat >>conftest.
$ac_ext <<_ACEOF
19348 /* end confdefs.h. */
19349 $ac_includes_default
19350 long longval () { return (long) (sizeof (long long)); }
19351 unsigned long ulongval () { return (long) (sizeof (long long)); }
19353 #include <stdlib.h>
19358 FILE *f = fopen ("conftest.val", "w");
19361 if (((long) (sizeof (long long))) < 0)
19363 long i = longval ();
19364 if (i != ((long) (sizeof (long long))))
19366 fprintf (f, "%ld\n", i);
19370 unsigned long i = ulongval ();
19371 if (i != ((long) (sizeof (long long))))
19373 fprintf (f, "%lu\n", i);
19375 exit (ferror (f) || fclose (f) != 0);
19381 rm -f conftest
$ac_exeext
19382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19383 (eval $ac_link) 2>&5
19385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19386 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19388 (eval $ac_try) 2>&5
19390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19391 (exit $ac_status); }; }; then
19392 ac_cv_sizeof_long_long
=`cat conftest.val`
19394 echo "$as_me: program exited with status $ac_status" >&5
19395 echo "$as_me: failed program was:" >&5
19396 sed 's/^/| /' conftest.
$ac_ext >&5
19398 ( exit $ac_status )
19399 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19400 See \`config.log' for more details." >&5
19401 echo "$as_me: error: cannot compute sizeof (long long), 77
19402 See \`config.log' for more details." >&2;}
19403 { (exit 1); exit 1; }; }
19405 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19410 ac_cv_sizeof_long_long
=0
19413 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19414 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19415 cat >>confdefs.h
<<_ACEOF
19416 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19422 echo "$as_me:$LINENO: checking for wchar_t" >&5
19423 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
19424 if test "${ac_cv_type_wchar_t+set}" = set; then
19425 echo $ECHO_N "(cached) $ECHO_C" >&6
19427 cat >conftest.
$ac_ext <<_ACEOF
19430 cat confdefs.h
>>conftest.
$ac_ext
19431 cat >>conftest.
$ac_ext <<_ACEOF
19432 /* end confdefs.h. */
19434 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19435 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19436 # error "fake wchar_t"
19438 #ifdef HAVE_WCHAR_H
19440 # include <stddef.h>
19442 # include <wchar.h>
19444 #ifdef HAVE_STDLIB_H
19445 # include <stdlib.h>
19456 if (sizeof (wchar_t))
19462 rm -f conftest.
$ac_objext
19463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19464 (eval $ac_compile) 2>conftest.er1
19466 grep -v '^ *+' conftest.er1
>conftest.err
19468 cat conftest.err
>&5
19469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19470 (exit $ac_status); } &&
19471 { ac_try
='test -z "$ac_c_werror_flag"
19472 || test ! -s conftest.err'
19473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19474 (eval $ac_try) 2>&5
19476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19477 (exit $ac_status); }; } &&
19478 { ac_try
='test -s conftest.$ac_objext'
19479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19480 (eval $ac_try) 2>&5
19482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19483 (exit $ac_status); }; }; then
19484 ac_cv_type_wchar_t
=yes
19486 echo "$as_me: failed program was:" >&5
19487 sed 's/^/| /' conftest.
$ac_ext >&5
19489 ac_cv_type_wchar_t
=no
19491 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19493 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
19494 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
19496 echo "$as_me:$LINENO: checking size of wchar_t" >&5
19497 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
19498 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
19499 echo $ECHO_N "(cached) $ECHO_C" >&6
19501 if test "$ac_cv_type_wchar_t" = yes; then
19502 # The cast to unsigned long works around a bug in the HP C Compiler
19503 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19504 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19505 # This bug is HP SR number 8606223364.
19506 if test "$cross_compiling" = yes; then
19507 # Depending upon the size, compute the lo and hi bounds.
19508 cat >conftest.
$ac_ext <<_ACEOF
19511 cat confdefs.h
>>conftest.
$ac_ext
19512 cat >>conftest.
$ac_ext <<_ACEOF
19513 /* end confdefs.h. */
19515 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19516 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19517 # error "fake wchar_t"
19519 #ifdef HAVE_WCHAR_H
19521 # include <stddef.h>
19523 # include <wchar.h>
19525 #ifdef HAVE_STDLIB_H
19526 # include <stdlib.h>
19535 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
19542 rm -f conftest.
$ac_objext
19543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19544 (eval $ac_compile) 2>conftest.er1
19546 grep -v '^ *+' conftest.er1
>conftest.err
19548 cat conftest.err
>&5
19549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19550 (exit $ac_status); } &&
19551 { ac_try
='test -z "$ac_c_werror_flag"
19552 || test ! -s conftest.err'
19553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19554 (eval $ac_try) 2>&5
19556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19557 (exit $ac_status); }; } &&
19558 { ac_try
='test -s conftest.$ac_objext'
19559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19560 (eval $ac_try) 2>&5
19562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19563 (exit $ac_status); }; }; then
19566 cat >conftest.
$ac_ext <<_ACEOF
19569 cat confdefs.h
>>conftest.
$ac_ext
19570 cat >>conftest.
$ac_ext <<_ACEOF
19571 /* end confdefs.h. */
19573 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19574 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19575 # error "fake wchar_t"
19577 #ifdef HAVE_WCHAR_H
19579 # include <stddef.h>
19581 # include <wchar.h>
19583 #ifdef HAVE_STDLIB_H
19584 # include <stdlib.h>
19593 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19600 rm -f conftest.
$ac_objext
19601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19602 (eval $ac_compile) 2>conftest.er1
19604 grep -v '^ *+' conftest.er1
>conftest.err
19606 cat conftest.err
>&5
19607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19608 (exit $ac_status); } &&
19609 { ac_try
='test -z "$ac_c_werror_flag"
19610 || test ! -s conftest.err'
19611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19612 (eval $ac_try) 2>&5
19614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19615 (exit $ac_status); }; } &&
19616 { ac_try
='test -s conftest.$ac_objext'
19617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19618 (eval $ac_try) 2>&5
19620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19621 (exit $ac_status); }; }; then
19622 ac_hi
=$ac_mid; break
19624 echo "$as_me: failed program was:" >&5
19625 sed 's/^/| /' conftest.
$ac_ext >&5
19627 ac_lo
=`expr $ac_mid + 1`
19628 if test $ac_lo -le $ac_mid; then
19632 ac_mid
=`expr 2 '*' $ac_mid + 1`
19634 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19637 echo "$as_me: failed program was:" >&5
19638 sed 's/^/| /' conftest.
$ac_ext >&5
19640 cat >conftest.
$ac_ext <<_ACEOF
19643 cat confdefs.h
>>conftest.
$ac_ext
19644 cat >>conftest.
$ac_ext <<_ACEOF
19645 /* end confdefs.h. */
19647 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19648 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19649 # error "fake wchar_t"
19651 #ifdef HAVE_WCHAR_H
19653 # include <stddef.h>
19655 # include <wchar.h>
19657 #ifdef HAVE_STDLIB_H
19658 # include <stdlib.h>
19667 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
19674 rm -f conftest.
$ac_objext
19675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19676 (eval $ac_compile) 2>conftest.er1
19678 grep -v '^ *+' conftest.er1
>conftest.err
19680 cat conftest.err
>&5
19681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19682 (exit $ac_status); } &&
19683 { ac_try
='test -z "$ac_c_werror_flag"
19684 || test ! -s conftest.err'
19685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19686 (eval $ac_try) 2>&5
19688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19689 (exit $ac_status); }; } &&
19690 { ac_try
='test -s conftest.$ac_objext'
19691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19692 (eval $ac_try) 2>&5
19694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19695 (exit $ac_status); }; }; then
19698 cat >conftest.
$ac_ext <<_ACEOF
19701 cat confdefs.h
>>conftest.
$ac_ext
19702 cat >>conftest.
$ac_ext <<_ACEOF
19703 /* end confdefs.h. */
19705 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19706 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19707 # error "fake wchar_t"
19709 #ifdef HAVE_WCHAR_H
19711 # include <stddef.h>
19713 # include <wchar.h>
19715 #ifdef HAVE_STDLIB_H
19716 # include <stdlib.h>
19725 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
19732 rm -f conftest.
$ac_objext
19733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19734 (eval $ac_compile) 2>conftest.er1
19736 grep -v '^ *+' conftest.er1
>conftest.err
19738 cat conftest.err
>&5
19739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19740 (exit $ac_status); } &&
19741 { ac_try
='test -z "$ac_c_werror_flag"
19742 || 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_lo
=$ac_mid; break
19756 echo "$as_me: failed program was:" >&5
19757 sed 's/^/| /' conftest.
$ac_ext >&5
19759 ac_hi
=`expr '(' $ac_mid ')' - 1`
19760 if test $ac_mid -le $ac_hi; then
19764 ac_mid
=`expr 2 '*' $ac_mid`
19766 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19769 echo "$as_me: failed program was:" >&5
19770 sed 's/^/| /' conftest.
$ac_ext >&5
19774 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19776 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19777 # Binary search between lo and hi bounds.
19778 while test "x$ac_lo" != "x$ac_hi"; do
19779 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19780 cat >conftest.
$ac_ext <<_ACEOF
19783 cat confdefs.h
>>conftest.
$ac_ext
19784 cat >>conftest.
$ac_ext <<_ACEOF
19785 /* end confdefs.h. */
19787 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19788 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19789 # error "fake wchar_t"
19791 #ifdef HAVE_WCHAR_H
19793 # include <stddef.h>
19795 # include <wchar.h>
19797 #ifdef HAVE_STDLIB_H
19798 # include <stdlib.h>
19807 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19814 rm -f conftest.
$ac_objext
19815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19816 (eval $ac_compile) 2>conftest.er1
19818 grep -v '^ *+' conftest.er1
>conftest.err
19820 cat conftest.err
>&5
19821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19822 (exit $ac_status); } &&
19823 { ac_try
='test -z "$ac_c_werror_flag"
19824 || test ! -s conftest.err'
19825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19826 (eval $ac_try) 2>&5
19828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19829 (exit $ac_status); }; } &&
19830 { ac_try
='test -s conftest.$ac_objext'
19831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19832 (eval $ac_try) 2>&5
19834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19835 (exit $ac_status); }; }; then
19838 echo "$as_me: failed program was:" >&5
19839 sed 's/^/| /' conftest.
$ac_ext >&5
19841 ac_lo
=`expr '(' $ac_mid ')' + 1`
19843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19846 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
19847 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19848 See \`config.log' for more details." >&5
19849 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19850 See \`config.log' for more details." >&2;}
19851 { (exit 1); exit 1; }; } ;;
19854 if test "$cross_compiling" = yes; then
19855 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19856 See \`config.log' for more details." >&5
19857 echo "$as_me: error: cannot run test program while cross compiling
19858 See \`config.log' for more details." >&2;}
19859 { (exit 1); exit 1; }; }
19861 cat >conftest.
$ac_ext <<_ACEOF
19864 cat confdefs.h
>>conftest.
$ac_ext
19865 cat >>conftest.
$ac_ext <<_ACEOF
19866 /* end confdefs.h. */
19868 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19869 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19870 # error "fake wchar_t"
19872 #ifdef HAVE_WCHAR_H
19874 # include <stddef.h>
19876 # include <wchar.h>
19878 #ifdef HAVE_STDLIB_H
19879 # include <stdlib.h>
19885 long longval () { return (long) (sizeof (wchar_t)); }
19886 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
19888 #include <stdlib.h>
19893 FILE *f = fopen ("conftest.val", "w");
19896 if (((long) (sizeof (wchar_t))) < 0)
19898 long i = longval ();
19899 if (i != ((long) (sizeof (wchar_t))))
19901 fprintf (f, "%ld\n", i);
19905 unsigned long i = ulongval ();
19906 if (i != ((long) (sizeof (wchar_t))))
19908 fprintf (f, "%lu\n", i);
19910 exit (ferror (f) || fclose (f) != 0);
19916 rm -f conftest
$ac_exeext
19917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19918 (eval $ac_link) 2>&5
19920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19921 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19923 (eval $ac_try) 2>&5
19925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19926 (exit $ac_status); }; }; then
19927 ac_cv_sizeof_wchar_t
=`cat conftest.val`
19929 echo "$as_me: program exited with status $ac_status" >&5
19930 echo "$as_me: failed program was:" >&5
19931 sed 's/^/| /' conftest.
$ac_ext >&5
19933 ( exit $ac_status )
19934 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19935 See \`config.log' for more details." >&5
19936 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19937 See \`config.log' for more details." >&2;}
19938 { (exit 1); exit 1; }; }
19940 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19945 ac_cv_sizeof_wchar_t
=0
19948 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
19949 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
19950 cat >>confdefs.h
<<_ACEOF
19951 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
19955 if test "$ac_cv_sizeof_wchar_t" != "0"; then
19961 echo "$as_me:$LINENO: checking for va_copy" >&5
19962 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
19963 if test "${wx_cv_func_va_copy+set}" = set; then
19964 echo $ECHO_N "(cached) $ECHO_C" >&6
19967 cat >conftest.
$ac_ext <<_ACEOF
19969 #include <stdarg.h>
19970 void foo(char *f, ...)
19984 rm -f conftest.
$ac_objext conftest
$ac_exeext
19985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19986 (eval $ac_link) 2>conftest.er1
19988 grep -v '^ *+' conftest.er1
>conftest.err
19990 cat conftest.err
>&5
19991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19992 (exit $ac_status); } &&
19993 { ac_try
='test -z "$ac_c_werror_flag"
19994 || test ! -s conftest.err'
19995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19996 (eval $ac_try) 2>&5
19998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19999 (exit $ac_status); }; } &&
20000 { ac_try
='test -s conftest$ac_exeext'
20001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20002 (eval $ac_try) 2>&5
20004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20005 (exit $ac_status); }; }; then
20006 wx_cv_func_va_copy
=yes
20008 echo "$as_me: failed program was:" >&5
20009 sed 's/^/| /' conftest.
$ac_ext >&5
20011 wx_cv_func_va_copy
=no
20014 rm -f conftest.err conftest.
$ac_objext \
20015 conftest
$ac_exeext conftest.
$ac_ext
20019 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
20020 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
20022 if test $wx_cv_func_va_copy = "yes"; then
20023 cat >>confdefs.h
<<\_ACEOF
20024 #define HAVE_VA_COPY 1
20028 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
20029 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
20030 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
20031 echo $ECHO_N "(cached) $ECHO_C" >&6
20034 if test "$cross_compiling" = yes; then
20035 wx_cv_type_va_list_lvalue
=yes
20038 cat >conftest.
$ac_ext <<_ACEOF
20040 #include <stdarg.h>
20041 int foo(char *f, ...)
20046 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20054 return foo("hi", 17);
20057 rm -f conftest
$ac_exeext
20058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20059 (eval $ac_link) 2>&5
20061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20062 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20064 (eval $ac_try) 2>&5
20066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20067 (exit $ac_status); }; }; then
20068 wx_cv_type_va_list_lvalue
=yes
20070 echo "$as_me: program exited with status $ac_status" >&5
20071 echo "$as_me: failed program was:" >&5
20072 sed 's/^/| /' conftest.
$ac_ext >&5
20074 ( exit $ac_status )
20075 wx_cv_type_va_list_lvalue
=no
20077 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20082 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
20083 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
20085 if test $wx_cv_type_va_list_lvalue != "yes"; then
20086 cat >>confdefs.h
<<\_ACEOF
20087 #define VA_LIST_IS_ARRAY 1
20093 # Check whether --enable-largefile or --disable-largefile was given.
20094 if test "${enable_largefile+set}" = set; then
20095 enableval
="$enable_largefile"
20098 if test "$enable_largefile" != no
; then
20101 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20102 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
20103 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
20104 echo $ECHO_N "(cached) $ECHO_C" >&6
20107 cat >conftest.
$ac_ext <<_ACEOF
20110 cat confdefs.h
>>conftest.
$ac_ext
20111 cat >>conftest.
$ac_ext <<_ACEOF
20112 /* end confdefs.h. */
20113 #define _FILE_OFFSET_BITS 64
20114 #include <sys/types.h>
20119 unsigned int field: sizeof(off_t) == 8;
20126 rm -f conftest.
$ac_objext
20127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20128 (eval $ac_compile) 2>conftest.er1
20130 grep -v '^ *+' conftest.er1
>conftest.err
20132 cat conftest.err
>&5
20133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20134 (exit $ac_status); } &&
20135 { ac_try
='test -z "$ac_c_werror_flag"
20136 || test ! -s conftest.err'
20137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20138 (eval $ac_try) 2>&5
20140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20141 (exit $ac_status); }; } &&
20142 { ac_try
='test -s conftest.$ac_objext'
20143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20144 (eval $ac_try) 2>&5
20146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20147 (exit $ac_status); }; }; then
20148 ac_cv_sys_file_offset_bits
=64
20150 echo "$as_me: failed program was:" >&5
20151 sed 's/^/| /' conftest.
$ac_ext >&5
20153 ac_cv_sys_file_offset_bits
=no
20155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20159 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
20160 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
20162 if test "$ac_cv_sys_file_offset_bits" != no
; then
20164 cat >>confdefs.h
<<_ACEOF
20165 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20170 if test "x$wx_largefile" != "xyes"; then
20172 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
20173 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
20174 if test "${ac_cv_sys_large_files+set}" = set; then
20175 echo $ECHO_N "(cached) $ECHO_C" >&6
20178 cat >conftest.
$ac_ext <<_ACEOF
20181 cat confdefs.h
>>conftest.
$ac_ext
20182 cat >>conftest.
$ac_ext <<_ACEOF
20183 /* end confdefs.h. */
20184 #define _LARGE_FILES 1
20185 #include <sys/types.h>
20190 unsigned int field: sizeof(off_t) == 8;
20197 rm -f conftest.
$ac_objext
20198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20199 (eval $ac_compile) 2>conftest.er1
20201 grep -v '^ *+' conftest.er1
>conftest.err
20203 cat conftest.err
>&5
20204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20205 (exit $ac_status); } &&
20206 { ac_try
='test -z "$ac_c_werror_flag"
20207 || test ! -s conftest.err'
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); }; } &&
20213 { ac_try
='test -s conftest.$ac_objext'
20214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20215 (eval $ac_try) 2>&5
20217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20218 (exit $ac_status); }; }; then
20219 ac_cv_sys_large_files
=1
20221 echo "$as_me: failed program was:" >&5
20222 sed 's/^/| /' conftest.
$ac_ext >&5
20224 ac_cv_sys_large_files
=no
20226 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20230 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
20231 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
20233 if test "$ac_cv_sys_large_files" != no
; then
20235 cat >>confdefs.h
<<_ACEOF
20236 #define _LARGE_FILES $ac_cv_sys_large_files
20243 echo "$as_me:$LINENO: checking if large file support is available" >&5
20244 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
20245 if test "x$wx_largefile" = "xyes"; then
20246 cat >>confdefs.h
<<\_ACEOF
20247 #define HAVE_LARGEFILE_SUPPORT 1
20251 echo "$as_me:$LINENO: result: $wx_largefile" >&5
20252 echo "${ECHO_T}$wx_largefile" >&6
20256 if test "x$wx_largefile" = "xyes"; then
20257 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
20258 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
20260 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
20262 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20263 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
20264 if test "${ac_cv_sys_largefile_source+set}" = set; then
20265 echo $ECHO_N "(cached) $ECHO_C" >&6
20268 ac_cv_sys_largefile_source
=no
20269 cat >conftest.
$ac_ext <<_ACEOF
20272 cat confdefs.h
>>conftest.
$ac_ext
20273 cat >>conftest.
$ac_ext <<_ACEOF
20274 /* end confdefs.h. */
20284 rm -f conftest.
$ac_objext
20285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20286 (eval $ac_compile) 2>conftest.er1
20288 grep -v '^ *+' conftest.er1
>conftest.err
20290 cat conftest.err
>&5
20291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20292 (exit $ac_status); } &&
20293 { ac_try
='test -z "$ac_c_werror_flag"
20294 || test ! -s conftest.err'
20295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20296 (eval $ac_try) 2>&5
20298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20299 (exit $ac_status); }; } &&
20300 { ac_try
='test -s conftest.$ac_objext'
20301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20302 (eval $ac_try) 2>&5
20304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20305 (exit $ac_status); }; }; then
20308 echo "$as_me: failed program was:" >&5
20309 sed 's/^/| /' conftest.
$ac_ext >&5
20312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20313 cat >conftest.
$ac_ext <<_ACEOF
20316 cat confdefs.h
>>conftest.
$ac_ext
20317 cat >>conftest.
$ac_ext <<_ACEOF
20318 /* end confdefs.h. */
20319 #define _LARGEFILE_SOURCE 1
20329 rm -f conftest.
$ac_objext
20330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20331 (eval $ac_compile) 2>conftest.er1
20333 grep -v '^ *+' conftest.er1
>conftest.err
20335 cat conftest.err
>&5
20336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20337 (exit $ac_status); } &&
20338 { ac_try
='test -z "$ac_c_werror_flag"
20339 || test ! -s conftest.err'
20340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20341 (eval $ac_try) 2>&5
20343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20344 (exit $ac_status); }; } &&
20345 { ac_try
='test -s conftest.$ac_objext'
20346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20347 (eval $ac_try) 2>&5
20349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20350 (exit $ac_status); }; }; then
20351 ac_cv_sys_largefile_source
=1; break
20353 echo "$as_me: failed program was:" >&5
20354 sed 's/^/| /' conftest.
$ac_ext >&5
20357 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20361 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
20362 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
20363 if test "$ac_cv_sys_largefile_source" != no
; then
20365 cat >>confdefs.h
<<_ACEOF
20366 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20372 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20373 # in glibc 2.1.3, but that breaks too many other things.
20374 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20375 echo "$as_me:$LINENO: checking for fseeko" >&5
20376 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
20377 if test "${ac_cv_func_fseeko+set}" = set; then
20378 echo $ECHO_N "(cached) $ECHO_C" >&6
20380 cat >conftest.
$ac_ext <<_ACEOF
20383 cat confdefs.h
>>conftest.
$ac_ext
20384 cat >>conftest.
$ac_ext <<_ACEOF
20385 /* end confdefs.h. */
20390 return fseeko && fseeko (stdin, 0, 0);
20395 rm -f conftest.
$ac_objext conftest
$ac_exeext
20396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20397 (eval $ac_link) 2>conftest.er1
20399 grep -v '^ *+' conftest.er1
>conftest.err
20401 cat conftest.err
>&5
20402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20403 (exit $ac_status); } &&
20404 { ac_try
='test -z "$ac_c_werror_flag"
20405 || test ! -s conftest.err'
20406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20407 (eval $ac_try) 2>&5
20409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20410 (exit $ac_status); }; } &&
20411 { ac_try
='test -s conftest$ac_exeext'
20412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20413 (eval $ac_try) 2>&5
20415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20416 (exit $ac_status); }; }; then
20417 ac_cv_func_fseeko
=yes
20419 echo "$as_me: failed program was:" >&5
20420 sed 's/^/| /' conftest.
$ac_ext >&5
20422 ac_cv_func_fseeko
=no
20424 rm -f conftest.err conftest.
$ac_objext \
20425 conftest
$ac_exeext conftest.
$ac_ext
20427 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
20428 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
20429 if test $ac_cv_func_fseeko = yes; then
20431 cat >>confdefs.h
<<\_ACEOF
20432 #define HAVE_FSEEKO 1
20437 if test "$ac_cv_sys_largefile_source" != no
; then
20438 WX_LARGEFILE_FLAGS
="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20440 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
20443 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20444 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20445 if test "${ac_cv_c_bigendian+set}" = set; then
20446 echo $ECHO_N "(cached) $ECHO_C" >&6
20448 ac_cv_c_bigendian
=unknown
20449 # See if sys/param.h defines the BYTE_ORDER macro.
20450 cat >conftest.
$ac_ext <<_ACEOF
20453 cat confdefs.h
>>conftest.
$ac_ext
20454 cat >>conftest.
$ac_ext <<_ACEOF
20455 /* end confdefs.h. */
20456 #include <sys/types.h>
20457 #include <sys/param.h>
20462 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20463 bogus endian macros
20469 rm -f conftest.
$ac_objext
20470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20471 (eval $ac_compile) 2>conftest.er1
20473 grep -v '^ *+' conftest.er1
>conftest.err
20475 cat conftest.err
>&5
20476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20477 (exit $ac_status); } &&
20478 { ac_try
='test -z "$ac_c_werror_flag"
20479 || test ! -s conftest.err'
20480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20481 (eval $ac_try) 2>&5
20483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20484 (exit $ac_status); }; } &&
20485 { ac_try
='test -s conftest.$ac_objext'
20486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20487 (eval $ac_try) 2>&5
20489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20490 (exit $ac_status); }; }; then
20491 # It does; now see whether it defined to BIG_ENDIAN or not.
20492 cat >conftest.
$ac_ext <<_ACEOF
20495 cat confdefs.h
>>conftest.
$ac_ext
20496 cat >>conftest.
$ac_ext <<_ACEOF
20497 /* end confdefs.h. */
20498 #include <sys/types.h>
20499 #include <sys/param.h>
20504 #if BYTE_ORDER != BIG_ENDIAN
20511 rm -f conftest.
$ac_objext
20512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20513 (eval $ac_compile) 2>conftest.er1
20515 grep -v '^ *+' conftest.er1
>conftest.err
20517 cat conftest.err
>&5
20518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20519 (exit $ac_status); } &&
20520 { ac_try
='test -z "$ac_c_werror_flag"
20521 || test ! -s conftest.err'
20522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20523 (eval $ac_try) 2>&5
20525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20526 (exit $ac_status); }; } &&
20527 { ac_try
='test -s conftest.$ac_objext'
20528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20529 (eval $ac_try) 2>&5
20531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20532 (exit $ac_status); }; }; then
20533 ac_cv_c_bigendian
=yes
20535 echo "$as_me: failed program was:" >&5
20536 sed 's/^/| /' conftest.
$ac_ext >&5
20538 ac_cv_c_bigendian
=no
20540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20542 echo "$as_me: failed program was:" >&5
20543 sed 's/^/| /' conftest.
$ac_ext >&5
20546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20547 if test $ac_cv_c_bigendian = unknown
; then
20548 if test "$cross_compiling" = yes; then
20549 ac_cv_c_bigendian
=unknown
20551 cat >conftest.
$ac_ext <<_ACEOF
20554 cat confdefs.h
>>conftest.
$ac_ext
20555 cat >>conftest.
$ac_ext <<_ACEOF
20556 /* end confdefs.h. */
20558 /* Are we little or big endian? From Harbison&Steele. */
20562 char c[sizeof (long)];
20565 exit (u.c[sizeof (long) - 1] == 1);
20568 rm -f conftest
$ac_exeext
20569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20570 (eval $ac_link) 2>&5
20572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20573 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20575 (eval $ac_try) 2>&5
20577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20578 (exit $ac_status); }; }; then
20579 ac_cv_c_bigendian
=no
20581 echo "$as_me: program exited with status $ac_status" >&5
20582 echo "$as_me: failed program was:" >&5
20583 sed 's/^/| /' conftest.
$ac_ext >&5
20585 ( exit $ac_status )
20586 ac_cv_c_bigendian
=yes
20588 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20592 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20593 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20594 if test $ac_cv_c_bigendian = unknown
; then
20595 { 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
20596 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;}
20598 if test $ac_cv_c_bigendian = yes; then
20599 cat >>confdefs.h
<<\_ACEOF
20600 #define WORDS_BIGENDIAN 1
20607 ac_cpp
='$CXXCPP $CPPFLAGS'
20608 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20609 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20610 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20611 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
20612 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
20613 if test -z "$CXXCPP"; then
20614 if test "${ac_cv_prog_CXXCPP+set}" = set; then
20615 echo $ECHO_N "(cached) $ECHO_C" >&6
20617 # Double quotes because CXXCPP needs to be expanded
20618 for CXXCPP
in "$CXX -E" "/lib/cpp"
20620 ac_preproc_ok
=false
20621 for ac_cxx_preproc_warn_flag
in '' yes
20623 # Use a header file that comes with gcc, so configuring glibc
20624 # with a fresh cross-compiler works.
20625 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20626 # <limits.h> exists even on freestanding compilers.
20627 # On the NeXT, cc -E runs the code through the compiler's parser,
20628 # not just through cpp. "Syntax error" is here to catch this case.
20629 cat >conftest.
$ac_ext <<_ACEOF
20632 cat confdefs.h
>>conftest.
$ac_ext
20633 cat >>conftest.
$ac_ext <<_ACEOF
20634 /* end confdefs.h. */
20636 # include <limits.h>
20638 # include <assert.h>
20642 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20643 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20645 grep -v '^ *+' conftest.er1
>conftest.err
20647 cat conftest.err
>&5
20648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20649 (exit $ac_status); } >/dev
/null
; then
20650 if test -s conftest.err
; then
20651 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20652 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20659 if test -z "$ac_cpp_err"; then
20662 echo "$as_me: failed program was:" >&5
20663 sed 's/^/| /' conftest.
$ac_ext >&5
20665 # Broken: fails on valid input.
20668 rm -f conftest.err conftest.
$ac_ext
20670 # OK, works on sane cases. Now check whether non-existent headers
20671 # can be detected and how.
20672 cat >conftest.
$ac_ext <<_ACEOF
20675 cat confdefs.h
>>conftest.
$ac_ext
20676 cat >>conftest.
$ac_ext <<_ACEOF
20677 /* end confdefs.h. */
20678 #include <ac_nonexistent.h>
20680 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20681 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20683 grep -v '^ *+' conftest.er1
>conftest.err
20685 cat conftest.err
>&5
20686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20687 (exit $ac_status); } >/dev
/null
; then
20688 if test -s conftest.err
; then
20689 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20690 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20697 if test -z "$ac_cpp_err"; then
20698 # Broken: success on invalid input.
20701 echo "$as_me: failed program was:" >&5
20702 sed 's/^/| /' conftest.
$ac_ext >&5
20704 # Passes both tests.
20708 rm -f conftest.err conftest.
$ac_ext
20711 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20712 rm -f conftest.err conftest.
$ac_ext
20713 if $ac_preproc_ok; then
20718 ac_cv_prog_CXXCPP
=$CXXCPP
20721 CXXCPP
=$ac_cv_prog_CXXCPP
20723 ac_cv_prog_CXXCPP
=$CXXCPP
20725 echo "$as_me:$LINENO: result: $CXXCPP" >&5
20726 echo "${ECHO_T}$CXXCPP" >&6
20727 ac_preproc_ok
=false
20728 for ac_cxx_preproc_warn_flag
in '' yes
20730 # Use a header file that comes with gcc, so configuring glibc
20731 # with a fresh cross-compiler works.
20732 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20733 # <limits.h> exists even on freestanding compilers.
20734 # On the NeXT, cc -E runs the code through the compiler's parser,
20735 # not just through cpp. "Syntax error" is here to catch this case.
20736 cat >conftest.
$ac_ext <<_ACEOF
20739 cat confdefs.h
>>conftest.
$ac_ext
20740 cat >>conftest.
$ac_ext <<_ACEOF
20741 /* end confdefs.h. */
20743 # include <limits.h>
20745 # include <assert.h>
20749 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20750 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20752 grep -v '^ *+' conftest.er1
>conftest.err
20754 cat conftest.err
>&5
20755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20756 (exit $ac_status); } >/dev
/null
; then
20757 if test -s conftest.err
; then
20758 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20759 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20766 if test -z "$ac_cpp_err"; then
20769 echo "$as_me: failed program was:" >&5
20770 sed 's/^/| /' conftest.
$ac_ext >&5
20772 # Broken: fails on valid input.
20775 rm -f conftest.err conftest.
$ac_ext
20777 # OK, works on sane cases. Now check whether non-existent headers
20778 # can be detected and how.
20779 cat >conftest.
$ac_ext <<_ACEOF
20782 cat confdefs.h
>>conftest.
$ac_ext
20783 cat >>conftest.
$ac_ext <<_ACEOF
20784 /* end confdefs.h. */
20785 #include <ac_nonexistent.h>
20787 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20788 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20790 grep -v '^ *+' conftest.er1
>conftest.err
20792 cat conftest.err
>&5
20793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20794 (exit $ac_status); } >/dev
/null
; then
20795 if test -s conftest.err
; then
20796 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20797 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20804 if test -z "$ac_cpp_err"; then
20805 # Broken: success on invalid input.
20808 echo "$as_me: failed program was:" >&5
20809 sed 's/^/| /' conftest.
$ac_ext >&5
20811 # Passes both tests.
20815 rm -f conftest.err conftest.
$ac_ext
20818 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20819 rm -f conftest.err conftest.
$ac_ext
20820 if $ac_preproc_ok; then
20823 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20824 See \`config.log' for more details." >&5
20825 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20826 See \`config.log' for more details." >&2;}
20827 { (exit 1); exit 1; }; }
20831 ac_cpp
='$CXXCPP $CPPFLAGS'
20832 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20833 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20834 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20841 ac_cpp
='$CXXCPP $CPPFLAGS'
20842 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20843 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20844 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20848 for ac_header
in iostream
20850 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20851 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20852 echo "$as_me:$LINENO: checking for $ac_header" >&5
20853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20855 echo $ECHO_N "(cached) $ECHO_C" >&6
20857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20858 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20860 # Is the header compilable?
20861 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20862 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20863 cat >conftest.
$ac_ext <<_ACEOF
20866 cat confdefs.h
>>conftest.
$ac_ext
20867 cat >>conftest.
$ac_ext <<_ACEOF
20868 /* end confdefs.h. */
20869 $ac_includes_default
20870 #include <$ac_header>
20872 rm -f conftest.
$ac_objext
20873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20874 (eval $ac_compile) 2>conftest.er1
20876 grep -v '^ *+' conftest.er1
>conftest.err
20878 cat conftest.err
>&5
20879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20880 (exit $ac_status); } &&
20881 { ac_try
='test -z "$ac_cxx_werror_flag"
20882 || test ! -s conftest.err'
20883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20884 (eval $ac_try) 2>&5
20886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20887 (exit $ac_status); }; } &&
20888 { ac_try
='test -s conftest.$ac_objext'
20889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20890 (eval $ac_try) 2>&5
20892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20893 (exit $ac_status); }; }; then
20894 ac_header_compiler
=yes
20896 echo "$as_me: failed program was:" >&5
20897 sed 's/^/| /' conftest.
$ac_ext >&5
20899 ac_header_compiler
=no
20901 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20902 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20903 echo "${ECHO_T}$ac_header_compiler" >&6
20905 # Is the header present?
20906 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20907 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20908 cat >conftest.
$ac_ext <<_ACEOF
20911 cat confdefs.h
>>conftest.
$ac_ext
20912 cat >>conftest.
$ac_ext <<_ACEOF
20913 /* end confdefs.h. */
20914 #include <$ac_header>
20916 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20917 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20919 grep -v '^ *+' conftest.er1
>conftest.err
20921 cat conftest.err
>&5
20922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20923 (exit $ac_status); } >/dev
/null
; then
20924 if test -s conftest.err
; then
20925 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20926 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20933 if test -z "$ac_cpp_err"; then
20934 ac_header_preproc
=yes
20936 echo "$as_me: failed program was:" >&5
20937 sed 's/^/| /' conftest.
$ac_ext >&5
20939 ac_header_preproc
=no
20941 rm -f conftest.err conftest.
$ac_ext
20942 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20943 echo "${ECHO_T}$ac_header_preproc" >&6
20945 # So? What about this header?
20946 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20948 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20949 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20950 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20951 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20952 ac_header_preproc
=yes
20955 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20956 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20957 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20958 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20959 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20960 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20961 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20962 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20963 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20964 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20965 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20966 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20969 ## ----------------------------------------- ##
20970 ## Report this to wx-dev@lists.wxwidgets.org ##
20971 ## ----------------------------------------- ##
20974 sed "s/^/$as_me: WARNING: /" >&2
20977 echo "$as_me:$LINENO: checking for $ac_header" >&5
20978 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20979 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20980 echo $ECHO_N "(cached) $ECHO_C" >&6
20982 eval "$as_ac_Header=\$ac_header_preproc"
20984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20985 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20988 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20989 cat >>confdefs.h
<<_ACEOF
20990 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20998 if test "$ac_cv_header_iostream" = "yes" ; then
21001 cat >>confdefs.h
<<\_ACEOF
21002 #define wxUSE_IOSTREAMH 1
21008 ac_cpp
='$CPP $CPPFLAGS'
21009 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21010 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21011 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21016 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
21017 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
21018 if test "${wx_cv_cpp_bool+set}" = set; then
21019 echo $ECHO_N "(cached) $ECHO_C" >&6
21025 ac_cpp
='$CXXCPP $CPPFLAGS'
21026 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21027 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21028 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21031 cat >conftest.
$ac_ext <<_ACEOF
21034 cat confdefs.h
>>conftest.
$ac_ext
21035 cat >>conftest.
$ac_ext <<_ACEOF
21036 /* end confdefs.h. */
21051 rm -f conftest.
$ac_objext
21052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21053 (eval $ac_compile) 2>conftest.er1
21055 grep -v '^ *+' conftest.er1
>conftest.err
21057 cat conftest.err
>&5
21058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21059 (exit $ac_status); } &&
21060 { ac_try
='test -z "$ac_cxx_werror_flag"
21061 || test ! -s conftest.err'
21062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21063 (eval $ac_try) 2>&5
21065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21066 (exit $ac_status); }; } &&
21067 { ac_try
='test -s conftest.$ac_objext'
21068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21069 (eval $ac_try) 2>&5
21071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21072 (exit $ac_status); }; }; then
21077 echo "$as_me: failed program was:" >&5
21078 sed 's/^/| /' conftest.
$ac_ext >&5
21085 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21088 ac_cpp
='$CPP $CPPFLAGS'
21089 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21090 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21091 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21095 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
21096 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
21098 if test "$wx_cv_cpp_bool" = "yes"; then
21099 cat >>confdefs.h
<<\_ACEOF
21100 #define HAVE_BOOL 1
21107 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
21108 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
21109 if test "${wx_cv_explicit+set}" = set; then
21110 echo $ECHO_N "(cached) $ECHO_C" >&6
21116 ac_cpp
='$CXXCPP $CPPFLAGS'
21117 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21118 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21119 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21122 cat >conftest.
$ac_ext <<_ACEOF
21125 cat confdefs.h
>>conftest.
$ac_ext
21126 cat >>conftest.
$ac_ext <<_ACEOF
21127 /* end confdefs.h. */
21129 class Foo { public: explicit Foo(int) {} };
21141 rm -f conftest.
$ac_objext
21142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21143 (eval $ac_compile) 2>conftest.er1
21145 grep -v '^ *+' conftest.er1
>conftest.err
21147 cat conftest.err
>&5
21148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21149 (exit $ac_status); } &&
21150 { ac_try
='test -z "$ac_cxx_werror_flag"
21151 || test ! -s conftest.err'
21152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21153 (eval $ac_try) 2>&5
21155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21156 (exit $ac_status); }; } &&
21157 { ac_try
='test -s conftest.$ac_objext'
21158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21159 (eval $ac_try) 2>&5
21161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21162 (exit $ac_status); }; }; then
21164 cat >conftest.
$ac_ext <<_ACEOF
21167 cat confdefs.h
>>conftest.
$ac_ext
21168 cat >>conftest.
$ac_ext <<_ACEOF
21169 /* end confdefs.h. */
21171 class Foo { public: explicit Foo(int) {} };
21172 static void TakeFoo(const Foo& foo) { }
21185 rm -f conftest.
$ac_objext
21186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21187 (eval $ac_compile) 2>conftest.er1
21189 grep -v '^ *+' conftest.er1
>conftest.err
21191 cat conftest.err
>&5
21192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21193 (exit $ac_status); } &&
21194 { ac_try
='test -z "$ac_cxx_werror_flag"
21195 || test ! -s conftest.err'
21196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21197 (eval $ac_try) 2>&5
21199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21200 (exit $ac_status); }; } &&
21201 { ac_try
='test -s conftest.$ac_objext'
21202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21203 (eval $ac_try) 2>&5
21205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21206 (exit $ac_status); }; }; then
21209 echo "$as_me: failed program was:" >&5
21210 sed 's/^/| /' conftest.
$ac_ext >&5
21215 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21218 echo "$as_me: failed program was:" >&5
21219 sed 's/^/| /' conftest.
$ac_ext >&5
21224 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21227 ac_cpp
='$CPP $CPPFLAGS'
21228 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21229 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21230 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21234 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
21235 echo "${ECHO_T}$wx_cv_explicit" >&6
21237 if test "$wx_cv_explicit" = "yes"; then
21238 cat >>confdefs.h
<<\_ACEOF
21239 #define HAVE_EXPLICIT 1
21245 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
21246 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
21247 if test "${ac_cv_cxx_const_cast+set}" = set; then
21248 echo $ECHO_N "(cached) $ECHO_C" >&6
21253 ac_cpp
='$CXXCPP $CPPFLAGS'
21254 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21255 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21256 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21258 cat >conftest.
$ac_ext <<_ACEOF
21261 cat confdefs.h
>>conftest.
$ac_ext
21262 cat >>conftest.
$ac_ext <<_ACEOF
21263 /* end confdefs.h. */
21268 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
21273 rm -f conftest.
$ac_objext
21274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21275 (eval $ac_compile) 2>conftest.er1
21277 grep -v '^ *+' conftest.er1
>conftest.err
21279 cat conftest.err
>&5
21280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21281 (exit $ac_status); } &&
21282 { ac_try
='test -z "$ac_cxx_werror_flag"
21283 || test ! -s conftest.err'
21284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21285 (eval $ac_try) 2>&5
21287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21288 (exit $ac_status); }; } &&
21289 { ac_try
='test -s conftest.$ac_objext'
21290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21291 (eval $ac_try) 2>&5
21293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21294 (exit $ac_status); }; }; then
21295 ac_cv_cxx_const_cast
=yes
21297 echo "$as_me: failed program was:" >&5
21298 sed 's/^/| /' conftest.
$ac_ext >&5
21300 ac_cv_cxx_const_cast
=no
21302 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21304 ac_cpp
='$CPP $CPPFLAGS'
21305 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21306 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21307 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21311 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
21312 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
21313 if test "$ac_cv_cxx_const_cast" = yes; then
21315 cat >>confdefs.h
<<\_ACEOF
21316 #define HAVE_CONST_CAST
21321 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
21322 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
21323 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
21324 echo $ECHO_N "(cached) $ECHO_C" >&6
21329 ac_cpp
='$CXXCPP $CPPFLAGS'
21330 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21331 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21332 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21334 cat >conftest.
$ac_ext <<_ACEOF
21337 cat confdefs.h
>>conftest.
$ac_ext
21338 cat >>conftest.
$ac_ext <<_ACEOF
21339 /* end confdefs.h. */
21340 #include <typeinfo>
21341 class Base { public : Base () {} virtual void f () = 0;};
21342 class Derived : public Base { public : Derived () {} virtual void f () {} };
21343 class Unrelated { public : Unrelated () {} };
21344 int g (Unrelated&) { return 0; }
21349 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
21354 rm -f conftest.
$ac_objext
21355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21356 (eval $ac_compile) 2>conftest.er1
21358 grep -v '^ *+' conftest.er1
>conftest.err
21360 cat conftest.err
>&5
21361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21362 (exit $ac_status); } &&
21363 { ac_try
='test -z "$ac_cxx_werror_flag"
21364 || test ! -s conftest.err'
21365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21366 (eval $ac_try) 2>&5
21368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21369 (exit $ac_status); }; } &&
21370 { ac_try
='test -s conftest.$ac_objext'
21371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21372 (eval $ac_try) 2>&5
21374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21375 (exit $ac_status); }; }; then
21376 ac_cv_cxx_reinterpret_cast
=yes
21378 echo "$as_me: failed program was:" >&5
21379 sed 's/^/| /' conftest.
$ac_ext >&5
21381 ac_cv_cxx_reinterpret_cast
=no
21383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21385 ac_cpp
='$CPP $CPPFLAGS'
21386 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21387 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21388 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21392 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
21393 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
21394 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
21396 cat >>confdefs.h
<<\_ACEOF
21397 #define HAVE_REINTERPRET_CAST
21402 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
21403 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
21404 if test "${ac_cv_cxx_static_cast+set}" = set; then
21405 echo $ECHO_N "(cached) $ECHO_C" >&6
21410 ac_cpp
='$CXXCPP $CPPFLAGS'
21411 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21412 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21413 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21415 cat >conftest.
$ac_ext <<_ACEOF
21418 cat confdefs.h
>>conftest.
$ac_ext
21419 cat >>conftest.
$ac_ext <<_ACEOF
21420 /* end confdefs.h. */
21421 #include <typeinfo>
21422 class Base { public : Base () {} virtual void f () = 0; };
21423 class Derived : public Base { public : Derived () {} virtual void f () {} };
21424 int g (Derived&) { return 0; }
21429 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
21434 rm -f conftest.
$ac_objext
21435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21436 (eval $ac_compile) 2>conftest.er1
21438 grep -v '^ *+' conftest.er1
>conftest.err
21440 cat conftest.err
>&5
21441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21442 (exit $ac_status); } &&
21443 { ac_try
='test -z "$ac_cxx_werror_flag"
21444 || test ! -s conftest.err'
21445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21446 (eval $ac_try) 2>&5
21448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21449 (exit $ac_status); }; } &&
21450 { ac_try
='test -s conftest.$ac_objext'
21451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21452 (eval $ac_try) 2>&5
21454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21455 (exit $ac_status); }; }; then
21456 ac_cv_cxx_static_cast
=yes
21458 echo "$as_me: failed program was:" >&5
21459 sed 's/^/| /' conftest.
$ac_ext >&5
21461 ac_cv_cxx_static_cast
=no
21463 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21465 ac_cpp
='$CPP $CPPFLAGS'
21466 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21467 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21468 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21472 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
21473 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
21474 if test "$ac_cv_cxx_static_cast" = yes; then
21476 cat >>confdefs.h
<<\_ACEOF
21477 #define HAVE_STATIC_CAST
21483 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21485 ac_cpp
='$CXXCPP $CPPFLAGS'
21486 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21487 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21488 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21491 if test "$wxUSE_UNICODE" = "yes"; then
21492 std_string
="std::wstring"
21493 char_type
="wchar_t"
21495 std_string
="std::string"
21499 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
21500 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
21501 cat >conftest.
$ac_ext <<_ACEOF
21504 cat confdefs.h
>>conftest.
$ac_ext
21505 cat >>conftest.
$ac_ext <<_ACEOF
21506 /* end confdefs.h. */
21516 rm -f conftest.
$ac_objext
21517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21518 (eval $ac_compile) 2>conftest.er1
21520 grep -v '^ *+' conftest.er1
>conftest.err
21522 cat conftest.err
>&5
21523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21524 (exit $ac_status); } &&
21525 { ac_try
='test -z "$ac_cxx_werror_flag"
21526 || test ! -s conftest.err'
21527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21528 (eval $ac_try) 2>&5
21530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21531 (exit $ac_status); }; } &&
21532 { ac_try
='test -s conftest.$ac_objext'
21533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21534 (eval $ac_try) 2>&5
21536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21537 (exit $ac_status); }; }; then
21538 echo "$as_me:$LINENO: result: yes" >&5
21539 echo "${ECHO_T}yes" >&6
21540 cat >>confdefs.h
<<\_ACEOF
21541 #define HAVE_STD_WSTRING 1
21545 echo "$as_me: failed program was:" >&5
21546 sed 's/^/| /' conftest.
$ac_ext >&5
21548 echo "$as_me:$LINENO: result: no" >&5
21549 echo "${ECHO_T}no" >&6
21550 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
21551 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
21552 cat >conftest.
$ac_ext <<_ACEOF
21555 cat confdefs.h
>>conftest.
$ac_ext
21556 cat >>conftest.
$ac_ext <<_ACEOF
21557 /* end confdefs.h. */
21559 #ifdef HAVE_WCHAR_H
21561 # include <stddef.h>
21563 # include <wchar.h>
21565 #ifdef HAVE_STDLIB_H
21566 # include <stdlib.h>
21574 std::basic_string<$char_type> foo;
21575 const $char_type* dummy = foo.c_str();
21580 rm -f conftest.
$ac_objext
21581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21582 (eval $ac_compile) 2>conftest.er1
21584 grep -v '^ *+' conftest.er1
>conftest.err
21586 cat conftest.err
>&5
21587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21588 (exit $ac_status); } &&
21589 { ac_try
='test -z "$ac_cxx_werror_flag"
21590 || test ! -s conftest.err'
21591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21592 (eval $ac_try) 2>&5
21594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21595 (exit $ac_status); }; } &&
21596 { ac_try
='test -s conftest.$ac_objext'
21597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21598 (eval $ac_try) 2>&5
21600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21601 (exit $ac_status); }; }; then
21602 echo "$as_me:$LINENO: result: yes" >&5
21603 echo "${ECHO_T}yes" >&6
21605 echo "$as_me: failed program was:" >&5
21606 sed 's/^/| /' conftest.
$ac_ext >&5
21608 echo "$as_me:$LINENO: result: no" >&5
21609 echo "${ECHO_T}no" >&6
21610 if test "$wxUSE_STL" = "yes"; then
21611 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
21612 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
21613 { (exit 1); exit 1; }; }
21614 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
21615 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
21616 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
21617 { (exit 1); exit 1; }; }
21619 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21620 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21621 wxUSE_STD_STRING
=no
21626 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21629 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21632 ac_cpp
='$CPP $CPPFLAGS'
21633 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21634 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21635 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21639 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21641 ac_cpp
='$CXXCPP $CPPFLAGS'
21642 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21643 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21644 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21647 echo "$as_me:$LINENO: checking for std::istream" >&5
21648 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
21649 if test "${ac_cv_type_std__istream+set}" = set; then
21650 echo $ECHO_N "(cached) $ECHO_C" >&6
21652 cat >conftest.
$ac_ext <<_ACEOF
21655 cat confdefs.h
>>conftest.
$ac_ext
21656 cat >>conftest.
$ac_ext <<_ACEOF
21657 /* end confdefs.h. */
21658 #include <iostream>
21663 if ((std::istream *) 0)
21665 if (sizeof (std::istream))
21671 rm -f conftest.
$ac_objext
21672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21673 (eval $ac_compile) 2>conftest.er1
21675 grep -v '^ *+' conftest.er1
>conftest.err
21677 cat conftest.err
>&5
21678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21679 (exit $ac_status); } &&
21680 { ac_try
='test -z "$ac_cxx_werror_flag"
21681 || test ! -s conftest.err'
21682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21683 (eval $ac_try) 2>&5
21685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21686 (exit $ac_status); }; } &&
21687 { ac_try
='test -s conftest.$ac_objext'
21688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21689 (eval $ac_try) 2>&5
21691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21692 (exit $ac_status); }; }; then
21693 ac_cv_type_std__istream
=yes
21695 echo "$as_me: failed program was:" >&5
21696 sed 's/^/| /' conftest.
$ac_ext >&5
21698 ac_cv_type_std__istream
=no
21700 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21702 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
21703 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
21704 if test $ac_cv_type_std__istream = yes; then
21706 cat >>confdefs.h
<<_ACEOF
21707 #define HAVE_STD__ISTREAM 1
21712 wxUSE_STD_IOSTREAM
=no
21714 echo "$as_me:$LINENO: checking for std::ostream" >&5
21715 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
21716 if test "${ac_cv_type_std__ostream+set}" = set; then
21717 echo $ECHO_N "(cached) $ECHO_C" >&6
21719 cat >conftest.
$ac_ext <<_ACEOF
21722 cat confdefs.h
>>conftest.
$ac_ext
21723 cat >>conftest.
$ac_ext <<_ACEOF
21724 /* end confdefs.h. */
21725 #include <iostream>
21730 if ((std::ostream *) 0)
21732 if (sizeof (std::ostream))
21738 rm -f conftest.
$ac_objext
21739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21740 (eval $ac_compile) 2>conftest.er1
21742 grep -v '^ *+' conftest.er1
>conftest.err
21744 cat conftest.err
>&5
21745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21746 (exit $ac_status); } &&
21747 { ac_try
='test -z "$ac_cxx_werror_flag"
21748 || test ! -s conftest.err'
21749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21750 (eval $ac_try) 2>&5
21752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21753 (exit $ac_status); }; } &&
21754 { ac_try
='test -s conftest.$ac_objext'
21755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21756 (eval $ac_try) 2>&5
21758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21759 (exit $ac_status); }; }; then
21760 ac_cv_type_std__ostream
=yes
21762 echo "$as_me: failed program was:" >&5
21763 sed 's/^/| /' conftest.
$ac_ext >&5
21765 ac_cv_type_std__ostream
=no
21767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21769 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
21770 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
21771 if test $ac_cv_type_std__ostream = yes; then
21773 cat >>confdefs.h
<<_ACEOF
21774 #define HAVE_STD__OSTREAM 1
21779 wxUSE_STD_IOSTREAM
=no
21783 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21784 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
21785 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
21786 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
21787 { (exit 1); exit 1; }; }
21789 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21790 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21795 ac_cpp
='$CPP $CPPFLAGS'
21796 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21797 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21798 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21802 if test "$wxUSE_STL" = "yes"; then
21804 ac_cpp
='$CXXCPP $CPPFLAGS'
21805 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21806 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21807 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21810 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
21811 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
21812 cat >conftest.
$ac_ext <<_ACEOF
21815 cat confdefs.h
>>conftest.
$ac_ext
21816 cat >>conftest.
$ac_ext <<_ACEOF
21817 /* end confdefs.h. */
21819 #include <functional>
21820 #include <algorithm>
21826 std::vector<int> moo;
21827 std::list<int> foo;
21828 std::vector<int>::iterator it =
21829 std::find_if(moo.begin(), moo.end(),
21830 std::bind2nd(std::less<int>(), 3));
21835 rm -f conftest.
$ac_objext
21836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21837 (eval $ac_compile) 2>conftest.er1
21839 grep -v '^ *+' conftest.er1
>conftest.err
21841 cat conftest.err
>&5
21842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21843 (exit $ac_status); } &&
21844 { ac_try
='test -z "$ac_cxx_werror_flag"
21845 || test ! -s conftest.err'
21846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21847 (eval $ac_try) 2>&5
21849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21850 (exit $ac_status); }; } &&
21851 { ac_try
='test -s conftest.$ac_objext'
21852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21853 (eval $ac_try) 2>&5
21855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21856 (exit $ac_status); }; }; then
21857 echo "$as_me:$LINENO: result: yes" >&5
21858 echo "${ECHO_T}yes" >&6
21860 echo "$as_me: failed program was:" >&5
21861 sed 's/^/| /' conftest.
$ac_ext >&5
21863 echo "$as_me:$LINENO: result: no" >&5
21864 echo "${ECHO_T}no" >&6
21865 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
21866 echo "$as_me: error: Basic STL functionality missing" >&2;}
21867 { (exit 1); exit 1; }; }
21869 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21871 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
21872 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
21873 cat >conftest.
$ac_ext <<_ACEOF
21876 cat confdefs.h
>>conftest.
$ac_ext
21877 cat >>conftest.
$ac_ext <<_ACEOF
21878 /* end confdefs.h. */
21883 std::string foo, bar;
21885 foo.compare(1, 1, bar);
21886 foo.compare(1, 1, bar, 1, 1);
21888 foo.compare(1, 1, "");
21889 foo.compare(1, 1, "", 2);
21894 rm -f conftest.
$ac_objext
21895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21896 (eval $ac_compile) 2>conftest.er1
21898 grep -v '^ *+' conftest.er1
>conftest.err
21900 cat conftest.err
>&5
21901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21902 (exit $ac_status); } &&
21903 { ac_try
='test -z "$ac_cxx_werror_flag"
21904 || test ! -s conftest.err'
21905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21906 (eval $ac_try) 2>&5
21908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21909 (exit $ac_status); }; } &&
21910 { ac_try
='test -s conftest.$ac_objext'
21911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21912 (eval $ac_try) 2>&5
21914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21915 (exit $ac_status); }; }; then
21916 echo "$as_me:$LINENO: result: yes" >&5
21917 echo "${ECHO_T}yes" >&6
21918 cat >>confdefs.h
<<\_ACEOF
21919 #define HAVE_STD_STRING_COMPARE 1
21923 echo "$as_me: failed program was:" >&5
21924 sed 's/^/| /' conftest.
$ac_ext >&5
21926 echo "$as_me:$LINENO: result: no" >&5
21927 echo "${ECHO_T}no" >&6
21929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21931 if test "${ac_cv_header_hash_map+set}" = set; then
21932 echo "$as_me:$LINENO: checking for hash_map" >&5
21933 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21934 if test "${ac_cv_header_hash_map+set}" = set; then
21935 echo $ECHO_N "(cached) $ECHO_C" >&6
21937 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21938 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21940 # Is the header compilable?
21941 echo "$as_me:$LINENO: checking hash_map usability" >&5
21942 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
21943 cat >conftest.
$ac_ext <<_ACEOF
21946 cat confdefs.h
>>conftest.
$ac_ext
21947 cat >>conftest.
$ac_ext <<_ACEOF
21948 /* end confdefs.h. */
21949 $ac_includes_default
21950 #include <hash_map>
21952 rm -f conftest.
$ac_objext
21953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21954 (eval $ac_compile) 2>conftest.er1
21956 grep -v '^ *+' conftest.er1
>conftest.err
21958 cat conftest.err
>&5
21959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21960 (exit $ac_status); } &&
21961 { ac_try
='test -z "$ac_cxx_werror_flag"
21962 || test ! -s conftest.err'
21963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21964 (eval $ac_try) 2>&5
21966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21967 (exit $ac_status); }; } &&
21968 { ac_try
='test -s conftest.$ac_objext'
21969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21970 (eval $ac_try) 2>&5
21972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21973 (exit $ac_status); }; }; then
21974 ac_header_compiler
=yes
21976 echo "$as_me: failed program was:" >&5
21977 sed 's/^/| /' conftest.
$ac_ext >&5
21979 ac_header_compiler
=no
21981 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21982 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21983 echo "${ECHO_T}$ac_header_compiler" >&6
21985 # Is the header present?
21986 echo "$as_me:$LINENO: checking hash_map presence" >&5
21987 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
21988 cat >conftest.
$ac_ext <<_ACEOF
21991 cat confdefs.h
>>conftest.
$ac_ext
21992 cat >>conftest.
$ac_ext <<_ACEOF
21993 /* end confdefs.h. */
21994 #include <hash_map>
21996 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21997 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21999 grep -v '^ *+' conftest.er1
>conftest.err
22001 cat conftest.err
>&5
22002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22003 (exit $ac_status); } >/dev
/null
; then
22004 if test -s conftest.err
; then
22005 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22006 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22013 if test -z "$ac_cpp_err"; then
22014 ac_header_preproc
=yes
22016 echo "$as_me: failed program was:" >&5
22017 sed 's/^/| /' conftest.
$ac_ext >&5
22019 ac_header_preproc
=no
22021 rm -f conftest.err conftest.
$ac_ext
22022 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22023 echo "${ECHO_T}$ac_header_preproc" >&6
22025 # So? What about this header?
22026 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22028 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
22029 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
22030 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
22031 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
22032 ac_header_preproc
=yes
22035 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
22036 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
22037 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
22038 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
22039 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
22040 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
22041 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
22042 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
22043 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
22044 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
22045 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
22046 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
22049 ## ----------------------------------------- ##
22050 ## Report this to wx-dev@lists.wxwidgets.org ##
22051 ## ----------------------------------------- ##
22054 sed "s/^/$as_me: WARNING: /" >&2
22057 echo "$as_me:$LINENO: checking for hash_map" >&5
22058 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
22059 if test "${ac_cv_header_hash_map+set}" = set; then
22060 echo $ECHO_N "(cached) $ECHO_C" >&6
22062 ac_cv_header_hash_map
=$ac_header_preproc
22064 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
22065 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
22068 if test $ac_cv_header_hash_map = yes; then
22069 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
22070 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
22071 cat >conftest.
$ac_ext <<_ACEOF
22074 cat confdefs.h
>>conftest.
$ac_ext
22075 cat >>conftest.
$ac_ext <<_ACEOF
22076 /* end confdefs.h. */
22077 #include <hash_map>
22078 #include <hash_set>
22082 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
22083 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
22088 rm -f conftest.
$ac_objext
22089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22090 (eval $ac_compile) 2>conftest.er1
22092 grep -v '^ *+' conftest.er1
>conftest.err
22094 cat conftest.err
>&5
22095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22096 (exit $ac_status); } &&
22097 { ac_try
='test -z "$ac_cxx_werror_flag"
22098 || test ! -s conftest.err'
22099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22100 (eval $ac_try) 2>&5
22102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22103 (exit $ac_status); }; } &&
22104 { ac_try
='test -s conftest.$ac_objext'
22105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22106 (eval $ac_try) 2>&5
22108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22109 (exit $ac_status); }; }; then
22110 echo "$as_me:$LINENO: result: yes" >&5
22111 echo "${ECHO_T}yes" >&6
22112 cat >>confdefs.h
<<\_ACEOF
22113 #define HAVE_HASH_MAP 1
22116 cat >>confdefs.h
<<\_ACEOF
22117 #define HAVE_STD_HASH_MAP 1
22121 echo "$as_me: failed program was:" >&5
22122 sed 's/^/| /' conftest.
$ac_ext >&5
22124 echo "$as_me:$LINENO: result: no" >&5
22125 echo "${ECHO_T}no" >&6
22127 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22133 if test "${ac_cv_header_ext_hash_map+set}" = set; then
22134 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
22135 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
22136 if test "${ac_cv_header_ext_hash_map+set}" = set; then
22137 echo $ECHO_N "(cached) $ECHO_C" >&6
22139 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
22140 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
22142 # Is the header compilable?
22143 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
22144 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
22145 cat >conftest.
$ac_ext <<_ACEOF
22148 cat confdefs.h
>>conftest.
$ac_ext
22149 cat >>conftest.
$ac_ext <<_ACEOF
22150 /* end confdefs.h. */
22151 $ac_includes_default
22152 #include <ext/hash_map>
22154 rm -f conftest.
$ac_objext
22155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22156 (eval $ac_compile) 2>conftest.er1
22158 grep -v '^ *+' conftest.er1
>conftest.err
22160 cat conftest.err
>&5
22161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22162 (exit $ac_status); } &&
22163 { ac_try
='test -z "$ac_cxx_werror_flag"
22164 || test ! -s conftest.err'
22165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22166 (eval $ac_try) 2>&5
22168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22169 (exit $ac_status); }; } &&
22170 { ac_try
='test -s conftest.$ac_objext'
22171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22172 (eval $ac_try) 2>&5
22174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22175 (exit $ac_status); }; }; then
22176 ac_header_compiler
=yes
22178 echo "$as_me: failed program was:" >&5
22179 sed 's/^/| /' conftest.
$ac_ext >&5
22181 ac_header_compiler
=no
22183 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22184 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22185 echo "${ECHO_T}$ac_header_compiler" >&6
22187 # Is the header present?
22188 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
22189 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
22190 cat >conftest.
$ac_ext <<_ACEOF
22193 cat confdefs.h
>>conftest.
$ac_ext
22194 cat >>conftest.
$ac_ext <<_ACEOF
22195 /* end confdefs.h. */
22196 #include <ext/hash_map>
22198 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22199 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22201 grep -v '^ *+' conftest.er1
>conftest.err
22203 cat conftest.err
>&5
22204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22205 (exit $ac_status); } >/dev
/null
; then
22206 if test -s conftest.err
; then
22207 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22208 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22215 if test -z "$ac_cpp_err"; then
22216 ac_header_preproc
=yes
22218 echo "$as_me: failed program was:" >&5
22219 sed 's/^/| /' conftest.
$ac_ext >&5
22221 ac_header_preproc
=no
22223 rm -f conftest.err conftest.
$ac_ext
22224 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22225 echo "${ECHO_T}$ac_header_preproc" >&6
22227 # So? What about this header?
22228 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22230 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
22231 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
22232 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
22233 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
22234 ac_header_preproc
=yes
22237 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
22238 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
22239 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
22240 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
22241 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
22242 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
22243 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
22244 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
22245 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
22246 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
22247 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
22248 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
22251 ## ----------------------------------------- ##
22252 ## Report this to wx-dev@lists.wxwidgets.org ##
22253 ## ----------------------------------------- ##
22256 sed "s/^/$as_me: WARNING: /" >&2
22259 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
22260 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
22261 if test "${ac_cv_header_ext_hash_map+set}" = set; then
22262 echo $ECHO_N "(cached) $ECHO_C" >&6
22264 ac_cv_header_ext_hash_map
=$ac_header_preproc
22266 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
22267 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
22270 if test $ac_cv_header_ext_hash_map = yes; then
22271 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
22272 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
22273 cat >conftest.
$ac_ext <<_ACEOF
22276 cat confdefs.h
>>conftest.
$ac_ext
22277 cat >>conftest.
$ac_ext <<_ACEOF
22278 /* end confdefs.h. */
22279 #include <ext/hash_map>
22280 #include <ext/hash_set>
22284 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
22285 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
22290 rm -f conftest.
$ac_objext
22291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22292 (eval $ac_compile) 2>conftest.er1
22294 grep -v '^ *+' conftest.er1
>conftest.err
22296 cat conftest.err
>&5
22297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22298 (exit $ac_status); } &&
22299 { ac_try
='test -z "$ac_cxx_werror_flag"
22300 || test ! -s conftest.err'
22301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22302 (eval $ac_try) 2>&5
22304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22305 (exit $ac_status); }; } &&
22306 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
22312 echo "$as_me:$LINENO: result: yes" >&5
22313 echo "${ECHO_T}yes" >&6
22314 cat >>confdefs.h
<<\_ACEOF
22315 #define HAVE_EXT_HASH_MAP 1
22318 cat >>confdefs.h
<<\_ACEOF
22319 #define HAVE_GNU_CXX_HASH_MAP 1
22323 echo "$as_me: failed program was:" >&5
22324 sed 's/^/| /' conftest.
$ac_ext >&5
22326 echo "$as_me:$LINENO: result: no" >&5
22327 echo "${ECHO_T}no" >&6
22329 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22336 ac_cpp
='$CPP $CPPFLAGS'
22337 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22338 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22339 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22345 /usr/local/include \
22347 /usr/Motif-2.1/include \
22348 /usr/Motif-1.2/include \
22349 /usr/include/Motif1.2 \
22350 /opt/xpm/include/X11 \
22351 /opt/GBxpm/include/ \
22352 /opt/GBxpm/X11/include/ \
22355 /usr/openwin/include \
22359 /usr/X11R6/include \
22360 /usr/X11R6.4/include \
22361 /usr/X11R5/include \
22362 /usr/X11R4/include \
22364 /usr/include/X11R6 \
22365 /usr/include/X11R5 \
22366 /usr/include/X11R4 \
22368 /usr/local/X11R6/include \
22369 /usr/local/X11R5/include \
22370 /usr/local/X11R4/include \
22372 /usr/local/include/X11R6 \
22373 /usr/local/include/X11R5 \
22374 /usr/local/include/X11R4 \
22378 /usr/local/X11/include \
22379 /usr/local/include/X11 \
22381 /usr/X386/include \
22382 /usr/x386/include \
22383 /usr/XFree86/include/X11 \
22385 X:/XFree86/include \
22386 X:/XFree86/include/X11 \
22389 /usr/local/include/gtk \
22390 /usr/include/glib \
22391 /usr/local/include/glib \
22394 /usr/local/include/qt \
22396 /usr/local/arm/3.3.2/include \
22398 /usr/include/windows \
22399 /usr/include/wine \
22400 /usr/local/include/wine \
22402 /usr/unsupported/include \
22403 /usr/athena/include \
22404 /usr/local/x11r5/include \
22405 /usr/lpp/Xamples/include \
22407 /usr/openwin/share/include"
22409 SEARCH_LIB
="/usr/lib /usr/lib32 /usr/lib64 /usr/X11R6/lib64 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g`"
22412 cat >confcache
<<\_ACEOF
22413 # This file is a shell script that caches the results of configure
22414 # tests run on this system so they can be shared between configure
22415 # scripts and configure runs, see configure's option --config-cache.
22416 # It is not useful on other systems. If it contains results you don't
22417 # want to keep, you may remove or edit it.
22419 # config.status only pays attention to the cache file if you give it
22420 # the --recheck option to rerun configure.
22422 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22423 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22424 # following values.
22428 # The following way of writing the cache mishandles newlines in values,
22429 # but we know of no workaround that is simple, portable, and efficient.
22430 # So, don't put newlines in cache variables' values.
22431 # Ultrix sh set writes to stderr and can't be redirected directly,
22432 # and sets the high bit in the cache file unless we assign to the vars.
22435 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22437 # `set' does not quote correctly, so add quotes (double-quote
22438 # substitution turns \\\\ into \\, and sed turns \\ into \).
22441 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22444 # `set' quotes correctly as required by POSIX, so do not add quotes.
22446 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22453 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22455 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22457 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
22458 if test -w $cache_file; then
22459 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22460 cat confcache
>$cache_file
22462 echo "not updating unwritable cache $cache_file"
22467 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
22468 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
22469 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
22470 if test "${wx_cv_lib_glibc21+set}" = set; then
22471 echo $ECHO_N "(cached) $ECHO_C" >&6
22474 cat >conftest.
$ac_ext <<_ACEOF
22477 cat confdefs.h
>>conftest.
$ac_ext
22478 cat >>conftest.
$ac_ext <<_ACEOF
22479 /* end confdefs.h. */
22480 #include <features.h>
22485 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
22486 #error not glibc2.1
22493 rm -f conftest.
$ac_objext
22494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22495 (eval $ac_compile) 2>conftest.er1
22497 grep -v '^ *+' conftest.er1
>conftest.err
22499 cat conftest.err
>&5
22500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22501 (exit $ac_status); } &&
22502 { ac_try
='test -z "$ac_c_werror_flag"
22503 || test ! -s conftest.err'
22504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22505 (eval $ac_try) 2>&5
22507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22508 (exit $ac_status); }; } &&
22509 { ac_try
='test -s conftest.$ac_objext'
22510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22511 (eval $ac_try) 2>&5
22513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22514 (exit $ac_status); }; }; then
22516 wx_cv_lib_glibc21
=yes
22519 echo "$as_me: failed program was:" >&5
22520 sed 's/^/| /' conftest.
$ac_ext >&5
22523 wx_cv_lib_glibc21
=no
22527 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22530 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
22531 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
22532 if test "$wx_cv_lib_glibc21" = "yes"; then
22533 cat >>confdefs.h
<<\_ACEOF
22534 #define wxHAVE_GLIBC2 1
22540 if test "x$wx_cv_lib_glibc21" = "xyes"; then
22541 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
22542 cat >>confdefs.h
<<\_ACEOF
22543 #define _GNU_SOURCE 1
22551 if test "$wxUSE_REGEX" != "no"; then
22552 cat >>confdefs.h
<<\_ACEOF
22553 #define wxUSE_REGEX 1
22557 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22558 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
22559 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
22560 wxUSE_REGEX
=builtin
22563 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22564 if test "${ac_cv_header_regex_h+set}" = set; then
22565 echo "$as_me:$LINENO: checking for regex.h" >&5
22566 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22567 if test "${ac_cv_header_regex_h+set}" = set; then
22568 echo $ECHO_N "(cached) $ECHO_C" >&6
22570 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22571 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22573 # Is the header compilable?
22574 echo "$as_me:$LINENO: checking regex.h usability" >&5
22575 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
22576 cat >conftest.
$ac_ext <<_ACEOF
22579 cat confdefs.h
>>conftest.
$ac_ext
22580 cat >>conftest.
$ac_ext <<_ACEOF
22581 /* end confdefs.h. */
22582 $ac_includes_default
22585 rm -f conftest.
$ac_objext
22586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22587 (eval $ac_compile) 2>conftest.er1
22589 grep -v '^ *+' conftest.er1
>conftest.err
22591 cat conftest.err
>&5
22592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22593 (exit $ac_status); } &&
22594 { ac_try
='test -z "$ac_c_werror_flag"
22595 || test ! -s conftest.err'
22596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22597 (eval $ac_try) 2>&5
22599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22600 (exit $ac_status); }; } &&
22601 { ac_try
='test -s conftest.$ac_objext'
22602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22603 (eval $ac_try) 2>&5
22605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22606 (exit $ac_status); }; }; then
22607 ac_header_compiler
=yes
22609 echo "$as_me: failed program was:" >&5
22610 sed 's/^/| /' conftest.
$ac_ext >&5
22612 ac_header_compiler
=no
22614 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22615 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22616 echo "${ECHO_T}$ac_header_compiler" >&6
22618 # Is the header present?
22619 echo "$as_me:$LINENO: checking regex.h presence" >&5
22620 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
22621 cat >conftest.
$ac_ext <<_ACEOF
22624 cat confdefs.h
>>conftest.
$ac_ext
22625 cat >>conftest.
$ac_ext <<_ACEOF
22626 /* end confdefs.h. */
22629 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22630 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22632 grep -v '^ *+' conftest.er1
>conftest.err
22634 cat conftest.err
>&5
22635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22636 (exit $ac_status); } >/dev
/null
; then
22637 if test -s conftest.err
; then
22638 ac_cpp_err
=$ac_c_preproc_warn_flag
22639 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22646 if test -z "$ac_cpp_err"; then
22647 ac_header_preproc
=yes
22649 echo "$as_me: failed program was:" >&5
22650 sed 's/^/| /' conftest.
$ac_ext >&5
22652 ac_header_preproc
=no
22654 rm -f conftest.err conftest.
$ac_ext
22655 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22656 echo "${ECHO_T}$ac_header_preproc" >&6
22658 # So? What about this header?
22659 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22661 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
22662 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22663 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
22664 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
22665 ac_header_preproc
=yes
22668 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
22669 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
22670 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
22671 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
22672 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
22673 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
22674 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
22675 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
22676 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
22677 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
22678 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
22679 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
22682 ## ----------------------------------------- ##
22683 ## Report this to wx-dev@lists.wxwidgets.org ##
22684 ## ----------------------------------------- ##
22687 sed "s/^/$as_me: WARNING: /" >&2
22690 echo "$as_me:$LINENO: checking for regex.h" >&5
22691 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22692 if test "${ac_cv_header_regex_h+set}" = set; then
22693 echo $ECHO_N "(cached) $ECHO_C" >&6
22695 ac_cv_header_regex_h
=$ac_header_preproc
22697 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22698 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22701 if test $ac_cv_header_regex_h = yes; then
22703 for ac_func
in regcomp
22705 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22706 echo "$as_me:$LINENO: checking for $ac_func" >&5
22707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22708 if eval "test \"\${$as_ac_var+set}\" = set"; then
22709 echo $ECHO_N "(cached) $ECHO_C" >&6
22711 cat >conftest.
$ac_ext <<_ACEOF
22714 cat confdefs.h
>>conftest.
$ac_ext
22715 cat >>conftest.
$ac_ext <<_ACEOF
22716 /* end confdefs.h. */
22717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22719 #define $ac_func innocuous_$ac_func
22721 /* System header to define __stub macros and hopefully few prototypes,
22722 which can conflict with char $ac_func (); below.
22723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22724 <limits.h> exists even on freestanding compilers. */
22727 # include <limits.h>
22729 # include <assert.h>
22734 /* Override any gcc2 internal prototype to avoid an error. */
22739 /* We use char because int might match the return type of a gcc2
22740 builtin and then its argument prototype would still apply. */
22742 /* The GNU C library defines this for functions which it implements
22743 to always fail with ENOSYS. Some functions are actually named
22744 something starting with __ and the normal name is an alias. */
22745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22748 char (*f) () = $ac_func;
22757 return f != $ac_func;
22762 rm -f conftest.
$ac_objext conftest
$ac_exeext
22763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22764 (eval $ac_link) 2>conftest.er1
22766 grep -v '^ *+' conftest.er1
>conftest.err
22768 cat conftest.err
>&5
22769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22770 (exit $ac_status); } &&
22771 { ac_try
='test -z "$ac_c_werror_flag"
22772 || test ! -s conftest.err'
22773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22774 (eval $ac_try) 2>&5
22776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22777 (exit $ac_status); }; } &&
22778 { ac_try
='test -s conftest$ac_exeext'
22779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22780 (eval $ac_try) 2>&5
22782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22783 (exit $ac_status); }; }; then
22784 eval "$as_ac_var=yes"
22786 echo "$as_me: failed program was:" >&5
22787 sed 's/^/| /' conftest.
$ac_ext >&5
22789 eval "$as_ac_var=no"
22791 rm -f conftest.err conftest.
$ac_objext \
22792 conftest
$ac_exeext conftest.
$ac_ext
22794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22796 if test `eval echo '${'$as_ac_var'}'` = yes; then
22797 cat >>confdefs.h
<<_ACEOF
22798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22808 if test "x$ac_cv_func_regcomp" != "xyes"; then
22809 if test "$wxUSE_REGEX" = "sys" ; then
22810 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
22811 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
22812 { (exit 1); exit 1; }; }
22814 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
22815 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22816 wxUSE_REGEX
=builtin
22820 cat >>confdefs.h
<<\_ACEOF
22821 #define WX_NO_REGEX_ADVANCED 1
22830 if test "$wxUSE_ZLIB" != "no" ; then
22831 cat >>confdefs.h
<<\_ACEOF
22832 #define wxUSE_ZLIB 1
22836 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22837 if test "$USE_DARWIN" = 1; then
22838 system_zlib_h_ok
="yes"
22840 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
22841 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
22842 if test "${ac_cv_header_zlib_h+set}" = set; then
22843 echo $ECHO_N "(cached) $ECHO_C" >&6
22845 if test "$cross_compiling" = yes; then
22846 unset ac_cv_header_zlib_h
22849 cat >conftest.
$ac_ext <<_ACEOF
22852 cat confdefs.h
>>conftest.
$ac_ext
22853 cat >>conftest.
$ac_ext <<_ACEOF
22854 /* end confdefs.h. */
22861 FILE *f=fopen("conftestval", "w");
22864 ZLIB_VERSION[0] == '1' &&
22865 (ZLIB_VERSION[2] > '1' ||
22866 (ZLIB_VERSION[2] == '1' &&
22867 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22872 rm -f conftest
$ac_exeext
22873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22874 (eval $ac_link) 2>&5
22876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22877 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22879 (eval $ac_try) 2>&5
22881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22882 (exit $ac_status); }; }; then
22883 ac_cv_header_zlib_h
=`cat conftestval`
22885 echo "$as_me: program exited with status $ac_status" >&5
22886 echo "$as_me: failed program was:" >&5
22887 sed 's/^/| /' conftest.
$ac_ext >&5
22889 ( exit $ac_status )
22890 ac_cv_header_zlib_h
=no
22892 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22896 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22897 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22898 if test "${ac_cv_header_zlib_h+set}" = set; then
22899 echo "$as_me:$LINENO: checking for zlib.h" >&5
22900 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22901 if test "${ac_cv_header_zlib_h+set}" = set; then
22902 echo $ECHO_N "(cached) $ECHO_C" >&6
22904 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22905 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22907 # Is the header compilable?
22908 echo "$as_me:$LINENO: checking zlib.h usability" >&5
22909 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
22910 cat >conftest.
$ac_ext <<_ACEOF
22913 cat confdefs.h
>>conftest.
$ac_ext
22914 cat >>conftest.
$ac_ext <<_ACEOF
22915 /* end confdefs.h. */
22916 $ac_includes_default
22919 rm -f conftest.
$ac_objext
22920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22921 (eval $ac_compile) 2>conftest.er1
22923 grep -v '^ *+' conftest.er1
>conftest.err
22925 cat conftest.err
>&5
22926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22927 (exit $ac_status); } &&
22928 { ac_try
='test -z "$ac_c_werror_flag"
22929 || test ! -s conftest.err'
22930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22931 (eval $ac_try) 2>&5
22933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22934 (exit $ac_status); }; } &&
22935 { ac_try
='test -s conftest.$ac_objext'
22936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22937 (eval $ac_try) 2>&5
22939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22940 (exit $ac_status); }; }; then
22941 ac_header_compiler
=yes
22943 echo "$as_me: failed program was:" >&5
22944 sed 's/^/| /' conftest.
$ac_ext >&5
22946 ac_header_compiler
=no
22948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22949 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22950 echo "${ECHO_T}$ac_header_compiler" >&6
22952 # Is the header present?
22953 echo "$as_me:$LINENO: checking zlib.h presence" >&5
22954 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
22955 cat >conftest.
$ac_ext <<_ACEOF
22958 cat confdefs.h
>>conftest.
$ac_ext
22959 cat >>conftest.
$ac_ext <<_ACEOF
22960 /* end confdefs.h. */
22963 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22964 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22966 grep -v '^ *+' conftest.er1
>conftest.err
22968 cat conftest.err
>&5
22969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22970 (exit $ac_status); } >/dev
/null
; then
22971 if test -s conftest.err
; then
22972 ac_cpp_err
=$ac_c_preproc_warn_flag
22973 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22980 if test -z "$ac_cpp_err"; then
22981 ac_header_preproc
=yes
22983 echo "$as_me: failed program was:" >&5
22984 sed 's/^/| /' conftest.
$ac_ext >&5
22986 ac_header_preproc
=no
22988 rm -f conftest.err conftest.
$ac_ext
22989 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22990 echo "${ECHO_T}$ac_header_preproc" >&6
22992 # So? What about this header?
22993 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22995 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
22996 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22997 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
22998 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
22999 ac_header_preproc
=yes
23002 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
23003 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
23004 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
23005 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
23006 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
23007 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
23008 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
23009 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
23010 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
23011 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
23012 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
23013 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
23016 ## ----------------------------------------- ##
23017 ## Report this to wx-dev@lists.wxwidgets.org ##
23018 ## ----------------------------------------- ##
23021 sed "s/^/$as_me: WARNING: /" >&2
23024 echo "$as_me:$LINENO: checking for zlib.h" >&5
23025 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
23026 if test "${ac_cv_header_zlib_h+set}" = set; then
23027 echo $ECHO_N "(cached) $ECHO_C" >&6
23029 ac_cv_header_zlib_h
=$ac_header_preproc
23031 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
23032 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
23038 system_zlib_h_ok
=$ac_cv_header_zlib_h
23041 if test "$system_zlib_h_ok" = "yes"; then
23042 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
23043 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
23044 if test "${ac_cv_lib_z_deflate+set}" = set; then
23045 echo $ECHO_N "(cached) $ECHO_C" >&6
23047 ac_check_lib_save_LIBS
=$LIBS
23049 cat >conftest.
$ac_ext <<_ACEOF
23052 cat confdefs.h
>>conftest.
$ac_ext
23053 cat >>conftest.
$ac_ext <<_ACEOF
23054 /* end confdefs.h. */
23056 /* Override any gcc2 internal prototype to avoid an error. */
23060 /* We use char because int might match the return type of a gcc2
23061 builtin and then its argument prototype would still apply. */
23071 rm -f conftest.
$ac_objext conftest
$ac_exeext
23072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23073 (eval $ac_link) 2>conftest.er1
23075 grep -v '^ *+' conftest.er1
>conftest.err
23077 cat conftest.err
>&5
23078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23079 (exit $ac_status); } &&
23080 { ac_try
='test -z "$ac_c_werror_flag"
23081 || test ! -s conftest.err'
23082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23083 (eval $ac_try) 2>&5
23085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23086 (exit $ac_status); }; } &&
23087 { ac_try
='test -s conftest$ac_exeext'
23088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23089 (eval $ac_try) 2>&5
23091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23092 (exit $ac_status); }; }; then
23093 ac_cv_lib_z_deflate
=yes
23095 echo "$as_me: failed program was:" >&5
23096 sed 's/^/| /' conftest.
$ac_ext >&5
23098 ac_cv_lib_z_deflate
=no
23100 rm -f conftest.err conftest.
$ac_objext \
23101 conftest
$ac_exeext conftest.
$ac_ext
23102 LIBS
=$ac_check_lib_save_LIBS
23104 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
23105 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
23106 if test $ac_cv_lib_z_deflate = yes; then
23112 if test "x$ZLIB_LINK" = "x" ; then
23113 if test "$wxUSE_ZLIB" = "sys" ; then
23114 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
23115 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
23116 { (exit 1); exit 1; }; }
23118 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
23119 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
23130 if test "$wxUSE_LIBPNG" != "no" ; then
23131 cat >>confdefs.h
<<\_ACEOF
23132 #define wxUSE_LIBPNG 1
23136 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
23137 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
23138 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
23142 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
23143 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
23144 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
23145 wxUSE_LIBPNG
=builtin
23148 if test "$wxUSE_MGL" != 1 ; then
23149 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
23150 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
23151 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
23152 if test "${ac_cv_header_png_h+set}" = set; then
23153 echo $ECHO_N "(cached) $ECHO_C" >&6
23155 if test "$cross_compiling" = yes; then
23156 unset ac_cv_header_png_h
23159 cat >conftest.
$ac_ext <<_ACEOF
23162 cat confdefs.h
>>conftest.
$ac_ext
23163 cat >>conftest.
$ac_ext <<_ACEOF
23164 /* end confdefs.h. */
23171 FILE *f=fopen("conftestval", "w");
23174 PNG_LIBPNG_VER > 90 ? "yes" : "no");
23179 rm -f conftest
$ac_exeext
23180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23181 (eval $ac_link) 2>&5
23183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23184 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23186 (eval $ac_try) 2>&5
23188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23189 (exit $ac_status); }; }; then
23190 ac_cv_header_png_h
=`cat conftestval`
23192 echo "$as_me: program exited with status $ac_status" >&5
23193 echo "$as_me: failed program was:" >&5
23194 sed 's/^/| /' conftest.
$ac_ext >&5
23196 ( exit $ac_status )
23197 ac_cv_header_png_h
=no
23199 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23203 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23204 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23205 if test "${ac_cv_header_png_h+set}" = set; then
23206 echo "$as_me:$LINENO: checking for png.h" >&5
23207 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
23208 if test "${ac_cv_header_png_h+set}" = set; then
23209 echo $ECHO_N "(cached) $ECHO_C" >&6
23211 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23212 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23214 # Is the header compilable?
23215 echo "$as_me:$LINENO: checking png.h usability" >&5
23216 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
23217 cat >conftest.
$ac_ext <<_ACEOF
23220 cat confdefs.h
>>conftest.
$ac_ext
23221 cat >>conftest.
$ac_ext <<_ACEOF
23222 /* end confdefs.h. */
23223 $ac_includes_default
23226 rm -f conftest.
$ac_objext
23227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23228 (eval $ac_compile) 2>conftest.er1
23230 grep -v '^ *+' conftest.er1
>conftest.err
23232 cat conftest.err
>&5
23233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23234 (exit $ac_status); } &&
23235 { ac_try
='test -z "$ac_c_werror_flag"
23236 || test ! -s conftest.err'
23237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23238 (eval $ac_try) 2>&5
23240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23241 (exit $ac_status); }; } &&
23242 { ac_try
='test -s conftest.$ac_objext'
23243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23244 (eval $ac_try) 2>&5
23246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23247 (exit $ac_status); }; }; then
23248 ac_header_compiler
=yes
23250 echo "$as_me: failed program was:" >&5
23251 sed 's/^/| /' conftest.
$ac_ext >&5
23253 ac_header_compiler
=no
23255 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23256 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23257 echo "${ECHO_T}$ac_header_compiler" >&6
23259 # Is the header present?
23260 echo "$as_me:$LINENO: checking png.h presence" >&5
23261 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
23262 cat >conftest.
$ac_ext <<_ACEOF
23265 cat confdefs.h
>>conftest.
$ac_ext
23266 cat >>conftest.
$ac_ext <<_ACEOF
23267 /* end confdefs.h. */
23270 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23271 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23273 grep -v '^ *+' conftest.er1
>conftest.err
23275 cat conftest.err
>&5
23276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23277 (exit $ac_status); } >/dev
/null
; then
23278 if test -s conftest.err
; then
23279 ac_cpp_err
=$ac_c_preproc_warn_flag
23280 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23287 if test -z "$ac_cpp_err"; then
23288 ac_header_preproc
=yes
23290 echo "$as_me: failed program was:" >&5
23291 sed 's/^/| /' conftest.
$ac_ext >&5
23293 ac_header_preproc
=no
23295 rm -f conftest.err conftest.
$ac_ext
23296 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23297 echo "${ECHO_T}$ac_header_preproc" >&6
23299 # So? What about this header?
23300 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23302 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
23303 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23304 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
23305 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
23306 ac_header_preproc
=yes
23309 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
23310 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
23311 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
23312 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
23313 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
23314 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
23315 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
23316 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
23317 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
23318 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
23319 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
23320 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
23323 ## ----------------------------------------- ##
23324 ## Report this to wx-dev@lists.wxwidgets.org ##
23325 ## ----------------------------------------- ##
23328 sed "s/^/$as_me: WARNING: /" >&2
23331 echo "$as_me:$LINENO: checking for png.h" >&5
23332 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
23333 if test "${ac_cv_header_png_h+set}" = set; then
23334 echo $ECHO_N "(cached) $ECHO_C" >&6
23336 ac_cv_header_png_h
=$ac_header_preproc
23338 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23339 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23345 if test "$ac_cv_header_png_h" = "yes"; then
23346 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
23347 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
23348 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
23349 echo $ECHO_N "(cached) $ECHO_C" >&6
23351 ac_check_lib_save_LIBS
=$LIBS
23352 LIBS
="-lpng -lz -lm $LIBS"
23353 cat >conftest.
$ac_ext <<_ACEOF
23356 cat confdefs.h
>>conftest.
$ac_ext
23357 cat >>conftest.
$ac_ext <<_ACEOF
23358 /* end confdefs.h. */
23360 /* Override any gcc2 internal prototype to avoid an error. */
23364 /* We use char because int might match the return type of a gcc2
23365 builtin and then its argument prototype would still apply. */
23366 char png_check_sig ();
23375 rm -f conftest.
$ac_objext conftest
$ac_exeext
23376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23377 (eval $ac_link) 2>conftest.er1
23379 grep -v '^ *+' conftest.er1
>conftest.err
23381 cat conftest.err
>&5
23382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23383 (exit $ac_status); } &&
23384 { ac_try
='test -z "$ac_c_werror_flag"
23385 || test ! -s conftest.err'
23386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23387 (eval $ac_try) 2>&5
23389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23390 (exit $ac_status); }; } &&
23391 { ac_try
='test -s conftest$ac_exeext'
23392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23393 (eval $ac_try) 2>&5
23395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23396 (exit $ac_status); }; }; then
23397 ac_cv_lib_png_png_check_sig
=yes
23399 echo "$as_me: failed program was:" >&5
23400 sed 's/^/| /' conftest.
$ac_ext >&5
23402 ac_cv_lib_png_png_check_sig
=no
23404 rm -f conftest.err conftest.
$ac_objext \
23405 conftest
$ac_exeext conftest.
$ac_ext
23406 LIBS
=$ac_check_lib_save_LIBS
23408 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
23409 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
23410 if test $ac_cv_lib_png_png_check_sig = yes; then
23411 PNG_LINK
=" -lpng -lz"
23416 if test "x$PNG_LINK" = "x" ; then
23417 if test "$wxUSE_LIBPNG" = "sys" ; then
23418 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
23419 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
23420 { (exit 1); exit 1; }; }
23422 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
23423 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
23424 wxUSE_LIBPNG
=builtin
23432 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
23437 if test "$wxUSE_LIBJPEG" != "no" ; then
23438 cat >>confdefs.h
<<\_ACEOF
23439 #define wxUSE_LIBJPEG 1
23443 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
23444 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
23445 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
23449 if test "$wxUSE_MGL" != 1 ; then
23450 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
23451 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
23452 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
23453 if test "${ac_cv_header_jpeglib_h+set}" = set; then
23454 echo $ECHO_N "(cached) $ECHO_C" >&6
23456 cat >conftest.
$ac_ext <<_ACEOF
23459 cat confdefs.h
>>conftest.
$ac_ext
23460 cat >>conftest.
$ac_ext <<_ACEOF
23461 /* end confdefs.h. */
23463 #undef HAVE_STDLIB_H
23465 #include <jpeglib.h>
23476 rm -f conftest.
$ac_objext
23477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23478 (eval $ac_compile) 2>conftest.er1
23480 grep -v '^ *+' conftest.er1
>conftest.err
23482 cat conftest.err
>&5
23483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23484 (exit $ac_status); } &&
23485 { ac_try
='test -z "$ac_c_werror_flag"
23486 || test ! -s conftest.err'
23487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23488 (eval $ac_try) 2>&5
23490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23491 (exit $ac_status); }; } &&
23492 { ac_try
='test -s conftest.$ac_objext'
23493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23494 (eval $ac_try) 2>&5
23496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23497 (exit $ac_status); }; }; then
23498 ac_cv_header_jpeglib_h
=yes
23500 echo "$as_me: failed program was:" >&5
23501 sed 's/^/| /' conftest.
$ac_ext >&5
23503 ac_cv_header_jpeglib_h
=no
23506 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23510 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
23511 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
23513 if test "$ac_cv_header_jpeglib_h" = "yes"; then
23514 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
23515 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
23516 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
23517 echo $ECHO_N "(cached) $ECHO_C" >&6
23519 ac_check_lib_save_LIBS
=$LIBS
23520 LIBS
="-ljpeg $LIBS"
23521 cat >conftest.
$ac_ext <<_ACEOF
23524 cat confdefs.h
>>conftest.
$ac_ext
23525 cat >>conftest.
$ac_ext <<_ACEOF
23526 /* end confdefs.h. */
23528 /* Override any gcc2 internal prototype to avoid an error. */
23532 /* We use char because int might match the return type of a gcc2
23533 builtin and then its argument prototype would still apply. */
23534 char jpeg_read_header ();
23538 jpeg_read_header ();
23543 rm -f conftest.
$ac_objext conftest
$ac_exeext
23544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23545 (eval $ac_link) 2>conftest.er1
23547 grep -v '^ *+' conftest.er1
>conftest.err
23549 cat conftest.err
>&5
23550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23551 (exit $ac_status); } &&
23552 { ac_try
='test -z "$ac_c_werror_flag"
23553 || test ! -s conftest.err'
23554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23555 (eval $ac_try) 2>&5
23557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23558 (exit $ac_status); }; } &&
23559 { ac_try
='test -s conftest$ac_exeext'
23560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23561 (eval $ac_try) 2>&5
23563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23564 (exit $ac_status); }; }; then
23565 ac_cv_lib_jpeg_jpeg_read_header
=yes
23567 echo "$as_me: failed program was:" >&5
23568 sed 's/^/| /' conftest.
$ac_ext >&5
23570 ac_cv_lib_jpeg_jpeg_read_header
=no
23572 rm -f conftest.err conftest.
$ac_objext \
23573 conftest
$ac_exeext conftest.
$ac_ext
23574 LIBS
=$ac_check_lib_save_LIBS
23576 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
23577 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
23578 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
23579 JPEG_LINK
=" -ljpeg"
23584 if test "x$JPEG_LINK" = "x" ; then
23585 if test "$wxUSE_LIBJPEG" = "sys" ; then
23586 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
23587 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
23588 { (exit 1); exit 1; }; }
23590 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
23591 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
23592 wxUSE_LIBJPEG
=builtin
23603 TIFF_PREREQ_LINKS
=-lm
23604 if test "$wxUSE_LIBTIFF" != "no" ; then
23605 cat >>confdefs.h
<<\_ACEOF
23606 #define wxUSE_LIBTIFF 1
23610 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
23611 if test "$wxUSE_LIBJPEG" = "sys"; then
23612 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
23614 if test "$wxUSE_ZLIB" = "sys"; then
23615 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
23617 if test "${ac_cv_header_tiffio_h+set}" = set; then
23618 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23619 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23620 if test "${ac_cv_header_tiffio_h+set}" = set; then
23621 echo $ECHO_N "(cached) $ECHO_C" >&6
23623 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23624 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23626 # Is the header compilable?
23627 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
23628 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
23629 cat >conftest.
$ac_ext <<_ACEOF
23632 cat confdefs.h
>>conftest.
$ac_ext
23633 cat >>conftest.
$ac_ext <<_ACEOF
23634 /* end confdefs.h. */
23635 $ac_includes_default
23636 #include <tiffio.h>
23638 rm -f conftest.
$ac_objext
23639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23640 (eval $ac_compile) 2>conftest.er1
23642 grep -v '^ *+' conftest.er1
>conftest.err
23644 cat conftest.err
>&5
23645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23646 (exit $ac_status); } &&
23647 { ac_try
='test -z "$ac_c_werror_flag"
23648 || test ! -s conftest.err'
23649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23650 (eval $ac_try) 2>&5
23652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23653 (exit $ac_status); }; } &&
23654 { ac_try
='test -s conftest.$ac_objext'
23655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23656 (eval $ac_try) 2>&5
23658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23659 (exit $ac_status); }; }; then
23660 ac_header_compiler
=yes
23662 echo "$as_me: failed program was:" >&5
23663 sed 's/^/| /' conftest.
$ac_ext >&5
23665 ac_header_compiler
=no
23667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23668 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23669 echo "${ECHO_T}$ac_header_compiler" >&6
23671 # Is the header present?
23672 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
23673 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
23674 cat >conftest.
$ac_ext <<_ACEOF
23677 cat confdefs.h
>>conftest.
$ac_ext
23678 cat >>conftest.
$ac_ext <<_ACEOF
23679 /* end confdefs.h. */
23680 #include <tiffio.h>
23682 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23683 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23685 grep -v '^ *+' conftest.er1
>conftest.err
23687 cat conftest.err
>&5
23688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23689 (exit $ac_status); } >/dev
/null
; then
23690 if test -s conftest.err
; then
23691 ac_cpp_err
=$ac_c_preproc_warn_flag
23692 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23699 if test -z "$ac_cpp_err"; then
23700 ac_header_preproc
=yes
23702 echo "$as_me: failed program was:" >&5
23703 sed 's/^/| /' conftest.
$ac_ext >&5
23705 ac_header_preproc
=no
23707 rm -f conftest.err conftest.
$ac_ext
23708 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23709 echo "${ECHO_T}$ac_header_preproc" >&6
23711 # So? What about this header?
23712 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23714 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
23715 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23716 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
23717 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
23718 ac_header_preproc
=yes
23721 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
23722 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
23723 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
23724 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
23725 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
23726 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
23727 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
23728 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
23729 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
23730 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
23731 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
23732 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
23735 ## ----------------------------------------- ##
23736 ## Report this to wx-dev@lists.wxwidgets.org ##
23737 ## ----------------------------------------- ##
23740 sed "s/^/$as_me: WARNING: /" >&2
23743 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23744 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23745 if test "${ac_cv_header_tiffio_h+set}" = set; then
23746 echo $ECHO_N "(cached) $ECHO_C" >&6
23748 ac_cv_header_tiffio_h
=$ac_header_preproc
23750 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23751 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23754 if test $ac_cv_header_tiffio_h = yes; then
23756 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
23757 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
23758 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
23759 echo $ECHO_N "(cached) $ECHO_C" >&6
23761 ac_check_lib_save_LIBS
=$LIBS
23762 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
23763 cat >conftest.
$ac_ext <<_ACEOF
23766 cat confdefs.h
>>conftest.
$ac_ext
23767 cat >>conftest.
$ac_ext <<_ACEOF
23768 /* end confdefs.h. */
23770 /* Override any gcc2 internal prototype to avoid an error. */
23774 /* We use char because int might match the return type of a gcc2
23775 builtin and then its argument prototype would still apply. */
23785 rm -f conftest.
$ac_objext conftest
$ac_exeext
23786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23787 (eval $ac_link) 2>conftest.er1
23789 grep -v '^ *+' conftest.er1
>conftest.err
23791 cat conftest.err
>&5
23792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23793 (exit $ac_status); } &&
23794 { ac_try
='test -z "$ac_c_werror_flag"
23795 || test ! -s conftest.err'
23796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23797 (eval $ac_try) 2>&5
23799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23800 (exit $ac_status); }; } &&
23801 { ac_try
='test -s conftest$ac_exeext'
23802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23803 (eval $ac_try) 2>&5
23805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23806 (exit $ac_status); }; }; then
23807 ac_cv_lib_tiff_TIFFError
=yes
23809 echo "$as_me: failed program was:" >&5
23810 sed 's/^/| /' conftest.
$ac_ext >&5
23812 ac_cv_lib_tiff_TIFFError
=no
23814 rm -f conftest.err conftest.
$ac_objext \
23815 conftest
$ac_exeext conftest.
$ac_ext
23816 LIBS
=$ac_check_lib_save_LIBS
23818 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
23819 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
23820 if test $ac_cv_lib_tiff_TIFFError = yes; then
23821 TIFF_LINK
=" -ltiff"
23830 if test "x$TIFF_LINK" = "x" ; then
23831 if test "$wxUSE_LIBTIFF" = "sys" ; then
23832 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
23833 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
23834 { (exit 1); exit 1; }; }
23836 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
23837 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
23838 wxUSE_LIBTIFF
=builtin
23847 if test "$wxUSE_WCHAR_T" != "yes"; then
23848 if test "$wxUSE_EXPAT" != "no"; then
23849 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
23850 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
23853 if test "$wxUSE_XML" != "no"; then
23854 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
23855 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
23860 if test "$wxUSE_EXPAT" != "no"; then
23862 cat >>confdefs.h
<<\_ACEOF
23863 #define wxUSE_EXPAT 1
23866 cat >>confdefs.h
<<\_ACEOF
23867 #define wxUSE_XML 1
23871 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23872 if test "${ac_cv_header_expat_h+set}" = set; then
23873 echo "$as_me:$LINENO: checking for expat.h" >&5
23874 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23875 if test "${ac_cv_header_expat_h+set}" = set; then
23876 echo $ECHO_N "(cached) $ECHO_C" >&6
23878 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23879 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23881 # Is the header compilable?
23882 echo "$as_me:$LINENO: checking expat.h usability" >&5
23883 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
23884 cat >conftest.
$ac_ext <<_ACEOF
23887 cat confdefs.h
>>conftest.
$ac_ext
23888 cat >>conftest.
$ac_ext <<_ACEOF
23889 /* end confdefs.h. */
23890 $ac_includes_default
23893 rm -f conftest.
$ac_objext
23894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23895 (eval $ac_compile) 2>conftest.er1
23897 grep -v '^ *+' conftest.er1
>conftest.err
23899 cat conftest.err
>&5
23900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23901 (exit $ac_status); } &&
23902 { ac_try
='test -z "$ac_c_werror_flag"
23903 || test ! -s conftest.err'
23904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23905 (eval $ac_try) 2>&5
23907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23908 (exit $ac_status); }; } &&
23909 { ac_try
='test -s conftest.$ac_objext'
23910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23911 (eval $ac_try) 2>&5
23913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23914 (exit $ac_status); }; }; then
23915 ac_header_compiler
=yes
23917 echo "$as_me: failed program was:" >&5
23918 sed 's/^/| /' conftest.
$ac_ext >&5
23920 ac_header_compiler
=no
23922 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23923 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23924 echo "${ECHO_T}$ac_header_compiler" >&6
23926 # Is the header present?
23927 echo "$as_me:$LINENO: checking expat.h presence" >&5
23928 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
23929 cat >conftest.
$ac_ext <<_ACEOF
23932 cat confdefs.h
>>conftest.
$ac_ext
23933 cat >>conftest.
$ac_ext <<_ACEOF
23934 /* end confdefs.h. */
23937 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23938 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23940 grep -v '^ *+' conftest.er1
>conftest.err
23942 cat conftest.err
>&5
23943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23944 (exit $ac_status); } >/dev
/null
; then
23945 if test -s conftest.err
; then
23946 ac_cpp_err
=$ac_c_preproc_warn_flag
23947 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23954 if test -z "$ac_cpp_err"; then
23955 ac_header_preproc
=yes
23957 echo "$as_me: failed program was:" >&5
23958 sed 's/^/| /' conftest.
$ac_ext >&5
23960 ac_header_preproc
=no
23962 rm -f conftest.err conftest.
$ac_ext
23963 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23964 echo "${ECHO_T}$ac_header_preproc" >&6
23966 # So? What about this header?
23967 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23969 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
23970 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23971 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
23972 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
23973 ac_header_preproc
=yes
23976 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
23977 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
23978 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
23979 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
23980 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
23981 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
23982 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
23983 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
23984 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
23985 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
23986 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
23987 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
23990 ## ----------------------------------------- ##
23991 ## Report this to wx-dev@lists.wxwidgets.org ##
23992 ## ----------------------------------------- ##
23995 sed "s/^/$as_me: WARNING: /" >&2
23998 echo "$as_me:$LINENO: checking for expat.h" >&5
23999 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
24000 if test "${ac_cv_header_expat_h+set}" = set; then
24001 echo $ECHO_N "(cached) $ECHO_C" >&6
24003 ac_cv_header_expat_h
=$ac_header_preproc
24005 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
24006 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
24009 if test $ac_cv_header_expat_h = yes; then
24014 if test "x$found_expat_h" = "x1"; then
24015 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
24016 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
24017 if test "${wx_cv_expat_is_not_broken+set}" = set; then
24018 echo $ECHO_N "(cached) $ECHO_C" >&6
24024 ac_cpp
='$CXXCPP $CPPFLAGS'
24025 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24026 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24027 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24029 cat >conftest.
$ac_ext <<_ACEOF
24032 cat confdefs.h
>>conftest.
$ac_ext
24033 cat >>conftest.
$ac_ext <<_ACEOF
24034 /* end confdefs.h. */
24044 rm -f conftest.
$ac_objext
24045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24046 (eval $ac_compile) 2>conftest.er1
24048 grep -v '^ *+' conftest.er1
>conftest.err
24050 cat conftest.err
>&5
24051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24052 (exit $ac_status); } &&
24053 { ac_try
='test -z "$ac_cxx_werror_flag"
24054 || test ! -s conftest.err'
24055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24056 (eval $ac_try) 2>&5
24058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24059 (exit $ac_status); }; } &&
24060 { ac_try
='test -s conftest.$ac_objext'
24061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24062 (eval $ac_try) 2>&5
24064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24065 (exit $ac_status); }; }; then
24066 wx_cv_expat_is_not_broken
=yes
24068 echo "$as_me: failed program was:" >&5
24069 sed 's/^/| /' conftest.
$ac_ext >&5
24071 wx_cv_expat_is_not_broken
=no
24074 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24076 ac_cpp
='$CPP $CPPFLAGS'
24077 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24078 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24079 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24084 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
24085 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
24086 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
24087 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
24088 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
24089 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
24090 echo $ECHO_N "(cached) $ECHO_C" >&6
24092 ac_check_lib_save_LIBS
=$LIBS
24093 LIBS
="-lexpat $LIBS"
24094 cat >conftest.
$ac_ext <<_ACEOF
24097 cat confdefs.h
>>conftest.
$ac_ext
24098 cat >>conftest.
$ac_ext <<_ACEOF
24099 /* end confdefs.h. */
24101 /* Override any gcc2 internal prototype to avoid an error. */
24105 /* We use char because int might match the return type of a gcc2
24106 builtin and then its argument prototype would still apply. */
24107 char XML_ParserCreate ();
24111 XML_ParserCreate ();
24116 rm -f conftest.
$ac_objext conftest
$ac_exeext
24117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24118 (eval $ac_link) 2>conftest.er1
24120 grep -v '^ *+' conftest.er1
>conftest.err
24122 cat conftest.err
>&5
24123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24124 (exit $ac_status); } &&
24125 { ac_try
='test -z "$ac_c_werror_flag"
24126 || test ! -s conftest.err'
24127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24128 (eval $ac_try) 2>&5
24130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24131 (exit $ac_status); }; } &&
24132 { ac_try
='test -s conftest$ac_exeext'
24133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24134 (eval $ac_try) 2>&5
24136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24137 (exit $ac_status); }; }; then
24138 ac_cv_lib_expat_XML_ParserCreate
=yes
24140 echo "$as_me: failed program was:" >&5
24141 sed 's/^/| /' conftest.
$ac_ext >&5
24143 ac_cv_lib_expat_XML_ParserCreate
=no
24145 rm -f conftest.err conftest.
$ac_objext \
24146 conftest
$ac_exeext conftest.
$ac_ext
24147 LIBS
=$ac_check_lib_save_LIBS
24149 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
24150 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
24151 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
24152 EXPAT_LINK
=" -lexpat"
24157 if test "x$EXPAT_LINK" = "x" ; then
24158 if test "$wxUSE_EXPAT" = "sys" ; then
24159 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
24160 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
24161 { (exit 1); exit 1; }; }
24163 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
24164 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
24165 wxUSE_EXPAT
=builtin
24171 if test "$wxUSE_EXPAT" = "builtin" ; then
24174 subdirs
="$subdirs src/expat"
24181 if test "$wxUSE_LIBMSPACK" != "no"; then
24182 if test "${ac_cv_header_mspack_h+set}" = set; then
24183 echo "$as_me:$LINENO: checking for mspack.h" >&5
24184 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
24185 if test "${ac_cv_header_mspack_h+set}" = set; then
24186 echo $ECHO_N "(cached) $ECHO_C" >&6
24188 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
24189 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
24191 # Is the header compilable?
24192 echo "$as_me:$LINENO: checking mspack.h usability" >&5
24193 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
24194 cat >conftest.
$ac_ext <<_ACEOF
24197 cat confdefs.h
>>conftest.
$ac_ext
24198 cat >>conftest.
$ac_ext <<_ACEOF
24199 /* end confdefs.h. */
24200 $ac_includes_default
24201 #include <mspack.h>
24203 rm -f conftest.
$ac_objext
24204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24205 (eval $ac_compile) 2>conftest.er1
24207 grep -v '^ *+' conftest.er1
>conftest.err
24209 cat conftest.err
>&5
24210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24211 (exit $ac_status); } &&
24212 { ac_try
='test -z "$ac_c_werror_flag"
24213 || test ! -s conftest.err'
24214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24215 (eval $ac_try) 2>&5
24217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24218 (exit $ac_status); }; } &&
24219 { ac_try
='test -s conftest.$ac_objext'
24220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24221 (eval $ac_try) 2>&5
24223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24224 (exit $ac_status); }; }; then
24225 ac_header_compiler
=yes
24227 echo "$as_me: failed program was:" >&5
24228 sed 's/^/| /' conftest.
$ac_ext >&5
24230 ac_header_compiler
=no
24232 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24233 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24234 echo "${ECHO_T}$ac_header_compiler" >&6
24236 # Is the header present?
24237 echo "$as_me:$LINENO: checking mspack.h presence" >&5
24238 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
24239 cat >conftest.
$ac_ext <<_ACEOF
24242 cat confdefs.h
>>conftest.
$ac_ext
24243 cat >>conftest.
$ac_ext <<_ACEOF
24244 /* end confdefs.h. */
24245 #include <mspack.h>
24247 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24248 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24250 grep -v '^ *+' conftest.er1
>conftest.err
24252 cat conftest.err
>&5
24253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24254 (exit $ac_status); } >/dev
/null
; then
24255 if test -s conftest.err
; then
24256 ac_cpp_err
=$ac_c_preproc_warn_flag
24257 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24264 if test -z "$ac_cpp_err"; then
24265 ac_header_preproc
=yes
24267 echo "$as_me: failed program was:" >&5
24268 sed 's/^/| /' conftest.
$ac_ext >&5
24270 ac_header_preproc
=no
24272 rm -f conftest.err conftest.
$ac_ext
24273 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24274 echo "${ECHO_T}$ac_header_preproc" >&6
24276 # So? What about this header?
24277 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24279 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
24280 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24281 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
24282 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
24283 ac_header_preproc
=yes
24286 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
24287 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
24288 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
24289 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
24290 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
24291 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
24292 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
24293 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
24294 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
24295 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
24296 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
24297 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
24300 ## ----------------------------------------- ##
24301 ## Report this to wx-dev@lists.wxwidgets.org ##
24302 ## ----------------------------------------- ##
24305 sed "s/^/$as_me: WARNING: /" >&2
24308 echo "$as_me:$LINENO: checking for mspack.h" >&5
24309 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
24310 if test "${ac_cv_header_mspack_h+set}" = set; then
24311 echo $ECHO_N "(cached) $ECHO_C" >&6
24313 ac_cv_header_mspack_h
=$ac_header_preproc
24315 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
24316 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
24319 if test $ac_cv_header_mspack_h = yes; then
24324 if test "x$found_mspack_h" = "x1"; then
24325 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
24326 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
24327 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
24328 echo $ECHO_N "(cached) $ECHO_C" >&6
24330 ac_check_lib_save_LIBS
=$LIBS
24331 LIBS
="-lmspack $LIBS"
24332 cat >conftest.
$ac_ext <<_ACEOF
24335 cat confdefs.h
>>conftest.
$ac_ext
24336 cat >>conftest.
$ac_ext <<_ACEOF
24337 /* end confdefs.h. */
24339 /* Override any gcc2 internal prototype to avoid an error. */
24343 /* We use char because int might match the return type of a gcc2
24344 builtin and then its argument prototype would still apply. */
24345 char mspack_create_chm_decompressor ();
24349 mspack_create_chm_decompressor ();
24354 rm -f conftest.
$ac_objext conftest
$ac_exeext
24355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24356 (eval $ac_link) 2>conftest.er1
24358 grep -v '^ *+' conftest.er1
>conftest.err
24360 cat conftest.err
>&5
24361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24362 (exit $ac_status); } &&
24363 { ac_try
='test -z "$ac_c_werror_flag"
24364 || test ! -s conftest.err'
24365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24366 (eval $ac_try) 2>&5
24368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24369 (exit $ac_status); }; } &&
24370 { ac_try
='test -s conftest$ac_exeext'
24371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24372 (eval $ac_try) 2>&5
24374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24375 (exit $ac_status); }; }; then
24376 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
24378 echo "$as_me: failed program was:" >&5
24379 sed 's/^/| /' conftest.
$ac_ext >&5
24381 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
24383 rm -f conftest.err conftest.
$ac_objext \
24384 conftest
$ac_exeext conftest.
$ac_ext
24385 LIBS
=$ac_check_lib_save_LIBS
24387 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
24388 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
24389 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
24390 MSPACK_LINK
=" -lmspack"
24394 if test "x$MSPACK_LINK" = "x" ; then
24399 if test "$wxUSE_LIBMSPACK" != "no"; then
24400 cat >>confdefs.h
<<\_ACEOF
24401 #define wxUSE_LIBMSPACK 1
24415 if test "$USE_WIN32" = 1 ; then
24417 for ac_header
in w32api.h
24419 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24420 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24421 echo "$as_me:$LINENO: checking for $ac_header" >&5
24422 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24423 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24424 echo $ECHO_N "(cached) $ECHO_C" >&6
24426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24427 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24429 # Is the header compilable?
24430 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24431 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24432 cat >conftest.
$ac_ext <<_ACEOF
24435 cat confdefs.h
>>conftest.
$ac_ext
24436 cat >>conftest.
$ac_ext <<_ACEOF
24437 /* end confdefs.h. */
24438 $ac_includes_default
24439 #include <$ac_header>
24441 rm -f conftest.
$ac_objext
24442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24443 (eval $ac_compile) 2>conftest.er1
24445 grep -v '^ *+' conftest.er1
>conftest.err
24447 cat conftest.err
>&5
24448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24449 (exit $ac_status); } &&
24450 { ac_try
='test -z "$ac_c_werror_flag"
24451 || test ! -s conftest.err'
24452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24453 (eval $ac_try) 2>&5
24455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24456 (exit $ac_status); }; } &&
24457 { ac_try
='test -s conftest.$ac_objext'
24458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24459 (eval $ac_try) 2>&5
24461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24462 (exit $ac_status); }; }; then
24463 ac_header_compiler
=yes
24465 echo "$as_me: failed program was:" >&5
24466 sed 's/^/| /' conftest.
$ac_ext >&5
24468 ac_header_compiler
=no
24470 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24471 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24472 echo "${ECHO_T}$ac_header_compiler" >&6
24474 # Is the header present?
24475 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24476 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24477 cat >conftest.
$ac_ext <<_ACEOF
24480 cat confdefs.h
>>conftest.
$ac_ext
24481 cat >>conftest.
$ac_ext <<_ACEOF
24482 /* end confdefs.h. */
24483 #include <$ac_header>
24485 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24486 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24488 grep -v '^ *+' conftest.er1
>conftest.err
24490 cat conftest.err
>&5
24491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24492 (exit $ac_status); } >/dev
/null
; then
24493 if test -s conftest.err
; then
24494 ac_cpp_err
=$ac_c_preproc_warn_flag
24495 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24502 if test -z "$ac_cpp_err"; then
24503 ac_header_preproc
=yes
24505 echo "$as_me: failed program was:" >&5
24506 sed 's/^/| /' conftest.
$ac_ext >&5
24508 ac_header_preproc
=no
24510 rm -f conftest.err conftest.
$ac_ext
24511 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24512 echo "${ECHO_T}$ac_header_preproc" >&6
24514 # So? What about this header?
24515 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24517 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24518 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24519 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24520 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24521 ac_header_preproc
=yes
24524 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24525 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24526 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24527 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24528 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24529 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24530 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24531 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24532 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24533 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24534 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24535 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24538 ## ----------------------------------------- ##
24539 ## Report this to wx-dev@lists.wxwidgets.org ##
24540 ## ----------------------------------------- ##
24543 sed "s/^/$as_me: WARNING: /" >&2
24546 echo "$as_me:$LINENO: checking for $ac_header" >&5
24547 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24548 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24549 echo $ECHO_N "(cached) $ECHO_C" >&6
24551 eval "$as_ac_Header=\$ac_header_preproc"
24553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24554 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24557 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24558 cat >>confdefs.h
<<_ACEOF
24559 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24566 if test "${ac_cv_header_windows_h+set}" = set; then
24567 echo "$as_me:$LINENO: checking for windows.h" >&5
24568 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24569 if test "${ac_cv_header_windows_h+set}" = set; then
24570 echo $ECHO_N "(cached) $ECHO_C" >&6
24572 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24573 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24575 # Is the header compilable?
24576 echo "$as_me:$LINENO: checking windows.h usability" >&5
24577 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
24578 cat >conftest.
$ac_ext <<_ACEOF
24581 cat confdefs.h
>>conftest.
$ac_ext
24582 cat >>conftest.
$ac_ext <<_ACEOF
24583 /* end confdefs.h. */
24584 $ac_includes_default
24585 #include <windows.h>
24587 rm -f conftest.
$ac_objext
24588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24589 (eval $ac_compile) 2>conftest.er1
24591 grep -v '^ *+' conftest.er1
>conftest.err
24593 cat conftest.err
>&5
24594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24595 (exit $ac_status); } &&
24596 { ac_try
='test -z "$ac_c_werror_flag"
24597 || test ! -s conftest.err'
24598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24599 (eval $ac_try) 2>&5
24601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24602 (exit $ac_status); }; } &&
24603 { ac_try
='test -s conftest.$ac_objext'
24604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24605 (eval $ac_try) 2>&5
24607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24608 (exit $ac_status); }; }; then
24609 ac_header_compiler
=yes
24611 echo "$as_me: failed program was:" >&5
24612 sed 's/^/| /' conftest.
$ac_ext >&5
24614 ac_header_compiler
=no
24616 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24617 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24618 echo "${ECHO_T}$ac_header_compiler" >&6
24620 # Is the header present?
24621 echo "$as_me:$LINENO: checking windows.h presence" >&5
24622 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
24623 cat >conftest.
$ac_ext <<_ACEOF
24626 cat confdefs.h
>>conftest.
$ac_ext
24627 cat >>conftest.
$ac_ext <<_ACEOF
24628 /* end confdefs.h. */
24629 #include <windows.h>
24631 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24632 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24634 grep -v '^ *+' conftest.er1
>conftest.err
24636 cat conftest.err
>&5
24637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24638 (exit $ac_status); } >/dev
/null
; then
24639 if test -s conftest.err
; then
24640 ac_cpp_err
=$ac_c_preproc_warn_flag
24641 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24648 if test -z "$ac_cpp_err"; then
24649 ac_header_preproc
=yes
24651 echo "$as_me: failed program was:" >&5
24652 sed 's/^/| /' conftest.
$ac_ext >&5
24654 ac_header_preproc
=no
24656 rm -f conftest.err conftest.
$ac_ext
24657 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24658 echo "${ECHO_T}$ac_header_preproc" >&6
24660 # So? What about this header?
24661 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24663 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
24664 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24665 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
24666 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
24667 ac_header_preproc
=yes
24670 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
24671 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
24672 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
24673 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
24674 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
24675 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
24676 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
24677 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
24678 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
24679 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
24680 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
24681 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
24684 ## ----------------------------------------- ##
24685 ## Report this to wx-dev@lists.wxwidgets.org ##
24686 ## ----------------------------------------- ##
24689 sed "s/^/$as_me: WARNING: /" >&2
24692 echo "$as_me:$LINENO: checking for windows.h" >&5
24693 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24694 if test "${ac_cv_header_windows_h+set}" = set; then
24695 echo $ECHO_N "(cached) $ECHO_C" >&6
24697 ac_cv_header_windows_h
=$ac_header_preproc
24699 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24700 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24703 if test $ac_cv_header_windows_h = yes; then
24707 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
24708 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
24709 { (exit 1); exit 1; }; }
24715 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
24717 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
24718 LIBS
="$LIBS -loleacc"
24723 LIBS
="$LIBS -lkernel32 -luser32"
24724 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
24727 if test "$wxUSE_ODBC" = "sys" ; then
24730 if test "$wxUSE_ODBC" = "yes" ; then
24731 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
24732 cat >>confdefs.h
<<\_ACEOF
24733 #define wxUSE_ODBC 1
24738 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
24739 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
24741 WIN32INSTALL
=win32install
24744 if test "$wxUSE_GUI" = "yes"; then
24754 if test "$wxUSE_COCOA" = 1 ; then
24755 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
24756 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
24757 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
24758 wxUSE_PRINTING_ARCHITECTURE
=no
24760 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
24761 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
24762 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
24763 wxUSE_DRAG_AND_DROP
=no
24765 if test "$wxUSE_DRAGIMAGE" = "yes"; then
24766 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
24767 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
24772 if test "$wxUSE_MSW" = 1 ; then
24778 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
24782 if test "$wxUSE_GTK" = 1; then
24783 echo "$as_me:$LINENO: checking for GTK+ version" >&5
24784 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
24786 gtk_version_cached
=1
24787 if test "${wx_cv_lib_gtk+set}" = set; then
24788 echo $ECHO_N "(cached) $ECHO_C" >&6
24791 gtk_version_cached
=0
24792 echo "$as_me:$LINENO: result: " >&5
24793 echo "${ECHO_T}" >&6
24796 if test "$wxUSE_THREADS" = "yes"; then
24797 GTK_MODULES
=gthread
24801 if test "x$wxGTK_VERSION" != "x1"; then
24802 # Check whether --enable-gtktest or --disable-gtktest was given.
24803 if test "${enable_gtktest+set}" = set; then
24804 enableval
="$enable_gtktest"
24810 pkg_config_args
=gtk
+-2.0
24811 for module
in .
$GTK_MODULES
24815 pkg_config_args
="$pkg_config_args gthread-2.0"
24822 # Extract the first word of "pkg-config", so it can be a program name with args.
24823 set dummy pkg
-config; ac_word
=$2
24824 echo "$as_me:$LINENO: checking for $ac_word" >&5
24825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24826 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24827 echo $ECHO_N "(cached) $ECHO_C" >&6
24829 case $PKG_CONFIG in
24831 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24835 for as_dir
in $PATH
24838 test -z "$as_dir" && as_dir
=.
24839 for ac_exec_ext
in '' $ac_executable_extensions; do
24840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24841 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24848 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24852 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24854 if test -n "$PKG_CONFIG"; then
24855 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24856 echo "${ECHO_T}$PKG_CONFIG" >&6
24858 echo "$as_me:$LINENO: result: no" >&5
24859 echo "${ECHO_T}no" >&6
24863 if test x
$PKG_CONFIG != xno
; then
24864 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
24867 echo "*** pkg-config too old; version 0.7 or better required."
24875 min_gtk_version
=2.0.0
24876 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
24877 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
24879 if test x
$PKG_CONFIG != xno
; then
24880 ## don't try to run the test against uninstalled libtool libs
24881 if $PKG_CONFIG --uninstalled $pkg_config_args; then
24882 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
24886 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
24893 if test x
"$no_gtk" = x
; then
24894 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
24895 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
24896 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24897 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24898 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24899 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24900 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24901 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24902 if test "x$enable_gtktest" = "xyes" ; then
24903 ac_save_CFLAGS
="$CFLAGS"
24904 ac_save_LIBS
="$LIBS"
24905 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24906 LIBS
="$GTK_LIBS $LIBS"
24908 if test "$cross_compiling" = yes; then
24909 echo $ac_n "cross compiling; assumed OK... $ac_c"
24911 cat >conftest.
$ac_ext <<_ACEOF
24914 cat confdefs.h
>>conftest.
$ac_ext
24915 cat >>conftest.
$ac_ext <<_ACEOF
24916 /* end confdefs.h. */
24918 #include <gtk/gtk.h>
24920 #include <stdlib.h>
24925 int major, minor, micro;
24928 system ("touch conf.gtktest");
24930 /* HP/UX 9 (%@#!) writes to sscanf strings */
24931 tmp_version = g_strdup("$min_gtk_version");
24932 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24933 printf("%s, bad version string\n", "$min_gtk_version");
24937 if ((gtk_major_version != $gtk_config_major_version) ||
24938 (gtk_minor_version != $gtk_config_minor_version) ||
24939 (gtk_micro_version != $gtk_config_micro_version))
24941 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24942 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24943 gtk_major_version, gtk_minor_version, gtk_micro_version);
24944 printf ("*** was found! If pkg-config was correct, then it is best\n");
24945 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24946 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24947 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24948 printf("*** required on your system.\n");
24949 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
24950 printf("*** to point to the correct configuration files\n");
24952 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24953 (gtk_minor_version != GTK_MINOR_VERSION) ||
24954 (gtk_micro_version != GTK_MICRO_VERSION))
24956 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24957 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24958 printf("*** library (version %d.%d.%d)\n",
24959 gtk_major_version, gtk_minor_version, gtk_micro_version);
24963 if ((gtk_major_version > major) ||
24964 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24965 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24971 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24972 gtk_major_version, gtk_minor_version, gtk_micro_version);
24973 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24974 major, minor, micro);
24975 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24977 printf("*** If you have already installed a sufficiently new version, this error\n");
24978 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
24979 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24980 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
24981 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
24982 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24983 printf("*** so that the correct libraries are found at run-time))\n");
24990 rm -f conftest
$ac_exeext
24991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24992 (eval $ac_link) 2>&5
24994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24995 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24997 (eval $ac_try) 2>&5
24999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25000 (exit $ac_status); }; }; then
25003 echo "$as_me: program exited with status $ac_status" >&5
25004 echo "$as_me: failed program was:" >&5
25005 sed 's/^/| /' conftest.
$ac_ext >&5
25007 ( exit $ac_status )
25010 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25012 CFLAGS
="$ac_save_CFLAGS"
25013 LIBS
="$ac_save_LIBS"
25016 if test "x$no_gtk" = x
; then
25017 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
25018 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
25021 echo "$as_me:$LINENO: result: no" >&5
25022 echo "${ECHO_T}no" >&6
25023 if test "$PKG_CONFIG" = "no" ; then
25024 echo "*** A new enough version of pkg-config was not found."
25025 echo "*** See http://pkgconfig.sourceforge.net"
25027 if test -f conf.gtktest
; then
25030 echo "*** Could not run GTK+ test program, checking why..."
25031 ac_save_CFLAGS
="$CFLAGS"
25032 ac_save_LIBS
="$LIBS"
25033 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25034 LIBS
="$LIBS $GTK_LIBS"
25035 cat >conftest.
$ac_ext <<_ACEOF
25038 cat confdefs.h
>>conftest.
$ac_ext
25039 cat >>conftest.
$ac_ext <<_ACEOF
25040 /* end confdefs.h. */
25042 #include <gtk/gtk.h>
25048 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25053 rm -f conftest.
$ac_objext conftest
$ac_exeext
25054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25055 (eval $ac_link) 2>conftest.er1
25057 grep -v '^ *+' conftest.er1
>conftest.err
25059 cat conftest.err
>&5
25060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25061 (exit $ac_status); } &&
25062 { ac_try
='test -z "$ac_c_werror_flag"
25063 || test ! -s conftest.err'
25064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25065 (eval $ac_try) 2>&5
25067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25068 (exit $ac_status); }; } &&
25069 { ac_try
='test -s conftest$ac_exeext'
25070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25071 (eval $ac_try) 2>&5
25073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25074 (exit $ac_status); }; }; then
25075 echo "*** The test program compiled, but did not run. This usually means"
25076 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
25077 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
25078 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25079 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25080 echo "*** is required on your system"
25082 echo "*** If you have an old version installed, it is best to remove it, although"
25083 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25085 echo "$as_me: failed program was:" >&5
25086 sed 's/^/| /' conftest.
$ac_ext >&5
25088 echo "*** The test program failed to compile or link. See the file config.log for the"
25089 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
25091 rm -f conftest.err conftest.
$ac_objext \
25092 conftest
$ac_exeext conftest.
$ac_ext
25093 CFLAGS
="$ac_save_CFLAGS"
25094 LIBS
="$ac_save_LIBS"
25107 if test -z "$wx_cv_lib_gtk"; then
25108 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
25110 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
25111 if test "${with_gtk_prefix+set}" = set; then
25112 withval
="$with_gtk_prefix"
25113 gtk_config_prefix
="$withval"
25115 gtk_config_prefix
=""
25118 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
25119 if test "${with_gtk_exec_prefix+set}" = set; then
25120 withval
="$with_gtk_exec_prefix"
25121 gtk_config_exec_prefix
="$withval"
25123 gtk_config_exec_prefix
=""
25125 # Check whether --enable-gtktest or --disable-gtktest was given.
25126 if test "${enable_gtktest+set}" = set; then
25127 enableval
="$enable_gtktest"
25133 for module
in .
$GTK_MODULES
25137 gtk_config_args
="$gtk_config_args gthread"
25142 if test x
$gtk_config_exec_prefix != x
; then
25143 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
25144 if test x
${GTK_CONFIG+set} != xset
; then
25145 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
25148 if test x
$gtk_config_prefix != x
; then
25149 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
25150 if test x
${GTK_CONFIG+set} != xset
; then
25151 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
25155 # Extract the first word of "gtk-config", so it can be a program name with args.
25156 set dummy gtk
-config; ac_word
=$2
25157 echo "$as_me:$LINENO: checking for $ac_word" >&5
25158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25159 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
25160 echo $ECHO_N "(cached) $ECHO_C" >&6
25162 case $GTK_CONFIG in
25164 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
25167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25168 for as_dir
in $PATH
25171 test -z "$as_dir" && as_dir
=.
25172 for ac_exec_ext
in '' $ac_executable_extensions; do
25173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25174 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25181 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
25185 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
25187 if test -n "$GTK_CONFIG"; then
25188 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25189 echo "${ECHO_T}$GTK_CONFIG" >&6
25191 echo "$as_me:$LINENO: result: no" >&5
25192 echo "${ECHO_T}no" >&6
25195 min_gtk_version
=1.2.7
25196 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25197 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25199 if test "$GTK_CONFIG" = "no" ; then
25202 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
25203 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
25204 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
25205 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25206 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
25207 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25208 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
25209 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25210 if test "x$enable_gtktest" = "xyes" ; then
25211 ac_save_CFLAGS
="$CFLAGS"
25212 ac_save_LIBS
="$LIBS"
25213 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25214 LIBS
="$GTK_LIBS $LIBS"
25216 if test "$cross_compiling" = yes; then
25217 echo $ac_n "cross compiling; assumed OK... $ac_c"
25219 cat >conftest.
$ac_ext <<_ACEOF
25222 cat confdefs.h
>>conftest.
$ac_ext
25223 cat >>conftest.
$ac_ext <<_ACEOF
25224 /* end confdefs.h. */
25226 #include <gtk/gtk.h>
25228 #include <stdlib.h>
25233 int major, minor, micro;
25236 system ("touch conf.gtktest");
25238 /* HP/UX 9 (%@#!) writes to sscanf strings */
25239 tmp_version = g_strdup("$min_gtk_version");
25240 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
25241 printf("%s, bad version string\n", "$min_gtk_version");
25245 if ((gtk_major_version != $gtk_config_major_version) ||
25246 (gtk_minor_version != $gtk_config_minor_version) ||
25247 (gtk_micro_version != $gtk_config_micro_version))
25249 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25250 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25251 gtk_major_version, gtk_minor_version, gtk_micro_version);
25252 printf ("*** was found! If gtk-config was correct, then it is best\n");
25253 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25254 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25255 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25256 printf("*** required on your system.\n");
25257 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25258 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25259 printf("*** before re-running configure\n");
25261 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25262 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25263 (gtk_minor_version != GTK_MINOR_VERSION) ||
25264 (gtk_micro_version != GTK_MICRO_VERSION))
25266 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25267 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25268 printf("*** library (version %d.%d.%d)\n",
25269 gtk_major_version, gtk_minor_version, gtk_micro_version);
25271 #endif /* defined (GTK_MAJOR_VERSION) ... */
25274 if ((gtk_major_version > major) ||
25275 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25276 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25282 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25283 gtk_major_version, gtk_minor_version, gtk_micro_version);
25284 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25285 major, minor, micro);
25286 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25288 printf("*** If you have already installed a sufficiently new version, this error\n");
25289 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25290 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25291 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25292 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25293 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25294 printf("*** so that the correct libraries are found at run-time))\n");
25301 rm -f conftest
$ac_exeext
25302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25303 (eval $ac_link) 2>&5
25305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25306 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25308 (eval $ac_try) 2>&5
25310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25311 (exit $ac_status); }; }; then
25314 echo "$as_me: program exited with status $ac_status" >&5
25315 echo "$as_me: failed program was:" >&5
25316 sed 's/^/| /' conftest.
$ac_ext >&5
25318 ( exit $ac_status )
25321 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25323 CFLAGS
="$ac_save_CFLAGS"
25324 LIBS
="$ac_save_LIBS"
25327 if test "x$no_gtk" = x
; then
25328 echo "$as_me:$LINENO: result: yes" >&5
25329 echo "${ECHO_T}yes" >&6
25330 wx_cv_lib_gtk
=1.2.7
25332 echo "$as_me:$LINENO: result: no" >&5
25333 echo "${ECHO_T}no" >&6
25334 if test "$GTK_CONFIG" = "no" ; then
25335 echo "*** The gtk-config script installed by GTK could not be found"
25336 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25337 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25338 echo "*** full path to gtk-config."
25340 if test -f conf.gtktest
; then
25343 echo "*** Could not run GTK test program, checking why..."
25344 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25345 LIBS
="$LIBS $GTK_LIBS"
25346 cat >conftest.
$ac_ext <<_ACEOF
25349 cat confdefs.h
>>conftest.
$ac_ext
25350 cat >>conftest.
$ac_ext <<_ACEOF
25351 /* end confdefs.h. */
25353 #include <gtk/gtk.h>
25359 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25364 rm -f conftest.
$ac_objext conftest
$ac_exeext
25365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25366 (eval $ac_link) 2>conftest.er1
25368 grep -v '^ *+' conftest.er1
>conftest.err
25370 cat conftest.err
>&5
25371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25372 (exit $ac_status); } &&
25373 { ac_try
='test -z "$ac_c_werror_flag"
25374 || test ! -s conftest.err'
25375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25376 (eval $ac_try) 2>&5
25378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25379 (exit $ac_status); }; } &&
25380 { ac_try
='test -s conftest$ac_exeext'
25381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25382 (eval $ac_try) 2>&5
25384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25385 (exit $ac_status); }; }; then
25386 echo "*** The test program compiled, but did not run. This usually means"
25387 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25388 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25389 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25390 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25391 echo "*** is required on your system"
25393 echo "*** If you have an old version installed, it is best to remove it, although"
25394 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25396 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25397 echo "*** came with the system with the command"
25399 echo "*** rpm --erase --nodeps gtk gtk-devel"
25401 echo "$as_me: failed program was:" >&5
25402 sed 's/^/| /' conftest.
$ac_ext >&5
25404 echo "*** The test program failed to compile or link. See the file config.log for the"
25405 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25406 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25407 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25409 rm -f conftest.err conftest.
$ac_objext \
25410 conftest
$ac_exeext conftest.
$ac_ext
25411 CFLAGS
="$ac_save_CFLAGS"
25412 LIBS
="$ac_save_LIBS"
25424 if test -z "$wx_cv_lib_gtk"; then
25426 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
25427 if test "${with_gtk_prefix+set}" = set; then
25428 withval
="$with_gtk_prefix"
25429 gtk_config_prefix
="$withval"
25431 gtk_config_prefix
=""
25434 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
25435 if test "${with_gtk_exec_prefix+set}" = set; then
25436 withval
="$with_gtk_exec_prefix"
25437 gtk_config_exec_prefix
="$withval"
25439 gtk_config_exec_prefix
=""
25441 # Check whether --enable-gtktest or --disable-gtktest was given.
25442 if test "${enable_gtktest+set}" = set; then
25443 enableval
="$enable_gtktest"
25449 for module
in .
$GTK_MODULES
25453 gtk_config_args
="$gtk_config_args gthread"
25458 if test x
$gtk_config_exec_prefix != x
; then
25459 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
25460 if test x
${GTK_CONFIG+set} != xset
; then
25461 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
25464 if test x
$gtk_config_prefix != x
; then
25465 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
25466 if test x
${GTK_CONFIG+set} != xset
; then
25467 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
25471 # Extract the first word of "gtk-config", so it can be a program name with args.
25472 set dummy gtk
-config; ac_word
=$2
25473 echo "$as_me:$LINENO: checking for $ac_word" >&5
25474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25475 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
25476 echo $ECHO_N "(cached) $ECHO_C" >&6
25478 case $GTK_CONFIG in
25480 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
25483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25484 for as_dir
in $PATH
25487 test -z "$as_dir" && as_dir
=.
25488 for ac_exec_ext
in '' $ac_executable_extensions; do
25489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25490 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25497 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
25501 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
25503 if test -n "$GTK_CONFIG"; then
25504 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25505 echo "${ECHO_T}$GTK_CONFIG" >&6
25507 echo "$as_me:$LINENO: result: no" >&5
25508 echo "${ECHO_T}no" >&6
25511 min_gtk_version
=1.2.3
25512 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25513 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25515 if test "$GTK_CONFIG" = "no" ; then
25518 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
25519 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
25520 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
25521 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25522 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
25523 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25524 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
25525 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25526 if test "x$enable_gtktest" = "xyes" ; then
25527 ac_save_CFLAGS
="$CFLAGS"
25528 ac_save_LIBS
="$LIBS"
25529 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25530 LIBS
="$GTK_LIBS $LIBS"
25532 if test "$cross_compiling" = yes; then
25533 echo $ac_n "cross compiling; assumed OK... $ac_c"
25535 cat >conftest.
$ac_ext <<_ACEOF
25538 cat confdefs.h
>>conftest.
$ac_ext
25539 cat >>conftest.
$ac_ext <<_ACEOF
25540 /* end confdefs.h. */
25542 #include <gtk/gtk.h>
25544 #include <stdlib.h>
25549 int major, minor, micro;
25552 system ("touch conf.gtktest");
25554 /* HP/UX 9 (%@#!) writes to sscanf strings */
25555 tmp_version = g_strdup("$min_gtk_version");
25556 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
25557 printf("%s, bad version string\n", "$min_gtk_version");
25561 if ((gtk_major_version != $gtk_config_major_version) ||
25562 (gtk_minor_version != $gtk_config_minor_version) ||
25563 (gtk_micro_version != $gtk_config_micro_version))
25565 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25566 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25567 gtk_major_version, gtk_minor_version, gtk_micro_version);
25568 printf ("*** was found! If gtk-config was correct, then it is best\n");
25569 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25570 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25571 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25572 printf("*** required on your system.\n");
25573 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25574 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25575 printf("*** before re-running configure\n");
25577 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25578 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25579 (gtk_minor_version != GTK_MINOR_VERSION) ||
25580 (gtk_micro_version != GTK_MICRO_VERSION))
25582 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25583 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25584 printf("*** library (version %d.%d.%d)\n",
25585 gtk_major_version, gtk_minor_version, gtk_micro_version);
25587 #endif /* defined (GTK_MAJOR_VERSION) ... */
25590 if ((gtk_major_version > major) ||
25591 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25592 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25598 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25599 gtk_major_version, gtk_minor_version, gtk_micro_version);
25600 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25601 major, minor, micro);
25602 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25604 printf("*** If you have already installed a sufficiently new version, this error\n");
25605 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25606 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25607 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25608 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25609 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25610 printf("*** so that the correct libraries are found at run-time))\n");
25617 rm -f conftest
$ac_exeext
25618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25619 (eval $ac_link) 2>&5
25621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25622 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25624 (eval $ac_try) 2>&5
25626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25627 (exit $ac_status); }; }; then
25630 echo "$as_me: program exited with status $ac_status" >&5
25631 echo "$as_me: failed program was:" >&5
25632 sed 's/^/| /' conftest.
$ac_ext >&5
25634 ( exit $ac_status )
25637 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25639 CFLAGS
="$ac_save_CFLAGS"
25640 LIBS
="$ac_save_LIBS"
25643 if test "x$no_gtk" = x
; then
25644 echo "$as_me:$LINENO: result: yes" >&5
25645 echo "${ECHO_T}yes" >&6
25646 wx_cv_lib_gtk
=1.2.3
25648 echo "$as_me:$LINENO: result: no" >&5
25649 echo "${ECHO_T}no" >&6
25650 if test "$GTK_CONFIG" = "no" ; then
25651 echo "*** The gtk-config script installed by GTK could not be found"
25652 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25653 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25654 echo "*** full path to gtk-config."
25656 if test -f conf.gtktest
; then
25659 echo "*** Could not run GTK test program, checking why..."
25660 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25661 LIBS
="$LIBS $GTK_LIBS"
25662 cat >conftest.
$ac_ext <<_ACEOF
25665 cat confdefs.h
>>conftest.
$ac_ext
25666 cat >>conftest.
$ac_ext <<_ACEOF
25667 /* end confdefs.h. */
25669 #include <gtk/gtk.h>
25675 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25680 rm -f conftest.
$ac_objext conftest
$ac_exeext
25681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25682 (eval $ac_link) 2>conftest.er1
25684 grep -v '^ *+' conftest.er1
>conftest.err
25686 cat conftest.err
>&5
25687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25688 (exit $ac_status); } &&
25689 { ac_try
='test -z "$ac_c_werror_flag"
25690 || 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 echo "*** The test program compiled, but did not run. This usually means"
25703 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25704 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25705 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25706 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25707 echo "*** is required on your system"
25709 echo "*** If you have an old version installed, it is best to remove it, although"
25710 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25712 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25713 echo "*** came with the system with the command"
25715 echo "*** rpm --erase --nodeps gtk gtk-devel"
25717 echo "$as_me: failed program was:" >&5
25718 sed 's/^/| /' conftest.
$ac_ext >&5
25720 echo "*** The test program failed to compile or link. See the file config.log for the"
25721 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25722 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25723 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25725 rm -f conftest.err conftest.
$ac_objext \
25726 conftest
$ac_exeext conftest.
$ac_ext
25727 CFLAGS
="$ac_save_CFLAGS"
25728 LIBS
="$ac_save_LIBS"
25743 if test -z "$wx_cv_lib_gtk"; then
25746 wx_cv_cflags_gtk
=$GTK_CFLAGS
25747 wx_cv_libs_gtk
=$GTK_LIBS
25754 if test "$gtk_version_cached" = 1; then
25755 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
25756 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
25759 case "$wx_cv_lib_gtk" in
25768 *) { { echo "$as_me:$LINENO: error:
25769 The development files for GTK+ were not found. For GTK+ 2, please
25770 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25771 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25772 and that the version is 1.2.3 or above. Also check that the
25773 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25774 --libs' are in the LD_LIBRARY_PATH or equivalent.
25776 echo "$as_me: error:
25777 The development files for GTK+ were not found. For GTK+ 2, please
25778 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25779 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25780 and that the version is 1.2.3 or above. Also check that the
25781 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25782 --libs' are in the LD_LIBRARY_PATH or equivalent.
25784 { (exit 1); exit 1; }; }
25788 if test "$WXGTK20" = 1; then
25789 save_CFLAGS
="$CFLAGS"
25791 CFLAGS
="$CFLAGS $wx_cv_cflags_gtk"
25792 LIBS
="$LIBS $wx_cv_libs_gtk"
25795 for ac_func
in pango_font_family_is_monospace
25797 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25798 echo "$as_me:$LINENO: checking for $ac_func" >&5
25799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25800 if eval "test \"\${$as_ac_var+set}\" = set"; then
25801 echo $ECHO_N "(cached) $ECHO_C" >&6
25803 cat >conftest.
$ac_ext <<_ACEOF
25806 cat confdefs.h
>>conftest.
$ac_ext
25807 cat >>conftest.
$ac_ext <<_ACEOF
25808 /* end confdefs.h. */
25809 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25810 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25811 #define $ac_func innocuous_$ac_func
25813 /* System header to define __stub macros and hopefully few prototypes,
25814 which can conflict with char $ac_func (); below.
25815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25816 <limits.h> exists even on freestanding compilers. */
25819 # include <limits.h>
25821 # include <assert.h>
25826 /* Override any gcc2 internal prototype to avoid an error. */
25831 /* We use char because int might match the return type of a gcc2
25832 builtin and then its argument prototype would still apply. */
25834 /* The GNU C library defines this for functions which it implements
25835 to always fail with ENOSYS. Some functions are actually named
25836 something starting with __ and the normal name is an alias. */
25837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25840 char (*f) () = $ac_func;
25849 return f != $ac_func;
25854 rm -f conftest.
$ac_objext conftest
$ac_exeext
25855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25856 (eval $ac_link) 2>conftest.er1
25858 grep -v '^ *+' conftest.er1
>conftest.err
25860 cat conftest.err
>&5
25861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25862 (exit $ac_status); } &&
25863 { ac_try
='test -z "$ac_c_werror_flag"
25864 || test ! -s conftest.err'
25865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25866 (eval $ac_try) 2>&5
25868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25869 (exit $ac_status); }; } &&
25870 { ac_try
='test -s conftest$ac_exeext'
25871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25872 (eval $ac_try) 2>&5
25874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25875 (exit $ac_status); }; }; then
25876 eval "$as_ac_var=yes"
25878 echo "$as_me: failed program was:" >&5
25879 sed 's/^/| /' conftest.
$ac_ext >&5
25881 eval "$as_ac_var=no"
25883 rm -f conftest.err conftest.
$ac_objext \
25884 conftest
$ac_exeext conftest.
$ac_ext
25886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25887 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25888 if test `eval echo '${'$as_ac_var'}'` = yes; then
25889 cat >>confdefs.h
<<_ACEOF
25890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25897 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
25898 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
25899 cat >conftest.
$ac_ext <<_ACEOF
25902 cat confdefs.h
>>conftest.
$ac_ext
25903 cat >>conftest.
$ac_ext <<_ACEOF
25904 /* end confdefs.h. */
25906 #include <gtk/gtk.h>
25912 void *f = gtk_icon_size_lookup;
25918 rm -f conftest.
$ac_objext
25919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25920 (eval $ac_compile) 2>conftest.er1
25922 grep -v '^ *+' conftest.er1
>conftest.err
25924 cat conftest.err
>&5
25925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25926 (exit $ac_status); } &&
25927 { ac_try
='test -z "$ac_c_werror_flag"
25928 || test ! -s conftest.err'
25929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25930 (eval $ac_try) 2>&5
25932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25933 (exit $ac_status); }; } &&
25934 { ac_try
='test -s conftest.$ac_objext'
25935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25936 (eval $ac_try) 2>&5
25938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25939 (exit $ac_status); }; }; then
25941 echo "$as_me:$LINENO: result: no" >&5
25942 echo "${ECHO_T}no" >&6
25945 echo "$as_me: failed program was:" >&5
25946 sed 's/^/| /' conftest.
$ac_ext >&5
25949 cat >>confdefs.h
<<\_ACEOF
25950 #define NEED_GTK_ICON_SIZE_LOOKUP 1
25953 echo "$as_me:$LINENO: result: yes" >&5
25954 echo "${ECHO_T}yes" >&6
25957 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25959 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
25960 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
25961 cat >conftest.
$ac_ext <<_ACEOF
25964 cat confdefs.h
>>conftest.
$ac_ext
25965 cat >>conftest.
$ac_ext <<_ACEOF
25966 /* end confdefs.h. */
25968 #include <gtk/gtk.h>
25974 #if !GTK_CHECK_VERSION(2,4,0)
25975 #error "Not GTK+ 2.4"
25982 rm -f conftest.
$ac_objext
25983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25984 (eval $ac_compile) 2>conftest.er1
25986 grep -v '^ *+' conftest.er1
>conftest.err
25988 cat conftest.err
>&5
25989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25990 (exit $ac_status); } &&
25991 { ac_try
='test -z "$ac_c_werror_flag"
25992 || test ! -s conftest.err'
25993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25994 (eval $ac_try) 2>&5
25996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25997 (exit $ac_status); }; } &&
25998 { ac_try
='test -s conftest.$ac_objext'
25999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26000 (eval $ac_try) 2>&5
26002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26003 (exit $ac_status); }; }; then
26005 cat >>confdefs.h
<<\_ACEOF
26006 #define __WXGTK24__ 1
26009 echo "$as_me:$LINENO: result: yes" >&5
26010 echo "${ECHO_T}yes" >&6
26013 echo "$as_me: failed program was:" >&5
26014 sed 's/^/| /' conftest.
$ac_ext >&5
26017 echo "$as_me:$LINENO: result: no" >&5
26018 echo "${ECHO_T}no" >&6
26021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26023 CFLAGS
="$save_CFLAGS"
26026 if test "$wxUSE_UNICODE" = "yes"; then
26027 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
26028 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
26033 if test "$USE_DARWIN" != 1; then
26035 for ac_func
in poll
26037 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26038 echo "$as_me:$LINENO: checking for $ac_func" >&5
26039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26040 if eval "test \"\${$as_ac_var+set}\" = set"; then
26041 echo $ECHO_N "(cached) $ECHO_C" >&6
26043 cat >conftest.
$ac_ext <<_ACEOF
26046 cat confdefs.h
>>conftest.
$ac_ext
26047 cat >>conftest.
$ac_ext <<_ACEOF
26048 /* end confdefs.h. */
26049 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26050 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26051 #define $ac_func innocuous_$ac_func
26053 /* System header to define __stub macros and hopefully few prototypes,
26054 which can conflict with char $ac_func (); below.
26055 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26056 <limits.h> exists even on freestanding compilers. */
26059 # include <limits.h>
26061 # include <assert.h>
26066 /* Override any gcc2 internal prototype to avoid an error. */
26071 /* We use char because int might match the return type of a gcc2
26072 builtin and then its argument prototype would still apply. */
26074 /* The GNU C library defines this for functions which it implements
26075 to always fail with ENOSYS. Some functions are actually named
26076 something starting with __ and the normal name is an alias. */
26077 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26080 char (*f) () = $ac_func;
26089 return f != $ac_func;
26094 rm -f conftest.
$ac_objext conftest
$ac_exeext
26095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26096 (eval $ac_link) 2>conftest.er1
26098 grep -v '^ *+' conftest.er1
>conftest.err
26100 cat conftest.err
>&5
26101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26102 (exit $ac_status); } &&
26103 { ac_try
='test -z "$ac_c_werror_flag"
26104 || test ! -s conftest.err'
26105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26106 (eval $ac_try) 2>&5
26108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26109 (exit $ac_status); }; } &&
26110 { ac_try
='test -s conftest$ac_exeext'
26111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26112 (eval $ac_try) 2>&5
26114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26115 (exit $ac_status); }; }; then
26116 eval "$as_ac_var=yes"
26118 echo "$as_me: failed program was:" >&5
26119 sed 's/^/| /' conftest.
$ac_ext >&5
26121 eval "$as_ac_var=no"
26123 rm -f conftest.err conftest.
$ac_objext \
26124 conftest
$ac_exeext conftest.
$ac_ext
26126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26127 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26128 if test `eval echo '${'$as_ac_var'}'` = yes; then
26129 cat >>confdefs.h
<<_ACEOF
26130 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26138 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
26139 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
26141 AFMINSTALL
=afminstall
26145 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
26146 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
26147 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
26148 echo $ECHO_N "(cached) $ECHO_C" >&6
26150 ac_check_lib_save_LIBS
=$LIBS
26152 cat >conftest.
$ac_ext <<_ACEOF
26155 cat confdefs.h
>>conftest.
$ac_ext
26156 cat >>conftest.
$ac_ext <<_ACEOF
26157 /* end confdefs.h. */
26159 /* Override any gcc2 internal prototype to avoid an error. */
26163 /* We use char because int might match the return type of a gcc2
26164 builtin and then its argument prototype would still apply. */
26165 char gdk_im_open ();
26174 rm -f conftest.
$ac_objext conftest
$ac_exeext
26175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26176 (eval $ac_link) 2>conftest.er1
26178 grep -v '^ *+' conftest.er1
>conftest.err
26180 cat conftest.err
>&5
26181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26182 (exit $ac_status); } &&
26183 { ac_try
='test -z "$ac_c_werror_flag"
26184 || test ! -s conftest.err'
26185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26186 (eval $ac_try) 2>&5
26188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26189 (exit $ac_status); }; } &&
26190 { ac_try
='test -s conftest$ac_exeext'
26191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26192 (eval $ac_try) 2>&5
26194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26195 (exit $ac_status); }; }; then
26196 ac_cv_lib_gdk_gdk_im_open
=yes
26198 echo "$as_me: failed program was:" >&5
26199 sed 's/^/| /' conftest.
$ac_ext >&5
26201 ac_cv_lib_gdk_gdk_im_open
=no
26203 rm -f conftest.err conftest.
$ac_objext \
26204 conftest
$ac_exeext conftest.
$ac_ext
26205 LIBS
=$ac_check_lib_save_LIBS
26207 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
26208 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
26209 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
26210 cat >>confdefs.h
<<\_ACEOF
26218 if test "$wxUSE_GPE" = "yes"; then
26219 echo "$as_me:$LINENO: checking for gpewidget library" >&5
26220 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
26223 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26225 for ac_extension
in a so sl dylib
; do
26226 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
26227 ac_find_libraries
=$ac_dir
26233 if test "$ac_find_libraries" != "" ; then
26235 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26237 if test $result = 0; then
26240 ac_path_to_link
=" -L$ac_find_libraries"
26243 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
26245 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26246 echo "${ECHO_T}found at $ac_find_libraries" >&6
26248 echo "$as_me:$LINENO: result: not found" >&5
26249 echo "${ECHO_T}not found" >&6
26255 if test "$wxUSE_MGL" = 1; then
26256 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
26257 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
26258 if test "x$MGL_ROOT" = x
; then
26259 echo "$as_me:$LINENO: result: not found" >&5
26260 echo "${ECHO_T}not found" >&6
26261 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
26262 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
26263 { (exit 1); exit 1; }; }
26265 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
26266 echo "${ECHO_T}$MGL_ROOT" >&6
26269 echo "$as_me:$LINENO: checking for libmgl location" >&5
26270 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
26273 if test "x$wxUSE_SHARED" = xyes
; then
26274 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
26276 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
26280 mgl_os_candidates
="dos32/dj2"
26283 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
26284 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
26285 { (exit 1); exit 1; }; }
26291 for mgl_os_i
in $mgl_os_candidates ; do
26292 if test "x$mgl_os" = x
; then
26293 if test "$wxUSE_DEBUG_FLAG" = yes ; then
26294 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
26295 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
26300 if test "x$mgl_lib_type" = x
; then
26301 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
26302 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
26303 mgl_lib_type
=release
26310 if test "x$mgl_os" = x
; then
26311 echo "$as_me:$LINENO: result: not found" >&5
26312 echo "${ECHO_T}not found" >&6
26313 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
26314 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
26315 { (exit 1); exit 1; }; }
26317 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
26318 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
26320 wxUSE_UNIVERSAL
="yes"
26322 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
26323 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
26325 AFMINSTALL
=afminstall
26330 if test "$wxUSE_MICROWIN" = 1; then
26331 echo "$as_me:$LINENO: checking for MicroWindows" >&5
26332 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
26333 if test "x$MICROWINDOWS" = x
; then
26334 echo "$as_me:$LINENO: result: not found" >&5
26335 echo "${ECHO_T}not found" >&6
26336 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
26337 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
26338 { (exit 1); exit 1; }; }
26340 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
26341 echo "${ECHO_T}$MICROWINDOWS" >&6
26344 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
26345 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
26346 echo "${ECHO_T}MicroWindows' libraries found." >&6
26348 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
26349 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
26350 { (exit 1); exit 1; }; }
26353 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
26354 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
26356 wxUSE_UNIVERSAL
="yes"
26358 AFMINSTALL
=afminstall
26360 GUIDIST
=MICROWIN_DIST
26362 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
26365 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26366 echo "$as_me:$LINENO: checking for X" >&5
26367 echo $ECHO_N "checking for X... $ECHO_C" >&6
26370 # Check whether --with-x or --without-x was given.
26371 if test "${with_x+set}" = set; then
26375 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
26376 if test "x$with_x" = xno
; then
26377 # The user explicitly disabled X.
26380 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
26381 # Both variables are already set.
26384 if test "${ac_cv_have_x+set}" = set; then
26385 echo $ECHO_N "(cached) $ECHO_C" >&6
26387 # One or both of the vars are not set, and there is no cached value.
26388 ac_x_includes
=no ac_x_libraries
=no
26389 rm -fr conftest.dir
26390 if mkdir conftest.dir
; then
26392 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
26393 cat >Imakefile
<<'_ACEOF'
26395 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
26397 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
26398 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
26399 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
26400 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
26401 for ac_extension
in a so sl
; do
26402 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
26403 test -f $ac_im_libdir/libX11.
$ac_extension; then
26404 ac_im_usrlibdir
=$ac_im_libdir; break
26407 # Screen out bogus values from the imake configuration. They are
26408 # bogus both because they are the default anyway, and because
26409 # using them would break gcc on systems where it needs fixed includes.
26410 case $ac_im_incroot in
26412 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
26414 case $ac_im_usrlibdir in
26415 /usr
/lib
| /lib
) ;;
26416 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
26420 rm -fr conftest.dir
26423 # Standard set of common directories for X headers.
26424 # Check X11 before X11Rn because it is often a symlink to the current release.
26436 /usr/local/X11/include
26437 /usr/local/X11R6/include
26438 /usr/local/X11R5/include
26439 /usr/local/X11R4/include
26441 /usr/local/include/X11
26442 /usr/local/include/X11R6
26443 /usr/local/include/X11R5
26444 /usr/local/include/X11R4
26448 /usr/XFree86/include/X11
26452 /usr/unsupported/include
26453 /usr/athena/include
26454 /usr/local/x11r5/include
26455 /usr/lpp/Xamples/include
26457 /usr/openwin/include
26458 /usr/openwin/share/include'
26460 if test "$ac_x_includes" = no
; then
26461 # Guess where to find include files, by looking for Intrinsic.h.
26462 # First, try using that file with no special directory specified.
26463 cat >conftest.
$ac_ext <<_ACEOF
26466 cat confdefs.h
>>conftest.
$ac_ext
26467 cat >>conftest.
$ac_ext <<_ACEOF
26468 /* end confdefs.h. */
26469 #include <X11/Intrinsic.h>
26471 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26472 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26474 grep -v '^ *+' conftest.er1
>conftest.err
26476 cat conftest.err
>&5
26477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26478 (exit $ac_status); } >/dev
/null
; then
26479 if test -s conftest.err
; then
26480 ac_cpp_err
=$ac_c_preproc_warn_flag
26481 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26488 if test -z "$ac_cpp_err"; then
26489 # We can compile using X headers with no special include directory.
26492 echo "$as_me: failed program was:" >&5
26493 sed 's/^/| /' conftest.
$ac_ext >&5
26495 for ac_dir
in $ac_x_header_dirs; do
26496 if test -r "$ac_dir/X11/Intrinsic.h"; then
26497 ac_x_includes
=$ac_dir
26502 rm -f conftest.err conftest.
$ac_ext
26503 fi # $ac_x_includes = no
26505 if test "$ac_x_libraries" = no
; then
26506 # Check for the libraries.
26507 # See if we find them without any special options.
26508 # Don't add to $LIBS permanently.
26511 cat >conftest.
$ac_ext <<_ACEOF
26514 cat confdefs.h
>>conftest.
$ac_ext
26515 cat >>conftest.
$ac_ext <<_ACEOF
26516 /* end confdefs.h. */
26517 #include <X11/Intrinsic.h>
26526 rm -f conftest.
$ac_objext conftest
$ac_exeext
26527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26528 (eval $ac_link) 2>conftest.er1
26530 grep -v '^ *+' conftest.er1
>conftest.err
26532 cat conftest.err
>&5
26533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26534 (exit $ac_status); } &&
26535 { ac_try
='test -z "$ac_c_werror_flag"
26536 || test ! -s conftest.err'
26537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26538 (eval $ac_try) 2>&5
26540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26541 (exit $ac_status); }; } &&
26542 { ac_try
='test -s conftest$ac_exeext'
26543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26544 (eval $ac_try) 2>&5
26546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26547 (exit $ac_status); }; }; then
26549 # We can link X programs with no special library path.
26552 echo "$as_me: failed program was:" >&5
26553 sed 's/^/| /' conftest.
$ac_ext >&5
26556 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
26558 # Don't even attempt the hair of trying to link an X program!
26559 for ac_extension
in a so sl
; do
26560 if test -r $ac_dir/libXt.
$ac_extension; then
26561 ac_x_libraries
=$ac_dir
26567 rm -f conftest.err conftest.
$ac_objext \
26568 conftest
$ac_exeext conftest.
$ac_ext
26569 fi # $ac_x_libraries = no
26571 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
26572 # Didn't find X anywhere. Cache the known absence of X.
26573 ac_cv_have_x
="have_x=no"
26575 # Record where we found X for the cache.
26576 ac_cv_have_x
="have_x=yes \
26577 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
26582 eval "$ac_cv_have_x"
26585 if test "$have_x" != yes; then
26586 echo "$as_me:$LINENO: result: $have_x" >&5
26587 echo "${ECHO_T}$have_x" >&6
26590 # If each of the values was on the command line, it overrides each guess.
26591 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
26592 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
26593 # Update the cache value to reflect the command line values.
26594 ac_cv_have_x
="have_x=yes \
26595 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
26596 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
26597 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
26600 if test "$no_x" = yes; then
26601 # Not all programs may use this symbol, but it does not hurt to define it.
26603 cat >>confdefs.h
<<\_ACEOF
26604 #define X_DISPLAY_MISSING 1
26607 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
26609 if test -n "$x_includes"; then
26610 X_CFLAGS
="$X_CFLAGS -I$x_includes"
26613 # It would also be nice to do this for all -L options, not just this one.
26614 if test -n "$x_libraries"; then
26615 X_LIBS
="$X_LIBS -L$x_libraries"
26616 # For Solaris; some versions of Sun CC require a space after -R and
26617 # others require no space. Words are not sufficient . . . .
26618 case `(uname -sr) 2>/dev/null` in
26620 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
26621 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
26622 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
26623 cat >conftest.
$ac_ext <<_ACEOF
26626 cat confdefs.h
>>conftest.
$ac_ext
26627 cat >>conftest.
$ac_ext <<_ACEOF
26628 /* end confdefs.h. */
26638 rm -f conftest.
$ac_objext conftest
$ac_exeext
26639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26640 (eval $ac_link) 2>conftest.er1
26642 grep -v '^ *+' conftest.er1
>conftest.err
26644 cat conftest.err
>&5
26645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26646 (exit $ac_status); } &&
26647 { ac_try
='test -z "$ac_c_werror_flag"
26648 || test ! -s conftest.err'
26649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26650 (eval $ac_try) 2>&5
26652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26653 (exit $ac_status); }; } &&
26654 { ac_try
='test -s conftest$ac_exeext'
26655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26656 (eval $ac_try) 2>&5
26658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26659 (exit $ac_status); }; }; then
26662 echo "$as_me: failed program was:" >&5
26663 sed 's/^/| /' conftest.
$ac_ext >&5
26667 rm -f conftest.err conftest.
$ac_objext \
26668 conftest
$ac_exeext conftest.
$ac_ext
26669 if test $ac_R_nospace = yes; then
26670 echo "$as_me:$LINENO: result: no" >&5
26671 echo "${ECHO_T}no" >&6
26672 X_LIBS
="$X_LIBS -R$x_libraries"
26674 LIBS
="$ac_xsave_LIBS -R $x_libraries"
26675 cat >conftest.
$ac_ext <<_ACEOF
26678 cat confdefs.h
>>conftest.
$ac_ext
26679 cat >>conftest.
$ac_ext <<_ACEOF
26680 /* end confdefs.h. */
26690 rm -f conftest.
$ac_objext conftest
$ac_exeext
26691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26692 (eval $ac_link) 2>conftest.er1
26694 grep -v '^ *+' conftest.er1
>conftest.err
26696 cat conftest.err
>&5
26697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26698 (exit $ac_status); } &&
26699 { ac_try
='test -z "$ac_c_werror_flag"
26700 || test ! -s conftest.err'
26701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26702 (eval $ac_try) 2>&5
26704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26705 (exit $ac_status); }; } &&
26706 { ac_try
='test -s conftest$ac_exeext'
26707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26708 (eval $ac_try) 2>&5
26710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26711 (exit $ac_status); }; }; then
26714 echo "$as_me: failed program was:" >&5
26715 sed 's/^/| /' conftest.
$ac_ext >&5
26719 rm -f conftest.err conftest.
$ac_objext \
26720 conftest
$ac_exeext conftest.
$ac_ext
26721 if test $ac_R_space = yes; then
26722 echo "$as_me:$LINENO: result: yes" >&5
26723 echo "${ECHO_T}yes" >&6
26724 X_LIBS
="$X_LIBS -R $x_libraries"
26726 echo "$as_me:$LINENO: result: neither works" >&5
26727 echo "${ECHO_T}neither works" >&6
26730 LIBS
=$ac_xsave_LIBS
26734 # Check for system-dependent libraries X programs must link with.
26735 # Do this before checking for the system-independent R6 libraries
26736 # (-lICE), since we may need -lsocket or whatever for X linking.
26738 if test "$ISC" = yes; then
26739 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
26741 # Martyn Johnson says this is needed for Ultrix, if the X
26742 # libraries were built with DECnet support. And Karl Berry says
26743 # the Alpha needs dnet_stub (dnet does not exist).
26744 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
26745 cat >conftest.
$ac_ext <<_ACEOF
26748 cat confdefs.h
>>conftest.
$ac_ext
26749 cat >>conftest.
$ac_ext <<_ACEOF
26750 /* end confdefs.h. */
26752 /* Override any gcc2 internal prototype to avoid an error. */
26756 /* We use char because int might match the return type of a gcc2
26757 builtin and then its argument prototype would still apply. */
26758 char XOpenDisplay ();
26767 rm -f conftest.
$ac_objext conftest
$ac_exeext
26768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26769 (eval $ac_link) 2>conftest.er1
26771 grep -v '^ *+' conftest.er1
>conftest.err
26773 cat conftest.err
>&5
26774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26775 (exit $ac_status); } &&
26776 { ac_try
='test -z "$ac_c_werror_flag"
26777 || test ! -s conftest.err'
26778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26779 (eval $ac_try) 2>&5
26781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26782 (exit $ac_status); }; } &&
26783 { ac_try
='test -s conftest$ac_exeext'
26784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26785 (eval $ac_try) 2>&5
26787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26788 (exit $ac_status); }; }; then
26791 echo "$as_me: failed program was:" >&5
26792 sed 's/^/| /' conftest.
$ac_ext >&5
26794 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
26795 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
26796 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
26797 echo $ECHO_N "(cached) $ECHO_C" >&6
26799 ac_check_lib_save_LIBS
=$LIBS
26800 LIBS
="-ldnet $LIBS"
26801 cat >conftest.
$ac_ext <<_ACEOF
26804 cat confdefs.h
>>conftest.
$ac_ext
26805 cat >>conftest.
$ac_ext <<_ACEOF
26806 /* end confdefs.h. */
26808 /* Override any gcc2 internal prototype to avoid an error. */
26812 /* We use char because int might match the return type of a gcc2
26813 builtin and then its argument prototype would still apply. */
26823 rm -f conftest.
$ac_objext conftest
$ac_exeext
26824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26825 (eval $ac_link) 2>conftest.er1
26827 grep -v '^ *+' conftest.er1
>conftest.err
26829 cat conftest.err
>&5
26830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26831 (exit $ac_status); } &&
26832 { ac_try
='test -z "$ac_c_werror_flag"
26833 || 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_lib_dnet_dnet_ntoa
=yes
26847 echo "$as_me: failed program was:" >&5
26848 sed 's/^/| /' conftest.
$ac_ext >&5
26850 ac_cv_lib_dnet_dnet_ntoa
=no
26852 rm -f conftest.err conftest.
$ac_objext \
26853 conftest
$ac_exeext conftest.
$ac_ext
26854 LIBS
=$ac_check_lib_save_LIBS
26856 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
26857 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
26858 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
26859 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
26862 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
26863 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
26864 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
26865 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
26866 echo $ECHO_N "(cached) $ECHO_C" >&6
26868 ac_check_lib_save_LIBS
=$LIBS
26869 LIBS
="-ldnet_stub $LIBS"
26870 cat >conftest.
$ac_ext <<_ACEOF
26873 cat confdefs.h
>>conftest.
$ac_ext
26874 cat >>conftest.
$ac_ext <<_ACEOF
26875 /* end confdefs.h. */
26877 /* Override any gcc2 internal prototype to avoid an error. */
26881 /* We use char because int might match the return type of a gcc2
26882 builtin and then its argument prototype would still apply. */
26892 rm -f conftest.
$ac_objext conftest
$ac_exeext
26893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26894 (eval $ac_link) 2>conftest.er1
26896 grep -v '^ *+' conftest.er1
>conftest.err
26898 cat conftest.err
>&5
26899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26900 (exit $ac_status); } &&
26901 { ac_try
='test -z "$ac_c_werror_flag"
26902 || test ! -s conftest.err'
26903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26904 (eval $ac_try) 2>&5
26906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26907 (exit $ac_status); }; } &&
26908 { ac_try
='test -s conftest$ac_exeext'
26909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26910 (eval $ac_try) 2>&5
26912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26913 (exit $ac_status); }; }; then
26914 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
26916 echo "$as_me: failed program was:" >&5
26917 sed 's/^/| /' conftest.
$ac_ext >&5
26919 ac_cv_lib_dnet_stub_dnet_ntoa
=no
26921 rm -f conftest.err conftest.
$ac_objext \
26922 conftest
$ac_exeext conftest.
$ac_ext
26923 LIBS
=$ac_check_lib_save_LIBS
26925 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26926 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
26927 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
26928 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
26933 rm -f conftest.err conftest.
$ac_objext \
26934 conftest
$ac_exeext conftest.
$ac_ext
26935 LIBS
="$ac_xsave_LIBS"
26937 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26938 # to get the SysV transport functions.
26939 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26941 # The nsl library prevents programs from opening the X display
26942 # on Irix 5.2, according to T.E. Dickey.
26943 # The functions gethostbyname, getservbyname, and inet_addr are
26944 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26945 echo "$as_me:$LINENO: checking for gethostbyname" >&5
26946 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
26947 if test "${ac_cv_func_gethostbyname+set}" = set; then
26948 echo $ECHO_N "(cached) $ECHO_C" >&6
26950 cat >conftest.
$ac_ext <<_ACEOF
26953 cat confdefs.h
>>conftest.
$ac_ext
26954 cat >>conftest.
$ac_ext <<_ACEOF
26955 /* end confdefs.h. */
26956 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26958 #define gethostbyname innocuous_gethostbyname
26960 /* System header to define __stub macros and hopefully few prototypes,
26961 which can conflict with char gethostbyname (); below.
26962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26963 <limits.h> exists even on freestanding compilers. */
26966 # include <limits.h>
26968 # include <assert.h>
26971 #undef gethostbyname
26973 /* Override any gcc2 internal prototype to avoid an error. */
26978 /* We use char because int might match the return type of a gcc2
26979 builtin and then its argument prototype would still apply. */
26980 char gethostbyname ();
26981 /* The GNU C library defines this for functions which it implements
26982 to always fail with ENOSYS. Some functions are actually named
26983 something starting with __ and the normal name is an alias. */
26984 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
26987 char (*f) () = gethostbyname;
26996 return f != gethostbyname;
27001 rm -f conftest.
$ac_objext conftest
$ac_exeext
27002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27003 (eval $ac_link) 2>conftest.er1
27005 grep -v '^ *+' conftest.er1
>conftest.err
27007 cat conftest.err
>&5
27008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27009 (exit $ac_status); } &&
27010 { ac_try
='test -z "$ac_c_werror_flag"
27011 || test ! -s conftest.err'
27012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27013 (eval $ac_try) 2>&5
27015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27016 (exit $ac_status); }; } &&
27017 { ac_try
='test -s conftest$ac_exeext'
27018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27019 (eval $ac_try) 2>&5
27021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27022 (exit $ac_status); }; }; then
27023 ac_cv_func_gethostbyname
=yes
27025 echo "$as_me: failed program was:" >&5
27026 sed 's/^/| /' conftest.
$ac_ext >&5
27028 ac_cv_func_gethostbyname
=no
27030 rm -f conftest.err conftest.
$ac_objext \
27031 conftest
$ac_exeext conftest.
$ac_ext
27033 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
27034 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
27036 if test $ac_cv_func_gethostbyname = no
; then
27037 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
27038 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
27039 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
27040 echo $ECHO_N "(cached) $ECHO_C" >&6
27042 ac_check_lib_save_LIBS
=$LIBS
27044 cat >conftest.
$ac_ext <<_ACEOF
27047 cat confdefs.h
>>conftest.
$ac_ext
27048 cat >>conftest.
$ac_ext <<_ACEOF
27049 /* end confdefs.h. */
27051 /* Override any gcc2 internal prototype to avoid an error. */
27055 /* We use char because int might match the return type of a gcc2
27056 builtin and then its argument prototype would still apply. */
27057 char gethostbyname ();
27066 rm -f conftest.
$ac_objext conftest
$ac_exeext
27067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27068 (eval $ac_link) 2>conftest.er1
27070 grep -v '^ *+' conftest.er1
>conftest.err
27072 cat conftest.err
>&5
27073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27074 (exit $ac_status); } &&
27075 { ac_try
='test -z "$ac_c_werror_flag"
27076 || test ! -s conftest.err'
27077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27078 (eval $ac_try) 2>&5
27080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27081 (exit $ac_status); }; } &&
27082 { ac_try
='test -s conftest$ac_exeext'
27083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27084 (eval $ac_try) 2>&5
27086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27087 (exit $ac_status); }; }; then
27088 ac_cv_lib_nsl_gethostbyname
=yes
27090 echo "$as_me: failed program was:" >&5
27091 sed 's/^/| /' conftest.
$ac_ext >&5
27093 ac_cv_lib_nsl_gethostbyname
=no
27095 rm -f conftest.err conftest.
$ac_objext \
27096 conftest
$ac_exeext conftest.
$ac_ext
27097 LIBS
=$ac_check_lib_save_LIBS
27099 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
27100 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
27101 if test $ac_cv_lib_nsl_gethostbyname = yes; then
27102 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
27105 if test $ac_cv_lib_nsl_gethostbyname = no
; then
27106 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
27107 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
27108 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
27109 echo $ECHO_N "(cached) $ECHO_C" >&6
27111 ac_check_lib_save_LIBS
=$LIBS
27113 cat >conftest.
$ac_ext <<_ACEOF
27116 cat confdefs.h
>>conftest.
$ac_ext
27117 cat >>conftest.
$ac_ext <<_ACEOF
27118 /* end confdefs.h. */
27120 /* Override any gcc2 internal prototype to avoid an error. */
27124 /* We use char because int might match the return type of a gcc2
27125 builtin and then its argument prototype would still apply. */
27126 char gethostbyname ();
27135 rm -f conftest.
$ac_objext conftest
$ac_exeext
27136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27137 (eval $ac_link) 2>conftest.er1
27139 grep -v '^ *+' conftest.er1
>conftest.err
27141 cat conftest.err
>&5
27142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27143 (exit $ac_status); } &&
27144 { ac_try
='test -z "$ac_c_werror_flag"
27145 || test ! -s conftest.err'
27146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27147 (eval $ac_try) 2>&5
27149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27150 (exit $ac_status); }; } &&
27151 { ac_try
='test -s conftest$ac_exeext'
27152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27153 (eval $ac_try) 2>&5
27155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27156 (exit $ac_status); }; }; then
27157 ac_cv_lib_bsd_gethostbyname
=yes
27159 echo "$as_me: failed program was:" >&5
27160 sed 's/^/| /' conftest.
$ac_ext >&5
27162 ac_cv_lib_bsd_gethostbyname
=no
27164 rm -f conftest.err conftest.
$ac_objext \
27165 conftest
$ac_exeext conftest.
$ac_ext
27166 LIBS
=$ac_check_lib_save_LIBS
27168 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
27169 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
27170 if test $ac_cv_lib_bsd_gethostbyname = yes; then
27171 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
27177 # lieder@skyler.mavd.honeywell.com says without -lsocket,
27178 # socket/setsockopt and other routines are undefined under SCO ODT
27179 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
27180 # on later versions), says Simon Leinen: it contains gethostby*
27181 # variants that don't use the name server (or something). -lsocket
27182 # must be given before -lnsl if both are needed. We assume that
27183 # if connect needs -lnsl, so does gethostbyname.
27184 echo "$as_me:$LINENO: checking for connect" >&5
27185 echo $ECHO_N "checking for connect... $ECHO_C" >&6
27186 if test "${ac_cv_func_connect+set}" = set; then
27187 echo $ECHO_N "(cached) $ECHO_C" >&6
27189 cat >conftest.
$ac_ext <<_ACEOF
27192 cat confdefs.h
>>conftest.
$ac_ext
27193 cat >>conftest.
$ac_ext <<_ACEOF
27194 /* end confdefs.h. */
27195 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
27196 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27197 #define connect innocuous_connect
27199 /* System header to define __stub macros and hopefully few prototypes,
27200 which can conflict with char connect (); below.
27201 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27202 <limits.h> exists even on freestanding compilers. */
27205 # include <limits.h>
27207 # include <assert.h>
27212 /* Override any gcc2 internal prototype to avoid an error. */
27217 /* We use char because int might match the return type of a gcc2
27218 builtin and then its argument prototype would still apply. */
27220 /* The GNU C library defines this for functions which it implements
27221 to always fail with ENOSYS. Some functions are actually named
27222 something starting with __ and the normal name is an alias. */
27223 #if defined (__stub_connect) || defined (__stub___connect)
27226 char (*f) () = connect;
27235 return f != connect;
27240 rm -f conftest.
$ac_objext conftest
$ac_exeext
27241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27242 (eval $ac_link) 2>conftest.er1
27244 grep -v '^ *+' conftest.er1
>conftest.err
27246 cat conftest.err
>&5
27247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27248 (exit $ac_status); } &&
27249 { ac_try
='test -z "$ac_c_werror_flag"
27250 || test ! -s conftest.err'
27251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27252 (eval $ac_try) 2>&5
27254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27255 (exit $ac_status); }; } &&
27256 { ac_try
='test -s conftest$ac_exeext'
27257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27258 (eval $ac_try) 2>&5
27260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27261 (exit $ac_status); }; }; then
27262 ac_cv_func_connect
=yes
27264 echo "$as_me: failed program was:" >&5
27265 sed 's/^/| /' conftest.
$ac_ext >&5
27267 ac_cv_func_connect
=no
27269 rm -f conftest.err conftest.
$ac_objext \
27270 conftest
$ac_exeext conftest.
$ac_ext
27272 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
27273 echo "${ECHO_T}$ac_cv_func_connect" >&6
27275 if test $ac_cv_func_connect = no
; then
27276 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
27277 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
27278 if test "${ac_cv_lib_socket_connect+set}" = set; then
27279 echo $ECHO_N "(cached) $ECHO_C" >&6
27281 ac_check_lib_save_LIBS
=$LIBS
27282 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
27283 cat >conftest.
$ac_ext <<_ACEOF
27286 cat confdefs.h
>>conftest.
$ac_ext
27287 cat >>conftest.
$ac_ext <<_ACEOF
27288 /* end confdefs.h. */
27290 /* Override any gcc2 internal prototype to avoid an error. */
27294 /* We use char because int might match the return type of a gcc2
27295 builtin and then its argument prototype would still apply. */
27305 rm -f conftest.
$ac_objext conftest
$ac_exeext
27306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27307 (eval $ac_link) 2>conftest.er1
27309 grep -v '^ *+' conftest.er1
>conftest.err
27311 cat conftest.err
>&5
27312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27313 (exit $ac_status); } &&
27314 { ac_try
='test -z "$ac_c_werror_flag"
27315 || test ! -s conftest.err'
27316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27317 (eval $ac_try) 2>&5
27319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27320 (exit $ac_status); }; } &&
27321 { ac_try
='test -s conftest$ac_exeext'
27322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27323 (eval $ac_try) 2>&5
27325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27326 (exit $ac_status); }; }; then
27327 ac_cv_lib_socket_connect
=yes
27329 echo "$as_me: failed program was:" >&5
27330 sed 's/^/| /' conftest.
$ac_ext >&5
27332 ac_cv_lib_socket_connect
=no
27334 rm -f conftest.err conftest.
$ac_objext \
27335 conftest
$ac_exeext conftest.
$ac_ext
27336 LIBS
=$ac_check_lib_save_LIBS
27338 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
27339 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
27340 if test $ac_cv_lib_socket_connect = yes; then
27341 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
27346 # Guillermo Gomez says -lposix is necessary on A/UX.
27347 echo "$as_me:$LINENO: checking for remove" >&5
27348 echo $ECHO_N "checking for remove... $ECHO_C" >&6
27349 if test "${ac_cv_func_remove+set}" = set; then
27350 echo $ECHO_N "(cached) $ECHO_C" >&6
27352 cat >conftest.
$ac_ext <<_ACEOF
27355 cat confdefs.h
>>conftest.
$ac_ext
27356 cat >>conftest.
$ac_ext <<_ACEOF
27357 /* end confdefs.h. */
27358 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
27359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27360 #define remove innocuous_remove
27362 /* System header to define __stub macros and hopefully few prototypes,
27363 which can conflict with char remove (); below.
27364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27365 <limits.h> exists even on freestanding compilers. */
27368 # include <limits.h>
27370 # include <assert.h>
27375 /* Override any gcc2 internal prototype to avoid an error. */
27380 /* We use char because int might match the return type of a gcc2
27381 builtin and then its argument prototype would still apply. */
27383 /* The GNU C library defines this for functions which it implements
27384 to always fail with ENOSYS. Some functions are actually named
27385 something starting with __ and the normal name is an alias. */
27386 #if defined (__stub_remove) || defined (__stub___remove)
27389 char (*f) () = remove;
27398 return f != remove;
27403 rm -f conftest.
$ac_objext conftest
$ac_exeext
27404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27405 (eval $ac_link) 2>conftest.er1
27407 grep -v '^ *+' conftest.er1
>conftest.err
27409 cat conftest.err
>&5
27410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27411 (exit $ac_status); } &&
27412 { ac_try
='test -z "$ac_c_werror_flag"
27413 || test ! -s conftest.err'
27414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27415 (eval $ac_try) 2>&5
27417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27418 (exit $ac_status); }; } &&
27419 { ac_try
='test -s conftest$ac_exeext'
27420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27421 (eval $ac_try) 2>&5
27423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27424 (exit $ac_status); }; }; then
27425 ac_cv_func_remove
=yes
27427 echo "$as_me: failed program was:" >&5
27428 sed 's/^/| /' conftest.
$ac_ext >&5
27430 ac_cv_func_remove
=no
27432 rm -f conftest.err conftest.
$ac_objext \
27433 conftest
$ac_exeext conftest.
$ac_ext
27435 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
27436 echo "${ECHO_T}$ac_cv_func_remove" >&6
27438 if test $ac_cv_func_remove = no
; then
27439 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
27440 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
27441 if test "${ac_cv_lib_posix_remove+set}" = set; then
27442 echo $ECHO_N "(cached) $ECHO_C" >&6
27444 ac_check_lib_save_LIBS
=$LIBS
27445 LIBS
="-lposix $LIBS"
27446 cat >conftest.
$ac_ext <<_ACEOF
27449 cat confdefs.h
>>conftest.
$ac_ext
27450 cat >>conftest.
$ac_ext <<_ACEOF
27451 /* end confdefs.h. */
27453 /* Override any gcc2 internal prototype to avoid an error. */
27457 /* We use char because int might match the return type of a gcc2
27458 builtin and then its argument prototype would still apply. */
27468 rm -f conftest.
$ac_objext conftest
$ac_exeext
27469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27470 (eval $ac_link) 2>conftest.er1
27472 grep -v '^ *+' conftest.er1
>conftest.err
27474 cat conftest.err
>&5
27475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27476 (exit $ac_status); } &&
27477 { ac_try
='test -z "$ac_c_werror_flag"
27478 || test ! -s conftest.err'
27479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27480 (eval $ac_try) 2>&5
27482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27483 (exit $ac_status); }; } &&
27484 { ac_try
='test -s conftest$ac_exeext'
27485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27486 (eval $ac_try) 2>&5
27488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27489 (exit $ac_status); }; }; then
27490 ac_cv_lib_posix_remove
=yes
27492 echo "$as_me: failed program was:" >&5
27493 sed 's/^/| /' conftest.
$ac_ext >&5
27495 ac_cv_lib_posix_remove
=no
27497 rm -f conftest.err conftest.
$ac_objext \
27498 conftest
$ac_exeext conftest.
$ac_ext
27499 LIBS
=$ac_check_lib_save_LIBS
27501 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
27502 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
27503 if test $ac_cv_lib_posix_remove = yes; then
27504 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
27509 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
27510 echo "$as_me:$LINENO: checking for shmat" >&5
27511 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
27512 if test "${ac_cv_func_shmat+set}" = set; then
27513 echo $ECHO_N "(cached) $ECHO_C" >&6
27515 cat >conftest.
$ac_ext <<_ACEOF
27518 cat confdefs.h
>>conftest.
$ac_ext
27519 cat >>conftest.
$ac_ext <<_ACEOF
27520 /* end confdefs.h. */
27521 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
27522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27523 #define shmat innocuous_shmat
27525 /* System header to define __stub macros and hopefully few prototypes,
27526 which can conflict with char shmat (); below.
27527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27528 <limits.h> exists even on freestanding compilers. */
27531 # include <limits.h>
27533 # include <assert.h>
27538 /* Override any gcc2 internal prototype to avoid an error. */
27543 /* We use char because int might match the return type of a gcc2
27544 builtin and then its argument prototype would still apply. */
27546 /* The GNU C library defines this for functions which it implements
27547 to always fail with ENOSYS. Some functions are actually named
27548 something starting with __ and the normal name is an alias. */
27549 #if defined (__stub_shmat) || defined (__stub___shmat)
27552 char (*f) () = shmat;
27566 rm -f conftest.
$ac_objext conftest
$ac_exeext
27567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27568 (eval $ac_link) 2>conftest.er1
27570 grep -v '^ *+' conftest.er1
>conftest.err
27572 cat conftest.err
>&5
27573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27574 (exit $ac_status); } &&
27575 { ac_try
='test -z "$ac_c_werror_flag"
27576 || test ! -s conftest.err'
27577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27578 (eval $ac_try) 2>&5
27580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27581 (exit $ac_status); }; } &&
27582 { ac_try
='test -s conftest$ac_exeext'
27583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27584 (eval $ac_try) 2>&5
27586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27587 (exit $ac_status); }; }; then
27588 ac_cv_func_shmat
=yes
27590 echo "$as_me: failed program was:" >&5
27591 sed 's/^/| /' conftest.
$ac_ext >&5
27593 ac_cv_func_shmat
=no
27595 rm -f conftest.err conftest.
$ac_objext \
27596 conftest
$ac_exeext conftest.
$ac_ext
27598 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
27599 echo "${ECHO_T}$ac_cv_func_shmat" >&6
27601 if test $ac_cv_func_shmat = no
; then
27602 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
27603 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
27604 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
27605 echo $ECHO_N "(cached) $ECHO_C" >&6
27607 ac_check_lib_save_LIBS
=$LIBS
27609 cat >conftest.
$ac_ext <<_ACEOF
27612 cat confdefs.h
>>conftest.
$ac_ext
27613 cat >>conftest.
$ac_ext <<_ACEOF
27614 /* end confdefs.h. */
27616 /* Override any gcc2 internal prototype to avoid an error. */
27620 /* We use char because int might match the return type of a gcc2
27621 builtin and then its argument prototype would still apply. */
27631 rm -f conftest.
$ac_objext conftest
$ac_exeext
27632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27633 (eval $ac_link) 2>conftest.er1
27635 grep -v '^ *+' conftest.er1
>conftest.err
27637 cat conftest.err
>&5
27638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27639 (exit $ac_status); } &&
27640 { ac_try
='test -z "$ac_c_werror_flag"
27641 || test ! -s conftest.err'
27642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27643 (eval $ac_try) 2>&5
27645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27646 (exit $ac_status); }; } &&
27647 { ac_try
='test -s conftest$ac_exeext'
27648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27649 (eval $ac_try) 2>&5
27651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27652 (exit $ac_status); }; }; then
27653 ac_cv_lib_ipc_shmat
=yes
27655 echo "$as_me: failed program was:" >&5
27656 sed 's/^/| /' conftest.
$ac_ext >&5
27658 ac_cv_lib_ipc_shmat
=no
27660 rm -f conftest.err conftest.
$ac_objext \
27661 conftest
$ac_exeext conftest.
$ac_ext
27662 LIBS
=$ac_check_lib_save_LIBS
27664 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
27665 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
27666 if test $ac_cv_lib_ipc_shmat = yes; then
27667 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
27673 # Check for libraries that X11R6 Xt/Xaw programs need.
27674 ac_save_LDFLAGS
=$LDFLAGS
27675 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
27676 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
27677 # check for ICE first), but we must link in the order -lSM -lICE or
27678 # we get undefined symbols. So assume we have SM if we have ICE.
27679 # These have to be linked with before -lX11, unlike the other
27680 # libraries we check for below, so use a different variable.
27681 # John Interrante, Karl Berry
27682 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
27683 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
27684 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
27685 echo $ECHO_N "(cached) $ECHO_C" >&6
27687 ac_check_lib_save_LIBS
=$LIBS
27688 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
27689 cat >conftest.
$ac_ext <<_ACEOF
27692 cat confdefs.h
>>conftest.
$ac_ext
27693 cat >>conftest.
$ac_ext <<_ACEOF
27694 /* end confdefs.h. */
27696 /* Override any gcc2 internal prototype to avoid an error. */
27700 /* We use char because int might match the return type of a gcc2
27701 builtin and then its argument prototype would still apply. */
27702 char IceConnectionNumber ();
27706 IceConnectionNumber ();
27711 rm -f conftest.
$ac_objext conftest
$ac_exeext
27712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27713 (eval $ac_link) 2>conftest.er1
27715 grep -v '^ *+' conftest.er1
>conftest.err
27717 cat conftest.err
>&5
27718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27719 (exit $ac_status); } &&
27720 { ac_try
='test -z "$ac_c_werror_flag"
27721 || test ! -s conftest.err'
27722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27723 (eval $ac_try) 2>&5
27725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27726 (exit $ac_status); }; } &&
27727 { ac_try
='test -s conftest$ac_exeext'
27728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27729 (eval $ac_try) 2>&5
27731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27732 (exit $ac_status); }; }; then
27733 ac_cv_lib_ICE_IceConnectionNumber
=yes
27735 echo "$as_me: failed program was:" >&5
27736 sed 's/^/| /' conftest.
$ac_ext >&5
27738 ac_cv_lib_ICE_IceConnectionNumber
=no
27740 rm -f conftest.err conftest.
$ac_objext \
27741 conftest
$ac_exeext conftest.
$ac_ext
27742 LIBS
=$ac_check_lib_save_LIBS
27744 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
27745 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
27746 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
27747 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
27750 LDFLAGS
=$ac_save_LDFLAGS
27755 if test "$no_x" = "yes"; then
27756 { { echo "$as_me:$LINENO: error: X11 not found" >&5
27757 echo "$as_me: error: X11 not found" >&2;}
27758 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
27761 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
27762 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
27763 AFMINSTALL
=afminstall
27764 COMPILED_X_PROGRAM
=0
27768 if test "$wxUSE_X11" = 1; then
27769 if test "$wxUSE_NANOX" = "yes"; then
27770 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
27771 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
27772 if test "x$MICROWIN" = x
; then
27773 echo "$as_me:$LINENO: result: not found" >&5
27774 echo "${ECHO_T}not found" >&6
27775 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
27776 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
27777 { (exit 1); exit 1; }; }
27779 echo "$as_me:$LINENO: result: $MICROWIN" >&5
27780 echo "${ECHO_T}$MICROWIN" >&6
27781 cat >>confdefs.h
<<\_ACEOF
27782 #define wxUSE_NANOX 1
27788 if test "$wxUSE_UNICODE" = "yes"; then
27792 if test -z "$PKG_CONFIG"; then
27793 # Extract the first word of "pkg-config", so it can be a program name with args.
27794 set dummy pkg
-config; ac_word
=$2
27795 echo "$as_me:$LINENO: checking for $ac_word" >&5
27796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27797 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27798 echo $ECHO_N "(cached) $ECHO_C" >&6
27800 case $PKG_CONFIG in
27802 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27806 for as_dir
in $PATH
27809 test -z "$as_dir" && as_dir
=.
27810 for ac_exec_ext
in '' $ac_executable_extensions; do
27811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27812 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27819 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27823 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27825 if test -n "$PKG_CONFIG"; then
27826 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27827 echo "${ECHO_T}$PKG_CONFIG" >&6
27829 echo "$as_me:$LINENO: result: no" >&5
27830 echo "${ECHO_T}no" >&6
27835 if test "$PKG_CONFIG" = "no" ; then
27836 echo "*** The pkg-config script could not be found. Make sure it is"
27837 echo "*** in your path, or set the PKG_CONFIG environment variable"
27838 echo "*** to the full path to pkg-config."
27839 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27841 PKG_CONFIG_MIN_VERSION
=0.9.0
27842 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27843 echo "$as_me:$LINENO: checking for pangox" >&5
27844 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
27846 if $PKG_CONFIG --exists "pangox" ; then
27847 echo "$as_me:$LINENO: result: yes" >&5
27848 echo "${ECHO_T}yes" >&6
27851 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
27852 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
27853 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
27854 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
27855 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
27857 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
27858 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
27859 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
27860 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
27861 echo "${ECHO_T}$PANGOX_LIBS" >&6
27865 ## If we have a custom action on failure, don't print errors, but
27866 ## do set a variable so people can do so.
27867 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
27874 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27875 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27879 if test $succeeded = yes; then
27881 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
27882 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
27886 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
27887 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
27888 { (exit 1); exit 1; }; }
27896 if test -z "$PKG_CONFIG"; then
27897 # Extract the first word of "pkg-config", so it can be a program name with args.
27898 set dummy pkg
-config; ac_word
=$2
27899 echo "$as_me:$LINENO: checking for $ac_word" >&5
27900 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27901 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27902 echo $ECHO_N "(cached) $ECHO_C" >&6
27904 case $PKG_CONFIG in
27906 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27910 for as_dir
in $PATH
27913 test -z "$as_dir" && as_dir
=.
27914 for ac_exec_ext
in '' $ac_executable_extensions; do
27915 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27916 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27923 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27927 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27929 if test -n "$PKG_CONFIG"; then
27930 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27931 echo "${ECHO_T}$PKG_CONFIG" >&6
27933 echo "$as_me:$LINENO: result: no" >&5
27934 echo "${ECHO_T}no" >&6
27939 if test "$PKG_CONFIG" = "no" ; then
27940 echo "*** The pkg-config script could not be found. Make sure it is"
27941 echo "*** in your path, or set the PKG_CONFIG environment variable"
27942 echo "*** to the full path to pkg-config."
27943 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27945 PKG_CONFIG_MIN_VERSION
=0.9.0
27946 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27947 echo "$as_me:$LINENO: checking for pangoft2" >&5
27948 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
27950 if $PKG_CONFIG --exists "pangoft2" ; then
27951 echo "$as_me:$LINENO: result: yes" >&5
27952 echo "${ECHO_T}yes" >&6
27955 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
27956 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
27957 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
27958 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
27959 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
27961 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
27962 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
27963 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
27964 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
27965 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
27969 ## If we have a custom action on failure, don't print errors, but
27970 ## do set a variable so people can do so.
27971 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
27978 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27979 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27983 if test $succeeded = yes; then
27985 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
27986 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
27990 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
27991 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
27992 wxUSE_PRINTING_ARCHITECTURE
="no"
28000 if test -z "$PKG_CONFIG"; then
28001 # Extract the first word of "pkg-config", so it can be a program name with args.
28002 set dummy pkg
-config; ac_word
=$2
28003 echo "$as_me:$LINENO: checking for $ac_word" >&5
28004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28005 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28006 echo $ECHO_N "(cached) $ECHO_C" >&6
28008 case $PKG_CONFIG in
28010 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28014 for as_dir
in $PATH
28017 test -z "$as_dir" && as_dir
=.
28018 for ac_exec_ext
in '' $ac_executable_extensions; do
28019 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28020 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28021 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28027 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
28031 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28033 if test -n "$PKG_CONFIG"; then
28034 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28035 echo "${ECHO_T}$PKG_CONFIG" >&6
28037 echo "$as_me:$LINENO: result: no" >&5
28038 echo "${ECHO_T}no" >&6
28043 if test "$PKG_CONFIG" = "no" ; then
28044 echo "*** The pkg-config script could not be found. Make sure it is"
28045 echo "*** in your path, or set the PKG_CONFIG environment variable"
28046 echo "*** to the full path to pkg-config."
28047 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28049 PKG_CONFIG_MIN_VERSION
=0.9.0
28050 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28051 echo "$as_me:$LINENO: checking for pangoxft" >&5
28052 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
28054 if $PKG_CONFIG --exists "pangoxft" ; then
28055 echo "$as_me:$LINENO: result: yes" >&5
28056 echo "${ECHO_T}yes" >&6
28059 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
28060 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
28061 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
28062 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
28063 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
28065 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
28066 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
28067 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
28068 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
28069 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
28073 ## If we have a custom action on failure, don't print errors, but
28074 ## do set a variable so people can do so.
28075 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
28082 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28083 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28087 if test $succeeded = yes; then
28089 cat >>confdefs.h
<<\_ACEOF
28090 #define HAVE_PANGO_XFT 1
28093 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
28094 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
28098 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
28099 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
28104 save_CFLAGS
="$CFLAGS"
28106 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
28107 LIBS
="$LIBS $PANGOX_LIBS"
28109 for ac_func
in pango_font_family_is_monospace
28111 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28112 echo "$as_me:$LINENO: checking for $ac_func" >&5
28113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28114 if eval "test \"\${$as_ac_var+set}\" = set"; then
28115 echo $ECHO_N "(cached) $ECHO_C" >&6
28117 cat >conftest.
$ac_ext <<_ACEOF
28120 cat confdefs.h
>>conftest.
$ac_ext
28121 cat >>conftest.
$ac_ext <<_ACEOF
28122 /* end confdefs.h. */
28123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28125 #define $ac_func innocuous_$ac_func
28127 /* System header to define __stub macros and hopefully few prototypes,
28128 which can conflict with char $ac_func (); below.
28129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28130 <limits.h> exists even on freestanding compilers. */
28133 # include <limits.h>
28135 # include <assert.h>
28140 /* Override any gcc2 internal prototype to avoid an error. */
28145 /* We use char because int might match the return type of a gcc2
28146 builtin and then its argument prototype would still apply. */
28148 /* The GNU C library defines this for functions which it implements
28149 to always fail with ENOSYS. Some functions are actually named
28150 something starting with __ and the normal name is an alias. */
28151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28154 char (*f) () = $ac_func;
28163 return f != $ac_func;
28168 rm -f conftest.
$ac_objext conftest
$ac_exeext
28169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28170 (eval $ac_link) 2>conftest.er1
28172 grep -v '^ *+' conftest.er1
>conftest.err
28174 cat conftest.err
>&5
28175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28176 (exit $ac_status); } &&
28177 { ac_try
='test -z "$ac_c_werror_flag"
28178 || test ! -s conftest.err'
28179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28180 (eval $ac_try) 2>&5
28182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28183 (exit $ac_status); }; } &&
28184 { ac_try
='test -s conftest$ac_exeext'
28185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28186 (eval $ac_try) 2>&5
28188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28189 (exit $ac_status); }; }; then
28190 eval "$as_ac_var=yes"
28192 echo "$as_me: failed program was:" >&5
28193 sed 's/^/| /' conftest.
$ac_ext >&5
28195 eval "$as_ac_var=no"
28197 rm -f conftest.err conftest.
$ac_objext \
28198 conftest
$ac_exeext conftest.
$ac_ext
28200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28202 if test `eval echo '${'$as_ac_var'}'` = yes; then
28203 cat >>confdefs.h
<<_ACEOF
28204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28210 CFLAGS
="$save_CFLAGS"
28214 wxUSE_UNIVERSAL
="yes"
28216 if test "$wxUSE_NANOX" = "yes"; then
28217 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
28218 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"
28219 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
28221 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
28228 if test "$wxUSE_MOTIF" = 1; then
28229 if test "$wxUSE_UNICODE" = "yes"; then
28230 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
28231 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
28232 { (exit 1); exit 1; }; }
28235 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
28236 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
28239 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
28241 if test -f "$ac_dir/Xm/Xm.h"; then
28242 ac_find_includes
=$ac_dir
28247 if test "$ac_find_includes" != "" ; then
28248 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28249 echo "${ECHO_T}found in $ac_find_includes" >&6
28251 if test "x$ac_find_includes" = "x/usr/include"; then
28252 ac_path_to_include
=""
28254 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
28256 if test $result = 0; then
28257 ac_path_to_include
=""
28259 ac_path_to_include
=" -I$ac_find_includes"
28263 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
28265 cat >conftest.
$ac_ext <<_ACEOF
28268 cat confdefs.h
>>conftest.
$ac_ext
28269 cat >>conftest.
$ac_ext <<_ACEOF
28270 /* end confdefs.h. */
28279 version = xmUseVersion;
28285 rm -f conftest.
$ac_objext
28286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28287 (eval $ac_compile) 2>conftest.er1
28289 grep -v '^ *+' conftest.er1
>conftest.err
28291 cat conftest.err
>&5
28292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28293 (exit $ac_status); } &&
28294 { ac_try
='test -z "$ac_c_werror_flag"
28295 || test ! -s conftest.err'
28296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28297 (eval $ac_try) 2>&5
28299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28300 (exit $ac_status); }; } &&
28301 { ac_try
='test -s conftest.$ac_objext'
28302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28303 (eval $ac_try) 2>&5
28305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28306 (exit $ac_status); }; }; then
28308 echo "$as_me:$LINENO: result: found in default search path" >&5
28309 echo "${ECHO_T}found in default search path" >&6
28310 COMPILED_X_PROGRAM
=1
28313 echo "$as_me: failed program was:" >&5
28314 sed 's/^/| /' conftest.
$ac_ext >&5
28317 echo "$as_me:$LINENO: result: no" >&5
28318 echo "${ECHO_T}no" >&6
28319 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
28320 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
28321 { (exit 1); exit 1; }; }
28325 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28328 if test "$COMPILED_X_PROGRAM" = 0; then
28329 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
28330 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
28333 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28335 for ac_extension
in a so sl dylib
; do
28336 if test -f "$ac_dir/libXm.$ac_extension"; then
28337 ac_find_libraries
=$ac_dir
28343 if test "$ac_find_libraries" != "" ; then
28344 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
28345 echo "${ECHO_T}found at $ac_find_libraries" >&6
28348 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
28350 if test $result = 0; then
28353 ac_path_to_link
=" -L$ac_find_libraries"
28356 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
28358 save_CFLAGS
=$CFLAGS
28359 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28361 cat >conftest.
$ac_ext <<_ACEOF
28364 cat confdefs.h
>>conftest.
$ac_ext
28365 cat >>conftest.
$ac_ext <<_ACEOF
28366 /* end confdefs.h. */
28375 version = xmUseVersion;
28381 rm -f conftest.
$ac_objext
28382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28383 (eval $ac_compile) 2>conftest.er1
28385 grep -v '^ *+' conftest.er1
>conftest.err
28387 cat conftest.err
>&5
28388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28389 (exit $ac_status); } &&
28390 { ac_try
='test -z "$ac_c_werror_flag"
28391 || test ! -s conftest.err'
28392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28393 (eval $ac_try) 2>&5
28395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28396 (exit $ac_status); }; } &&
28397 { ac_try
='test -s conftest.$ac_objext'
28398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28399 (eval $ac_try) 2>&5
28401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28402 (exit $ac_status); }; }; then
28404 echo "$as_me:$LINENO: result: found in default search path" >&5
28405 echo "${ECHO_T}found in default search path" >&6
28406 COMPILED_X_PROGRAM
=1
28409 echo "$as_me: failed program was:" >&5
28410 sed 's/^/| /' conftest.
$ac_ext >&5
28413 echo "$as_me:$LINENO: result: no" >&5
28414 echo "${ECHO_T}no" >&6
28415 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
28416 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
28417 { (exit 1); exit 1; }; }
28421 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28423 CFLAGS
=$save_CFLAGS
28427 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
28428 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
28432 for libp
in "" " -lXp"; do
28433 if test "$libs_found" = "0"; then
28434 for libsm_ice
in "" " -lSM -lICE"; do
28435 if test "$libs_found" = "0"; then
28437 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
28438 save_CFLAGS
=$CFLAGS
28439 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28441 cat >conftest.
$ac_ext <<_ACEOF
28444 cat confdefs.h
>>conftest.
$ac_ext
28445 cat >>conftest.
$ac_ext <<_ACEOF
28446 /* end confdefs.h. */
28449 #include <Xm/List.h>
28455 XmString string = NULL;
28458 XmListAddItem(w, string, position);
28464 rm -f conftest.
$ac_objext conftest
$ac_exeext
28465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28466 (eval $ac_link) 2>conftest.er1
28468 grep -v '^ *+' conftest.er1
>conftest.err
28470 cat conftest.err
>&5
28471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28472 (exit $ac_status); } &&
28473 { ac_try
='test -z "$ac_c_werror_flag"
28474 || test ! -s conftest.err'
28475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28476 (eval $ac_try) 2>&5
28478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28479 (exit $ac_status); }; } &&
28480 { ac_try
='test -s conftest$ac_exeext'
28481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28482 (eval $ac_try) 2>&5
28484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28485 (exit $ac_status); }; }; then
28488 libsm_ice_link
="$libsm_ice"
28489 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
28490 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
28494 echo "$as_me: failed program was:" >&5
28495 sed 's/^/| /' conftest.
$ac_ext >&5
28500 rm -f conftest.err conftest.
$ac_objext \
28501 conftest
$ac_exeext conftest.
$ac_ext
28504 CFLAGS
=$save_CFLAGS
28510 if test "$libs_found" = "0"; then
28511 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
28512 echo "${ECHO_T}can't find the right libraries" >&6
28513 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
28514 echo "$as_me: error: can't link a simple motif program" >&2;}
28515 { (exit 1); exit 1; }; }
28518 save_CFLAGS
=$CFLAGS
28519 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28520 echo "$as_me:$LINENO: checking for Motif 2" >&5
28521 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
28522 cat >conftest.
$ac_ext <<_ACEOF
28525 cat confdefs.h
>>conftest.
$ac_ext
28526 cat >>conftest.
$ac_ext <<_ACEOF
28527 /* end confdefs.h. */
28535 #if XmVersion < 2000
28536 #error "Not Motif 2"
28543 rm -f conftest.
$ac_objext
28544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28545 (eval $ac_compile) 2>conftest.er1
28547 grep -v '^ *+' conftest.er1
>conftest.err
28549 cat conftest.err
>&5
28550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28551 (exit $ac_status); } &&
28552 { ac_try
='test -z "$ac_c_werror_flag"
28553 || test ! -s conftest.err'
28554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28555 (eval $ac_try) 2>&5
28557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28558 (exit $ac_status); }; } &&
28559 { ac_try
='test -s conftest.$ac_objext'
28560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28561 (eval $ac_try) 2>&5
28563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28564 (exit $ac_status); }; }; then
28566 cat >>confdefs.h
<<\_ACEOF
28567 #define __WXMOTIF20__ 1
28570 echo "$as_me:$LINENO: result: found" >&5
28571 echo "${ECHO_T}found" >&6
28574 echo "$as_me: failed program was:" >&5
28575 sed 's/^/| /' conftest.
$ac_ext >&5
28578 cat >>confdefs.h
<<\_ACEOF
28579 #define __WXMOTIF20__ 0
28582 echo "$as_me:$LINENO: result: not found" >&5
28583 echo "${ECHO_T}not found" >&6
28586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28587 CFLAGS
=$save_CFLAGS
28589 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
28594 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28595 if test "$wxUSE_LIBXPM" = "sys"; then
28596 echo "$as_me:$LINENO: checking for Xpm library" >&5
28597 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
28600 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28602 for ac_extension
in a so sl dylib
; do
28603 if test -f "$ac_dir/libXpm.$ac_extension"; then
28604 ac_find_libraries
=$ac_dir
28610 if test "$ac_find_libraries" != "" ; then
28612 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
28614 if test $result = 0; then
28617 ac_path_to_link
=" -L$ac_find_libraries"
28620 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
28621 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
28622 echo "${ECHO_T}found at $ac_find_libraries" >&6
28624 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
28625 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
28626 if test "${wx_cv_x11_xpm_h+set}" = set; then
28627 echo $ECHO_N "(cached) $ECHO_C" >&6
28630 save_CFLAGS
=$CFLAGS
28631 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28633 cat >conftest.
$ac_ext <<_ACEOF
28636 cat confdefs.h
>>conftest.
$ac_ext
28637 cat >>conftest.
$ac_ext <<_ACEOF
28638 /* end confdefs.h. */
28640 #include <X11/xpm.h>
28647 version = XpmLibraryVersion();
28653 rm -f conftest.
$ac_objext
28654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28655 (eval $ac_compile) 2>conftest.er1
28657 grep -v '^ *+' conftest.er1
>conftest.err
28659 cat conftest.err
>&5
28660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28661 (exit $ac_status); } &&
28662 { ac_try
='test -z "$ac_c_werror_flag"
28663 || test ! -s conftest.err'
28664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28665 (eval $ac_try) 2>&5
28667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28668 (exit $ac_status); }; } &&
28669 { ac_try
='test -s conftest.$ac_objext'
28670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28671 (eval $ac_try) 2>&5
28673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28674 (exit $ac_status); }; }; then
28675 wx_cv_x11_xpm_h
=yes
28677 echo "$as_me: failed program was:" >&5
28678 sed 's/^/| /' conftest.
$ac_ext >&5
28683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28685 CFLAGS
=$save_CFLAGS
28689 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
28690 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
28692 if test $wx_cv_x11_xpm_h = "yes"; then
28693 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
28694 cat >>confdefs.h
<<\_ACEOF
28695 #define wxHAVE_LIB_XPM 1
28699 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
28700 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
28706 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
28707 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
28708 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
28709 echo $ECHO_N "(cached) $ECHO_C" >&6
28711 ac_check_lib_save_LIBS
=$LIBS
28712 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
28713 cat >conftest.
$ac_ext <<_ACEOF
28716 cat confdefs.h
>>conftest.
$ac_ext
28717 cat >>conftest.
$ac_ext <<_ACEOF
28718 /* end confdefs.h. */
28720 /* Override any gcc2 internal prototype to avoid an error. */
28724 /* We use char because int might match the return type of a gcc2
28725 builtin and then its argument prototype would still apply. */
28726 char XShapeQueryExtension ();
28730 XShapeQueryExtension ();
28735 rm -f conftest.
$ac_objext conftest
$ac_exeext
28736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28737 (eval $ac_link) 2>conftest.er1
28739 grep -v '^ *+' conftest.er1
>conftest.err
28741 cat conftest.err
>&5
28742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28743 (exit $ac_status); } &&
28744 { ac_try
='test -z "$ac_c_werror_flag"
28745 || test ! -s conftest.err'
28746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28747 (eval $ac_try) 2>&5
28749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28750 (exit $ac_status); }; } &&
28751 { ac_try
='test -s conftest$ac_exeext'
28752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28753 (eval $ac_try) 2>&5
28755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28756 (exit $ac_status); }; }; then
28757 ac_cv_lib_Xext_XShapeQueryExtension
=yes
28759 echo "$as_me: failed program was:" >&5
28760 sed 's/^/| /' conftest.
$ac_ext >&5
28762 ac_cv_lib_Xext_XShapeQueryExtension
=no
28764 rm -f conftest.err conftest.
$ac_objext \
28765 conftest
$ac_exeext conftest.
$ac_ext
28766 LIBS
=$ac_check_lib_save_LIBS
28768 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
28769 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
28770 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
28772 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
28778 if test "$wxHAVE_XEXT_LIB" = 1; then
28779 save_CFLAGS
="$CFLAGS"
28780 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28782 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
28783 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
28784 cat >conftest.
$ac_ext <<_ACEOF
28787 cat confdefs.h
>>conftest.
$ac_ext
28788 cat >>conftest.
$ac_ext <<_ACEOF
28789 /* end confdefs.h. */
28791 #include <X11/Xlib.h>
28792 #include <X11/extensions/shape.h>
28798 int dummy1, dummy2;
28799 XShapeQueryExtension((Display*)NULL,
28800 (int*)NULL, (int*)NULL);
28806 rm -f conftest.
$ac_objext
28807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28808 (eval $ac_compile) 2>conftest.er1
28810 grep -v '^ *+' conftest.er1
>conftest.err
28812 cat conftest.err
>&5
28813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28814 (exit $ac_status); } &&
28815 { ac_try
='test -z "$ac_c_werror_flag"
28816 || test ! -s conftest.err'
28817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28818 (eval $ac_try) 2>&5
28820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28821 (exit $ac_status); }; } &&
28822 { ac_try
='test -s conftest.$ac_objext'
28823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28824 (eval $ac_try) 2>&5
28826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28827 (exit $ac_status); }; }; then
28829 cat >>confdefs.h
<<\_ACEOF
28830 #define HAVE_XSHAPE 1
28833 echo "$as_me:$LINENO: result: found" >&5
28834 echo "${ECHO_T}found" >&6
28837 echo "$as_me: failed program was:" >&5
28838 sed 's/^/| /' conftest.
$ac_ext >&5
28841 echo "$as_me:$LINENO: result: not found" >&5
28842 echo "${ECHO_T}not found" >&6
28845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28846 CFLAGS
="$save_CFLAGS"
28851 if test "$wxUSE_MAC" = 1; then
28852 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
28853 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
28854 if test "$GCC" = yes; then
28855 echo "$as_me:$LINENO: result: gcc" >&5
28856 echo "${ECHO_T}gcc" >&6
28857 CPPFLAGS_PASCAL
="-fpascal-strings"
28858 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
28859 echo "$as_me:$LINENO: result: xlc" >&5
28860 echo "${ECHO_T}xlc" >&6
28861 CPPFLAGS_PASCAL
="-qmacpstr"
28863 echo "$as_me:$LINENO: result: none" >&5
28864 echo "${ECHO_T}none" >&6
28867 if test "x$wxUSE_UNIX" = "xyes"; then
28868 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
28870 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
28875 WXBASEPORT
="_carbon"
28878 if test "$wxUSE_COCOA" = 1; then
28883 if test "$wxUSE_PM" = 1; then
28886 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
28887 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
28888 if test "${wx_cv_spbcdata+set}" = set; then
28889 echo $ECHO_N "(cached) $ECHO_C" >&6
28892 cat >conftest.
$ac_ext <<_ACEOF
28895 cat confdefs.h
>>conftest.
$ac_ext
28896 cat >>conftest.
$ac_ext <<_ACEOF
28897 /* end confdefs.h. */
28912 rm -f conftest.
$ac_objext
28913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28914 (eval $ac_compile) 2>conftest.er1
28916 grep -v '^ *+' conftest.er1
>conftest.err
28918 cat conftest.err
>&5
28919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28920 (exit $ac_status); } &&
28921 { ac_try
='test -z "$ac_c_werror_flag"
28922 || test ! -s conftest.err'
28923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28924 (eval $ac_try) 2>&5
28926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28927 (exit $ac_status); }; } &&
28928 { ac_try
='test -s conftest.$ac_objext'
28929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28930 (eval $ac_try) 2>&5
28932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28933 (exit $ac_status); }; }; then
28936 echo "$as_me: failed program was:" >&5
28937 sed 's/^/| /' conftest.
$ac_ext >&5
28942 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28946 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
28947 echo "${ECHO_T}$wx_cv_spbcdata" >&6
28949 if test $wx_cv_spbcdata = "yes"; then
28950 cat >>confdefs.h
<<\_ACEOF
28951 #define HAVE_SPBCDATA 1
28957 if test "$TOOLKIT" = "PM" ; then
28960 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
28963 if test "$wxUSE_UNIVERSAL" = "yes"; then
28964 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
28968 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
28969 DISTDIR
="wx\$(TOOLKIT)"
28975 if test "$USE_WIN32" = 1 ; then
28979 GUIDIST
="BASE_DIST"
28989 if test "$TOOLKIT" != "MSW" ; then
28991 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
28993 if test "${ac_cv_header_sql_h+set}" = set; then
28994 echo "$as_me:$LINENO: checking for sql.h" >&5
28995 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28996 if test "${ac_cv_header_sql_h+set}" = set; then
28997 echo $ECHO_N "(cached) $ECHO_C" >&6
28999 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
29000 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
29002 # Is the header compilable?
29003 echo "$as_me:$LINENO: checking sql.h usability" >&5
29004 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
29005 cat >conftest.
$ac_ext <<_ACEOF
29008 cat confdefs.h
>>conftest.
$ac_ext
29009 cat >>conftest.
$ac_ext <<_ACEOF
29010 /* end confdefs.h. */
29011 $ac_includes_default
29014 rm -f conftest.
$ac_objext
29015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29016 (eval $ac_compile) 2>conftest.er1
29018 grep -v '^ *+' conftest.er1
>conftest.err
29020 cat conftest.err
>&5
29021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29022 (exit $ac_status); } &&
29023 { ac_try
='test -z "$ac_c_werror_flag"
29024 || test ! -s conftest.err'
29025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29026 (eval $ac_try) 2>&5
29028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29029 (exit $ac_status); }; } &&
29030 { ac_try
='test -s conftest.$ac_objext'
29031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29032 (eval $ac_try) 2>&5
29034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29035 (exit $ac_status); }; }; then
29036 ac_header_compiler
=yes
29038 echo "$as_me: failed program was:" >&5
29039 sed 's/^/| /' conftest.
$ac_ext >&5
29041 ac_header_compiler
=no
29043 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29044 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29045 echo "${ECHO_T}$ac_header_compiler" >&6
29047 # Is the header present?
29048 echo "$as_me:$LINENO: checking sql.h presence" >&5
29049 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
29050 cat >conftest.
$ac_ext <<_ACEOF
29053 cat confdefs.h
>>conftest.
$ac_ext
29054 cat >>conftest.
$ac_ext <<_ACEOF
29055 /* end confdefs.h. */
29058 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29059 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29061 grep -v '^ *+' conftest.er1
>conftest.err
29063 cat conftest.err
>&5
29064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29065 (exit $ac_status); } >/dev
/null
; then
29066 if test -s conftest.err
; then
29067 ac_cpp_err
=$ac_c_preproc_warn_flag
29068 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29075 if test -z "$ac_cpp_err"; then
29076 ac_header_preproc
=yes
29078 echo "$as_me: failed program was:" >&5
29079 sed 's/^/| /' conftest.
$ac_ext >&5
29081 ac_header_preproc
=no
29083 rm -f conftest.err conftest.
$ac_ext
29084 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29085 echo "${ECHO_T}$ac_header_preproc" >&6
29087 # So? What about this header?
29088 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29090 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
29091 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29092 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
29093 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
29094 ac_header_preproc
=yes
29097 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
29098 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
29099 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
29100 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
29101 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
29102 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
29103 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
29104 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
29105 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
29106 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
29107 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
29108 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
29111 ## ----------------------------------------- ##
29112 ## Report this to wx-dev@lists.wxwidgets.org ##
29113 ## ----------------------------------------- ##
29116 sed "s/^/$as_me: WARNING: /" >&2
29119 echo "$as_me:$LINENO: checking for sql.h" >&5
29120 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
29121 if test "${ac_cv_header_sql_h+set}" = set; then
29122 echo $ECHO_N "(cached) $ECHO_C" >&6
29124 ac_cv_header_sql_h
=$ac_header_preproc
29126 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
29127 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
29130 if test $ac_cv_header_sql_h = yes; then
29135 if test "x$found_sql_h" = "x1" ; then
29136 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
29137 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
29138 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
29139 echo $ECHO_N "(cached) $ECHO_C" >&6
29141 ac_check_lib_save_LIBS
=$LIBS
29142 LIBS
="-liodbc $LIBS"
29143 cat >conftest.
$ac_ext <<_ACEOF
29146 cat confdefs.h
>>conftest.
$ac_ext
29147 cat >>conftest.
$ac_ext <<_ACEOF
29148 /* end confdefs.h. */
29150 /* Override any gcc2 internal prototype to avoid an error. */
29154 /* We use char because int might match the return type of a gcc2
29155 builtin and then its argument prototype would still apply. */
29156 char SQLAllocEnv ();
29165 rm -f conftest.
$ac_objext conftest
$ac_exeext
29166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29167 (eval $ac_link) 2>conftest.er1
29169 grep -v '^ *+' conftest.er1
>conftest.err
29171 cat conftest.err
>&5
29172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29173 (exit $ac_status); } &&
29174 { ac_try
='test -z "$ac_c_werror_flag"
29175 || test ! -s conftest.err'
29176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29177 (eval $ac_try) 2>&5
29179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29180 (exit $ac_status); }; } &&
29181 { ac_try
='test -s conftest$ac_exeext'
29182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29183 (eval $ac_try) 2>&5
29185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29186 (exit $ac_status); }; }; then
29187 ac_cv_lib_iodbc_SQLAllocEnv
=yes
29189 echo "$as_me: failed program was:" >&5
29190 sed 's/^/| /' conftest.
$ac_ext >&5
29192 ac_cv_lib_iodbc_SQLAllocEnv
=no
29194 rm -f conftest.err conftest.
$ac_objext \
29195 conftest
$ac_exeext conftest.
$ac_ext
29196 LIBS
=$ac_check_lib_save_LIBS
29198 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
29199 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
29200 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
29201 ODBC_LINK
=" -liodbc"
29204 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
29205 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
29206 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
29207 echo $ECHO_N "(cached) $ECHO_C" >&6
29209 ac_check_lib_save_LIBS
=$LIBS
29210 LIBS
="-lunixodbc $LIBS"
29211 cat >conftest.
$ac_ext <<_ACEOF
29214 cat confdefs.h
>>conftest.
$ac_ext
29215 cat >>conftest.
$ac_ext <<_ACEOF
29216 /* end confdefs.h. */
29218 /* Override any gcc2 internal prototype to avoid an error. */
29222 /* We use char because int might match the return type of a gcc2
29223 builtin and then its argument prototype would still apply. */
29224 char SQLAllocEnv ();
29233 rm -f conftest.
$ac_objext conftest
$ac_exeext
29234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29235 (eval $ac_link) 2>conftest.er1
29237 grep -v '^ *+' conftest.er1
>conftest.err
29239 cat conftest.err
>&5
29240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29241 (exit $ac_status); } &&
29242 { ac_try
='test -z "$ac_c_werror_flag"
29243 || test ! -s conftest.err'
29244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29245 (eval $ac_try) 2>&5
29247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29248 (exit $ac_status); }; } &&
29249 { ac_try
='test -s conftest$ac_exeext'
29250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29251 (eval $ac_try) 2>&5
29253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29254 (exit $ac_status); }; }; then
29255 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
29257 echo "$as_me: failed program was:" >&5
29258 sed 's/^/| /' conftest.
$ac_ext >&5
29260 ac_cv_lib_unixodbc_SQLAllocEnv
=no
29262 rm -f conftest.err conftest.
$ac_objext \
29263 conftest
$ac_exeext conftest.
$ac_ext
29264 LIBS
=$ac_check_lib_save_LIBS
29266 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
29267 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
29268 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
29269 ODBC_LINK
=" -lunixodbc"
29272 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
29273 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
29274 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
29275 echo $ECHO_N "(cached) $ECHO_C" >&6
29277 ac_check_lib_save_LIBS
=$LIBS
29278 LIBS
="-lodbc $LIBS"
29279 cat >conftest.
$ac_ext <<_ACEOF
29282 cat confdefs.h
>>conftest.
$ac_ext
29283 cat >>conftest.
$ac_ext <<_ACEOF
29284 /* end confdefs.h. */
29286 /* Override any gcc2 internal prototype to avoid an error. */
29290 /* We use char because int might match the return type of a gcc2
29291 builtin and then its argument prototype would still apply. */
29292 char SQLAllocEnv ();
29301 rm -f conftest.
$ac_objext conftest
$ac_exeext
29302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29303 (eval $ac_link) 2>conftest.er1
29305 grep -v '^ *+' conftest.er1
>conftest.err
29307 cat conftest.err
>&5
29308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29309 (exit $ac_status); } &&
29310 { ac_try
='test -z "$ac_c_werror_flag"
29311 || test ! -s conftest.err'
29312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29313 (eval $ac_try) 2>&5
29315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29316 (exit $ac_status); }; } &&
29317 { ac_try
='test -s conftest$ac_exeext'
29318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29319 (eval $ac_try) 2>&5
29321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29322 (exit $ac_status); }; }; then
29323 ac_cv_lib_odbc_SQLAllocEnv
=yes
29325 echo "$as_me: failed program was:" >&5
29326 sed 's/^/| /' conftest.
$ac_ext >&5
29328 ac_cv_lib_odbc_SQLAllocEnv
=no
29330 rm -f conftest.err conftest.
$ac_objext \
29331 conftest
$ac_exeext conftest.
$ac_ext
29332 LIBS
=$ac_check_lib_save_LIBS
29334 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
29335 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
29336 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
29337 ODBC_LINK
=" -lodbc"
29347 if test "x$ODBC_LINK" = "x" ; then
29348 if test "$wxUSE_ODBC" = "sys" ; then
29349 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
29350 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
29351 { (exit 1); exit 1; }; }
29353 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
29354 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
29362 if test "$wxUSE_ODBC" = "builtin" ; then
29363 cat >>confdefs.h
<<\_ACEOF
29364 #define wxUSE_BUILTIN_IODBC 1
29370 if test "$wxUSE_ODBC" != "no" ; then
29371 cat >>confdefs.h
<<\_ACEOF
29372 #define wxUSE_ODBC 1
29375 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
29377 WXODBCFLAG
="-D_IODBC_"
29381 if test "$wxUSE_DISPLAY" = "yes"; then
29382 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
29383 echo "$as_me:$LINENO: checking for Xinerama" >&5
29384 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
29387 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29389 for ac_extension
in a so sl dylib
; do
29390 if test -f "$ac_dir/libXinerama.$ac_extension"; then
29391 ac_find_libraries
=$ac_dir
29397 if test "$ac_find_libraries" != "" ; then
29399 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29401 if test $result = 0; then
29404 ac_path_to_link
=" -L$ac_find_libraries"
29407 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29408 LDFLAGS
="$LDFLAGS $ac_path_to_link"
29410 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
29411 echo "$as_me:$LINENO: result: yes" >&5
29412 echo "${ECHO_T}yes" >&6
29414 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
29415 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
29418 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29420 for ac_extension
in a so sl dylib
; do
29421 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
29422 ac_find_libraries
=$ac_dir
29428 if test "$ac_find_libraries" != "" ; then
29429 echo "$as_me:$LINENO: result: yes" >&5
29430 echo "${ECHO_T}yes" >&6
29432 for ac_header
in X
11/extensions
/xf86vmode.h
29434 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29435 echo "$as_me:$LINENO: checking for $ac_header" >&5
29436 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29437 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29438 echo $ECHO_N "(cached) $ECHO_C" >&6
29440 cat >conftest.
$ac_ext <<_ACEOF
29443 cat confdefs.h
>>conftest.
$ac_ext
29444 cat >>conftest.
$ac_ext <<_ACEOF
29445 /* end confdefs.h. */
29447 #if HAVE_X11_XLIB_H
29448 #include <X11/Xlib.h>
29452 #include <$ac_header>
29454 rm -f conftest.
$ac_objext
29455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29456 (eval $ac_compile) 2>conftest.er1
29458 grep -v '^ *+' conftest.er1
>conftest.err
29460 cat conftest.err
>&5
29461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29462 (exit $ac_status); } &&
29463 { ac_try
='test -z "$ac_c_werror_flag"
29464 || test ! -s conftest.err'
29465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29466 (eval $ac_try) 2>&5
29468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29469 (exit $ac_status); }; } &&
29470 { ac_try
='test -s conftest.$ac_objext'
29471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29472 (eval $ac_try) 2>&5
29474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29475 (exit $ac_status); }; }; then
29476 eval "$as_ac_Header=yes"
29478 echo "$as_me: failed program was:" >&5
29479 sed 's/^/| /' conftest.
$ac_ext >&5
29481 eval "$as_ac_Header=no"
29483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29486 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29487 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29488 cat >>confdefs.h
<<_ACEOF
29489 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29492 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
29499 echo "$as_me:$LINENO: result: no" >&5
29500 echo "${ECHO_T}no" >&6
29504 echo "$as_me:$LINENO: result: no" >&5
29505 echo "${ECHO_T}no" >&6
29506 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
29507 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
29510 elif test "$wxUSE_MSW" = 1; then
29513 for ac_header
in multimon.h ddraw.h
29515 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29516 echo "$as_me:$LINENO: checking for $ac_header" >&5
29517 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29518 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29519 echo $ECHO_N "(cached) $ECHO_C" >&6
29521 cat >conftest.
$ac_ext <<_ACEOF
29524 cat confdefs.h
>>conftest.
$ac_ext
29525 cat >>conftest.
$ac_ext <<_ACEOF
29526 /* end confdefs.h. */
29527 #include <windows.h>
29529 #include <$ac_header>
29531 rm -f conftest.
$ac_objext
29532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29533 (eval $ac_compile) 2>conftest.er1
29535 grep -v '^ *+' conftest.er1
>conftest.err
29537 cat conftest.err
>&5
29538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29539 (exit $ac_status); } &&
29540 { ac_try
='test -z "$ac_c_werror_flag"
29541 || test ! -s conftest.err'
29542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29543 (eval $ac_try) 2>&5
29545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29546 (exit $ac_status); }; } &&
29547 { ac_try
='test -s conftest.$ac_objext'
29548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29549 (eval $ac_try) 2>&5
29551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29552 (exit $ac_status); }; }; then
29553 eval "$as_ac_Header=yes"
29555 echo "$as_me: failed program was:" >&5
29556 sed 's/^/| /' conftest.
$ac_ext >&5
29558 eval "$as_ac_Header=no"
29560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29563 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29564 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29565 cat >>confdefs.h
<<_ACEOF
29566 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29572 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
29573 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
29584 if test "$wxUSE_OPENGL" = "yes"; then
29585 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
29586 OPENGL_LIBS
="-framework OpenGL -framework AGL"
29587 elif test "$wxUSE_MSW" = 1; then
29588 OPENGL_LIBS
="-lopengl32 -lglu32"
29593 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
29595 if test -f "$ac_dir/GL/gl.h"; then
29596 ac_find_includes
=$ac_dir
29601 if test "$ac_find_includes" != "" ; then
29602 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29603 echo "${ECHO_T}found in $ac_find_includes" >&6
29605 if test "x$ac_find_includes" = "x/usr/include"; then
29606 ac_path_to_include
=""
29608 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
29610 if test $result = 0; then
29611 ac_path_to_include
=""
29613 ac_path_to_include
=" -I$ac_find_includes"
29617 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
29620 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29621 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29622 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29623 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29624 echo $ECHO_N "(cached) $ECHO_C" >&6
29626 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29627 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29629 # Is the header compilable?
29630 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
29631 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
29632 cat >conftest.
$ac_ext <<_ACEOF
29635 cat confdefs.h
>>conftest.
$ac_ext
29636 cat >>conftest.
$ac_ext <<_ACEOF
29637 /* end confdefs.h. */
29638 $ac_includes_default
29641 rm -f conftest.
$ac_objext
29642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29643 (eval $ac_compile) 2>conftest.er1
29645 grep -v '^ *+' conftest.er1
>conftest.err
29647 cat conftest.err
>&5
29648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29649 (exit $ac_status); } &&
29650 { ac_try
='test -z "$ac_c_werror_flag"
29651 || test ! -s conftest.err'
29652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29653 (eval $ac_try) 2>&5
29655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29656 (exit $ac_status); }; } &&
29657 { ac_try
='test -s conftest.$ac_objext'
29658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29659 (eval $ac_try) 2>&5
29661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29662 (exit $ac_status); }; }; then
29663 ac_header_compiler
=yes
29665 echo "$as_me: failed program was:" >&5
29666 sed 's/^/| /' conftest.
$ac_ext >&5
29668 ac_header_compiler
=no
29670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29671 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29672 echo "${ECHO_T}$ac_header_compiler" >&6
29674 # Is the header present?
29675 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
29676 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
29677 cat >conftest.
$ac_ext <<_ACEOF
29680 cat confdefs.h
>>conftest.
$ac_ext
29681 cat >>conftest.
$ac_ext <<_ACEOF
29682 /* end confdefs.h. */
29685 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29686 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29688 grep -v '^ *+' conftest.er1
>conftest.err
29690 cat conftest.err
>&5
29691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29692 (exit $ac_status); } >/dev
/null
; then
29693 if test -s conftest.err
; then
29694 ac_cpp_err
=$ac_c_preproc_warn_flag
29695 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29702 if test -z "$ac_cpp_err"; then
29703 ac_header_preproc
=yes
29705 echo "$as_me: failed program was:" >&5
29706 sed 's/^/| /' conftest.
$ac_ext >&5
29708 ac_header_preproc
=no
29710 rm -f conftest.err conftest.
$ac_ext
29711 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29712 echo "${ECHO_T}$ac_header_preproc" >&6
29714 # So? What about this header?
29715 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29717 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
29718 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29719 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
29720 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
29721 ac_header_preproc
=yes
29724 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
29725 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
29726 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
29727 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
29728 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
29729 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
29730 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
29731 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
29732 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
29733 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
29734 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
29735 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
29738 ## ----------------------------------------- ##
29739 ## Report this to wx-dev@lists.wxwidgets.org ##
29740 ## ----------------------------------------- ##
29743 sed "s/^/$as_me: WARNING: /" >&2
29746 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29747 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29748 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29749 echo $ECHO_N "(cached) $ECHO_C" >&6
29751 ac_cv_header_GL_gl_h
=$ac_header_preproc
29753 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29754 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29757 if test $ac_cv_header_GL_gl_h = yes; then
29761 echo "$as_me:$LINENO: checking for -lGL" >&5
29762 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
29765 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29767 for ac_extension
in a so sl dylib
; do
29768 if test -f "$ac_dir/libGL.$ac_extension"; then
29769 ac_find_libraries
=$ac_dir
29775 if test "$ac_find_libraries" != "" ; then
29776 echo "$as_me:$LINENO: result: yes" >&5
29777 echo "${ECHO_T}yes" >&6
29780 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29782 if test $result = 0; then
29785 ac_path_to_link
=" -L$ac_find_libraries"
29788 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29789 LDFLAGS_GL
="$ac_path_to_link"
29792 echo "$as_me:$LINENO: checking for -lGLU" >&5
29793 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
29796 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29798 for ac_extension
in a so sl dylib
; do
29799 if test -f "$ac_dir/libGLU.$ac_extension"; then
29800 ac_find_libraries
=$ac_dir
29806 if test "$ac_find_libraries" != "" ; then
29808 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29810 if test $result = 0; then
29813 ac_path_to_link
=" -L$ac_find_libraries"
29816 if test "$ac_path_to_link" != " -L/usr/lib" -a \
29817 "$ac_path_to_link" != "$LDFLAGS_GL"; then
29818 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
29822 OPENGL_LIBS
="-lGL -lGLU"
29823 echo "$as_me:$LINENO: result: yes" >&5
29824 echo "${ECHO_T}yes" >&6
29826 echo "$as_me:$LINENO: result: no" >&5
29827 echo "${ECHO_T}no" >&6
29830 echo "$as_me:$LINENO: result: no" >&5
29831 echo "${ECHO_T}no" >&6
29834 if test "$found_gl" != 1; then
29835 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
29836 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
29839 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29841 for ac_extension
in a so sl dylib
; do
29842 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
29843 ac_find_libraries
=$ac_dir
29849 if test "$ac_find_libraries" != "" ; then
29851 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29853 if test $result = 0; then
29856 ac_path_to_link
=" -L$ac_find_libraries"
29859 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
29860 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
29861 echo "$as_me:$LINENO: result: yes" >&5
29862 echo "${ECHO_T}yes" >&6
29864 echo "$as_me:$LINENO: result: no" >&5
29865 echo "${ECHO_T}no" >&6
29873 if test "x$OPENGL_LIBS" = "x"; then
29874 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
29875 echo "$as_me: error: OpenGL libraries not available" >&2;}
29876 { (exit 1); exit 1; }; }
29880 if test "$wxUSE_OPENGL" = "yes"; then
29882 cat >>confdefs.h
<<\_ACEOF
29883 #define wxUSE_OPENGL 1
29886 cat >>confdefs.h
<<\_ACEOF
29887 #define wxUSE_GLCANVAS 1
29890 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
29895 if test -n "$TOOLKIT" ; then
29896 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
29901 if test "$wxUSE_SHARED" = "yes"; then
29905 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
29906 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
29911 if test "$wxUSE_SHARED" = "yes"; then
29914 found_versioning
=no
29917 if test $found_versioning = no
; then
29918 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
29919 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
29920 if test "${wx_cv_version_script+set}" = set; then
29921 echo $ECHO_N "(cached) $ECHO_C" >&6
29924 echo "VER_1 { *; };" >conftest.sym
29925 echo "int main() { return 0; }" >conftest.cpp
29928 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29929 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29931 (eval $ac_try) 2>&5
29933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29934 (exit $ac_status); }; } ; then
29935 if test -s conftest.stderr
; then
29936 wx_cv_version_script
=no
29938 wx_cv_version_script
=yes
29941 wx_cv_version_script
=no
29944 if test $wx_cv_version_script = yes
29946 echo "struct B { virtual ~B() { } }; \
29947 struct D : public B { }; \
29948 void F() { D d; }" > conftest.cpp
29951 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29952 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
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); }; } &&
29959 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29960 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
29961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29962 (eval $ac_try) 2>&5
29964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29965 (exit $ac_status); }; }
29968 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29969 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
29970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29971 (eval $ac_try) 2>&5
29973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29974 (exit $ac_status); }; }
29976 wx_cv_version_script
=yes
29978 wx_cv_version_script
=no
29983 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29984 rm -f conftest1.output conftest2.output conftest3.output
29987 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
29988 echo "${ECHO_T}$wx_cv_version_script" >&6
29989 if test $wx_cv_version_script = yes ; then
29990 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
29996 *-*-linux* | *-*-gnu* )
29997 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
29998 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
30002 if test "$GCC" = yes ; then
30003 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
30005 saveLdflags
="$LDFLAGS"
30006 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
30007 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
30008 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
30009 cat >conftest.
$ac_ext <<_ACEOF
30012 cat confdefs.h
>>conftest.
$ac_ext
30013 cat >>conftest.
$ac_ext <<_ACEOF
30014 /* end confdefs.h. */
30024 rm -f conftest.
$ac_objext conftest
$ac_exeext
30025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30026 (eval $ac_link) 2>conftest.er1
30028 grep -v '^ *+' conftest.er1
>conftest.err
30030 cat conftest.err
>&5
30031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30032 (exit $ac_status); } &&
30033 { ac_try
='test -z "$ac_c_werror_flag"
30034 || test ! -s conftest.err'
30035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30036 (eval $ac_try) 2>&5
30038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30039 (exit $ac_status); }; } &&
30040 { ac_try
='test -s conftest$ac_exeext'
30041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30042 (eval $ac_try) 2>&5
30044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30045 (exit $ac_status); }; }; then
30047 echo "$as_me:$LINENO: result: yes" >&5
30048 echo "${ECHO_T}yes" >&6
30049 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
30050 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
30053 echo "$as_me: failed program was:" >&5
30054 sed 's/^/| /' conftest.
$ac_ext >&5
30057 echo "$as_me:$LINENO: result: no" >&5
30058 echo "${ECHO_T}no" >&6
30059 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
30060 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
30061 LDFLAGS
="$saveLdflags -Wl,-R,/"
30062 cat >conftest.
$ac_ext <<_ACEOF
30065 cat confdefs.h
>>conftest.
$ac_ext
30066 cat >>conftest.
$ac_ext <<_ACEOF
30067 /* end confdefs.h. */
30077 rm -f conftest.
$ac_objext conftest
$ac_exeext
30078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30079 (eval $ac_link) 2>conftest.er1
30081 grep -v '^ *+' conftest.er1
>conftest.err
30083 cat conftest.err
>&5
30084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30085 (exit $ac_status); } &&
30086 { ac_try
='test -z "$ac_c_werror_flag"
30087 || test ! -s conftest.err'
30088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30089 (eval $ac_try) 2>&5
30091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30092 (exit $ac_status); }; } &&
30093 { ac_try
='test -s conftest$ac_exeext'
30094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30095 (eval $ac_try) 2>&5
30097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30098 (exit $ac_status); }; }; then
30100 echo "$as_me:$LINENO: result: yes" >&5
30101 echo "${ECHO_T}yes" >&6
30102 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
30103 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
30106 echo "$as_me: failed program was:" >&5
30107 sed 's/^/| /' conftest.
$ac_ext >&5
30110 echo "$as_me:$LINENO: result: no" >&5
30111 echo "${ECHO_T}no" >&6
30114 rm -f conftest.err conftest.
$ac_objext \
30115 conftest
$ac_exeext conftest.
$ac_ext
30118 rm -f conftest.err conftest.
$ac_objext \
30119 conftest
$ac_exeext conftest.
$ac_ext
30120 LDFLAGS
="$saveLdflags"
30122 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
30123 WXCONFIG_RPATH
="-R\$libdir"
30127 powerpc
-*-darwin* )
30128 install_name_tool
=`which install_name_tool`
30129 if test "$install_name_tool" -a -x "$install_name_tool"; then
30130 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
30131 cat <<EOF >change-install-names
30133 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
30134 inst_cmd="install_name_tool "
30135 for i in \${libnames} ; do
30136 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
30140 chmod +x change
-install-names
30144 *-*-cygwin* | *-*-mingw32* )
30145 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
30149 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
30150 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
30155 if test $wxUSE_RPATH = "no"; then
30156 SAMPLES_RPATH_FLAG
=''
30157 SAMPLES_RPATH_POSTLINK
=''
30165 config_linkage_component
="-static"
30172 lib_unicode_suffix
=
30174 if test "$wxUSE_UNICODE" = "yes"; then
30175 lib_unicode_suffix
=u
30176 WX_CHARTYPE
="unicode"
30181 WX_DEBUGTYPE
="release"
30183 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
30185 WX_DEBUGTYPE
="debug"
30189 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
30190 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
30193 if test "$wxUSE_DEBUG_INFO" = "yes"; then
30197 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
30199 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
30201 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
30203 if test "$cross_compiling" = "yes"; then
30204 HOST_SUFFIX
="-$host_alias"
30205 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
30206 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
30209 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30210 if test "${TOOLKIT_DIR}" = "os2"; then
30211 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30213 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30218 if test "$wxUSE_COCOA" = 1; then
30222 ac_cpp
='$CPP $CPPFLAGS'
30223 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30224 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30225 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30229 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
30230 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
30231 cat >conftest.
$ac_ext <<_ACEOF
30234 cat confdefs.h
>>conftest.
$ac_ext
30235 cat >>conftest.
$ac_ext <<_ACEOF
30236 /* end confdefs.h. */
30237 #include <AppKit/NSEvent.h>
30238 #include <CoreFoundation/CoreFoundation.h>
30248 rm -f conftest.
$ac_objext
30249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30250 (eval $ac_compile) 2>conftest.er1
30252 grep -v '^ *+' conftest.er1
>conftest.err
30254 cat conftest.err
>&5
30255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30256 (exit $ac_status); } &&
30257 { ac_try
='test -z "$ac_c_werror_flag"
30258 || test ! -s conftest.err'
30259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30260 (eval $ac_try) 2>&5
30262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30263 (exit $ac_status); }; } &&
30264 { ac_try
='test -s conftest.$ac_objext'
30265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30266 (eval $ac_try) 2>&5
30268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30269 (exit $ac_status); }; }; then
30270 echo "$as_me:$LINENO: result: no" >&5
30271 echo "${ECHO_T}no" >&6
30273 echo "$as_me: failed program was:" >&5
30274 sed 's/^/| /' conftest.
$ac_ext >&5
30276 echo "$as_me:$LINENO: result: yes" >&5
30277 echo "${ECHO_T}yes" >&6
30278 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
30279 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
30280 cat >conftest.
$ac_ext <<_ACEOF
30283 cat confdefs.h
>>conftest.
$ac_ext
30284 cat >>conftest.
$ac_ext <<_ACEOF
30285 /* end confdefs.h. */
30286 #define __Point__ 1
30287 #include <AppKit/NSEvent.h>
30288 #include <CoreFoundation/CoreFoundation.h>
30298 rm -f conftest.
$ac_objext
30299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30300 (eval $ac_compile) 2>conftest.er1
30302 grep -v '^ *+' conftest.er1
>conftest.err
30304 cat conftest.err
>&5
30305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30306 (exit $ac_status); } &&
30307 { ac_try
='test -z "$ac_c_werror_flag"
30308 || test ! -s conftest.err'
30309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30310 (eval $ac_try) 2>&5
30312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30313 (exit $ac_status); }; } &&
30314 { ac_try
='test -s conftest.$ac_objext'
30315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30316 (eval $ac_try) 2>&5
30318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30319 (exit $ac_status); }; }; then
30320 echo "$as_me:$LINENO: result: yes" >&5
30321 echo "${ECHO_T}yes" >&6
30322 cat >>confdefs.h
<<\_ACEOF
30323 #define __Point__ 1
30328 echo "$as_me: failed program was:" >&5
30329 sed 's/^/| /' conftest.
$ac_ext >&5
30331 { { echo "$as_me:$LINENO: error: no
30332 See \`config.log' for more details." >&5
30333 echo "$as_me: error: no
30334 See \`config.log' for more details." >&2;}
30335 { (exit 1); exit 1; }; }
30338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30343 ac_cpp
='$CPP $CPPFLAGS'
30344 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30345 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30346 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30350 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
30351 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
30352 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
30354 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
30356 # Extract the first word of "Rez", so it can be a program name with args.
30357 set dummy Rez
; ac_word
=$2
30358 echo "$as_me:$LINENO: checking for $ac_word" >&5
30359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30360 if test "${ac_cv_prog_RESCOMP+set}" = set; then
30361 echo $ECHO_N "(cached) $ECHO_C" >&6
30363 if test -n "$RESCOMP"; then
30364 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
30366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30367 for as_dir
in $PATH
30370 test -z "$as_dir" && as_dir
=.
30371 for ac_exec_ext
in '' $ac_executable_extensions; do
30372 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30373 ac_cv_prog_RESCOMP
="Rez"
30374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30380 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
30383 RESCOMP
=$ac_cv_prog_RESCOMP
30384 if test -n "$RESCOMP"; then
30385 echo "$as_me:$LINENO: result: $RESCOMP" >&5
30386 echo "${ECHO_T}$RESCOMP" >&6
30388 echo "$as_me:$LINENO: result: no" >&5
30389 echo "${ECHO_T}no" >&6
30392 # Extract the first word of "DeRez", so it can be a program name with args.
30393 set dummy DeRez
; ac_word
=$2
30394 echo "$as_me:$LINENO: checking for $ac_word" >&5
30395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30396 if test "${ac_cv_prog_DEREZ+set}" = set; then
30397 echo $ECHO_N "(cached) $ECHO_C" >&6
30399 if test -n "$DEREZ"; then
30400 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
30402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30403 for as_dir
in $PATH
30406 test -z "$as_dir" && as_dir
=.
30407 for ac_exec_ext
in '' $ac_executable_extensions; do
30408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30409 ac_cv_prog_DEREZ
="DeRez"
30410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30416 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
30419 DEREZ
=$ac_cv_prog_DEREZ
30420 if test -n "$DEREZ"; then
30421 echo "$as_me:$LINENO: result: $DEREZ" >&5
30422 echo "${ECHO_T}$DEREZ" >&6
30424 echo "$as_me:$LINENO: result: no" >&5
30425 echo "${ECHO_T}no" >&6
30428 # Extract the first word of "SetFile", so it can be a program name with args.
30429 set dummy SetFile
; ac_word
=$2
30430 echo "$as_me:$LINENO: checking for $ac_word" >&5
30431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30432 if test "${ac_cv_prog_SETFILE+set}" = set; then
30433 echo $ECHO_N "(cached) $ECHO_C" >&6
30435 if test -n "$SETFILE"; then
30436 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
30438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30439 for as_dir
in $PATH
30442 test -z "$as_dir" && as_dir
=.
30443 for ac_exec_ext
in '' $ac_executable_extensions; do
30444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30445 ac_cv_prog_SETFILE
="SetFile"
30446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30452 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
30455 SETFILE
=$ac_cv_prog_SETFILE
30456 if test -n "$SETFILE"; then
30457 echo "$as_me:$LINENO: result: $SETFILE" >&5
30458 echo "${ECHO_T}$SETFILE" >&6
30460 echo "$as_me:$LINENO: result: no" >&5
30461 echo "${ECHO_T}no" >&6
30465 MACSETFILE
="\$(SETFILE)"
30467 if test "$wxUSE_MAC" = 1; then
30468 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r -o"
30470 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r -o"
30472 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
30473 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
30477 MACRESWXCONFIG
="@true"
30479 if test "$wxUSE_PM" = 1; then
30480 MACRESCOMP
="emxbind -ep"
30488 echo "$as_me:$LINENO: checking for mode_t" >&5
30489 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
30490 if test "${ac_cv_type_mode_t+set}" = set; then
30491 echo $ECHO_N "(cached) $ECHO_C" >&6
30493 cat >conftest.
$ac_ext <<_ACEOF
30496 cat confdefs.h
>>conftest.
$ac_ext
30497 cat >>conftest.
$ac_ext <<_ACEOF
30498 /* end confdefs.h. */
30499 $ac_includes_default
30505 if (sizeof (mode_t))
30511 rm -f conftest.
$ac_objext
30512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30513 (eval $ac_compile) 2>conftest.er1
30515 grep -v '^ *+' conftest.er1
>conftest.err
30517 cat conftest.err
>&5
30518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30519 (exit $ac_status); } &&
30520 { ac_try
='test -z "$ac_c_werror_flag"
30521 || test ! -s conftest.err'
30522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30523 (eval $ac_try) 2>&5
30525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30526 (exit $ac_status); }; } &&
30527 { ac_try
='test -s conftest.$ac_objext'
30528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30529 (eval $ac_try) 2>&5
30531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30532 (exit $ac_status); }; }; then
30533 ac_cv_type_mode_t
=yes
30535 echo "$as_me: failed program was:" >&5
30536 sed 's/^/| /' conftest.
$ac_ext >&5
30538 ac_cv_type_mode_t
=no
30540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30542 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
30543 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
30544 if test $ac_cv_type_mode_t = yes; then
30548 cat >>confdefs.h
<<_ACEOF
30554 echo "$as_me:$LINENO: checking for off_t" >&5
30555 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
30556 if test "${ac_cv_type_off_t+set}" = set; then
30557 echo $ECHO_N "(cached) $ECHO_C" >&6
30559 cat >conftest.
$ac_ext <<_ACEOF
30562 cat confdefs.h
>>conftest.
$ac_ext
30563 cat >>conftest.
$ac_ext <<_ACEOF
30564 /* end confdefs.h. */
30565 $ac_includes_default
30571 if (sizeof (off_t))
30577 rm -f conftest.
$ac_objext
30578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30579 (eval $ac_compile) 2>conftest.er1
30581 grep -v '^ *+' conftest.er1
>conftest.err
30583 cat conftest.err
>&5
30584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30585 (exit $ac_status); } &&
30586 { ac_try
='test -z "$ac_c_werror_flag"
30587 || test ! -s conftest.err'
30588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30589 (eval $ac_try) 2>&5
30591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30592 (exit $ac_status); }; } &&
30593 { ac_try
='test -s conftest.$ac_objext'
30594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30595 (eval $ac_try) 2>&5
30597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30598 (exit $ac_status); }; }; then
30599 ac_cv_type_off_t
=yes
30601 echo "$as_me: failed program was:" >&5
30602 sed 's/^/| /' conftest.
$ac_ext >&5
30604 ac_cv_type_off_t
=no
30606 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30608 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
30609 echo "${ECHO_T}$ac_cv_type_off_t" >&6
30610 if test $ac_cv_type_off_t = yes; then
30614 cat >>confdefs.h
<<_ACEOF
30620 echo "$as_me:$LINENO: checking for pid_t" >&5
30621 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
30622 if test "${ac_cv_type_pid_t+set}" = set; then
30623 echo $ECHO_N "(cached) $ECHO_C" >&6
30625 cat >conftest.
$ac_ext <<_ACEOF
30628 cat confdefs.h
>>conftest.
$ac_ext
30629 cat >>conftest.
$ac_ext <<_ACEOF
30630 /* end confdefs.h. */
30631 $ac_includes_default
30637 if (sizeof (pid_t))
30643 rm -f conftest.
$ac_objext
30644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30645 (eval $ac_compile) 2>conftest.er1
30647 grep -v '^ *+' conftest.er1
>conftest.err
30649 cat conftest.err
>&5
30650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30651 (exit $ac_status); } &&
30652 { ac_try
='test -z "$ac_c_werror_flag"
30653 || test ! -s conftest.err'
30654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30655 (eval $ac_try) 2>&5
30657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30658 (exit $ac_status); }; } &&
30659 { ac_try
='test -s conftest.$ac_objext'
30660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30661 (eval $ac_try) 2>&5
30663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30664 (exit $ac_status); }; }; then
30665 ac_cv_type_pid_t
=yes
30667 echo "$as_me: failed program was:" >&5
30668 sed 's/^/| /' conftest.
$ac_ext >&5
30670 ac_cv_type_pid_t
=no
30672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30674 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
30675 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
30676 if test $ac_cv_type_pid_t = yes; then
30680 cat >>confdefs.h
<<_ACEOF
30686 echo "$as_me:$LINENO: checking for size_t" >&5
30687 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
30688 if test "${ac_cv_type_size_t+set}" = set; then
30689 echo $ECHO_N "(cached) $ECHO_C" >&6
30691 cat >conftest.
$ac_ext <<_ACEOF
30694 cat confdefs.h
>>conftest.
$ac_ext
30695 cat >>conftest.
$ac_ext <<_ACEOF
30696 /* end confdefs.h. */
30697 $ac_includes_default
30703 if (sizeof (size_t))
30709 rm -f conftest.
$ac_objext
30710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30711 (eval $ac_compile) 2>conftest.er1
30713 grep -v '^ *+' conftest.er1
>conftest.err
30715 cat conftest.err
>&5
30716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30717 (exit $ac_status); } &&
30718 { ac_try
='test -z "$ac_c_werror_flag"
30719 || test ! -s conftest.err'
30720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30721 (eval $ac_try) 2>&5
30723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30724 (exit $ac_status); }; } &&
30725 { ac_try
='test -s conftest.$ac_objext'
30726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30727 (eval $ac_try) 2>&5
30729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30730 (exit $ac_status); }; }; then
30731 ac_cv_type_size_t
=yes
30733 echo "$as_me: failed program was:" >&5
30734 sed 's/^/| /' conftest.
$ac_ext >&5
30736 ac_cv_type_size_t
=no
30738 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30740 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
30741 echo "${ECHO_T}$ac_cv_type_size_t" >&6
30742 if test $ac_cv_type_size_t = yes; then
30746 cat >>confdefs.h
<<_ACEOF
30747 #define size_t unsigned
30752 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
30753 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
30754 if test "${ac_cv_type_uid_t+set}" = set; then
30755 echo $ECHO_N "(cached) $ECHO_C" >&6
30757 cat >conftest.
$ac_ext <<_ACEOF
30760 cat confdefs.h
>>conftest.
$ac_ext
30761 cat >>conftest.
$ac_ext <<_ACEOF
30762 /* end confdefs.h. */
30763 #include <sys/types.h>
30766 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
30767 $EGREP "uid_t" >/dev
/null
2>&1; then
30768 ac_cv_type_uid_t
=yes
30770 ac_cv_type_uid_t
=no
30775 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
30776 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
30777 if test $ac_cv_type_uid_t = no
; then
30779 cat >>confdefs.h
<<\_ACEOF
30784 cat >>confdefs.h
<<\_ACEOF
30791 echo "$as_me:$LINENO: checking for ssize_t" >&5
30792 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
30793 if test "${ac_cv_type_ssize_t+set}" = set; then
30794 echo $ECHO_N "(cached) $ECHO_C" >&6
30796 cat >conftest.
$ac_ext <<_ACEOF
30799 cat confdefs.h
>>conftest.
$ac_ext
30800 cat >>conftest.
$ac_ext <<_ACEOF
30801 /* end confdefs.h. */
30802 $ac_includes_default
30808 if (sizeof (ssize_t))
30814 rm -f conftest.
$ac_objext
30815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30816 (eval $ac_compile) 2>conftest.er1
30818 grep -v '^ *+' conftest.er1
>conftest.err
30820 cat conftest.err
>&5
30821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30822 (exit $ac_status); } &&
30823 { ac_try
='test -z "$ac_c_werror_flag"
30824 || test ! -s conftest.err'
30825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30826 (eval $ac_try) 2>&5
30828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30829 (exit $ac_status); }; } &&
30830 { ac_try
='test -s conftest.$ac_objext'
30831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30832 (eval $ac_try) 2>&5
30834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30835 (exit $ac_status); }; }; then
30836 ac_cv_type_ssize_t
=yes
30838 echo "$as_me: failed program was:" >&5
30839 sed 's/^/| /' conftest.
$ac_ext >&5
30841 ac_cv_type_ssize_t
=no
30843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30845 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
30846 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
30847 if test $ac_cv_type_ssize_t = yes; then
30849 cat >>confdefs.h
<<_ACEOF
30850 #define HAVE_SSIZE_T 1
30860 ac_cpp
='$CXXCPP $CPPFLAGS'
30861 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30862 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30863 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30865 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
30866 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
30867 if test "${wx_cv_size_t_is_uint+set}" = set; then
30868 echo $ECHO_N "(cached) $ECHO_C" >&6
30871 cat >conftest.
$ac_ext <<_ACEOF
30874 cat confdefs.h
>>conftest.
$ac_ext
30875 cat >>conftest.
$ac_ext <<_ACEOF
30876 /* end confdefs.h. */
30877 #include <stddef.h>
30884 struct Foo { void foo(size_t); void foo(unsigned int); };
30892 rm -f conftest.
$ac_objext
30893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30894 (eval $ac_compile) 2>conftest.er1
30896 grep -v '^ *+' conftest.er1
>conftest.err
30898 cat conftest.err
>&5
30899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30900 (exit $ac_status); } &&
30901 { ac_try
='test -z "$ac_cxx_werror_flag"
30902 || test ! -s conftest.err'
30903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30904 (eval $ac_try) 2>&5
30906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30907 (exit $ac_status); }; } &&
30908 { ac_try
='test -s conftest.$ac_objext'
30909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30910 (eval $ac_try) 2>&5
30912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30913 (exit $ac_status); }; }; then
30914 wx_cv_size_t_is_uint
=no
30916 echo "$as_me: failed program was:" >&5
30917 sed 's/^/| /' conftest.
$ac_ext >&5
30919 wx_cv_size_t_is_uint
=yes
30922 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30926 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
30927 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
30929 if test "$wx_cv_size_t_is_uint" = "yes"; then
30930 cat >>confdefs.h
<<\_ACEOF
30931 #define wxSIZE_T_IS_UINT 1
30935 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
30936 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
30937 if test "${wx_cv_size_t_is_ulong+set}" = set; then
30938 echo $ECHO_N "(cached) $ECHO_C" >&6
30940 cat >conftest.
$ac_ext <<_ACEOF
30943 cat confdefs.h
>>conftest.
$ac_ext
30944 cat >>conftest.
$ac_ext <<_ACEOF
30945 /* end confdefs.h. */
30946 #include <stddef.h>
30953 struct Foo { void foo(size_t); void foo(unsigned long); };
30961 rm -f conftest.
$ac_objext
30962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30963 (eval $ac_compile) 2>conftest.er1
30965 grep -v '^ *+' conftest.er1
>conftest.err
30967 cat conftest.err
>&5
30968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30969 (exit $ac_status); } &&
30970 { ac_try
='test -z "$ac_cxx_werror_flag"
30971 || test ! -s conftest.err'
30972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30973 (eval $ac_try) 2>&5
30975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30976 (exit $ac_status); }; } &&
30977 { ac_try
='test -s conftest.$ac_objext'
30978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30979 (eval $ac_try) 2>&5
30981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30982 (exit $ac_status); }; }; then
30983 wx_cv_size_t_is_ulong
=no
30985 echo "$as_me: failed program was:" >&5
30986 sed 's/^/| /' conftest.
$ac_ext >&5
30988 wx_cv_size_t_is_ulong
=yes
30991 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30994 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
30995 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
30997 if test "$wx_cv_size_t_is_ulong" = "yes"; then
30998 cat >>confdefs.h
<<\_ACEOF
30999 #define wxSIZE_T_IS_ULONG 1
31006 ac_cpp
='$CPP $CPPFLAGS'
31007 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31008 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31009 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31013 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
31014 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
31015 if test "${wx_cv_struct_pw_gecos+set}" = set; then
31016 echo $ECHO_N "(cached) $ECHO_C" >&6
31019 cat >conftest.
$ac_ext <<_ACEOF
31022 cat confdefs.h
>>conftest.
$ac_ext
31023 cat >>conftest.
$ac_ext <<_ACEOF
31024 /* end confdefs.h. */
31038 rm -f conftest.
$ac_objext
31039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31040 (eval $ac_compile) 2>conftest.er1
31042 grep -v '^ *+' conftest.er1
>conftest.err
31044 cat conftest.err
>&5
31045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31046 (exit $ac_status); } &&
31047 { ac_try
='test -z "$ac_c_werror_flag"
31048 || test ! -s conftest.err'
31049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31050 (eval $ac_try) 2>&5
31052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31053 (exit $ac_status); }; } &&
31054 { ac_try
='test -s conftest.$ac_objext'
31055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31056 (eval $ac_try) 2>&5
31058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31059 (exit $ac_status); }; }; then
31061 wx_cv_struct_pw_gecos
=yes
31064 echo "$as_me: failed program was:" >&5
31065 sed 's/^/| /' conftest.
$ac_ext >&5
31068 wx_cv_struct_pw_gecos
=no
31072 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31076 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
31077 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
31079 if test "$wx_cv_struct_pw_gecos" = "yes"; then
31080 cat >>confdefs.h
<<\_ACEOF
31081 #define HAVE_PW_GECOS 1
31087 if test "$wxUSE_WCHAR_T" = "yes"; then
31088 cat >>confdefs.h
<<\_ACEOF
31089 #define wxUSE_WCHAR_T 1
31096 for ac_func
in wcslen
31098 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31099 echo "$as_me:$LINENO: checking for $ac_func" >&5
31100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31101 if eval "test \"\${$as_ac_var+set}\" = set"; then
31102 echo $ECHO_N "(cached) $ECHO_C" >&6
31104 cat >conftest.
$ac_ext <<_ACEOF
31107 cat confdefs.h
>>conftest.
$ac_ext
31108 cat >>conftest.
$ac_ext <<_ACEOF
31109 /* end confdefs.h. */
31110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31111 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31112 #define $ac_func innocuous_$ac_func
31114 /* System header to define __stub macros and hopefully few prototypes,
31115 which can conflict with char $ac_func (); below.
31116 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31117 <limits.h> exists even on freestanding compilers. */
31120 # include <limits.h>
31122 # include <assert.h>
31127 /* Override any gcc2 internal prototype to avoid an error. */
31132 /* We use char because int might match the return type of a gcc2
31133 builtin and then its argument prototype would still apply. */
31135 /* The GNU C library defines this for functions which it implements
31136 to always fail with ENOSYS. Some functions are actually named
31137 something starting with __ and the normal name is an alias. */
31138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31141 char (*f) () = $ac_func;
31150 return f != $ac_func;
31155 rm -f conftest.
$ac_objext conftest
$ac_exeext
31156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31157 (eval $ac_link) 2>conftest.er1
31159 grep -v '^ *+' conftest.er1
>conftest.err
31161 cat conftest.err
>&5
31162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31163 (exit $ac_status); } &&
31164 { ac_try
='test -z "$ac_c_werror_flag"
31165 || test ! -s conftest.err'
31166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31167 (eval $ac_try) 2>&5
31169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31170 (exit $ac_status); }; } &&
31171 { ac_try
='test -s conftest$ac_exeext'
31172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31173 (eval $ac_try) 2>&5
31175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31176 (exit $ac_status); }; }; then
31177 eval "$as_ac_var=yes"
31179 echo "$as_me: failed program was:" >&5
31180 sed 's/^/| /' conftest.
$ac_ext >&5
31182 eval "$as_ac_var=no"
31184 rm -f conftest.err conftest.
$ac_objext \
31185 conftest
$ac_exeext conftest.
$ac_ext
31187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31188 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31189 if test `eval echo '${'$as_ac_var'}'` = yes; then
31190 cat >>confdefs.h
<<_ACEOF
31191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31198 if test "$WCSLEN_FOUND" = 0; then
31199 if test "$TOOLKIT" = "MSW"; then
31200 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
31201 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
31202 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
31203 echo $ECHO_N "(cached) $ECHO_C" >&6
31205 ac_check_lib_save_LIBS
=$LIBS
31206 LIBS
="-lmsvcrt $LIBS"
31207 cat >conftest.
$ac_ext <<_ACEOF
31210 cat confdefs.h
>>conftest.
$ac_ext
31211 cat >>conftest.
$ac_ext <<_ACEOF
31212 /* end confdefs.h. */
31214 /* Override any gcc2 internal prototype to avoid an error. */
31218 /* We use char because int might match the return type of a gcc2
31219 builtin and then its argument prototype would still apply. */
31229 rm -f conftest.
$ac_objext conftest
$ac_exeext
31230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31231 (eval $ac_link) 2>conftest.er1
31233 grep -v '^ *+' conftest.er1
>conftest.err
31235 cat conftest.err
>&5
31236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31237 (exit $ac_status); } &&
31238 { ac_try
='test -z "$ac_c_werror_flag"
31239 || test ! -s conftest.err'
31240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31241 (eval $ac_try) 2>&5
31243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31244 (exit $ac_status); }; } &&
31245 { ac_try
='test -s conftest$ac_exeext'
31246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31247 (eval $ac_try) 2>&5
31249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31250 (exit $ac_status); }; }; then
31251 ac_cv_lib_msvcrt_wcslen
=yes
31253 echo "$as_me: failed program was:" >&5
31254 sed 's/^/| /' conftest.
$ac_ext >&5
31256 ac_cv_lib_msvcrt_wcslen
=no
31258 rm -f conftest.err conftest.
$ac_objext \
31259 conftest
$ac_exeext conftest.
$ac_ext
31260 LIBS
=$ac_check_lib_save_LIBS
31262 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
31263 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
31264 if test $ac_cv_lib_msvcrt_wcslen = yes; then
31269 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
31270 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
31271 if test "${ac_cv_lib_w_wcslen+set}" = set; then
31272 echo $ECHO_N "(cached) $ECHO_C" >&6
31274 ac_check_lib_save_LIBS
=$LIBS
31276 cat >conftest.
$ac_ext <<_ACEOF
31279 cat confdefs.h
>>conftest.
$ac_ext
31280 cat >>conftest.
$ac_ext <<_ACEOF
31281 /* end confdefs.h. */
31283 /* Override any gcc2 internal prototype to avoid an error. */
31287 /* We use char because int might match the return type of a gcc2
31288 builtin and then its argument prototype would still apply. */
31298 rm -f conftest.
$ac_objext conftest
$ac_exeext
31299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31300 (eval $ac_link) 2>conftest.er1
31302 grep -v '^ *+' conftest.er1
>conftest.err
31304 cat conftest.err
>&5
31305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31306 (exit $ac_status); } &&
31307 { ac_try
='test -z "$ac_c_werror_flag"
31308 || test ! -s conftest.err'
31309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31310 (eval $ac_try) 2>&5
31312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31313 (exit $ac_status); }; } &&
31314 { ac_try
='test -s conftest$ac_exeext'
31315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31316 (eval $ac_try) 2>&5
31318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31319 (exit $ac_status); }; }; then
31320 ac_cv_lib_w_wcslen
=yes
31322 echo "$as_me: failed program was:" >&5
31323 sed 's/^/| /' conftest.
$ac_ext >&5
31325 ac_cv_lib_w_wcslen
=no
31327 rm -f conftest.err conftest.
$ac_objext \
31328 conftest
$ac_exeext conftest.
$ac_ext
31329 LIBS
=$ac_check_lib_save_LIBS
31331 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
31332 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
31333 if test $ac_cv_lib_w_wcslen = yes; then
31343 if test "$WCSLEN_FOUND" = 1; then
31344 cat >>confdefs.h
<<\_ACEOF
31345 #define HAVE_WCSLEN 1
31350 if test "$USE_HPUX" = 1; then
31351 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
31355 for ac_func
in wcsrtombs
31357 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31358 echo "$as_me:$LINENO: checking for $ac_func" >&5
31359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31360 if eval "test \"\${$as_ac_var+set}\" = set"; then
31361 echo $ECHO_N "(cached) $ECHO_C" >&6
31363 cat >conftest.
$ac_ext <<_ACEOF
31366 cat confdefs.h
>>conftest.
$ac_ext
31367 cat >>conftest.
$ac_ext <<_ACEOF
31368 /* end confdefs.h. */
31369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31371 #define $ac_func innocuous_$ac_func
31373 /* System header to define __stub macros and hopefully few prototypes,
31374 which can conflict with char $ac_func (); below.
31375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31376 <limits.h> exists even on freestanding compilers. */
31379 # include <limits.h>
31381 # include <assert.h>
31386 /* Override any gcc2 internal prototype to avoid an error. */
31391 /* We use char because int might match the return type of a gcc2
31392 builtin and then its argument prototype would still apply. */
31394 /* The GNU C library defines this for functions which it implements
31395 to always fail with ENOSYS. Some functions are actually named
31396 something starting with __ and the normal name is an alias. */
31397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31400 char (*f) () = $ac_func;
31409 return f != $ac_func;
31414 rm -f conftest.
$ac_objext conftest
$ac_exeext
31415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31416 (eval $ac_link) 2>conftest.er1
31418 grep -v '^ *+' conftest.er1
>conftest.err
31420 cat conftest.err
>&5
31421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31422 (exit $ac_status); } &&
31423 { ac_try
='test -z "$ac_c_werror_flag"
31424 || test ! -s conftest.err'
31425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31426 (eval $ac_try) 2>&5
31428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31429 (exit $ac_status); }; } &&
31430 { ac_try
='test -s conftest$ac_exeext'
31431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31432 (eval $ac_try) 2>&5
31434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31435 (exit $ac_status); }; }; then
31436 eval "$as_ac_var=yes"
31438 echo "$as_me: failed program was:" >&5
31439 sed 's/^/| /' conftest.
$ac_ext >&5
31441 eval "$as_ac_var=no"
31443 rm -f conftest.err conftest.
$ac_objext \
31444 conftest
$ac_exeext conftest.
$ac_ext
31446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31448 if test `eval echo '${'$as_ac_var'}'` = yes; then
31449 cat >>confdefs.h
<<_ACEOF
31450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31457 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
31458 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
31464 ac_cpp
='$CXXCPP $CPPFLAGS'
31465 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31466 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31467 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31471 for ac_func
in vsnprintf
31473 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31474 echo "$as_me:$LINENO: checking for $ac_func" >&5
31475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31476 if eval "test \"\${$as_ac_var+set}\" = set"; then
31477 echo $ECHO_N "(cached) $ECHO_C" >&6
31479 cat >conftest.
$ac_ext <<_ACEOF
31482 cat confdefs.h
>>conftest.
$ac_ext
31483 cat >>conftest.
$ac_ext <<_ACEOF
31484 /* end confdefs.h. */
31485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31487 #define $ac_func innocuous_$ac_func
31489 /* System header to define __stub macros and hopefully few prototypes,
31490 which can conflict with char $ac_func (); below.
31491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31492 <limits.h> exists even on freestanding compilers. */
31495 # include <limits.h>
31497 # include <assert.h>
31502 /* Override any gcc2 internal prototype to avoid an error. */
31507 /* We use char because int might match the return type of a gcc2
31508 builtin and then its argument prototype would still apply. */
31510 /* The GNU C library defines this for functions which it implements
31511 to always fail with ENOSYS. Some functions are actually named
31512 something starting with __ and the normal name is an alias. */
31513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31516 char (*f) () = $ac_func;
31525 return f != $ac_func;
31530 rm -f conftest.
$ac_objext conftest
$ac_exeext
31531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31532 (eval $ac_link) 2>conftest.er1
31534 grep -v '^ *+' conftest.er1
>conftest.err
31536 cat conftest.err
>&5
31537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31538 (exit $ac_status); } &&
31539 { ac_try
='test -z "$ac_cxx_werror_flag"
31540 || test ! -s conftest.err'
31541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31542 (eval $ac_try) 2>&5
31544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31545 (exit $ac_status); }; } &&
31546 { ac_try
='test -s conftest$ac_exeext'
31547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31548 (eval $ac_try) 2>&5
31550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31551 (exit $ac_status); }; }; then
31552 eval "$as_ac_var=yes"
31554 echo "$as_me: failed program was:" >&5
31555 sed 's/^/| /' conftest.
$ac_ext >&5
31557 eval "$as_ac_var=no"
31559 rm -f conftest.err conftest.
$ac_objext \
31560 conftest
$ac_exeext conftest.
$ac_ext
31562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31564 if test `eval echo '${'$as_ac_var'}'` = yes; then
31565 cat >>confdefs.h
<<_ACEOF
31566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31573 if test "$ac_cv_func_vsnprintf" = "yes"; then
31574 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
31575 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
31576 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
31577 echo $ECHO_N "(cached) $ECHO_C" >&6
31580 cat >conftest.
$ac_ext <<_ACEOF
31583 cat confdefs.h
>>conftest.
$ac_ext
31584 cat >>conftest.
$ac_ext <<_ACEOF
31585 /* end confdefs.h. */
31588 #include <stdarg.h>
31596 vsnprintf(buf, 10u, "%s", ap);
31602 rm -f conftest.
$ac_objext
31603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31604 (eval $ac_compile) 2>conftest.er1
31606 grep -v '^ *+' conftest.er1
>conftest.err
31608 cat conftest.err
>&5
31609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31610 (exit $ac_status); } &&
31611 { ac_try
='test -z "$ac_cxx_werror_flag"
31612 || test ! -s conftest.err'
31613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31614 (eval $ac_try) 2>&5
31616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31617 (exit $ac_status); }; } &&
31618 { ac_try
='test -s conftest.$ac_objext'
31619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31620 (eval $ac_try) 2>&5
31622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31623 (exit $ac_status); }; }; then
31624 wx_cv_func_vsnprintf_decl
=yes
31626 echo "$as_me: failed program was:" >&5
31627 sed 's/^/| /' conftest.
$ac_ext >&5
31630 cat >conftest.
$ac_ext <<_ACEOF
31633 cat confdefs.h
>>conftest.
$ac_ext
31634 cat >>conftest.
$ac_ext <<_ACEOF
31635 /* end confdefs.h. */
31638 #include <stdarg.h>
31639 using namespace std;
31647 vsnprintf(buf, 10u, "%s", ap);
31653 rm -f conftest.
$ac_objext
31654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31655 (eval $ac_compile) 2>conftest.er1
31657 grep -v '^ *+' conftest.er1
>conftest.err
31659 cat conftest.err
>&5
31660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31661 (exit $ac_status); } &&
31662 { ac_try
='test -z "$ac_cxx_werror_flag"
31663 || test ! -s conftest.err'
31664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31665 (eval $ac_try) 2>&5
31667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31668 (exit $ac_status); }; } &&
31669 { ac_try
='test -s conftest.$ac_objext'
31670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31671 (eval $ac_try) 2>&5
31673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31674 (exit $ac_status); }; }; then
31675 wx_cv_func_vsnprintf_decl
=yes
31677 echo "$as_me: failed program was:" >&5
31678 sed 's/^/| /' conftest.
$ac_ext >&5
31680 wx_cv_func_vsnprintf_decl
=no
31683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31687 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31691 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
31692 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
31694 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
31695 cat >>confdefs.h
<<\_ACEOF
31696 #define HAVE_VSNPRINTF_DECL 1
31702 if test "$wxUSE_UNICODE" = yes; then
31709 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
31711 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31712 echo "$as_me:$LINENO: checking for $ac_func" >&5
31713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31714 if eval "test \"\${$as_ac_var+set}\" = set"; then
31715 echo $ECHO_N "(cached) $ECHO_C" >&6
31717 cat >conftest.
$ac_ext <<_ACEOF
31720 cat confdefs.h
>>conftest.
$ac_ext
31721 cat >>conftest.
$ac_ext <<_ACEOF
31722 /* end confdefs.h. */
31723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31725 #define $ac_func innocuous_$ac_func
31727 /* System header to define __stub macros and hopefully few prototypes,
31728 which can conflict with char $ac_func (); below.
31729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31730 <limits.h> exists even on freestanding compilers. */
31733 # include <limits.h>
31735 # include <assert.h>
31740 /* Override any gcc2 internal prototype to avoid an error. */
31745 /* We use char because int might match the return type of a gcc2
31746 builtin and then its argument prototype would still apply. */
31748 /* The GNU C library defines this for functions which it implements
31749 to always fail with ENOSYS. Some functions are actually named
31750 something starting with __ and the normal name is an alias. */
31751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31754 char (*f) () = $ac_func;
31763 return f != $ac_func;
31768 rm -f conftest.
$ac_objext conftest
$ac_exeext
31769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31770 (eval $ac_link) 2>conftest.er1
31772 grep -v '^ *+' conftest.er1
>conftest.err
31774 cat conftest.err
>&5
31775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31776 (exit $ac_status); } &&
31777 { ac_try
='test -z "$ac_cxx_werror_flag"
31778 || test ! -s conftest.err'
31779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31780 (eval $ac_try) 2>&5
31782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31783 (exit $ac_status); }; } &&
31784 { ac_try
='test -s conftest$ac_exeext'
31785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31786 (eval $ac_try) 2>&5
31788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31789 (exit $ac_status); }; }; then
31790 eval "$as_ac_var=yes"
31792 echo "$as_me: failed program was:" >&5
31793 sed 's/^/| /' conftest.
$ac_ext >&5
31795 eval "$as_ac_var=no"
31797 rm -f conftest.err conftest.
$ac_objext \
31798 conftest
$ac_exeext conftest.
$ac_ext
31800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31801 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31802 if test `eval echo '${'$as_ac_var'}'` = yes; then
31803 cat >>confdefs.h
<<_ACEOF
31804 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31811 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
31812 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
31813 cat >conftest.
$ac_ext <<_ACEOF
31816 cat confdefs.h
>>conftest.
$ac_ext
31817 cat >>conftest.
$ac_ext <<_ACEOF
31818 /* end confdefs.h. */
31828 rm -f conftest.
$ac_objext
31829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31830 (eval $ac_compile) 2>conftest.er1
31832 grep -v '^ *+' conftest.er1
>conftest.err
31834 cat conftest.err
>&5
31835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31836 (exit $ac_status); } &&
31837 { ac_try
='test -z "$ac_cxx_werror_flag"
31838 || test ! -s conftest.err'
31839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31840 (eval $ac_try) 2>&5
31842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31843 (exit $ac_status); }; } &&
31844 { ac_try
='test -s conftest.$ac_objext'
31845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31846 (eval $ac_try) 2>&5
31848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31849 (exit $ac_status); }; }; then
31850 echo "$as_me:$LINENO: result: yes" >&5
31851 echo "${ECHO_T}yes" >&6
31852 cat >>confdefs.h
<<\_ACEOF
31853 #define HAVE__VSNWPRINTF 1
31857 echo "$as_me: failed program was:" >&5
31858 sed 's/^/| /' conftest.
$ac_ext >&5
31860 echo "$as_me:$LINENO: result: no" >&5
31861 echo "${ECHO_T}no" >&6
31863 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
31867 ac_cpp
='$CPP $CPPFLAGS'
31868 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31869 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31870 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31875 if test "$TOOLKIT" != "MSW"; then
31881 ac_cpp
='$CXXCPP $CPPFLAGS'
31882 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31883 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31884 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31889 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
31890 if test "${with_libiconv_prefix+set}" = set; then
31891 withval
="$with_libiconv_prefix"
31893 for dir
in `echo "$withval" | tr : ' '`; do
31894 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
31895 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
31900 echo "$as_me:$LINENO: checking for iconv" >&5
31901 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
31902 if test "${am_cv_func_iconv+set}" = set; then
31903 echo $ECHO_N "(cached) $ECHO_C" >&6
31906 am_cv_func_iconv
="no, consider installing GNU libiconv"
31908 cat >conftest.
$ac_ext <<_ACEOF
31911 cat confdefs.h
>>conftest.
$ac_ext
31912 cat >>conftest.
$ac_ext <<_ACEOF
31913 /* end confdefs.h. */
31914 #include <stdlib.h>
31919 iconv_t cd = iconv_open("","");
31920 iconv(cd,NULL,NULL,NULL,NULL);
31926 rm -f conftest.
$ac_objext conftest
$ac_exeext
31927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31928 (eval $ac_link) 2>conftest.er1
31930 grep -v '^ *+' conftest.er1
>conftest.err
31932 cat conftest.err
>&5
31933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31934 (exit $ac_status); } &&
31935 { ac_try
='test -z "$ac_cxx_werror_flag"
31936 || test ! -s conftest.err'
31937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31938 (eval $ac_try) 2>&5
31940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31941 (exit $ac_status); }; } &&
31942 { ac_try
='test -s conftest$ac_exeext'
31943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31944 (eval $ac_try) 2>&5
31946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31947 (exit $ac_status); }; }; then
31948 am_cv_func_iconv
=yes
31950 echo "$as_me: failed program was:" >&5
31951 sed 's/^/| /' conftest.
$ac_ext >&5
31954 rm -f conftest.err conftest.
$ac_objext \
31955 conftest
$ac_exeext conftest.
$ac_ext
31956 if test "$am_cv_func_iconv" != yes; then
31957 am_save_LIBS
="$LIBS"
31958 LIBS
="$LIBS -liconv"
31959 cat >conftest.
$ac_ext <<_ACEOF
31962 cat confdefs.h
>>conftest.
$ac_ext
31963 cat >>conftest.
$ac_ext <<_ACEOF
31964 /* end confdefs.h. */
31965 #include <stdlib.h>
31970 iconv_t cd = iconv_open("","");
31971 iconv(cd,NULL,NULL,NULL,NULL);
31977 rm -f conftest.
$ac_objext conftest
$ac_exeext
31978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31979 (eval $ac_link) 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"
31987 || test ! -s conftest.err'
31988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31989 (eval $ac_try) 2>&5
31991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31992 (exit $ac_status); }; } &&
31993 { ac_try
='test -s conftest$ac_exeext'
31994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31995 (eval $ac_try) 2>&5
31997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31998 (exit $ac_status); }; }; then
31999 am_cv_lib_iconv
=yes
32000 am_cv_func_iconv
=yes
32002 echo "$as_me: failed program was:" >&5
32003 sed 's/^/| /' conftest.
$ac_ext >&5
32006 rm -f conftest.err conftest.
$ac_objext \
32007 conftest
$ac_exeext conftest.
$ac_ext
32008 LIBS
="$am_save_LIBS"
32012 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
32013 echo "${ECHO_T}$am_cv_func_iconv" >&6
32014 if test "$am_cv_func_iconv" = yes; then
32016 cat >>confdefs.h
<<\_ACEOF
32017 #define HAVE_ICONV 1
32020 echo "$as_me:$LINENO: checking if iconv needs const" >&5
32021 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
32022 if test "${wx_cv_func_iconv_const+set}" = set; then
32023 echo $ECHO_N "(cached) $ECHO_C" >&6
32025 cat >conftest.
$ac_ext <<_ACEOF
32028 cat confdefs.h
>>conftest.
$ac_ext
32029 cat >>conftest.
$ac_ext <<_ACEOF
32030 /* end confdefs.h. */
32032 #include <stdlib.h>
32038 #if defined(__STDC__) || defined(__cplusplus)
32039 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
32052 rm -f conftest.
$ac_objext
32053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32054 (eval $ac_compile) 2>conftest.er1
32056 grep -v '^ *+' conftest.er1
>conftest.err
32058 cat conftest.err
>&5
32059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32060 (exit $ac_status); } &&
32061 { ac_try
='test -z "$ac_cxx_werror_flag"
32062 || test ! -s conftest.err'
32063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32064 (eval $ac_try) 2>&5
32066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32067 (exit $ac_status); }; } &&
32068 { ac_try
='test -s conftest.$ac_objext'
32069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32070 (eval $ac_try) 2>&5
32072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32073 (exit $ac_status); }; }; then
32074 wx_cv_func_iconv_const
="no"
32076 echo "$as_me: failed program was:" >&5
32077 sed 's/^/| /' conftest.
$ac_ext >&5
32079 wx_cv_func_iconv_const
="yes"
32082 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32085 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
32086 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
32089 if test "x$wx_cv_func_iconv_const" = "xyes"; then
32090 iconv_const
="const"
32094 cat >>confdefs.h
<<_ACEOF
32095 #define ICONV_CONST $iconv_const
32100 if test "$am_cv_lib_iconv" = yes; then
32105 LIBS
="$LIBICONV $LIBS"
32107 ac_cpp
='$CPP $CPPFLAGS'
32108 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32109 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32110 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32113 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
32115 for ac_func
in sigaction
32117 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32118 echo "$as_me:$LINENO: checking for $ac_func" >&5
32119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32120 if eval "test \"\${$as_ac_var+set}\" = set"; then
32121 echo $ECHO_N "(cached) $ECHO_C" >&6
32123 cat >conftest.
$ac_ext <<_ACEOF
32126 cat confdefs.h
>>conftest.
$ac_ext
32127 cat >>conftest.
$ac_ext <<_ACEOF
32128 /* end confdefs.h. */
32129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32131 #define $ac_func innocuous_$ac_func
32133 /* System header to define __stub macros and hopefully few prototypes,
32134 which can conflict with char $ac_func (); below.
32135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32136 <limits.h> exists even on freestanding compilers. */
32139 # include <limits.h>
32141 # include <assert.h>
32146 /* Override any gcc2 internal prototype to avoid an error. */
32151 /* We use char because int might match the return type of a gcc2
32152 builtin and then its argument prototype would still apply. */
32154 /* The GNU C library defines this for functions which it implements
32155 to always fail with ENOSYS. Some functions are actually named
32156 something starting with __ and the normal name is an alias. */
32157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32160 char (*f) () = $ac_func;
32169 return f != $ac_func;
32174 rm -f conftest.
$ac_objext conftest
$ac_exeext
32175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32176 (eval $ac_link) 2>conftest.er1
32178 grep -v '^ *+' conftest.er1
>conftest.err
32180 cat conftest.err
>&5
32181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32182 (exit $ac_status); } &&
32183 { ac_try
='test -z "$ac_c_werror_flag"
32184 || test ! -s conftest.err'
32185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32186 (eval $ac_try) 2>&5
32188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32189 (exit $ac_status); }; } &&
32190 { ac_try
='test -s conftest$ac_exeext'
32191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32192 (eval $ac_try) 2>&5
32194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32195 (exit $ac_status); }; }; then
32196 eval "$as_ac_var=yes"
32198 echo "$as_me: failed program was:" >&5
32199 sed 's/^/| /' conftest.
$ac_ext >&5
32201 eval "$as_ac_var=no"
32203 rm -f conftest.err conftest.
$ac_objext \
32204 conftest
$ac_exeext conftest.
$ac_ext
32206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32208 if test `eval echo '${'$as_ac_var'}'` = yes; then
32209 cat >>confdefs.h
<<_ACEOF
32210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32217 if test "$ac_cv_func_sigaction" = "no"; then
32218 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
32219 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
32220 wxUSE_ON_FATAL_EXCEPTION
=no
32223 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
32227 ac_cpp
='$CXXCPP $CPPFLAGS'
32228 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32229 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32230 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32233 echo "$as_me:$LINENO: checking for sa_handler type" >&5
32234 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
32235 if test "${wx_cv_type_sa_handler+set}" = set; then
32236 echo $ECHO_N "(cached) $ECHO_C" >&6
32239 cat >conftest.
$ac_ext <<_ACEOF
32242 cat confdefs.h
>>conftest.
$ac_ext
32243 cat >>conftest.
$ac_ext <<_ACEOF
32244 /* end confdefs.h. */
32245 #include <signal.h>
32250 extern void testSigHandler(int);
32252 struct sigaction sa;
32253 sa.sa_handler = testSigHandler;
32259 rm -f conftest.
$ac_objext
32260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32261 (eval $ac_compile) 2>conftest.er1
32263 grep -v '^ *+' conftest.er1
>conftest.err
32265 cat conftest.err
>&5
32266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32267 (exit $ac_status); } &&
32268 { ac_try
='test -z "$ac_cxx_werror_flag"
32269 || test ! -s conftest.err'
32270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32271 (eval $ac_try) 2>&5
32273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32274 (exit $ac_status); }; } &&
32275 { ac_try
='test -s conftest.$ac_objext'
32276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32277 (eval $ac_try) 2>&5
32279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32280 (exit $ac_status); }; }; then
32282 wx_cv_type_sa_handler
=int
32285 echo "$as_me: failed program was:" >&5
32286 sed 's/^/| /' conftest.
$ac_ext >&5
32289 wx_cv_type_sa_handler
=void
32292 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32295 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
32296 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
32299 ac_cpp
='$CPP $CPPFLAGS'
32300 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32301 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32302 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32305 cat >>confdefs.h
<<_ACEOF
32306 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
32312 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
32316 ac_cpp
='$CXXCPP $CPPFLAGS'
32317 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32318 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32319 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32322 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
32323 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
32324 if test "${wx_cv_func_backtrace+set}" = set; then
32325 echo $ECHO_N "(cached) $ECHO_C" >&6
32328 cat >conftest.
$ac_ext <<_ACEOF
32331 cat confdefs.h
>>conftest.
$ac_ext
32332 cat >>conftest.
$ac_ext <<_ACEOF
32333 /* end confdefs.h. */
32334 #include <execinfo.h>
32342 backtrace(trace, 1);
32343 messages = backtrace_symbols(trace, 1);
32349 rm -f conftest.
$ac_objext
32350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32351 (eval $ac_compile) 2>conftest.er1
32353 grep -v '^ *+' conftest.er1
>conftest.err
32355 cat conftest.err
>&5
32356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32357 (exit $ac_status); } &&
32358 { ac_try
='test -z "$ac_cxx_werror_flag"
32359 || test ! -s conftest.err'
32360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32361 (eval $ac_try) 2>&5
32363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32364 (exit $ac_status); }; } &&
32365 { ac_try
='test -s conftest.$ac_objext'
32366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32367 (eval $ac_try) 2>&5
32369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32370 (exit $ac_status); }; }; then
32371 wx_cv_func_backtrace
=yes
32373 echo "$as_me: failed program was:" >&5
32374 sed 's/^/| /' conftest.
$ac_ext >&5
32376 wx_cv_func_backtrace
=no
32379 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32383 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
32384 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
32387 if test "$wx_cv_func_backtrace" = "no"; then
32388 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
32389 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
32390 wxUSE_STACKWALKER
=no
32392 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
32393 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
32394 if test "${wx_cv_func_cxa_demangle+set}" = set; then
32395 echo $ECHO_N "(cached) $ECHO_C" >&6
32398 cat >conftest.
$ac_ext <<_ACEOF
32401 cat confdefs.h
>>conftest.
$ac_ext
32402 cat >>conftest.
$ac_ext <<_ACEOF
32403 /* end confdefs.h. */
32404 #include <cxxabi.h>
32410 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
32416 rm -f conftest.
$ac_objext conftest
$ac_exeext
32417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32418 (eval $ac_link) 2>conftest.er1
32420 grep -v '^ *+' conftest.er1
>conftest.err
32422 cat conftest.err
>&5
32423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32424 (exit $ac_status); } &&
32425 { ac_try
='test -z "$ac_cxx_werror_flag"
32426 || test ! -s conftest.err'
32427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32428 (eval $ac_try) 2>&5
32430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32431 (exit $ac_status); }; } &&
32432 { ac_try
='test -s conftest$ac_exeext'
32433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32434 (eval $ac_try) 2>&5
32436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32437 (exit $ac_status); }; }; then
32438 wx_cv_func_cxa_demangle
=yes
32440 echo "$as_me: failed program was:" >&5
32441 sed 's/^/| /' conftest.
$ac_ext >&5
32443 wx_cv_func_cxa_demangle
=no
32446 rm -f conftest.err conftest.
$ac_objext \
32447 conftest
$ac_exeext conftest.
$ac_ext
32451 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
32452 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
32454 if test "$wx_cv_func_cxa_demangle" = "yes"; then
32455 cat >>confdefs.h
<<\_ACEOF
32456 #define HAVE_CXA_DEMANGLE 1
32463 ac_cpp
='$CPP $CPPFLAGS'
32464 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32465 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32466 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32470 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
32471 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
32472 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
32473 wxUSE_STACKWALKER
=no
32479 for ac_func
in mkstemp mktemp
32481 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32482 echo "$as_me:$LINENO: checking for $ac_func" >&5
32483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32484 if eval "test \"\${$as_ac_var+set}\" = set"; then
32485 echo $ECHO_N "(cached) $ECHO_C" >&6
32487 cat >conftest.
$ac_ext <<_ACEOF
32490 cat confdefs.h
>>conftest.
$ac_ext
32491 cat >>conftest.
$ac_ext <<_ACEOF
32492 /* end confdefs.h. */
32493 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32495 #define $ac_func innocuous_$ac_func
32497 /* System header to define __stub macros and hopefully few prototypes,
32498 which can conflict with char $ac_func (); below.
32499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32500 <limits.h> exists even on freestanding compilers. */
32503 # include <limits.h>
32505 # include <assert.h>
32510 /* Override any gcc2 internal prototype to avoid an error. */
32515 /* We use char because int might match the return type of a gcc2
32516 builtin and then its argument prototype would still apply. */
32518 /* The GNU C library defines this for functions which it implements
32519 to always fail with ENOSYS. Some functions are actually named
32520 something starting with __ and the normal name is an alias. */
32521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32524 char (*f) () = $ac_func;
32533 return f != $ac_func;
32538 rm -f conftest.
$ac_objext conftest
$ac_exeext
32539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32540 (eval $ac_link) 2>conftest.er1
32542 grep -v '^ *+' conftest.er1
>conftest.err
32544 cat conftest.err
>&5
32545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32546 (exit $ac_status); } &&
32547 { ac_try
='test -z "$ac_c_werror_flag"
32548 || test ! -s conftest.err'
32549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32550 (eval $ac_try) 2>&5
32552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32553 (exit $ac_status); }; } &&
32554 { ac_try
='test -s conftest$ac_exeext'
32555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32556 (eval $ac_try) 2>&5
32558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32559 (exit $ac_status); }; }; then
32560 eval "$as_ac_var=yes"
32562 echo "$as_me: failed program was:" >&5
32563 sed 's/^/| /' conftest.
$ac_ext >&5
32565 eval "$as_ac_var=no"
32567 rm -f conftest.err conftest.
$ac_objext \
32568 conftest
$ac_exeext conftest.
$ac_ext
32570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32571 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32572 if test `eval echo '${'$as_ac_var'}'` = yes; then
32573 cat >>confdefs.h
<<_ACEOF
32574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32581 echo "$as_me:$LINENO: checking for statfs" >&5
32582 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
32583 if test "${wx_cv_func_statfs+set}" = set; then
32584 echo $ECHO_N "(cached) $ECHO_C" >&6
32586 cat >conftest.
$ac_ext <<_ACEOF
32589 cat confdefs.h
>>conftest.
$ac_ext
32590 cat >>conftest.
$ac_ext <<_ACEOF
32591 /* end confdefs.h. */
32593 #if defined(__BSD__)
32594 #include <sys/param.h>
32595 #include <sys/mount.h>
32597 #include <sys/vfs.h>
32615 rm -f conftest.
$ac_objext
32616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32617 (eval $ac_compile) 2>conftest.er1
32619 grep -v '^ *+' conftest.er1
>conftest.err
32621 cat conftest.err
>&5
32622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32623 (exit $ac_status); } &&
32624 { ac_try
='test -z "$ac_c_werror_flag"
32625 || test ! -s conftest.err'
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); }; } &&
32631 { ac_try
='test -s conftest.$ac_objext'
32632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32633 (eval $ac_try) 2>&5
32635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32636 (exit $ac_status); }; }; then
32638 wx_cv_func_statfs
=yes
32641 echo "$as_me: failed program was:" >&5
32642 sed 's/^/| /' conftest.
$ac_ext >&5
32645 wx_cv_func_statfs
=no
32649 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32652 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
32653 echo "${ECHO_T}$wx_cv_func_statfs" >&6
32655 if test "$wx_cv_func_statfs" = "yes"; then
32656 wx_cv_type_statvfs_t
="struct statfs"
32657 cat >>confdefs.h
<<\_ACEOF
32658 #define HAVE_STATFS 1
32662 echo "$as_me:$LINENO: checking for statvfs" >&5
32663 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
32664 if test "${wx_cv_func_statvfs+set}" = set; then
32665 echo $ECHO_N "(cached) $ECHO_C" >&6
32667 cat >conftest.
$ac_ext <<_ACEOF
32670 cat confdefs.h
>>conftest.
$ac_ext
32671 cat >>conftest.
$ac_ext <<_ACEOF
32672 /* end confdefs.h. */
32674 #include <stddef.h>
32675 #include <sys/statvfs.h>
32681 statvfs("/", NULL);
32687 rm -f conftest.
$ac_objext
32688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32689 (eval $ac_compile) 2>conftest.er1
32691 grep -v '^ *+' conftest.er1
>conftest.err
32693 cat conftest.err
>&5
32694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32695 (exit $ac_status); } &&
32696 { ac_try
='test -z "$ac_c_werror_flag"
32697 || test ! -s conftest.err'
32698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32699 (eval $ac_try) 2>&5
32701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32702 (exit $ac_status); }; } &&
32703 { ac_try
='test -s conftest.$ac_objext'
32704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32705 (eval $ac_try) 2>&5
32707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32708 (exit $ac_status); }; }; then
32709 wx_cv_func_statvfs
=yes
32711 echo "$as_me: failed program was:" >&5
32712 sed 's/^/| /' conftest.
$ac_ext >&5
32714 wx_cv_func_statvfs
=no
32717 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32720 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
32721 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
32723 if test "$wx_cv_func_statvfs" = "yes"; then
32727 ac_cpp
='$CXXCPP $CPPFLAGS'
32728 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32729 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32730 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32733 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
32734 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
32735 if test "${wx_cv_type_statvfs_t+set}" = set; then
32736 echo $ECHO_N "(cached) $ECHO_C" >&6
32738 cat >conftest.
$ac_ext <<_ACEOF
32741 cat confdefs.h
>>conftest.
$ac_ext
32742 cat >>conftest.
$ac_ext <<_ACEOF
32743 /* end confdefs.h. */
32745 #include <sys/statvfs.h>
32762 rm -f conftest.
$ac_objext
32763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32764 (eval $ac_compile) 2>conftest.er1
32766 grep -v '^ *+' conftest.er1
>conftest.err
32768 cat conftest.err
>&5
32769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32770 (exit $ac_status); } &&
32771 { ac_try
='test -z "$ac_cxx_werror_flag"
32772 || test ! -s conftest.err'
32773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32774 (eval $ac_try) 2>&5
32776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32777 (exit $ac_status); }; } &&
32778 { ac_try
='test -s conftest.$ac_objext'
32779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32780 (eval $ac_try) 2>&5
32782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32783 (exit $ac_status); }; }; then
32784 wx_cv_type_statvfs_t
=statvfs_t
32786 echo "$as_me: failed program was:" >&5
32787 sed 's/^/| /' conftest.
$ac_ext >&5
32790 cat >conftest.
$ac_ext <<_ACEOF
32793 cat confdefs.h
>>conftest.
$ac_ext
32794 cat >>conftest.
$ac_ext <<_ACEOF
32795 /* end confdefs.h. */
32797 #include <sys/statvfs.h>
32814 rm -f conftest.
$ac_objext
32815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32816 (eval $ac_compile) 2>conftest.er1
32818 grep -v '^ *+' conftest.er1
>conftest.err
32820 cat conftest.err
>&5
32821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32822 (exit $ac_status); } &&
32823 { ac_try
='test -z "$ac_cxx_werror_flag"
32824 || test ! -s conftest.err'
32825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32826 (eval $ac_try) 2>&5
32828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32829 (exit $ac_status); }; } &&
32830 { ac_try
='test -s conftest.$ac_objext'
32831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32832 (eval $ac_try) 2>&5
32834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32835 (exit $ac_status); }; }; then
32836 wx_cv_type_statvfs_t
="struct statvfs"
32838 echo "$as_me: failed program was:" >&5
32839 sed 's/^/| /' conftest.
$ac_ext >&5
32841 wx_cv_type_statvfs_t
="unknown"
32844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32848 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32851 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
32852 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
32855 ac_cpp
='$CPP $CPPFLAGS'
32856 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32857 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32858 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32861 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32862 cat >>confdefs.h
<<\_ACEOF
32863 #define HAVE_STATVFS 1
32868 wx_cv_type_statvfs_t
="unknown"
32872 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32873 cat >>confdefs.h
<<_ACEOF
32874 #define WX_STATFS_T $wx_cv_type_statvfs_t
32878 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
32879 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
32882 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
32885 for ac_func
in fcntl flock
32887 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32888 echo "$as_me:$LINENO: checking for $ac_func" >&5
32889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32890 if eval "test \"\${$as_ac_var+set}\" = set"; then
32891 echo $ECHO_N "(cached) $ECHO_C" >&6
32893 cat >conftest.
$ac_ext <<_ACEOF
32896 cat confdefs.h
>>conftest.
$ac_ext
32897 cat >>conftest.
$ac_ext <<_ACEOF
32898 /* end confdefs.h. */
32899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32901 #define $ac_func innocuous_$ac_func
32903 /* System header to define __stub macros and hopefully few prototypes,
32904 which can conflict with char $ac_func (); below.
32905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32906 <limits.h> exists even on freestanding compilers. */
32909 # include <limits.h>
32911 # include <assert.h>
32916 /* Override any gcc2 internal prototype to avoid an error. */
32921 /* We use char because int might match the return type of a gcc2
32922 builtin and then its argument prototype would still apply. */
32924 /* The GNU C library defines this for functions which it implements
32925 to always fail with ENOSYS. Some functions are actually named
32926 something starting with __ and the normal name is an alias. */
32927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32930 char (*f) () = $ac_func;
32939 return f != $ac_func;
32944 rm -f conftest.
$ac_objext conftest
$ac_exeext
32945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32946 (eval $ac_link) 2>conftest.er1
32948 grep -v '^ *+' conftest.er1
>conftest.err
32950 cat conftest.err
>&5
32951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32952 (exit $ac_status); } &&
32953 { ac_try
='test -z "$ac_c_werror_flag"
32954 || test ! -s conftest.err'
32955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32956 (eval $ac_try) 2>&5
32958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32959 (exit $ac_status); }; } &&
32960 { ac_try
='test -s conftest$ac_exeext'
32961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32962 (eval $ac_try) 2>&5
32964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32965 (exit $ac_status); }; }; then
32966 eval "$as_ac_var=yes"
32968 echo "$as_me: failed program was:" >&5
32969 sed 's/^/| /' conftest.
$ac_ext >&5
32971 eval "$as_ac_var=no"
32973 rm -f conftest.err conftest.
$ac_objext \
32974 conftest
$ac_exeext conftest.
$ac_ext
32976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32978 if test `eval echo '${'$as_ac_var'}'` = yes; then
32979 cat >>confdefs.h
<<_ACEOF
32980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32987 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
32988 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
32989 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
32990 wxUSE_SNGLINST_CHECKER
=no
32995 for ac_func
in timegm
32997 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32998 echo "$as_me:$LINENO: checking for $ac_func" >&5
32999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33000 if eval "test \"\${$as_ac_var+set}\" = set"; then
33001 echo $ECHO_N "(cached) $ECHO_C" >&6
33003 cat >conftest.
$ac_ext <<_ACEOF
33006 cat confdefs.h
>>conftest.
$ac_ext
33007 cat >>conftest.
$ac_ext <<_ACEOF
33008 /* end confdefs.h. */
33009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33011 #define $ac_func innocuous_$ac_func
33013 /* System header to define __stub macros and hopefully few prototypes,
33014 which can conflict with char $ac_func (); below.
33015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33016 <limits.h> exists even on freestanding compilers. */
33019 # include <limits.h>
33021 # include <assert.h>
33026 /* Override any gcc2 internal prototype to avoid an error. */
33031 /* We use char because int might match the return type of a gcc2
33032 builtin and then its argument prototype would still apply. */
33034 /* The GNU C library defines this for functions which it implements
33035 to always fail with ENOSYS. Some functions are actually named
33036 something starting with __ and the normal name is an alias. */
33037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33040 char (*f) () = $ac_func;
33049 return f != $ac_func;
33054 rm -f conftest.
$ac_objext conftest
$ac_exeext
33055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33056 (eval $ac_link) 2>conftest.er1
33058 grep -v '^ *+' conftest.er1
>conftest.err
33060 cat conftest.err
>&5
33061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33062 (exit $ac_status); } &&
33063 { ac_try
='test -z "$ac_c_werror_flag"
33064 || test ! -s conftest.err'
33065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33066 (eval $ac_try) 2>&5
33068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33069 (exit $ac_status); }; } &&
33070 { ac_try
='test -s conftest$ac_exeext'
33071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33072 (eval $ac_try) 2>&5
33074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33075 (exit $ac_status); }; }; then
33076 eval "$as_ac_var=yes"
33078 echo "$as_me: failed program was:" >&5
33079 sed 's/^/| /' conftest.
$ac_ext >&5
33081 eval "$as_ac_var=no"
33083 rm -f conftest.err conftest.
$ac_objext \
33084 conftest
$ac_exeext conftest.
$ac_ext
33086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33088 if test `eval echo '${'$as_ac_var'}'` = yes; then
33089 cat >>confdefs.h
<<_ACEOF
33090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33099 for ac_func
in putenv setenv
33101 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33102 echo "$as_me:$LINENO: checking for $ac_func" >&5
33103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33104 if eval "test \"\${$as_ac_var+set}\" = set"; then
33105 echo $ECHO_N "(cached) $ECHO_C" >&6
33107 cat >conftest.
$ac_ext <<_ACEOF
33110 cat confdefs.h
>>conftest.
$ac_ext
33111 cat >>conftest.
$ac_ext <<_ACEOF
33112 /* end confdefs.h. */
33113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33115 #define $ac_func innocuous_$ac_func
33117 /* System header to define __stub macros and hopefully few prototypes,
33118 which can conflict with char $ac_func (); below.
33119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33120 <limits.h> exists even on freestanding compilers. */
33123 # include <limits.h>
33125 # include <assert.h>
33130 /* Override any gcc2 internal prototype to avoid an error. */
33135 /* We use char because int might match the return type of a gcc2
33136 builtin and then its argument prototype would still apply. */
33138 /* The GNU C library defines this for functions which it implements
33139 to always fail with ENOSYS. Some functions are actually named
33140 something starting with __ and the normal name is an alias. */
33141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33144 char (*f) () = $ac_func;
33153 return f != $ac_func;
33158 rm -f conftest.
$ac_objext conftest
$ac_exeext
33159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33160 (eval $ac_link) 2>conftest.er1
33162 grep -v '^ *+' conftest.er1
>conftest.err
33164 cat conftest.err
>&5
33165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33166 (exit $ac_status); } &&
33167 { ac_try
='test -z "$ac_c_werror_flag"
33168 || test ! -s conftest.err'
33169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33170 (eval $ac_try) 2>&5
33172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33173 (exit $ac_status); }; } &&
33174 { ac_try
='test -s conftest$ac_exeext'
33175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33176 (eval $ac_try) 2>&5
33178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33179 (exit $ac_status); }; }; then
33180 eval "$as_ac_var=yes"
33182 echo "$as_me: failed program was:" >&5
33183 sed 's/^/| /' conftest.
$ac_ext >&5
33185 eval "$as_ac_var=no"
33187 rm -f conftest.err conftest.
$ac_objext \
33188 conftest
$ac_exeext conftest.
$ac_ext
33190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33192 if test `eval echo '${'$as_ac_var'}'` = yes; then
33193 cat >>confdefs.h
<<_ACEOF
33194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33201 HAVE_SOME_SLEEP_FUNC
=0
33202 if test "$USE_BEOS" = 1; then
33203 cat >>confdefs.h
<<\_ACEOF
33204 #define HAVE_SLEEP 1
33207 HAVE_SOME_SLEEP_FUNC
=1
33210 if test "$USE_DARWIN" = 1; then
33211 cat >>confdefs.h
<<\_ACEOF
33212 #define HAVE_USLEEP 1
33215 HAVE_SOME_SLEEP_FUNC
=1
33218 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
33221 for ac_func
in nanosleep
33223 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33224 echo "$as_me:$LINENO: checking for $ac_func" >&5
33225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33226 if eval "test \"\${$as_ac_var+set}\" = set"; then
33227 echo $ECHO_N "(cached) $ECHO_C" >&6
33229 cat >conftest.
$ac_ext <<_ACEOF
33232 cat confdefs.h
>>conftest.
$ac_ext
33233 cat >>conftest.
$ac_ext <<_ACEOF
33234 /* end confdefs.h. */
33235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33236 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33237 #define $ac_func innocuous_$ac_func
33239 /* System header to define __stub macros and hopefully few prototypes,
33240 which can conflict with char $ac_func (); below.
33241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33242 <limits.h> exists even on freestanding compilers. */
33245 # include <limits.h>
33247 # include <assert.h>
33252 /* Override any gcc2 internal prototype to avoid an error. */
33257 /* We use char because int might match the return type of a gcc2
33258 builtin and then its argument prototype would still apply. */
33260 /* The GNU C library defines this for functions which it implements
33261 to always fail with ENOSYS. Some functions are actually named
33262 something starting with __ and the normal name is an alias. */
33263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33266 char (*f) () = $ac_func;
33275 return f != $ac_func;
33280 rm -f conftest.
$ac_objext conftest
$ac_exeext
33281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33282 (eval $ac_link) 2>conftest.er1
33284 grep -v '^ *+' conftest.er1
>conftest.err
33286 cat conftest.err
>&5
33287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33288 (exit $ac_status); } &&
33289 { ac_try
='test -z "$ac_c_werror_flag"
33290 || test ! -s conftest.err'
33291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33292 (eval $ac_try) 2>&5
33294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33295 (exit $ac_status); }; } &&
33296 { ac_try
='test -s conftest$ac_exeext'
33297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33298 (eval $ac_try) 2>&5
33300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33301 (exit $ac_status); }; }; then
33302 eval "$as_ac_var=yes"
33304 echo "$as_me: failed program was:" >&5
33305 sed 's/^/| /' conftest.
$ac_ext >&5
33307 eval "$as_ac_var=no"
33309 rm -f conftest.err conftest.
$ac_objext \
33310 conftest
$ac_exeext conftest.
$ac_ext
33312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33314 if test `eval echo '${'$as_ac_var'}'` = yes; then
33315 cat >>confdefs.h
<<_ACEOF
33316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33318 cat >>confdefs.h
<<\_ACEOF
33319 #define HAVE_NANOSLEEP 1
33324 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
33325 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
33326 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
33327 echo $ECHO_N "(cached) $ECHO_C" >&6
33329 ac_check_lib_save_LIBS
=$LIBS
33330 LIBS
="-lposix4 $LIBS"
33331 cat >conftest.
$ac_ext <<_ACEOF
33334 cat confdefs.h
>>conftest.
$ac_ext
33335 cat >>conftest.
$ac_ext <<_ACEOF
33336 /* end confdefs.h. */
33338 /* Override any gcc2 internal prototype to avoid an error. */
33342 /* We use char because int might match the return type of a gcc2
33343 builtin and then its argument prototype would still apply. */
33353 rm -f conftest.
$ac_objext conftest
$ac_exeext
33354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33355 (eval $ac_link) 2>conftest.er1
33357 grep -v '^ *+' conftest.er1
>conftest.err
33359 cat conftest.err
>&5
33360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33361 (exit $ac_status); } &&
33362 { ac_try
='test -z "$ac_c_werror_flag"
33363 || test ! -s conftest.err'
33364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33365 (eval $ac_try) 2>&5
33367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33368 (exit $ac_status); }; } &&
33369 { ac_try
='test -s conftest$ac_exeext'
33370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33371 (eval $ac_try) 2>&5
33373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33374 (exit $ac_status); }; }; then
33375 ac_cv_lib_posix4_nanosleep
=yes
33377 echo "$as_me: failed program was:" >&5
33378 sed 's/^/| /' conftest.
$ac_ext >&5
33380 ac_cv_lib_posix4_nanosleep
=no
33382 rm -f conftest.err conftest.
$ac_objext \
33383 conftest
$ac_exeext conftest.
$ac_ext
33384 LIBS
=$ac_check_lib_save_LIBS
33386 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
33387 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
33388 if test $ac_cv_lib_posix4_nanosleep = yes; then
33390 cat >>confdefs.h
<<\_ACEOF
33391 #define HAVE_NANOSLEEP 1
33394 POSIX4_LINK
=" -lposix4"
33399 for ac_func
in usleep
33401 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33402 echo "$as_me:$LINENO: checking for $ac_func" >&5
33403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33404 if eval "test \"\${$as_ac_var+set}\" = set"; then
33405 echo $ECHO_N "(cached) $ECHO_C" >&6
33407 cat >conftest.
$ac_ext <<_ACEOF
33410 cat confdefs.h
>>conftest.
$ac_ext
33411 cat >>conftest.
$ac_ext <<_ACEOF
33412 /* end confdefs.h. */
33413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33415 #define $ac_func innocuous_$ac_func
33417 /* System header to define __stub macros and hopefully few prototypes,
33418 which can conflict with char $ac_func (); below.
33419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33420 <limits.h> exists even on freestanding compilers. */
33423 # include <limits.h>
33425 # include <assert.h>
33430 /* Override any gcc2 internal prototype to avoid an error. */
33435 /* We use char because int might match the return type of a gcc2
33436 builtin and then its argument prototype would still apply. */
33438 /* The GNU C library defines this for functions which it implements
33439 to always fail with ENOSYS. Some functions are actually named
33440 something starting with __ and the normal name is an alias. */
33441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33444 char (*f) () = $ac_func;
33453 return f != $ac_func;
33458 rm -f conftest.
$ac_objext conftest
$ac_exeext
33459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33460 (eval $ac_link) 2>conftest.er1
33462 grep -v '^ *+' conftest.er1
>conftest.err
33464 cat conftest.err
>&5
33465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33466 (exit $ac_status); } &&
33467 { ac_try
='test -z "$ac_c_werror_flag"
33468 || test ! -s conftest.err'
33469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33470 (eval $ac_try) 2>&5
33472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33473 (exit $ac_status); }; } &&
33474 { ac_try
='test -s conftest$ac_exeext'
33475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33476 (eval $ac_try) 2>&5
33478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33479 (exit $ac_status); }; }; then
33480 eval "$as_ac_var=yes"
33482 echo "$as_me: failed program was:" >&5
33483 sed 's/^/| /' conftest.
$ac_ext >&5
33485 eval "$as_ac_var=no"
33487 rm -f conftest.err conftest.
$ac_objext \
33488 conftest
$ac_exeext conftest.
$ac_ext
33490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33492 if test `eval echo '${'$as_ac_var'}'` = yes; then
33493 cat >>confdefs.h
<<_ACEOF
33494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33496 cat >>confdefs.h
<<\_ACEOF
33497 #define HAVE_USLEEP 1
33501 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
33502 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
33520 for ac_func
in uname gethostname
33522 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33523 echo "$as_me:$LINENO: checking for $ac_func" >&5
33524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33525 if eval "test \"\${$as_ac_var+set}\" = set"; then
33526 echo $ECHO_N "(cached) $ECHO_C" >&6
33528 cat >conftest.
$ac_ext <<_ACEOF
33531 cat confdefs.h
>>conftest.
$ac_ext
33532 cat >>conftest.
$ac_ext <<_ACEOF
33533 /* end confdefs.h. */
33534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33536 #define $ac_func innocuous_$ac_func
33538 /* System header to define __stub macros and hopefully few prototypes,
33539 which can conflict with char $ac_func (); below.
33540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33541 <limits.h> exists even on freestanding compilers. */
33544 # include <limits.h>
33546 # include <assert.h>
33551 /* Override any gcc2 internal prototype to avoid an error. */
33556 /* We use char because int might match the return type of a gcc2
33557 builtin and then its argument prototype would still apply. */
33559 /* The GNU C library defines this for functions which it implements
33560 to always fail with ENOSYS. Some functions are actually named
33561 something starting with __ and the normal name is an alias. */
33562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33565 char (*f) () = $ac_func;
33574 return f != $ac_func;
33579 rm -f conftest.
$ac_objext conftest
$ac_exeext
33580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33581 (eval $ac_link) 2>conftest.er1
33583 grep -v '^ *+' conftest.er1
>conftest.err
33585 cat conftest.err
>&5
33586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33587 (exit $ac_status); } &&
33588 { ac_try
='test -z "$ac_c_werror_flag"
33589 || test ! -s conftest.err'
33590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33591 (eval $ac_try) 2>&5
33593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33594 (exit $ac_status); }; } &&
33595 { ac_try
='test -s conftest$ac_exeext'
33596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33597 (eval $ac_try) 2>&5
33599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33600 (exit $ac_status); }; }; then
33601 eval "$as_ac_var=yes"
33603 echo "$as_me: failed program was:" >&5
33604 sed 's/^/| /' conftest.
$ac_ext >&5
33606 eval "$as_ac_var=no"
33608 rm -f conftest.err conftest.
$ac_objext \
33609 conftest
$ac_exeext conftest.
$ac_ext
33611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33613 if test `eval echo '${'$as_ac_var'}'` = yes; then
33614 cat >>confdefs.h
<<_ACEOF
33615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33625 ac_cpp
='$CXXCPP $CPPFLAGS'
33626 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33627 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33628 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33632 for ac_func
in strtok_r
33634 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33635 echo "$as_me:$LINENO: checking for $ac_func" >&5
33636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33637 if eval "test \"\${$as_ac_var+set}\" = set"; then
33638 echo $ECHO_N "(cached) $ECHO_C" >&6
33640 cat >conftest.
$ac_ext <<_ACEOF
33643 cat confdefs.h
>>conftest.
$ac_ext
33644 cat >>conftest.
$ac_ext <<_ACEOF
33645 /* end confdefs.h. */
33646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33648 #define $ac_func innocuous_$ac_func
33650 /* System header to define __stub macros and hopefully few prototypes,
33651 which can conflict with char $ac_func (); below.
33652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33653 <limits.h> exists even on freestanding compilers. */
33656 # include <limits.h>
33658 # include <assert.h>
33663 /* Override any gcc2 internal prototype to avoid an error. */
33668 /* We use char because int might match the return type of a gcc2
33669 builtin and then its argument prototype would still apply. */
33671 /* The GNU C library defines this for functions which it implements
33672 to always fail with ENOSYS. Some functions are actually named
33673 something starting with __ and the normal name is an alias. */
33674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33677 char (*f) () = $ac_func;
33686 return f != $ac_func;
33691 rm -f conftest.
$ac_objext conftest
$ac_exeext
33692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33693 (eval $ac_link) 2>conftest.er1
33695 grep -v '^ *+' conftest.er1
>conftest.err
33697 cat conftest.err
>&5
33698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33699 (exit $ac_status); } &&
33700 { ac_try
='test -z "$ac_cxx_werror_flag"
33701 || test ! -s conftest.err'
33702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33703 (eval $ac_try) 2>&5
33705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33706 (exit $ac_status); }; } &&
33707 { ac_try
='test -s conftest$ac_exeext'
33708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33709 (eval $ac_try) 2>&5
33711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33712 (exit $ac_status); }; }; then
33713 eval "$as_ac_var=yes"
33715 echo "$as_me: failed program was:" >&5
33716 sed 's/^/| /' conftest.
$ac_ext >&5
33718 eval "$as_ac_var=no"
33720 rm -f conftest.err conftest.
$ac_objext \
33721 conftest
$ac_exeext conftest.
$ac_ext
33723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33725 if test `eval echo '${'$as_ac_var'}'` = yes; then
33726 cat >>confdefs.h
<<_ACEOF
33727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33735 ac_cpp
='$CPP $CPPFLAGS'
33736 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33737 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33738 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33743 for ac_func
in inet_addr
33745 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33746 echo "$as_me:$LINENO: checking for $ac_func" >&5
33747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33748 if eval "test \"\${$as_ac_var+set}\" = set"; then
33749 echo $ECHO_N "(cached) $ECHO_C" >&6
33751 cat >conftest.
$ac_ext <<_ACEOF
33754 cat confdefs.h
>>conftest.
$ac_ext
33755 cat >>conftest.
$ac_ext <<_ACEOF
33756 /* end confdefs.h. */
33757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33759 #define $ac_func innocuous_$ac_func
33761 /* System header to define __stub macros and hopefully few prototypes,
33762 which can conflict with char $ac_func (); below.
33763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33764 <limits.h> exists even on freestanding compilers. */
33767 # include <limits.h>
33769 # include <assert.h>
33774 /* Override any gcc2 internal prototype to avoid an error. */
33779 /* We use char because int might match the return type of a gcc2
33780 builtin and then its argument prototype would still apply. */
33782 /* The GNU C library defines this for functions which it implements
33783 to always fail with ENOSYS. Some functions are actually named
33784 something starting with __ and the normal name is an alias. */
33785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33788 char (*f) () = $ac_func;
33797 return f != $ac_func;
33802 rm -f conftest.
$ac_objext conftest
$ac_exeext
33803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33804 (eval $ac_link) 2>conftest.er1
33806 grep -v '^ *+' conftest.er1
>conftest.err
33808 cat conftest.err
>&5
33809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33810 (exit $ac_status); } &&
33811 { ac_try
='test -z "$ac_c_werror_flag"
33812 || test ! -s conftest.err'
33813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33814 (eval $ac_try) 2>&5
33816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33817 (exit $ac_status); }; } &&
33818 { ac_try
='test -s conftest$ac_exeext'
33819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33820 (eval $ac_try) 2>&5
33822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33823 (exit $ac_status); }; }; then
33824 eval "$as_ac_var=yes"
33826 echo "$as_me: failed program was:" >&5
33827 sed 's/^/| /' conftest.
$ac_ext >&5
33829 eval "$as_ac_var=no"
33831 rm -f conftest.err conftest.
$ac_objext \
33832 conftest
$ac_exeext conftest.
$ac_ext
33834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33836 if test `eval echo '${'$as_ac_var'}'` = yes; then
33837 cat >>confdefs.h
<<_ACEOF
33838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33840 cat >>confdefs.h
<<\_ACEOF
33841 #define HAVE_INET_ADDR 1
33846 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
33847 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
33848 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
33849 echo $ECHO_N "(cached) $ECHO_C" >&6
33851 ac_check_lib_save_LIBS
=$LIBS
33853 cat >conftest.
$ac_ext <<_ACEOF
33856 cat confdefs.h
>>conftest.
$ac_ext
33857 cat >>conftest.
$ac_ext <<_ACEOF
33858 /* end confdefs.h. */
33860 /* Override any gcc2 internal prototype to avoid an error. */
33864 /* We use char because int might match the return type of a gcc2
33865 builtin and then its argument prototype would still apply. */
33875 rm -f conftest.
$ac_objext conftest
$ac_exeext
33876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33877 (eval $ac_link) 2>conftest.er1
33879 grep -v '^ *+' conftest.er1
>conftest.err
33881 cat conftest.err
>&5
33882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33883 (exit $ac_status); } &&
33884 { ac_try
='test -z "$ac_c_werror_flag"
33885 || test ! -s conftest.err'
33886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33887 (eval $ac_try) 2>&5
33889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33890 (exit $ac_status); }; } &&
33891 { ac_try
='test -s conftest$ac_exeext'
33892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33893 (eval $ac_try) 2>&5
33895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33896 (exit $ac_status); }; }; then
33897 ac_cv_lib_nsl_inet_addr
=yes
33899 echo "$as_me: failed program was:" >&5
33900 sed 's/^/| /' conftest.
$ac_ext >&5
33902 ac_cv_lib_nsl_inet_addr
=no
33904 rm -f conftest.err conftest.
$ac_objext \
33905 conftest
$ac_exeext conftest.
$ac_ext
33906 LIBS
=$ac_check_lib_save_LIBS
33908 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
33909 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
33910 if test $ac_cv_lib_nsl_inet_addr = yes; then
33914 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
33915 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
33916 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
33917 echo $ECHO_N "(cached) $ECHO_C" >&6
33919 ac_check_lib_save_LIBS
=$LIBS
33920 LIBS
="-lresolv $LIBS"
33921 cat >conftest.
$ac_ext <<_ACEOF
33924 cat confdefs.h
>>conftest.
$ac_ext
33925 cat >>conftest.
$ac_ext <<_ACEOF
33926 /* end confdefs.h. */
33928 /* Override any gcc2 internal prototype to avoid an error. */
33932 /* We use char because int might match the return type of a gcc2
33933 builtin and then its argument prototype would still apply. */
33943 rm -f conftest.
$ac_objext conftest
$ac_exeext
33944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33945 (eval $ac_link) 2>conftest.er1
33947 grep -v '^ *+' conftest.er1
>conftest.err
33949 cat conftest.err
>&5
33950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33951 (exit $ac_status); } &&
33952 { ac_try
='test -z "$ac_c_werror_flag"
33953 || test ! -s conftest.err'
33954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33955 (eval $ac_try) 2>&5
33957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33958 (exit $ac_status); }; } &&
33959 { ac_try
='test -s conftest$ac_exeext'
33960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33961 (eval $ac_try) 2>&5
33963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33964 (exit $ac_status); }; }; then
33965 ac_cv_lib_resolv_inet_addr
=yes
33967 echo "$as_me: failed program was:" >&5
33968 sed 's/^/| /' conftest.
$ac_ext >&5
33970 ac_cv_lib_resolv_inet_addr
=no
33972 rm -f conftest.err conftest.
$ac_objext \
33973 conftest
$ac_exeext conftest.
$ac_ext
33974 LIBS
=$ac_check_lib_save_LIBS
33976 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
33977 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
33978 if test $ac_cv_lib_resolv_inet_addr = yes; then
33982 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
33983 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
33984 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
33985 echo $ECHO_N "(cached) $ECHO_C" >&6
33987 ac_check_lib_save_LIBS
=$LIBS
33988 LIBS
="-lsocket $LIBS"
33989 cat >conftest.
$ac_ext <<_ACEOF
33992 cat confdefs.h
>>conftest.
$ac_ext
33993 cat >>conftest.
$ac_ext <<_ACEOF
33994 /* end confdefs.h. */
33996 /* Override any gcc2 internal prototype to avoid an error. */
34000 /* We use char because int might match the return type of a gcc2
34001 builtin and then its argument prototype would still apply. */
34011 rm -f conftest.
$ac_objext conftest
$ac_exeext
34012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34013 (eval $ac_link) 2>conftest.er1
34015 grep -v '^ *+' conftest.er1
>conftest.err
34017 cat conftest.err
>&5
34018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34019 (exit $ac_status); } &&
34020 { ac_try
='test -z "$ac_c_werror_flag"
34021 || test ! -s conftest.err'
34022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34023 (eval $ac_try) 2>&5
34025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34026 (exit $ac_status); }; } &&
34027 { ac_try
='test -s conftest$ac_exeext'
34028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34029 (eval $ac_try) 2>&5
34031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34032 (exit $ac_status); }; }; then
34033 ac_cv_lib_socket_inet_addr
=yes
34035 echo "$as_me: failed program was:" >&5
34036 sed 's/^/| /' conftest.
$ac_ext >&5
34038 ac_cv_lib_socket_inet_addr
=no
34040 rm -f conftest.err conftest.
$ac_objext \
34041 conftest
$ac_exeext conftest.
$ac_ext
34042 LIBS
=$ac_check_lib_save_LIBS
34044 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
34045 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
34046 if test $ac_cv_lib_socket_inet_addr = yes; then
34066 for ac_func
in inet_aton
34068 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34069 echo "$as_me:$LINENO: checking for $ac_func" >&5
34070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34071 if eval "test \"\${$as_ac_var+set}\" = set"; then
34072 echo $ECHO_N "(cached) $ECHO_C" >&6
34074 cat >conftest.
$ac_ext <<_ACEOF
34077 cat confdefs.h
>>conftest.
$ac_ext
34078 cat >>conftest.
$ac_ext <<_ACEOF
34079 /* end confdefs.h. */
34080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34082 #define $ac_func innocuous_$ac_func
34084 /* System header to define __stub macros and hopefully few prototypes,
34085 which can conflict with char $ac_func (); below.
34086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34087 <limits.h> exists even on freestanding compilers. */
34090 # include <limits.h>
34092 # include <assert.h>
34097 /* Override any gcc2 internal prototype to avoid an error. */
34102 /* We use char because int might match the return type of a gcc2
34103 builtin and then its argument prototype would still apply. */
34105 /* The GNU C library defines this for functions which it implements
34106 to always fail with ENOSYS. Some functions are actually named
34107 something starting with __ and the normal name is an alias. */
34108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34111 char (*f) () = $ac_func;
34120 return f != $ac_func;
34125 rm -f conftest.
$ac_objext conftest
$ac_exeext
34126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34127 (eval $ac_link) 2>conftest.er1
34129 grep -v '^ *+' conftest.er1
>conftest.err
34131 cat conftest.err
>&5
34132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34133 (exit $ac_status); } &&
34134 { ac_try
='test -z "$ac_c_werror_flag"
34135 || test ! -s conftest.err'
34136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34137 (eval $ac_try) 2>&5
34139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34140 (exit $ac_status); }; } &&
34141 { ac_try
='test -s conftest$ac_exeext'
34142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34143 (eval $ac_try) 2>&5
34145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34146 (exit $ac_status); }; }; then
34147 eval "$as_ac_var=yes"
34149 echo "$as_me: failed program was:" >&5
34150 sed 's/^/| /' conftest.
$ac_ext >&5
34152 eval "$as_ac_var=no"
34154 rm -f conftest.err conftest.
$ac_objext \
34155 conftest
$ac_exeext conftest.
$ac_ext
34157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34159 if test `eval echo '${'$as_ac_var'}'` = yes; then
34160 cat >>confdefs.h
<<_ACEOF
34161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34163 cat >>confdefs.h
<<\_ACEOF
34164 #define HAVE_INET_ATON 1
34169 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
34170 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
34171 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
34172 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
34173 echo $ECHO_N "(cached) $ECHO_C" >&6
34175 ac_check_lib_save_LIBS
=$LIBS
34176 LIBS
="-l$INET_LINK $LIBS"
34177 cat >conftest.
$ac_ext <<_ACEOF
34180 cat confdefs.h
>>conftest.
$ac_ext
34181 cat >>conftest.
$ac_ext <<_ACEOF
34182 /* end confdefs.h. */
34184 /* Override any gcc2 internal prototype to avoid an error. */
34188 /* We use char because int might match the return type of a gcc2
34189 builtin and then its argument prototype would still apply. */
34199 rm -f conftest.
$ac_objext conftest
$ac_exeext
34200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34201 (eval $ac_link) 2>conftest.er1
34203 grep -v '^ *+' conftest.er1
>conftest.err
34205 cat conftest.err
>&5
34206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34207 (exit $ac_status); } &&
34208 { ac_try
='test -z "$ac_c_werror_flag"
34209 || test ! -s conftest.err'
34210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34211 (eval $ac_try) 2>&5
34213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34214 (exit $ac_status); }; } &&
34215 { ac_try
='test -s conftest$ac_exeext'
34216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34217 (eval $ac_try) 2>&5
34219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34220 (exit $ac_status); }; }; then
34221 eval "$as_ac_Lib=yes"
34223 echo "$as_me: failed program was:" >&5
34224 sed 's/^/| /' conftest.
$ac_ext >&5
34226 eval "$as_ac_Lib=no"
34228 rm -f conftest.err conftest.
$ac_objext \
34229 conftest
$ac_exeext conftest.
$ac_ext
34230 LIBS
=$ac_check_lib_save_LIBS
34232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
34233 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
34234 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
34235 cat >>confdefs.h
<<\_ACEOF
34236 #define HAVE_INET_ATON 1
34246 if test "x$INET_LINK" != "x"; then
34247 cat >>confdefs.h
<<\_ACEOF
34248 #define HAVE_INET_ADDR 1
34251 INET_LINK
=" -l$INET_LINK"
34259 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
34260 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
34261 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
34262 echo $ECHO_N "(cached) $ECHO_C" >&6
34264 ac_check_lib_save_LIBS
=$LIBS
34266 cat >conftest.
$ac_ext <<_ACEOF
34269 cat confdefs.h
>>conftest.
$ac_ext
34270 cat >>conftest.
$ac_ext <<_ACEOF
34271 /* end confdefs.h. */
34273 /* Override any gcc2 internal prototype to avoid an error. */
34277 /* We use char because int might match the return type of a gcc2
34278 builtin and then its argument prototype would still apply. */
34288 rm -f conftest.
$ac_objext conftest
$ac_exeext
34289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34290 (eval $ac_link) 2>conftest.er1
34292 grep -v '^ *+' conftest.er1
>conftest.err
34294 cat conftest.err
>&5
34295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34296 (exit $ac_status); } &&
34297 { ac_try
='test -z "$ac_c_werror_flag"
34298 || test ! -s conftest.err'
34299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34300 (eval $ac_try) 2>&5
34302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34303 (exit $ac_status); }; } &&
34304 { ac_try
='test -s conftest$ac_exeext'
34305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34306 (eval $ac_try) 2>&5
34308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34309 (exit $ac_status); }; }; then
34310 ac_cv_lib_esd_esd_close
=yes
34312 echo "$as_me: failed program was:" >&5
34313 sed 's/^/| /' conftest.
$ac_ext >&5
34315 ac_cv_lib_esd_esd_close
=no
34317 rm -f conftest.err conftest.
$ac_objext \
34318 conftest
$ac_exeext conftest.
$ac_ext
34319 LIBS
=$ac_check_lib_save_LIBS
34321 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
34322 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
34323 if test $ac_cv_lib_esd_esd_close = yes; then
34326 for ac_header
in esd.h
34328 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34329 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34330 echo "$as_me:$LINENO: checking for $ac_header" >&5
34331 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34333 echo $ECHO_N "(cached) $ECHO_C" >&6
34335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34336 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34338 # Is the header compilable?
34339 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34340 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34341 cat >conftest.
$ac_ext <<_ACEOF
34344 cat confdefs.h
>>conftest.
$ac_ext
34345 cat >>conftest.
$ac_ext <<_ACEOF
34346 /* end confdefs.h. */
34347 $ac_includes_default
34348 #include <$ac_header>
34350 rm -f conftest.
$ac_objext
34351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34352 (eval $ac_compile) 2>conftest.er1
34354 grep -v '^ *+' conftest.er1
>conftest.err
34356 cat conftest.err
>&5
34357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34358 (exit $ac_status); } &&
34359 { ac_try
='test -z "$ac_c_werror_flag"
34360 || test ! -s conftest.err'
34361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34362 (eval $ac_try) 2>&5
34364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34365 (exit $ac_status); }; } &&
34366 { ac_try
='test -s conftest.$ac_objext'
34367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34368 (eval $ac_try) 2>&5
34370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34371 (exit $ac_status); }; }; then
34372 ac_header_compiler
=yes
34374 echo "$as_me: failed program was:" >&5
34375 sed 's/^/| /' conftest.
$ac_ext >&5
34377 ac_header_compiler
=no
34379 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34380 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34381 echo "${ECHO_T}$ac_header_compiler" >&6
34383 # Is the header present?
34384 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34385 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34386 cat >conftest.
$ac_ext <<_ACEOF
34389 cat confdefs.h
>>conftest.
$ac_ext
34390 cat >>conftest.
$ac_ext <<_ACEOF
34391 /* end confdefs.h. */
34392 #include <$ac_header>
34394 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34395 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34397 grep -v '^ *+' conftest.er1
>conftest.err
34399 cat conftest.err
>&5
34400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34401 (exit $ac_status); } >/dev
/null
; then
34402 if test -s conftest.err
; then
34403 ac_cpp_err
=$ac_c_preproc_warn_flag
34404 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34411 if test -z "$ac_cpp_err"; then
34412 ac_header_preproc
=yes
34414 echo "$as_me: failed program was:" >&5
34415 sed 's/^/| /' conftest.
$ac_ext >&5
34417 ac_header_preproc
=no
34419 rm -f conftest.err conftest.
$ac_ext
34420 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34421 echo "${ECHO_T}$ac_header_preproc" >&6
34423 # So? What about this header?
34424 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34426 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34427 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34428 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34429 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34430 ac_header_preproc
=yes
34433 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34434 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34435 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34436 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34437 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34438 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34439 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34440 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34441 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34442 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34443 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34444 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34447 ## ----------------------------------------- ##
34448 ## Report this to wx-dev@lists.wxwidgets.org ##
34449 ## ----------------------------------------- ##
34452 sed "s/^/$as_me: WARNING: /" >&2
34455 echo "$as_me:$LINENO: checking for $ac_header" >&5
34456 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34457 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34458 echo $ECHO_N "(cached) $ECHO_C" >&6
34460 eval "$as_ac_Header=\$ac_header_preproc"
34462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34463 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34466 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34467 cat >>confdefs.h
<<_ACEOF
34468 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34471 EXTRALIBS_ESD
="-lesd"
34482 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
34483 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
34484 cat >conftest.
$ac_ext <<_ACEOF
34487 cat confdefs.h
>>conftest.
$ac_ext
34488 cat >>conftest.
$ac_ext <<_ACEOF
34489 /* end confdefs.h. */
34491 #include <linux/cdrom.h>
34494 #include <sys/cdio.h>
34500 struct cdrom_tocentry entry, old_entry;
34505 rm -f conftest.
$ac_objext
34506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34507 (eval $ac_compile) 2>conftest.er1
34509 grep -v '^ *+' conftest.er1
>conftest.err
34511 cat conftest.err
>&5
34512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34513 (exit $ac_status); } &&
34514 { ac_try
='test -z "$ac_c_werror_flag"
34515 || test ! -s conftest.err'
34516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34517 (eval $ac_try) 2>&5
34519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34520 (exit $ac_status); }; } &&
34521 { ac_try
='test -s conftest.$ac_objext'
34522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34523 (eval $ac_try) 2>&5
34525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34526 (exit $ac_status); }; }; then
34527 echo "$as_me:$LINENO: result: yes" >&5
34528 echo "${ECHO_T}yes" >&6
34529 cat >>confdefs.h
<<\_ACEOF
34530 #define HAVE_KNOWN_CDROM_INTERFACE 1
34534 echo "$as_me: failed program was:" >&5
34535 sed 's/^/| /' conftest.
$ac_ext >&5
34537 echo "$as_me:$LINENO: result: no" >&5
34538 echo "${ECHO_T}no" >&6
34540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34543 cat >confcache
<<\_ACEOF
34544 # This file is a shell script that caches the results of configure
34545 # tests run on this system so they can be shared between configure
34546 # scripts and configure runs, see configure's option --config-cache.
34547 # It is not useful on other systems. If it contains results you don't
34548 # want to keep, you may remove or edit it.
34550 # config.status only pays attention to the cache file if you give it
34551 # the --recheck option to rerun configure.
34553 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34554 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34555 # following values.
34559 # The following way of writing the cache mishandles newlines in values,
34560 # but we know of no workaround that is simple, portable, and efficient.
34561 # So, don't put newlines in cache variables' values.
34562 # Ultrix sh set writes to stderr and can't be redirected directly,
34563 # and sets the high bit in the cache file unless we assign to the vars.
34566 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34568 # `set' does not quote correctly, so add quotes (double-quote
34569 # substitution turns \\\\ into \\, and sed turns \\ into \).
34572 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34575 # `set' quotes correctly as required by POSIX, so do not add quotes.
34577 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34584 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34586 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34588 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
34589 if test -w $cache_file; then
34590 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34591 cat confcache
>$cache_file
34593 echo "not updating unwritable cache $cache_file"
34600 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
34606 if test "$wxUSE_THREADS" = "yes" ; then
34607 if test "$USE_BEOS" = 1; then
34608 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
34609 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
34614 if test "$wxUSE_THREADS" = "yes" ; then
34617 THREAD_OPTS
="-pthread"
34619 *-*-solaris2* | *-*-sunos4* )
34620 if test "x$GCC" = "xyes"; then
34621 THREAD_OPTS
="-pthreads $THREAD_OPTS"
34623 THREAD_OPTS
="-mt $THREAD_OPTS"
34627 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
34629 *-*-darwin* | *-*-cygwin* )
34633 THREAD_OPTS
="pthreads"
34636 if test "x$GCC" != "xyes"; then
34642 if test "x$GCC" = "xyes"; then
34648 if test "x$GCC" != "xyes"; then
34649 THREAD_OPTS
="-Ethread"
34654 THREAD_OPTS
="$THREAD_OPTS pthread none"
34657 for flag
in $THREAD_OPTS; do
34660 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
34661 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
34665 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
34666 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
34667 THREADS_CFLAGS
="$flag"
34671 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
34672 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
34673 THREADS_LINK
="-l$flag"
34678 save_CFLAGS
="$CFLAGS"
34679 LIBS
="$THREADS_LINK $LIBS"
34680 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
34682 cat >conftest.
$ac_ext <<_ACEOF
34685 cat confdefs.h
>>conftest.
$ac_ext
34686 cat >>conftest.
$ac_ext <<_ACEOF
34687 /* end confdefs.h. */
34688 #include <pthread.h>
34692 pthread_create(0,0,0,0);
34697 rm -f conftest.
$ac_objext conftest
$ac_exeext
34698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34699 (eval $ac_link) 2>conftest.er1
34701 grep -v '^ *+' conftest.er1
>conftest.err
34703 cat conftest.err
>&5
34704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34705 (exit $ac_status); } &&
34706 { ac_try
='test -z "$ac_c_werror_flag"
34707 || test ! -s conftest.err'
34708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34709 (eval $ac_try) 2>&5
34711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34712 (exit $ac_status); }; } &&
34713 { ac_try
='test -s conftest$ac_exeext'
34714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34715 (eval $ac_try) 2>&5
34717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34718 (exit $ac_status); }; }; then
34721 echo "$as_me: failed program was:" >&5
34722 sed 's/^/| /' conftest.
$ac_ext >&5
34725 rm -f conftest.err conftest.
$ac_objext \
34726 conftest
$ac_exeext conftest.
$ac_ext
34729 CFLAGS
="$save_CFLAGS"
34731 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
34732 echo "${ECHO_T}$THREADS_OK" >&6
34733 if test "x$THREADS_OK" = "xyes"; then
34741 if test "x$THREADS_OK" != "xyes"; then
34743 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
34744 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
34746 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
34747 LIBS
="$THREADS_LINK $LIBS"
34749 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
34750 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
34754 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
34755 flag
="-D_THREAD_SAFE"
34758 flag
="-D_THREAD_SAFE"
34761 flag
="-D_REENTRANT"
34762 if test "x$GCC" != "xyes"; then
34763 flag
="$flag -D_RWSTD_MULTI_THREAD"
34766 *solaris
* | alpha
*-osf*)
34767 flag
="-D_REENTRANT"
34770 echo "$as_me:$LINENO: result: ${flag}" >&5
34771 echo "${ECHO_T}${flag}" >&6
34772 if test "x$flag" != xno
; then
34773 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
34776 if test "x$THREADS_CFLAGS" != "x"; then
34777 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
34778 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
34783 if test "$wxUSE_THREADS" = "yes" ; then
34785 for ac_func
in thr_setconcurrency
34787 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34788 echo "$as_me:$LINENO: checking for $ac_func" >&5
34789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34790 if eval "test \"\${$as_ac_var+set}\" = set"; then
34791 echo $ECHO_N "(cached) $ECHO_C" >&6
34793 cat >conftest.
$ac_ext <<_ACEOF
34796 cat confdefs.h
>>conftest.
$ac_ext
34797 cat >>conftest.
$ac_ext <<_ACEOF
34798 /* end confdefs.h. */
34799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34801 #define $ac_func innocuous_$ac_func
34803 /* System header to define __stub macros and hopefully few prototypes,
34804 which can conflict with char $ac_func (); below.
34805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34806 <limits.h> exists even on freestanding compilers. */
34809 # include <limits.h>
34811 # include <assert.h>
34816 /* Override any gcc2 internal prototype to avoid an error. */
34821 /* We use char because int might match the return type of a gcc2
34822 builtin and then its argument prototype would still apply. */
34824 /* The GNU C library defines this for functions which it implements
34825 to always fail with ENOSYS. Some functions are actually named
34826 something starting with __ and the normal name is an alias. */
34827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34830 char (*f) () = $ac_func;
34839 return f != $ac_func;
34844 rm -f conftest.
$ac_objext conftest
$ac_exeext
34845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34846 (eval $ac_link) 2>conftest.er1
34848 grep -v '^ *+' conftest.er1
>conftest.err
34850 cat conftest.err
>&5
34851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34852 (exit $ac_status); } &&
34853 { ac_try
='test -z "$ac_c_werror_flag"
34854 || test ! -s conftest.err'
34855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34856 (eval $ac_try) 2>&5
34858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34859 (exit $ac_status); }; } &&
34860 { ac_try
='test -s conftest$ac_exeext'
34861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34862 (eval $ac_try) 2>&5
34864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34865 (exit $ac_status); }; }; then
34866 eval "$as_ac_var=yes"
34868 echo "$as_me: failed program was:" >&5
34869 sed 's/^/| /' conftest.
$ac_ext >&5
34871 eval "$as_ac_var=no"
34873 rm -f conftest.err conftest.
$ac_objext \
34874 conftest
$ac_exeext conftest.
$ac_ext
34876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34878 if test `eval echo '${'$as_ac_var'}'` = yes; then
34879 cat >>confdefs.h
<<_ACEOF
34880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34888 for ac_header
in sched.h
34890 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34891 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34892 echo "$as_me:$LINENO: checking for $ac_header" >&5
34893 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34894 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34895 echo $ECHO_N "(cached) $ECHO_C" >&6
34897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34898 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34900 # Is the header compilable?
34901 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34902 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34903 cat >conftest.
$ac_ext <<_ACEOF
34906 cat confdefs.h
>>conftest.
$ac_ext
34907 cat >>conftest.
$ac_ext <<_ACEOF
34908 /* end confdefs.h. */
34909 $ac_includes_default
34910 #include <$ac_header>
34912 rm -f conftest.
$ac_objext
34913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34914 (eval $ac_compile) 2>conftest.er1
34916 grep -v '^ *+' conftest.er1
>conftest.err
34918 cat conftest.err
>&5
34919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34920 (exit $ac_status); } &&
34921 { ac_try
='test -z "$ac_c_werror_flag"
34922 || test ! -s conftest.err'
34923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34924 (eval $ac_try) 2>&5
34926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34927 (exit $ac_status); }; } &&
34928 { ac_try
='test -s conftest.$ac_objext'
34929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34930 (eval $ac_try) 2>&5
34932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34933 (exit $ac_status); }; }; then
34934 ac_header_compiler
=yes
34936 echo "$as_me: failed program was:" >&5
34937 sed 's/^/| /' conftest.
$ac_ext >&5
34939 ac_header_compiler
=no
34941 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34942 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34943 echo "${ECHO_T}$ac_header_compiler" >&6
34945 # Is the header present?
34946 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34947 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34948 cat >conftest.
$ac_ext <<_ACEOF
34951 cat confdefs.h
>>conftest.
$ac_ext
34952 cat >>conftest.
$ac_ext <<_ACEOF
34953 /* end confdefs.h. */
34954 #include <$ac_header>
34956 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34957 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34959 grep -v '^ *+' conftest.er1
>conftest.err
34961 cat conftest.err
>&5
34962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34963 (exit $ac_status); } >/dev
/null
; then
34964 if test -s conftest.err
; then
34965 ac_cpp_err
=$ac_c_preproc_warn_flag
34966 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34973 if test -z "$ac_cpp_err"; then
34974 ac_header_preproc
=yes
34976 echo "$as_me: failed program was:" >&5
34977 sed 's/^/| /' conftest.
$ac_ext >&5
34979 ac_header_preproc
=no
34981 rm -f conftest.err conftest.
$ac_ext
34982 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34983 echo "${ECHO_T}$ac_header_preproc" >&6
34985 # So? What about this header?
34986 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34988 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34989 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34990 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34991 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34992 ac_header_preproc
=yes
34995 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34996 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34997 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34998 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34999 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35000 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35001 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35002 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35003 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35004 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35005 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35006 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35009 ## ----------------------------------------- ##
35010 ## Report this to wx-dev@lists.wxwidgets.org ##
35011 ## ----------------------------------------- ##
35014 sed "s/^/$as_me: WARNING: /" >&2
35017 echo "$as_me:$LINENO: checking for $ac_header" >&5
35018 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35019 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35020 echo $ECHO_N "(cached) $ECHO_C" >&6
35022 eval "$as_ac_Header=\$ac_header_preproc"
35024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35025 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35028 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35029 cat >>confdefs.h
<<_ACEOF
35030 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35037 if test "$ac_cv_header_sched_h" = "yes"; then
35038 echo "$as_me:$LINENO: checking for sched_yield" >&5
35039 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
35040 if test "${ac_cv_func_sched_yield+set}" = set; then
35041 echo $ECHO_N "(cached) $ECHO_C" >&6
35043 cat >conftest.
$ac_ext <<_ACEOF
35046 cat confdefs.h
>>conftest.
$ac_ext
35047 cat >>conftest.
$ac_ext <<_ACEOF
35048 /* end confdefs.h. */
35049 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
35050 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35051 #define sched_yield innocuous_sched_yield
35053 /* System header to define __stub macros and hopefully few prototypes,
35054 which can conflict with char sched_yield (); below.
35055 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35056 <limits.h> exists even on freestanding compilers. */
35059 # include <limits.h>
35061 # include <assert.h>
35066 /* Override any gcc2 internal prototype to avoid an error. */
35071 /* We use char because int might match the return type of a gcc2
35072 builtin and then its argument prototype would still apply. */
35073 char sched_yield ();
35074 /* The GNU C library defines this for functions which it implements
35075 to always fail with ENOSYS. Some functions are actually named
35076 something starting with __ and the normal name is an alias. */
35077 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
35080 char (*f) () = sched_yield;
35089 return f != sched_yield;
35094 rm -f conftest.
$ac_objext conftest
$ac_exeext
35095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35096 (eval $ac_link) 2>conftest.er1
35098 grep -v '^ *+' conftest.er1
>conftest.err
35100 cat conftest.err
>&5
35101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35102 (exit $ac_status); } &&
35103 { ac_try
='test -z "$ac_c_werror_flag"
35104 || test ! -s conftest.err'
35105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35106 (eval $ac_try) 2>&5
35108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35109 (exit $ac_status); }; } &&
35110 { ac_try
='test -s conftest$ac_exeext'
35111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35112 (eval $ac_try) 2>&5
35114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35115 (exit $ac_status); }; }; then
35116 ac_cv_func_sched_yield
=yes
35118 echo "$as_me: failed program was:" >&5
35119 sed 's/^/| /' conftest.
$ac_ext >&5
35121 ac_cv_func_sched_yield
=no
35123 rm -f conftest.err conftest.
$ac_objext \
35124 conftest
$ac_exeext conftest.
$ac_ext
35126 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
35127 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
35128 if test $ac_cv_func_sched_yield = yes; then
35129 cat >>confdefs.h
<<\_ACEOF
35130 #define HAVE_SCHED_YIELD 1
35135 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
35136 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
35137 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
35138 echo $ECHO_N "(cached) $ECHO_C" >&6
35140 ac_check_lib_save_LIBS
=$LIBS
35141 LIBS
="-lposix4 $LIBS"
35142 cat >conftest.
$ac_ext <<_ACEOF
35145 cat confdefs.h
>>conftest.
$ac_ext
35146 cat >>conftest.
$ac_ext <<_ACEOF
35147 /* end confdefs.h. */
35149 /* Override any gcc2 internal prototype to avoid an error. */
35153 /* We use char because int might match the return type of a gcc2
35154 builtin and then its argument prototype would still apply. */
35155 char sched_yield ();
35164 rm -f conftest.
$ac_objext conftest
$ac_exeext
35165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35166 (eval $ac_link) 2>conftest.er1
35168 grep -v '^ *+' conftest.er1
>conftest.err
35170 cat conftest.err
>&5
35171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35172 (exit $ac_status); } &&
35173 { ac_try
='test -z "$ac_c_werror_flag"
35174 || test ! -s conftest.err'
35175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35176 (eval $ac_try) 2>&5
35178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35179 (exit $ac_status); }; } &&
35180 { ac_try
='test -s conftest$ac_exeext'
35181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35182 (eval $ac_try) 2>&5
35184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35185 (exit $ac_status); }; }; then
35186 ac_cv_lib_posix4_sched_yield
=yes
35188 echo "$as_me: failed program was:" >&5
35189 sed 's/^/| /' conftest.
$ac_ext >&5
35191 ac_cv_lib_posix4_sched_yield
=no
35193 rm -f conftest.err conftest.
$ac_objext \
35194 conftest
$ac_exeext conftest.
$ac_ext
35195 LIBS
=$ac_check_lib_save_LIBS
35197 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
35198 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
35199 if test $ac_cv_lib_posix4_sched_yield = yes; then
35200 cat >>confdefs.h
<<\_ACEOF
35201 #define HAVE_SCHED_YIELD 1
35203 POSIX4_LINK
=" -lposix4"
35205 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
35206 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
35217 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
35218 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
35219 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
35220 echo $ECHO_N "(cached) $ECHO_C" >&6
35222 cat >conftest.
$ac_ext <<_ACEOF
35225 cat confdefs.h
>>conftest.
$ac_ext
35226 cat >>conftest.
$ac_ext <<_ACEOF
35227 /* end confdefs.h. */
35228 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
35229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35230 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
35232 /* System header to define __stub macros and hopefully few prototypes,
35233 which can conflict with char pthread_attr_getschedpolicy (); below.
35234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35235 <limits.h> exists even on freestanding compilers. */
35238 # include <limits.h>
35240 # include <assert.h>
35243 #undef pthread_attr_getschedpolicy
35245 /* Override any gcc2 internal prototype to avoid an error. */
35250 /* We use char because int might match the return type of a gcc2
35251 builtin and then its argument prototype would still apply. */
35252 char pthread_attr_getschedpolicy ();
35253 /* The GNU C library defines this for functions which it implements
35254 to always fail with ENOSYS. Some functions are actually named
35255 something starting with __ and the normal name is an alias. */
35256 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
35259 char (*f) () = pthread_attr_getschedpolicy;
35268 return f != pthread_attr_getschedpolicy;
35273 rm -f conftest.
$ac_objext conftest
$ac_exeext
35274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35275 (eval $ac_link) 2>conftest.er1
35277 grep -v '^ *+' conftest.er1
>conftest.err
35279 cat conftest.err
>&5
35280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35281 (exit $ac_status); } &&
35282 { ac_try
='test -z "$ac_c_werror_flag"
35283 || test ! -s conftest.err'
35284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35285 (eval $ac_try) 2>&5
35287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35288 (exit $ac_status); }; } &&
35289 { ac_try
='test -s conftest$ac_exeext'
35290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35291 (eval $ac_try) 2>&5
35293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35294 (exit $ac_status); }; }; then
35295 ac_cv_func_pthread_attr_getschedpolicy
=yes
35297 echo "$as_me: failed program was:" >&5
35298 sed 's/^/| /' conftest.
$ac_ext >&5
35300 ac_cv_func_pthread_attr_getschedpolicy
=no
35302 rm -f conftest.err conftest.
$ac_objext \
35303 conftest
$ac_exeext conftest.
$ac_ext
35305 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
35306 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
35307 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
35308 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
35309 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
35310 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
35311 echo $ECHO_N "(cached) $ECHO_C" >&6
35313 cat >conftest.
$ac_ext <<_ACEOF
35316 cat confdefs.h
>>conftest.
$ac_ext
35317 cat >>conftest.
$ac_ext <<_ACEOF
35318 /* end confdefs.h. */
35319 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
35320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35321 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
35323 /* System header to define __stub macros and hopefully few prototypes,
35324 which can conflict with char pthread_attr_setschedparam (); below.
35325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35326 <limits.h> exists even on freestanding compilers. */
35329 # include <limits.h>
35331 # include <assert.h>
35334 #undef pthread_attr_setschedparam
35336 /* Override any gcc2 internal prototype to avoid an error. */
35341 /* We use char because int might match the return type of a gcc2
35342 builtin and then its argument prototype would still apply. */
35343 char pthread_attr_setschedparam ();
35344 /* The GNU C library defines this for functions which it implements
35345 to always fail with ENOSYS. Some functions are actually named
35346 something starting with __ and the normal name is an alias. */
35347 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
35350 char (*f) () = pthread_attr_setschedparam;
35359 return f != pthread_attr_setschedparam;
35364 rm -f conftest.
$ac_objext conftest
$ac_exeext
35365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35366 (eval $ac_link) 2>conftest.er1
35368 grep -v '^ *+' conftest.er1
>conftest.err
35370 cat conftest.err
>&5
35371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35372 (exit $ac_status); } &&
35373 { ac_try
='test -z "$ac_c_werror_flag"
35374 || test ! -s conftest.err'
35375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35376 (eval $ac_try) 2>&5
35378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35379 (exit $ac_status); }; } &&
35380 { ac_try
='test -s conftest$ac_exeext'
35381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35382 (eval $ac_try) 2>&5
35384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35385 (exit $ac_status); }; }; then
35386 ac_cv_func_pthread_attr_setschedparam
=yes
35388 echo "$as_me: failed program was:" >&5
35389 sed 's/^/| /' conftest.
$ac_ext >&5
35391 ac_cv_func_pthread_attr_setschedparam
=no
35393 rm -f conftest.err conftest.
$ac_objext \
35394 conftest
$ac_exeext conftest.
$ac_ext
35396 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
35397 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
35398 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
35399 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
35400 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
35401 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
35402 echo $ECHO_N "(cached) $ECHO_C" >&6
35404 cat >conftest.
$ac_ext <<_ACEOF
35407 cat confdefs.h
>>conftest.
$ac_ext
35408 cat >>conftest.
$ac_ext <<_ACEOF
35409 /* end confdefs.h. */
35410 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
35411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35412 #define sched_get_priority_max innocuous_sched_get_priority_max
35414 /* System header to define __stub macros and hopefully few prototypes,
35415 which can conflict with char sched_get_priority_max (); below.
35416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35417 <limits.h> exists even on freestanding compilers. */
35420 # include <limits.h>
35422 # include <assert.h>
35425 #undef sched_get_priority_max
35427 /* Override any gcc2 internal prototype to avoid an error. */
35432 /* We use char because int might match the return type of a gcc2
35433 builtin and then its argument prototype would still apply. */
35434 char sched_get_priority_max ();
35435 /* The GNU C library defines this for functions which it implements
35436 to always fail with ENOSYS. Some functions are actually named
35437 something starting with __ and the normal name is an alias. */
35438 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
35441 char (*f) () = sched_get_priority_max;
35450 return f != sched_get_priority_max;
35455 rm -f conftest.
$ac_objext conftest
$ac_exeext
35456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35457 (eval $ac_link) 2>conftest.er1
35459 grep -v '^ *+' conftest.er1
>conftest.err
35461 cat conftest.err
>&5
35462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35463 (exit $ac_status); } &&
35464 { ac_try
='test -z "$ac_c_werror_flag"
35465 || test ! -s conftest.err'
35466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35467 (eval $ac_try) 2>&5
35469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35470 (exit $ac_status); }; } &&
35471 { ac_try
='test -s conftest$ac_exeext'
35472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35473 (eval $ac_try) 2>&5
35475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35476 (exit $ac_status); }; }; then
35477 ac_cv_func_sched_get_priority_max
=yes
35479 echo "$as_me: failed program was:" >&5
35480 sed 's/^/| /' conftest.
$ac_ext >&5
35482 ac_cv_func_sched_get_priority_max
=no
35484 rm -f conftest.err conftest.
$ac_objext \
35485 conftest
$ac_exeext conftest.
$ac_ext
35487 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
35488 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
35489 if test $ac_cv_func_sched_get_priority_max = yes; then
35492 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
35493 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
35494 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
35495 echo $ECHO_N "(cached) $ECHO_C" >&6
35497 ac_check_lib_save_LIBS
=$LIBS
35498 LIBS
="-lposix4 $LIBS"
35499 cat >conftest.
$ac_ext <<_ACEOF
35502 cat confdefs.h
>>conftest.
$ac_ext
35503 cat >>conftest.
$ac_ext <<_ACEOF
35504 /* end confdefs.h. */
35506 /* Override any gcc2 internal prototype to avoid an error. */
35510 /* We use char because int might match the return type of a gcc2
35511 builtin and then its argument prototype would still apply. */
35512 char sched_get_priority_max ();
35516 sched_get_priority_max ();
35521 rm -f conftest.
$ac_objext conftest
$ac_exeext
35522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35523 (eval $ac_link) 2>conftest.er1
35525 grep -v '^ *+' conftest.er1
>conftest.err
35527 cat conftest.err
>&5
35528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35529 (exit $ac_status); } &&
35530 { ac_try
='test -z "$ac_c_werror_flag"
35531 || test ! -s conftest.err'
35532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35533 (eval $ac_try) 2>&5
35535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35536 (exit $ac_status); }; } &&
35537 { ac_try
='test -s conftest$ac_exeext'
35538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35539 (eval $ac_try) 2>&5
35541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35542 (exit $ac_status); }; }; then
35543 ac_cv_lib_posix4_sched_get_priority_max
=yes
35545 echo "$as_me: failed program was:" >&5
35546 sed 's/^/| /' conftest.
$ac_ext >&5
35548 ac_cv_lib_posix4_sched_get_priority_max
=no
35550 rm -f conftest.err conftest.
$ac_objext \
35551 conftest
$ac_exeext conftest.
$ac_ext
35552 LIBS
=$ac_check_lib_save_LIBS
35554 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
35555 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
35556 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
35559 POSIX4_LINK
=" -lposix4"
35573 if test "$HAVE_PRIOR_FUNCS" = 1; then
35574 cat >>confdefs.h
<<\_ACEOF
35575 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
35579 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
35580 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
35583 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
35584 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
35585 if test "${ac_cv_func_pthread_cancel+set}" = set; then
35586 echo $ECHO_N "(cached) $ECHO_C" >&6
35588 cat >conftest.
$ac_ext <<_ACEOF
35591 cat confdefs.h
>>conftest.
$ac_ext
35592 cat >>conftest.
$ac_ext <<_ACEOF
35593 /* end confdefs.h. */
35594 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
35595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35596 #define pthread_cancel innocuous_pthread_cancel
35598 /* System header to define __stub macros and hopefully few prototypes,
35599 which can conflict with char pthread_cancel (); below.
35600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35601 <limits.h> exists even on freestanding compilers. */
35604 # include <limits.h>
35606 # include <assert.h>
35609 #undef pthread_cancel
35611 /* Override any gcc2 internal prototype to avoid an error. */
35616 /* We use char because int might match the return type of a gcc2
35617 builtin and then its argument prototype would still apply. */
35618 char pthread_cancel ();
35619 /* The GNU C library defines this for functions which it implements
35620 to always fail with ENOSYS. Some functions are actually named
35621 something starting with __ and the normal name is an alias. */
35622 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
35625 char (*f) () = pthread_cancel;
35634 return f != pthread_cancel;
35639 rm -f conftest.
$ac_objext conftest
$ac_exeext
35640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35641 (eval $ac_link) 2>conftest.er1
35643 grep -v '^ *+' conftest.er1
>conftest.err
35645 cat conftest.err
>&5
35646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35647 (exit $ac_status); } &&
35648 { ac_try
='test -z "$ac_c_werror_flag"
35649 || test ! -s conftest.err'
35650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35651 (eval $ac_try) 2>&5
35653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35654 (exit $ac_status); }; } &&
35655 { ac_try
='test -s conftest$ac_exeext'
35656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35657 (eval $ac_try) 2>&5
35659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35660 (exit $ac_status); }; }; then
35661 ac_cv_func_pthread_cancel
=yes
35663 echo "$as_me: failed program was:" >&5
35664 sed 's/^/| /' conftest.
$ac_ext >&5
35666 ac_cv_func_pthread_cancel
=no
35668 rm -f conftest.err conftest.
$ac_objext \
35669 conftest
$ac_exeext conftest.
$ac_ext
35671 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
35672 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
35673 if test $ac_cv_func_pthread_cancel = yes; then
35674 cat >>confdefs.h
<<\_ACEOF
35675 #define HAVE_PTHREAD_CANCEL 1
35679 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
35680 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
35684 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
35685 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
35686 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
35687 echo $ECHO_N "(cached) $ECHO_C" >&6
35689 cat >conftest.
$ac_ext <<_ACEOF
35692 cat confdefs.h
>>conftest.
$ac_ext
35693 cat >>conftest.
$ac_ext <<_ACEOF
35694 /* end confdefs.h. */
35695 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
35696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35697 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
35699 /* System header to define __stub macros and hopefully few prototypes,
35700 which can conflict with char pthread_attr_setstacksize (); below.
35701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35702 <limits.h> exists even on freestanding compilers. */
35705 # include <limits.h>
35707 # include <assert.h>
35710 #undef pthread_attr_setstacksize
35712 /* Override any gcc2 internal prototype to avoid an error. */
35717 /* We use char because int might match the return type of a gcc2
35718 builtin and then its argument prototype would still apply. */
35719 char pthread_attr_setstacksize ();
35720 /* The GNU C library defines this for functions which it implements
35721 to always fail with ENOSYS. Some functions are actually named
35722 something starting with __ and the normal name is an alias. */
35723 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
35726 char (*f) () = pthread_attr_setstacksize;
35735 return f != pthread_attr_setstacksize;
35740 rm -f conftest.
$ac_objext conftest
$ac_exeext
35741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35742 (eval $ac_link) 2>conftest.er1
35744 grep -v '^ *+' conftest.er1
>conftest.err
35746 cat conftest.err
>&5
35747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35748 (exit $ac_status); } &&
35749 { ac_try
='test -z "$ac_c_werror_flag"
35750 || test ! -s conftest.err'
35751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35752 (eval $ac_try) 2>&5
35754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35755 (exit $ac_status); }; } &&
35756 { ac_try
='test -s conftest$ac_exeext'
35757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35758 (eval $ac_try) 2>&5
35760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35761 (exit $ac_status); }; }; then
35762 ac_cv_func_pthread_attr_setstacksize
=yes
35764 echo "$as_me: failed program was:" >&5
35765 sed 's/^/| /' conftest.
$ac_ext >&5
35767 ac_cv_func_pthread_attr_setstacksize
=no
35769 rm -f conftest.err conftest.
$ac_objext \
35770 conftest
$ac_exeext conftest.
$ac_ext
35772 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
35773 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
35774 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
35775 cat >>confdefs.h
<<\_ACEOF
35776 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
35783 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
35784 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
35785 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
35786 echo $ECHO_N "(cached) $ECHO_C" >&6
35789 cat >conftest.
$ac_ext <<_ACEOF
35792 cat confdefs.h
>>conftest.
$ac_ext
35793 cat >>conftest.
$ac_ext <<_ACEOF
35794 /* end confdefs.h. */
35795 #include <pthread.h>
35800 pthread_mutexattr_t attr;
35801 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
35807 rm -f conftest.
$ac_objext
35808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35809 (eval $ac_compile) 2>conftest.er1
35811 grep -v '^ *+' conftest.er1
>conftest.err
35813 cat conftest.err
>&5
35814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35815 (exit $ac_status); } &&
35816 { ac_try
='test -z "$ac_c_werror_flag"
35817 || test ! -s conftest.err'
35818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35819 (eval $ac_try) 2>&5
35821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35822 (exit $ac_status); }; } &&
35823 { ac_try
='test -s conftest.$ac_objext'
35824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35825 (eval $ac_try) 2>&5
35827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35828 (exit $ac_status); }; }; then
35830 wx_cv_type_pthread_mutexattr_t
=yes
35833 echo "$as_me: failed program was:" >&5
35834 sed 's/^/| /' conftest.
$ac_ext >&5
35837 wx_cv_type_pthread_mutexattr_t
=no
35841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35844 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
35845 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
35847 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
35848 cat >>confdefs.h
<<\_ACEOF
35849 #define HAVE_PTHREAD_MUTEXATTR_T 1
35853 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
35854 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
35855 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
35856 echo $ECHO_N "(cached) $ECHO_C" >&6
35859 cat >conftest.
$ac_ext <<_ACEOF
35862 cat confdefs.h
>>conftest.
$ac_ext
35863 cat >>conftest.
$ac_ext <<_ACEOF
35864 /* end confdefs.h. */
35865 #include <pthread.h>
35870 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
35876 rm -f conftest.
$ac_objext
35877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35878 (eval $ac_compile) 2>conftest.er1
35880 grep -v '^ *+' conftest.er1
>conftest.err
35882 cat conftest.err
>&5
35883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35884 (exit $ac_status); } &&
35885 { ac_try
='test -z "$ac_c_werror_flag"
35886 || test ! -s conftest.err'
35887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35888 (eval $ac_try) 2>&5
35890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35891 (exit $ac_status); }; } &&
35892 { ac_try
='test -s conftest.$ac_objext'
35893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35894 (eval $ac_try) 2>&5
35896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35897 (exit $ac_status); }; }; then
35899 wx_cv_type_pthread_rec_mutex_init
=yes
35902 echo "$as_me: failed program was:" >&5
35903 sed 's/^/| /' conftest.
$ac_ext >&5
35906 wx_cv_type_pthread_rec_mutex_init
=no
35910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35913 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
35914 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
35915 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
35916 cat >>confdefs.h
<<\_ACEOF
35917 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
35921 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
35922 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
35928 if test "$wxUSE_THREADS" = "yes" ; then
35931 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
35932 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
35933 if test "${wx_cv_cflags_mthread+set}" = set; then
35934 echo $ECHO_N "(cached) $ECHO_C" >&6
35937 CFLAGS_OLD
="$CFLAGS"
35938 CFLAGS
="$CFLAGS -mthreads"
35939 cat >conftest.
$ac_ext <<_ACEOF
35942 cat confdefs.h
>>conftest.
$ac_ext
35943 cat >>conftest.
$ac_ext <<_ACEOF
35944 /* end confdefs.h. */
35954 rm -f conftest.
$ac_objext
35955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35956 (eval $ac_compile) 2>conftest.er1
35958 grep -v '^ *+' conftest.er1
>conftest.err
35960 cat conftest.err
>&5
35961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35962 (exit $ac_status); } &&
35963 { ac_try
='test -z "$ac_c_werror_flag"
35964 || test ! -s conftest.err'
35965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35966 (eval $ac_try) 2>&5
35968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35969 (exit $ac_status); }; } &&
35970 { ac_try
='test -s conftest.$ac_objext'
35971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35972 (eval $ac_try) 2>&5
35974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35975 (exit $ac_status); }; }; then
35976 wx_cv_cflags_mthread
=yes
35978 echo "$as_me: failed program was:" >&5
35979 sed 's/^/| /' conftest.
$ac_ext >&5
35981 wx_cv_cflags_mthread
=no
35984 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35988 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
35989 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
35991 if test "$wx_cv_cflags_mthread" = "yes"; then
35992 CXXFLAGS
="$CXXFLAGS -mthreads"
35993 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
35994 LDFLAGS
="$LDFLAGS -mthreads"
35996 CFLAGS
="$CFLAGS_OLD"
36000 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
36001 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
36002 LDFLAGS
="$LDFLAGS -Zmt"
36008 if test "$wxUSE_THREADS" = "yes"; then
36009 cat >>confdefs.h
<<\_ACEOF
36010 #define wxUSE_THREADS 1
36014 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
36016 if test "$ac_cv_func_strtok_r" = "yes"; then
36017 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
36018 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
36019 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
36020 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
36021 echo "$as_me:$LINENO: result: yes" >&5
36022 echo "${ECHO_T}yes" >&6
36024 echo "$as_me:$LINENO: result: no" >&5
36025 echo "${ECHO_T}no" >&6
36030 if test "$WXGTK20" = 1 ; then
36031 cat >>confdefs.h
<<_ACEOF
36032 #define __WXGTK20__ $WXGTK20
36038 if test "$WXGTK12" = 1 ; then
36039 cat >>confdefs.h
<<_ACEOF
36040 #define __WXGTK12__ $WXGTK12
36045 if test "$WXGTK127" = 1 ; then
36046 cat >>confdefs.h
<<_ACEOF
36047 #define __WXGTK127__ $WXGTK127
36052 if test "$WXGPE" = 1 ; then
36053 cat >>confdefs.h
<<_ACEOF
36054 #define __WXGPE__ $WXGPE
36061 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
36066 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
36067 wxUSE_DEBUG_INFO
=yes
36068 if test "$GCC" = yes; then
36073 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
36074 cat >>confdefs.h
<<\_ACEOF
36078 WXDEBUG_DEFINE
="-D__WXDEBUG__"
36080 if test "$wxUSE_GTK" = 1 ; then
36081 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
36085 if test "$wxUSE_MEM_TRACING" = "yes" ; then
36086 cat >>confdefs.h
<<\_ACEOF
36087 #define wxUSE_MEMORY_TRACING 1
36090 cat >>confdefs.h
<<\_ACEOF
36091 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
36094 cat >>confdefs.h
<<\_ACEOF
36095 #define wxUSE_DEBUG_NEW_ALWAYS 1
36098 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
36101 if test "$wxUSE_DMALLOC" = "yes" ; then
36102 DMALLOC_LIBS
="-ldmallocthcxx"
36106 if test "$wxUSE_PROFILE" = "yes" ; then
36111 CODE_GEN_FLAGS_CXX
=
36112 if test "$GCC" = "yes" ; then
36113 if test "$wxUSE_NO_RTTI" = "yes" ; then
36114 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
36116 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36117 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
36119 if test "$wxUSE_PERMISSIVE" = "yes" ; then
36120 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
36125 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
36128 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
36134 if test "$wxUSE_OPTIMISE" = "no" ; then
36135 if test "$GCC" = yes ; then
36139 if test "$GCC" = yes ; then
36143 i586
-*-*|i686
-*-* )
36144 OPTIMISE
="${OPTIMISE} "
36153 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
36154 cat >>confdefs.h
<<\_ACEOF
36155 #define WXWIN_COMPATIBILITY_2_2 1
36159 WXWIN_COMPATIBILITY_2_4
="yes"
36162 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
36163 cat >>confdefs.h
<<\_ACEOF
36164 #define WXWIN_COMPATIBILITY_2_4 1
36170 if test "$wxUSE_GUI" = "yes"; then
36171 cat >>confdefs.h
<<\_ACEOF
36172 #define wxUSE_GUI 1
36179 if test "$wxUSE_UNIX" = "yes"; then
36180 cat >>confdefs.h
<<\_ACEOF
36181 #define wxUSE_UNIX 1
36187 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
36191 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
36192 if test "$USE_DARWIN" = 1; then
36194 elif test "$USE_DOS" = 1; then
36198 for ac_func
in dlopen
36200 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36201 echo "$as_me:$LINENO: checking for $ac_func" >&5
36202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36203 if eval "test \"\${$as_ac_var+set}\" = set"; then
36204 echo $ECHO_N "(cached) $ECHO_C" >&6
36206 cat >conftest.
$ac_ext <<_ACEOF
36209 cat confdefs.h
>>conftest.
$ac_ext
36210 cat >>conftest.
$ac_ext <<_ACEOF
36211 /* end confdefs.h. */
36212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36214 #define $ac_func innocuous_$ac_func
36216 /* System header to define __stub macros and hopefully few prototypes,
36217 which can conflict with char $ac_func (); below.
36218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36219 <limits.h> exists even on freestanding compilers. */
36222 # include <limits.h>
36224 # include <assert.h>
36229 /* Override any gcc2 internal prototype to avoid an error. */
36234 /* We use char because int might match the return type of a gcc2
36235 builtin and then its argument prototype would still apply. */
36237 /* The GNU C library defines this for functions which it implements
36238 to always fail with ENOSYS. Some functions are actually named
36239 something starting with __ and the normal name is an alias. */
36240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36243 char (*f) () = $ac_func;
36252 return f != $ac_func;
36257 rm -f conftest.
$ac_objext conftest
$ac_exeext
36258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36259 (eval $ac_link) 2>conftest.er1
36261 grep -v '^ *+' conftest.er1
>conftest.err
36263 cat conftest.err
>&5
36264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36265 (exit $ac_status); } &&
36266 { ac_try
='test -z "$ac_c_werror_flag"
36267 || test ! -s conftest.err'
36268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36269 (eval $ac_try) 2>&5
36271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36272 (exit $ac_status); }; } &&
36273 { ac_try
='test -s conftest$ac_exeext'
36274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36275 (eval $ac_try) 2>&5
36277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36278 (exit $ac_status); }; }; then
36279 eval "$as_ac_var=yes"
36281 echo "$as_me: failed program was:" >&5
36282 sed 's/^/| /' conftest.
$ac_ext >&5
36284 eval "$as_ac_var=no"
36286 rm -f conftest.err conftest.
$ac_objext \
36287 conftest
$ac_exeext conftest.
$ac_ext
36289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36291 if test `eval echo '${'$as_ac_var'}'` = yes; then
36292 cat >>confdefs.h
<<_ACEOF
36293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36296 cat >>confdefs.h
<<\_ACEOF
36297 #define HAVE_DLOPEN 1
36304 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
36305 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
36306 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
36307 echo $ECHO_N "(cached) $ECHO_C" >&6
36309 ac_check_lib_save_LIBS
=$LIBS
36311 cat >conftest.
$ac_ext <<_ACEOF
36314 cat confdefs.h
>>conftest.
$ac_ext
36315 cat >>conftest.
$ac_ext <<_ACEOF
36316 /* end confdefs.h. */
36318 /* Override any gcc2 internal prototype to avoid an error. */
36322 /* We use char because int might match the return type of a gcc2
36323 builtin and then its argument prototype would still apply. */
36333 rm -f conftest.
$ac_objext conftest
$ac_exeext
36334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36335 (eval $ac_link) 2>conftest.er1
36337 grep -v '^ *+' conftest.er1
>conftest.err
36339 cat conftest.err
>&5
36340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36341 (exit $ac_status); } &&
36342 { ac_try
='test -z "$ac_c_werror_flag"
36343 || test ! -s conftest.err'
36344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36345 (eval $ac_try) 2>&5
36347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36348 (exit $ac_status); }; } &&
36349 { ac_try
='test -s conftest$ac_exeext'
36350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36351 (eval $ac_try) 2>&5
36353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36354 (exit $ac_status); }; }; then
36355 ac_cv_lib_dl_dlopen
=yes
36357 echo "$as_me: failed program was:" >&5
36358 sed 's/^/| /' conftest.
$ac_ext >&5
36360 ac_cv_lib_dl_dlopen
=no
36362 rm -f conftest.err conftest.
$ac_objext \
36363 conftest
$ac_exeext conftest.
$ac_ext
36364 LIBS
=$ac_check_lib_save_LIBS
36366 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
36367 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
36368 if test $ac_cv_lib_dl_dlopen = yes; then
36370 cat >>confdefs.h
<<\_ACEOF
36371 #define HAVE_DLOPEN 1
36375 DL_LINK
=" -ldl$DL_LINK"
36380 for ac_func
in shl_load
36382 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36383 echo "$as_me:$LINENO: checking for $ac_func" >&5
36384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36385 if eval "test \"\${$as_ac_var+set}\" = set"; then
36386 echo $ECHO_N "(cached) $ECHO_C" >&6
36388 cat >conftest.
$ac_ext <<_ACEOF
36391 cat confdefs.h
>>conftest.
$ac_ext
36392 cat >>conftest.
$ac_ext <<_ACEOF
36393 /* end confdefs.h. */
36394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36396 #define $ac_func innocuous_$ac_func
36398 /* System header to define __stub macros and hopefully few prototypes,
36399 which can conflict with char $ac_func (); below.
36400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36401 <limits.h> exists even on freestanding compilers. */
36404 # include <limits.h>
36406 # include <assert.h>
36411 /* Override any gcc2 internal prototype to avoid an error. */
36416 /* We use char because int might match the return type of a gcc2
36417 builtin and then its argument prototype would still apply. */
36419 /* The GNU C library defines this for functions which it implements
36420 to always fail with ENOSYS. Some functions are actually named
36421 something starting with __ and the normal name is an alias. */
36422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36425 char (*f) () = $ac_func;
36434 return f != $ac_func;
36439 rm -f conftest.
$ac_objext conftest
$ac_exeext
36440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36441 (eval $ac_link) 2>conftest.er1
36443 grep -v '^ *+' conftest.er1
>conftest.err
36445 cat conftest.err
>&5
36446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36447 (exit $ac_status); } &&
36448 { ac_try
='test -z "$ac_c_werror_flag"
36449 || test ! -s conftest.err'
36450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36451 (eval $ac_try) 2>&5
36453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36454 (exit $ac_status); }; } &&
36455 { ac_try
='test -s conftest$ac_exeext'
36456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36457 (eval $ac_try) 2>&5
36459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36460 (exit $ac_status); }; }; then
36461 eval "$as_ac_var=yes"
36463 echo "$as_me: failed program was:" >&5
36464 sed 's/^/| /' conftest.
$ac_ext >&5
36466 eval "$as_ac_var=no"
36468 rm -f conftest.err conftest.
$ac_objext \
36469 conftest
$ac_exeext conftest.
$ac_ext
36471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36473 if test `eval echo '${'$as_ac_var'}'` = yes; then
36474 cat >>confdefs.h
<<_ACEOF
36475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36478 cat >>confdefs.h
<<\_ACEOF
36479 #define HAVE_SHL_LOAD 1
36486 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
36487 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
36488 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
36489 echo $ECHO_N "(cached) $ECHO_C" >&6
36491 ac_check_lib_save_LIBS
=$LIBS
36492 LIBS
="-lshl_load $LIBS"
36493 cat >conftest.
$ac_ext <<_ACEOF
36496 cat confdefs.h
>>conftest.
$ac_ext
36497 cat >>conftest.
$ac_ext <<_ACEOF
36498 /* end confdefs.h. */
36500 /* Override any gcc2 internal prototype to avoid an error. */
36504 /* We use char because int might match the return type of a gcc2
36505 builtin and then its argument prototype would still apply. */
36515 rm -f conftest.
$ac_objext conftest
$ac_exeext
36516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36517 (eval $ac_link) 2>conftest.er1
36519 grep -v '^ *+' conftest.er1
>conftest.err
36521 cat conftest.err
>&5
36522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36523 (exit $ac_status); } &&
36524 { ac_try
='test -z "$ac_c_werror_flag"
36525 || test ! -s conftest.err'
36526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36527 (eval $ac_try) 2>&5
36529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36530 (exit $ac_status); }; } &&
36531 { ac_try
='test -s conftest$ac_exeext'
36532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36533 (eval $ac_try) 2>&5
36535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36536 (exit $ac_status); }; }; then
36537 ac_cv_lib_shl_load_dld
=yes
36539 echo "$as_me: failed program was:" >&5
36540 sed 's/^/| /' conftest.
$ac_ext >&5
36542 ac_cv_lib_shl_load_dld
=no
36544 rm -f conftest.err conftest.
$ac_objext \
36545 conftest
$ac_exeext conftest.
$ac_ext
36546 LIBS
=$ac_check_lib_save_LIBS
36548 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
36549 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
36550 if test $ac_cv_lib_shl_load_dld = yes; then
36553 DL_LINK
=" -ldld$DL_LINK"
36569 if test "$HAVE_DL_FUNCS" = 1; then
36571 for ac_func
in dlerror
36573 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36574 echo "$as_me:$LINENO: checking for $ac_func" >&5
36575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36576 if eval "test \"\${$as_ac_var+set}\" = set"; then
36577 echo $ECHO_N "(cached) $ECHO_C" >&6
36579 cat >conftest.
$ac_ext <<_ACEOF
36582 cat confdefs.h
>>conftest.
$ac_ext
36583 cat >>conftest.
$ac_ext <<_ACEOF
36584 /* end confdefs.h. */
36585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36587 #define $ac_func innocuous_$ac_func
36589 /* System header to define __stub macros and hopefully few prototypes,
36590 which can conflict with char $ac_func (); below.
36591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36592 <limits.h> exists even on freestanding compilers. */
36595 # include <limits.h>
36597 # include <assert.h>
36602 /* Override any gcc2 internal prototype to avoid an error. */
36607 /* We use char because int might match the return type of a gcc2
36608 builtin and then its argument prototype would still apply. */
36610 /* The GNU C library defines this for functions which it implements
36611 to always fail with ENOSYS. Some functions are actually named
36612 something starting with __ and the normal name is an alias. */
36613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36616 char (*f) () = $ac_func;
36625 return f != $ac_func;
36630 rm -f conftest.
$ac_objext conftest
$ac_exeext
36631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36632 (eval $ac_link) 2>conftest.er1
36634 grep -v '^ *+' conftest.er1
>conftest.err
36636 cat conftest.err
>&5
36637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36638 (exit $ac_status); } &&
36639 { ac_try
='test -z "$ac_c_werror_flag"
36640 || test ! -s conftest.err'
36641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36642 (eval $ac_try) 2>&5
36644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36645 (exit $ac_status); }; } &&
36646 { ac_try
='test -s conftest$ac_exeext'
36647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36648 (eval $ac_try) 2>&5
36650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36651 (exit $ac_status); }; }; then
36652 eval "$as_ac_var=yes"
36654 echo "$as_me: failed program was:" >&5
36655 sed 's/^/| /' conftest.
$ac_ext >&5
36657 eval "$as_ac_var=no"
36659 rm -f conftest.err conftest.
$ac_objext \
36660 conftest
$ac_exeext conftest.
$ac_ext
36662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36664 if test `eval echo '${'$as_ac_var'}'` = yes; then
36665 cat >>confdefs.h
<<_ACEOF
36666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36668 cat >>confdefs.h
<<\_ACEOF
36669 #define HAVE_DLERROR 1
36674 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
36675 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
36676 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
36677 echo $ECHO_N "(cached) $ECHO_C" >&6
36679 ac_check_lib_save_LIBS
=$LIBS
36681 cat >conftest.
$ac_ext <<_ACEOF
36684 cat confdefs.h
>>conftest.
$ac_ext
36685 cat >>conftest.
$ac_ext <<_ACEOF
36686 /* end confdefs.h. */
36688 /* Override any gcc2 internal prototype to avoid an error. */
36692 /* We use char because int might match the return type of a gcc2
36693 builtin and then its argument prototype would still apply. */
36703 rm -f conftest.
$ac_objext conftest
$ac_exeext
36704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36705 (eval $ac_link) 2>conftest.er1
36707 grep -v '^ *+' conftest.er1
>conftest.err
36709 cat conftest.err
>&5
36710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36711 (exit $ac_status); } &&
36712 { ac_try
='test -z "$ac_c_werror_flag"
36713 || test ! -s conftest.err'
36714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36715 (eval $ac_try) 2>&5
36717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36718 (exit $ac_status); }; } &&
36719 { ac_try
='test -s conftest$ac_exeext'
36720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36721 (eval $ac_try) 2>&5
36723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36724 (exit $ac_status); }; }; then
36725 ac_cv_lib_dl_dlerror
=yes
36727 echo "$as_me: failed program was:" >&5
36728 sed 's/^/| /' conftest.
$ac_ext >&5
36730 ac_cv_lib_dl_dlerror
=no
36732 rm -f conftest.err conftest.
$ac_objext \
36733 conftest
$ac_exeext conftest.
$ac_ext
36734 LIBS
=$ac_check_lib_save_LIBS
36736 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
36737 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
36738 if test $ac_cv_lib_dl_dlerror = yes; then
36739 cat >>confdefs.h
<<\_ACEOF
36740 #define HAVE_DLERROR 1
36753 if test "$HAVE_DL_FUNCS" = 0; then
36754 if test "$HAVE_SHL_FUNCS" = 0; then
36755 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
36756 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
36757 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
36758 wxUSE_DYNAMIC_LOADER
=no
36759 wxUSE_DYNLIB_CLASS
=no
36761 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
36762 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
36769 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
36770 cat >>confdefs.h
<<\_ACEOF
36771 #define wxUSE_DYNAMIC_LOADER 1
36775 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
36776 cat >>confdefs.h
<<\_ACEOF
36777 #define wxUSE_DYNLIB_CLASS 1
36784 if test "$wxUSE_PLUGINS" = "yes" ; then
36785 if test "$wxUSE_SHARED" = "no" ; then
36786 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
36787 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
36790 if test "$wxUSE_MONOLITHIC" = "yes" ; then
36791 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
36792 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
36795 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
36796 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
36797 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
36800 if test "$wxUSE_PLUGINS" = "yes" ; then
36801 cat >>confdefs.h
<<\_ACEOF
36802 #define wxUSE_PLUGINS 1
36809 if test "$wxUSE_STL" = "yes"; then
36810 cat >>confdefs.h
<<\_ACEOF
36811 #define wxUSE_STL 1
36816 if test "$wxUSE_APPLE_IEEE" = "yes"; then
36817 cat >>confdefs.h
<<\_ACEOF
36818 #define wxUSE_APPLE_IEEE 1
36823 if test "$wxUSE_TIMER" = "yes"; then
36824 cat >>confdefs.h
<<\_ACEOF
36825 #define wxUSE_TIMER 1
36830 if test "$USE_UNIX" = "1" ; then
36832 for ac_header
in sys
/soundcard.h
36834 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36835 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36836 echo "$as_me:$LINENO: checking for $ac_header" >&5
36837 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36838 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36839 echo $ECHO_N "(cached) $ECHO_C" >&6
36841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36842 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36844 # Is the header compilable?
36845 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36846 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36847 cat >conftest.
$ac_ext <<_ACEOF
36850 cat confdefs.h
>>conftest.
$ac_ext
36851 cat >>conftest.
$ac_ext <<_ACEOF
36852 /* end confdefs.h. */
36853 $ac_includes_default
36854 #include <$ac_header>
36856 rm -f conftest.
$ac_objext
36857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36858 (eval $ac_compile) 2>conftest.er1
36860 grep -v '^ *+' conftest.er1
>conftest.err
36862 cat conftest.err
>&5
36863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36864 (exit $ac_status); } &&
36865 { ac_try
='test -z "$ac_c_werror_flag"
36866 || test ! -s conftest.err'
36867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36868 (eval $ac_try) 2>&5
36870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36871 (exit $ac_status); }; } &&
36872 { ac_try
='test -s conftest.$ac_objext'
36873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36874 (eval $ac_try) 2>&5
36876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36877 (exit $ac_status); }; }; then
36878 ac_header_compiler
=yes
36880 echo "$as_me: failed program was:" >&5
36881 sed 's/^/| /' conftest.
$ac_ext >&5
36883 ac_header_compiler
=no
36885 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36886 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36887 echo "${ECHO_T}$ac_header_compiler" >&6
36889 # Is the header present?
36890 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36891 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36892 cat >conftest.
$ac_ext <<_ACEOF
36895 cat confdefs.h
>>conftest.
$ac_ext
36896 cat >>conftest.
$ac_ext <<_ACEOF
36897 /* end confdefs.h. */
36898 #include <$ac_header>
36900 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36901 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36903 grep -v '^ *+' conftest.er1
>conftest.err
36905 cat conftest.err
>&5
36906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36907 (exit $ac_status); } >/dev
/null
; then
36908 if test -s conftest.err
; then
36909 ac_cpp_err
=$ac_c_preproc_warn_flag
36910 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36917 if test -z "$ac_cpp_err"; then
36918 ac_header_preproc
=yes
36920 echo "$as_me: failed program was:" >&5
36921 sed 's/^/| /' conftest.
$ac_ext >&5
36923 ac_header_preproc
=no
36925 rm -f conftest.err conftest.
$ac_ext
36926 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36927 echo "${ECHO_T}$ac_header_preproc" >&6
36929 # So? What about this header?
36930 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36932 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36933 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36934 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36935 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36936 ac_header_preproc
=yes
36939 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36940 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36941 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36942 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36943 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36944 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36945 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36946 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36947 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36948 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36949 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36950 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36953 ## ----------------------------------------- ##
36954 ## Report this to wx-dev@lists.wxwidgets.org ##
36955 ## ----------------------------------------- ##
36958 sed "s/^/$as_me: WARNING: /" >&2
36961 echo "$as_me:$LINENO: checking for $ac_header" >&5
36962 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36963 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36964 echo $ECHO_N "(cached) $ECHO_C" >&6
36966 eval "$as_ac_Header=\$ac_header_preproc"
36968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36969 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36972 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36973 cat >>confdefs.h
<<_ACEOF
36974 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36978 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
36985 if test "$wxUSE_SOUND" = "yes"; then
36986 if test "$USE_UNIX" = "1" ; then
36987 if test "$wxUSE_LIBSDL" != "no"; then
36989 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
36990 if test "${with_sdl_prefix+set}" = set; then
36991 withval
="$with_sdl_prefix"
36992 sdl_prefix
="$withval"
36997 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
36998 if test "${with_sdl_exec_prefix+set}" = set; then
36999 withval
="$with_sdl_exec_prefix"
37000 sdl_exec_prefix
="$withval"
37004 # Check whether --enable-sdltest or --disable-sdltest was given.
37005 if test "${enable_sdltest+set}" = set; then
37006 enableval
="$enable_sdltest"
37012 if test x
$sdl_exec_prefix != x
; then
37013 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
37014 if test x
${SDL_CONFIG+set} != xset
; then
37015 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
37018 if test x
$sdl_prefix != x
; then
37019 sdl_args
="$sdl_args --prefix=$sdl_prefix"
37020 if test x
${SDL_CONFIG+set} != xset
; then
37021 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
37026 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
37027 # Extract the first word of "sdl-config", so it can be a program name with args.
37028 set dummy sdl
-config; ac_word
=$2
37029 echo "$as_me:$LINENO: checking for $ac_word" >&5
37030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37031 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
37032 echo $ECHO_N "(cached) $ECHO_C" >&6
37034 case $SDL_CONFIG in
37036 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
37039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37040 for as_dir
in $PATH
37043 test -z "$as_dir" && as_dir
=.
37044 for ac_exec_ext
in '' $ac_executable_extensions; do
37045 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37046 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
37047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37053 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
37057 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
37059 if test -n "$SDL_CONFIG"; then
37060 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
37061 echo "${ECHO_T}$SDL_CONFIG" >&6
37063 echo "$as_me:$LINENO: result: no" >&5
37064 echo "${ECHO_T}no" >&6
37067 min_sdl_version
=1.2.0
37068 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
37069 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
37071 if test "$SDL_CONFIG" = "no" ; then
37074 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
37075 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
37077 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
37078 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
37079 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
37080 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
37081 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
37082 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
37083 if test "x$enable_sdltest" = "xyes" ; then
37084 ac_save_CFLAGS
="$CFLAGS"
37085 ac_save_CXXFLAGS
="$CXXFLAGS"
37086 ac_save_LIBS
="$LIBS"
37087 CFLAGS
="$CFLAGS $SDL_CFLAGS"
37088 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
37089 LIBS
="$LIBS $SDL_LIBS"
37091 if test "$cross_compiling" = yes; then
37092 echo $ac_n "cross compiling; assumed OK... $ac_c"
37094 cat >conftest.
$ac_ext <<_ACEOF
37097 cat confdefs.h
>>conftest.
$ac_ext
37098 cat >>conftest.
$ac_ext <<_ACEOF
37099 /* end confdefs.h. */
37102 #include <stdlib.h>
37103 #include <string.h>
37107 my_strdup (char *str)
37113 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
37114 strcpy (new_str, str);
37122 int main (int argc, char *argv[])
37124 int major, minor, micro;
37127 /* This hangs on some systems (?)
37128 system ("touch conf.sdltest");
37130 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
37132 /* HP/UX 9 (%@#!) writes to sscanf strings */
37133 tmp_version = my_strdup("$min_sdl_version");
37134 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
37135 printf("%s, bad version string\n", "$min_sdl_version");
37139 if (($sdl_major_version > major) ||
37140 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
37141 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
37147 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
37148 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
37149 printf("*** best to upgrade to the required version.\n");
37150 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
37151 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
37152 printf("*** config.cache before re-running configure\n");
37159 rm -f conftest
$ac_exeext
37160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37161 (eval $ac_link) 2>&5
37163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37164 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
37165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37166 (eval $ac_try) 2>&5
37168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37169 (exit $ac_status); }; }; then
37172 echo "$as_me: program exited with status $ac_status" >&5
37173 echo "$as_me: failed program was:" >&5
37174 sed 's/^/| /' conftest.
$ac_ext >&5
37176 ( exit $ac_status )
37179 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
37181 CFLAGS
="$ac_save_CFLAGS"
37182 CXXFLAGS
="$ac_save_CXXFLAGS"
37183 LIBS
="$ac_save_LIBS"
37186 if test "x$no_sdl" = x
; then
37187 echo "$as_me:$LINENO: result: yes" >&5
37188 echo "${ECHO_T}yes" >&6
37190 EXTRALIBS_SDL
="$SDL_LIBS"
37191 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
37192 cat >>confdefs.h
<<\_ACEOF
37193 #define wxUSE_LIBSDL 1
37198 echo "$as_me:$LINENO: result: no" >&5
37199 echo "${ECHO_T}no" >&6
37200 if test "$SDL_CONFIG" = "no" ; then
37201 echo "*** The sdl-config script installed by SDL could not be found"
37202 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
37203 echo "*** your path, or set the SDL_CONFIG environment variable to the"
37204 echo "*** full path to sdl-config."
37206 if test -f conf.sdltest
; then
37209 echo "*** Could not run SDL test program, checking why..."
37210 CFLAGS
="$CFLAGS $SDL_CFLAGS"
37211 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
37212 LIBS
="$LIBS $SDL_LIBS"
37213 cat >conftest.
$ac_ext <<_ACEOF
37216 cat confdefs.h
>>conftest.
$ac_ext
37217 cat >>conftest.
$ac_ext <<_ACEOF
37218 /* end confdefs.h. */
37223 int main(int argc, char *argv[])
37226 #define main K_and_R_C_main
37236 rm -f conftest.
$ac_objext conftest
$ac_exeext
37237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37238 (eval $ac_link) 2>conftest.er1
37240 grep -v '^ *+' conftest.er1
>conftest.err
37242 cat conftest.err
>&5
37243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37244 (exit $ac_status); } &&
37245 { ac_try
='test -z "$ac_c_werror_flag"
37246 || test ! -s conftest.err'
37247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37248 (eval $ac_try) 2>&5
37250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37251 (exit $ac_status); }; } &&
37252 { ac_try
='test -s conftest$ac_exeext'
37253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37254 (eval $ac_try) 2>&5
37256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37257 (exit $ac_status); }; }; then
37258 echo "*** The test program compiled, but did not run. This usually means"
37259 echo "*** that the run-time linker is not finding SDL or finding the wrong"
37260 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
37261 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
37262 echo "*** to the installed location Also, make sure you have run ldconfig if that"
37263 echo "*** is required on your system"
37265 echo "*** If you have an old version installed, it is best to remove it, although"
37266 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
37268 echo "$as_me: failed program was:" >&5
37269 sed 's/^/| /' conftest.
$ac_ext >&5
37271 echo "*** The test program failed to compile or link. See the file config.log for the"
37272 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
37273 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
37274 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
37276 rm -f conftest.err conftest.
$ac_objext \
37277 conftest
$ac_exeext conftest.
$ac_ext
37278 CFLAGS
="$ac_save_CFLAGS"
37279 CXXFLAGS
="$ac_save_CXXFLAGS"
37280 LIBS
="$ac_save_LIBS"
37291 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
37297 cat >>confdefs.h
<<\_ACEOF
37298 #define wxUSE_SOUND 1
37301 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
37304 if test "$WXGTK20" = 1; then
37305 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
37306 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37311 if test -z "$PKG_CONFIG"; then
37312 # Extract the first word of "pkg-config", so it can be a program name with args.
37313 set dummy pkg
-config; ac_word
=$2
37314 echo "$as_me:$LINENO: checking for $ac_word" >&5
37315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37316 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
37317 echo $ECHO_N "(cached) $ECHO_C" >&6
37319 case $PKG_CONFIG in
37321 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
37324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37325 for as_dir
in $PATH
37328 test -z "$as_dir" && as_dir
=.
37329 for ac_exec_ext
in '' $ac_executable_extensions; do
37330 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37331 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
37332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37338 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
37342 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
37344 if test -n "$PKG_CONFIG"; then
37345 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
37346 echo "${ECHO_T}$PKG_CONFIG" >&6
37348 echo "$as_me:$LINENO: result: no" >&5
37349 echo "${ECHO_T}no" >&6
37354 if test "$PKG_CONFIG" = "no" ; then
37355 echo "*** The pkg-config script could not be found. Make sure it is"
37356 echo "*** in your path, or set the PKG_CONFIG environment variable"
37357 echo "*** to the full path to pkg-config."
37358 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
37360 PKG_CONFIG_MIN_VERSION
=0.9.0
37361 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
37362 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
37363 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
37365 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
37366 echo "$as_me:$LINENO: result: yes" >&5
37367 echo "${ECHO_T}yes" >&6
37370 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
37371 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
37372 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
37373 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
37374 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
37376 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
37377 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
37378 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
37379 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
37380 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
37382 LIBGNOMEPRINTUI_CFLAGS
=""
37383 LIBGNOMEPRINTUI_LIBS
=""
37384 ## If we have a custom action on failure, don't print errors, but
37385 ## do set a variable so people can do so.
37386 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
37393 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
37394 echo "*** See http://www.freedesktop.org/software/pkgconfig"
37398 if test $succeeded = yes; then
37400 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
37401 cat >>confdefs.h
<<\_ACEOF
37402 #define wxUSE_LIBGNOMEPRINT 1
37408 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
37409 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
37410 wxUSE_LIBGNOMEPRINT
="no"
37420 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
37421 cat >>confdefs.h
<<\_ACEOF
37422 #define wxUSE_CMDLINE_PARSER 1
37427 if test "$wxUSE_STOPWATCH" = "yes"; then
37428 cat >>confdefs.h
<<\_ACEOF
37429 #define wxUSE_STOPWATCH 1
37434 if test "$wxUSE_DATETIME" = "yes"; then
37435 cat >>confdefs.h
<<\_ACEOF
37436 #define wxUSE_DATETIME 1
37441 if test "$wxUSE_FILE" = "yes"; then
37442 cat >>confdefs.h
<<\_ACEOF
37443 #define wxUSE_FILE 1
37448 if test "$wxUSE_FFILE" = "yes"; then
37449 cat >>confdefs.h
<<\_ACEOF
37450 #define wxUSE_FFILE 1
37455 if test "$wxUSE_FILESYSTEM" = "yes"; then
37456 cat >>confdefs.h
<<\_ACEOF
37457 #define wxUSE_FILESYSTEM 1
37462 if test "$wxUSE_FS_ZIP" = "yes"; then
37463 cat >>confdefs.h
<<\_ACEOF
37464 #define wxUSE_FS_ZIP 1
37469 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
37470 cat >>confdefs.h
<<\_ACEOF
37471 #define wxUSE_ARCHIVE_STREAMS 1
37476 if test "$wxUSE_ZIPSTREAM" = "yes"; then
37477 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
37478 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
37479 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
37480 elif test "$wxUSE_ZLIB" = "no"; then
37481 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
37482 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
37484 cat >>confdefs.h
<<\_ACEOF
37485 #define wxUSE_ZIPSTREAM 1
37491 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37492 if test "$USE_UNIX" != 1; then
37493 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
37494 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
37495 wxUSE_ON_FATAL_EXCEPTION
=no
37497 cat >>confdefs.h
<<\_ACEOF
37498 #define wxUSE_ON_FATAL_EXCEPTION 1
37504 if test "$wxUSE_STACKWALKER" = "yes"; then
37505 cat >>confdefs.h
<<\_ACEOF
37506 #define wxUSE_STACKWALKER 1
37511 if test "$wxUSE_DEBUGREPORT" = "yes"; then
37512 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
37513 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
37514 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
37515 wxUSE_DEBUGREPORT
=no
37517 cat >>confdefs.h
<<\_ACEOF
37518 #define wxUSE_DEBUGREPORT 1
37521 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37522 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
37527 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37528 cat >>confdefs.h
<<\_ACEOF
37529 #define wxUSE_SNGLINST_CHECKER 1
37534 if test "$wxUSE_BUSYINFO" = "yes"; then
37535 cat >>confdefs.h
<<\_ACEOF
37536 #define wxUSE_BUSYINFO 1
37541 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
37542 cat >>confdefs.h
<<\_ACEOF
37543 #define wxUSE_STD_IOSTREAM 1
37548 if test "$wxUSE_STD_STRING" = "yes"; then
37549 cat >>confdefs.h
<<\_ACEOF
37550 #define wxUSE_STD_STRING 1
37555 if test "$wxUSE_STDPATHS" = "yes"; then
37556 cat >>confdefs.h
<<\_ACEOF
37557 #define wxUSE_STDPATHS 1
37562 if test "$wxUSE_TEXTBUFFER" = "yes"; then
37563 cat >>confdefs.h
<<\_ACEOF
37564 #define wxUSE_TEXTBUFFER 1
37569 if test "$wxUSE_TEXTFILE" = "yes"; then
37570 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
37571 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
37572 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
37574 cat >>confdefs.h
<<\_ACEOF
37575 #define wxUSE_TEXTFILE 1
37581 if test "$wxUSE_CONFIG" = "yes" ; then
37582 if test "$wxUSE_TEXTFILE" != "yes"; then
37583 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
37584 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
37586 cat >>confdefs.h
<<\_ACEOF
37587 #define wxUSE_CONFIG 1
37590 cat >>confdefs.h
<<\_ACEOF
37591 #define wxUSE_CONFIG_NATIVE 1
37594 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
37598 if test "$wxUSE_INTL" = "yes" ; then
37599 if test "$wxUSE_FILE" != "yes"; then
37600 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
37601 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
37603 cat >>confdefs.h
<<\_ACEOF
37604 #define wxUSE_INTL 1
37607 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
37608 GUIDIST
="$GUIDIST INTL_DIST"
37612 if test "$wxUSE_LOG" = "yes"; then
37613 cat >>confdefs.h
<<\_ACEOF
37614 #define wxUSE_LOG 1
37618 if test "$wxUSE_LOGGUI" = "yes"; then
37619 cat >>confdefs.h
<<\_ACEOF
37620 #define wxUSE_LOGGUI 1
37625 if test "$wxUSE_LOGWINDOW" = "yes"; then
37626 cat >>confdefs.h
<<\_ACEOF
37627 #define wxUSE_LOGWINDOW 1
37632 if test "$wxUSE_LOGDIALOG" = "yes"; then
37633 cat >>confdefs.h
<<\_ACEOF
37634 #define wxUSE_LOG_DIALOG 1
37639 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
37642 if test "$wxUSE_LONGLONG" = "yes"; then
37643 cat >>confdefs.h
<<\_ACEOF
37644 #define wxUSE_LONGLONG 1
37649 if test "$wxUSE_GEOMETRY" = "yes"; then
37650 cat >>confdefs.h
<<\_ACEOF
37651 #define wxUSE_GEOMETRY 1
37656 if test "$wxUSE_STREAMS" = "yes" ; then
37657 cat >>confdefs.h
<<\_ACEOF
37658 #define wxUSE_STREAMS 1
37664 if test "$wxUSE_DATETIME" = "yes"; then
37666 for ac_func
in strptime
37668 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37669 echo "$as_me:$LINENO: checking for $ac_func" >&5
37670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37671 if eval "test \"\${$as_ac_var+set}\" = set"; then
37672 echo $ECHO_N "(cached) $ECHO_C" >&6
37674 cat >conftest.
$ac_ext <<_ACEOF
37677 cat confdefs.h
>>conftest.
$ac_ext
37678 cat >>conftest.
$ac_ext <<_ACEOF
37679 /* end confdefs.h. */
37680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37681 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37682 #define $ac_func innocuous_$ac_func
37684 /* System header to define __stub macros and hopefully few prototypes,
37685 which can conflict with char $ac_func (); below.
37686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37687 <limits.h> exists even on freestanding compilers. */
37690 # include <limits.h>
37692 # include <assert.h>
37697 /* Override any gcc2 internal prototype to avoid an error. */
37702 /* We use char because int might match the return type of a gcc2
37703 builtin and then its argument prototype would still apply. */
37705 /* The GNU C library defines this for functions which it implements
37706 to always fail with ENOSYS. Some functions are actually named
37707 something starting with __ and the normal name is an alias. */
37708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37711 char (*f) () = $ac_func;
37720 return f != $ac_func;
37725 rm -f conftest.
$ac_objext conftest
$ac_exeext
37726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37727 (eval $ac_link) 2>conftest.er1
37729 grep -v '^ *+' conftest.er1
>conftest.err
37731 cat conftest.err
>&5
37732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37733 (exit $ac_status); } &&
37734 { ac_try
='test -z "$ac_c_werror_flag"
37735 || test ! -s conftest.err'
37736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37737 (eval $ac_try) 2>&5
37739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37740 (exit $ac_status); }; } &&
37741 { ac_try
='test -s conftest$ac_exeext'
37742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37743 (eval $ac_try) 2>&5
37745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37746 (exit $ac_status); }; }; then
37747 eval "$as_ac_var=yes"
37749 echo "$as_me: failed program was:" >&5
37750 sed 's/^/| /' conftest.
$ac_ext >&5
37752 eval "$as_ac_var=no"
37754 rm -f conftest.err conftest.
$ac_objext \
37755 conftest
$ac_exeext conftest.
$ac_ext
37757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37759 if test `eval echo '${'$as_ac_var'}'` = yes; then
37760 cat >>confdefs.h
<<_ACEOF
37761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37768 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
37769 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
37770 if test "${wx_cv_var_timezone+set}" = set; then
37771 echo $ECHO_N "(cached) $ECHO_C" >&6
37774 cat >conftest.
$ac_ext <<_ACEOF
37777 cat confdefs.h
>>conftest.
$ac_ext
37778 cat >>conftest.
$ac_ext <<_ACEOF
37779 /* end confdefs.h. */
37794 rm -f conftest.
$ac_objext
37795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37796 (eval $ac_compile) 2>conftest.er1
37798 grep -v '^ *+' conftest.er1
>conftest.err
37800 cat conftest.err
>&5
37801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37802 (exit $ac_status); } &&
37803 { ac_try
='test -z "$ac_c_werror_flag"
37804 || test ! -s conftest.err'
37805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37806 (eval $ac_try) 2>&5
37808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37809 (exit $ac_status); }; } &&
37810 { ac_try
='test -s conftest.$ac_objext'
37811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37812 (eval $ac_try) 2>&5
37814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37815 (exit $ac_status); }; }; then
37817 wx_cv_var_timezone
=timezone
37820 echo "$as_me: failed program was:" >&5
37821 sed 's/^/| /' conftest.
$ac_ext >&5
37824 cat >conftest.
$ac_ext <<_ACEOF
37827 cat confdefs.h
>>conftest.
$ac_ext
37828 cat >>conftest.
$ac_ext <<_ACEOF
37829 /* end confdefs.h. */
37844 rm -f conftest.
$ac_objext
37845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37846 (eval $ac_compile) 2>conftest.er1
37848 grep -v '^ *+' conftest.er1
>conftest.err
37850 cat conftest.err
>&5
37851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37852 (exit $ac_status); } &&
37853 { ac_try
='test -z "$ac_c_werror_flag"
37854 || test ! -s conftest.err'
37855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37856 (eval $ac_try) 2>&5
37858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37859 (exit $ac_status); }; } &&
37860 { ac_try
='test -s conftest.$ac_objext'
37861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37862 (eval $ac_try) 2>&5
37864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37865 (exit $ac_status); }; }; then
37867 wx_cv_var_timezone
=_timezone
37870 echo "$as_me: failed program was:" >&5
37871 sed 's/^/| /' conftest.
$ac_ext >&5
37874 cat >conftest.
$ac_ext <<_ACEOF
37877 cat confdefs.h
>>conftest.
$ac_ext
37878 cat >>conftest.
$ac_ext <<_ACEOF
37879 /* end confdefs.h. */
37894 rm -f conftest.
$ac_objext
37895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37896 (eval $ac_compile) 2>conftest.er1
37898 grep -v '^ *+' conftest.er1
>conftest.err
37900 cat conftest.err
>&5
37901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37902 (exit $ac_status); } &&
37903 { ac_try
='test -z "$ac_c_werror_flag"
37904 || test ! -s conftest.err'
37905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37906 (eval $ac_try) 2>&5
37908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37909 (exit $ac_status); }; } &&
37910 { ac_try
='test -s conftest.$ac_objext'
37911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37912 (eval $ac_try) 2>&5
37914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37915 (exit $ac_status); }; }; then
37917 wx_cv_var_timezone
=__timezone
37920 echo "$as_me: failed program was:" >&5
37921 sed 's/^/| /' conftest.
$ac_ext >&5
37924 if test "$USE_DOS" = 0 ; then
37925 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
37926 echo "$as_me: WARNING: no timezone variable" >&2;}
37931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37935 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37939 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37943 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
37944 echo "${ECHO_T}$wx_cv_var_timezone" >&6
37946 if test "x$wx_cv_var_timezone" != x
; then
37947 cat >>confdefs.h
<<_ACEOF
37948 #define WX_TIMEZONE $wx_cv_var_timezone
37954 for ac_func
in localtime
37956 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37957 echo "$as_me:$LINENO: checking for $ac_func" >&5
37958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37959 if eval "test \"\${$as_ac_var+set}\" = set"; then
37960 echo $ECHO_N "(cached) $ECHO_C" >&6
37962 cat >conftest.
$ac_ext <<_ACEOF
37965 cat confdefs.h
>>conftest.
$ac_ext
37966 cat >>conftest.
$ac_ext <<_ACEOF
37967 /* end confdefs.h. */
37968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37970 #define $ac_func innocuous_$ac_func
37972 /* System header to define __stub macros and hopefully few prototypes,
37973 which can conflict with char $ac_func (); below.
37974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37975 <limits.h> exists even on freestanding compilers. */
37978 # include <limits.h>
37980 # include <assert.h>
37985 /* Override any gcc2 internal prototype to avoid an error. */
37990 /* We use char because int might match the return type of a gcc2
37991 builtin and then its argument prototype would still apply. */
37993 /* The GNU C library defines this for functions which it implements
37994 to always fail with ENOSYS. Some functions are actually named
37995 something starting with __ and the normal name is an alias. */
37996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37999 char (*f) () = $ac_func;
38008 return f != $ac_func;
38013 rm -f conftest.
$ac_objext conftest
$ac_exeext
38014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38015 (eval $ac_link) 2>conftest.er1
38017 grep -v '^ *+' conftest.er1
>conftest.err
38019 cat conftest.err
>&5
38020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38021 (exit $ac_status); } &&
38022 { ac_try
='test -z "$ac_c_werror_flag"
38023 || test ! -s conftest.err'
38024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38025 (eval $ac_try) 2>&5
38027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38028 (exit $ac_status); }; } &&
38029 { ac_try
='test -s conftest$ac_exeext'
38030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38031 (eval $ac_try) 2>&5
38033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38034 (exit $ac_status); }; }; then
38035 eval "$as_ac_var=yes"
38037 echo "$as_me: failed program was:" >&5
38038 sed 's/^/| /' conftest.
$ac_ext >&5
38040 eval "$as_ac_var=no"
38042 rm -f conftest.err conftest.
$ac_objext \
38043 conftest
$ac_exeext conftest.
$ac_ext
38045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38046 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38047 if test `eval echo '${'$as_ac_var'}'` = yes; then
38048 cat >>confdefs.h
<<_ACEOF
38049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38056 if test "$ac_cv_func_localtime" = "yes"; then
38057 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
38058 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
38059 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
38060 echo $ECHO_N "(cached) $ECHO_C" >&6
38063 cat >conftest.
$ac_ext <<_ACEOF
38066 cat confdefs.h
>>conftest.
$ac_ext
38067 cat >>conftest.
$ac_ext <<_ACEOF
38068 /* end confdefs.h. */
38083 rm -f conftest.
$ac_objext
38084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38085 (eval $ac_compile) 2>conftest.er1
38087 grep -v '^ *+' conftest.er1
>conftest.err
38089 cat conftest.err
>&5
38090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38091 (exit $ac_status); } &&
38092 { ac_try
='test -z "$ac_c_werror_flag"
38093 || test ! -s conftest.err'
38094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38095 (eval $ac_try) 2>&5
38097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38098 (exit $ac_status); }; } &&
38099 { ac_try
='test -s conftest.$ac_objext'
38100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38101 (eval $ac_try) 2>&5
38103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38104 (exit $ac_status); }; }; then
38106 wx_cv_struct_tm_has_gmtoff
=yes
38109 echo "$as_me: failed program was:" >&5
38110 sed 's/^/| /' conftest.
$ac_ext >&5
38112 wx_cv_struct_tm_has_gmtoff
=no
38115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38118 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
38119 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
38122 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
38123 cat >>confdefs.h
<<\_ACEOF
38124 #define WX_GMTOFF_IN_TM 1
38131 for ac_func
in gettimeofday ftime
38133 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38134 echo "$as_me:$LINENO: checking for $ac_func" >&5
38135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38136 if eval "test \"\${$as_ac_var+set}\" = set"; then
38137 echo $ECHO_N "(cached) $ECHO_C" >&6
38139 cat >conftest.
$ac_ext <<_ACEOF
38142 cat confdefs.h
>>conftest.
$ac_ext
38143 cat >>conftest.
$ac_ext <<_ACEOF
38144 /* end confdefs.h. */
38145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38147 #define $ac_func innocuous_$ac_func
38149 /* System header to define __stub macros and hopefully few prototypes,
38150 which can conflict with char $ac_func (); below.
38151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38152 <limits.h> exists even on freestanding compilers. */
38155 # include <limits.h>
38157 # include <assert.h>
38162 /* Override any gcc2 internal prototype to avoid an error. */
38167 /* We use char because int might match the return type of a gcc2
38168 builtin and then its argument prototype would still apply. */
38170 /* The GNU C library defines this for functions which it implements
38171 to always fail with ENOSYS. Some functions are actually named
38172 something starting with __ and the normal name is an alias. */
38173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38176 char (*f) () = $ac_func;
38185 return f != $ac_func;
38190 rm -f conftest.
$ac_objext conftest
$ac_exeext
38191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38192 (eval $ac_link) 2>conftest.er1
38194 grep -v '^ *+' conftest.er1
>conftest.err
38196 cat conftest.err
>&5
38197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38198 (exit $ac_status); } &&
38199 { ac_try
='test -z "$ac_c_werror_flag"
38200 || test ! -s conftest.err'
38201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38202 (eval $ac_try) 2>&5
38204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38205 (exit $ac_status); }; } &&
38206 { ac_try
='test -s conftest$ac_exeext'
38207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38208 (eval $ac_try) 2>&5
38210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38211 (exit $ac_status); }; }; then
38212 eval "$as_ac_var=yes"
38214 echo "$as_me: failed program was:" >&5
38215 sed 's/^/| /' conftest.
$ac_ext >&5
38217 eval "$as_ac_var=no"
38219 rm -f conftest.err conftest.
$ac_objext \
38220 conftest
$ac_exeext conftest.
$ac_ext
38222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38224 if test `eval echo '${'$as_ac_var'}'` = yes; then
38225 cat >>confdefs.h
<<_ACEOF
38226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38233 if test "$ac_cv_func_gettimeofday" = "yes"; then
38234 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
38235 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
38236 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
38237 echo $ECHO_N "(cached) $ECHO_C" >&6
38243 ac_cpp
='$CXXCPP $CPPFLAGS'
38244 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38245 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38246 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38249 cat >conftest.
$ac_ext <<_ACEOF
38252 cat confdefs.h
>>conftest.
$ac_ext
38253 cat >>conftest.
$ac_ext <<_ACEOF
38254 /* end confdefs.h. */
38256 #include <sys/time.h>
38257 #include <unistd.h>
38264 gettimeofday(&tv, NULL);
38270 rm -f conftest.
$ac_objext
38271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38272 (eval $ac_compile) 2>conftest.er1
38274 grep -v '^ *+' conftest.er1
>conftest.err
38276 cat conftest.err
>&5
38277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38278 (exit $ac_status); } &&
38279 { ac_try
='test -z "$ac_cxx_werror_flag"
38280 || test ! -s conftest.err'
38281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38282 (eval $ac_try) 2>&5
38284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38285 (exit $ac_status); }; } &&
38286 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
38292 wx_cv_func_gettimeofday_has_2_args
=yes
38294 echo "$as_me: failed program was:" >&5
38295 sed 's/^/| /' conftest.
$ac_ext >&5
38297 cat >conftest.
$ac_ext <<_ACEOF
38300 cat confdefs.h
>>conftest.
$ac_ext
38301 cat >>conftest.
$ac_ext <<_ACEOF
38302 /* end confdefs.h. */
38304 #include <sys/time.h>
38305 #include <unistd.h>
38318 rm -f conftest.
$ac_objext
38319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38320 (eval $ac_compile) 2>conftest.er1
38322 grep -v '^ *+' conftest.er1
>conftest.err
38324 cat conftest.err
>&5
38325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38326 (exit $ac_status); } &&
38327 { ac_try
='test -z "$ac_cxx_werror_flag"
38328 || test ! -s conftest.err'
38329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38330 (eval $ac_try) 2>&5
38332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38333 (exit $ac_status); }; } &&
38334 { ac_try
='test -s conftest.$ac_objext'
38335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38336 (eval $ac_try) 2>&5
38338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38339 (exit $ac_status); }; }; then
38340 wx_cv_func_gettimeofday_has_2_args
=no
38342 echo "$as_me: failed program was:" >&5
38343 sed 's/^/| /' conftest.
$ac_ext >&5
38346 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
38347 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
38348 wx_cv_func_gettimeofday_has_2_args
=unknown
38352 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38357 ac_cpp
='$CPP $CPPFLAGS'
38358 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38359 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38360 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38364 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
38365 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
38367 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
38368 cat >>confdefs.h
<<\_ACEOF
38369 #define WX_GETTIMEOFDAY_NO_TZ 1
38375 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
38379 if test "$wxUSE_SOCKETS" = "yes"; then
38380 if test "$wxUSE_MGL" = "1"; then
38381 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
38382 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
38387 if test "$wxUSE_SOCKETS" = "yes"; then
38388 if test "$TOOLKIT" != "MSW"; then
38389 echo "$as_me:$LINENO: checking for socket" >&5
38390 echo $ECHO_N "checking for socket... $ECHO_C" >&6
38391 if test "${ac_cv_func_socket+set}" = set; then
38392 echo $ECHO_N "(cached) $ECHO_C" >&6
38394 cat >conftest.
$ac_ext <<_ACEOF
38397 cat confdefs.h
>>conftest.
$ac_ext
38398 cat >>conftest.
$ac_ext <<_ACEOF
38399 /* end confdefs.h. */
38400 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
38401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38402 #define socket innocuous_socket
38404 /* System header to define __stub macros and hopefully few prototypes,
38405 which can conflict with char socket (); below.
38406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38407 <limits.h> exists even on freestanding compilers. */
38410 # include <limits.h>
38412 # include <assert.h>
38417 /* Override any gcc2 internal prototype to avoid an error. */
38422 /* We use char because int might match the return type of a gcc2
38423 builtin and then its argument prototype would still apply. */
38425 /* The GNU C library defines this for functions which it implements
38426 to always fail with ENOSYS. Some functions are actually named
38427 something starting with __ and the normal name is an alias. */
38428 #if defined (__stub_socket) || defined (__stub___socket)
38431 char (*f) () = socket;
38440 return f != socket;
38445 rm -f conftest.
$ac_objext conftest
$ac_exeext
38446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38447 (eval $ac_link) 2>conftest.er1
38449 grep -v '^ *+' conftest.er1
>conftest.err
38451 cat conftest.err
>&5
38452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38453 (exit $ac_status); } &&
38454 { ac_try
='test -z "$ac_c_werror_flag"
38455 || test ! -s conftest.err'
38456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38457 (eval $ac_try) 2>&5
38459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38460 (exit $ac_status); }; } &&
38461 { ac_try
='test -s conftest$ac_exeext'
38462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38463 (eval $ac_try) 2>&5
38465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38466 (exit $ac_status); }; }; then
38467 ac_cv_func_socket
=yes
38469 echo "$as_me: failed program was:" >&5
38470 sed 's/^/| /' conftest.
$ac_ext >&5
38472 ac_cv_func_socket
=no
38474 rm -f conftest.err conftest.
$ac_objext \
38475 conftest
$ac_exeext conftest.
$ac_ext
38477 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
38478 echo "${ECHO_T}$ac_cv_func_socket" >&6
38479 if test $ac_cv_func_socket = yes; then
38483 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
38484 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
38485 if test "${ac_cv_lib_socket_socket+set}" = set; then
38486 echo $ECHO_N "(cached) $ECHO_C" >&6
38488 ac_check_lib_save_LIBS
=$LIBS
38489 LIBS
="-lsocket $LIBS"
38490 cat >conftest.
$ac_ext <<_ACEOF
38493 cat confdefs.h
>>conftest.
$ac_ext
38494 cat >>conftest.
$ac_ext <<_ACEOF
38495 /* end confdefs.h. */
38497 /* Override any gcc2 internal prototype to avoid an error. */
38501 /* We use char because int might match the return type of a gcc2
38502 builtin and then its argument prototype would still apply. */
38512 rm -f conftest.
$ac_objext conftest
$ac_exeext
38513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38514 (eval $ac_link) 2>conftest.er1
38516 grep -v '^ *+' conftest.er1
>conftest.err
38518 cat conftest.err
>&5
38519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38520 (exit $ac_status); } &&
38521 { ac_try
='test -z "$ac_c_werror_flag"
38522 || 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_exeext'
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
38534 ac_cv_lib_socket_socket
=yes
38536 echo "$as_me: failed program was:" >&5
38537 sed 's/^/| /' conftest.
$ac_ext >&5
38539 ac_cv_lib_socket_socket
=no
38541 rm -f conftest.err conftest.
$ac_objext \
38542 conftest
$ac_exeext conftest.
$ac_ext
38543 LIBS
=$ac_check_lib_save_LIBS
38545 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
38546 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
38547 if test $ac_cv_lib_socket_socket = yes; then
38548 if test "$INET_LINK" != " -lsocket"; then
38549 INET_LINK
="$INET_LINK -lsocket"
38553 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
38554 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
38567 if test "$wxUSE_SOCKETS" = "yes" ; then
38568 if test "$TOOLKIT" != "MSW"; then
38570 ac_cpp
='$CXXCPP $CPPFLAGS'
38571 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38572 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38573 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38575 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
38576 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
38577 if test "${wx_cv_type_getsockname3+set}" = set; then
38578 echo $ECHO_N "(cached) $ECHO_C" >&6
38581 cat >conftest.
$ac_ext <<_ACEOF
38584 cat confdefs.h
>>conftest.
$ac_ext
38585 cat >>conftest.
$ac_ext <<_ACEOF
38586 /* end confdefs.h. */
38588 #include <sys/types.h>
38589 #include <sys/socket.h>
38596 getsockname(0, 0, &len);
38602 rm -f conftest.
$ac_objext
38603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38604 (eval $ac_compile) 2>conftest.er1
38606 grep -v '^ *+' conftest.er1
>conftest.err
38608 cat conftest.err
>&5
38609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38610 (exit $ac_status); } &&
38611 { ac_try
='test -z "$ac_cxx_werror_flag"
38612 || test ! -s conftest.err'
38613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38614 (eval $ac_try) 2>&5
38616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38617 (exit $ac_status); }; } &&
38618 { ac_try
='test -s conftest.$ac_objext'
38619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38620 (eval $ac_try) 2>&5
38622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38623 (exit $ac_status); }; }; then
38624 wx_cv_type_getsockname3
=socklen_t
38626 echo "$as_me: failed program was:" >&5
38627 sed 's/^/| /' conftest.
$ac_ext >&5
38630 CFLAGS_OLD
="$CFLAGS"
38631 if test "$GCC" = yes ; then
38632 CFLAGS
="$CFLAGS -Werror"
38635 cat >conftest.
$ac_ext <<_ACEOF
38638 cat confdefs.h
>>conftest.
$ac_ext
38639 cat >>conftest.
$ac_ext <<_ACEOF
38640 /* end confdefs.h. */
38642 #include <sys/types.h>
38643 #include <sys/socket.h>
38650 getsockname(0, 0, &len);
38656 rm -f conftest.
$ac_objext
38657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38658 (eval $ac_compile) 2>conftest.er1
38660 grep -v '^ *+' conftest.er1
>conftest.err
38662 cat conftest.err
>&5
38663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38664 (exit $ac_status); } &&
38665 { ac_try
='test -z "$ac_cxx_werror_flag"
38666 || test ! -s conftest.err'
38667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38668 (eval $ac_try) 2>&5
38670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38671 (exit $ac_status); }; } &&
38672 { ac_try
='test -s conftest.$ac_objext'
38673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38674 (eval $ac_try) 2>&5
38676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38677 (exit $ac_status); }; }; then
38678 wx_cv_type_getsockname3
=size_t
38680 echo "$as_me: failed program was:" >&5
38681 sed 's/^/| /' conftest.
$ac_ext >&5
38683 cat >conftest.
$ac_ext <<_ACEOF
38686 cat confdefs.h
>>conftest.
$ac_ext
38687 cat >>conftest.
$ac_ext <<_ACEOF
38688 /* end confdefs.h. */
38690 #include <sys/types.h>
38691 #include <sys/socket.h>
38698 getsockname(0, 0, &len);
38704 rm -f conftest.
$ac_objext
38705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38706 (eval $ac_compile) 2>conftest.er1
38708 grep -v '^ *+' conftest.er1
>conftest.err
38710 cat conftest.err
>&5
38711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38712 (exit $ac_status); } &&
38713 { ac_try
='test -z "$ac_cxx_werror_flag"
38714 || test ! -s conftest.err'
38715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38716 (eval $ac_try) 2>&5
38718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38719 (exit $ac_status); }; } &&
38720 { ac_try
='test -s conftest.$ac_objext'
38721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38722 (eval $ac_try) 2>&5
38724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38725 (exit $ac_status); }; }; then
38726 wx_cv_type_getsockname3
=int
38728 echo "$as_me: failed program was:" >&5
38729 sed 's/^/| /' conftest.
$ac_ext >&5
38731 wx_cv_type_getsockname3
=unknown
38734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38737 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38739 CFLAGS
="$CFLAGS_OLD"
38743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38746 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
38747 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
38749 if test "$wx_cv_type_getsockname3" = "unknown"; then
38751 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
38752 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
38754 cat >>confdefs.h
<<_ACEOF
38755 #define SOCKLEN_T $wx_cv_type_getsockname3
38759 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
38760 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
38761 if test "${wx_cv_type_getsockopt5+set}" = set; then
38762 echo $ECHO_N "(cached) $ECHO_C" >&6
38765 cat >conftest.
$ac_ext <<_ACEOF
38768 cat confdefs.h
>>conftest.
$ac_ext
38769 cat >>conftest.
$ac_ext <<_ACEOF
38770 /* end confdefs.h. */
38772 #include <sys/types.h>
38773 #include <sys/socket.h>
38780 getsockopt(0, 0, 0, 0, &len);
38786 rm -f conftest.
$ac_objext
38787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38788 (eval $ac_compile) 2>conftest.er1
38790 grep -v '^ *+' conftest.er1
>conftest.err
38792 cat conftest.err
>&5
38793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38794 (exit $ac_status); } &&
38795 { ac_try
='test -z "$ac_cxx_werror_flag"
38796 || test ! -s conftest.err'
38797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38798 (eval $ac_try) 2>&5
38800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38801 (exit $ac_status); }; } &&
38802 { ac_try
='test -s conftest.$ac_objext'
38803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38804 (eval $ac_try) 2>&5
38806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38807 (exit $ac_status); }; }; then
38808 wx_cv_type_getsockopt5
=socklen_t
38810 echo "$as_me: failed program was:" >&5
38811 sed 's/^/| /' conftest.
$ac_ext >&5
38814 CFLAGS_OLD
="$CFLAGS"
38815 if test "$GCC" = yes ; then
38816 CFLAGS
="$CFLAGS -Werror"
38819 cat >conftest.
$ac_ext <<_ACEOF
38822 cat confdefs.h
>>conftest.
$ac_ext
38823 cat >>conftest.
$ac_ext <<_ACEOF
38824 /* end confdefs.h. */
38826 #include <sys/types.h>
38827 #include <sys/socket.h>
38834 getsockopt(0, 0, 0, 0, &len);
38840 rm -f conftest.
$ac_objext
38841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38842 (eval $ac_compile) 2>conftest.er1
38844 grep -v '^ *+' conftest.er1
>conftest.err
38846 cat conftest.err
>&5
38847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38848 (exit $ac_status); } &&
38849 { ac_try
='test -z "$ac_cxx_werror_flag"
38850 || test ! -s conftest.err'
38851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38852 (eval $ac_try) 2>&5
38854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38855 (exit $ac_status); }; } &&
38856 { ac_try
='test -s conftest.$ac_objext'
38857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38858 (eval $ac_try) 2>&5
38860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38861 (exit $ac_status); }; }; then
38862 wx_cv_type_getsockopt5
=size_t
38864 echo "$as_me: failed program was:" >&5
38865 sed 's/^/| /' conftest.
$ac_ext >&5
38867 cat >conftest.
$ac_ext <<_ACEOF
38870 cat confdefs.h
>>conftest.
$ac_ext
38871 cat >>conftest.
$ac_ext <<_ACEOF
38872 /* end confdefs.h. */
38874 #include <sys/types.h>
38875 #include <sys/socket.h>
38882 getsockopt(0, 0, 0, 0, &len);
38888 rm -f conftest.
$ac_objext
38889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38890 (eval $ac_compile) 2>conftest.er1
38892 grep -v '^ *+' conftest.er1
>conftest.err
38894 cat conftest.err
>&5
38895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38896 (exit $ac_status); } &&
38897 { ac_try
='test -z "$ac_cxx_werror_flag"
38898 || test ! -s conftest.err'
38899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38900 (eval $ac_try) 2>&5
38902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38903 (exit $ac_status); }; } &&
38904 { ac_try
='test -s conftest.$ac_objext'
38905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38906 (eval $ac_try) 2>&5
38908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38909 (exit $ac_status); }; }; then
38910 wx_cv_type_getsockopt5
=int
38912 echo "$as_me: failed program was:" >&5
38913 sed 's/^/| /' conftest.
$ac_ext >&5
38915 wx_cv_type_getsockopt5
=unknown
38918 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38921 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38923 CFLAGS
="$CFLAGS_OLD"
38927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38930 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
38931 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
38933 if test "$wx_cv_type_getsockopt5" = "unknown"; then
38935 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
38936 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
38938 cat >>confdefs.h
<<_ACEOF
38939 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
38944 ac_cpp
='$CPP $CPPFLAGS'
38945 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38946 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38947 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38952 if test "$wxUSE_SOCKETS" = "yes" ; then
38953 cat >>confdefs.h
<<\_ACEOF
38954 #define wxUSE_SOCKETS 1
38957 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
38960 if test "$wxUSE_PROTOCOL" = "yes"; then
38961 if test "$wxUSE_SOCKETS" != "yes"; then
38962 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
38963 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
38968 if test "$wxUSE_PROTOCOL" = "yes"; then
38969 cat >>confdefs.h
<<\_ACEOF
38970 #define wxUSE_PROTOCOL 1
38974 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
38975 cat >>confdefs.h
<<\_ACEOF
38976 #define wxUSE_PROTOCOL_HTTP 1
38980 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
38981 cat >>confdefs.h
<<\_ACEOF
38982 #define wxUSE_PROTOCOL_FTP 1
38986 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
38987 cat >>confdefs.h
<<\_ACEOF
38988 #define wxUSE_PROTOCOL_FILE 1
38993 if test "$wxUSE_FS_INET" = "yes"; then
38994 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
38995 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
39000 if test "$wxUSE_URL" = "yes"; then
39001 if test "$wxUSE_PROTOCOL" != "yes"; then
39002 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
39003 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
39006 if test "$wxUSE_URL" = "yes"; then
39007 cat >>confdefs.h
<<\_ACEOF
39008 #define wxUSE_URL 1
39014 if test "$wxUSE_FS_INET" = "yes"; then
39015 cat >>confdefs.h
<<\_ACEOF
39016 #define wxUSE_FS_INET 1
39022 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
39025 if test "$TOOLKIT" = "MSW"; then
39028 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
39029 if test "$USE_DARWIN" = 1; then
39030 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
39031 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
39033 ac_cpp
='$CXXCPP $CPPFLAGS'
39034 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39035 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39036 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39038 cat >conftest.
$ac_ext <<_ACEOF
39041 cat confdefs.h
>>conftest.
$ac_ext
39042 cat >>conftest.
$ac_ext <<_ACEOF
39043 /* end confdefs.h. */
39044 #include <IOKit/hid/IOHIDLib.h>
39048 IOHIDQueueInterface *qi = NULL;
39049 IOHIDCallbackFunction cb = NULL;
39050 qi->setEventCallout(NULL, cb, NULL, NULL);
39055 rm -f conftest.
$ac_objext
39056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39057 (eval $ac_compile) 2>conftest.er1
39059 grep -v '^ *+' conftest.er1
>conftest.err
39061 cat conftest.err
>&5
39062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39063 (exit $ac_status); } &&
39064 { ac_try
='test -z "$ac_cxx_werror_flag"
39065 || test ! -s conftest.err'
39066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39067 (eval $ac_try) 2>&5
39069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39070 (exit $ac_status); }; } &&
39071 { ac_try
='test -s conftest.$ac_objext'
39072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39073 (eval $ac_try) 2>&5
39075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39076 (exit $ac_status); }; }; then
39080 echo "$as_me: failed program was:" >&5
39081 sed 's/^/| /' conftest.
$ac_ext >&5
39084 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39086 ac_cpp
='$CPP $CPPFLAGS'
39087 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39088 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39089 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39091 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
39092 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
39097 for ac_header
in linux
/joystick.h
39099 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39100 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39101 echo "$as_me:$LINENO: checking for $ac_header" >&5
39102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39104 echo $ECHO_N "(cached) $ECHO_C" >&6
39106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39107 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39109 # Is the header compilable?
39110 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39111 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39112 cat >conftest.
$ac_ext <<_ACEOF
39115 cat confdefs.h
>>conftest.
$ac_ext
39116 cat >>conftest.
$ac_ext <<_ACEOF
39117 /* end confdefs.h. */
39118 $ac_includes_default
39119 #include <$ac_header>
39121 rm -f conftest.
$ac_objext
39122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39123 (eval $ac_compile) 2>conftest.er1
39125 grep -v '^ *+' conftest.er1
>conftest.err
39127 cat conftest.err
>&5
39128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39129 (exit $ac_status); } &&
39130 { ac_try
='test -z "$ac_c_werror_flag"
39131 || test ! -s conftest.err'
39132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39133 (eval $ac_try) 2>&5
39135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39136 (exit $ac_status); }; } &&
39137 { ac_try
='test -s conftest.$ac_objext'
39138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39139 (eval $ac_try) 2>&5
39141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39142 (exit $ac_status); }; }; then
39143 ac_header_compiler
=yes
39145 echo "$as_me: failed program was:" >&5
39146 sed 's/^/| /' conftest.
$ac_ext >&5
39148 ac_header_compiler
=no
39150 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39151 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39152 echo "${ECHO_T}$ac_header_compiler" >&6
39154 # Is the header present?
39155 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39156 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39157 cat >conftest.
$ac_ext <<_ACEOF
39160 cat confdefs.h
>>conftest.
$ac_ext
39161 cat >>conftest.
$ac_ext <<_ACEOF
39162 /* end confdefs.h. */
39163 #include <$ac_header>
39165 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39166 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39168 grep -v '^ *+' conftest.er1
>conftest.err
39170 cat conftest.err
>&5
39171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39172 (exit $ac_status); } >/dev
/null
; then
39173 if test -s conftest.err
; then
39174 ac_cpp_err
=$ac_c_preproc_warn_flag
39175 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
39182 if test -z "$ac_cpp_err"; then
39183 ac_header_preproc
=yes
39185 echo "$as_me: failed program was:" >&5
39186 sed 's/^/| /' conftest.
$ac_ext >&5
39188 ac_header_preproc
=no
39190 rm -f conftest.err conftest.
$ac_ext
39191 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39192 echo "${ECHO_T}$ac_header_preproc" >&6
39194 # So? What about this header?
39195 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39197 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39198 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39199 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39200 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39201 ac_header_preproc
=yes
39204 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39205 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39206 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39207 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39208 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39209 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39210 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39211 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39212 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39213 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39214 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39215 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39218 ## ----------------------------------------- ##
39219 ## Report this to wx-dev@lists.wxwidgets.org ##
39220 ## ----------------------------------------- ##
39223 sed "s/^/$as_me: WARNING: /" >&2
39226 echo "$as_me:$LINENO: checking for $ac_header" >&5
39227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39229 echo $ECHO_N "(cached) $ECHO_C" >&6
39231 eval "$as_ac_Header=\$ac_header_preproc"
39233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39234 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39237 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39238 cat >>confdefs.h
<<_ACEOF
39239 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39248 if test "$wxUSE_JOYSTICK" = "yes"; then
39249 cat >>confdefs.h
<<\_ACEOF
39250 #define wxUSE_JOYSTICK 1
39253 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
39255 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
39256 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
39262 if test "$wxUSE_FONTMAP" = "yes" ; then
39263 cat >>confdefs.h
<<\_ACEOF
39264 #define wxUSE_FONTMAP 1
39269 if test "$wxUSE_UNICODE" = "yes" ; then
39270 cat >>confdefs.h
<<\_ACEOF
39271 #define wxUSE_UNICODE 1
39275 if test "$USE_WIN32" != 1; then
39276 wxUSE_UNICODE_MSLU
=no
39279 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
39280 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
39281 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
39282 if test "${ac_cv_lib_unicows_main+set}" = set; then
39283 echo $ECHO_N "(cached) $ECHO_C" >&6
39285 ac_check_lib_save_LIBS
=$LIBS
39286 LIBS
="-lunicows $LIBS"
39287 cat >conftest.
$ac_ext <<_ACEOF
39290 cat confdefs.h
>>conftest.
$ac_ext
39291 cat >>conftest.
$ac_ext <<_ACEOF
39292 /* end confdefs.h. */
39303 rm -f conftest.
$ac_objext conftest
$ac_exeext
39304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39305 (eval $ac_link) 2>conftest.er1
39307 grep -v '^ *+' conftest.er1
>conftest.err
39309 cat conftest.err
>&5
39310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39311 (exit $ac_status); } &&
39312 { ac_try
='test -z "$ac_c_werror_flag"
39313 || test ! -s conftest.err'
39314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39315 (eval $ac_try) 2>&5
39317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39318 (exit $ac_status); }; } &&
39319 { ac_try
='test -s conftest$ac_exeext'
39320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39321 (eval $ac_try) 2>&5
39323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39324 (exit $ac_status); }; }; then
39325 ac_cv_lib_unicows_main
=yes
39327 echo "$as_me: failed program was:" >&5
39328 sed 's/^/| /' conftest.
$ac_ext >&5
39330 ac_cv_lib_unicows_main
=no
39332 rm -f conftest.err conftest.
$ac_objext \
39333 conftest
$ac_exeext conftest.
$ac_ext
39334 LIBS
=$ac_check_lib_save_LIBS
39336 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
39337 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
39338 if test $ac_cv_lib_unicows_main = yes; then
39340 cat >>confdefs.h
<<\_ACEOF
39341 #define wxUSE_UNICODE_MSLU 1
39347 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
39348 Applications will only run on Windows NT/2000/XP!" >&5
39349 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
39350 Applications will only run on Windows NT/2000/XP!" >&2;}
39351 wxUSE_UNICODE_MSLU
=no
39358 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
39359 cat >>confdefs.h
<<\_ACEOF
39360 #define wxUSE_EXPERIMENTAL_PRINTF 1
39366 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
39367 cat >>confdefs.h
<<\_ACEOF
39368 #define wxUSE_POSTSCRIPT 1
39373 cat >>confdefs.h
<<\_ACEOF
39374 #define wxUSE_AFM_FOR_POSTSCRIPT 1
39378 cat >>confdefs.h
<<\_ACEOF
39379 #define wxUSE_NORMALIZED_PS_FONTS 1
39384 if test "$wxUSE_CONSTRAINTS" = "yes"; then
39385 cat >>confdefs.h
<<\_ACEOF
39386 #define wxUSE_CONSTRAINTS 1
39389 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
39392 if test "$wxUSE_MDI" = "yes"; then
39393 cat >>confdefs.h
<<\_ACEOF
39394 #define wxUSE_MDI 1
39398 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
39399 cat >>confdefs.h
<<\_ACEOF
39400 #define wxUSE_MDI_ARCHITECTURE 1
39403 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
39407 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
39408 cat >>confdefs.h
<<\_ACEOF
39409 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
39412 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
39413 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
39414 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
39418 if test "$wxUSE_HELP" = "yes"; then
39419 cat >>confdefs.h
<<\_ACEOF
39420 #define wxUSE_HELP 1
39423 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
39425 if test "$wxUSE_MSW" = 1; then
39426 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
39427 cat >>confdefs.h
<<\_ACEOF
39428 #define wxUSE_MS_HTML_HELP 1
39434 if test "$wxUSE_WXHTML_HELP" = "yes"; then
39435 if test "$wxUSE_HTML" = "yes"; then
39436 cat >>confdefs.h
<<\_ACEOF
39437 #define wxUSE_WXHTML_HELP 1
39441 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
39442 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
39443 wxUSE_WXHTML_HELP
=no
39448 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
39449 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39450 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
39451 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
39453 cat >>confdefs.h
<<\_ACEOF
39454 #define wxUSE_PRINTING_ARCHITECTURE 1
39458 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
39461 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
39462 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
39463 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
39464 { (exit 1); exit 1; }; }
39468 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
39469 -o "$wxUSE_CLIPBOARD" = "yes" \
39470 -o "$wxUSE_OLE" = "yes" \
39471 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
39473 for ac_header
in ole2.h
39475 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39476 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39477 echo "$as_me:$LINENO: checking for $ac_header" >&5
39478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39480 echo $ECHO_N "(cached) $ECHO_C" >&6
39482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39485 # Is the header compilable?
39486 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39487 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39488 cat >conftest.
$ac_ext <<_ACEOF
39491 cat confdefs.h
>>conftest.
$ac_ext
39492 cat >>conftest.
$ac_ext <<_ACEOF
39493 /* end confdefs.h. */
39494 $ac_includes_default
39495 #include <$ac_header>
39497 rm -f conftest.
$ac_objext
39498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39499 (eval $ac_compile) 2>conftest.er1
39501 grep -v '^ *+' conftest.er1
>conftest.err
39503 cat conftest.err
>&5
39504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39505 (exit $ac_status); } &&
39506 { ac_try
='test -z "$ac_c_werror_flag"
39507 || test ! -s conftest.err'
39508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39509 (eval $ac_try) 2>&5
39511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39512 (exit $ac_status); }; } &&
39513 { ac_try
='test -s conftest.$ac_objext'
39514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39515 (eval $ac_try) 2>&5
39517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39518 (exit $ac_status); }; }; then
39519 ac_header_compiler
=yes
39521 echo "$as_me: failed program was:" >&5
39522 sed 's/^/| /' conftest.
$ac_ext >&5
39524 ac_header_compiler
=no
39526 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39527 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39528 echo "${ECHO_T}$ac_header_compiler" >&6
39530 # Is the header present?
39531 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39532 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39533 cat >conftest.
$ac_ext <<_ACEOF
39536 cat confdefs.h
>>conftest.
$ac_ext
39537 cat >>conftest.
$ac_ext <<_ACEOF
39538 /* end confdefs.h. */
39539 #include <$ac_header>
39541 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39542 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39544 grep -v '^ *+' conftest.er1
>conftest.err
39546 cat conftest.err
>&5
39547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39548 (exit $ac_status); } >/dev
/null
; then
39549 if test -s conftest.err
; then
39550 ac_cpp_err
=$ac_c_preproc_warn_flag
39551 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
39558 if test -z "$ac_cpp_err"; then
39559 ac_header_preproc
=yes
39561 echo "$as_me: failed program was:" >&5
39562 sed 's/^/| /' conftest.
$ac_ext >&5
39564 ac_header_preproc
=no
39566 rm -f conftest.err conftest.
$ac_ext
39567 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39568 echo "${ECHO_T}$ac_header_preproc" >&6
39570 # So? What about this header?
39571 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39573 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39574 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39575 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39576 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39577 ac_header_preproc
=yes
39580 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39581 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39582 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39583 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39584 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39585 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39586 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39587 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39588 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39589 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39590 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39591 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39594 ## ----------------------------------------- ##
39595 ## Report this to wx-dev@lists.wxwidgets.org ##
39596 ## ----------------------------------------- ##
39599 sed "s/^/$as_me: WARNING: /" >&2
39602 echo "$as_me:$LINENO: checking for $ac_header" >&5
39603 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39604 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39605 echo $ECHO_N "(cached) $ECHO_C" >&6
39607 eval "$as_ac_Header=\$ac_header_preproc"
39609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39610 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39613 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39614 cat >>confdefs.h
<<_ACEOF
39615 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39623 if test "$ac_cv_header_ole2_h" = "yes" ; then
39624 if test "$GCC" = yes ; then
39628 ac_cpp
='$CXXCPP $CPPFLAGS'
39629 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39630 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39631 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39634 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
39635 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
39636 cat >conftest.
$ac_ext <<_ACEOF
39639 cat confdefs.h
>>conftest.
$ac_ext
39640 cat >>conftest.
$ac_ext <<_ACEOF
39641 /* end confdefs.h. */
39642 #include <windows.h>
39652 rm -f conftest.
$ac_objext
39653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39654 (eval $ac_compile) 2>conftest.er1
39656 grep -v '^ *+' conftest.er1
>conftest.err
39658 cat conftest.err
>&5
39659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39660 (exit $ac_status); } &&
39661 { ac_try
='test -z "$ac_cxx_werror_flag"
39662 || test ! -s conftest.err'
39663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39664 (eval $ac_try) 2>&5
39666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39667 (exit $ac_status); }; } &&
39668 { ac_try
='test -s conftest.$ac_objext'
39669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39670 (eval $ac_try) 2>&5
39672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39673 (exit $ac_status); }; }; then
39674 echo "$as_me:$LINENO: result: no" >&5
39675 echo "${ECHO_T}no" >&6
39677 echo "$as_me: failed program was:" >&5
39678 sed 's/^/| /' conftest.
$ac_ext >&5
39680 echo "$as_me:$LINENO: result: yes" >&5
39681 echo "${ECHO_T}yes" >&6
39682 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
39684 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39686 ac_cpp
='$CPP $CPPFLAGS'
39687 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39688 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39689 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39691 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
39692 if test "$wxUSE_OLE" = "yes" ; then
39693 cat >>confdefs.h
<<\_ACEOF
39694 #define wxUSE_OLE 1
39697 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
39701 if test "$wxUSE_DATAOBJ" = "yes" ; then
39702 cat >>confdefs.h
<<\_ACEOF
39703 #define wxUSE_DATAOBJ 1
39708 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
39709 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
39712 wxUSE_DRAG_AND_DROP
=no
39717 if test "$wxUSE_METAFILE" = "yes"; then
39718 cat >>confdefs.h
<<\_ACEOF
39719 #define wxUSE_METAFILE 1
39723 cat >>confdefs.h
<<\_ACEOF
39724 #define wxUSE_ENH_METAFILE 1
39730 if test "$wxUSE_IPC" = "yes"; then
39731 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
39732 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
39733 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
39737 if test "$wxUSE_IPC" = "yes"; then
39738 cat >>confdefs.h
<<\_ACEOF
39739 #define wxUSE_IPC 1
39742 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
39746 if test "$wxUSE_CLIPBOARD" = "yes"; then
39747 if test "$wxUSE_MGL" = 1; then
39748 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
39749 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
39753 if test "$wxUSE_CLIPBOARD" = "yes"; then
39754 cat >>confdefs.h
<<\_ACEOF
39755 #define wxUSE_CLIPBOARD 1
39759 cat >>confdefs.h
<<\_ACEOF
39760 #define wxUSE_DATAOBJ 1
39766 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
39767 if test "$wxUSE_GTK" = 1; then
39768 if test "$WXGTK12" != 1; then
39769 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
39770 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
39771 wxUSE_DRAG_AND_DROP
=no
39775 if test "$wxUSE_MOTIF" = 1; then
39776 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
39777 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
39778 wxUSE_DRAG_AND_DROP
=no
39781 if test "$wxUSE_X11" = 1; then
39782 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
39783 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
39784 wxUSE_DRAG_AND_DROP
=no
39787 if test "$wxUSE_MGL" = 1; then
39788 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
39789 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
39790 wxUSE_DRAG_AND_DROP
=no
39793 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
39794 cat >>confdefs.h
<<\_ACEOF
39795 #define wxUSE_DRAG_AND_DROP 1
39802 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
39803 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
39806 if test "$wxUSE_SPLINES" = "yes" ; then
39807 cat >>confdefs.h
<<\_ACEOF
39808 #define wxUSE_SPLINES 1
39813 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
39814 cat >>confdefs.h
<<\_ACEOF
39815 #define wxUSE_MOUSEWHEEL 1
39822 if test "$wxUSE_CONTROLS" = "yes"; then
39826 if test "$wxUSE_ACCEL" = "yes"; then
39827 cat >>confdefs.h
<<\_ACEOF
39828 #define wxUSE_ACCEL 1
39834 if test "$wxUSE_BUTTON" = "yes"; then
39835 cat >>confdefs.h
<<\_ACEOF
39836 #define wxUSE_BUTTON 1
39842 if test "$wxUSE_BMPBUTTON" = "yes"; then
39843 cat >>confdefs.h
<<\_ACEOF
39844 #define wxUSE_BMPBUTTON 1
39850 if test "$wxUSE_CALCTRL" = "yes"; then
39851 cat >>confdefs.h
<<\_ACEOF
39852 #define wxUSE_CALENDARCTRL 1
39856 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
39859 if test "$wxUSE_CARET" = "yes"; then
39860 cat >>confdefs.h
<<\_ACEOF
39861 #define wxUSE_CARET 1
39865 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
39868 if test "$wxUSE_COMBOBOX" = "yes"; then
39869 cat >>confdefs.h
<<\_ACEOF
39870 #define wxUSE_COMBOBOX 1
39876 if test "$wxUSE_CHOICE" = "yes"; then
39877 cat >>confdefs.h
<<\_ACEOF
39878 #define wxUSE_CHOICE 1
39884 if test "$wxUSE_CHOICEBOOK" = "yes"; then
39885 cat >>confdefs.h
<<\_ACEOF
39886 #define wxUSE_CHOICEBOOK 1
39892 if test "$wxUSE_CHECKBOX" = "yes"; then
39893 cat >>confdefs.h
<<\_ACEOF
39894 #define wxUSE_CHECKBOX 1
39900 if test "$wxUSE_CHECKLST" = "yes"; then
39901 cat >>confdefs.h
<<\_ACEOF
39902 #define wxUSE_CHECKLISTBOX 1
39906 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
39909 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
39910 cat >>confdefs.h
<<\_ACEOF
39911 #define wxUSE_DATEPICKCTRL 1
39917 if test "$wxUSE_DISPLAY" = "yes"; then
39918 cat >>confdefs.h
<<\_ACEOF
39919 #define wxUSE_DISPLAY 1
39922 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
39925 if test "$wxUSE_GAUGE" = "yes"; then
39926 cat >>confdefs.h
<<\_ACEOF
39927 #define wxUSE_GAUGE 1
39933 if test "$wxUSE_GRID" = "yes"; then
39934 cat >>confdefs.h
<<\_ACEOF
39935 #define wxUSE_GRID 1
39939 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
39942 if test "$wxUSE_IMAGLIST" = "yes"; then
39943 cat >>confdefs.h
<<\_ACEOF
39944 #define wxUSE_IMAGLIST 1
39949 if test "$wxUSE_LISTBOOK" = "yes"; then
39950 cat >>confdefs.h
<<\_ACEOF
39951 #define wxUSE_LISTBOOK 1
39957 if test "$wxUSE_LISTBOX" = "yes"; then
39958 cat >>confdefs.h
<<\_ACEOF
39959 #define wxUSE_LISTBOX 1
39963 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
39966 if test "$wxUSE_LISTCTRL" = "yes"; then
39967 if test "$wxUSE_IMAGLIST" = "yes"; then
39968 cat >>confdefs.h
<<\_ACEOF
39969 #define wxUSE_LISTCTRL 1
39973 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
39975 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
39976 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
39980 if test "$wxUSE_NOTEBOOK" = "yes"; then
39981 cat >>confdefs.h
<<\_ACEOF
39982 #define wxUSE_NOTEBOOK 1
39986 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
39990 if test "$wxUSE_RADIOBOX" = "yes"; then
39991 cat >>confdefs.h
<<\_ACEOF
39992 #define wxUSE_RADIOBOX 1
39998 if test "$wxUSE_RADIOBTN" = "yes"; then
39999 cat >>confdefs.h
<<\_ACEOF
40000 #define wxUSE_RADIOBTN 1
40006 if test "$wxUSE_SASH" = "yes"; then
40007 cat >>confdefs.h
<<\_ACEOF
40008 #define wxUSE_SASH 1
40011 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
40014 if test "$wxUSE_SCROLLBAR" = "yes"; then
40015 cat >>confdefs.h
<<\_ACEOF
40016 #define wxUSE_SCROLLBAR 1
40020 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
40023 if test "$wxUSE_SLIDER" = "yes"; then
40024 cat >>confdefs.h
<<\_ACEOF
40025 #define wxUSE_SLIDER 1
40031 if test "$wxUSE_SPINBTN" = "yes"; then
40032 cat >>confdefs.h
<<\_ACEOF
40033 #define wxUSE_SPINBTN 1
40039 if test "$wxUSE_SPINCTRL" = "yes"; then
40040 cat >>confdefs.h
<<\_ACEOF
40041 #define wxUSE_SPINCTRL 1
40047 if test "$wxUSE_SPLITTER" = "yes"; then
40048 cat >>confdefs.h
<<\_ACEOF
40049 #define wxUSE_SPLITTER 1
40052 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
40055 if test "$wxUSE_STATBMP" = "yes"; then
40056 cat >>confdefs.h
<<\_ACEOF
40057 #define wxUSE_STATBMP 1
40063 if test "$wxUSE_STATBOX" = "yes"; then
40064 cat >>confdefs.h
<<\_ACEOF
40065 #define wxUSE_STATBOX 1
40071 if test "$wxUSE_STATTEXT" = "yes"; then
40072 cat >>confdefs.h
<<\_ACEOF
40073 #define wxUSE_STATTEXT 1
40079 if test "$wxUSE_STATLINE" = "yes"; then
40080 cat >>confdefs.h
<<\_ACEOF
40081 #define wxUSE_STATLINE 1
40087 if test "$wxUSE_STATUSBAR" = "yes"; then
40088 cat >>confdefs.h
<<\_ACEOF
40089 #define wxUSE_NATIVE_STATUSBAR 1
40092 cat >>confdefs.h
<<\_ACEOF
40093 #define wxUSE_STATUSBAR 1
40098 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
40101 if test "$wxUSE_TABDIALOG" = "yes"; then
40102 cat >>confdefs.h
<<\_ACEOF
40103 #define wxUSE_TAB_DIALOG 1
40108 if test "$wxUSE_TEXTCTRL" = "yes"; then
40109 cat >>confdefs.h
<<\_ACEOF
40110 #define wxUSE_TEXTCTRL 1
40114 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
40117 if test "$wxUSE_TOGGLEBTN" = "yes"; then
40118 if test "$wxUSE_COCOA" = 1 ; then
40119 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
40120 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
40123 if test "$wxUSE_UNIVERSAL" = "yes"; then
40124 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
40125 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
40129 if test "$wxUSE_TOGGLEBTN" = "yes"; then
40130 cat >>confdefs.h
<<\_ACEOF
40131 #define wxUSE_TOGGLEBTN 1
40138 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
40139 cat >>confdefs.h
<<\_ACEOF
40140 #define wxUSE_TOOLBAR_SIMPLE 1
40143 wxUSE_TOOLBAR
="yes"
40147 if test "$wxUSE_TOOLBAR" = "yes"; then
40148 cat >>confdefs.h
<<\_ACEOF
40149 #define wxUSE_TOOLBAR 1
40154 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
40155 wxUSE_TOOLBAR_NATIVE
="yes"
40158 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
40159 cat >>confdefs.h
<<\_ACEOF
40160 #define wxUSE_TOOLBAR_NATIVE 1
40166 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
40169 if test "$wxUSE_TOOLTIPS" = "yes"; then
40170 if test "$wxUSE_MOTIF" = 1; then
40171 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
40172 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
40174 if test "$wxUSE_UNIVERSAL" = "yes"; then
40175 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
40176 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
40178 cat >>confdefs.h
<<\_ACEOF
40179 #define wxUSE_TOOLTIPS 1
40186 if test "$wxUSE_TREECTRL" = "yes"; then
40187 if test "$wxUSE_IMAGLIST" = "yes"; then
40188 cat >>confdefs.h
<<\_ACEOF
40189 #define wxUSE_TREECTRL 1
40193 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
40195 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
40196 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
40200 if test "$wxUSE_POPUPWIN" = "yes"; then
40201 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
40202 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
40203 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
40205 if test "$wxUSE_PM" = 1; then
40206 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
40207 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
40209 cat >>confdefs.h
<<\_ACEOF
40210 #define wxUSE_POPUPWIN 1
40213 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
40220 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
40221 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
40222 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
40223 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
40225 cat >>confdefs.h
<<\_ACEOF
40226 #define wxUSE_DIALUP_MANAGER 1
40229 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
40233 if test "$wxUSE_TIPWINDOW" = "yes"; then
40234 if test "$wxUSE_PM" = 1; then
40235 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
40236 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
40238 cat >>confdefs.h
<<\_ACEOF
40239 #define wxUSE_TIPWINDOW 1
40245 if test "$USES_CONTROLS" = 1; then
40246 cat >>confdefs.h
<<\_ACEOF
40247 #define wxUSE_CONTROLS 1
40253 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
40254 cat >>confdefs.h
<<\_ACEOF
40255 #define wxUSE_ACCESSIBILITY 1
40258 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
40261 if test "$wxUSE_DRAGIMAGE" = "yes"; then
40262 cat >>confdefs.h
<<\_ACEOF
40263 #define wxUSE_DRAGIMAGE 1
40266 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
40269 if test "$wxUSE_EXCEPTIONS" = "yes"; then
40270 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40271 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
40272 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
40274 cat >>confdefs.h
<<\_ACEOF
40275 #define wxUSE_EXCEPTIONS 1
40278 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
40283 if test "$wxUSE_HTML" = "yes"; then
40284 cat >>confdefs.h
<<\_ACEOF
40285 #define wxUSE_HTML 1
40289 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
40290 if test "$wxUSE_MAC" = 1; then
40291 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
40294 if test "$wxUSE_WEBKIT" = "yes"; then
40295 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
40296 old_CPPFLAGS
="$CPPFLAGS"
40297 CPPFLAGS
="$CPPFLAGS -x objective-c++"
40298 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
40299 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
40300 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
40301 echo $ECHO_N "(cached) $ECHO_C" >&6
40303 cat >conftest.
$ac_ext <<_ACEOF
40306 cat confdefs.h
>>conftest.
$ac_ext
40307 cat >>conftest.
$ac_ext <<_ACEOF
40308 /* end confdefs.h. */
40309 #include <Carbon/Carbon.h>
40311 #include <WebKit/HIWebView.h>
40313 rm -f conftest.
$ac_objext
40314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40315 (eval $ac_compile) 2>conftest.er1
40317 grep -v '^ *+' conftest.er1
>conftest.err
40319 cat conftest.err
>&5
40320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40321 (exit $ac_status); } &&
40322 { ac_try
='test -z "$ac_c_werror_flag"
40323 || test ! -s conftest.err'
40324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40325 (eval $ac_try) 2>&5
40327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40328 (exit $ac_status); }; } &&
40329 { ac_try
='test -s conftest.$ac_objext'
40330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40331 (eval $ac_try) 2>&5
40333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40334 (exit $ac_status); }; }; then
40335 ac_cv_header_WebKit_HIWebView_h
=yes
40337 echo "$as_me: failed program was:" >&5
40338 sed 's/^/| /' conftest.
$ac_ext >&5
40340 ac_cv_header_WebKit_HIWebView_h
=no
40342 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40344 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
40345 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
40346 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
40348 cat >>confdefs.h
<<\_ACEOF
40349 #define wxUSE_WEBKIT 1
40352 WEBKIT_LINK
="-framework WebKit"
40356 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
40357 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
40363 CPPFLAGS
="$old_CPPFLAGS"
40364 elif test "$wxUSE_COCOA" = 1; then
40365 cat >>confdefs.h
<<\_ACEOF
40366 #define wxUSE_WEBKIT 1
40375 if test "$wxUSE_XRC" = "yes"; then
40376 if test "$wxUSE_XML" != "yes"; then
40377 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
40378 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
40381 cat >>confdefs.h
<<\_ACEOF
40382 #define wxUSE_XRC 1
40386 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
40390 if test "$wxUSE_MENUS" = "yes"; then
40391 cat >>confdefs.h
<<\_ACEOF
40392 #define wxUSE_MENUS 1
40395 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
40398 if test "$wxUSE_METAFILE" = "yes"; then
40399 cat >>confdefs.h
<<\_ACEOF
40400 #define wxUSE_METAFILE 1
40405 if test "$wxUSE_MIMETYPE" = "yes"; then
40406 cat >>confdefs.h
<<\_ACEOF
40407 #define wxUSE_MIMETYPE 1
40412 if test "$wxUSE_MINIFRAME" = "yes"; then
40413 cat >>confdefs.h
<<\_ACEOF
40414 #define wxUSE_MINIFRAME 1
40417 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
40420 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
40421 cat >>confdefs.h
<<\_ACEOF
40422 #define wxUSE_SYSTEM_OPTIONS 1
40425 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
40426 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
40427 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
40432 if test "$wxUSE_VALIDATORS" = "yes"; then
40433 cat >>confdefs.h
<<\_ACEOF
40434 #define wxUSE_VALIDATORS 1
40437 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
40440 if test "$wxUSE_PALETTE" = "yes" ; then
40441 cat >>confdefs.h
<<\_ACEOF
40442 #define wxUSE_PALETTE 1
40447 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
40448 LIBS
=" -lunicows $LIBS"
40452 if test "$wxUSE_IMAGE" = "yes" ; then
40453 cat >>confdefs.h
<<\_ACEOF
40454 #define wxUSE_IMAGE 1
40458 if test "$wxUSE_GIF" = "yes" ; then
40459 cat >>confdefs.h
<<\_ACEOF
40460 #define wxUSE_GIF 1
40465 if test "$wxUSE_PCX" = "yes" ; then
40466 cat >>confdefs.h
<<\_ACEOF
40467 #define wxUSE_PCX 1
40472 if test "$wxUSE_IFF" = "yes" ; then
40473 cat >>confdefs.h
<<\_ACEOF
40474 #define wxUSE_IFF 1
40479 if test "$wxUSE_PNM" = "yes" ; then
40480 cat >>confdefs.h
<<\_ACEOF
40481 #define wxUSE_PNM 1
40486 if test "$wxUSE_XPM" = "yes" ; then
40487 cat >>confdefs.h
<<\_ACEOF
40488 #define wxUSE_XPM 1
40493 if test "$wxUSE_ICO_CUR" = "yes" ; then
40494 cat >>confdefs.h
<<\_ACEOF
40495 #define wxUSE_ICO_CUR 1
40502 if test "$wxUSE_CHOICEDLG" = "yes"; then
40503 cat >>confdefs.h
<<\_ACEOF
40504 #define wxUSE_CHOICEDLG 1
40509 if test "$wxUSE_COLOURDLG" = "yes"; then
40510 cat >>confdefs.h
<<\_ACEOF
40511 #define wxUSE_COLOURDLG 1
40516 if test "$wxUSE_FILEDLG" = "yes"; then
40517 cat >>confdefs.h
<<\_ACEOF
40518 #define wxUSE_FILEDLG 1
40523 if test "$wxUSE_FINDREPLDLG" = "yes"; then
40524 cat >>confdefs.h
<<\_ACEOF
40525 #define wxUSE_FINDREPLDLG 1
40530 if test "$wxUSE_FONTDLG" = "yes"; then
40531 cat >>confdefs.h
<<\_ACEOF
40532 #define wxUSE_FONTDLG 1
40537 if test "$wxUSE_DIRDLG" = "yes"; then
40538 if test "$wxUSE_TREECTRL" != "yes"; then
40539 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
40540 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
40542 cat >>confdefs.h
<<\_ACEOF
40543 #define wxUSE_DIRDLG 1
40549 if test "$wxUSE_MSGDLG" = "yes"; then
40550 cat >>confdefs.h
<<\_ACEOF
40551 #define wxUSE_MSGDLG 1
40556 if test "$wxUSE_NUMBERDLG" = "yes"; then
40557 cat >>confdefs.h
<<\_ACEOF
40558 #define wxUSE_NUMBERDLG 1
40563 if test "$wxUSE_PROGRESSDLG" = "yes"; then
40564 if test "$wxUSE_CONSTRAINTS" != "yes"; then
40565 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
40566 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
40568 cat >>confdefs.h
<<\_ACEOF
40569 #define wxUSE_PROGRESSDLG 1
40575 if test "$wxUSE_SPLASH" = "yes"; then
40576 cat >>confdefs.h
<<\_ACEOF
40577 #define wxUSE_SPLASH 1
40580 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
40583 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
40584 if test "$wxUSE_CONSTRAINTS" != "yes"; then
40585 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
40586 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
40588 cat >>confdefs.h
<<\_ACEOF
40589 #define wxUSE_STARTUP_TIPS 1
40595 if test "$wxUSE_TEXTDLG" = "yes"; then
40596 cat >>confdefs.h
<<\_ACEOF
40597 #define wxUSE_TEXTDLG 1
40602 if test "$wxUSE_WIZARDDLG" = "yes"; then
40603 cat >>confdefs.h
<<\_ACEOF
40604 #define wxUSE_WIZARDDLG 1
40607 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
40611 if test "$wxUSE_MEDIACTRL" = "yes"; then
40612 if test "$wxUSE_GTK" = 1; then
40613 wxUSE_GSTREAMER
="yes"
40618 if test -z "$PKG_CONFIG"; then
40619 # Extract the first word of "pkg-config", so it can be a program name with args.
40620 set dummy pkg
-config; ac_word
=$2
40621 echo "$as_me:$LINENO: checking for $ac_word" >&5
40622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40623 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40624 echo $ECHO_N "(cached) $ECHO_C" >&6
40626 case $PKG_CONFIG in
40628 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
40631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40632 for as_dir
in $PATH
40635 test -z "$as_dir" && as_dir
=.
40636 for ac_exec_ext
in '' $ac_executable_extensions; do
40637 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40638 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40645 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
40649 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
40651 if test -n "$PKG_CONFIG"; then
40652 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
40653 echo "${ECHO_T}$PKG_CONFIG" >&6
40655 echo "$as_me:$LINENO: result: no" >&5
40656 echo "${ECHO_T}no" >&6
40661 if test "$PKG_CONFIG" = "no" ; then
40662 echo "*** The pkg-config script could not be found. Make sure it is"
40663 echo "*** in your path, or set the PKG_CONFIG environment variable"
40664 echo "*** to the full path to pkg-config."
40665 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
40667 PKG_CONFIG_MIN_VERSION
=0.9.0
40668 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
40669 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
40670 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
40672 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
40673 echo "$as_me:$LINENO: result: yes" >&5
40674 echo "${ECHO_T}yes" >&6
40677 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
40678 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
40679 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-0.8"`
40680 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
40681 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
40683 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
40684 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
40685 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-0.8"`
40686 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
40687 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
40689 GSTREAMER_CFLAGS
=""
40691 ## If we have a custom action on failure, don't print errors, but
40692 ## do set a variable so people can do so.
40693 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
40700 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
40701 echo "*** See http://www.freedesktop.org/software/pkgconfig"
40705 if test $succeeded = yes; then
40707 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
40708 LIBS
="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
40712 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
40713 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
40714 wxUSE_GSTREAMER
="no"
40722 if test "x$GST_INSPECT" == "x"; then
40723 # Extract the first word of "gst-inspect", so it can be a program name with args.
40724 set dummy gst
-inspect; ac_word
=$2
40725 echo "$as_me:$LINENO: checking for $ac_word" >&5
40726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40727 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
40728 echo $ECHO_N "(cached) $ECHO_C" >&6
40730 if test -n "$GST_INSPECT"; then
40731 ac_cv_prog_GST_INSPECT
="$GST_INSPECT" # Let the user override the test.
40733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40734 for as_dir
in $PATH
40737 test -z "$as_dir" && as_dir
=.
40738 for ac_exec_ext
in '' $ac_executable_extensions; do
40739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40740 ac_cv_prog_GST_INSPECT
="gst-inspect"
40741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40749 GST_INSPECT
=$ac_cv_prog_GST_INSPECT
40750 if test -n "$GST_INSPECT"; then
40751 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
40752 echo "${ECHO_T}$GST_INSPECT" >&6
40754 echo "$as_me:$LINENO: result: no" >&5
40755 echo "${ECHO_T}no" >&6
40760 if test "x$GST_INSPECT" != "x"; then
40761 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
40762 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
40763 if $GST_INSPECT xvimagesink
> /dev
/null
2> /dev
/null
; then
40764 echo "$as_me:$LINENO: result: found." >&5
40765 echo "${ECHO_T}found." >&6
40768 echo "$as_me:$LINENO: result: not found." >&5
40769 echo "${ECHO_T}not found." >&6
40771 wxUSE_GSTREAMER
="no"
40772 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
40773 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
40779 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
40780 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
40781 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
40782 echo $ECHO_N "(cached) $ECHO_C" >&6
40784 cat >conftest.
$ac_ext <<_ACEOF
40787 cat confdefs.h
>>conftest.
$ac_ext
40788 cat >>conftest.
$ac_ext <<_ACEOF
40789 /* end confdefs.h. */
40790 #include <gst/gst.h>
40792 #include <gst/xoverlay/xoverlay.h>
40794 rm -f conftest.
$ac_objext
40795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40796 (eval $ac_compile) 2>conftest.er1
40798 grep -v '^ *+' conftest.er1
>conftest.err
40800 cat conftest.err
>&5
40801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40802 (exit $ac_status); } &&
40803 { ac_try
='test -z "$ac_c_werror_flag"
40804 || test ! -s conftest.err'
40805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40806 (eval $ac_try) 2>&5
40808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40809 (exit $ac_status); }; } &&
40810 { ac_try
='test -s conftest.$ac_objext'
40811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40812 (eval $ac_try) 2>&5
40814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40815 (exit $ac_status); }; }; then
40816 ac_cv_header_gst_xoverlay_xoverlay_h
=yes
40818 echo "$as_me: failed program was:" >&5
40819 sed 's/^/| /' conftest.
$ac_ext >&5
40821 ac_cv_header_gst_xoverlay_xoverlay_h
=no
40823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40825 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
40826 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
40827 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
40831 wxUSE_GSTREAMER
="no"
40832 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
40833 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
40839 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
40840 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
40843 for ac_dir
in $SEARCH_LIB /usr
/lib
;
40845 for ac_extension
in a so sl dylib
; do
40846 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
40847 ac_find_libraries
=$ac_dir
40854 if test "$ac_find_libraries" = "" ; then
40855 echo "$as_me:$LINENO: result: no" >&5
40856 echo "${ECHO_T}no" >&6
40857 wxUSE_GSTREAMER
="no"
40859 echo "$as_me:$LINENO: result: yes" >&5
40860 echo "${ECHO_T}yes" >&6
40863 if test "$wxUSE_GSTREAMER" = "yes"; then
40864 cat >>confdefs.h
<<\_ACEOF
40865 #define wxUSE_GSTREAMER 1
40868 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
40869 echo "${ECHO_T}GStreamer detection successful" >&6
40872 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
40873 cat >>confdefs.h
<<\_ACEOF
40874 #define wxUSE_MEDIACTRL 1
40880 if test "$cross_compiling" = "yes"; then
40883 OSINFO
=`uname -s -r -m`
40884 OSINFO
="\"$OSINFO\""
40887 cat >>confdefs.h
<<_ACEOF
40888 #define WXWIN_OS_DESCRIPTION $OSINFO
40893 if test "x$prefix" != "xNONE"; then
40896 wxPREFIX
=$ac_default_prefix
40899 cat >>confdefs.h
<<_ACEOF
40900 #define wxINSTALL_PREFIX "$wxPREFIX"
40906 CORE_BASE_LIBS
="net base"
40907 CORE_GUI_LIBS
="adv core"
40909 if test "$wxUSE_XML" = "yes" ; then
40910 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
40912 if test "$wxUSE_ODBC" != "no" ; then
40913 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
40914 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
40916 if test "$wxUSE_HTML" = "yes" ; then
40917 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
40919 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
40920 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
40922 if test "$wxUSE_XRC" = "yes" ; then
40923 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
40926 if test "$wxUSE_GUI" != "yes"; then
40937 if test "$wxUSE_MAC" = 1 ; then
40938 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
40939 if test "$USE_DARWIN" = 1; then
40940 LDFLAGS
="$LDFLAGS -framework QuickTime"
40942 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
40945 if test "$USE_DARWIN" = 1; then
40946 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
40948 LDFLAGS
="$LDFLAGS -lCarbonLib"
40951 if test "$wxUSE_COCOA" = 1 ; then
40952 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
40953 if test "$wxUSE_MEDIACTRL" = "yes"; then
40954 LDFLAGS
="$LDFLAGS -framework QuickTime"
40957 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
40958 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
40962 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
40969 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40970 echo "$as_me:$LINENO: checking for $ac_func" >&5
40971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40972 if eval "test \"\${$as_ac_var+set}\" = set"; then
40973 echo $ECHO_N "(cached) $ECHO_C" >&6
40975 cat >conftest.
$ac_ext <<_ACEOF
40978 cat confdefs.h
>>conftest.
$ac_ext
40979 cat >>conftest.
$ac_ext <<_ACEOF
40980 /* end confdefs.h. */
40981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40983 #define $ac_func innocuous_$ac_func
40985 /* System header to define __stub macros and hopefully few prototypes,
40986 which can conflict with char $ac_func (); below.
40987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40988 <limits.h> exists even on freestanding compilers. */
40991 # include <limits.h>
40993 # include <assert.h>
40998 /* Override any gcc2 internal prototype to avoid an error. */
41003 /* We use char because int might match the return type of a gcc2
41004 builtin and then its argument prototype would still apply. */
41006 /* The GNU C library defines this for functions which it implements
41007 to always fail with ENOSYS. Some functions are actually named
41008 something starting with __ and the normal name is an alias. */
41009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41012 char (*f) () = $ac_func;
41021 return f != $ac_func;
41026 rm -f conftest.
$ac_objext conftest
$ac_exeext
41027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41028 (eval $ac_link) 2>conftest.er1
41030 grep -v '^ *+' conftest.er1
>conftest.err
41032 cat conftest.err
>&5
41033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41034 (exit $ac_status); } &&
41035 { ac_try
='test -z "$ac_c_werror_flag"
41036 || test ! -s conftest.err'
41037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41038 (eval $ac_try) 2>&5
41040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41041 (exit $ac_status); }; } &&
41042 { ac_try
='test -s conftest$ac_exeext'
41043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41044 (eval $ac_try) 2>&5
41046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41047 (exit $ac_status); }; }; then
41048 eval "$as_ac_var=yes"
41050 echo "$as_me: failed program was:" >&5
41051 sed 's/^/| /' conftest.
$ac_ext >&5
41053 eval "$as_ac_var=no"
41055 rm -f conftest.err conftest.
$ac_objext \
41056 conftest
$ac_exeext conftest.
$ac_ext
41058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41060 if test `eval echo '${'$as_ac_var'}'` = yes; then
41061 cat >>confdefs.h
<<_ACEOF
41062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41069 for ac_func
in floor
41071 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41072 echo "$as_me:$LINENO: checking for $ac_func" >&5
41073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41074 if eval "test \"\${$as_ac_var+set}\" = set"; then
41075 echo $ECHO_N "(cached) $ECHO_C" >&6
41077 cat >conftest.
$ac_ext <<_ACEOF
41080 cat confdefs.h
>>conftest.
$ac_ext
41081 cat >>conftest.
$ac_ext <<_ACEOF
41082 /* end confdefs.h. */
41083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41085 #define $ac_func innocuous_$ac_func
41087 /* System header to define __stub macros and hopefully few prototypes,
41088 which can conflict with char $ac_func (); below.
41089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41090 <limits.h> exists even on freestanding compilers. */
41093 # include <limits.h>
41095 # include <assert.h>
41100 /* Override any gcc2 internal prototype to avoid an error. */
41105 /* We use char because int might match the return type of a gcc2
41106 builtin and then its argument prototype would still apply. */
41108 /* The GNU C library defines this for functions which it implements
41109 to always fail with ENOSYS. Some functions are actually named
41110 something starting with __ and the normal name is an alias. */
41111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41114 char (*f) () = $ac_func;
41123 return f != $ac_func;
41128 rm -f conftest.
$ac_objext conftest
$ac_exeext
41129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41130 (eval $ac_link) 2>conftest.er1
41132 grep -v '^ *+' conftest.er1
>conftest.err
41134 cat conftest.err
>&5
41135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41136 (exit $ac_status); } &&
41137 { ac_try
='test -z "$ac_c_werror_flag"
41138 || test ! -s conftest.err'
41139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41140 (eval $ac_try) 2>&5
41142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41143 (exit $ac_status); }; } &&
41144 { ac_try
='test -s conftest$ac_exeext'
41145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41146 (eval $ac_try) 2>&5
41148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41149 (exit $ac_status); }; }; then
41150 eval "$as_ac_var=yes"
41152 echo "$as_me: failed program was:" >&5
41153 sed 's/^/| /' conftest.
$ac_ext >&5
41155 eval "$as_ac_var=no"
41157 rm -f conftest.err conftest.
$ac_objext \
41158 conftest
$ac_exeext conftest.
$ac_ext
41160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41162 if test `eval echo '${'$as_ac_var'}'` = yes; then
41163 cat >>confdefs.h
<<_ACEOF
41164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41170 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
41171 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
41172 if test "$have_cos" = 1 -a "$have_floor" = 1; then
41173 echo "$as_me:$LINENO: result: yes" >&5
41174 echo "${ECHO_T}yes" >&6
41176 echo "$as_me:$LINENO: result: no" >&5
41177 echo "${ECHO_T}no" >&6
41179 # use different functions to avoid configure caching
41185 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41186 echo "$as_me:$LINENO: checking for $ac_func" >&5
41187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41188 if eval "test \"\${$as_ac_var+set}\" = set"; then
41189 echo $ECHO_N "(cached) $ECHO_C" >&6
41191 cat >conftest.
$ac_ext <<_ACEOF
41194 cat confdefs.h
>>conftest.
$ac_ext
41195 cat >>conftest.
$ac_ext <<_ACEOF
41196 /* end confdefs.h. */
41197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41199 #define $ac_func innocuous_$ac_func
41201 /* System header to define __stub macros and hopefully few prototypes,
41202 which can conflict with char $ac_func (); below.
41203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41204 <limits.h> exists even on freestanding compilers. */
41207 # include <limits.h>
41209 # include <assert.h>
41214 /* Override any gcc2 internal prototype to avoid an error. */
41219 /* We use char because int might match the return type of a gcc2
41220 builtin and then its argument prototype would still apply. */
41222 /* The GNU C library defines this for functions which it implements
41223 to always fail with ENOSYS. Some functions are actually named
41224 something starting with __ and the normal name is an alias. */
41225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41228 char (*f) () = $ac_func;
41237 return f != $ac_func;
41242 rm -f conftest.
$ac_objext conftest
$ac_exeext
41243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41244 (eval $ac_link) 2>conftest.er1
41246 grep -v '^ *+' conftest.er1
>conftest.err
41248 cat conftest.err
>&5
41249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41250 (exit $ac_status); } &&
41251 { ac_try
='test -z "$ac_c_werror_flag"
41252 || test ! -s conftest.err'
41253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41254 (eval $ac_try) 2>&5
41256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41257 (exit $ac_status); }; } &&
41258 { ac_try
='test -s conftest$ac_exeext'
41259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41260 (eval $ac_try) 2>&5
41262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41263 (exit $ac_status); }; }; then
41264 eval "$as_ac_var=yes"
41266 echo "$as_me: failed program was:" >&5
41267 sed 's/^/| /' conftest.
$ac_ext >&5
41269 eval "$as_ac_var=no"
41271 rm -f conftest.err conftest.
$ac_objext \
41272 conftest
$ac_exeext conftest.
$ac_ext
41274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41276 if test `eval echo '${'$as_ac_var'}'` = yes; then
41277 cat >>confdefs.h
<<_ACEOF
41278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41285 for ac_func
in ceil
41287 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41288 echo "$as_me:$LINENO: checking for $ac_func" >&5
41289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41290 if eval "test \"\${$as_ac_var+set}\" = set"; then
41291 echo $ECHO_N "(cached) $ECHO_C" >&6
41293 cat >conftest.
$ac_ext <<_ACEOF
41296 cat confdefs.h
>>conftest.
$ac_ext
41297 cat >>conftest.
$ac_ext <<_ACEOF
41298 /* end confdefs.h. */
41299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41301 #define $ac_func innocuous_$ac_func
41303 /* System header to define __stub macros and hopefully few prototypes,
41304 which can conflict with char $ac_func (); below.
41305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41306 <limits.h> exists even on freestanding compilers. */
41309 # include <limits.h>
41311 # include <assert.h>
41316 /* Override any gcc2 internal prototype to avoid an error. */
41321 /* We use char because int might match the return type of a gcc2
41322 builtin and then its argument prototype would still apply. */
41324 /* The GNU C library defines this for functions which it implements
41325 to always fail with ENOSYS. Some functions are actually named
41326 something starting with __ and the normal name is an alias. */
41327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41330 char (*f) () = $ac_func;
41339 return f != $ac_func;
41344 rm -f conftest.
$ac_objext conftest
$ac_exeext
41345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41346 (eval $ac_link) 2>conftest.er1
41348 grep -v '^ *+' conftest.er1
>conftest.err
41350 cat conftest.err
>&5
41351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41352 (exit $ac_status); } &&
41353 { ac_try
='test -z "$ac_c_werror_flag"
41354 || test ! -s conftest.err'
41355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41356 (eval $ac_try) 2>&5
41358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41359 (exit $ac_status); }; } &&
41360 { ac_try
='test -s conftest$ac_exeext'
41361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41362 (eval $ac_try) 2>&5
41364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41365 (exit $ac_status); }; }; then
41366 eval "$as_ac_var=yes"
41368 echo "$as_me: failed program was:" >&5
41369 sed 's/^/| /' conftest.
$ac_ext >&5
41371 eval "$as_ac_var=no"
41373 rm -f conftest.err conftest.
$ac_objext \
41374 conftest
$ac_exeext conftest.
$ac_ext
41376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41377 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41378 if test `eval echo '${'$as_ac_var'}'` = yes; then
41379 cat >>confdefs.h
<<_ACEOF
41380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41386 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
41387 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
41388 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
41389 echo "$as_me:$LINENO: result: yes" >&5
41390 echo "${ECHO_T}yes" >&6
41392 echo "$as_me:$LINENO: result: no" >&5
41393 echo "${ECHO_T}no" >&6
41394 # not sure we should warn the user, crash, etc.
41398 if test "$wxUSE_GUI" = "yes"; then
41401 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
41402 dynamic erase event exec font image minimal mobile \
41403 mobile/wxedit mobile/styles propsize render \
41404 richedit rotate shaped vscroll widgets"
41406 if test "$wxUSE_MONOLITHIC" != "yes"; then
41407 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
41409 if test "$TOOLKIT" = "MSW"; then
41410 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
41411 if test "$wxUSE_UNIVERSAL" != "yes"; then
41412 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
41415 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
41416 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
41419 SAMPLES_SUBDIRS
="console"
41423 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
41424 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
41426 if test "$GXX" = yes ; then
41428 CXXWARNINGS
="$CWARNINGS -Wno-ctor-dtor-privacy"
41431 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
41433 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
41434 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
41435 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
41437 if test "x$MWCC" = "xyes"; then
41439 CC
="$CC -cwd source -I-"
41440 CXX
="$CXX -cwd source -I-"
41445 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
41446 EXTRALIBS_XML
="$EXPAT_LINK"
41447 EXTRALIBS_HTML
="$MSPACK_LINK"
41448 EXTRALIBS_ODBC
="$ODBC_LINK"
41449 if test "$wxUSE_GUI" = "yes"; then
41450 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
41452 if test "$wxUSE_OPENGL" = "yes"; then
41453 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
41456 LDFLAGS
="$LDFLAGS $PROFILE"
41458 if test "$wxUSE_GTK" = 1; then
41461 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
41464 WXCONFIG_EXTRALIBS
="$LIBS"
41466 if test "$wxUSE_REGEX" = "builtin" ; then
41467 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
41469 if test "$wxUSE_EXPAT" = "builtin" ; then
41470 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
41472 if test "$wxUSE_ODBC" = "builtin" ; then
41473 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
41475 if test "$wxUSE_LIBTIFF" = "builtin" ; then
41476 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
41478 if test "$wxUSE_LIBJPEG" = "builtin" ; then
41479 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
41481 if test "$wxUSE_LIBPNG" = "builtin" ; then
41482 wxconfig_3rdparty
="png $wxconfig_3rdparty"
41484 if test "$wxUSE_ZLIB" = "builtin" ; then
41485 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
41488 for i
in $wxconfig_3rdparty ; do
41489 WXCONFIG_EXTRALIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_EXTRALIBS"
41493 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
41507 if test $wxUSE_MONOLITHIC = "yes" ; then
41513 if test $wxUSE_PLUGINS = "yes" ; then
41519 if test $wxUSE_ODBC != "no" ; then
41525 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
41531 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
41559 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
41570 TOOLKIT_USER
="GTK+"
41571 if test "$WXGTK20" = 1; then
41572 TOOLKIT_USER
="$TOOLKIT_USER 2"
41577 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
41581 if test "$wxUSE_WINE" = "yes"; then
41582 BAKEFILE_FORCE_PLATFORM
=win32
41588 if test "x$BAKEFILE_HOST" = "x"; then
41589 BAKEFILE_HOST
="${host}"
41592 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
41594 if test -n "$ac_tool_prefix"; then
41595 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
41596 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
41597 echo "$as_me:$LINENO: checking for $ac_word" >&5
41598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41599 if test "${ac_cv_prog_RANLIB+set}" = set; then
41600 echo $ECHO_N "(cached) $ECHO_C" >&6
41602 if test -n "$RANLIB"; then
41603 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
41605 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41606 for as_dir
in $PATH
41609 test -z "$as_dir" && as_dir
=.
41610 for ac_exec_ext
in '' $ac_executable_extensions; do
41611 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41612 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
41613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41621 RANLIB
=$ac_cv_prog_RANLIB
41622 if test -n "$RANLIB"; then
41623 echo "$as_me:$LINENO: result: $RANLIB" >&5
41624 echo "${ECHO_T}$RANLIB" >&6
41626 echo "$as_me:$LINENO: result: no" >&5
41627 echo "${ECHO_T}no" >&6
41631 if test -z "$ac_cv_prog_RANLIB"; then
41632 ac_ct_RANLIB
=$RANLIB
41633 # Extract the first word of "ranlib", so it can be a program name with args.
41634 set dummy ranlib
; ac_word
=$2
41635 echo "$as_me:$LINENO: checking for $ac_word" >&5
41636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41637 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
41638 echo $ECHO_N "(cached) $ECHO_C" >&6
41640 if test -n "$ac_ct_RANLIB"; then
41641 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
41643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41644 for as_dir
in $PATH
41647 test -z "$as_dir" && as_dir
=.
41648 for ac_exec_ext
in '' $ac_executable_extensions; do
41649 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41650 ac_cv_prog_ac_ct_RANLIB
="ranlib"
41651 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41657 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
41660 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
41661 if test -n "$ac_ct_RANLIB"; then
41662 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
41663 echo "${ECHO_T}$ac_ct_RANLIB" >&6
41665 echo "$as_me:$LINENO: result: no" >&5
41666 echo "${ECHO_T}no" >&6
41669 RANLIB
=$ac_ct_RANLIB
41671 RANLIB
="$ac_cv_prog_RANLIB"
41674 # Find a good install program. We prefer a C program (faster),
41675 # so one script is as good as another. But avoid the broken or
41676 # incompatible versions:
41677 # SysV /etc/install, /usr/sbin/install
41678 # SunOS /usr/etc/install
41679 # IRIX /sbin/install
41681 # AmigaOS /C/install, which installs bootblocks on floppy discs
41682 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
41683 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
41684 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
41685 # OS/2's system install, which has a completely different semantic
41686 # ./install, which can be erroneously created by make from ./install.sh.
41687 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
41688 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
41689 if test -z "$INSTALL"; then
41690 if test "${ac_cv_path_install+set}" = set; then
41691 echo $ECHO_N "(cached) $ECHO_C" >&6
41693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41694 for as_dir
in $PATH
41697 test -z "$as_dir" && as_dir
=.
41698 # Account for people who put trailing slashes in PATH elements.
41700 .
/ | .
// | /cC
/* | \
41701 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
41702 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
41705 # OSF1 and SCO ODT 3.0 have their own names for install.
41706 # Don't use installbsd from OSF since it installs stuff as root
41708 for ac_prog
in ginstall scoinst
install; do
41709 for ac_exec_ext
in '' $ac_executable_extensions; do
41710 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
41711 if test $ac_prog = install &&
41712 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
41713 # AIX install. It has an incompatible calling convention.
41715 elif test $ac_prog = install &&
41716 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
41717 # program-specific install script used by HP pwplus--don't use.
41720 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
41732 if test "${ac_cv_path_install+set}" = set; then
41733 INSTALL
=$ac_cv_path_install
41735 # As a last resort, use the slow shell script. We don't cache a
41736 # path for INSTALL within a source directory, because that will
41737 # break other packages using the cache if that directory is
41738 # removed, or if the path is relative.
41739 INSTALL
=$ac_install_sh
41742 echo "$as_me:$LINENO: result: $INSTALL" >&5
41743 echo "${ECHO_T}$INSTALL" >&6
41745 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
41746 # It thinks the first close brace ends the variable substitution.
41747 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
41749 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
41751 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
41753 echo "$as_me:$LINENO: checking whether ln -s works" >&5
41754 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
41756 if test "$LN_S" = "ln -s"; then
41757 echo "$as_me:$LINENO: result: yes" >&5
41758 echo "${ECHO_T}yes" >&6
41760 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
41761 echo "${ECHO_T}no, using $LN_S" >&6
41765 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41766 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41767 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
41768 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41769 echo $ECHO_N "(cached) $ECHO_C" >&6
41771 cat >conftest.
make <<\_ACEOF
41773 @
echo 'ac_maketemp="$(MAKE)"'
41775 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41776 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41777 if test -n "$ac_maketemp"; then
41778 eval ac_cv_prog_make_
${ac_make}_set
=yes
41780 eval ac_cv_prog_make_
${ac_make}_set
=no
41782 rm -f conftest.
make
41784 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41785 echo "$as_me:$LINENO: result: yes" >&5
41786 echo "${ECHO_T}yes" >&6
41789 echo "$as_me:$LINENO: result: no" >&5
41790 echo "${ECHO_T}no" >&6
41791 SET_MAKE
="MAKE=${MAKE-make}"
41796 if test -n "$ac_tool_prefix"; then
41797 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
41798 set dummy
${ac_tool_prefix}ar; ac_word
=$2
41799 echo "$as_me:$LINENO: checking for $ac_word" >&5
41800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41801 if test "${ac_cv_prog_AR+set}" = set; then
41802 echo $ECHO_N "(cached) $ECHO_C" >&6
41804 if test -n "$AR"; then
41805 ac_cv_prog_AR
="$AR" # Let the user override the test.
41807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41808 for as_dir
in $PATH
41811 test -z "$as_dir" && as_dir
=.
41812 for ac_exec_ext
in '' $ac_executable_extensions; do
41813 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41814 ac_cv_prog_AR
="${ac_tool_prefix}ar"
41815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41824 if test -n "$AR"; then
41825 echo "$as_me:$LINENO: result: $AR" >&5
41826 echo "${ECHO_T}$AR" >&6
41828 echo "$as_me:$LINENO: result: no" >&5
41829 echo "${ECHO_T}no" >&6
41833 if test -z "$ac_cv_prog_AR"; then
41835 # Extract the first word of "ar", so it can be a program name with args.
41836 set dummy
ar; ac_word
=$2
41837 echo "$as_me:$LINENO: checking for $ac_word" >&5
41838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41839 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
41840 echo $ECHO_N "(cached) $ECHO_C" >&6
41842 if test -n "$ac_ct_AR"; then
41843 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
41845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41846 for as_dir
in $PATH
41849 test -z "$as_dir" && as_dir
=.
41850 for ac_exec_ext
in '' $ac_executable_extensions; do
41851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41852 ac_cv_prog_ac_ct_AR
="ar"
41853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41859 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
41862 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
41863 if test -n "$ac_ct_AR"; then
41864 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
41865 echo "${ECHO_T}$ac_ct_AR" >&6
41867 echo "$as_me:$LINENO: result: no" >&5
41868 echo "${ECHO_T}no" >&6
41873 AR
="$ac_cv_prog_AR"
41876 if test -n "$ac_tool_prefix"; then
41877 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
41878 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
41879 echo "$as_me:$LINENO: checking for $ac_word" >&5
41880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41881 if test "${ac_cv_prog_STRIP+set}" = set; then
41882 echo $ECHO_N "(cached) $ECHO_C" >&6
41884 if test -n "$STRIP"; then
41885 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
41887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41888 for as_dir
in $PATH
41891 test -z "$as_dir" && as_dir
=.
41892 for ac_exec_ext
in '' $ac_executable_extensions; do
41893 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41894 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
41895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41903 STRIP
=$ac_cv_prog_STRIP
41904 if test -n "$STRIP"; then
41905 echo "$as_me:$LINENO: result: $STRIP" >&5
41906 echo "${ECHO_T}$STRIP" >&6
41908 echo "$as_me:$LINENO: result: no" >&5
41909 echo "${ECHO_T}no" >&6
41913 if test -z "$ac_cv_prog_STRIP"; then
41915 # Extract the first word of "strip", so it can be a program name with args.
41916 set dummy strip
; ac_word
=$2
41917 echo "$as_me:$LINENO: checking for $ac_word" >&5
41918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41919 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
41920 echo $ECHO_N "(cached) $ECHO_C" >&6
41922 if test -n "$ac_ct_STRIP"; then
41923 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
41925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41926 for as_dir
in $PATH
41929 test -z "$as_dir" && as_dir
=.
41930 for ac_exec_ext
in '' $ac_executable_extensions; do
41931 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41932 ac_cv_prog_ac_ct_STRIP
="strip"
41933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41939 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
41942 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
41943 if test -n "$ac_ct_STRIP"; then
41944 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
41945 echo "${ECHO_T}$ac_ct_STRIP" >&6
41947 echo "$as_me:$LINENO: result: no" >&5
41948 echo "${ECHO_T}no" >&6
41953 STRIP
="$ac_cv_prog_STRIP"
41956 if test -n "$ac_tool_prefix"; then
41957 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
41958 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
41959 echo "$as_me:$LINENO: checking for $ac_word" >&5
41960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41961 if test "${ac_cv_prog_NM+set}" = set; then
41962 echo $ECHO_N "(cached) $ECHO_C" >&6
41964 if test -n "$NM"; then
41965 ac_cv_prog_NM
="$NM" # Let the user override the test.
41967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41968 for as_dir
in $PATH
41971 test -z "$as_dir" && as_dir
=.
41972 for ac_exec_ext
in '' $ac_executable_extensions; do
41973 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41974 ac_cv_prog_NM
="${ac_tool_prefix}nm"
41975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41984 if test -n "$NM"; then
41985 echo "$as_me:$LINENO: result: $NM" >&5
41986 echo "${ECHO_T}$NM" >&6
41988 echo "$as_me:$LINENO: result: no" >&5
41989 echo "${ECHO_T}no" >&6
41993 if test -z "$ac_cv_prog_NM"; then
41995 # Extract the first word of "nm", so it can be a program name with args.
41996 set dummy nm
; ac_word
=$2
41997 echo "$as_me:$LINENO: checking for $ac_word" >&5
41998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41999 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
42000 echo $ECHO_N "(cached) $ECHO_C" >&6
42002 if test -n "$ac_ct_NM"; then
42003 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
42005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42006 for as_dir
in $PATH
42009 test -z "$as_dir" && as_dir
=.
42010 for ac_exec_ext
in '' $ac_executable_extensions; do
42011 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42012 ac_cv_prog_ac_ct_NM
="nm"
42013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42019 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
42022 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
42023 if test -n "$ac_ct_NM"; then
42024 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
42025 echo "${ECHO_T}$ac_ct_NM" >&6
42027 echo "$as_me:$LINENO: result: no" >&5
42028 echo "${ECHO_T}no" >&6
42033 NM
="$ac_cv_prog_NM"
42037 case ${BAKEFILE_HOST} in
42039 INSTALL_DIR
="mkdir -p"
42041 *) INSTALL_DIR
="$INSTALL -d"
42047 case ${BAKEFILE_HOST} in
42048 *-*-cygwin* | *-*-mingw32* )
42049 LDFLAGS_GUI
="-mwindows"
42055 echo "$as_me:$LINENO: checking if make is GNU make" >&5
42056 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
42057 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
42058 echo $ECHO_N "(cached) $ECHO_C" >&6
42061 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
42062 egrep -s GNU
> /dev
/null
); then
42063 bakefile_cv_prog_makeisgnu
="yes"
42065 bakefile_cv_prog_makeisgnu
="no"
42069 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
42070 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
42072 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
42089 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
42090 case "${BAKEFILE_HOST}" in
42091 *-*-cygwin* | *-*-mingw32* )
42097 *-pc-os2_emx | *-pc-os2-emx )
42100 powerpc
-*-darwin* )
42107 powerpc
-apple-macos* )
42116 case "$BAKEFILE_FORCE_PLATFORM" in
42137 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
42138 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
42139 { (exit 1); exit 1; }; }
42154 # Check whether --enable-omf or --disable-omf was given.
42155 if test "${enable_omf+set}" = set; then
42156 enableval
="$enable_omf"
42157 bk_os2_use_omf
="$enableval"
42160 case "${BAKEFILE_HOST}" in
42162 CFLAGS
="$CFLAGS -fno-common"
42163 CXXFLAGS
="$CXXFLAGS -fno-common"
42166 *-pc-os2_emx | *-pc-os2-emx )
42167 if test "x$bk_os2_use_omf" = "xyes" ; then
42170 LDFLAGS
="-Zomf $LDFLAGS"
42171 CFLAGS
="-Zomf $CFLAGS"
42172 CXXFLAGS
="-Zomf $CXXFLAGS"
42180 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
42186 SO_SUFFIX_MODULE
="so"
42191 DLLPREFIX_MODULE
=""
42194 case "${BAKEFILE_HOST}" in
42197 SO_SUFFIX_MODULE
="sl"
42201 SO_SUFFIX_MODULE
="a"
42203 *-*-cygwin* | *-*-mingw32* )
42205 SO_SUFFIX_MODULE
="dll"
42206 DLLIMP_SUFFIX
="dll.a"
42214 *-pc-os2_emx | *-pc-os2-emx )
42216 SO_SUFFIX_MODULE
="dll"
42217 DLLIMP_SUFFIX
=$OS2_LIBEXT
42221 LIBEXT
=".$OS2_LIBEXT"
42223 powerpc
-*-darwin* )
42225 SO_SUFFIX_MODULE
="bundle"
42229 if test "x$DLLIMP_SUFFIX" = "x" ; then
42230 DLLIMP_SUFFIX
="$SO_SUFFIX"
42244 if test "x$GCC" = "xyes"; then
42248 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
42249 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
42251 case "${BAKEFILE_HOST}" in
42253 if test "x$GCC" != "xyes"; then
42254 LDFLAGS
="$LDFLAGS -L/usr/lib"
42256 SHARED_LD_CC
="${CC} -b -o"
42257 SHARED_LD_CXX
="${CXX} -b -o"
42263 if test "x$GCC" != "xyes"; then
42264 echo "$as_me:$LINENO: checking for Intel compiler" >&5
42265 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
42266 if test "${bakefile_cv_prog_icc+set}" = set; then
42267 echo $ECHO_N "(cached) $ECHO_C" >&6
42270 cat >conftest.
$ac_ext <<_ACEOF
42273 cat confdefs.h
>>conftest.
$ac_ext
42274 cat >>conftest.
$ac_ext <<_ACEOF
42275 /* end confdefs.h. */
42281 #ifndef __INTEL_COMPILER
42289 rm -f conftest.
$ac_objext
42290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42291 (eval $ac_compile) 2>conftest.er1
42293 grep -v '^ *+' conftest.er1
>conftest.err
42295 cat conftest.err
>&5
42296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42297 (exit $ac_status); } &&
42298 { ac_try
='test -z "$ac_c_werror_flag"
42299 || test ! -s conftest.err'
42300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42301 (eval $ac_try) 2>&5
42303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42304 (exit $ac_status); }; } &&
42305 { ac_try
='test -s conftest.$ac_objext'
42306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42307 (eval $ac_try) 2>&5
42309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42310 (exit $ac_status); }; }; then
42311 bakefile_cv_prog_icc
=yes
42313 echo "$as_me: failed program was:" >&5
42314 sed 's/^/| /' conftest.
$ac_ext >&5
42316 bakefile_cv_prog_icc
=no
42319 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42322 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
42323 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
42324 if test "$bakefile_cv_prog_icc" = "yes"; then
42331 if test "x$GCC" != xyes
; then
42332 SHARED_LD_CC
="${CC} -G -o"
42333 SHARED_LD_CXX
="${CXX} -G -o"
42340 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
42341 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
42342 if test "${wx_cv_gcc31+set}" = set; then
42343 echo $ECHO_N "(cached) $ECHO_C" >&6
42346 cat >conftest.
$ac_ext <<_ACEOF
42349 cat confdefs.h
>>conftest.
$ac_ext
42350 cat >>conftest.
$ac_ext <<_ACEOF
42351 /* end confdefs.h. */
42357 #if (__GNUC__ < 3) || \
42358 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
42366 rm -f conftest.
$ac_objext
42367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42368 (eval $ac_compile) 2>conftest.er1
42370 grep -v '^ *+' conftest.er1
>conftest.err
42372 cat conftest.err
>&5
42373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42374 (exit $ac_status); } &&
42375 { ac_try
='test -z "$ac_c_werror_flag"
42376 || test ! -s conftest.err'
42377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42378 (eval $ac_try) 2>&5
42380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42381 (exit $ac_status); }; } &&
42382 { ac_try
='test -s conftest.$ac_objext'
42383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42384 (eval $ac_try) 2>&5
42386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42387 (exit $ac_status); }; }; then
42392 echo "$as_me: failed program was:" >&5
42393 sed 's/^/| /' conftest.
$ac_ext >&5
42400 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42403 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
42404 echo "${ECHO_T}$wx_cv_gcc31" >&6
42405 if test "$wx_cv_gcc31" = "no"; then
42408 cat <<EOF >shared-ld-sh
42410 #-----------------------------------------------------------------------------
42411 #-- Name: distrib/mac/shared-ld-sh
42412 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
42413 #-- Author: Gilles Depeyrot
42414 #-- Copyright: (c) 2002 Gilles Depeyrot
42415 #-- Licence: any use permitted
42416 #-----------------------------------------------------------------------------
42421 linking_flag="-dynamiclib"
42423 while test ${D}# -gt 0; do
42430 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
42431 # collect these options and values
42432 args="${D}{args} ${D}1 ${D}2"
42436 -l*|-L*|-Wl,*|-flat_namespace|-headerpad_max_install_names)
42437 # collect these options
42438 args="${D}{args} ${D}1"
42441 -dynamiclib|-bundle)
42442 linking_flag="${D}1"
42446 echo "shared-ld: unhandled option '${D}1'"
42450 *.o | *.a | *.dylib)
42451 # collect object files
42452 objects="${D}{objects} ${D}1"
42456 echo "shared-ld: unhandled argument '${D}1'"
42465 # Link one module containing all the others
42467 if test ${D}{verbose} = 1; then
42468 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
42470 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
42472 if test ${D}{status} != 0; then
42477 # Link the shared library from the single module created
42479 if test ${D}{verbose} = 1; then
42480 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
42482 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
42484 if test ${D}{status} != 0; then
42489 # Remove intermediate module
42491 rm -f master.${D}${D}.o
42496 chmod +x shared
-ld-sh
42498 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
42499 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
42500 SHARED_LD_CXX
="$SHARED_LD_CC"
42501 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
42503 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
42504 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
42505 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
42506 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
42509 PIC_FLAG
="-dynamic -fPIC"
42513 if test "x$GCC" != "xyes"; then
42514 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
42515 set dummy makeC
++SharedLib
; ac_word
=$2
42516 echo "$as_me:$LINENO: checking for $ac_word" >&5
42517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42518 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
42519 echo $ECHO_N "(cached) $ECHO_C" >&6
42521 if test -n "$AIX_CXX_LD"; then
42522 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
42524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42525 for as_dir
in $PATH
42528 test -z "$as_dir" && as_dir
=.
42529 for ac_exec_ext
in '' $ac_executable_extensions; do
42530 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42531 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
42532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42538 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
42541 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
42542 if test -n "$AIX_CXX_LD"; then
42543 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
42544 echo "${ECHO_T}$AIX_CXX_LD" >&6
42546 echo "$as_me:$LINENO: result: no" >&5
42547 echo "${ECHO_T}no" >&6
42550 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
42551 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
42556 SHARED_LD_CC
="${LD} -nostart -o"
42557 SHARED_LD_CXX
="${LD} -nostart -o"
42561 if test "x$GCC" != "xyes"; then
42566 *-*-cygwin* | *-*-mingw32* )
42568 SHARED_LD_CC
="\$(CC) -shared -o"
42569 SHARED_LD_CXX
="\$(CXX) -shared -o"
42572 *-pc-os2_emx | *-pc-os2-emx )
42573 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42574 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42578 cat <<EOF >dllar.sh
42581 # dllar - a tool to build both a .dll and an .a file
42582 # from a set of object (.o) files for EMX/OS2.
42584 # Written by Andrew Zabolotny, bit@freya.etu.ru
42585 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
42587 # This script will accept a set of files on the command line.
42588 # All the public symbols from the .o files will be exported into
42589 # a .DEF file, then linker will be run (through gcc) against them to
42590 # build a shared library consisting of all given .o files. All libraries
42591 # (.a) will be first decompressed into component .o files then act as
42592 # described above. You can optionally give a description (-d "description")
42593 # which will be put into .DLL. To see the list of accepted options (as well
42594 # as command-line format) simply run this program without options. The .DLL
42595 # is built to be imported by name (there is no guarantee that new versions
42596 # of the library you build will have same ordinals for same symbols).
42598 # dllar is free software; you can redistribute it and/or modify
42599 # it under the terms of the GNU General Public License as published by
42600 # the Free Software Foundation; either version 2, or (at your option)
42601 # any later version.
42603 # dllar is distributed in the hope that it will be useful,
42604 # but WITHOUT ANY WARRANTY; without even the implied warranty of
42605 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
42606 # GNU General Public License for more details.
42608 # You should have received a copy of the GNU General Public License
42609 # along with dllar; see the file COPYING. If not, write to the Free
42610 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
42613 # To successfuly run this program you will need:
42614 # - Current drive should have LFN support (HPFS, ext2, network, etc)
42615 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
42617 # (used to build the .dll)
42619 # (used to create .def file from .o files)
42621 # (used to create .a file from .def file)
42622 # - GNU text utilites (cat, sort, uniq)
42623 # used to process emxexp output
42624 # - GNU file utilities (mv, rm)
42626 # - lxlite (optional, see flag below)
42627 # (used for general .dll cleanup)
42634 # basnam, variant of basename, which does _not_ remove the path, _iff_
42635 # second argument (suffix to remove) is given
42639 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
42642 echo ${D}1 | sed 's/'${D}2'${D}//'
42645 echo "error in basnam ${D}*"
42651 # Cleanup temporary files and output
42654 for i in ${D}inputFiles ; do
42657 rm -rf \`basnam ${D}i !\`
42664 # Kill result in case of failure as there is just to many stupid make/nmake
42665 # things out there which doesn't do this.
42666 if [ ${D}# -eq 0 ]; then
42667 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
42671 # Print usage and exit script with rc=1.
42673 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
42674 echo ' [-name-mangler-script script.sh]'
42675 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
42676 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
42677 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
42678 echo ' [*.o] [*.a]'
42679 echo '*> "output_file" should have no extension.'
42680 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
42681 echo ' The import library name is derived from this and is set to "name".a,'
42682 echo ' unless overridden by -import'
42683 echo '*> "importlib_name" should have no extension.'
42684 echo ' If it has the .o, or .a extension, it is automatically removed.'
42685 echo ' This name is used as the import library name and may be longer and'
42686 echo ' more descriptive than the DLL name which has to follow the old '
42687 echo ' 8.3 convention of FAT.'
42688 echo '*> "script.sh may be given to override the output_file name by a'
42689 echo ' different name. It is mainly useful if the regular make process'
42690 echo ' of some package does not take into account OS/2 restriction of'
42691 echo ' DLL name lengths. It takes the importlib name as input and is'
42692 echo ' supposed to procude a shorter name as output. The script should'
42693 echo ' expect to get importlib_name without extension and should produce'
42694 echo ' a (max.) 8 letter name without extension.'
42695 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
42696 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
42697 echo ' These flags will be put at the start of GCC command line.'
42698 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
42699 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
42700 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
42701 echo ' If the last character of a symbol is "*", all symbols beginning'
42702 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
42703 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
42704 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
42705 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
42706 echo ' C runtime DLLs.'
42707 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
42708 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
42709 echo ' unchanged to GCC at the end of command line.'
42710 echo '*> If you create a DLL from a library and you do not specify -o,'
42711 echo ' the basename for DLL and import library will be set to library name,'
42712 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
42713 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
42714 echo ' library will be renamed into gcc_s.a.'
42717 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
42718 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
42723 # Execute a command.
42724 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
42725 # @Uses Whatever CleanUp() uses.
42731 if [ ${D}rcCmd -ne 0 ]; then
42732 echo "command failed, exit code="${D}rcCmd
42747 CFLAGS="-s -Zcrtdll"
42749 EXPORT_BY_ORDINALS=0
42754 case ${D}curDirS in
42758 curDirS=${D}{curDirS}"/"
42761 # Parse commandline
42764 while [ ${D}1 ]; do
42767 EXPORT_BY_ORDINALS=1;
42777 -name-mangler-script)
42798 exclude_symbols=${D}{exclude_symbols}${D}1" "
42802 library_flags=${D}{library_flags}${D}1" "
42821 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
42824 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
42825 if [ ${D}omfLinking -eq 1 ]; then
42826 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
42828 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
42833 if [ ${D}libsToLink -ne 0 ]; then
42834 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
42836 for file in ${D}1 ; do
42837 if [ -f ${D}file ]; then
42838 inputFiles="${D}{inputFiles} ${D}file"
42842 if [ ${D}found -eq 0 ]; then
42843 echo "ERROR: No file(s) found: "${D}1
42850 done # iterate cmdline words
42853 if [ -z "${D}inputFiles" ]; then
42854 echo "dllar: no input files"
42858 # Now extract all .o files from .a files
42860 for file in ${D}inputFiles ; do
42871 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
42876 dirname=\`basnam ${D}file ${D}suffix\`"_%"
42878 if [ ${D}? -ne 0 ]; then
42879 echo "Failed to create subdirectory ./${D}dirname"
42883 # Append '!' to indicate archive
42884 newInputFiles="${D}newInputFiles ${D}{dirname}!"
42885 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
42888 for subfile in ${D}dirname/*.o* ; do
42889 if [ -f ${D}subfile ]; then
42891 if [ -s ${D}subfile ]; then
42892 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
42893 newInputFiles="${D}newInputFiles ${D}subfile"
42897 if [ ${D}found -eq 0 ]; then
42898 echo "WARNING: there are no files in archive \\'${D}file\\'"
42902 newInputFiles="${D}{newInputFiles} ${D}file"
42906 inputFiles="${D}newInputFiles"
42908 # Output filename(s).
42910 if [ -z ${D}outFile ]; then
42912 set outFile ${D}inputFiles; outFile=${D}2
42915 # If it is an archive, remove the '!' and the '_%' suffixes
42916 case ${D}outFile in
42918 outFile=\`basnam ${D}outFile _%!\`
42923 case ${D}outFile in
42925 outFile=\`basnam ${D}outFile .dll\`
42928 outFile=\`basnam ${D}outFile .DLL\`
42931 outFile=\`basnam ${D}outFile .o\`
42934 outFile=\`basnam ${D}outFile .obj\`
42937 outFile=\`basnam ${D}outFile .a\`
42940 outFile=\`basnam ${D}outFile .lib\`
42945 case ${D}outimpFile in
42947 outimpFile=\`basnam ${D}outimpFile .a\`
42950 outimpFile=\`basnam ${D}outimpFile .lib\`
42955 if [ -z ${D}outimpFile ]; then
42956 outimpFile=${D}outFile
42958 defFile="${D}{outFile}.def"
42959 arcFile="${D}{outimpFile}.a"
42960 arcFile2="${D}{outimpFile}.lib"
42962 #create ${D}dllFile as something matching 8.3 restrictions,
42963 if [ -z ${D}renameScript ] ; then
42964 dllFile="${D}outFile"
42966 dllFile=\`${D}renameScript ${D}outimpFile\`
42969 if [ ${D}do_backup -ne 0 ] ; then
42970 if [ -f ${D}arcFile ] ; then
42971 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
42973 if [ -f ${D}arcFile2 ] ; then
42974 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
42978 # Extract public symbols from all the object files.
42979 tmpdefFile=${D}{defFile}_%
42980 rm -f ${D}tmpdefFile
42981 for file in ${D}inputFiles ; do
42986 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
42991 # Create the def file.
42993 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
42994 dllFile="${D}{dllFile}.dll"
42995 if [ ! -z ${D}description ]; then
42996 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
42998 echo "EXPORTS" >> ${D}defFile
43000 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
43001 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
43003 # Checks if the export is ok or not.
43004 for word in ${D}exclude_symbols; do
43005 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
43006 mv ${D}{tmpdefFile}% ${D}tmpdefFile
43010 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
43011 sed "=" < ${D}tmpdefFile | \\
43015 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
43017 ' > ${D}{tmpdefFile}%
43018 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
43020 rm -f ${D}{tmpdefFile}%
43022 cat ${D}tmpdefFile >> ${D}defFile
43023 rm -f ${D}tmpdefFile
43025 # Do linking, create implib, and apply lxlite.
43027 for file in ${D}inputFiles ; do
43032 gccCmdl="${D}gccCmdl ${D}file"
43036 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
43037 touch "${D}{outFile}.dll"
43039 doCommand "emximp -o ${D}arcFile ${D}defFile"
43040 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
43042 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
43045 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
43047 doCommand "emxomf -s -l ${D}arcFile"
43057 powerpc
-apple-macos* | \
43058 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
43067 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
43068 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
43069 { (exit 1); exit 1; }; }
43072 if test "x$PIC_FLAG" != "x" ; then
43073 PIC_FLAG
="$PIC_FLAG -DPIC"
43076 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
43077 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
43079 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
43080 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
43097 case "${BAKEFILE_HOST}" in
43098 *-*-linux* | *-*-freebsd* )
43099 SONAME_FLAG
="-Wl,-soname,"
43127 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
43128 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
43131 if test "x$GCC" = "xyes"; then
43134 case "${BAKEFILE_HOST}" in
43135 powerpc
-*-darwin* )
43136 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
43139 DEPSFLAG_GCC
="-MMD"
43142 echo "$as_me:$LINENO: result: gcc" >&5
43143 echo "${ECHO_T}gcc" >&6
43144 elif test "x$MWCC" = "xyes"; then
43147 DEPSFLAG_MWCC
="-MM"
43148 echo "$as_me:$LINENO: result: mwcc" >&5
43149 echo "${ECHO_T}mwcc" >&6
43150 elif test "x$SUNCC" = "xyes"; then
43153 DEPSFLAG_SUNCC
="-xM1"
43154 echo "$as_me:$LINENO: result: suncc" >&5
43155 echo "${ECHO_T}suncc" >&6
43157 echo "$as_me:$LINENO: result: none" >&5
43158 echo "${ECHO_T}none" >&6
43161 if test $DEPS_TRACKING = 1 ; then
43167 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
43168 # script. It is used to track C/C++ files dependencies in portable way.
43170 # Permission is given to use this file in any way.
43172 DEPSMODE=${DEPSMODE}
43174 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
43175 DEPSFLAG_MWCC="${DEPSFLAG_MWCC}"
43176 DEPSFLAG_SUNCC="${DEPSFLAG_SUNCC}"
43178 mkdir -p ${D}DEPSDIR
43180 if test ${D}DEPSMODE = gcc ; then
43181 ${D}* ${D}{DEPSFLAG_GCC}
43183 if test ${D}{status} != 0 ; then
43186 # move created file to the location we want it in:
43187 while test ${D}# -gt 0; do
43201 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
43202 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
43203 if test -f ${D}depfile ; then
43204 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
43207 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
43208 if test -f ${D}depfile ; then
43209 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
43214 elif test ${D}DEPSMODE = mwcc ; then
43217 if test ${D}{status} != 0 ; then
43220 # Run mwcc again with -MM and redirect into the dep file we want
43221 # NOTE: We can't use shift here because we need ${D}* to be valid
43223 for arg in ${D}* ; do
43224 if test "${D}prevarg" = "-o"; then
43237 ${D}* ${D}DEPSFLAG_MWCC >${D}{DEPSDIR}/${D}{objfile}.d
43239 elif test ${D}DEPSMODE = suncc; then
43241 # Run compiler again with deps flag and redirect into the dep file.
43242 # It doesn't work if the '-o FILE' option is used, but without it the
43243 # dependency file will contain the wrong name for the object. So it is
43244 # removed from the command line, and the dep file is fixed with sed.
43246 while test ${D}# -gt 0; do
43253 eval arg${D}#=\\${D}1
43254 cmd="${D}cmd \\${D}arg${D}#"
43259 eval "${D}cmd ${D}DEPSFLAG_SUNCC" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
43276 case ${BAKEFILE_HOST} in
43277 *-*-cygwin* | *-*-mingw32* )
43278 if test "$build" != "$host" ; then
43279 RESCOMP
=$host_alias-windres
43281 # Extract the first word of "windres", so it can be a program name with args.
43282 set dummy windres
; ac_word
=$2
43283 echo "$as_me:$LINENO: checking for $ac_word" >&5
43284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43285 if test "${ac_cv_prog_RESCOMP+set}" = set; then
43286 echo $ECHO_N "(cached) $ECHO_C" >&6
43288 if test -n "$RESCOMP"; then
43289 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
43291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43292 for as_dir
in $PATH
43295 test -z "$as_dir" && as_dir
=.
43296 for ac_exec_ext
in '' $ac_executable_extensions; do
43297 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43298 ac_cv_prog_RESCOMP
="windres"
43299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43305 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
43308 RESCOMP
=$ac_cv_prog_RESCOMP
43309 if test -n "$RESCOMP"; then
43310 echo "$as_me:$LINENO: result: $RESCOMP" >&5
43311 echo "${ECHO_T}$RESCOMP" >&6
43313 echo "$as_me:$LINENO: result: no" >&5
43314 echo "${ECHO_T}no" >&6
43320 *-*-darwin* | powerpc
-apple-macos* )
43321 # Extract the first word of "Rez", so it can be a program name with args.
43322 set dummy Rez
; ac_word
=$2
43323 echo "$as_me:$LINENO: checking for $ac_word" >&5
43324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43325 if test "${ac_cv_prog_RESCOMP+set}" = set; then
43326 echo $ECHO_N "(cached) $ECHO_C" >&6
43328 if test -n "$RESCOMP"; then
43329 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
43331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43332 for as_dir
in $PATH
43335 test -z "$as_dir" && as_dir
=.
43336 for ac_exec_ext
in '' $ac_executable_extensions; do
43337 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43338 ac_cv_prog_RESCOMP
="Rez"
43339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43345 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
43348 RESCOMP
=$ac_cv_prog_RESCOMP
43349 if test -n "$RESCOMP"; then
43350 echo "$as_me:$LINENO: result: $RESCOMP" >&5
43351 echo "${ECHO_T}$RESCOMP" >&6
43353 echo "$as_me:$LINENO: result: no" >&5
43354 echo "${ECHO_T}no" >&6
43357 # Extract the first word of "SetFile", so it can be a program name with args.
43358 set dummy SetFile
; ac_word
=$2
43359 echo "$as_me:$LINENO: checking for $ac_word" >&5
43360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43361 if test "${ac_cv_prog_SETFILE+set}" = set; then
43362 echo $ECHO_N "(cached) $ECHO_C" >&6
43364 if test -n "$SETFILE"; then
43365 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
43367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43368 for as_dir
in $PATH
43371 test -z "$as_dir" && as_dir
=.
43372 for ac_exec_ext
in '' $ac_executable_extensions; do
43373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43374 ac_cv_prog_SETFILE
="SetFile"
43375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43381 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
43384 SETFILE
=$ac_cv_prog_SETFILE
43385 if test -n "$SETFILE"; then
43386 echo "$as_me:$LINENO: result: $SETFILE" >&5
43387 echo "${ECHO_T}$SETFILE" >&6
43389 echo "$as_me:$LINENO: result: no" >&5
43390 echo "${ECHO_T}no" >&6
43400 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.8"
43403 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.8"
43407 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
43408 if test "${enable_precomp_headers+set}" = set; then
43409 enableval
="$enable_precomp_headers"
43410 bk_use_pch
="$enableval"
43415 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
43416 if test "x$GCC" = "xyes"; then
43417 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
43418 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
43419 cat >conftest.
$ac_ext <<_ACEOF
43422 cat confdefs.h
>>conftest.
$ac_ext
43423 cat >>conftest.
$ac_ext <<_ACEOF
43424 /* end confdefs.h. */
43430 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
43431 #error "no pch support"
43434 #error "no pch support"
43436 #if (__GNUC__ == 3) && \
43437 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
43438 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
43439 #error "no pch support"
43446 rm -f conftest.
$ac_objext
43447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43448 (eval $ac_compile) 2>conftest.er1
43450 grep -v '^ *+' conftest.er1
>conftest.err
43452 cat conftest.err
>&5
43453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43454 (exit $ac_status); } &&
43455 { ac_try
='test -z "$ac_c_werror_flag"
43456 || test ! -s conftest.err'
43457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43458 (eval $ac_try) 2>&5
43460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43461 (exit $ac_status); }; } &&
43462 { ac_try
='test -s conftest.$ac_objext'
43463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43464 (eval $ac_try) 2>&5
43466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43467 (exit $ac_status); }; }; then
43469 echo "$as_me:$LINENO: result: yes" >&5
43470 echo "${ECHO_T}yes" >&6
43474 echo "$as_me: failed program was:" >&5
43475 sed 's/^/| /' conftest.
$ac_ext >&5
43478 echo "$as_me:$LINENO: result: no" >&5
43479 echo "${ECHO_T}no" >&6
43482 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43483 if test $GCC_PCH = 1 ; then
43486 cat <<EOF >bk-make-pch
43489 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
43490 # script. It is used to generated precompiled headers.
43492 # Permission is given to use this file in any way.
43501 while test ${D}{#} -gt 0; do
43504 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
43505 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
43506 headerfile="${D}{incdir}/${D}{header}"
43510 compiler="${D}{compiler} ${D}{1}"
43514 if test "x${D}{headerfile}" = "x" ; then
43515 echo "error: can't find header ${D}{header} in include paths" >2
43517 if test -f ${D}{outfile} ; then
43518 rm -f ${D}{outfile}
43520 mkdir -p \`dirname ${D}{outfile}\`
43522 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
43524 # can do this because gcc is >= 3.4:
43525 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
43530 chmod +x bk
-make-pch
43537 COND_BUILD_DEBUG
="#"
43538 if test "x$BUILD" = "xdebug" ; then
43539 COND_BUILD_DEBUG
=""
43542 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
43543 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
43544 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
43547 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
43548 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
43549 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
43552 COND_BUILD_DEBUG_UNICODE_0
="#"
43553 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
43554 COND_BUILD_DEBUG_UNICODE_0
=""
43557 COND_BUILD_DEBUG_UNICODE_1
="#"
43558 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
43559 COND_BUILD_DEBUG_UNICODE_1
=""
43562 COND_BUILD_RELEASE
="#"
43563 if test "x$BUILD" = "xrelease" ; then
43564 COND_BUILD_RELEASE
=""
43567 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
43568 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
43569 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
43572 COND_BUILD_RELEASE_UNICODE_0
="#"
43573 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
43574 COND_BUILD_RELEASE_UNICODE_0
=""
43577 COND_BUILD_RELEASE_UNICODE_1
="#"
43578 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
43579 COND_BUILD_RELEASE_UNICODE_1
=""
43582 COND_DEBUG_FLAG_1
="#"
43583 if test "x$DEBUG_FLAG" = "x1" ; then
43584 COND_DEBUG_FLAG_1
=""
43587 COND_DEBUG_INFO_0
="#"
43588 if test "x$DEBUG_INFO" = "x0" ; then
43589 COND_DEBUG_INFO_0
=""
43592 COND_DEBUG_INFO_1
="#"
43593 if test "x$DEBUG_INFO" = "x1" ; then
43594 COND_DEBUG_INFO_1
=""
43597 COND_DEPS_TRACKING_0
="#"
43598 if test "x$DEPS_TRACKING" = "x0" ; then
43599 COND_DEPS_TRACKING_0
=""
43602 COND_DEPS_TRACKING_1
="#"
43603 if test "x$DEPS_TRACKING" = "x1" ; then
43604 COND_DEPS_TRACKING_1
=""
43608 if test "x$GCC_PCH" = "x1" ; then
43612 COND_MONOLITHIC_0
="#"
43613 if test "x$MONOLITHIC" = "x0" ; then
43614 COND_MONOLITHIC_0
=""
43617 COND_MONOLITHIC_0_SHARED_0
="#"
43618 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
43619 COND_MONOLITHIC_0_SHARED_0
=""
43622 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
43623 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
43624 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
43627 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
43628 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
43629 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
43632 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
43633 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
43634 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
43637 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
43638 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
43639 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
43642 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
43643 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
43644 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
43647 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
43648 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
43649 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
43652 COND_MONOLITHIC_0_SHARED_1
="#"
43653 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
43654 COND_MONOLITHIC_0_SHARED_1
=""
43657 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
43658 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
43659 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
43662 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
43663 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
43664 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
43667 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
43668 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
43669 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
43672 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
43673 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
43674 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
43677 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
43678 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
43679 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
43682 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
43683 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
43684 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
43687 COND_MONOLITHIC_0_USE_ODBC_1
="#"
43688 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
43689 COND_MONOLITHIC_0_USE_ODBC_1
=""
43692 COND_MONOLITHIC_1
="#"
43693 if test "x$MONOLITHIC" = "x1" ; then
43694 COND_MONOLITHIC_1
=""
43697 COND_MONOLITHIC_1_SHARED_0
="#"
43698 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
43699 COND_MONOLITHIC_1_SHARED_0
=""
43702 COND_MONOLITHIC_1_SHARED_1
="#"
43703 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
43704 COND_MONOLITHIC_1_SHARED_1
=""
43707 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
43708 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
43709 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
43712 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
43713 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
43714 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
43717 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
43718 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
43719 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
43722 COND_PLATFORM_MACOSX_1
="#"
43723 if test "x$PLATFORM_MACOSX" = "x1" ; then
43724 COND_PLATFORM_MACOSX_1
=""
43727 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
43728 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
43729 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
43732 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
43733 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
43734 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
43737 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
43738 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
43739 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
43742 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
43743 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
43744 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
43747 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
43748 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
43749 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
43752 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
43753 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43754 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
43757 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
43758 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
43759 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
43762 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
43763 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
43764 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
43767 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
43768 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
43769 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
43772 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
43773 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
43774 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
43777 COND_PLATFORM_MACOS_1
="#"
43778 if test "x$PLATFORM_MACOS" = "x1" ; then
43779 COND_PLATFORM_MACOS_1
=""
43782 COND_PLATFORM_MAC_1
="#"
43783 if test "x$PLATFORM_MAC" = "x1" ; then
43784 COND_PLATFORM_MAC_1
=""
43787 COND_PLATFORM_MSDOS_1
="#"
43788 if test "x$PLATFORM_MSDOS" = "x1" ; then
43789 COND_PLATFORM_MSDOS_1
=""
43792 COND_PLATFORM_OS2_1
="#"
43793 if test "x$PLATFORM_OS2" = "x1" ; then
43794 COND_PLATFORM_OS2_1
=""
43797 COND_PLATFORM_UNIX_0
="#"
43798 if test "x$PLATFORM_UNIX" = "x0" ; then
43799 COND_PLATFORM_UNIX_0
=""
43802 COND_PLATFORM_UNIX_1
="#"
43803 if test "x$PLATFORM_UNIX" = "x1" ; then
43804 COND_PLATFORM_UNIX_1
=""
43807 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
43808 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
43809 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
43812 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
43813 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
43814 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
43817 COND_PLATFORM_WIN32_0
="#"
43818 if test "x$PLATFORM_WIN32" = "x0" ; then
43819 COND_PLATFORM_WIN32_0
=""
43822 COND_PLATFORM_WIN32_1
="#"
43823 if test "x$PLATFORM_WIN32" = "x1" ; then
43824 COND_PLATFORM_WIN32_1
=""
43828 if test "x$SHARED" = "x0" ; then
43832 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
43833 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
43834 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
43837 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
43838 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
43839 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
43842 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
43843 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
43844 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
43847 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
43848 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
43849 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
43852 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
43853 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43854 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
43857 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
43858 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43859 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
43862 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
43863 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43864 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
43867 COND_SHARED_0_USE_XRC_1
="#"
43868 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
43869 COND_SHARED_0_USE_XRC_1
=""
43872 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
43873 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
43874 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
43877 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
43878 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
43879 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
43882 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
43883 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
43884 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
43887 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
43888 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
43889 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
43893 if test "x$SHARED" = "x1" ; then
43897 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
43898 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
43899 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
43902 COND_SHARED_1_USE_XRC_1
="#"
43903 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
43904 COND_SHARED_1_USE_XRC_1
=""
43908 if test "x$TOOLKIT" = "x" ; then
43912 COND_TOOLKIT_COCOA
="#"
43913 if test "x$TOOLKIT" = "xCOCOA" ; then
43914 COND_TOOLKIT_COCOA
=""
43917 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
43918 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
43919 COND_TOOLKIT_COCOA_USE_GUI_1
=""
43922 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
43923 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43924 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
43927 COND_TOOLKIT_GTK
="#"
43928 if test "x$TOOLKIT" = "xGTK" ; then
43929 COND_TOOLKIT_GTK
=""
43932 COND_TOOLKIT_GTK_USE_GUI_1
="#"
43933 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
43934 COND_TOOLKIT_GTK_USE_GUI_1
=""
43937 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
43938 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43939 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
43942 COND_TOOLKIT_MAC
="#"
43943 if test "x$TOOLKIT" = "xMAC" ; then
43944 COND_TOOLKIT_MAC
=""
43947 COND_TOOLKIT_MAC_USE_GUI_1
="#"
43948 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
43949 COND_TOOLKIT_MAC_USE_GUI_1
=""
43952 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
43953 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43954 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
43957 COND_TOOLKIT_MGL
="#"
43958 if test "x$TOOLKIT" = "xMGL" ; then
43959 COND_TOOLKIT_MGL
=""
43962 COND_TOOLKIT_MGL_USE_GUI_1
="#"
43963 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
43964 COND_TOOLKIT_MGL_USE_GUI_1
=""
43967 COND_TOOLKIT_MOTIF
="#"
43968 if test "x$TOOLKIT" = "xMOTIF" ; then
43969 COND_TOOLKIT_MOTIF
=""
43972 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
43973 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
43974 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
43977 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
43978 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43979 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
43982 COND_TOOLKIT_MSW
="#"
43983 if test "x$TOOLKIT" = "xMSW" ; then
43984 COND_TOOLKIT_MSW
=""
43987 COND_TOOLKIT_MSW_USE_GUI_1
="#"
43988 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
43989 COND_TOOLKIT_MSW_USE_GUI_1
=""
43992 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
43993 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43994 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
43997 COND_TOOLKIT_PM
="#"
43998 if test "x$TOOLKIT" = "xPM" ; then
44002 COND_TOOLKIT_PM_USE_GUI_1
="#"
44003 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
44004 COND_TOOLKIT_PM_USE_GUI_1
=""
44007 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
44008 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44009 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
44012 COND_TOOLKIT_WINCE
="#"
44013 if test "x$TOOLKIT" = "xWINCE" ; then
44014 COND_TOOLKIT_WINCE
=""
44017 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
44018 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
44019 COND_TOOLKIT_WINCE_USE_GUI_1
=""
44022 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
44023 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44024 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
44027 COND_TOOLKIT_X11
="#"
44028 if test "x$TOOLKIT" = "xX11" ; then
44029 COND_TOOLKIT_X11
=""
44032 COND_TOOLKIT_X11_USE_GUI_1
="#"
44033 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
44034 COND_TOOLKIT_X11_USE_GUI_1
=""
44038 if test "x$UNICODE" = "x1" ; then
44042 COND_USE_EXCEPTIONS_0
="#"
44043 if test "x$USE_EXCEPTIONS" = "x0" ; then
44044 COND_USE_EXCEPTIONS_0
=""
44047 COND_USE_EXCEPTIONS_1
="#"
44048 if test "x$USE_EXCEPTIONS" = "x1" ; then
44049 COND_USE_EXCEPTIONS_1
=""
44053 if test "x$USE_GUI" = "x0" ; then
44058 if test "x$USE_GUI" = "x1" ; then
44062 COND_USE_GUI_1_WXUNIV_0
="#"
44063 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44064 COND_USE_GUI_1_WXUNIV_0
=""
44067 COND_USE_GUI_1_WXUNIV_1
="#"
44068 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
44069 COND_USE_GUI_1_WXUNIV_1
=""
44072 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
44073 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
44074 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
44077 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
44078 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
44079 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
44082 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
44083 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
44084 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
44087 COND_USE_ODBC_1
="#"
44088 if test "x$USE_ODBC" = "x1" ; then
44092 COND_USE_OPENGL_1
="#"
44093 if test "x$USE_OPENGL" = "x1" ; then
44094 COND_USE_OPENGL_1
=""
44097 COND_USE_PLUGINS_0
="#"
44098 if test "x$USE_PLUGINS" = "x0" ; then
44099 COND_USE_PLUGINS_0
=""
44102 COND_USE_RTTI_0
="#"
44103 if test "x$USE_RTTI" = "x0" ; then
44107 COND_USE_RTTI_1
="#"
44108 if test "x$USE_RTTI" = "x1" ; then
44112 COND_USE_SOSYMLINKS_1
="#"
44113 if test "x$USE_SOSYMLINKS" = "x1" ; then
44114 COND_USE_SOSYMLINKS_1
=""
44117 COND_USE_SOVERLINUX_1
="#"
44118 if test "x$USE_SOVERLINUX" = "x1" ; then
44119 COND_USE_SOVERLINUX_1
=""
44122 COND_USE_SOVERSION_0
="#"
44123 if test "x$USE_SOVERSION" = "x0" ; then
44124 COND_USE_SOVERSION_0
=""
44127 COND_USE_SOVERSOLARIS_1
="#"
44128 if test "x$USE_SOVERSOLARIS" = "x1" ; then
44129 COND_USE_SOVERSOLARIS_1
=""
44132 COND_USE_THREADS_0
="#"
44133 if test "x$USE_THREADS" = "x0" ; then
44134 COND_USE_THREADS_0
=""
44137 COND_USE_THREADS_1
="#"
44138 if test "x$USE_THREADS" = "x1" ; then
44139 COND_USE_THREADS_1
=""
44143 if test "x$USE_XRC" = "x1" ; then
44147 COND_WITH_PLUGIN_SDL_1
="#"
44148 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
44149 COND_WITH_PLUGIN_SDL_1
=""
44153 if test "x$WXUNIV" = "x0" ; then
44158 if test "x$WXUNIV" = "x1" ; then
44162 COND_WXUSE_EXPAT_BUILTIN
="#"
44163 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
44164 COND_WXUSE_EXPAT_BUILTIN
=""
44167 COND_WXUSE_LIBJPEG_BUILTIN
="#"
44168 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
44169 COND_WXUSE_LIBJPEG_BUILTIN
=""
44172 COND_WXUSE_LIBPNG_BUILTIN
="#"
44173 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
44174 COND_WXUSE_LIBPNG_BUILTIN
=""
44177 COND_WXUSE_LIBTIFF_BUILTIN
="#"
44178 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
44179 COND_WXUSE_LIBTIFF_BUILTIN
=""
44182 COND_WXUSE_ODBC_BUILTIN
="#"
44183 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
44184 COND_WXUSE_ODBC_BUILTIN
=""
44187 COND_WXUSE_REGEX_BUILTIN
="#"
44188 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
44189 COND_WXUSE_REGEX_BUILTIN
=""
44192 COND_WXUSE_ZLIB_BUILTIN
="#"
44193 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
44194 COND_WXUSE_ZLIB_BUILTIN
=""
44199 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
44200 { { 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
44201 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;}
44202 { (exit 1); exit 1; }; }
44206 if test "$wxUSE_WINE" = "yes"; then
44210 if test "$wxUSE_SHARED" = "yes"; then
44212 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
44213 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
44216 *-pc-os2_emx | *-pc-os2-emx )
44217 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
44218 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
44219 cp -p ${srcdir}/src
/os
2/dllnames.sh .
44220 cp -p ${srcdir}/src
/os
2/dllar.sh .
44225 EXE_LINKER
="$CXX -o"
44228 if test "$wxUSE_OMF" = "yes"; then
44230 *-pc-os2_emx | *-pc-os2-emx )
44231 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
44232 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
44233 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
44238 GCC_PRAGMA_FLAGS
=""
44240 if test $GCC_PCH = 1 ; then
44241 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
44242 PCH_FLAGS
="-DWX_PRECOMP"
44245 powerpc
-*-darwin* )
44246 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
44249 if test "$wxUSE_STL" = "yes" -o \
44250 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
44251 "$wxUSE_NO_RTTI" != "yes"; then
44252 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
44253 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
44254 cat >conftest.
$ac_ext <<_ACEOF
44257 cat confdefs.h
>>conftest.
$ac_ext
44258 cat >>conftest.
$ac_ext <<_ACEOF
44259 /* end confdefs.h. */
44264 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
44265 #error "Not GCC 3.2 or greater"
44272 rm -f conftest.
$ac_objext
44273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44274 (eval $ac_compile) 2>conftest.er1
44276 grep -v '^ *+' conftest.er1
>conftest.err
44278 cat conftest.err
>&5
44279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44280 (exit $ac_status); } &&
44281 { ac_try
='test -z "$ac_c_werror_flag"
44282 || test ! -s conftest.err'
44283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44284 (eval $ac_try) 2>&5
44286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44287 (exit $ac_status); }; } &&
44288 { ac_try
='test -s conftest.$ac_objext'
44289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44290 (eval $ac_try) 2>&5
44292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44293 (exit $ac_status); }; }; then
44294 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
44295 echo "$as_me:$LINENO: result: yes" >&5
44296 echo "${ECHO_T}yes" >&6
44298 echo "$as_me: failed program was:" >&5
44299 sed 's/^/| /' conftest.
$ac_ext >&5
44301 echo "$as_me:$LINENO: result: no" >&5
44302 echo "${ECHO_T}no" >&6
44304 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44307 *-pc-os2_emx | *-pc-os2-emx )
44308 if test "$wxUSE_STL" = "yes"; then
44309 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
44310 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
44311 cat >conftest.
$ac_ext <<_ACEOF
44314 cat confdefs.h
>>conftest.
$ac_ext
44315 cat >>conftest.
$ac_ext <<_ACEOF
44316 /* end confdefs.h. */
44321 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
44322 #error "Not GCC 3.2 or greater"
44329 rm -f conftest.
$ac_objext
44330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44331 (eval $ac_compile) 2>conftest.er1
44333 grep -v '^ *+' conftest.er1
>conftest.err
44335 cat conftest.err
>&5
44336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44337 (exit $ac_status); } &&
44338 { ac_try
='test -z "$ac_c_werror_flag"
44339 || test ! -s conftest.err'
44340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44341 (eval $ac_try) 2>&5
44343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44344 (exit $ac_status); }; } &&
44345 { ac_try
='test -s conftest.$ac_objext'
44346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44347 (eval $ac_try) 2>&5
44349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44350 (exit $ac_status); }; }; then
44351 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
44352 echo "$as_me:$LINENO: result: yes" >&5
44353 echo "${ECHO_T}yes" >&6
44355 echo "$as_me: failed program was:" >&5
44356 sed 's/^/| /' conftest.
$ac_ext >&5
44358 echo "$as_me:$LINENO: result: no" >&5
44359 echo "${ECHO_T}no" >&6
44361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44366 CPPFLAGS
="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
44369 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
44433 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
44434 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
44435 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
44436 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
44437 echo $ECHO_N "(cached) $ECHO_C" >&6
44439 cat >conftest.
make <<\_ACEOF
44441 @
echo 'ac_maketemp="$(MAKE)"'
44443 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
44444 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
44445 if test -n "$ac_maketemp"; then
44446 eval ac_cv_prog_make_
${ac_make}_set
=yes
44448 eval ac_cv_prog_make_
${ac_make}_set
=no
44450 rm -f conftest.
make
44452 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
44453 echo "$as_me:$LINENO: result: yes" >&5
44454 echo "${ECHO_T}yes" >&6
44457 echo "$as_me:$LINENO: result: no" >&5
44458 echo "${ECHO_T}no" >&6
44459 SET_MAKE
="MAKE=${MAKE-make}"
44464 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
44467 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
44470 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
44473 ac_config_files
="$ac_config_files version-script Makefile"
44476 ac_config_commands
="$ac_config_commands wx-config
44482 if test "$wxUSE_GUI" = "yes"; then
44483 SUBDIRS
="samples demos utils contrib"
44484 else SUBDIRS
="samples utils"
44489 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
44490 if test "${with_cppunit_prefix+set}" = set; then
44491 withval
="$with_cppunit_prefix"
44492 cppunit_config_prefix
="$withval"
44494 cppunit_config_prefix
=""
44497 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
44498 if test "${with_cppunit_exec_prefix+set}" = set; then
44499 withval
="$with_cppunit_exec_prefix"
44500 cppunit_config_exec_prefix
="$withval"
44502 cppunit_config_exec_prefix
=""
44505 if test x
$cppunit_config_exec_prefix != x
; then
44506 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
44507 if test x
${CPPUNIT_CONFIG+set} != xset
; then
44508 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
44511 if test x
$cppunit_config_prefix != x
; then
44512 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
44513 if test x
${CPPUNIT_CONFIG+set} != xset
; then
44514 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
44518 # Extract the first word of "cppunit-config", so it can be a program name with args.
44519 set dummy cppunit
-config; ac_word
=$2
44520 echo "$as_me:$LINENO: checking for $ac_word" >&5
44521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44522 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
44523 echo $ECHO_N "(cached) $ECHO_C" >&6
44525 case $CPPUNIT_CONFIG in
44527 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
44530 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44531 for as_dir
in $PATH
44534 test -z "$as_dir" && as_dir
=.
44535 for ac_exec_ext
in '' $ac_executable_extensions; do
44536 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44537 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44544 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
44548 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
44550 if test -n "$CPPUNIT_CONFIG"; then
44551 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
44552 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
44554 echo "$as_me:$LINENO: result: no" >&5
44555 echo "${ECHO_T}no" >&6
44558 cppunit_version_min
=1.8.0
44560 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
44561 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
44563 if test "$CPPUNIT_CONFIG" = "no" ; then
44566 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
44567 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
44568 cppunit_version
=`$CPPUNIT_CONFIG --version`
44570 cppunit_major_version
=`echo $cppunit_version | \
44571 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44572 cppunit_minor_version
=`echo $cppunit_version | \
44573 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44574 cppunit_micro_version
=`echo $cppunit_version | \
44575 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44577 cppunit_major_min
=`echo $cppunit_version_min | \
44578 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44579 cppunit_minor_min
=`echo $cppunit_version_min | \
44580 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44581 cppunit_micro_min
=`echo $cppunit_version_min | \
44582 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44584 cppunit_version_proper
=`expr \
44585 $cppunit_major_version \> $cppunit_major_min \| \
44586 $cppunit_major_version \= $cppunit_major_min \& \
44587 $cppunit_minor_version \> $cppunit_minor_min \| \
44588 $cppunit_major_version \= $cppunit_major_min \& \
44589 $cppunit_minor_version \= $cppunit_minor_min \& \
44590 $cppunit_micro_version \>= $cppunit_micro_min `
44592 if test "$cppunit_version_proper" = "1" ; then
44593 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
44594 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
44596 echo "$as_me:$LINENO: result: no" >&5
44597 echo "${ECHO_T}no" >&6
44602 if test "x$no_cppunit" = x
; then
44603 SUBDIRS
="$SUBDIRS tests"
44614 for subdir
in `echo $SUBDIRS`; do
44615 if test -d ${srcdir}/${subdir} ; then
44616 if test "$wxUSE_GUI" = "yes"; then
44617 if test ${subdir} = "samples"; then
44618 makefiles
="samples/Makefile.in $makefiles"
44619 for sample
in `echo $SAMPLES_SUBDIRS`; do
44620 if test -d $srcdir/samples
/$sample; then
44621 makefiles
="samples/$sample/Makefile.in $makefiles"
44625 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
44626 eval "disabled=\$$disabled_var"
44627 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
44628 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
44630 else if test ${subdir} = "samples"; then
44631 makefiles
="samples/Makefile.in samples/console/Makefile.in"
44632 elif test ${subdir} = "utils"; then
44634 for util
in HelpGen tex2rtf
; do
44635 if test -d $srcdir/utils
/$util ; then
44636 makefiles
="utils/$util/Makefile.in \
44637 utils/$util/src/Makefile.in \
44641 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
44645 for mkin
in $makefiles ; do
44646 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
44647 ac_config_files
="$ac_config_files $mk"
44654 cat >confcache
<<\_ACEOF
44655 # This file is a shell script that caches the results of configure
44656 # tests run on this system so they can be shared between configure
44657 # scripts and configure runs, see configure's option --config-cache.
44658 # It is not useful on other systems. If it contains results you don't
44659 # want to keep, you may remove or edit it.
44661 # config.status only pays attention to the cache file if you give it
44662 # the --recheck option to rerun configure.
44664 # `ac_cv_env_foo' variables (set or unset) will be overridden when
44665 # loading this file, other *unset* `ac_cv_foo' will be assigned the
44666 # following values.
44670 # The following way of writing the cache mishandles newlines in values,
44671 # but we know of no workaround that is simple, portable, and efficient.
44672 # So, don't put newlines in cache variables' values.
44673 # Ultrix sh set writes to stderr and can't be redirected directly,
44674 # and sets the high bit in the cache file unless we assign to the vars.
44677 case `(ac_space=' '; set | grep ac_space) 2>&1` in
44679 # `set' does not quote correctly, so add quotes (double-quote
44680 # substitution turns \\\\ into \\, and sed turns \\ into \).
44683 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
44686 # `set' quotes correctly as required by POSIX, so do not add quotes.
44688 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
44695 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
44697 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
44699 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
44700 if test -w $cache_file; then
44701 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
44702 cat confcache
>$cache_file
44704 echo "not updating unwritable cache $cache_file"
44709 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
44710 # Let make expand exec_prefix.
44711 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
44713 # VPATH may cause trouble with some makes, so we remove $(srcdir),
44714 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
44715 # trailing colons and then remove the whole line if VPATH becomes empty
44716 # (actually we leave an empty line to preserve line numbers).
44717 if test "x$srcdir" = x.
; then
44718 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
44719 s/:*\$(srcdir):*/:/;
44720 s/:*\${srcdir}:*/:/;
44722 s/^\([^=]*=[ ]*\):*/\1/;
44728 DEFS
=-DHAVE_CONFIG_H
44732 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
44733 # 1. Remove the extension, and $U if already installed.
44734 ac_i
=`echo "$ac_i" |
44735 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
44737 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
44738 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
44740 LIBOBJS
=$ac_libobjs
44742 LTLIBOBJS
=$ac_ltlibobjs
44746 : ${CONFIG_STATUS=./config.status}
44747 ac_clean_files_save
=$ac_clean_files
44748 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
44749 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
44750 echo "$as_me: creating $CONFIG_STATUS" >&6;}
44751 cat >$CONFIG_STATUS <<_ACEOF
44753 # Generated by $as_me.
44754 # Run this file to recreate the current configuration.
44755 # Compiler output produced by configure, useful for debugging
44756 # configure, is in config.log if it exists.
44759 ac_cs_recheck=false
44761 SHELL=\${CONFIG_SHELL-$SHELL}
44764 cat >>$CONFIG_STATUS <<\_ACEOF
44765 ## --------------------- ##
44766 ## M4sh Initialization. ##
44767 ## --------------------- ##
44769 # Be Bourne compatible
44770 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
44773 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
44774 # is contrary to our usage. Disable this feature.
44775 alias -g '${1+"$@"}'='"$@"'
44776 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
44779 DUALCASE
=1; export DUALCASE
# for MKS sh
44781 # Support unset when possible.
44782 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
44789 # Work around bugs in pre-3.0 UWIN ksh.
44790 $as_unset ENV MAIL MAILPATH
44797 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44798 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44799 LC_TELEPHONE LC_TIME
44801 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
44802 eval $as_var=C
; export $as_var
44808 # Required to use basename.
44809 if expr a
: '\(a\)' >/dev
/null
2>&1; then
44815 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
44816 as_basename
=basename
44822 # Name of the executable.
44823 as_me
=`$as_basename "$0" ||
44824 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
44825 X"$0" : 'X\(//\)$' \| \
44826 X"$0" : 'X\(/\)$' \| \
44827 . : '\(.\)' 2>/dev/null ||
44829 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
44830 /^X\/\(\/\/\)$/{ s//\1/; q; }
44831 /^X\/\(\/\).*/{ s//\1/; q; }
44835 # PATH needs CR, and LINENO needs CR and PATH.
44836 # Avoid depending upon Character Ranges.
44837 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
44838 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
44839 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
44840 as_cr_digits
='0123456789'
44841 as_cr_alnum
=$as_cr_Letters$as_cr_digits
44843 # The user is always right.
44844 if test "${PATH_SEPARATOR+set}" != set; then
44845 echo "#! /bin/sh" >conf$$.sh
44846 echo "exit 0" >>conf$$.sh
44848 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
44857 as_lineno_1
=$LINENO
44858 as_lineno_2
=$LINENO
44859 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
44860 test "x$as_lineno_1" != "x$as_lineno_2" &&
44861 test "x$as_lineno_3" = "x$as_lineno_2" || {
44862 # Find who we are. Look in the path if we contain no path at all
44865 *[\\/]* ) as_myself
=$0 ;;
44866 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44867 for as_dir
in $PATH
44870 test -z "$as_dir" && as_dir
=.
44871 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
44876 # We did not find ourselves, most probably we were run as `sh COMMAND'
44877 # in which case we are not to be found in the path.
44878 if test "x$as_myself" = x
; then
44881 if test ! -f "$as_myself"; then
44882 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
44883 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
44884 { (exit 1); exit 1; }; }
44886 case $CONFIG_SHELL in
44888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44889 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
44892 test -z "$as_dir" && as_dir
=.
44893 for as_base
in sh bash ksh sh5
; do
44896 if ("$as_dir/$as_base" -c '
44897 as_lineno_1=$LINENO
44898 as_lineno_2=$LINENO
44899 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
44900 test "x$as_lineno_1" != "x$as_lineno_2" &&
44901 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
44902 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
44903 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
44904 CONFIG_SHELL
=$as_dir/$as_base
44905 export CONFIG_SHELL
44906 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
44914 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
44915 # uniformly replaced by the line number. The first 'sed' inserts a
44916 # line-number line before each line; the second 'sed' does the real
44917 # work. The second script uses 'N' to pair each line-number line
44918 # with the numbered line, and appends trailing '-' during
44919 # substitution so that $LINENO is not a special case at line end.
44920 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
44921 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
44922 sed '=' <$as_myself |
44927 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
44930 s,^['$as_cr_digits']*\n,,
44931 ' >$as_me.lineno
&&
44932 chmod +x
$as_me.lineno
||
44933 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
44934 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
44935 { (exit 1); exit 1; }; }
44937 # Don't try to exec as it changes $[0], causing all sort of problems
44938 # (the dirname of $[0] is not the place where we might find the
44939 # original and so on. Autoconf is especially sensible to this).
44941 # Exit status is that of the last command.
44946 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
44947 *c
*,-n*) ECHO_N
= ECHO_C
='
44949 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
44950 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
44953 if expr a
: '\(a\)' >/dev
/null
2>&1; then
44959 rm -f conf$$ conf$$.exe conf$$.
file
44961 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
44962 # We could just check for DJGPP; but this test a) works b) is more generic
44963 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
44964 if test -f conf$$.exe
; then
44965 # Don't use ln at all; we don't have any links
44970 elif ln conf$$.
file conf$$
2>/dev
/null
; then
44975 rm -f conf$$ conf$$.exe conf$$.
file
44977 if mkdir -p .
2>/dev
/null
; then
44980 test -d .
/-p && rmdir .
/-p
44984 as_executable_p
="test -f"
44986 # Sed expression to map a string onto a valid CPP name.
44987 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
44989 # Sed expression to map a string onto a valid variable name.
44990 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
44994 # We need space, tab and new line, in precisely that order.
45004 # Open the log real soon, to keep \$[0] and so on meaningful, and to
45005 # report actual input values of CONFIG_FILES etc. instead of their
45006 # values after options handling. Logging --version etc. is OK.
45010 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
45011 ## Running $as_me. ##
45016 This file was extended by wxWidgets $as_me 2.6.1, which was
45017 generated by GNU Autoconf 2.59. Invocation command line was
45019 CONFIG_FILES = $CONFIG_FILES
45020 CONFIG_HEADERS = $CONFIG_HEADERS
45021 CONFIG_LINKS = $CONFIG_LINKS
45022 CONFIG_COMMANDS = $CONFIG_COMMANDS
45026 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
45030 # Files that config.status was made for.
45031 if test -n "$ac_config_files"; then
45032 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
45035 if test -n "$ac_config_headers"; then
45036 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
45039 if test -n "$ac_config_links"; then
45040 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
45043 if test -n "$ac_config_commands"; then
45044 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
45047 cat >>$CONFIG_STATUS <<\_ACEOF
45050 \`$as_me' instantiates files from templates according to the
45051 current configuration.
45053 Usage: $0 [OPTIONS] [FILE]...
45055 -h, --help print this help, then exit
45056 -V, --version print version number, then exit
45057 -q, --quiet do not print progress messages
45058 -d, --debug don't remove temporary files
45059 --recheck update $as_me by reconfiguring in the same conditions
45060 --file=FILE[:TEMPLATE]
45061 instantiate the configuration file FILE
45062 --header=FILE[:TEMPLATE]
45063 instantiate the configuration header FILE
45065 Configuration files:
45068 Configuration headers:
45071 Configuration commands:
45074 Report bugs to <bug-autoconf@gnu.org>."
45077 cat >>$CONFIG_STATUS <<_ACEOF
45079 wxWidgets config.status 2.6.1
45080 configured by $0, generated by GNU Autoconf 2.59,
45081 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
45083 Copyright (C) 2003 Free Software Foundation, Inc.
45084 This config.status script is free software; the Free Software Foundation
45085 gives unlimited permission to copy, distribute and modify it."
45090 cat >>$CONFIG_STATUS <<\_ACEOF
45091 # If no file are specified by the user, then we need to provide default
45092 # value. By we need to know if files were specified by the user.
45098 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
45099 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
45107 *) # This is not an option, so the user has probably given explicit
45110 ac_need_defaults
=false
;;
45114 # Handling of the options.
45116 cat >>$CONFIG_STATUS <<\_ACEOF
45117 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
45119 --version | --vers* | -V )
45120 echo "$ac_cs_version"; exit 0 ;;
45122 # Conflict between --help and --header
45123 { { echo "$as_me:$LINENO: error: ambiguous option: $1
45124 Try \`$0 --help' for more information." >&5
45125 echo "$as_me: error: ambiguous option: $1
45126 Try \`$0 --help' for more information." >&2;}
45127 { (exit 1); exit 1; }; };;
45128 --help | --hel | -h )
45129 echo "$ac_cs_usage"; exit 0 ;;
45130 --debug | --d* | -d )
45132 --file | --fil | --fi | --f )
45134 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
45135 ac_need_defaults
=false
;;
45136 --header | --heade | --head | --hea )
45138 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
45139 ac_need_defaults
=false
;;
45140 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
45141 | -silent | --silent | --silen | --sile | --sil | --si | --s)
45144 # This is an error.
45145 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
45146 Try \`$0 --help' for more information." >&5
45147 echo "$as_me: error: unrecognized option: $1
45148 Try \`$0 --help' for more information." >&2;}
45149 { (exit 1); exit 1; }; } ;;
45151 *) ac_config_targets
="$ac_config_targets $1" ;;
45157 ac_configure_extra_args
=
45159 if $ac_cs_silent; then
45161 ac_configure_extra_args
="$ac_configure_extra_args --silent"
45165 cat >>$CONFIG_STATUS <<_ACEOF
45166 if \$ac_cs_recheck; then
45167 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
45168 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
45173 cat >>$CONFIG_STATUS <<_ACEOF
45175 # INIT-COMMANDS section.
45178 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
45179 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
45180 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
45188 cat >>$CONFIG_STATUS <<\_ACEOF
45189 for ac_config_target
in $ac_config_targets
45191 case "$ac_config_target" in
45192 # Handling of arguments.
45193 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
45194 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
45195 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
45196 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
45197 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
45198 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
45199 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
45200 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
45201 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
45202 { (exit 1); exit 1; }; };;
45206 # If the user did not use the arguments to specify the items to instantiate,
45207 # then the envvar interface is used. Set only those that are not.
45208 # We use the long form for the default assignment because of an extremely
45209 # bizarre bug on SunOS 4.1.3.
45210 if $ac_need_defaults; then
45211 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
45212 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
45213 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
45216 # Have a temporary directory for convenience. Make it in the build tree
45217 # simply because there is no reason to put it here, and in addition,
45218 # creating and moving files from /tmp can sometimes cause problems.
45219 # Create a temporary directory, and hook for its removal unless debugging.
45222 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
45223 trap '{ (exit 1); exit 1; }' 1 2 13 15
45226 # Create a (secure) tmp directory for tmp files.
45229 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
45230 test -n "$tmp" && test -d "$tmp"
45233 tmp
=.
/confstat$$
-$RANDOM
45234 (umask 077 && mkdir $tmp)
45237 echo "$me: cannot create a temporary directory in ." >&2
45238 { (exit 1); exit 1; }
45243 cat >>$CONFIG_STATUS <<_ACEOF
45246 # CONFIG_FILES section.
45249 # No need to generate the scripts if there are no CONFIG_FILES.
45250 # This happens for instance when ./config.status config.h
45251 if test -n "\$CONFIG_FILES"; then
45252 # Protect against being on the right side of a sed subst in config.status.
45253 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
45254 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
45255 s,@SHELL@,$SHELL,;t t
45256 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
45257 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
45258 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
45259 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
45260 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
45261 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
45262 s,@exec_prefix@,$exec_prefix,;t t
45263 s,@prefix@,$prefix,;t t
45264 s,@program_transform_name@,$program_transform_name,;t t
45265 s,@bindir@,$bindir,;t t
45266 s,@sbindir@,$sbindir,;t t
45267 s,@libexecdir@,$libexecdir,;t t
45268 s,@datadir@,$datadir,;t t
45269 s,@sysconfdir@,$sysconfdir,;t t
45270 s,@sharedstatedir@,$sharedstatedir,;t t
45271 s,@localstatedir@,$localstatedir,;t t
45272 s,@libdir@,$libdir,;t t
45273 s,@includedir@,$includedir,;t t
45274 s,@oldincludedir@,$oldincludedir,;t t
45275 s,@infodir@,$infodir,;t t
45276 s,@mandir@,$mandir,;t t
45277 s,@build_alias@,$build_alias,;t t
45278 s,@host_alias@,$host_alias,;t t
45279 s,@target_alias@,$target_alias,;t t
45280 s,@DEFS@,$DEFS,;t t
45281 s,@ECHO_C@,$ECHO_C,;t t
45282 s,@ECHO_N@,$ECHO_N,;t t
45283 s,@ECHO_T@,$ECHO_T,;t t
45284 s,@LIBS@,$LIBS,;t t
45285 s,@build@,$build,;t t
45286 s,@build_cpu@,$build_cpu,;t t
45287 s,@build_vendor@,$build_vendor,;t t
45288 s,@build_os@,$build_os,;t t
45289 s,@host@,$host,;t t
45290 s,@host_cpu@,$host_cpu,;t t
45291 s,@host_vendor@,$host_vendor,;t t
45292 s,@host_os@,$host_os,;t t
45293 s,@target@,$target,;t t
45294 s,@target_cpu@,$target_cpu,;t t
45295 s,@target_vendor@,$target_vendor,;t t
45296 s,@target_os@,$target_os,;t t
45298 s,@CFLAGS@,$CFLAGS,;t t
45299 s,@LDFLAGS@,$LDFLAGS,;t t
45300 s,@CPPFLAGS@,$CPPFLAGS,;t t
45301 s,@ac_ct_CC@,$ac_ct_CC,;t t
45302 s,@EXEEXT@,$EXEEXT,;t t
45303 s,@OBJEXT@,$OBJEXT,;t t
45305 s,@EGREP@,$EGREP,;t t
45307 s,@CXXFLAGS@,$CXXFLAGS,;t t
45308 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
45309 s,@RANLIB@,$RANLIB,;t t
45310 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
45312 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
45313 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
45314 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
45315 s,@STRIP@,$STRIP,;t t
45316 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
45317 s,@LN_S@,$LN_S,;t t
45318 s,@CXXCPP@,$CXXCPP,;t t
45319 s,@subdirs@,$subdirs,;t t
45320 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
45321 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
45322 s,@GTK_LIBS@,$GTK_LIBS,;t t
45323 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
45324 s,@X_CFLAGS@,$X_CFLAGS,;t t
45325 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
45326 s,@X_LIBS@,$X_LIBS,;t t
45327 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
45328 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
45329 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
45330 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
45331 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
45332 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
45333 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
45334 s,@RESCOMP@,$RESCOMP,;t t
45335 s,@DEREZ@,$DEREZ,;t t
45336 s,@SETFILE@,$SETFILE,;t t
45337 s,@LIBICONV@,$LIBICONV,;t t
45338 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
45339 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
45340 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
45341 s,@SDL_LIBS@,$SDL_LIBS,;t t
45342 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
45343 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
45344 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
45345 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
45346 s,@GST_INSPECT@,$GST_INSPECT,;t t
45347 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
45348 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
45349 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
45350 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
45351 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
45352 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
45353 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
45354 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
45355 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
45356 s,@VENDOR@,$VENDOR,;t t
45357 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
45358 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
45359 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
45360 s,@WXUNIV@,$WXUNIV,;t t
45361 s,@MONOLITHIC@,$MONOLITHIC,;t t
45362 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
45363 s,@EXTRALIBS@,$EXTRALIBS,;t t
45364 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
45365 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
45366 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
45367 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
45368 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
45369 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
45370 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
45371 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
45372 s,@UNICODE@,$UNICODE,;t t
45373 s,@BUILD@,$BUILD,;t t
45374 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
45375 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
45376 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
45377 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
45378 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
45379 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
45380 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
45381 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
45382 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
45383 s,@SET_MAKE@,$SET_MAKE,;t t
45384 s,@MAKE_SET@,$MAKE_SET,;t t
45385 s,@ac_ct_AR@,$ac_ct_AR,;t t
45386 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
45388 s,@ac_ct_NM@,$ac_ct_NM,;t t
45389 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
45390 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
45391 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
45392 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
45393 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
45394 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
45395 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
45396 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
45397 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
45398 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
45399 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
45400 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
45401 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
45402 s,@LIBPREFIX@,$LIBPREFIX,;t t
45403 s,@LIBEXT@,$LIBEXT,;t t
45404 s,@DLLPREFIX@,$DLLPREFIX,;t t
45405 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
45406 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
45407 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
45408 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
45409 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
45410 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
45411 s,@PIC_FLAG@,$PIC_FLAG,;t t
45412 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
45413 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
45414 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
45415 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
45416 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
45417 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
45418 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
45419 s,@GCC_PCH@,$GCC_PCH,;t t
45420 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
45421 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
45422 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
45423 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
45424 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
45425 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
45426 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
45427 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
45428 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
45429 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
45430 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
45431 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
45432 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
45433 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
45434 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
45435 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
45436 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
45437 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
45438 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
45439 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
45440 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
45441 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
45442 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
45443 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
45444 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
45445 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
45446 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
45447 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
45448 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
45449 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
45450 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
45451 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
45452 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
45453 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
45454 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
45455 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
45456 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
45457 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
45458 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
45459 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
45460 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
45461 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
45462 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
45463 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
45464 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
45465 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
45466 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
45467 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
45468 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
45469 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
45470 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
45471 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
45472 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
45473 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
45474 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
45475 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
45476 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
45477 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
45478 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
45479 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
45480 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
45481 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
45482 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
45483 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
45484 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
45485 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
45486 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
45487 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
45488 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
45489 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
45490 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
45491 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
45492 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
45493 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
45494 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
45495 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
45496 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
45497 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
45498 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
45499 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
45500 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
45501 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
45502 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
45503 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
45504 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
45505 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
45506 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
45507 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
45508 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
45509 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
45510 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
45511 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
45512 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
45513 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
45514 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
45515 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
45516 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
45517 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
45518 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
45519 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
45520 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
45521 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
45522 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
45523 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
45524 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
45525 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
45526 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
45527 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
45528 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
45529 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
45530 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
45531 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
45532 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
45533 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
45534 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
45535 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
45536 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
45537 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
45538 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
45539 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
45540 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
45541 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
45542 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
45543 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
45544 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
45545 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
45546 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
45547 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
45548 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
45549 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
45550 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
45551 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
45552 s,@SHARED@,$SHARED,;t t
45553 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
45554 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
45555 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
45556 s,@USE_GUI@,$USE_GUI,;t t
45557 s,@AFMINSTALL@,$AFMINSTALL,;t t
45558 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
45559 s,@TOOLKIT@,$TOOLKIT,;t t
45560 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
45561 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
45562 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
45563 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
45564 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
45565 s,@cross_compiling@,$cross_compiling,;t t
45566 s,@WIDGET_SET@,$WIDGET_SET,;t t
45567 s,@WX_RELEASE@,$WX_RELEASE,;t t
45568 s,@WX_VERSION@,$WX_VERSION,;t t
45569 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
45570 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
45571 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
45572 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
45573 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
45574 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
45575 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
45576 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
45577 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
45578 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
45579 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
45580 s,@EXE_LINKER@,$EXE_LINKER,;t t
45581 s,@GUIDIST@,$GUIDIST,;t t
45582 s,@DISTDIR@,$DISTDIR,;t t
45583 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
45584 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
45585 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
45586 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
45587 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
45588 s,@RESFLAGS@,$RESFLAGS,;t t
45589 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
45590 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
45591 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
45592 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
45593 s,@MACRESCOMP@,$MACRESCOMP,;t t
45594 s,@MACSETFILE@,$MACSETFILE,;t t
45595 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
45597 s,@DLLTOOL@,$DLLTOOL,;t t
45598 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
45599 s,@LIBOBJS@,$LIBOBJS,;t t
45600 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
45605 cat >>$CONFIG_STATUS <<\_ACEOF
45606 # Split the substitutions into bite-sized pieces for seds with
45607 # small command number limits, like on Digital OSF/1 and HP-UX.
45608 ac_max_sed_lines
=48
45609 ac_sed_frag
=1 # Number of current file.
45610 ac_beg
=1 # First line for current file.
45611 ac_end
=$ac_max_sed_lines # Line after last line for current file.
45614 while $ac_more_lines; do
45615 if test $ac_beg -gt 1; then
45616 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
45618 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
45620 if test ! -s $tmp/subs.frag
; then
45621 ac_more_lines
=false
45623 # The purpose of the label and of the branching condition is to
45624 # speed up the sed processing (if there are no `@' at all, there
45625 # is no need to browse any of the substitutions).
45626 # These are the two extra sed commands mentioned above.
45628 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
45629 if test -z "$ac_sed_cmds"; then
45630 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
45632 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
45634 ac_sed_frag
=`expr $ac_sed_frag + 1`
45636 ac_end
=`expr $ac_end + $ac_max_sed_lines`
45639 if test -z "$ac_sed_cmds"; then
45642 fi # test -n "$CONFIG_FILES"
45645 cat >>$CONFIG_STATUS <<\_ACEOF
45646 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
45647 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
45649 - | *:- | *:-:* ) # input from stdin
45651 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
45652 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
45653 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
45654 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
45655 * ) ac_file_in
=$ac_file.
in ;;
45658 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
45659 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
45660 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45661 X"$ac_file" : 'X\(//\)[^/]' \| \
45662 X"$ac_file" : 'X\(//\)$' \| \
45663 X"$ac_file" : 'X\(/\)' \| \
45664 . : '\(.\)' 2>/dev/null ||
45666 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45667 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45668 /^X\(\/\/\)$/{ s//\1/; q; }
45669 /^X\(\/\).*/{ s//\1/; q; }
45671 { if $as_mkdir_p; then
45676 while test ! -d "$as_dir"; do
45677 as_dirs
="$as_dir $as_dirs"
45678 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
45679 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45680 X"$as_dir" : 'X\(//\)[^/]' \| \
45681 X"$as_dir" : 'X\(//\)$' \| \
45682 X"$as_dir" : 'X\(/\)' \| \
45683 . : '\(.\)' 2>/dev/null ||
45685 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45686 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45687 /^X\(\/\/\)$/{ s//\1/; q; }
45688 /^X\(\/\).*/{ s//\1/; q; }
45691 test ! -n "$as_dirs" || mkdir $as_dirs
45692 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45693 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45694 { (exit 1); exit 1; }; }; }
45698 if test "$ac_dir" != .
; then
45699 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45700 # A "../" for each directory in $ac_dir_suffix.
45701 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45703 ac_dir_suffix
= ac_top_builddir
=
45707 .
) # No --srcdir option. We are building in place.
45709 if test -z "$ac_top_builddir"; then
45712 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
45714 [\\/]* | ?
:[\\/]* ) # Absolute path.
45715 ac_srcdir
=$srcdir$ac_dir_suffix;
45716 ac_top_srcdir
=$srcdir ;;
45717 *) # Relative path.
45718 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
45719 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
45722 # Do not use `cd foo && pwd` to compute absolute paths, because
45723 # the directories may not exist.
45725 .
) ac_abs_builddir
="$ac_dir";;
45728 .
) ac_abs_builddir
=`pwd`;;
45729 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
45730 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
45733 case $ac_abs_builddir in
45734 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45736 case ${ac_top_builddir}.
in
45737 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
45738 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45739 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
45742 case $ac_abs_builddir in
45743 .
) ac_abs_srcdir
=$ac_srcdir;;
45746 .
) ac_abs_srcdir
=$ac_abs_builddir;;
45747 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
45748 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
45751 case $ac_abs_builddir in
45752 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
45754 case $ac_top_srcdir in
45755 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
45756 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
45757 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
45763 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
45764 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
45767 if test x
"$ac_file" != x
-; then
45768 { echo "$as_me:$LINENO: creating $ac_file" >&5
45769 echo "$as_me: creating $ac_file" >&6;}
45772 # Let's still pretend it is `configure' which instantiates (i.e., don't
45773 # use $as_me), people would be surprised to read:
45774 # /* config.h. Generated by config.status. */
45775 if test x
"$ac_file" = x
-; then
45778 configure_input
="$ac_file. "
45780 configure_input
=$configure_input"Generated from `echo $ac_file_in |
45781 sed 's,.*/,,'` by configure."
45783 # First look for the input files in the build tree, otherwise in the
45785 ac_file_inputs
=`IFS=:
45786 for f in $ac_file_in; do
45788 -) echo $tmp/stdin ;;
45790 # Absolute (can't be DOS-style, as IFS=:)
45791 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45792 echo "$as_me: error: cannot find input file: $f" >&2;}
45793 { (exit 1); exit 1; }; }
45796 if test -f "$f"; then
45799 elif test -f "$srcdir/$f"; then
45804 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45805 echo "$as_me: error: cannot find input file: $f" >&2;}
45806 { (exit 1); exit 1; }; }
45809 done` || { (exit 1); exit 1; }
45811 cat >>$CONFIG_STATUS <<_ACEOF
45815 cat >>$CONFIG_STATUS <<\_ACEOF
45817 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
45818 s
,@configure_input@
,$configure_input,;t t
45819 s
,@srcdir@
,$ac_srcdir,;t t
45820 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
45821 s
,@top_srcdir@
,$ac_top_srcdir,;t t
45822 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
45823 s
,@builddir@
,$ac_builddir,;t t
45824 s
,@abs_builddir@
,$ac_abs_builddir,;t t
45825 s
,@top_builddir@
,$ac_top_builddir,;t t
45826 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
45827 s
,@INSTALL@
,$ac_INSTALL,;t t
45828 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
45830 if test x"$ac_file" != x-; then
45831 mv $tmp/out $ac_file
45837 # Run the commands associated with the file.
45839 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
45840 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
45844 cat >>$CONFIG_STATUS <<\_ACEOF
45847 # CONFIG_HEADER section.
45850 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
45851 # NAME is the cpp macro being defined and VALUE is the value it is being given.
45853 # ac_d sets the value in "#define NAME VALUE" lines.
45854 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
45855 ac_dB
='[ ].*$,\1#\2'
45858 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
45859 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
45860 ac_uB
='$,\1#\2define\3'
45864 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
45865 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
45867 - | *:- | *:-:* ) # input from stdin
45869 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
45870 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
45871 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
45872 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
45873 * ) ac_file_in
=$ac_file.
in ;;
45876 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
45877 echo "$as_me: creating $ac_file" >&6;}
45879 # First look for the input files in the build tree, otherwise in the
45881 ac_file_inputs
=`IFS=:
45882 for f in $ac_file_in; do
45884 -) echo $tmp/stdin ;;
45886 # Absolute (can't be DOS-style, as IFS=:)
45887 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45888 echo "$as_me: error: cannot find input file: $f" >&2;}
45889 { (exit 1); exit 1; }; }
45890 # Do quote $f, to prevent DOS paths from being IFS'd.
45893 if test -f "$f"; then
45896 elif test -f "$srcdir/$f"; then
45901 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45902 echo "$as_me: error: cannot find input file: $f" >&2;}
45903 { (exit 1); exit 1; }; }
45906 done` || { (exit 1); exit 1; }
45907 # Remove the trailing spaces.
45908 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
45912 # Transform confdefs.h into two sed scripts, `conftest.defines' and
45913 # `conftest.undefs', that substitutes the proper values into
45914 # config.h.in to produce config.h. The first handles `#define'
45915 # templates, and the second `#undef' templates.
45916 # And first: Protect against being on the right side of a sed subst in
45917 # config.status. Protect against being in an unquoted here document
45918 # in config.status.
45919 rm -f conftest.defines conftest.undefs
45920 # Using a here document instead of a string reduces the quoting nightmare.
45921 # Putting comments in sed scripts is not portable.
45923 # `end' is used to avoid that the second main sed command (meant for
45924 # 0-ary CPP macros) applies to n-ary macro definitions.
45925 # See the Autoconf documentation for `clear'.
45926 cat >confdef2sed.
sed <<\_ACEOF
45931 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
45933 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
45936 # If some macros were called several times there might be several times
45937 # the same #defines, which is useless. Nevertheless, we may not want to
45938 # sort them, since we want the *last* AC-DEFINE to be honored.
45939 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
45940 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
45941 rm -f confdef2sed.sed
45943 # This sed command replaces #undef with comments. This is necessary, for
45944 # example, in the case of _POSIX_SOURCE, which is predefined and required
45945 # on some systems where configure will not decide to define it.
45946 cat >>conftest.undefs <<\_ACEOF
45947 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
45950 # Break up conftest.defines because some shells have a limit on the size
45951 # of here documents, and old seds have small limits too (100 cmds).
45952 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
45953 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
45954 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
45955 echo ' :' >>$CONFIG_STATUS
45956 rm -f conftest.tail
45957 while grep . conftest.defines >/dev/null
45959 # Write a limited-size here document to $tmp/defines.sed.
45960 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
45961 # Speed up: don't consider the non `#define' lines.
45962 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
45963 # Work around the forget-to-reset-the-flag bug.
45964 echo 't clr' >>$CONFIG_STATUS
45965 echo ': clr' >>$CONFIG_STATUS
45966 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
45968 sed -f $tmp/defines.sed $tmp/in >$tmp/out
45970 mv $tmp/out $tmp/in
45972 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
45973 rm -f conftest.defines
45974 mv conftest.
tail conftest.defines
45976 rm -f conftest.defines
45977 echo ' fi # grep' >>$CONFIG_STATUS
45978 echo >>$CONFIG_STATUS
45980 # Break up conftest.undefs because some shells have a limit on the size
45981 # of here documents, and old seds have small limits too (100 cmds).
45982 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
45983 rm -f conftest.
tail
45984 while grep . conftest.undefs
>/dev
/null
45986 # Write a limited-size here document to $tmp/undefs.sed.
45987 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
45988 # Speed up: don't consider the non
`#undef'
45989 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
45990 # Work around the forget-to-reset-the-flag bug.
45991 echo 't clr' >>$CONFIG_STATUS
45992 echo ': clr' >>$CONFIG_STATUS
45993 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
45995 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
45997 mv $tmp/out $tmp/in
45999 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
46000 rm -f conftest.undefs
46001 mv conftest.tail conftest.undefs
46003 rm -f conftest.undefs
46005 cat >>$CONFIG_STATUS <<\_ACEOF
46006 # Let's still pretend it is `configure
' which instantiates (i.e., don't
46007 # use $as_me), people would be surprised to read:
46008 # /* config.h. Generated by config.status. */
46009 if test x
"$ac_file" = x
-; then
46010 echo "/* Generated by configure. */" >$tmp/config.h
46012 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
46014 cat $tmp/in >>$tmp/config.h
46016 if test x
"$ac_file" != x
-; then
46017 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
46018 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
46019 echo "$as_me: $ac_file is unchanged" >&6;}
46021 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
46022 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46023 X"$ac_file" : 'X\(//\)[^/]' \| \
46024 X"$ac_file" : 'X\(//\)$' \| \
46025 X"$ac_file" : 'X\(/\)' \| \
46026 . : '\(.\)' 2>/dev/null ||
46028 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46029 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46030 /^X\(\/\/\)$/{ s//\1/; q; }
46031 /^X\(\/\).*/{ s//\1/; q; }
46033 { if $as_mkdir_p; then
46038 while test ! -d "$as_dir"; do
46039 as_dirs
="$as_dir $as_dirs"
46040 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
46041 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46042 X"$as_dir" : 'X\(//\)[^/]' \| \
46043 X"$as_dir" : 'X\(//\)$' \| \
46044 X"$as_dir" : 'X\(/\)' \| \
46045 . : '\(.\)' 2>/dev/null ||
46047 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46048 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46049 /^X\(\/\/\)$/{ s//\1/; q; }
46050 /^X\(\/\).*/{ s//\1/; q; }
46053 test ! -n "$as_dirs" || mkdir $as_dirs
46054 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
46055 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
46056 { (exit 1); exit 1; }; }; }
46059 mv $tmp/config.h
$ac_file
46063 rm -f $tmp/config.h
46067 cat >>$CONFIG_STATUS <<\_ACEOF
46070 # CONFIG_COMMANDS section.
46072 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
46073 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
46074 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
46075 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
46076 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46077 X"$ac_dest" : 'X\(//\)[^/]' \| \
46078 X"$ac_dest" : 'X\(//\)$' \| \
46079 X"$ac_dest" : 'X\(/\)' \| \
46080 . : '\(.\)' 2>/dev/null ||
46082 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46083 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46084 /^X\(\/\/\)$/{ s//\1/; q; }
46085 /^X\(\/\).*/{ s//\1/; q; }
46087 { if $as_mkdir_p; then
46092 while test ! -d "$as_dir"; do
46093 as_dirs
="$as_dir $as_dirs"
46094 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
46095 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46096 X"$as_dir" : 'X\(//\)[^/]' \| \
46097 X"$as_dir" : 'X\(//\)$' \| \
46098 X"$as_dir" : 'X\(/\)' \| \
46099 . : '\(.\)' 2>/dev/null ||
46101 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46102 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46103 /^X\(\/\/\)$/{ s//\1/; q; }
46104 /^X\(\/\).*/{ s//\1/; q; }
46107 test ! -n "$as_dirs" || mkdir $as_dirs
46108 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
46109 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
46110 { (exit 1); exit 1; }; }; }
46114 if test "$ac_dir" != .
; then
46115 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
46116 # A "../" for each directory in $ac_dir_suffix.
46117 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
46119 ac_dir_suffix
= ac_top_builddir
=
46123 .
) # No --srcdir option. We are building in place.
46125 if test -z "$ac_top_builddir"; then
46128 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
46130 [\\/]* | ?
:[\\/]* ) # Absolute path.
46131 ac_srcdir
=$srcdir$ac_dir_suffix;
46132 ac_top_srcdir
=$srcdir ;;
46133 *) # Relative path.
46134 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
46135 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
46138 # Do not use `cd foo && pwd` to compute absolute paths, because
46139 # the directories may not exist.
46141 .
) ac_abs_builddir
="$ac_dir";;
46144 .
) ac_abs_builddir
=`pwd`;;
46145 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
46146 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
46149 case $ac_abs_builddir in
46150 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
46152 case ${ac_top_builddir}.
in
46153 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
46154 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
46155 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
46158 case $ac_abs_builddir in
46159 .
) ac_abs_srcdir
=$ac_srcdir;;
46162 .
) ac_abs_srcdir
=$ac_abs_builddir;;
46163 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
46164 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
46167 case $ac_abs_builddir in
46168 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
46170 case $ac_top_srcdir in
46171 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
46172 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
46173 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
46178 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
46179 echo "$as_me: executing $ac_dest commands" >&6;}
46181 wx
-config ) rm -f wx
-config
46182 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
46188 cat >>$CONFIG_STATUS <<\_ACEOF
46190 { (exit 0); exit 0; }
46192 chmod +x
$CONFIG_STATUS
46193 ac_clean_files
=$ac_clean_files_save
46196 # configure is writing to config.log, and then calls config.status.
46197 # config.status does its own redirection, appending to config.log.
46198 # Unfortunately, on DOS this fails, as config.log is still kept open
46199 # by configure, so config.status won't be able to write to it; its
46200 # output is simply discarded. So we exec the FD to /dev/null,
46201 # effectively closing config.log, so it can be properly (re)opened and
46202 # appended to by config.status. When coming back to configure, we
46203 # need to make the FD available again.
46204 if test "$no_create" != yes; then
46206 ac_config_status_args
=
46207 test "$silent" = yes &&
46208 ac_config_status_args
="$ac_config_status_args --quiet"
46210 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
46212 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
46213 # would make configure fail if this is the last instruction.
46214 $ac_cs_success || { (exit 1); exit 1; }
46218 # CONFIG_SUBDIRS section.
46220 if test "$no_recursion" != yes; then
46222 # Remove --cache-file and --srcdir arguments so they do not pile up.
46223 ac_sub_configure_args
=
46225 for ac_arg
in $ac_configure_args; do
46226 if test -n "$ac_prev"; then
46231 -cache-file | --cache-file | --cache-fil | --cache-fi \
46232 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
46233 ac_prev
=cache_file
;;
46234 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
46235 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
46238 --config-cache | -C)
46240 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
46242 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
46244 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
46246 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
46248 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
46252 # Always prepend --prefix to ensure using the same prefix
46253 # in subdir configurations.
46254 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
46257 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
46259 # Do not complain, so a configure script can configure whichever
46260 # parts of a large source tree are present.
46261 test -d $srcdir/$ac_dir || continue
46263 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
46264 echo "$as_me: configuring in $ac_dir" >&6;}
46265 { if $as_mkdir_p; then
46270 while test ! -d "$as_dir"; do
46271 as_dirs
="$as_dir $as_dirs"
46272 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
46273 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46274 X"$as_dir" : 'X\(//\)[^/]' \| \
46275 X"$as_dir" : 'X\(//\)$' \| \
46276 X"$as_dir" : 'X\(/\)' \| \
46277 . : '\(.\)' 2>/dev/null ||
46279 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46280 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46281 /^X\(\/\/\)$/{ s//\1/; q; }
46282 /^X\(\/\).*/{ s//\1/; q; }
46285 test ! -n "$as_dirs" || mkdir $as_dirs
46286 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
46287 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
46288 { (exit 1); exit 1; }; }; }
46292 if test "$ac_dir" != .
; then
46293 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
46294 # A "../" for each directory in $ac_dir_suffix.
46295 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
46297 ac_dir_suffix
= ac_top_builddir
=
46301 .
) # No --srcdir option. We are building in place.
46303 if test -z "$ac_top_builddir"; then
46306 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
46308 [\\/]* | ?
:[\\/]* ) # Absolute path.
46309 ac_srcdir
=$srcdir$ac_dir_suffix;
46310 ac_top_srcdir
=$srcdir ;;
46311 *) # Relative path.
46312 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
46313 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
46316 # Do not use `cd foo && pwd` to compute absolute paths, because
46317 # the directories may not exist.
46319 .
) ac_abs_builddir
="$ac_dir";;
46322 .
) ac_abs_builddir
=`pwd`;;
46323 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
46324 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
46327 case $ac_abs_builddir in
46328 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
46330 case ${ac_top_builddir}.
in
46331 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
46332 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
46333 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
46336 case $ac_abs_builddir in
46337 .
) ac_abs_srcdir
=$ac_srcdir;;
46340 .
) ac_abs_srcdir
=$ac_abs_builddir;;
46341 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
46342 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
46345 case $ac_abs_builddir in
46346 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
46348 case $ac_top_srcdir in
46349 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
46350 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
46351 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
46358 # Check for guested configure; otherwise get Cygnus style configure.
46359 if test -f $ac_srcdir/configure.gnu
; then
46360 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
46361 elif test -f $ac_srcdir/configure
; then
46362 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
46363 elif test -f $ac_srcdir/configure.
in; then
46364 ac_sub_configure
=$ac_configure
46366 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
46367 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
46371 # The recursion is here.
46372 if test -n "$ac_sub_configure"; then
46373 # Make the cache file name correct relative to the subdirectory.
46374 case $cache_file in
46375 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
46376 *) # Relative path.
46377 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
46380 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
46381 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
46382 # The eval makes quoting arguments work.
46383 eval $ac_sub_configure $ac_sub_configure_args \
46384 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
46385 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
46386 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
46387 { (exit 1); exit 1; }; }
46396 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
46398 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
46399 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
46401 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
46402 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
46403 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
46405 echo " What level of wxWidgets compatibility should be enabled?"
46406 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
46407 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
46409 echo " Which libraries should wxWidgets use?"
46410 echo " jpeg ${wxUSE_LIBJPEG-none}"
46411 echo " png ${wxUSE_LIBPNG-none}"
46412 echo " regex ${wxUSE_REGEX}"
46413 echo " tiff ${wxUSE_LIBTIFF-none}"
46414 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
46415 echo " xpm ${wxUSE_LIBXPM-none}"
46417 echo " zlib ${wxUSE_ZLIB}"
46418 echo " odbc ${wxUSE_ODBC}"
46419 echo " expat ${wxUSE_EXPAT}"
46420 echo " libmspack ${wxUSE_LIBMSPACK}"
46421 echo " sdl ${wxUSE_LIBSDL}"
46422 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"