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.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 DUALCASE
=1; export DUALCASE
# for MKS sh
27 # Support unset when possible.
28 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
224 test -d .
/-p && rmdir .
/-p
228 as_executable_p
="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
257 ac_default_prefix
=/usr
/local
258 ac_config_libobj_dir
=.
263 SHELL
=${CONFIG_SHELL-/bin/sh}
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
270 # Identity of this package.
271 PACKAGE_NAME
='wxWidgets'
272 PACKAGE_TARNAME
='wxwidgets'
273 PACKAGE_VERSION
='2.6.0'
274 PACKAGE_STRING
='wxWidgets 2.6.0'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
277 ac_unique_file
="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subdirs_all
="$ac_subdirs_all src/expat"
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR 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.0 to adapt to many kinds of systems.
799 Usage: $0 [OPTION]... [VAR=VALUE]...
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
804 Defaults for the options are specified in brackets.
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
831 For better control, use the options below.
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
851 --x-includes=DIR X include files are
in DIR
852 --x-libraries=DIR X library files are
in DIR
855 --build=BUILD configure
for building on BUILD
[guessed
]
856 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
857 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short
| recursive
) echo "Configuration of wxWidgets 2.6.0:";;
868 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
869 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
876 --enable-gpe use GNOME PDA Environment features
if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL
for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C
++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-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.0
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.0, 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_DIRECTSHOW
=no
2097 DEFAULT_wxUSE_INTL
=no
2098 DEFAULT_wxUSE_CONFIG
=no
2099 DEFAULT_wxUSE_FONTMAP
=no
2100 DEFAULT_wxUSE_STREAMS
=no
2101 DEFAULT_wxUSE_SOCKETS
=no
2102 DEFAULT_wxUSE_OLE
=no
2103 DEFAULT_wxUSE_DATAOBJ
=no
2104 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2105 DEFAULT_wxUSE_JOYSTICK
=no
2106 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2107 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2108 DEFAULT_wxUSE_LONGLONG
=no
2109 DEFAULT_wxUSE_GEOMETRY
=no
2111 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2112 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2113 DEFAULT_wxUSE_POSTSCRIPT
=no
2115 DEFAULT_wxUSE_CLIPBOARD
=no
2116 DEFAULT_wxUSE_TOOLTIPS
=no
2117 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2118 DEFAULT_wxUSE_DRAGIMAGE
=no
2119 DEFAULT_wxUSE_SPLINES
=no
2120 DEFAULT_wxUSE_MOUSEWHEEL
=no
2122 DEFAULT_wxUSE_MDI
=no
2123 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2124 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2125 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2127 DEFAULT_wxUSE_RESOURCES
=no
2128 DEFAULT_wxUSE_CONSTRAINTS
=no
2129 DEFAULT_wxUSE_IPC
=no
2130 DEFAULT_wxUSE_HELP
=no
2131 DEFAULT_wxUSE_MS_HTML_HELP
=no
2132 DEFAULT_wxUSE_WXHTML_HELP
=no
2133 DEFAULT_wxUSE_TREELAYOUT
=no
2134 DEFAULT_wxUSE_METAFILE
=no
2135 DEFAULT_wxUSE_MIMETYPE
=no
2136 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2137 DEFAULT_wxUSE_PROTOCOL
=no
2138 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2139 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2140 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2141 DEFAULT_wxUSE_URL
=no
2143 DEFAULT_wxUSE_COMMONDLGS
=no
2144 DEFAULT_wxUSE_CHOICEDLG
=no
2145 DEFAULT_wxUSE_COLOURDLG
=no
2146 DEFAULT_wxUSE_DIRDLG
=no
2147 DEFAULT_wxUSE_FILEDLG
=no
2148 DEFAULT_wxUSE_FINDREPLDLG
=no
2149 DEFAULT_wxUSE_FONTDLG
=no
2150 DEFAULT_wxUSE_MSGDLG
=no
2151 DEFAULT_wxUSE_NUMBERDLG
=no
2152 DEFAULT_wxUSE_TEXTDLG
=no
2153 DEFAULT_wxUSE_SPLASH
=no
2154 DEFAULT_wxUSE_STARTUP_TIPS
=no
2155 DEFAULT_wxUSE_PROGRESSDLG
=no
2156 DEFAULT_wxUSE_WIZARDDLG
=no
2158 DEFAULT_wxUSE_MENUS
=no
2159 DEFAULT_wxUSE_MINIFRAME
=no
2160 DEFAULT_wxUSE_HTML
=no
2161 DEFAULT_wxUSE_XRC
=no
2162 DEFAULT_wxUSE_WEBKIT
=no
2163 DEFAULT_wxUSE_FILESYSTEM
=no
2164 DEFAULT_wxUSE_FS_INET
=no
2165 DEFAULT_wxUSE_FS_ZIP
=no
2166 DEFAULT_wxUSE_BUSYINFO
=no
2167 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2168 DEFAULT_wxUSE_ZIPSTREAM
=no
2169 DEFAULT_wxUSE_VALIDATORS
=no
2171 DEFAULT_wxUSE_ACCEL
=no
2172 DEFAULT_wxUSE_BUTTON
=no
2173 DEFAULT_wxUSE_BMPBUTTON
=no
2174 DEFAULT_wxUSE_CALCTRL
=no
2175 DEFAULT_wxUSE_CARET
=no
2176 DEFAULT_wxUSE_CHECKBOX
=no
2177 DEFAULT_wxUSE_CHECKLST
=no
2178 DEFAULT_wxUSE_CHOICE
=no
2179 DEFAULT_wxUSE_CHOICEBOOK
=no
2180 DEFAULT_wxUSE_COMBOBOX
=no
2181 DEFAULT_wxUSE_DATEPICKCTRL
=no
2182 DEFAULT_wxUSE_DISPLAY
=no
2183 DEFAULT_wxUSE_GAUGE
=no
2184 DEFAULT_wxUSE_GRID
=no
2185 DEFAULT_wxUSE_IMAGLIST
=no
2186 DEFAULT_wxUSE_LISTBOOK
=no
2187 DEFAULT_wxUSE_LISTBOX
=no
2188 DEFAULT_wxUSE_LISTCTRL
=no
2189 DEFAULT_wxUSE_NOTEBOOK
=no
2190 DEFAULT_wxUSE_RADIOBOX
=no
2191 DEFAULT_wxUSE_RADIOBTN
=no
2192 DEFAULT_wxUSE_SASH
=no
2193 DEFAULT_wxUSE_SCROLLBAR
=no
2194 DEFAULT_wxUSE_SLIDER
=no
2195 DEFAULT_wxUSE_SPINBTN
=no
2196 DEFAULT_wxUSE_SPINCTRL
=no
2197 DEFAULT_wxUSE_SPLITTER
=no
2198 DEFAULT_wxUSE_STATBMP
=no
2199 DEFAULT_wxUSE_STATBOX
=no
2200 DEFAULT_wxUSE_STATLINE
=no
2201 DEFAULT_wxUSE_STATTEXT
=no
2202 DEFAULT_wxUSE_STATUSBAR
=yes
2203 DEFAULT_wxUSE_TABDIALOG
=no
2204 DEFAULT_wxUSE_TEXTCTRL
=no
2205 DEFAULT_wxUSE_TOGGLEBTN
=no
2206 DEFAULT_wxUSE_TOOLBAR
=no
2207 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2208 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2209 DEFAULT_wxUSE_TREECTRL
=no
2210 DEFAULT_wxUSE_POPUPWIN
=no
2211 DEFAULT_wxUSE_TIPWINDOW
=no
2213 DEFAULT_wxUSE_UNICODE
=no
2214 DEFAULT_wxUSE_UNICODE_MSLU
=no
2215 DEFAULT_wxUSE_WCSRTOMBS
=no
2217 DEFAULT_wxUSE_PALETTE
=no
2218 DEFAULT_wxUSE_IMAGE
=no
2219 DEFAULT_wxUSE_GIF
=no
2220 DEFAULT_wxUSE_PCX
=no
2221 DEFAULT_wxUSE_PNM
=no
2222 DEFAULT_wxUSE_IFF
=no
2223 DEFAULT_wxUSE_XPM
=no
2224 DEFAULT_wxUSE_ICO_CUR
=no
2225 DEFAULT_wxUSE_ACCESSIBILITY
=no
2227 DEFAULT_wxUSE_MONOLITHIC
=no
2228 DEFAULT_wxUSE_PLUGINS
=no
2229 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2231 DEFAULT_wxUSE_UNIVERSAL
=no
2232 DEFAULT_wxUSE_STL
=no
2234 DEFAULT_wxUSE_NANOX
=no
2236 DEFAULT_wxUSE_THREADS
=yes
2238 DEFAULT_wxUSE_SHARED
=yes
2239 DEFAULT_wxUSE_OPTIMISE
=yes
2240 DEFAULT_wxUSE_PROFILE
=no
2241 DEFAULT_wxUSE_NO_DEPS
=no
2242 DEFAULT_wxUSE_NO_RTTI
=no
2243 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2244 DEFAULT_wxUSE_RPATH
=yes
2245 DEFAULT_wxUSE_PERMISSIVE
=no
2246 DEFAULT_wxUSE_DEBUG_FLAG
=no
2247 DEFAULT_wxUSE_DEBUG_INFO
=no
2248 DEFAULT_wxUSE_DEBUG_GDB
=no
2249 DEFAULT_wxUSE_MEM_TRACING
=no
2250 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2251 DEFAULT_wxUSE_DMALLOC
=no
2252 DEFAULT_wxUSE_APPLE_IEEE
=yes
2254 DEFAULT_wxUSE_EXCEPTIONS
=yes
2255 DEFAULT_wxUSE_LOG
=yes
2256 DEFAULT_wxUSE_LOGWINDOW
=yes
2257 DEFAULT_wxUSE_LOGGUI
=yes
2258 DEFAULT_wxUSE_LOGDIALOG
=yes
2260 DEFAULT_wxUSE_GUI
=yes
2262 DEFAULT_wxUSE_REGEX
=yes
2263 DEFAULT_wxUSE_XML
=yes
2264 DEFAULT_wxUSE_EXPAT
=yes
2265 DEFAULT_wxUSE_ZLIB
=yes
2266 DEFAULT_wxUSE_LIBPNG
=yes
2267 DEFAULT_wxUSE_LIBJPEG
=yes
2268 DEFAULT_wxUSE_LIBTIFF
=yes
2269 DEFAULT_wxUSE_LIBXPM
=yes
2270 DEFAULT_wxUSE_LIBMSPACK
=yes
2271 DEFAULT_wxUSE_LIBSDL
=no
2272 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2273 DEFAULT_wxUSE_ODBC
=no
2274 DEFAULT_wxUSE_OPENGL
=no
2276 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2277 DEFAULT_wxUSE_STACKWALKER
=yes
2278 DEFAULT_wxUSE_DEBUGREPORT
=yes
2279 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2280 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2281 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2282 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2283 DEFAULT_wxUSE_DATETIME
=yes
2284 DEFAULT_wxUSE_TIMER
=yes
2285 DEFAULT_wxUSE_STOPWATCH
=yes
2286 DEFAULT_wxUSE_FILE
=yes
2287 DEFAULT_wxUSE_FFILE
=yes
2288 DEFAULT_wxUSE_STDPATHS
=yes
2289 DEFAULT_wxUSE_TEXTBUFFER
=yes
2290 DEFAULT_wxUSE_TEXTFILE
=yes
2291 DEFAULT_wxUSE_SOUND
=yes
2292 DEFAULT_wxUSE_MEDIACTRL
=no
2293 DEFAULT_wxUSE_DIRECTSHOW
=no
2294 DEFAULT_wxUSE_INTL
=yes
2295 DEFAULT_wxUSE_CONFIG
=yes
2296 DEFAULT_wxUSE_FONTMAP
=yes
2297 DEFAULT_wxUSE_STREAMS
=yes
2298 DEFAULT_wxUSE_SOCKETS
=yes
2299 DEFAULT_wxUSE_OLE
=yes
2300 DEFAULT_wxUSE_DATAOBJ
=yes
2301 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2302 DEFAULT_wxUSE_JOYSTICK
=yes
2303 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2304 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2305 DEFAULT_wxUSE_LONGLONG
=yes
2306 DEFAULT_wxUSE_GEOMETRY
=yes
2308 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2309 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2310 DEFAULT_wxUSE_POSTSCRIPT
=yes
2312 DEFAULT_wxUSE_CLIPBOARD
=yes
2313 DEFAULT_wxUSE_TOOLTIPS
=yes
2314 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2315 DEFAULT_wxUSE_DRAGIMAGE
=yes
2316 DEFAULT_wxUSE_SPLINES
=yes
2317 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2319 DEFAULT_wxUSE_MDI
=yes
2320 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2321 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2322 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2324 DEFAULT_wxUSE_RESOURCES
=no
2325 DEFAULT_wxUSE_CONSTRAINTS
=yes
2326 DEFAULT_wxUSE_IPC
=yes
2327 DEFAULT_wxUSE_HELP
=yes
2328 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2329 DEFAULT_wxUSE_WXHTML_HELP
=yes
2330 DEFAULT_wxUSE_TREELAYOUT
=yes
2331 DEFAULT_wxUSE_METAFILE
=yes
2332 DEFAULT_wxUSE_MIMETYPE
=yes
2333 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2334 DEFAULT_wxUSE_PROTOCOL
=yes
2335 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2336 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2337 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2338 DEFAULT_wxUSE_URL
=yes
2340 DEFAULT_wxUSE_COMMONDLGS
=yes
2341 DEFAULT_wxUSE_CHOICEDLG
=yes
2342 DEFAULT_wxUSE_COLOURDLG
=yes
2343 DEFAULT_wxUSE_DIRDLG
=yes
2344 DEFAULT_wxUSE_FILEDLG
=yes
2345 DEFAULT_wxUSE_FINDREPLDLG
=yes
2346 DEFAULT_wxUSE_FONTDLG
=yes
2347 DEFAULT_wxUSE_MSGDLG
=yes
2348 DEFAULT_wxUSE_NUMBERDLG
=yes
2349 DEFAULT_wxUSE_TEXTDLG
=yes
2350 DEFAULT_wxUSE_SPLASH
=yes
2351 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2352 DEFAULT_wxUSE_PROGRESSDLG
=yes
2353 DEFAULT_wxUSE_WIZARDDLG
=yes
2355 DEFAULT_wxUSE_MENUS
=yes
2356 DEFAULT_wxUSE_MINIFRAME
=yes
2357 DEFAULT_wxUSE_HTML
=yes
2358 DEFAULT_wxUSE_XRC
=yes
2359 DEFAULT_wxUSE_WEBKIT
=yes
2360 DEFAULT_wxUSE_FILESYSTEM
=yes
2361 DEFAULT_wxUSE_FS_INET
=yes
2362 DEFAULT_wxUSE_FS_ZIP
=yes
2363 DEFAULT_wxUSE_BUSYINFO
=yes
2364 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2365 DEFAULT_wxUSE_ZIPSTREAM
=yes
2366 DEFAULT_wxUSE_VALIDATORS
=yes
2368 DEFAULT_wxUSE_ACCEL
=yes
2369 DEFAULT_wxUSE_BUTTON
=yes
2370 DEFAULT_wxUSE_BMPBUTTON
=yes
2371 DEFAULT_wxUSE_CALCTRL
=yes
2372 DEFAULT_wxUSE_CARET
=yes
2373 DEFAULT_wxUSE_CHECKBOX
=yes
2374 DEFAULT_wxUSE_CHECKLST
=yes
2375 DEFAULT_wxUSE_CHOICE
=yes
2376 DEFAULT_wxUSE_CHOICEBOOK
=yes
2377 DEFAULT_wxUSE_COMBOBOX
=yes
2378 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2379 DEFAULT_wxUSE_DISPLAY
=yes
2380 DEFAULT_wxUSE_GAUGE
=yes
2381 DEFAULT_wxUSE_GRID
=yes
2382 DEFAULT_wxUSE_IMAGLIST
=yes
2383 DEFAULT_wxUSE_LISTBOOK
=yes
2384 DEFAULT_wxUSE_LISTBOX
=yes
2385 DEFAULT_wxUSE_LISTCTRL
=yes
2386 DEFAULT_wxUSE_NOTEBOOK
=yes
2387 DEFAULT_wxUSE_RADIOBOX
=yes
2388 DEFAULT_wxUSE_RADIOBTN
=yes
2389 DEFAULT_wxUSE_SASH
=yes
2390 DEFAULT_wxUSE_SCROLLBAR
=yes
2391 DEFAULT_wxUSE_SLIDER
=yes
2392 DEFAULT_wxUSE_SPINBTN
=yes
2393 DEFAULT_wxUSE_SPINCTRL
=yes
2394 DEFAULT_wxUSE_SPLITTER
=yes
2395 DEFAULT_wxUSE_STATBMP
=yes
2396 DEFAULT_wxUSE_STATBOX
=yes
2397 DEFAULT_wxUSE_STATLINE
=yes
2398 DEFAULT_wxUSE_STATTEXT
=yes
2399 DEFAULT_wxUSE_STATUSBAR
=yes
2400 DEFAULT_wxUSE_TABDIALOG
=no
2401 DEFAULT_wxUSE_TEXTCTRL
=yes
2402 DEFAULT_wxUSE_TOGGLEBTN
=yes
2403 DEFAULT_wxUSE_TOOLBAR
=yes
2404 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2405 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2406 DEFAULT_wxUSE_TREECTRL
=yes
2407 DEFAULT_wxUSE_POPUPWIN
=yes
2408 DEFAULT_wxUSE_TIPWINDOW
=yes
2410 DEFAULT_wxUSE_UNICODE
=no
2411 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2412 DEFAULT_wxUSE_WCSRTOMBS
=no
2414 DEFAULT_wxUSE_PALETTE
=yes
2415 DEFAULT_wxUSE_IMAGE
=yes
2416 DEFAULT_wxUSE_GIF
=yes
2417 DEFAULT_wxUSE_PCX
=yes
2418 DEFAULT_wxUSE_IFF
=no
2419 DEFAULT_wxUSE_PNM
=yes
2420 DEFAULT_wxUSE_XPM
=yes
2421 DEFAULT_wxUSE_ICO_CUR
=yes
2422 DEFAULT_wxUSE_ACCESSIBILITY
=no
2424 DEFAULT_wxUSE_MONOLITHIC
=no
2425 DEFAULT_wxUSE_PLUGINS
=no
2426 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2428 DEFAULT_wxUSE_GTK2
=yes
2434 for toolkit
in `echo $ALL_TOOLKITS`; do
2435 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2436 if test "x$LINE" != "x" ; then
2437 has_toolkit_in_cache
=1
2438 eval "DEFAULT_$LINE"
2439 eval "CACHE_$toolkit=1"
2441 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2442 if test "x$LINE" != "x" ; then
2443 eval "DEFAULT_$LINE"
2451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2452 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2454 # Check whether --enable-gui or --disable-gui was given.
2455 if test "${enable_gui+set}" = set; then
2456 enableval
="$enable_gui"
2458 if test "$enableval" = yes; then
2459 ac_cv_use_gui
='wxUSE_GUI=yes'
2461 ac_cv_use_gui
='wxUSE_GUI=no'
2466 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2467 if test "x$LINE" != x
; then
2468 eval "DEFAULT_$LINE"
2473 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2477 eval "$ac_cv_use_gui"
2478 if test "$no_cache" != 1; then
2479 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2482 if test "$wxUSE_GUI" = yes; then
2483 echo "$as_me:$LINENO: result: yes" >&5
2484 echo "${ECHO_T}yes" >&6
2486 echo "$as_me:$LINENO: result: no" >&5
2487 echo "${ECHO_T}no" >&6
2492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2493 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2495 # Check whether --enable-monolithic or --disable-monolithic was given.
2496 if test "${enable_monolithic+set}" = set; then
2497 enableval
="$enable_monolithic"
2499 if test "$enableval" = yes; then
2500 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2502 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2507 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2508 if test "x$LINE" != x
; then
2509 eval "DEFAULT_$LINE"
2514 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2518 eval "$ac_cv_use_monolithic"
2519 if test "$no_cache" != 1; then
2520 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2523 if test "$wxUSE_MONOLITHIC" = yes; then
2524 echo "$as_me:$LINENO: result: yes" >&5
2525 echo "${ECHO_T}yes" >&6
2527 echo "$as_me:$LINENO: result: no" >&5
2528 echo "${ECHO_T}no" >&6
2533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2534 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2536 # Check whether --enable-plugins or --disable-plugins was given.
2537 if test "${enable_plugins+set}" = set; then
2538 enableval
="$enable_plugins"
2540 if test "$enableval" = yes; then
2541 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2543 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2548 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2549 if test "x$LINE" != x
; then
2550 eval "DEFAULT_$LINE"
2555 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2559 eval "$ac_cv_use_plugins"
2560 if test "$no_cache" != 1; then
2561 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2564 if test "$wxUSE_PLUGINS" = yes; then
2565 echo "$as_me:$LINENO: result: yes" >&5
2566 echo "${ECHO_T}yes" >&6
2568 echo "$as_me:$LINENO: result: no" >&5
2569 echo "${ECHO_T}no" >&6
2573 if test "$wxUSE_GUI" = "yes"; then
2577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2578 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2580 # Check whether --enable-universal or --disable-universal was given.
2581 if test "${enable_universal+set}" = set; then
2582 enableval
="$enable_universal"
2584 if test "$enableval" = yes; then
2585 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2587 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2592 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2593 if test "x$LINE" != x
; then
2594 eval "DEFAULT_$LINE"
2599 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2603 eval "$ac_cv_use_universal"
2604 if test "$no_cache" != 1; then
2605 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2608 if test "$wxUSE_UNIVERSAL" = yes; then
2609 echo "$as_me:$LINENO: result: yes" >&5
2610 echo "${ECHO_T}yes" >&6
2612 echo "$as_me:$LINENO: result: no" >&5
2613 echo "${ECHO_T}no" >&6
2617 # Check whether --with-gtk or --without-gtk was given.
2618 if test "${with_gtk+set}" = set; then
2620 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2623 # Check whether --with-motif or --without-motif was given.
2624 if test "${with_motif+set}" = set; then
2625 withval
="$with_motif"
2626 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2629 # Check whether --with-mac or --without-mac was given.
2630 if test "${with_mac+set}" = set; then
2632 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2635 # Check whether --with-cocoa or --without-cocoa was given.
2636 if test "${with_cocoa+set}" = set; then
2637 withval
="$with_cocoa"
2638 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2641 # Check whether --with-wine or --without-wine was given.
2642 if test "${with_wine+set}" = set; then
2643 withval
="$with_wine"
2644 wxUSE_WINE
="$withval" CACHE_WINE
=1
2647 # Check whether --with-msw or --without-msw was given.
2648 if test "${with_msw+set}" = set; then
2650 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2653 # Check whether --with-pm or --without-pm was given.
2654 if test "${with_pm+set}" = set; then
2656 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2659 # Check whether --with-mgl or --without-mgl was given.
2660 if test "${with_mgl+set}" = set; then
2662 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2665 # Check whether --with-microwin or --without-microwin was given.
2666 if test "${with_microwin+set}" = set; then
2667 withval
="$with_microwin"
2668 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2671 # Check whether --with-x11 or --without-x11 was given.
2672 if test "${with_x11+set}" = set; then
2674 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2679 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2681 # Check whether --enable-nanox or --disable-nanox was given.
2682 if test "${enable_nanox+set}" = set; then
2683 enableval
="$enable_nanox"
2685 if test "$enableval" = yes; then
2686 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2688 ac_cv_use_nanox
='wxUSE_NANOX=no'
2693 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2694 if test "x$LINE" != x
; then
2695 eval "DEFAULT_$LINE"
2700 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2704 eval "$ac_cv_use_nanox"
2705 if test "$no_cache" != 1; then
2706 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2709 if test "$wxUSE_NANOX" = yes; then
2710 echo "$as_me:$LINENO: result: yes" >&5
2711 echo "${ECHO_T}yes" >&6
2713 echo "$as_me:$LINENO: result: no" >&5
2714 echo "${ECHO_T}no" >&6
2718 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2719 if test "${enable_gtk2+set}" = set; then
2720 enableval
="$enable_gtk2"
2721 wxUSE_GTK2
="$enableval"
2725 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2726 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2728 # Check whether --enable-gpe or --disable-gpe was given.
2729 if test "${enable_gpe+set}" = set; then
2730 enableval
="$enable_gpe"
2732 if test "$enableval" = yes; then
2733 ac_cv_use_gpe
='wxUSE_GPE=yes'
2735 ac_cv_use_gpe
='wxUSE_GPE=no'
2740 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2741 if test "x$LINE" != x
; then
2742 eval "DEFAULT_$LINE"
2747 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2751 eval "$ac_cv_use_gpe"
2752 if test "$no_cache" != 1; then
2753 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2756 if test "$wxUSE_GPE" = yes; then
2757 echo "$as_me:$LINENO: result: yes" >&5
2758 echo "${ECHO_T}yes" >&6
2760 echo "$as_me:$LINENO: result: no" >&5
2761 echo "${ECHO_T}no" >&6
2766 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2767 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2770 # Check whether --with-libpng or --without-libpng was given.
2771 if test "${with_libpng+set}" = set; then
2772 withval
="$with_libpng"
2774 if test "$withval" = yes; then
2775 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2776 elif test "$withval" = no
; then
2777 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2778 elif test "$withval" = sys
; then
2779 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2780 elif test "$withval" = builtin; then
2781 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2783 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2784 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2785 { (exit 1); exit 1; }; }
2790 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2791 if test "x$LINE" != x
; then
2792 eval "DEFAULT_$LINE"
2797 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2801 eval "$ac_cv_use_libpng"
2802 if test "$no_cache" != 1; then
2803 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2806 if test "$wxUSE_LIBPNG" = yes; then
2807 echo "$as_me:$LINENO: result: yes" >&5
2808 echo "${ECHO_T}yes" >&6
2809 elif test "$wxUSE_LIBPNG" = no
; then
2810 echo "$as_me:$LINENO: result: no" >&5
2811 echo "${ECHO_T}no" >&6
2812 elif test "$wxUSE_LIBPNG" = sys
; then
2813 echo "$as_me:$LINENO: result: system version" >&5
2814 echo "${ECHO_T}system version" >&6
2815 elif test "$wxUSE_LIBPNG" = builtin; then
2816 echo "$as_me:$LINENO: result: builtin version" >&5
2817 echo "${ECHO_T}builtin version" >&6
2819 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2820 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2821 { (exit 1); exit 1; }; }
2825 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2826 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2829 # Check whether --with-libjpeg or --without-libjpeg was given.
2830 if test "${with_libjpeg+set}" = set; then
2831 withval
="$with_libjpeg"
2833 if test "$withval" = yes; then
2834 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2835 elif test "$withval" = no
; then
2836 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2837 elif test "$withval" = sys
; then
2838 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2839 elif test "$withval" = builtin; then
2840 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2842 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2843 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2844 { (exit 1); exit 1; }; }
2849 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2850 if test "x$LINE" != x
; then
2851 eval "DEFAULT_$LINE"
2856 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2860 eval "$ac_cv_use_libjpeg"
2861 if test "$no_cache" != 1; then
2862 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2865 if test "$wxUSE_LIBJPEG" = yes; then
2866 echo "$as_me:$LINENO: result: yes" >&5
2867 echo "${ECHO_T}yes" >&6
2868 elif test "$wxUSE_LIBJPEG" = no
; then
2869 echo "$as_me:$LINENO: result: no" >&5
2870 echo "${ECHO_T}no" >&6
2871 elif test "$wxUSE_LIBJPEG" = sys
; then
2872 echo "$as_me:$LINENO: result: system version" >&5
2873 echo "${ECHO_T}system version" >&6
2874 elif test "$wxUSE_LIBJPEG" = builtin; then
2875 echo "$as_me:$LINENO: result: builtin version" >&5
2876 echo "${ECHO_T}builtin version" >&6
2878 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2879 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2880 { (exit 1); exit 1; }; }
2884 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2885 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2888 # Check whether --with-libtiff or --without-libtiff was given.
2889 if test "${with_libtiff+set}" = set; then
2890 withval
="$with_libtiff"
2892 if test "$withval" = yes; then
2893 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2894 elif test "$withval" = no
; then
2895 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2896 elif test "$withval" = sys
; then
2897 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2898 elif test "$withval" = builtin; then
2899 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2901 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2902 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2903 { (exit 1); exit 1; }; }
2908 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2909 if test "x$LINE" != x
; then
2910 eval "DEFAULT_$LINE"
2915 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2919 eval "$ac_cv_use_libtiff"
2920 if test "$no_cache" != 1; then
2921 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2924 if test "$wxUSE_LIBTIFF" = yes; then
2925 echo "$as_me:$LINENO: result: yes" >&5
2926 echo "${ECHO_T}yes" >&6
2927 elif test "$wxUSE_LIBTIFF" = no
; then
2928 echo "$as_me:$LINENO: result: no" >&5
2929 echo "${ECHO_T}no" >&6
2930 elif test "$wxUSE_LIBTIFF" = sys
; then
2931 echo "$as_me:$LINENO: result: system version" >&5
2932 echo "${ECHO_T}system version" >&6
2933 elif test "$wxUSE_LIBTIFF" = builtin; then
2934 echo "$as_me:$LINENO: result: builtin version" >&5
2935 echo "${ECHO_T}builtin version" >&6
2937 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2938 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2939 { (exit 1); exit 1; }; }
2943 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2944 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2947 # Check whether --with-libxpm or --without-libxpm was given.
2948 if test "${with_libxpm+set}" = set; then
2949 withval
="$with_libxpm"
2951 if test "$withval" = yes; then
2952 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2953 elif test "$withval" = no
; then
2954 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2955 elif test "$withval" = sys
; then
2956 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2957 elif test "$withval" = builtin; then
2958 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2960 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2961 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2962 { (exit 1); exit 1; }; }
2967 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2968 if test "x$LINE" != x
; then
2969 eval "DEFAULT_$LINE"
2974 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2978 eval "$ac_cv_use_libxpm"
2979 if test "$no_cache" != 1; then
2980 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2983 if test "$wxUSE_LIBXPM" = yes; then
2984 echo "$as_me:$LINENO: result: yes" >&5
2985 echo "${ECHO_T}yes" >&6
2986 elif test "$wxUSE_LIBXPM" = no
; then
2987 echo "$as_me:$LINENO: result: no" >&5
2988 echo "${ECHO_T}no" >&6
2989 elif test "$wxUSE_LIBXPM" = sys
; then
2990 echo "$as_me:$LINENO: result: system version" >&5
2991 echo "${ECHO_T}system version" >&6
2992 elif test "$wxUSE_LIBXPM" = builtin; then
2993 echo "$as_me:$LINENO: result: builtin version" >&5
2994 echo "${ECHO_T}builtin version" >&6
2996 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2997 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2998 { (exit 1); exit 1; }; }
3002 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3003 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3006 # Check whether --with-libmspack or --without-libmspack was given.
3007 if test "${with_libmspack+set}" = set; then
3008 withval
="$with_libmspack"
3010 if test "$withval" = yes; then
3011 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3013 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3018 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3019 if test "x$LINE" != x
; then
3020 eval "DEFAULT_$LINE"
3025 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3029 eval "$ac_cv_use_libmspack"
3030 if test "$no_cache" != 1; then
3031 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3034 if test "$wxUSE_LIBMSPACK" = yes; then
3035 echo "$as_me:$LINENO: result: yes" >&5
3036 echo "${ECHO_T}yes" >&6
3038 echo "$as_me:$LINENO: result: no" >&5
3039 echo "${ECHO_T}no" >&6
3043 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3044 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3047 # Check whether --with-sdl or --without-sdl was given.
3048 if test "${with_sdl+set}" = set; then
3051 if test "$withval" = yes; then
3052 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3054 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3059 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3060 if test "x$LINE" != x
; then
3061 eval "DEFAULT_$LINE"
3066 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3070 eval "$ac_cv_use_sdl"
3071 if test "$no_cache" != 1; then
3072 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3075 if test "$wxUSE_LIBSDL" = yes; then
3076 echo "$as_me:$LINENO: result: yes" >&5
3077 echo "${ECHO_T}yes" >&6
3079 echo "$as_me:$LINENO: result: no" >&5
3080 echo "${ECHO_T}no" >&6
3084 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3085 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3088 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3089 if test "${with_gnomeprint+set}" = set; then
3090 withval
="$with_gnomeprint"
3092 if test "$withval" = yes; then
3093 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3095 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3100 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3101 if test "x$LINE" != x
; then
3102 eval "DEFAULT_$LINE"
3107 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3111 eval "$ac_cv_use_gnomeprint"
3112 if test "$no_cache" != 1; then
3113 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3116 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3117 echo "$as_me:$LINENO: result: yes" >&5
3118 echo "${ECHO_T}yes" >&6
3120 echo "$as_me:$LINENO: result: no" >&5
3121 echo "${ECHO_T}no" >&6
3125 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3126 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3129 # Check whether --with-opengl or --without-opengl was given.
3130 if test "${with_opengl+set}" = set; then
3131 withval
="$with_opengl"
3133 if test "$withval" = yes; then
3134 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3136 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3141 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3142 if test "x$LINE" != x
; then
3143 eval "DEFAULT_$LINE"
3148 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3152 eval "$ac_cv_use_opengl"
3153 if test "$no_cache" != 1; then
3154 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3157 if test "$wxUSE_OPENGL" = yes; then
3158 echo "$as_me:$LINENO: result: yes" >&5
3159 echo "${ECHO_T}yes" >&6
3161 echo "$as_me:$LINENO: result: no" >&5
3162 echo "${ECHO_T}no" >&6
3169 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3170 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3173 # Check whether --with-dmalloc or --without-dmalloc was given.
3174 if test "${with_dmalloc+set}" = set; then
3175 withval
="$with_dmalloc"
3177 if test "$withval" = yes; then
3178 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3180 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3185 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3186 if test "x$LINE" != x
; then
3187 eval "DEFAULT_$LINE"
3192 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3196 eval "$ac_cv_use_dmalloc"
3197 if test "$no_cache" != 1; then
3198 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3201 if test "$wxUSE_DMALLOC" = yes; then
3202 echo "$as_me:$LINENO: result: yes" >&5
3203 echo "${ECHO_T}yes" >&6
3205 echo "$as_me:$LINENO: result: no" >&5
3206 echo "${ECHO_T}no" >&6
3210 echo "$as_me:$LINENO: checking for --with-regex" >&5
3211 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3214 # Check whether --with-regex or --without-regex was given.
3215 if test "${with_regex+set}" = set; then
3216 withval
="$with_regex"
3218 if test "$withval" = yes; then
3219 ac_cv_use_regex
='wxUSE_REGEX=yes'
3220 elif test "$withval" = no
; then
3221 ac_cv_use_regex
='wxUSE_REGEX=no'
3222 elif test "$withval" = sys
; then
3223 ac_cv_use_regex
='wxUSE_REGEX=sys'
3224 elif test "$withval" = builtin; then
3225 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3227 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3228 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3229 { (exit 1); exit 1; }; }
3234 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3235 if test "x$LINE" != x
; then
3236 eval "DEFAULT_$LINE"
3241 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3245 eval "$ac_cv_use_regex"
3246 if test "$no_cache" != 1; then
3247 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3250 if test "$wxUSE_REGEX" = yes; then
3251 echo "$as_me:$LINENO: result: yes" >&5
3252 echo "${ECHO_T}yes" >&6
3253 elif test "$wxUSE_REGEX" = no
; then
3254 echo "$as_me:$LINENO: result: no" >&5
3255 echo "${ECHO_T}no" >&6
3256 elif test "$wxUSE_REGEX" = sys
; then
3257 echo "$as_me:$LINENO: result: system version" >&5
3258 echo "${ECHO_T}system version" >&6
3259 elif test "$wxUSE_REGEX" = builtin; then
3260 echo "$as_me:$LINENO: result: builtin version" >&5
3261 echo "${ECHO_T}builtin version" >&6
3263 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3264 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3265 { (exit 1); exit 1; }; }
3269 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3270 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3273 # Check whether --with-zlib or --without-zlib was given.
3274 if test "${with_zlib+set}" = set; then
3275 withval
="$with_zlib"
3277 if test "$withval" = yes; then
3278 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3279 elif test "$withval" = no
; then
3280 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3281 elif test "$withval" = sys
; then
3282 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3283 elif test "$withval" = builtin; then
3284 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3286 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3287 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3288 { (exit 1); exit 1; }; }
3293 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3294 if test "x$LINE" != x
; then
3295 eval "DEFAULT_$LINE"
3300 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3304 eval "$ac_cv_use_zlib"
3305 if test "$no_cache" != 1; then
3306 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3309 if test "$wxUSE_ZLIB" = yes; then
3310 echo "$as_me:$LINENO: result: yes" >&5
3311 echo "${ECHO_T}yes" >&6
3312 elif test "$wxUSE_ZLIB" = no
; then
3313 echo "$as_me:$LINENO: result: no" >&5
3314 echo "${ECHO_T}no" >&6
3315 elif test "$wxUSE_ZLIB" = sys
; then
3316 echo "$as_me:$LINENO: result: system version" >&5
3317 echo "${ECHO_T}system version" >&6
3318 elif test "$wxUSE_ZLIB" = builtin; then
3319 echo "$as_me:$LINENO: result: builtin version" >&5
3320 echo "${ECHO_T}builtin version" >&6
3322 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3323 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3324 { (exit 1); exit 1; }; }
3328 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3329 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3332 # Check whether --with-odbc or --without-odbc was given.
3333 if test "${with_odbc+set}" = set; then
3334 withval
="$with_odbc"
3336 if test "$withval" = yes; then
3337 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3338 elif test "$withval" = no
; then
3339 ac_cv_use_odbc
='wxUSE_ODBC=no'
3340 elif test "$withval" = sys
; then
3341 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3342 elif test "$withval" = builtin; then
3343 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3345 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3346 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3347 { (exit 1); exit 1; }; }
3352 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3353 if test "x$LINE" != x
; then
3354 eval "DEFAULT_$LINE"
3359 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3363 eval "$ac_cv_use_odbc"
3364 if test "$no_cache" != 1; then
3365 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3368 if test "$wxUSE_ODBC" = yes; then
3369 echo "$as_me:$LINENO: result: yes" >&5
3370 echo "${ECHO_T}yes" >&6
3371 elif test "$wxUSE_ODBC" = no
; then
3372 echo "$as_me:$LINENO: result: no" >&5
3373 echo "${ECHO_T}no" >&6
3374 elif test "$wxUSE_ODBC" = sys
; then
3375 echo "$as_me:$LINENO: result: system version" >&5
3376 echo "${ECHO_T}system version" >&6
3377 elif test "$wxUSE_ODBC" = builtin; then
3378 echo "$as_me:$LINENO: result: builtin version" >&5
3379 echo "${ECHO_T}builtin version" >&6
3381 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3382 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3383 { (exit 1); exit 1; }; }
3387 echo "$as_me:$LINENO: checking for --with-expat" >&5
3388 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3391 # Check whether --with-expat or --without-expat was given.
3392 if test "${with_expat+set}" = set; then
3393 withval
="$with_expat"
3395 if test "$withval" = yes; then
3396 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3397 elif test "$withval" = no
; then
3398 ac_cv_use_expat
='wxUSE_EXPAT=no'
3399 elif test "$withval" = sys
; then
3400 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3401 elif test "$withval" = builtin; then
3402 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3404 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3405 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3406 { (exit 1); exit 1; }; }
3411 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3412 if test "x$LINE" != x
; then
3413 eval "DEFAULT_$LINE"
3418 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3422 eval "$ac_cv_use_expat"
3423 if test "$no_cache" != 1; then
3424 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3427 if test "$wxUSE_EXPAT" = yes; then
3428 echo "$as_me:$LINENO: result: yes" >&5
3429 echo "${ECHO_T}yes" >&6
3430 elif test "$wxUSE_EXPAT" = no
; then
3431 echo "$as_me:$LINENO: result: no" >&5
3432 echo "${ECHO_T}no" >&6
3433 elif test "$wxUSE_EXPAT" = sys
; then
3434 echo "$as_me:$LINENO: result: system version" >&5
3435 echo "${ECHO_T}system version" >&6
3436 elif test "$wxUSE_EXPAT" = builtin; then
3437 echo "$as_me:$LINENO: result: builtin version" >&5
3438 echo "${ECHO_T}builtin version" >&6
3440 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3441 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3442 { (exit 1); exit 1; }; }
3449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3450 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3452 # Check whether --enable-shared or --disable-shared was given.
3453 if test "${enable_shared+set}" = set; then
3454 enableval
="$enable_shared"
3456 if test "$enableval" = yes; then
3457 ac_cv_use_shared
='wxUSE_SHARED=yes'
3459 ac_cv_use_shared
='wxUSE_SHARED=no'
3464 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3465 if test "x$LINE" != x
; then
3466 eval "DEFAULT_$LINE"
3471 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3475 eval "$ac_cv_use_shared"
3476 if test "$no_cache" != 1; then
3477 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3480 if test "$wxUSE_SHARED" = yes; then
3481 echo "$as_me:$LINENO: result: yes" >&5
3482 echo "${ECHO_T}yes" >&6
3484 echo "$as_me:$LINENO: result: no" >&5
3485 echo "${ECHO_T}no" >&6
3490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3491 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3493 # Check whether --enable-optimise or --disable-optimise was given.
3494 if test "${enable_optimise+set}" = set; then
3495 enableval
="$enable_optimise"
3497 if test "$enableval" = yes; then
3498 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3500 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3505 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3506 if test "x$LINE" != x
; then
3507 eval "DEFAULT_$LINE"
3512 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3516 eval "$ac_cv_use_optimise"
3517 if test "$no_cache" != 1; then
3518 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3521 if test "$wxUSE_OPTIMISE" = yes; then
3522 echo "$as_me:$LINENO: result: yes" >&5
3523 echo "${ECHO_T}yes" >&6
3525 echo "$as_me:$LINENO: result: no" >&5
3526 echo "${ECHO_T}no" >&6
3531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3532 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3534 # Check whether --enable-debug or --disable-debug was given.
3535 if test "${enable_debug+set}" = set; then
3536 enableval
="$enable_debug"
3538 if test "$enableval" = yes; then
3539 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3541 ac_cv_use_debug
='wxUSE_DEBUG=no'
3546 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3547 if test "x$LINE" != x
; then
3548 eval "DEFAULT_$LINE"
3553 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3557 eval "$ac_cv_use_debug"
3558 if test "$no_cache" != 1; then
3559 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3562 if test "$wxUSE_DEBUG" = yes; then
3563 echo "$as_me:$LINENO: result: yes" >&5
3564 echo "${ECHO_T}yes" >&6
3566 echo "$as_me:$LINENO: result: no" >&5
3567 echo "${ECHO_T}no" >&6
3572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3573 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3575 # Check whether --enable-stl or --disable-stl was given.
3576 if test "${enable_stl+set}" = set; then
3577 enableval
="$enable_stl"
3579 if test "$enableval" = yes; then
3580 ac_cv_use_stl
='wxUSE_STL=yes'
3582 ac_cv_use_stl
='wxUSE_STL=no'
3587 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3588 if test "x$LINE" != x
; then
3589 eval "DEFAULT_$LINE"
3594 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3598 eval "$ac_cv_use_stl"
3599 if test "$no_cache" != 1; then
3600 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3603 if test "$wxUSE_STL" = yes; then
3604 echo "$as_me:$LINENO: result: yes" >&5
3605 echo "${ECHO_T}yes" >&6
3607 echo "$as_me:$LINENO: result: no" >&5
3608 echo "${ECHO_T}no" >&6
3611 if test "$USE_OS2" = "1"; then
3612 DEFAULT_wxUSE_OMF
=no
3615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3616 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3618 # Check whether --enable-omf or --disable-omf was given.
3619 if test "${enable_omf+set}" = set; then
3620 enableval
="$enable_omf"
3622 if test "$enableval" = yes; then
3623 ac_cv_use_omf
='wxUSE_OMF=yes'
3625 ac_cv_use_omf
='wxUSE_OMF=no'
3630 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3631 if test "x$LINE" != x
; then
3632 eval "DEFAULT_$LINE"
3637 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3641 eval "$ac_cv_use_omf"
3642 if test "$no_cache" != 1; then
3643 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3646 if test "$wxUSE_OMF" = yes; then
3647 echo "$as_me:$LINENO: result: yes" >&5
3648 echo "${ECHO_T}yes" >&6
3650 echo "$as_me:$LINENO: result: no" >&5
3651 echo "${ECHO_T}no" >&6
3656 if test "$wxUSE_DEBUG" = "yes"; then
3657 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3658 DEFAULT_wxUSE_DEBUG_INFO
=yes
3660 elif test "$wxUSE_DEBUG" = "no"; then
3661 DEFAULT_wxUSE_DEBUG_FLAG
=no
3662 DEFAULT_wxUSE_DEBUG_INFO
=no
3668 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3669 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3671 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3672 if test "${enable_debug_flag+set}" = set; then
3673 enableval
="$enable_debug_flag"
3675 if test "$enableval" = yes; then
3676 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3678 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3683 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3684 if test "x$LINE" != x
; then
3685 eval "DEFAULT_$LINE"
3690 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3694 eval "$ac_cv_use_debug_flag"
3695 if test "$no_cache" != 1; then
3696 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3699 if test "$wxUSE_DEBUG_FLAG" = yes; then
3700 echo "$as_me:$LINENO: result: yes" >&5
3701 echo "${ECHO_T}yes" >&6
3703 echo "$as_me:$LINENO: result: no" >&5
3704 echo "${ECHO_T}no" >&6
3709 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3710 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3712 # Check whether --enable-debug_info or --disable-debug_info was given.
3713 if test "${enable_debug_info+set}" = set; then
3714 enableval
="$enable_debug_info"
3716 if test "$enableval" = yes; then
3717 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3719 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3724 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3725 if test "x$LINE" != x
; then
3726 eval "DEFAULT_$LINE"
3731 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3735 eval "$ac_cv_use_debug_info"
3736 if test "$no_cache" != 1; then
3737 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3740 if test "$wxUSE_DEBUG_INFO" = yes; then
3741 echo "$as_me:$LINENO: result: yes" >&5
3742 echo "${ECHO_T}yes" >&6
3744 echo "$as_me:$LINENO: result: no" >&5
3745 echo "${ECHO_T}no" >&6
3750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3751 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3753 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3754 if test "${enable_debug_gdb+set}" = set; then
3755 enableval
="$enable_debug_gdb"
3757 if test "$enableval" = yes; then
3758 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3760 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3765 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3766 if test "x$LINE" != x
; then
3767 eval "DEFAULT_$LINE"
3772 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3776 eval "$ac_cv_use_debug_gdb"
3777 if test "$no_cache" != 1; then
3778 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3781 if test "$wxUSE_DEBUG_GDB" = yes; then
3782 echo "$as_me:$LINENO: result: yes" >&5
3783 echo "${ECHO_T}yes" >&6
3785 echo "$as_me:$LINENO: result: no" >&5
3786 echo "${ECHO_T}no" >&6
3791 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3792 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3794 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3795 if test "${enable_debug_cntxt+set}" = set; then
3796 enableval
="$enable_debug_cntxt"
3798 if test "$enableval" = yes; then
3799 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3801 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3806 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3807 if test "x$LINE" != x
; then
3808 eval "DEFAULT_$LINE"
3813 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3817 eval "$ac_cv_use_debug_cntxt"
3818 if test "$no_cache" != 1; then
3819 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3822 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3823 echo "$as_me:$LINENO: result: yes" >&5
3824 echo "${ECHO_T}yes" >&6
3826 echo "$as_me:$LINENO: result: no" >&5
3827 echo "${ECHO_T}no" >&6
3832 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3833 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3835 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3836 if test "${enable_mem_tracing+set}" = set; then
3837 enableval
="$enable_mem_tracing"
3839 if test "$enableval" = yes; then
3840 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3842 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3847 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3848 if test "x$LINE" != x
; then
3849 eval "DEFAULT_$LINE"
3854 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3858 eval "$ac_cv_use_mem_tracing"
3859 if test "$no_cache" != 1; then
3860 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3863 if test "$wxUSE_MEM_TRACING" = yes; then
3864 echo "$as_me:$LINENO: result: yes" >&5
3865 echo "${ECHO_T}yes" >&6
3867 echo "$as_me:$LINENO: result: no" >&5
3868 echo "${ECHO_T}no" >&6
3873 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3874 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3876 # Check whether --enable-profile or --disable-profile was given.
3877 if test "${enable_profile+set}" = set; then
3878 enableval
="$enable_profile"
3880 if test "$enableval" = yes; then
3881 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3883 ac_cv_use_profile
='wxUSE_PROFILE=no'
3888 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3889 if test "x$LINE" != x
; then
3890 eval "DEFAULT_$LINE"
3895 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3899 eval "$ac_cv_use_profile"
3900 if test "$no_cache" != 1; then
3901 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3904 if test "$wxUSE_PROFILE" = yes; then
3905 echo "$as_me:$LINENO: result: yes" >&5
3906 echo "${ECHO_T}yes" >&6
3908 echo "$as_me:$LINENO: result: no" >&5
3909 echo "${ECHO_T}no" >&6
3914 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3915 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3917 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3918 if test "${enable_no_rtti+set}" = set; then
3919 enableval
="$enable_no_rtti"
3921 if test "$enableval" = yes; then
3922 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3924 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3929 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3930 if test "x$LINE" != x
; then
3931 eval "DEFAULT_$LINE"
3936 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3940 eval "$ac_cv_use_no_rtti"
3941 if test "$no_cache" != 1; then
3942 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3945 if test "$wxUSE_NO_RTTI" = yes; then
3946 echo "$as_me:$LINENO: result: yes" >&5
3947 echo "${ECHO_T}yes" >&6
3949 echo "$as_me:$LINENO: result: no" >&5
3950 echo "${ECHO_T}no" >&6
3955 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3956 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3958 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3959 if test "${enable_no_exceptions+set}" = set; then
3960 enableval
="$enable_no_exceptions"
3962 if test "$enableval" = yes; then
3963 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3965 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3970 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3971 if test "x$LINE" != x
; then
3972 eval "DEFAULT_$LINE"
3977 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3981 eval "$ac_cv_use_no_exceptions"
3982 if test "$no_cache" != 1; then
3983 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3986 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3987 echo "$as_me:$LINENO: result: yes" >&5
3988 echo "${ECHO_T}yes" >&6
3990 echo "$as_me:$LINENO: result: no" >&5
3991 echo "${ECHO_T}no" >&6
3996 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3997 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3999 # Check whether --enable-permissive or --disable-permissive was given.
4000 if test "${enable_permissive+set}" = set; then
4001 enableval
="$enable_permissive"
4003 if test "$enableval" = yes; then
4004 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4006 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4011 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4012 if test "x$LINE" != x
; then
4013 eval "DEFAULT_$LINE"
4018 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4022 eval "$ac_cv_use_permissive"
4023 if test "$no_cache" != 1; then
4024 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4027 if test "$wxUSE_PERMISSIVE" = yes; then
4028 echo "$as_me:$LINENO: result: yes" >&5
4029 echo "${ECHO_T}yes" >&6
4031 echo "$as_me:$LINENO: result: no" >&5
4032 echo "${ECHO_T}no" >&6
4037 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4038 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4040 # Check whether --enable-no_deps or --disable-no_deps was given.
4041 if test "${enable_no_deps+set}" = set; then
4042 enableval
="$enable_no_deps"
4044 if test "$enableval" = yes; then
4045 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4047 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4052 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4053 if test "x$LINE" != x
; then
4054 eval "DEFAULT_$LINE"
4059 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4063 eval "$ac_cv_use_no_deps"
4064 if test "$no_cache" != 1; then
4065 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4068 if test "$wxUSE_NO_DEPS" = yes; then
4069 echo "$as_me:$LINENO: result: yes" >&5
4070 echo "${ECHO_T}yes" >&6
4072 echo "$as_me:$LINENO: result: no" >&5
4073 echo "${ECHO_T}no" >&6
4079 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4080 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4082 # Check whether --enable-compat22 or --disable-compat22 was given.
4083 if test "${enable_compat22+set}" = set; then
4084 enableval
="$enable_compat22"
4086 if test "$enableval" = yes; then
4087 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4089 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4094 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4095 if test "x$LINE" != x
; then
4096 eval "DEFAULT_$LINE"
4101 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4105 eval "$ac_cv_use_compat22"
4106 if test "$no_cache" != 1; then
4107 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4110 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4111 echo "$as_me:$LINENO: result: yes" >&5
4112 echo "${ECHO_T}yes" >&6
4114 echo "$as_me:$LINENO: result: no" >&5
4115 echo "${ECHO_T}no" >&6
4119 enablestring
=disable
4120 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4121 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4123 # Check whether --enable-compat24 or --disable-compat24 was given.
4124 if test "${enable_compat24+set}" = set; then
4125 enableval
="$enable_compat24"
4127 if test "$enableval" = yes; then
4128 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4130 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4135 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4136 if test "x$LINE" != x
; then
4137 eval "DEFAULT_$LINE"
4142 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4146 eval "$ac_cv_use_compat24"
4147 if test "$no_cache" != 1; then
4148 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4151 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4152 echo "$as_me:$LINENO: result: yes" >&5
4153 echo "${ECHO_T}yes" >&6
4155 echo "$as_me:$LINENO: result: no" >&5
4156 echo "${ECHO_T}no" >&6
4162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4163 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4165 # Check whether --enable-rpath or --disable-rpath was given.
4166 if test "${enable_rpath+set}" = set; then
4167 enableval
="$enable_rpath"
4169 if test "$enableval" = yes; then
4170 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4172 ac_cv_use_rpath
='wxUSE_RPATH=no'
4177 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4178 if test "x$LINE" != x
; then
4179 eval "DEFAULT_$LINE"
4184 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4188 eval "$ac_cv_use_rpath"
4189 if test "$no_cache" != 1; then
4190 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4193 if test "$wxUSE_RPATH" = yes; then
4194 echo "$as_me:$LINENO: result: yes" >&5
4195 echo "${ECHO_T}yes" >&6
4197 echo "$as_me:$LINENO: result: no" >&5
4198 echo "${ECHO_T}no" >&6
4206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4207 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4209 # Check whether --enable-intl or --disable-intl was given.
4210 if test "${enable_intl+set}" = set; then
4211 enableval
="$enable_intl"
4213 if test "$enableval" = yes; then
4214 ac_cv_use_intl
='wxUSE_INTL=yes'
4216 ac_cv_use_intl
='wxUSE_INTL=no'
4221 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4222 if test "x$LINE" != x
; then
4223 eval "DEFAULT_$LINE"
4228 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4232 eval "$ac_cv_use_intl"
4233 if test "$no_cache" != 1; then
4234 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4237 if test "$wxUSE_INTL" = yes; then
4238 echo "$as_me:$LINENO: result: yes" >&5
4239 echo "${ECHO_T}yes" >&6
4241 echo "$as_me:$LINENO: result: no" >&5
4242 echo "${ECHO_T}no" >&6
4247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4248 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4250 # Check whether --enable-config or --disable-config was given.
4251 if test "${enable_config+set}" = set; then
4252 enableval
="$enable_config"
4254 if test "$enableval" = yes; then
4255 ac_cv_use_config
='wxUSE_CONFIG=yes'
4257 ac_cv_use_config
='wxUSE_CONFIG=no'
4262 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4263 if test "x$LINE" != x
; then
4264 eval "DEFAULT_$LINE"
4269 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4273 eval "$ac_cv_use_config"
4274 if test "$no_cache" != 1; then
4275 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4278 if test "$wxUSE_CONFIG" = yes; then
4279 echo "$as_me:$LINENO: result: yes" >&5
4280 echo "${ECHO_T}yes" >&6
4282 echo "$as_me:$LINENO: result: no" >&5
4283 echo "${ECHO_T}no" >&6
4289 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4290 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4292 # Check whether --enable-protocols or --disable-protocols was given.
4293 if test "${enable_protocols+set}" = set; then
4294 enableval
="$enable_protocols"
4296 if test "$enableval" = yes; then
4297 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4299 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4304 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4305 if test "x$LINE" != x
; then
4306 eval "DEFAULT_$LINE"
4311 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4315 eval "$ac_cv_use_protocols"
4316 if test "$no_cache" != 1; then
4317 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4320 if test "$wxUSE_PROTOCOL" = yes; then
4321 echo "$as_me:$LINENO: result: yes" >&5
4322 echo "${ECHO_T}yes" >&6
4324 echo "$as_me:$LINENO: result: no" >&5
4325 echo "${ECHO_T}no" >&6
4330 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4331 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4333 # Check whether --enable-ftp or --disable-ftp was given.
4334 if test "${enable_ftp+set}" = set; then
4335 enableval
="$enable_ftp"
4337 if test "$enableval" = yes; then
4338 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4340 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4345 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4346 if test "x$LINE" != x
; then
4347 eval "DEFAULT_$LINE"
4352 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4356 eval "$ac_cv_use_ftp"
4357 if test "$no_cache" != 1; then
4358 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4361 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4362 echo "$as_me:$LINENO: result: yes" >&5
4363 echo "${ECHO_T}yes" >&6
4365 echo "$as_me:$LINENO: result: no" >&5
4366 echo "${ECHO_T}no" >&6
4371 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4372 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4374 # Check whether --enable-http or --disable-http was given.
4375 if test "${enable_http+set}" = set; then
4376 enableval
="$enable_http"
4378 if test "$enableval" = yes; then
4379 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4381 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4386 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4387 if test "x$LINE" != x
; then
4388 eval "DEFAULT_$LINE"
4393 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4397 eval "$ac_cv_use_http"
4398 if test "$no_cache" != 1; then
4399 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4402 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4403 echo "$as_me:$LINENO: result: yes" >&5
4404 echo "${ECHO_T}yes" >&6
4406 echo "$as_me:$LINENO: result: no" >&5
4407 echo "${ECHO_T}no" >&6
4412 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4413 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4415 # Check whether --enable-fileproto or --disable-fileproto was given.
4416 if test "${enable_fileproto+set}" = set; then
4417 enableval
="$enable_fileproto"
4419 if test "$enableval" = yes; then
4420 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4422 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4427 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4428 if test "x$LINE" != x
; then
4429 eval "DEFAULT_$LINE"
4434 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4438 eval "$ac_cv_use_fileproto"
4439 if test "$no_cache" != 1; then
4440 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4443 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4444 echo "$as_me:$LINENO: result: yes" >&5
4445 echo "${ECHO_T}yes" >&6
4447 echo "$as_me:$LINENO: result: no" >&5
4448 echo "${ECHO_T}no" >&6
4453 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4454 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4456 # Check whether --enable-sockets or --disable-sockets was given.
4457 if test "${enable_sockets+set}" = set; then
4458 enableval
="$enable_sockets"
4460 if test "$enableval" = yes; then
4461 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4463 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4468 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4469 if test "x$LINE" != x
; then
4470 eval "DEFAULT_$LINE"
4475 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4479 eval "$ac_cv_use_sockets"
4480 if test "$no_cache" != 1; then
4481 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4484 if test "$wxUSE_SOCKETS" = yes; then
4485 echo "$as_me:$LINENO: result: yes" >&5
4486 echo "${ECHO_T}yes" >&6
4488 echo "$as_me:$LINENO: result: no" >&5
4489 echo "${ECHO_T}no" >&6
4494 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4495 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4497 # Check whether --enable-ole or --disable-ole was given.
4498 if test "${enable_ole+set}" = set; then
4499 enableval
="$enable_ole"
4501 if test "$enableval" = yes; then
4502 ac_cv_use_ole
='wxUSE_OLE=yes'
4504 ac_cv_use_ole
='wxUSE_OLE=no'
4509 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4510 if test "x$LINE" != x
; then
4511 eval "DEFAULT_$LINE"
4516 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4520 eval "$ac_cv_use_ole"
4521 if test "$no_cache" != 1; then
4522 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4525 if test "$wxUSE_OLE" = yes; then
4526 echo "$as_me:$LINENO: result: yes" >&5
4527 echo "${ECHO_T}yes" >&6
4529 echo "$as_me:$LINENO: result: no" >&5
4530 echo "${ECHO_T}no" >&6
4535 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4536 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4538 # Check whether --enable-dataobj or --disable-dataobj was given.
4539 if test "${enable_dataobj+set}" = set; then
4540 enableval
="$enable_dataobj"
4542 if test "$enableval" = yes; then
4543 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4545 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4550 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4551 if test "x$LINE" != x
; then
4552 eval "DEFAULT_$LINE"
4557 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4561 eval "$ac_cv_use_dataobj"
4562 if test "$no_cache" != 1; then
4563 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4566 if test "$wxUSE_DATAOBJ" = yes; then
4567 echo "$as_me:$LINENO: result: yes" >&5
4568 echo "${ECHO_T}yes" >&6
4570 echo "$as_me:$LINENO: result: no" >&5
4571 echo "${ECHO_T}no" >&6
4577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4578 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4580 # Check whether --enable-ipc or --disable-ipc was given.
4581 if test "${enable_ipc+set}" = set; then
4582 enableval
="$enable_ipc"
4584 if test "$enableval" = yes; then
4585 ac_cv_use_ipc
='wxUSE_IPC=yes'
4587 ac_cv_use_ipc
='wxUSE_IPC=no'
4592 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4593 if test "x$LINE" != x
; then
4594 eval "DEFAULT_$LINE"
4599 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4603 eval "$ac_cv_use_ipc"
4604 if test "$no_cache" != 1; then
4605 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4608 if test "$wxUSE_IPC" = yes; then
4609 echo "$as_me:$LINENO: result: yes" >&5
4610 echo "${ECHO_T}yes" >&6
4612 echo "$as_me:$LINENO: result: no" >&5
4613 echo "${ECHO_T}no" >&6
4619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4620 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4622 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4623 if test "${enable_apple_ieee+set}" = set; then
4624 enableval
="$enable_apple_ieee"
4626 if test "$enableval" = yes; then
4627 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4629 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4634 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4635 if test "x$LINE" != x
; then
4636 eval "DEFAULT_$LINE"
4641 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4645 eval "$ac_cv_use_apple_ieee"
4646 if test "$no_cache" != 1; then
4647 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4650 if test "$wxUSE_APPLE_IEEE" = yes; then
4651 echo "$as_me:$LINENO: result: yes" >&5
4652 echo "${ECHO_T}yes" >&6
4654 echo "$as_me:$LINENO: result: no" >&5
4655 echo "${ECHO_T}no" >&6
4660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4661 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4663 # Check whether --enable-arcstream or --disable-arcstream was given.
4664 if test "${enable_arcstream+set}" = set; then
4665 enableval
="$enable_arcstream"
4667 if test "$enableval" = yes; then
4668 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
4670 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
4675 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4676 if test "x$LINE" != x
; then
4677 eval "DEFAULT_$LINE"
4682 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4686 eval "$ac_cv_use_arcstream"
4687 if test "$no_cache" != 1; then
4688 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4691 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4692 echo "$as_me:$LINENO: result: yes" >&5
4693 echo "${ECHO_T}yes" >&6
4695 echo "$as_me:$LINENO: result: no" >&5
4696 echo "${ECHO_T}no" >&6
4701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4702 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4704 # Check whether --enable-backtrace or --disable-backtrace was given.
4705 if test "${enable_backtrace+set}" = set; then
4706 enableval
="$enable_backtrace"
4708 if test "$enableval" = yes; then
4709 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
4711 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
4716 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4717 if test "x$LINE" != x
; then
4718 eval "DEFAULT_$LINE"
4723 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4727 eval "$ac_cv_use_backtrace"
4728 if test "$no_cache" != 1; then
4729 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4732 if test "$wxUSE_STACKWALKER" = yes; then
4733 echo "$as_me:$LINENO: result: yes" >&5
4734 echo "${ECHO_T}yes" >&6
4736 echo "$as_me:$LINENO: result: no" >&5
4737 echo "${ECHO_T}no" >&6
4742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4743 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4745 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4746 if test "${enable_catch_segvs+set}" = set; then
4747 enableval
="$enable_catch_segvs"
4749 if test "$enableval" = yes; then
4750 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4752 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4757 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4758 if test "x$LINE" != x
; then
4759 eval "DEFAULT_$LINE"
4764 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4768 eval "$ac_cv_use_catch_segvs"
4769 if test "$no_cache" != 1; then
4770 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4773 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4774 echo "$as_me:$LINENO: result: yes" >&5
4775 echo "${ECHO_T}yes" >&6
4777 echo "$as_me:$LINENO: result: no" >&5
4778 echo "${ECHO_T}no" >&6
4783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4784 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4786 # Check whether --enable-cmdline or --disable-cmdline was given.
4787 if test "${enable_cmdline+set}" = set; then
4788 enableval
="$enable_cmdline"
4790 if test "$enableval" = yes; then
4791 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4793 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4798 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4799 if test "x$LINE" != x
; then
4800 eval "DEFAULT_$LINE"
4805 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4809 eval "$ac_cv_use_cmdline"
4810 if test "$no_cache" != 1; then
4811 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4814 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4815 echo "$as_me:$LINENO: result: yes" >&5
4816 echo "${ECHO_T}yes" >&6
4818 echo "$as_me:$LINENO: result: no" >&5
4819 echo "${ECHO_T}no" >&6
4824 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4825 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4827 # Check whether --enable-datetime or --disable-datetime was given.
4828 if test "${enable_datetime+set}" = set; then
4829 enableval
="$enable_datetime"
4831 if test "$enableval" = yes; then
4832 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4834 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4839 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4840 if test "x$LINE" != x
; then
4841 eval "DEFAULT_$LINE"
4846 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4850 eval "$ac_cv_use_datetime"
4851 if test "$no_cache" != 1; then
4852 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4855 if test "$wxUSE_DATETIME" = yes; then
4856 echo "$as_me:$LINENO: result: yes" >&5
4857 echo "${ECHO_T}yes" >&6
4859 echo "$as_me:$LINENO: result: no" >&5
4860 echo "${ECHO_T}no" >&6
4865 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4866 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4868 # Check whether --enable-debugreport or --disable-debugreport was given.
4869 if test "${enable_debugreport+set}" = set; then
4870 enableval
="$enable_debugreport"
4872 if test "$enableval" = yes; then
4873 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
4875 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
4880 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4881 if test "x$LINE" != x
; then
4882 eval "DEFAULT_$LINE"
4887 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
4891 eval "$ac_cv_use_debugreport"
4892 if test "$no_cache" != 1; then
4893 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4896 if test "$wxUSE_DEBUGREPORT" = yes; then
4897 echo "$as_me:$LINENO: result: yes" >&5
4898 echo "${ECHO_T}yes" >&6
4900 echo "$as_me:$LINENO: result: no" >&5
4901 echo "${ECHO_T}no" >&6
4906 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4907 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4909 # Check whether --enable-dialupman or --disable-dialupman was given.
4910 if test "${enable_dialupman+set}" = set; then
4911 enableval
="$enable_dialupman"
4913 if test "$enableval" = yes; then
4914 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4916 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4921 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4922 if test "x$LINE" != x
; then
4923 eval "DEFAULT_$LINE"
4928 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4932 eval "$ac_cv_use_dialupman"
4933 if test "$no_cache" != 1; then
4934 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4937 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4938 echo "$as_me:$LINENO: result: yes" >&5
4939 echo "${ECHO_T}yes" >&6
4941 echo "$as_me:$LINENO: result: no" >&5
4942 echo "${ECHO_T}no" >&6
4947 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4948 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4950 # Check whether --enable-dynlib or --disable-dynlib was given.
4951 if test "${enable_dynlib+set}" = set; then
4952 enableval
="$enable_dynlib"
4954 if test "$enableval" = yes; then
4955 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4957 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4962 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4963 if test "x$LINE" != x
; then
4964 eval "DEFAULT_$LINE"
4969 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4973 eval "$ac_cv_use_dynlib"
4974 if test "$no_cache" != 1; then
4975 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4978 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4979 echo "$as_me:$LINENO: result: yes" >&5
4980 echo "${ECHO_T}yes" >&6
4982 echo "$as_me:$LINENO: result: no" >&5
4983 echo "${ECHO_T}no" >&6
4988 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4989 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4991 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4992 if test "${enable_dynamicloader+set}" = set; then
4993 enableval
="$enable_dynamicloader"
4995 if test "$enableval" = yes; then
4996 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4998 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5003 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5004 if test "x$LINE" != x
; then
5005 eval "DEFAULT_$LINE"
5010 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5014 eval "$ac_cv_use_dynamicloader"
5015 if test "$no_cache" != 1; then
5016 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5019 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5020 echo "$as_me:$LINENO: result: yes" >&5
5021 echo "${ECHO_T}yes" >&6
5023 echo "$as_me:$LINENO: result: no" >&5
5024 echo "${ECHO_T}no" >&6
5029 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5030 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5032 # Check whether --enable-exceptions or --disable-exceptions was given.
5033 if test "${enable_exceptions+set}" = set; then
5034 enableval
="$enable_exceptions"
5036 if test "$enableval" = yes; then
5037 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5039 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5044 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5045 if test "x$LINE" != x
; then
5046 eval "DEFAULT_$LINE"
5051 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5055 eval "$ac_cv_use_exceptions"
5056 if test "$no_cache" != 1; then
5057 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5060 if test "$wxUSE_EXCEPTIONS" = yes; then
5061 echo "$as_me:$LINENO: result: yes" >&5
5062 echo "${ECHO_T}yes" >&6
5064 echo "$as_me:$LINENO: result: no" >&5
5065 echo "${ECHO_T}no" >&6
5070 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5071 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5073 # Check whether --enable-ffile or --disable-ffile was given.
5074 if test "${enable_ffile+set}" = set; then
5075 enableval
="$enable_ffile"
5077 if test "$enableval" = yes; then
5078 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5080 ac_cv_use_ffile
='wxUSE_FFILE=no'
5085 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5086 if test "x$LINE" != x
; then
5087 eval "DEFAULT_$LINE"
5092 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5096 eval "$ac_cv_use_ffile"
5097 if test "$no_cache" != 1; then
5098 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5101 if test "$wxUSE_FFILE" = yes; then
5102 echo "$as_me:$LINENO: result: yes" >&5
5103 echo "${ECHO_T}yes" >&6
5105 echo "$as_me:$LINENO: result: no" >&5
5106 echo "${ECHO_T}no" >&6
5111 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5112 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5114 # Check whether --enable-file or --disable-file was given.
5115 if test "${enable_file+set}" = set; then
5116 enableval
="$enable_file"
5118 if test "$enableval" = yes; then
5119 ac_cv_use_file
='wxUSE_FILE=yes'
5121 ac_cv_use_file
='wxUSE_FILE=no'
5126 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5127 if test "x$LINE" != x
; then
5128 eval "DEFAULT_$LINE"
5133 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5137 eval "$ac_cv_use_file"
5138 if test "$no_cache" != 1; then
5139 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5142 if test "$wxUSE_FILE" = yes; then
5143 echo "$as_me:$LINENO: result: yes" >&5
5144 echo "${ECHO_T}yes" >&6
5146 echo "$as_me:$LINENO: result: no" >&5
5147 echo "${ECHO_T}no" >&6
5152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5153 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5155 # Check whether --enable-filesystem or --disable-filesystem was given.
5156 if test "${enable_filesystem+set}" = set; then
5157 enableval
="$enable_filesystem"
5159 if test "$enableval" = yes; then
5160 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5162 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5167 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5168 if test "x$LINE" != x
; then
5169 eval "DEFAULT_$LINE"
5174 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5178 eval "$ac_cv_use_filesystem"
5179 if test "$no_cache" != 1; then
5180 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5183 if test "$wxUSE_FILESYSTEM" = yes; then
5184 echo "$as_me:$LINENO: result: yes" >&5
5185 echo "${ECHO_T}yes" >&6
5187 echo "$as_me:$LINENO: result: no" >&5
5188 echo "${ECHO_T}no" >&6
5193 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5194 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5196 # Check whether --enable-fontmap or --disable-fontmap was given.
5197 if test "${enable_fontmap+set}" = set; then
5198 enableval
="$enable_fontmap"
5200 if test "$enableval" = yes; then
5201 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5203 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5208 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5209 if test "x$LINE" != x
; then
5210 eval "DEFAULT_$LINE"
5215 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5219 eval "$ac_cv_use_fontmap"
5220 if test "$no_cache" != 1; then
5221 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5224 if test "$wxUSE_FONTMAP" = yes; then
5225 echo "$as_me:$LINENO: result: yes" >&5
5226 echo "${ECHO_T}yes" >&6
5228 echo "$as_me:$LINENO: result: no" >&5
5229 echo "${ECHO_T}no" >&6
5234 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5235 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5237 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5238 if test "${enable_fs_inet+set}" = set; then
5239 enableval
="$enable_fs_inet"
5241 if test "$enableval" = yes; then
5242 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5244 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5249 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5250 if test "x$LINE" != x
; then
5251 eval "DEFAULT_$LINE"
5256 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5260 eval "$ac_cv_use_fs_inet"
5261 if test "$no_cache" != 1; then
5262 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5265 if test "$wxUSE_FS_INET" = yes; then
5266 echo "$as_me:$LINENO: result: yes" >&5
5267 echo "${ECHO_T}yes" >&6
5269 echo "$as_me:$LINENO: result: no" >&5
5270 echo "${ECHO_T}no" >&6
5275 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5276 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5278 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5279 if test "${enable_fs_zip+set}" = set; then
5280 enableval
="$enable_fs_zip"
5282 if test "$enableval" = yes; then
5283 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5285 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5290 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5291 if test "x$LINE" != x
; then
5292 eval "DEFAULT_$LINE"
5297 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5301 eval "$ac_cv_use_fs_zip"
5302 if test "$no_cache" != 1; then
5303 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5306 if test "$wxUSE_FS_ZIP" = yes; then
5307 echo "$as_me:$LINENO: result: yes" >&5
5308 echo "${ECHO_T}yes" >&6
5310 echo "$as_me:$LINENO: result: no" >&5
5311 echo "${ECHO_T}no" >&6
5316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5317 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5319 # Check whether --enable-geometry or --disable-geometry was given.
5320 if test "${enable_geometry+set}" = set; then
5321 enableval
="$enable_geometry"
5323 if test "$enableval" = yes; then
5324 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5326 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5331 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5332 if test "x$LINE" != x
; then
5333 eval "DEFAULT_$LINE"
5338 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5342 eval "$ac_cv_use_geometry"
5343 if test "$no_cache" != 1; then
5344 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5347 if test "$wxUSE_GEOMETRY" = yes; then
5348 echo "$as_me:$LINENO: result: yes" >&5
5349 echo "${ECHO_T}yes" >&6
5351 echo "$as_me:$LINENO: result: no" >&5
5352 echo "${ECHO_T}no" >&6
5357 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5358 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5360 # Check whether --enable-log or --disable-log was given.
5361 if test "${enable_log+set}" = set; then
5362 enableval
="$enable_log"
5364 if test "$enableval" = yes; then
5365 ac_cv_use_log
='wxUSE_LOG=yes'
5367 ac_cv_use_log
='wxUSE_LOG=no'
5372 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5373 if test "x$LINE" != x
; then
5374 eval "DEFAULT_$LINE"
5379 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5383 eval "$ac_cv_use_log"
5384 if test "$no_cache" != 1; then
5385 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5388 if test "$wxUSE_LOG" = yes; then
5389 echo "$as_me:$LINENO: result: yes" >&5
5390 echo "${ECHO_T}yes" >&6
5392 echo "$as_me:$LINENO: result: no" >&5
5393 echo "${ECHO_T}no" >&6
5398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5399 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5401 # Check whether --enable-longlong or --disable-longlong was given.
5402 if test "${enable_longlong+set}" = set; then
5403 enableval
="$enable_longlong"
5405 if test "$enableval" = yes; then
5406 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5408 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5413 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5414 if test "x$LINE" != x
; then
5415 eval "DEFAULT_$LINE"
5420 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5424 eval "$ac_cv_use_longlong"
5425 if test "$no_cache" != 1; then
5426 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5429 if test "$wxUSE_LONGLONG" = yes; then
5430 echo "$as_me:$LINENO: result: yes" >&5
5431 echo "${ECHO_T}yes" >&6
5433 echo "$as_me:$LINENO: result: no" >&5
5434 echo "${ECHO_T}no" >&6
5439 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5440 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5442 # Check whether --enable-mimetype or --disable-mimetype was given.
5443 if test "${enable_mimetype+set}" = set; then
5444 enableval
="$enable_mimetype"
5446 if test "$enableval" = yes; then
5447 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5449 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5454 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5455 if test "x$LINE" != x
; then
5456 eval "DEFAULT_$LINE"
5461 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5465 eval "$ac_cv_use_mimetype"
5466 if test "$no_cache" != 1; then
5467 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5470 if test "$wxUSE_MIMETYPE" = yes; then
5471 echo "$as_me:$LINENO: result: yes" >&5
5472 echo "${ECHO_T}yes" >&6
5474 echo "$as_me:$LINENO: result: no" >&5
5475 echo "${ECHO_T}no" >&6
5480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5481 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5483 # Check whether --enable-mslu or --disable-mslu was given.
5484 if test "${enable_mslu+set}" = set; then
5485 enableval
="$enable_mslu"
5487 if test "$enableval" = yes; then
5488 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5490 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5495 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5496 if test "x$LINE" != x
; then
5497 eval "DEFAULT_$LINE"
5502 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5506 eval "$ac_cv_use_mslu"
5507 if test "$no_cache" != 1; then
5508 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5511 if test "$wxUSE_UNICODE_MSLU" = yes; then
5512 echo "$as_me:$LINENO: result: yes" >&5
5513 echo "${ECHO_T}yes" >&6
5515 echo "$as_me:$LINENO: result: no" >&5
5516 echo "${ECHO_T}no" >&6
5521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5522 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5524 # Check whether --enable-snglinst or --disable-snglinst was given.
5525 if test "${enable_snglinst+set}" = set; then
5526 enableval
="$enable_snglinst"
5528 if test "$enableval" = yes; then
5529 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5531 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5536 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5537 if test "x$LINE" != x
; then
5538 eval "DEFAULT_$LINE"
5543 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5547 eval "$ac_cv_use_snglinst"
5548 if test "$no_cache" != 1; then
5549 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5552 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5553 echo "$as_me:$LINENO: result: yes" >&5
5554 echo "${ECHO_T}yes" >&6
5556 echo "$as_me:$LINENO: result: no" >&5
5557 echo "${ECHO_T}no" >&6
5562 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5563 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5565 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5566 if test "${enable_std_iostreams+set}" = set; then
5567 enableval
="$enable_std_iostreams"
5569 if test "$enableval" = yes; then
5570 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5572 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5577 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5578 if test "x$LINE" != x
; then
5579 eval "DEFAULT_$LINE"
5584 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5588 eval "$ac_cv_use_std_iostreams"
5589 if test "$no_cache" != 1; then
5590 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5593 if test "$wxUSE_STD_IOSTREAM" = yes; then
5594 echo "$as_me:$LINENO: result: yes" >&5
5595 echo "${ECHO_T}yes" >&6
5597 echo "$as_me:$LINENO: result: no" >&5
5598 echo "${ECHO_T}no" >&6
5603 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5604 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5606 # Check whether --enable-std_string or --disable-std_string was given.
5607 if test "${enable_std_string+set}" = set; then
5608 enableval
="$enable_std_string"
5610 if test "$enableval" = yes; then
5611 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
5613 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
5618 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5619 if test "x$LINE" != x
; then
5620 eval "DEFAULT_$LINE"
5625 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5629 eval "$ac_cv_use_std_string"
5630 if test "$no_cache" != 1; then
5631 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5634 if test "$wxUSE_STD_STRING" = yes; then
5635 echo "$as_me:$LINENO: result: yes" >&5
5636 echo "${ECHO_T}yes" >&6
5638 echo "$as_me:$LINENO: result: no" >&5
5639 echo "${ECHO_T}no" >&6
5644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5645 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5647 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5648 if test "${enable_stdpaths+set}" = set; then
5649 enableval
="$enable_stdpaths"
5651 if test "$enableval" = yes; then
5652 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
5654 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
5659 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5660 if test "x$LINE" != x
; then
5661 eval "DEFAULT_$LINE"
5666 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5670 eval "$ac_cv_use_stdpaths"
5671 if test "$no_cache" != 1; then
5672 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5675 if test "$wxUSE_STDPATHS" = yes; then
5676 echo "$as_me:$LINENO: result: yes" >&5
5677 echo "${ECHO_T}yes" >&6
5679 echo "$as_me:$LINENO: result: no" >&5
5680 echo "${ECHO_T}no" >&6
5685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5686 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5688 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5689 if test "${enable_stopwatch+set}" = set; then
5690 enableval
="$enable_stopwatch"
5692 if test "$enableval" = yes; then
5693 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5695 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5700 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5701 if test "x$LINE" != x
; then
5702 eval "DEFAULT_$LINE"
5707 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5711 eval "$ac_cv_use_stopwatch"
5712 if test "$no_cache" != 1; then
5713 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5716 if test "$wxUSE_STOPWATCH" = yes; then
5717 echo "$as_me:$LINENO: result: yes" >&5
5718 echo "${ECHO_T}yes" >&6
5720 echo "$as_me:$LINENO: result: no" >&5
5721 echo "${ECHO_T}no" >&6
5726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5727 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5729 # Check whether --enable-streams or --disable-streams was given.
5730 if test "${enable_streams+set}" = set; then
5731 enableval
="$enable_streams"
5733 if test "$enableval" = yes; then
5734 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5736 ac_cv_use_streams
='wxUSE_STREAMS=no'
5741 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5742 if test "x$LINE" != x
; then
5743 eval "DEFAULT_$LINE"
5748 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5752 eval "$ac_cv_use_streams"
5753 if test "$no_cache" != 1; then
5754 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5757 if test "$wxUSE_STREAMS" = yes; then
5758 echo "$as_me:$LINENO: result: yes" >&5
5759 echo "${ECHO_T}yes" >&6
5761 echo "$as_me:$LINENO: result: no" >&5
5762 echo "${ECHO_T}no" >&6
5767 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5768 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5770 # Check whether --enable-system_options or --disable-system_options was given.
5771 if test "${enable_system_options+set}" = set; then
5772 enableval
="$enable_system_options"
5774 if test "$enableval" = yes; then
5775 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5777 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5782 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5783 if test "x$LINE" != x
; then
5784 eval "DEFAULT_$LINE"
5789 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5793 eval "$ac_cv_use_system_options"
5794 if test "$no_cache" != 1; then
5795 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5798 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5799 echo "$as_me:$LINENO: result: yes" >&5
5800 echo "${ECHO_T}yes" >&6
5802 echo "$as_me:$LINENO: result: no" >&5
5803 echo "${ECHO_T}no" >&6
5808 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5809 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5811 # Check whether --enable-textbuf or --disable-textbuf was given.
5812 if test "${enable_textbuf+set}" = set; then
5813 enableval
="$enable_textbuf"
5815 if test "$enableval" = yes; then
5816 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5818 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5823 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5824 if test "x$LINE" != x
; then
5825 eval "DEFAULT_$LINE"
5830 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5834 eval "$ac_cv_use_textbuf"
5835 if test "$no_cache" != 1; then
5836 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5839 if test "$wxUSE_TEXTBUFFER" = yes; then
5840 echo "$as_me:$LINENO: result: yes" >&5
5841 echo "${ECHO_T}yes" >&6
5843 echo "$as_me:$LINENO: result: no" >&5
5844 echo "${ECHO_T}no" >&6
5849 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5850 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5852 # Check whether --enable-textfile or --disable-textfile was given.
5853 if test "${enable_textfile+set}" = set; then
5854 enableval
="$enable_textfile"
5856 if test "$enableval" = yes; then
5857 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5859 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5864 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5865 if test "x$LINE" != x
; then
5866 eval "DEFAULT_$LINE"
5871 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5875 eval "$ac_cv_use_textfile"
5876 if test "$no_cache" != 1; then
5877 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5880 if test "$wxUSE_TEXTFILE" = yes; then
5881 echo "$as_me:$LINENO: result: yes" >&5
5882 echo "${ECHO_T}yes" >&6
5884 echo "$as_me:$LINENO: result: no" >&5
5885 echo "${ECHO_T}no" >&6
5890 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5891 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5893 # Check whether --enable-timer or --disable-timer was given.
5894 if test "${enable_timer+set}" = set; then
5895 enableval
="$enable_timer"
5897 if test "$enableval" = yes; then
5898 ac_cv_use_timer
='wxUSE_TIMER=yes'
5900 ac_cv_use_timer
='wxUSE_TIMER=no'
5905 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5906 if test "x$LINE" != x
; then
5907 eval "DEFAULT_$LINE"
5912 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5916 eval "$ac_cv_use_timer"
5917 if test "$no_cache" != 1; then
5918 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5921 if test "$wxUSE_TIMER" = yes; then
5922 echo "$as_me:$LINENO: result: yes" >&5
5923 echo "${ECHO_T}yes" >&6
5925 echo "$as_me:$LINENO: result: no" >&5
5926 echo "${ECHO_T}no" >&6
5931 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5932 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5934 # Check whether --enable-unicode or --disable-unicode was given.
5935 if test "${enable_unicode+set}" = set; then
5936 enableval
="$enable_unicode"
5938 if test "$enableval" = yes; then
5939 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5941 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5946 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5947 if test "x$LINE" != x
; then
5948 eval "DEFAULT_$LINE"
5953 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5957 eval "$ac_cv_use_unicode"
5958 if test "$no_cache" != 1; then
5959 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5962 if test "$wxUSE_UNICODE" = yes; then
5963 echo "$as_me:$LINENO: result: yes" >&5
5964 echo "${ECHO_T}yes" >&6
5966 echo "$as_me:$LINENO: result: no" >&5
5967 echo "${ECHO_T}no" >&6
5972 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5973 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5975 # Check whether --enable-sound or --disable-sound was given.
5976 if test "${enable_sound+set}" = set; then
5977 enableval
="$enable_sound"
5979 if test "$enableval" = yes; then
5980 ac_cv_use_sound
='wxUSE_SOUND=yes'
5982 ac_cv_use_sound
='wxUSE_SOUND=no'
5987 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5988 if test "x$LINE" != x
; then
5989 eval "DEFAULT_$LINE"
5994 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5998 eval "$ac_cv_use_sound"
5999 if test "$no_cache" != 1; then
6000 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6003 if test "$wxUSE_SOUND" = yes; then
6004 echo "$as_me:$LINENO: result: yes" >&5
6005 echo "${ECHO_T}yes" >&6
6007 echo "$as_me:$LINENO: result: no" >&5
6008 echo "${ECHO_T}no" >&6
6013 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6014 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6016 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6017 if test "${enable_mediactrl+set}" = set; then
6018 enableval
="$enable_mediactrl"
6020 if test "$enableval" = yes; then
6021 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6023 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6028 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6029 if test "x$LINE" != x
; then
6030 eval "DEFAULT_$LINE"
6035 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6039 eval "$ac_cv_use_mediactrl"
6040 if test "$no_cache" != 1; then
6041 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6044 if test "$wxUSE_MEDIACTRL" = yes; then
6045 echo "$as_me:$LINENO: result: yes" >&5
6046 echo "${ECHO_T}yes" >&6
6048 echo "$as_me:$LINENO: result: no" >&5
6049 echo "${ECHO_T}no" >&6
6054 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6055 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6057 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6058 if test "${enable_wxprintfv+set}" = set; then
6059 enableval
="$enable_wxprintfv"
6061 if test "$enableval" = yes; then
6062 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
6064 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
6069 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6070 if test "x$LINE" != x
; then
6071 eval "DEFAULT_$LINE"
6076 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6080 eval "$ac_cv_use_wxprintfv"
6081 if test "$no_cache" != 1; then
6082 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6085 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6086 echo "$as_me:$LINENO: result: yes" >&5
6087 echo "${ECHO_T}yes" >&6
6089 echo "$as_me:$LINENO: result: no" >&5
6090 echo "${ECHO_T}no" >&6
6095 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6096 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6098 # Check whether --enable-zipstream or --disable-zipstream was given.
6099 if test "${enable_zipstream+set}" = set; then
6100 enableval
="$enable_zipstream"
6102 if test "$enableval" = yes; then
6103 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6105 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6110 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6111 if test "x$LINE" != x
; then
6112 eval "DEFAULT_$LINE"
6117 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6121 eval "$ac_cv_use_zipstream"
6122 if test "$no_cache" != 1; then
6123 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6126 if test "$wxUSE_ZIPSTREAM" = yes; then
6127 echo "$as_me:$LINENO: result: yes" >&5
6128 echo "${ECHO_T}yes" >&6
6130 echo "$as_me:$LINENO: result: no" >&5
6131 echo "${ECHO_T}no" >&6
6137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6138 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6140 # Check whether --enable-url or --disable-url was given.
6141 if test "${enable_url+set}" = set; then
6142 enableval
="$enable_url"
6144 if test "$enableval" = yes; then
6145 ac_cv_use_url
='wxUSE_URL=yes'
6147 ac_cv_use_url
='wxUSE_URL=no'
6152 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6153 if test "x$LINE" != x
; then
6154 eval "DEFAULT_$LINE"
6159 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6163 eval "$ac_cv_use_url"
6164 if test "$no_cache" != 1; then
6165 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6168 if test "$wxUSE_URL" = yes; then
6169 echo "$as_me:$LINENO: result: yes" >&5
6170 echo "${ECHO_T}yes" >&6
6172 echo "$as_me:$LINENO: result: no" >&5
6173 echo "${ECHO_T}no" >&6
6178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6179 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6181 # Check whether --enable-protocol or --disable-protocol was given.
6182 if test "${enable_protocol+set}" = set; then
6183 enableval
="$enable_protocol"
6185 if test "$enableval" = yes; then
6186 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6188 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6193 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6194 if test "x$LINE" != x
; then
6195 eval "DEFAULT_$LINE"
6200 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6204 eval "$ac_cv_use_protocol"
6205 if test "$no_cache" != 1; then
6206 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6209 if test "$wxUSE_PROTOCOL" = yes; then
6210 echo "$as_me:$LINENO: result: yes" >&5
6211 echo "${ECHO_T}yes" >&6
6213 echo "$as_me:$LINENO: result: no" >&5
6214 echo "${ECHO_T}no" >&6
6219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6220 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6222 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6223 if test "${enable_protocol_http+set}" = set; then
6224 enableval
="$enable_protocol_http"
6226 if test "$enableval" = yes; then
6227 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6229 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6234 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6235 if test "x$LINE" != x
; then
6236 eval "DEFAULT_$LINE"
6241 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6245 eval "$ac_cv_use_protocol_http"
6246 if test "$no_cache" != 1; then
6247 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6250 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6251 echo "$as_me:$LINENO: result: yes" >&5
6252 echo "${ECHO_T}yes" >&6
6254 echo "$as_me:$LINENO: result: no" >&5
6255 echo "${ECHO_T}no" >&6
6260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6261 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6263 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6264 if test "${enable_protocol_ftp+set}" = set; then
6265 enableval
="$enable_protocol_ftp"
6267 if test "$enableval" = yes; then
6268 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6270 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6275 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6276 if test "x$LINE" != x
; then
6277 eval "DEFAULT_$LINE"
6282 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6286 eval "$ac_cv_use_protocol_ftp"
6287 if test "$no_cache" != 1; then
6288 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6291 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6292 echo "$as_me:$LINENO: result: yes" >&5
6293 echo "${ECHO_T}yes" >&6
6295 echo "$as_me:$LINENO: result: no" >&5
6296 echo "${ECHO_T}no" >&6
6301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6302 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6304 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6305 if test "${enable_protocol_file+set}" = set; then
6306 enableval
="$enable_protocol_file"
6308 if test "$enableval" = yes; then
6309 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6311 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6316 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6317 if test "x$LINE" != x
; then
6318 eval "DEFAULT_$LINE"
6323 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6327 eval "$ac_cv_use_protocol_file"
6328 if test "$no_cache" != 1; then
6329 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6332 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6333 echo "$as_me:$LINENO: result: yes" >&5
6334 echo "${ECHO_T}yes" >&6
6336 echo "$as_me:$LINENO: result: no" >&5
6337 echo "${ECHO_T}no" >&6
6345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6346 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6348 # Check whether --enable-threads or --disable-threads was given.
6349 if test "${enable_threads+set}" = set; then
6350 enableval
="$enable_threads"
6352 if test "$enableval" = yes; then
6353 ac_cv_use_threads
='wxUSE_THREADS=yes'
6355 ac_cv_use_threads
='wxUSE_THREADS=no'
6360 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6361 if test "x$LINE" != x
; then
6362 eval "DEFAULT_$LINE"
6367 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6371 eval "$ac_cv_use_threads"
6372 if test "$no_cache" != 1; then
6373 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6376 if test "$wxUSE_THREADS" = yes; then
6377 echo "$as_me:$LINENO: result: yes" >&5
6378 echo "${ECHO_T}yes" >&6
6380 echo "$as_me:$LINENO: result: no" >&5
6381 echo "${ECHO_T}no" >&6
6385 if test "$wxUSE_GUI" = "yes"; then
6390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6391 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6393 # Check whether --enable-docview or --disable-docview was given.
6394 if test "${enable_docview+set}" = set; then
6395 enableval
="$enable_docview"
6397 if test "$enableval" = yes; then
6398 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6400 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6405 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6406 if test "x$LINE" != x
; then
6407 eval "DEFAULT_$LINE"
6412 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6416 eval "$ac_cv_use_docview"
6417 if test "$no_cache" != 1; then
6418 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6421 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6422 echo "$as_me:$LINENO: result: yes" >&5
6423 echo "${ECHO_T}yes" >&6
6425 echo "$as_me:$LINENO: result: no" >&5
6426 echo "${ECHO_T}no" >&6
6431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6432 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6434 # Check whether --enable-help or --disable-help was given.
6435 if test "${enable_help+set}" = set; then
6436 enableval
="$enable_help"
6438 if test "$enableval" = yes; then
6439 ac_cv_use_help
='wxUSE_HELP=yes'
6441 ac_cv_use_help
='wxUSE_HELP=no'
6446 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6447 if test "x$LINE" != x
; then
6448 eval "DEFAULT_$LINE"
6453 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6457 eval "$ac_cv_use_help"
6458 if test "$no_cache" != 1; then
6459 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6462 if test "$wxUSE_HELP" = yes; then
6463 echo "$as_me:$LINENO: result: yes" >&5
6464 echo "${ECHO_T}yes" >&6
6466 echo "$as_me:$LINENO: result: no" >&5
6467 echo "${ECHO_T}no" >&6
6472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6473 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6475 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6476 if test "${enable_mshtmlhelp+set}" = set; then
6477 enableval
="$enable_mshtmlhelp"
6479 if test "$enableval" = yes; then
6480 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6482 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6487 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6488 if test "x$LINE" != x
; then
6489 eval "DEFAULT_$LINE"
6494 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6498 eval "$ac_cv_use_mshtmlhelp"
6499 if test "$no_cache" != 1; then
6500 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6503 if test "$wxUSE_MS_HTML_HELP" = yes; then
6504 echo "$as_me:$LINENO: result: yes" >&5
6505 echo "${ECHO_T}yes" >&6
6507 echo "$as_me:$LINENO: result: no" >&5
6508 echo "${ECHO_T}no" >&6
6513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6514 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6516 # Check whether --enable-html or --disable-html was given.
6517 if test "${enable_html+set}" = set; then
6518 enableval
="$enable_html"
6520 if test "$enableval" = yes; then
6521 ac_cv_use_html
='wxUSE_HTML=yes'
6523 ac_cv_use_html
='wxUSE_HTML=no'
6528 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6529 if test "x$LINE" != x
; then
6530 eval "DEFAULT_$LINE"
6535 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6539 eval "$ac_cv_use_html"
6540 if test "$no_cache" != 1; then
6541 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6544 if test "$wxUSE_HTML" = yes; then
6545 echo "$as_me:$LINENO: result: yes" >&5
6546 echo "${ECHO_T}yes" >&6
6548 echo "$as_me:$LINENO: result: no" >&5
6549 echo "${ECHO_T}no" >&6
6554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6555 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6557 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6558 if test "${enable_htmlhelp+set}" = set; then
6559 enableval
="$enable_htmlhelp"
6561 if test "$enableval" = yes; then
6562 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6564 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6569 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6570 if test "x$LINE" != x
; then
6571 eval "DEFAULT_$LINE"
6576 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6580 eval "$ac_cv_use_htmlhelp"
6581 if test "$no_cache" != 1; then
6582 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6585 if test "$wxUSE_WXHTML_HELP" = yes; then
6586 echo "$as_me:$LINENO: result: yes" >&5
6587 echo "${ECHO_T}yes" >&6
6589 echo "$as_me:$LINENO: result: no" >&5
6590 echo "${ECHO_T}no" >&6
6595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6596 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6598 # Check whether --enable-xrc or --disable-xrc was given.
6599 if test "${enable_xrc+set}" = set; then
6600 enableval
="$enable_xrc"
6602 if test "$enableval" = yes; then
6603 ac_cv_use_xrc
='wxUSE_XRC=yes'
6605 ac_cv_use_xrc
='wxUSE_XRC=no'
6610 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6611 if test "x$LINE" != x
; then
6612 eval "DEFAULT_$LINE"
6617 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6621 eval "$ac_cv_use_xrc"
6622 if test "$no_cache" != 1; then
6623 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6626 if test "$wxUSE_XRC" = yes; then
6627 echo "$as_me:$LINENO: result: yes" >&5
6628 echo "${ECHO_T}yes" >&6
6630 echo "$as_me:$LINENO: result: no" >&5
6631 echo "${ECHO_T}no" >&6
6636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6637 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6639 # Check whether --enable-constraints or --disable-constraints was given.
6640 if test "${enable_constraints+set}" = set; then
6641 enableval
="$enable_constraints"
6643 if test "$enableval" = yes; then
6644 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6646 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6651 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6652 if test "x$LINE" != x
; then
6653 eval "DEFAULT_$LINE"
6658 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6662 eval "$ac_cv_use_constraints"
6663 if test "$no_cache" != 1; then
6664 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6667 if test "$wxUSE_CONSTRAINTS" = yes; then
6668 echo "$as_me:$LINENO: result: yes" >&5
6669 echo "${ECHO_T}yes" >&6
6671 echo "$as_me:$LINENO: result: no" >&5
6672 echo "${ECHO_T}no" >&6
6677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6678 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6680 # Check whether --enable-printarch or --disable-printarch was given.
6681 if test "${enable_printarch+set}" = set; then
6682 enableval
="$enable_printarch"
6684 if test "$enableval" = yes; then
6685 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6687 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6692 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6693 if test "x$LINE" != x
; then
6694 eval "DEFAULT_$LINE"
6699 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6703 eval "$ac_cv_use_printarch"
6704 if test "$no_cache" != 1; then
6705 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6708 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6709 echo "$as_me:$LINENO: result: yes" >&5
6710 echo "${ECHO_T}yes" >&6
6712 echo "$as_me:$LINENO: result: no" >&5
6713 echo "${ECHO_T}no" >&6
6718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6719 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6721 # Check whether --enable-mdi or --disable-mdi was given.
6722 if test "${enable_mdi+set}" = set; then
6723 enableval
="$enable_mdi"
6725 if test "$enableval" = yes; then
6726 ac_cv_use_mdi
='wxUSE_MDI=yes'
6728 ac_cv_use_mdi
='wxUSE_MDI=no'
6733 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6734 if test "x$LINE" != x
; then
6735 eval "DEFAULT_$LINE"
6740 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6744 eval "$ac_cv_use_mdi"
6745 if test "$no_cache" != 1; then
6746 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6749 if test "$wxUSE_MDI" = yes; then
6750 echo "$as_me:$LINENO: result: yes" >&5
6751 echo "${ECHO_T}yes" >&6
6753 echo "$as_me:$LINENO: result: no" >&5
6754 echo "${ECHO_T}no" >&6
6759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6760 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6762 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6763 if test "${enable_mdidoc+set}" = set; then
6764 enableval
="$enable_mdidoc"
6766 if test "$enableval" = yes; then
6767 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6769 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6774 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6775 if test "x$LINE" != x
; then
6776 eval "DEFAULT_$LINE"
6781 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6785 eval "$ac_cv_use_mdidoc"
6786 if test "$no_cache" != 1; then
6787 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6790 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6791 echo "$as_me:$LINENO: result: yes" >&5
6792 echo "${ECHO_T}yes" >&6
6794 echo "$as_me:$LINENO: result: no" >&5
6795 echo "${ECHO_T}no" >&6
6800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6801 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6803 # Check whether --enable-loggui or --disable-loggui was given.
6804 if test "${enable_loggui+set}" = set; then
6805 enableval
="$enable_loggui"
6807 if test "$enableval" = yes; then
6808 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6810 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6815 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6816 if test "x$LINE" != x
; then
6817 eval "DEFAULT_$LINE"
6822 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6826 eval "$ac_cv_use_loggui"
6827 if test "$no_cache" != 1; then
6828 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6831 if test "$wxUSE_LOGGUI" = yes; then
6832 echo "$as_me:$LINENO: result: yes" >&5
6833 echo "${ECHO_T}yes" >&6
6835 echo "$as_me:$LINENO: result: no" >&5
6836 echo "${ECHO_T}no" >&6
6841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6842 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6844 # Check whether --enable-logwin or --disable-logwin was given.
6845 if test "${enable_logwin+set}" = set; then
6846 enableval
="$enable_logwin"
6848 if test "$enableval" = yes; then
6849 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6851 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6856 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6857 if test "x$LINE" != x
; then
6858 eval "DEFAULT_$LINE"
6863 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6867 eval "$ac_cv_use_logwin"
6868 if test "$no_cache" != 1; then
6869 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6872 if test "$wxUSE_LOGWINDOW" = yes; then
6873 echo "$as_me:$LINENO: result: yes" >&5
6874 echo "${ECHO_T}yes" >&6
6876 echo "$as_me:$LINENO: result: no" >&5
6877 echo "${ECHO_T}no" >&6
6882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6883 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6885 # Check whether --enable-logdialog or --disable-logdialog was given.
6886 if test "${enable_logdialog+set}" = set; then
6887 enableval
="$enable_logdialog"
6889 if test "$enableval" = yes; then
6890 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6892 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6897 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6898 if test "x$LINE" != x
; then
6899 eval "DEFAULT_$LINE"
6904 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6908 eval "$ac_cv_use_logdialog"
6909 if test "$no_cache" != 1; then
6910 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6913 if test "$wxUSE_LOGDIALOG" = yes; then
6914 echo "$as_me:$LINENO: result: yes" >&5
6915 echo "${ECHO_T}yes" >&6
6917 echo "$as_me:$LINENO: result: no" >&5
6918 echo "${ECHO_T}no" >&6
6923 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6924 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6926 # Check whether --enable-webkit or --disable-webkit was given.
6927 if test "${enable_webkit+set}" = set; then
6928 enableval
="$enable_webkit"
6930 if test "$enableval" = yes; then
6931 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6933 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6938 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6939 if test "x$LINE" != x
; then
6940 eval "DEFAULT_$LINE"
6945 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6949 eval "$ac_cv_use_webkit"
6950 if test "$no_cache" != 1; then
6951 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6954 if test "$wxUSE_WEBKIT" = yes; then
6955 echo "$as_me:$LINENO: result: yes" >&5
6956 echo "${ECHO_T}yes" >&6
6958 echo "$as_me:$LINENO: result: no" >&5
6959 echo "${ECHO_T}no" >&6
6965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6966 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6968 # Check whether --enable-postscript or --disable-postscript was given.
6969 if test "${enable_postscript+set}" = set; then
6970 enableval
="$enable_postscript"
6972 if test "$enableval" = yes; then
6973 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6975 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6980 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6981 if test "x$LINE" != x
; then
6982 eval "DEFAULT_$LINE"
6987 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6991 eval "$ac_cv_use_postscript"
6992 if test "$no_cache" != 1; then
6993 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6996 if test "$wxUSE_POSTSCRIPT" = yes; then
6997 echo "$as_me:$LINENO: result: yes" >&5
6998 echo "${ECHO_T}yes" >&6
7000 echo "$as_me:$LINENO: result: no" >&5
7001 echo "${ECHO_T}no" >&6
7009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7010 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7012 # Check whether --enable-prologio or --disable-prologio was given.
7013 if test "${enable_prologio+set}" = set; then
7014 enableval
="$enable_prologio"
7016 if test "$enableval" = yes; then
7017 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7019 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7024 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7025 if test "x$LINE" != x
; then
7026 eval "DEFAULT_$LINE"
7031 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7035 eval "$ac_cv_use_prologio"
7036 if test "$no_cache" != 1; then
7037 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7040 if test "$wxUSE_PROLOGIO" = yes; then
7041 echo "$as_me:$LINENO: result: yes" >&5
7042 echo "${ECHO_T}yes" >&6
7044 echo "$as_me:$LINENO: result: no" >&5
7045 echo "${ECHO_T}no" >&6
7050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7051 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7053 # Check whether --enable-resources or --disable-resources was given.
7054 if test "${enable_resources+set}" = set; then
7055 enableval
="$enable_resources"
7057 if test "$enableval" = yes; then
7058 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7060 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7065 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7066 if test "x$LINE" != x
; then
7067 eval "DEFAULT_$LINE"
7072 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7076 eval "$ac_cv_use_resources"
7077 if test "$no_cache" != 1; then
7078 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7081 if test "$wxUSE_RESOURCES" = yes; then
7082 echo "$as_me:$LINENO: result: yes" >&5
7083 echo "${ECHO_T}yes" >&6
7085 echo "$as_me:$LINENO: result: no" >&5
7086 echo "${ECHO_T}no" >&6
7093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7094 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7096 # Check whether --enable-clipboard or --disable-clipboard was given.
7097 if test "${enable_clipboard+set}" = set; then
7098 enableval
="$enable_clipboard"
7100 if test "$enableval" = yes; then
7101 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7103 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7108 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7109 if test "x$LINE" != x
; then
7110 eval "DEFAULT_$LINE"
7115 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7119 eval "$ac_cv_use_clipboard"
7120 if test "$no_cache" != 1; then
7121 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7124 if test "$wxUSE_CLIPBOARD" = yes; then
7125 echo "$as_me:$LINENO: result: yes" >&5
7126 echo "${ECHO_T}yes" >&6
7128 echo "$as_me:$LINENO: result: no" >&5
7129 echo "${ECHO_T}no" >&6
7134 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7135 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7137 # Check whether --enable-dnd or --disable-dnd was given.
7138 if test "${enable_dnd+set}" = set; then
7139 enableval
="$enable_dnd"
7141 if test "$enableval" = yes; then
7142 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7144 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7149 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7150 if test "x$LINE" != x
; then
7151 eval "DEFAULT_$LINE"
7156 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7160 eval "$ac_cv_use_dnd"
7161 if test "$no_cache" != 1; then
7162 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7165 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7166 echo "$as_me:$LINENO: result: yes" >&5
7167 echo "${ECHO_T}yes" >&6
7169 echo "$as_me:$LINENO: result: no" >&5
7170 echo "${ECHO_T}no" >&6
7175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7176 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7178 # Check whether --enable-metafile or --disable-metafile was given.
7179 if test "${enable_metafile+set}" = set; then
7180 enableval
="$enable_metafile"
7182 if test "$enableval" = yes; then
7183 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7185 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7190 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7191 if test "x$LINE" != x
; then
7192 eval "DEFAULT_$LINE"
7197 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7201 eval "$ac_cv_use_metafile"
7202 if test "$no_cache" != 1; then
7203 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7206 if test "$wxUSE_METAFILE" = yes; then
7207 echo "$as_me:$LINENO: result: yes" >&5
7208 echo "${ECHO_T}yes" >&6
7210 echo "$as_me:$LINENO: result: no" >&5
7211 echo "${ECHO_T}no" >&6
7219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7220 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7222 # Check whether --enable-controls or --disable-controls was given.
7223 if test "${enable_controls+set}" = set; then
7224 enableval
="$enable_controls"
7226 if test "$enableval" = yes; then
7227 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7229 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7234 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7235 if test "x$LINE" != x
; then
7236 eval "DEFAULT_$LINE"
7241 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7245 eval "$ac_cv_use_controls"
7246 if test "$no_cache" != 1; then
7247 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7250 if test "$wxUSE_CONTROLS" = yes; then
7251 echo "$as_me:$LINENO: result: yes" >&5
7252 echo "${ECHO_T}yes" >&6
7254 echo "$as_me:$LINENO: result: no" >&5
7255 echo "${ECHO_T}no" >&6
7259 if test "$wxUSE_CONTROLS" = "yes"; then
7260 DEFAULT_wxUSE_ACCEL
=yes
7261 DEFAULT_wxUSE_BMPBUTTON
=yes
7262 DEFAULT_wxUSE_BUTTON
=yes
7263 DEFAULT_wxUSE_CALCTRL
=yes
7264 DEFAULT_wxUSE_CARET
=yes
7265 DEFAULT_wxUSE_COMBOBOX
=yes
7266 DEFAULT_wxUSE_CHECKBOX
=yes
7267 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7268 DEFAULT_wxUSE_CHOICE
=yes
7269 DEFAULT_wxUSE_CHOICEBOOK
=yes
7270 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7271 DEFAULT_wxUSE_GAUGE
=yes
7272 DEFAULT_wxUSE_GRID
=yes
7273 DEFAULT_wxUSE_IMAGLIST
=yes
7274 DEFAULT_wxUSE_LISTBOOK
=yes
7275 DEFAULT_wxUSE_LISTBOX
=yes
7276 DEFAULT_wxUSE_LISTCTRL
=yes
7277 DEFAULT_wxUSE_NOTEBOOK
=yes
7278 DEFAULT_wxUSE_RADIOBOX
=yes
7279 DEFAULT_wxUSE_RADIOBTN
=yes
7280 DEFAULT_wxUSE_SASH
=yes
7281 DEFAULT_wxUSE_SCROLLBAR
=yes
7282 DEFAULT_wxUSE_SLIDER
=yes
7283 DEFAULT_wxUSE_SPINBTN
=yes
7284 DEFAULT_wxUSE_SPINCTRL
=yes
7285 DEFAULT_wxUSE_SPLITTER
=yes
7286 DEFAULT_wxUSE_STATBMP
=yes
7287 DEFAULT_wxUSE_STATBOX
=yes
7288 DEFAULT_wxUSE_STATLINE
=yes
7289 DEFAULT_wxUSE_STATUSBAR
=yes
7290 DEFAULT_wxUSE_TAB_DIALOG
=yes
7291 DEFAULT_wxUSE_TOGGLEBTN
=yes
7292 DEFAULT_wxUSE_TOOLBAR
=yes
7293 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7294 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7295 DEFAULT_wxUSE_TOOLTIPS
=yes
7296 DEFAULT_wxUSE_TREECTRL
=yes
7297 DEFAULT_wxUSE_POPUPWIN
=yes
7298 DEFAULT_wxUSE_TIPWINDOW
=yes
7299 elif test "$wxUSE_CONTROLS" = "no"; then
7300 DEFAULT_wxUSE_ACCEL
=no
7301 DEFAULT_wxUSE_BMPBUTTON
=no
7302 DEFAULT_wxUSE_BUTTON
=no
7303 DEFAULT_wxUSE_CALCTRL
=no
7304 DEFAULT_wxUSE_CARET
=no
7305 DEFAULT_wxUSE_COMBOBOX
=no
7306 DEFAULT_wxUSE_CHECKBOX
=no
7307 DEFAULT_wxUSE_CHECKLISTBOX
=no
7308 DEFAULT_wxUSE_CHOICE
=no
7309 DEFAULT_wxUSE_CHOICEBOOK
=no
7310 DEFAULT_wxUSE_DATEPICKCTRL
=no
7311 DEFAULT_wxUSE_GAUGE
=no
7312 DEFAULT_wxUSE_GRID
=no
7313 DEFAULT_wxUSE_IMAGLIST
=no
7314 DEFAULT_wxUSE_LISTBOOK
=no
7315 DEFAULT_wxUSE_LISTBOX
=no
7316 DEFAULT_wxUSE_LISTCTRL
=no
7317 DEFAULT_wxUSE_NOTEBOOK
=no
7318 DEFAULT_wxUSE_RADIOBOX
=no
7319 DEFAULT_wxUSE_RADIOBTN
=no
7320 DEFAULT_wxUSE_SASH
=no
7321 DEFAULT_wxUSE_SCROLLBAR
=no
7322 DEFAULT_wxUSE_SLIDER
=no
7323 DEFAULT_wxUSE_SPINBTN
=no
7324 DEFAULT_wxUSE_SPINCTRL
=no
7325 DEFAULT_wxUSE_SPLITTER
=no
7326 DEFAULT_wxUSE_STATBMP
=no
7327 DEFAULT_wxUSE_STATBOX
=no
7328 DEFAULT_wxUSE_STATLINE
=no
7329 DEFAULT_wxUSE_STATUSBAR
=no
7330 DEFAULT_wxUSE_TAB_DIALOG
=no
7331 DEFAULT_wxUSE_TOGGLEBTN
=no
7332 DEFAULT_wxUSE_TOOLBAR
=no
7333 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7334 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7335 DEFAULT_wxUSE_TOOLTIPS
=no
7336 DEFAULT_wxUSE_TREECTRL
=no
7337 DEFAULT_wxUSE_POPUPWIN
=no
7338 DEFAULT_wxUSE_TIPWINDOW
=no
7343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7344 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7346 # Check whether --enable-accel or --disable-accel was given.
7347 if test "${enable_accel+set}" = set; then
7348 enableval
="$enable_accel"
7350 if test "$enableval" = yes; then
7351 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7353 ac_cv_use_accel
='wxUSE_ACCEL=no'
7358 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7359 if test "x$LINE" != x
; then
7360 eval "DEFAULT_$LINE"
7365 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7369 eval "$ac_cv_use_accel"
7370 if test "$no_cache" != 1; then
7371 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7374 if test "$wxUSE_ACCEL" = yes; then
7375 echo "$as_me:$LINENO: result: yes" >&5
7376 echo "${ECHO_T}yes" >&6
7378 echo "$as_me:$LINENO: result: no" >&5
7379 echo "${ECHO_T}no" >&6
7384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7385 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7387 # Check whether --enable-button or --disable-button was given.
7388 if test "${enable_button+set}" = set; then
7389 enableval
="$enable_button"
7391 if test "$enableval" = yes; then
7392 ac_cv_use_button
='wxUSE_BUTTON=yes'
7394 ac_cv_use_button
='wxUSE_BUTTON=no'
7399 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7400 if test "x$LINE" != x
; then
7401 eval "DEFAULT_$LINE"
7406 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7410 eval "$ac_cv_use_button"
7411 if test "$no_cache" != 1; then
7412 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7415 if test "$wxUSE_BUTTON" = yes; then
7416 echo "$as_me:$LINENO: result: yes" >&5
7417 echo "${ECHO_T}yes" >&6
7419 echo "$as_me:$LINENO: result: no" >&5
7420 echo "${ECHO_T}no" >&6
7425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7426 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7428 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7429 if test "${enable_bmpbutton+set}" = set; then
7430 enableval
="$enable_bmpbutton"
7432 if test "$enableval" = yes; then
7433 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7435 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7440 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7441 if test "x$LINE" != x
; then
7442 eval "DEFAULT_$LINE"
7447 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7451 eval "$ac_cv_use_bmpbutton"
7452 if test "$no_cache" != 1; then
7453 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7456 if test "$wxUSE_BMPBUTTON" = yes; then
7457 echo "$as_me:$LINENO: result: yes" >&5
7458 echo "${ECHO_T}yes" >&6
7460 echo "$as_me:$LINENO: result: no" >&5
7461 echo "${ECHO_T}no" >&6
7466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7467 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7469 # Check whether --enable-calendar or --disable-calendar was given.
7470 if test "${enable_calendar+set}" = set; then
7471 enableval
="$enable_calendar"
7473 if test "$enableval" = yes; then
7474 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7476 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7481 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7482 if test "x$LINE" != x
; then
7483 eval "DEFAULT_$LINE"
7488 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7492 eval "$ac_cv_use_calendar"
7493 if test "$no_cache" != 1; then
7494 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7497 if test "$wxUSE_CALCTRL" = yes; then
7498 echo "$as_me:$LINENO: result: yes" >&5
7499 echo "${ECHO_T}yes" >&6
7501 echo "$as_me:$LINENO: result: no" >&5
7502 echo "${ECHO_T}no" >&6
7507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7508 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7510 # Check whether --enable-caret or --disable-caret was given.
7511 if test "${enable_caret+set}" = set; then
7512 enableval
="$enable_caret"
7514 if test "$enableval" = yes; then
7515 ac_cv_use_caret
='wxUSE_CARET=yes'
7517 ac_cv_use_caret
='wxUSE_CARET=no'
7522 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7523 if test "x$LINE" != x
; then
7524 eval "DEFAULT_$LINE"
7529 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7533 eval "$ac_cv_use_caret"
7534 if test "$no_cache" != 1; then
7535 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7538 if test "$wxUSE_CARET" = yes; then
7539 echo "$as_me:$LINENO: result: yes" >&5
7540 echo "${ECHO_T}yes" >&6
7542 echo "$as_me:$LINENO: result: no" >&5
7543 echo "${ECHO_T}no" >&6
7548 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7549 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7551 # Check whether --enable-checkbox or --disable-checkbox was given.
7552 if test "${enable_checkbox+set}" = set; then
7553 enableval
="$enable_checkbox"
7555 if test "$enableval" = yes; then
7556 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7558 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7563 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7564 if test "x$LINE" != x
; then
7565 eval "DEFAULT_$LINE"
7570 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7574 eval "$ac_cv_use_checkbox"
7575 if test "$no_cache" != 1; then
7576 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7579 if test "$wxUSE_CHECKBOX" = yes; then
7580 echo "$as_me:$LINENO: result: yes" >&5
7581 echo "${ECHO_T}yes" >&6
7583 echo "$as_me:$LINENO: result: no" >&5
7584 echo "${ECHO_T}no" >&6
7589 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7590 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7592 # Check whether --enable-checklst or --disable-checklst was given.
7593 if test "${enable_checklst+set}" = set; then
7594 enableval
="$enable_checklst"
7596 if test "$enableval" = yes; then
7597 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7599 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7604 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7605 if test "x$LINE" != x
; then
7606 eval "DEFAULT_$LINE"
7611 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7615 eval "$ac_cv_use_checklst"
7616 if test "$no_cache" != 1; then
7617 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7620 if test "$wxUSE_CHECKLST" = yes; then
7621 echo "$as_me:$LINENO: result: yes" >&5
7622 echo "${ECHO_T}yes" >&6
7624 echo "$as_me:$LINENO: result: no" >&5
7625 echo "${ECHO_T}no" >&6
7630 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7631 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7633 # Check whether --enable-choice or --disable-choice was given.
7634 if test "${enable_choice+set}" = set; then
7635 enableval
="$enable_choice"
7637 if test "$enableval" = yes; then
7638 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7640 ac_cv_use_choice
='wxUSE_CHOICE=no'
7645 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7646 if test "x$LINE" != x
; then
7647 eval "DEFAULT_$LINE"
7652 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7656 eval "$ac_cv_use_choice"
7657 if test "$no_cache" != 1; then
7658 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7661 if test "$wxUSE_CHOICE" = yes; then
7662 echo "$as_me:$LINENO: result: yes" >&5
7663 echo "${ECHO_T}yes" >&6
7665 echo "$as_me:$LINENO: result: no" >&5
7666 echo "${ECHO_T}no" >&6
7671 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7672 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7674 # Check whether --enable-choicebook or --disable-choicebook was given.
7675 if test "${enable_choicebook+set}" = set; then
7676 enableval
="$enable_choicebook"
7678 if test "$enableval" = yes; then
7679 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7681 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7686 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7687 if test "x$LINE" != x
; then
7688 eval "DEFAULT_$LINE"
7693 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7697 eval "$ac_cv_use_choicebook"
7698 if test "$no_cache" != 1; then
7699 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7702 if test "$wxUSE_CHOICEBOOK" = yes; then
7703 echo "$as_me:$LINENO: result: yes" >&5
7704 echo "${ECHO_T}yes" >&6
7706 echo "$as_me:$LINENO: result: no" >&5
7707 echo "${ECHO_T}no" >&6
7712 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7713 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7715 # Check whether --enable-combobox or --disable-combobox was given.
7716 if test "${enable_combobox+set}" = set; then
7717 enableval
="$enable_combobox"
7719 if test "$enableval" = yes; then
7720 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7722 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7727 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7728 if test "x$LINE" != x
; then
7729 eval "DEFAULT_$LINE"
7734 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7738 eval "$ac_cv_use_combobox"
7739 if test "$no_cache" != 1; then
7740 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7743 if test "$wxUSE_COMBOBOX" = yes; then
7744 echo "$as_me:$LINENO: result: yes" >&5
7745 echo "${ECHO_T}yes" >&6
7747 echo "$as_me:$LINENO: result: no" >&5
7748 echo "${ECHO_T}no" >&6
7753 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7754 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7756 # Check whether --enable-datepick or --disable-datepick was given.
7757 if test "${enable_datepick+set}" = set; then
7758 enableval
="$enable_datepick"
7760 if test "$enableval" = yes; then
7761 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
7763 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
7768 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7769 if test "x$LINE" != x
; then
7770 eval "DEFAULT_$LINE"
7775 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7779 eval "$ac_cv_use_datepick"
7780 if test "$no_cache" != 1; then
7781 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7784 if test "$wxUSE_DATEPICKCTRL" = yes; then
7785 echo "$as_me:$LINENO: result: yes" >&5
7786 echo "${ECHO_T}yes" >&6
7788 echo "$as_me:$LINENO: result: no" >&5
7789 echo "${ECHO_T}no" >&6
7794 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7795 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7797 # Check whether --enable-display or --disable-display was given.
7798 if test "${enable_display+set}" = set; then
7799 enableval
="$enable_display"
7801 if test "$enableval" = yes; then
7802 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7804 ac_cv_use_display
='wxUSE_DISPLAY=no'
7809 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7810 if test "x$LINE" != x
; then
7811 eval "DEFAULT_$LINE"
7816 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7820 eval "$ac_cv_use_display"
7821 if test "$no_cache" != 1; then
7822 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7825 if test "$wxUSE_DISPLAY" = yes; then
7826 echo "$as_me:$LINENO: result: yes" >&5
7827 echo "${ECHO_T}yes" >&6
7829 echo "$as_me:$LINENO: result: no" >&5
7830 echo "${ECHO_T}no" >&6
7835 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7836 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7838 # Check whether --enable-gauge or --disable-gauge was given.
7839 if test "${enable_gauge+set}" = set; then
7840 enableval
="$enable_gauge"
7842 if test "$enableval" = yes; then
7843 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7845 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7850 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7851 if test "x$LINE" != x
; then
7852 eval "DEFAULT_$LINE"
7857 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7861 eval "$ac_cv_use_gauge"
7862 if test "$no_cache" != 1; then
7863 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7866 if test "$wxUSE_GAUGE" = yes; then
7867 echo "$as_me:$LINENO: result: yes" >&5
7868 echo "${ECHO_T}yes" >&6
7870 echo "$as_me:$LINENO: result: no" >&5
7871 echo "${ECHO_T}no" >&6
7876 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7877 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7879 # Check whether --enable-grid or --disable-grid was given.
7880 if test "${enable_grid+set}" = set; then
7881 enableval
="$enable_grid"
7883 if test "$enableval" = yes; then
7884 ac_cv_use_grid
='wxUSE_GRID=yes'
7886 ac_cv_use_grid
='wxUSE_GRID=no'
7891 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7892 if test "x$LINE" != x
; then
7893 eval "DEFAULT_$LINE"
7898 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7902 eval "$ac_cv_use_grid"
7903 if test "$no_cache" != 1; then
7904 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7907 if test "$wxUSE_GRID" = yes; then
7908 echo "$as_me:$LINENO: result: yes" >&5
7909 echo "${ECHO_T}yes" >&6
7911 echo "$as_me:$LINENO: result: no" >&5
7912 echo "${ECHO_T}no" >&6
7917 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7918 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7920 # Check whether --enable-imaglist or --disable-imaglist was given.
7921 if test "${enable_imaglist+set}" = set; then
7922 enableval
="$enable_imaglist"
7924 if test "$enableval" = yes; then
7925 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7927 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7932 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7933 if test "x$LINE" != x
; then
7934 eval "DEFAULT_$LINE"
7939 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7943 eval "$ac_cv_use_imaglist"
7944 if test "$no_cache" != 1; then
7945 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7948 if test "$wxUSE_IMAGLIST" = yes; then
7949 echo "$as_me:$LINENO: result: yes" >&5
7950 echo "${ECHO_T}yes" >&6
7952 echo "$as_me:$LINENO: result: no" >&5
7953 echo "${ECHO_T}no" >&6
7958 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7959 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7961 # Check whether --enable-listbook or --disable-listbook was given.
7962 if test "${enable_listbook+set}" = set; then
7963 enableval
="$enable_listbook"
7965 if test "$enableval" = yes; then
7966 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7968 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7973 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7974 if test "x$LINE" != x
; then
7975 eval "DEFAULT_$LINE"
7980 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7984 eval "$ac_cv_use_listbook"
7985 if test "$no_cache" != 1; then
7986 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7989 if test "$wxUSE_LISTBOOK" = yes; then
7990 echo "$as_me:$LINENO: result: yes" >&5
7991 echo "${ECHO_T}yes" >&6
7993 echo "$as_me:$LINENO: result: no" >&5
7994 echo "${ECHO_T}no" >&6
7999 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8000 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8002 # Check whether --enable-listbox or --disable-listbox was given.
8003 if test "${enable_listbox+set}" = set; then
8004 enableval
="$enable_listbox"
8006 if test "$enableval" = yes; then
8007 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
8009 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
8014 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8015 if test "x$LINE" != x
; then
8016 eval "DEFAULT_$LINE"
8021 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8025 eval "$ac_cv_use_listbox"
8026 if test "$no_cache" != 1; then
8027 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8030 if test "$wxUSE_LISTBOX" = yes; then
8031 echo "$as_me:$LINENO: result: yes" >&5
8032 echo "${ECHO_T}yes" >&6
8034 echo "$as_me:$LINENO: result: no" >&5
8035 echo "${ECHO_T}no" >&6
8040 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8041 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8043 # Check whether --enable-listctrl or --disable-listctrl was given.
8044 if test "${enable_listctrl+set}" = set; then
8045 enableval
="$enable_listctrl"
8047 if test "$enableval" = yes; then
8048 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
8050 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
8055 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8056 if test "x$LINE" != x
; then
8057 eval "DEFAULT_$LINE"
8062 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8066 eval "$ac_cv_use_listctrl"
8067 if test "$no_cache" != 1; then
8068 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8071 if test "$wxUSE_LISTCTRL" = yes; then
8072 echo "$as_me:$LINENO: result: yes" >&5
8073 echo "${ECHO_T}yes" >&6
8075 echo "$as_me:$LINENO: result: no" >&5
8076 echo "${ECHO_T}no" >&6
8081 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8082 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8084 # Check whether --enable-notebook or --disable-notebook was given.
8085 if test "${enable_notebook+set}" = set; then
8086 enableval
="$enable_notebook"
8088 if test "$enableval" = yes; then
8089 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
8091 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
8096 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8097 if test "x$LINE" != x
; then
8098 eval "DEFAULT_$LINE"
8103 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8107 eval "$ac_cv_use_notebook"
8108 if test "$no_cache" != 1; then
8109 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8112 if test "$wxUSE_NOTEBOOK" = yes; then
8113 echo "$as_me:$LINENO: result: yes" >&5
8114 echo "${ECHO_T}yes" >&6
8116 echo "$as_me:$LINENO: result: no" >&5
8117 echo "${ECHO_T}no" >&6
8122 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8123 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8125 # Check whether --enable-radiobox or --disable-radiobox was given.
8126 if test "${enable_radiobox+set}" = set; then
8127 enableval
="$enable_radiobox"
8129 if test "$enableval" = yes; then
8130 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
8132 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
8137 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8138 if test "x$LINE" != x
; then
8139 eval "DEFAULT_$LINE"
8144 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8148 eval "$ac_cv_use_radiobox"
8149 if test "$no_cache" != 1; then
8150 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8153 if test "$wxUSE_RADIOBOX" = yes; then
8154 echo "$as_me:$LINENO: result: yes" >&5
8155 echo "${ECHO_T}yes" >&6
8157 echo "$as_me:$LINENO: result: no" >&5
8158 echo "${ECHO_T}no" >&6
8163 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8164 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8166 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8167 if test "${enable_radiobtn+set}" = set; then
8168 enableval
="$enable_radiobtn"
8170 if test "$enableval" = yes; then
8171 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
8173 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
8178 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8179 if test "x$LINE" != x
; then
8180 eval "DEFAULT_$LINE"
8185 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8189 eval "$ac_cv_use_radiobtn"
8190 if test "$no_cache" != 1; then
8191 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8194 if test "$wxUSE_RADIOBTN" = yes; then
8195 echo "$as_me:$LINENO: result: yes" >&5
8196 echo "${ECHO_T}yes" >&6
8198 echo "$as_me:$LINENO: result: no" >&5
8199 echo "${ECHO_T}no" >&6
8204 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8205 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8207 # Check whether --enable-sash or --disable-sash was given.
8208 if test "${enable_sash+set}" = set; then
8209 enableval
="$enable_sash"
8211 if test "$enableval" = yes; then
8212 ac_cv_use_sash
='wxUSE_SASH=yes'
8214 ac_cv_use_sash
='wxUSE_SASH=no'
8219 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8220 if test "x$LINE" != x
; then
8221 eval "DEFAULT_$LINE"
8226 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8230 eval "$ac_cv_use_sash"
8231 if test "$no_cache" != 1; then
8232 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8235 if test "$wxUSE_SASH" = yes; then
8236 echo "$as_me:$LINENO: result: yes" >&5
8237 echo "${ECHO_T}yes" >&6
8239 echo "$as_me:$LINENO: result: no" >&5
8240 echo "${ECHO_T}no" >&6
8245 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8246 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8248 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8249 if test "${enable_scrollbar+set}" = set; then
8250 enableval
="$enable_scrollbar"
8252 if test "$enableval" = yes; then
8253 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
8255 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
8260 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8261 if test "x$LINE" != x
; then
8262 eval "DEFAULT_$LINE"
8267 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8271 eval "$ac_cv_use_scrollbar"
8272 if test "$no_cache" != 1; then
8273 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8276 if test "$wxUSE_SCROLLBAR" = yes; then
8277 echo "$as_me:$LINENO: result: yes" >&5
8278 echo "${ECHO_T}yes" >&6
8280 echo "$as_me:$LINENO: result: no" >&5
8281 echo "${ECHO_T}no" >&6
8286 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8287 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8289 # Check whether --enable-slider or --disable-slider was given.
8290 if test "${enable_slider+set}" = set; then
8291 enableval
="$enable_slider"
8293 if test "$enableval" = yes; then
8294 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8296 ac_cv_use_slider
='wxUSE_SLIDER=no'
8301 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8302 if test "x$LINE" != x
; then
8303 eval "DEFAULT_$LINE"
8308 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8312 eval "$ac_cv_use_slider"
8313 if test "$no_cache" != 1; then
8314 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8317 if test "$wxUSE_SLIDER" = yes; then
8318 echo "$as_me:$LINENO: result: yes" >&5
8319 echo "${ECHO_T}yes" >&6
8321 echo "$as_me:$LINENO: result: no" >&5
8322 echo "${ECHO_T}no" >&6
8327 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8328 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8330 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8331 if test "${enable_spinbtn+set}" = set; then
8332 enableval
="$enable_spinbtn"
8334 if test "$enableval" = yes; then
8335 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8337 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8342 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8343 if test "x$LINE" != x
; then
8344 eval "DEFAULT_$LINE"
8349 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8353 eval "$ac_cv_use_spinbtn"
8354 if test "$no_cache" != 1; then
8355 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8358 if test "$wxUSE_SPINBTN" = yes; then
8359 echo "$as_me:$LINENO: result: yes" >&5
8360 echo "${ECHO_T}yes" >&6
8362 echo "$as_me:$LINENO: result: no" >&5
8363 echo "${ECHO_T}no" >&6
8368 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8369 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8371 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8372 if test "${enable_spinctrl+set}" = set; then
8373 enableval
="$enable_spinctrl"
8375 if test "$enableval" = yes; then
8376 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8378 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8383 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8384 if test "x$LINE" != x
; then
8385 eval "DEFAULT_$LINE"
8390 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8394 eval "$ac_cv_use_spinctrl"
8395 if test "$no_cache" != 1; then
8396 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8399 if test "$wxUSE_SPINCTRL" = yes; then
8400 echo "$as_me:$LINENO: result: yes" >&5
8401 echo "${ECHO_T}yes" >&6
8403 echo "$as_me:$LINENO: result: no" >&5
8404 echo "${ECHO_T}no" >&6
8409 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8410 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8412 # Check whether --enable-splitter or --disable-splitter was given.
8413 if test "${enable_splitter+set}" = set; then
8414 enableval
="$enable_splitter"
8416 if test "$enableval" = yes; then
8417 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8419 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8424 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8425 if test "x$LINE" != x
; then
8426 eval "DEFAULT_$LINE"
8431 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8435 eval "$ac_cv_use_splitter"
8436 if test "$no_cache" != 1; then
8437 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8440 if test "$wxUSE_SPLITTER" = yes; then
8441 echo "$as_me:$LINENO: result: yes" >&5
8442 echo "${ECHO_T}yes" >&6
8444 echo "$as_me:$LINENO: result: no" >&5
8445 echo "${ECHO_T}no" >&6
8450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8451 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8453 # Check whether --enable-statbmp or --disable-statbmp was given.
8454 if test "${enable_statbmp+set}" = set; then
8455 enableval
="$enable_statbmp"
8457 if test "$enableval" = yes; then
8458 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8460 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8465 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8466 if test "x$LINE" != x
; then
8467 eval "DEFAULT_$LINE"
8472 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8476 eval "$ac_cv_use_statbmp"
8477 if test "$no_cache" != 1; then
8478 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8481 if test "$wxUSE_STATBMP" = yes; then
8482 echo "$as_me:$LINENO: result: yes" >&5
8483 echo "${ECHO_T}yes" >&6
8485 echo "$as_me:$LINENO: result: no" >&5
8486 echo "${ECHO_T}no" >&6
8491 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8492 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8494 # Check whether --enable-statbox or --disable-statbox was given.
8495 if test "${enable_statbox+set}" = set; then
8496 enableval
="$enable_statbox"
8498 if test "$enableval" = yes; then
8499 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8501 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8506 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8507 if test "x$LINE" != x
; then
8508 eval "DEFAULT_$LINE"
8513 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8517 eval "$ac_cv_use_statbox"
8518 if test "$no_cache" != 1; then
8519 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8522 if test "$wxUSE_STATBOX" = yes; then
8523 echo "$as_me:$LINENO: result: yes" >&5
8524 echo "${ECHO_T}yes" >&6
8526 echo "$as_me:$LINENO: result: no" >&5
8527 echo "${ECHO_T}no" >&6
8532 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8533 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8535 # Check whether --enable-statline or --disable-statline was given.
8536 if test "${enable_statline+set}" = set; then
8537 enableval
="$enable_statline"
8539 if test "$enableval" = yes; then
8540 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8542 ac_cv_use_statline
='wxUSE_STATLINE=no'
8547 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8548 if test "x$LINE" != x
; then
8549 eval "DEFAULT_$LINE"
8554 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8558 eval "$ac_cv_use_statline"
8559 if test "$no_cache" != 1; then
8560 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8563 if test "$wxUSE_STATLINE" = yes; then
8564 echo "$as_me:$LINENO: result: yes" >&5
8565 echo "${ECHO_T}yes" >&6
8567 echo "$as_me:$LINENO: result: no" >&5
8568 echo "${ECHO_T}no" >&6
8573 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8574 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8576 # Check whether --enable-stattext or --disable-stattext was given.
8577 if test "${enable_stattext+set}" = set; then
8578 enableval
="$enable_stattext"
8580 if test "$enableval" = yes; then
8581 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8583 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8588 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8589 if test "x$LINE" != x
; then
8590 eval "DEFAULT_$LINE"
8595 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8599 eval "$ac_cv_use_stattext"
8600 if test "$no_cache" != 1; then
8601 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8604 if test "$wxUSE_STATTEXT" = yes; then
8605 echo "$as_me:$LINENO: result: yes" >&5
8606 echo "${ECHO_T}yes" >&6
8608 echo "$as_me:$LINENO: result: no" >&5
8609 echo "${ECHO_T}no" >&6
8614 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8615 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8617 # Check whether --enable-statusbar or --disable-statusbar was given.
8618 if test "${enable_statusbar+set}" = set; then
8619 enableval
="$enable_statusbar"
8621 if test "$enableval" = yes; then
8622 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8624 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8629 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8630 if test "x$LINE" != x
; then
8631 eval "DEFAULT_$LINE"
8636 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8640 eval "$ac_cv_use_statusbar"
8641 if test "$no_cache" != 1; then
8642 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8645 if test "$wxUSE_STATUSBAR" = yes; then
8646 echo "$as_me:$LINENO: result: yes" >&5
8647 echo "${ECHO_T}yes" >&6
8649 echo "$as_me:$LINENO: result: no" >&5
8650 echo "${ECHO_T}no" >&6
8655 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8656 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8658 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8659 if test "${enable_tabdialog+set}" = set; then
8660 enableval
="$enable_tabdialog"
8662 if test "$enableval" = yes; then
8663 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8665 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8670 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8671 if test "x$LINE" != x
; then
8672 eval "DEFAULT_$LINE"
8677 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8681 eval "$ac_cv_use_tabdialog"
8682 if test "$no_cache" != 1; then
8683 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8686 if test "$wxUSE_TABDIALOG" = yes; then
8687 echo "$as_me:$LINENO: result: yes" >&5
8688 echo "${ECHO_T}yes" >&6
8690 echo "$as_me:$LINENO: result: no" >&5
8691 echo "${ECHO_T}no" >&6
8696 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8697 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8699 # Check whether --enable-textctrl or --disable-textctrl was given.
8700 if test "${enable_textctrl+set}" = set; then
8701 enableval
="$enable_textctrl"
8703 if test "$enableval" = yes; then
8704 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8706 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8711 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8712 if test "x$LINE" != x
; then
8713 eval "DEFAULT_$LINE"
8718 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8722 eval "$ac_cv_use_textctrl"
8723 if test "$no_cache" != 1; then
8724 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8727 if test "$wxUSE_TEXTCTRL" = yes; then
8728 echo "$as_me:$LINENO: result: yes" >&5
8729 echo "${ECHO_T}yes" >&6
8731 echo "$as_me:$LINENO: result: no" >&5
8732 echo "${ECHO_T}no" >&6
8737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8738 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8740 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8741 if test "${enable_togglebtn+set}" = set; then
8742 enableval
="$enable_togglebtn"
8744 if test "$enableval" = yes; then
8745 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8747 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8752 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8753 if test "x$LINE" != x
; then
8754 eval "DEFAULT_$LINE"
8759 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8763 eval "$ac_cv_use_togglebtn"
8764 if test "$no_cache" != 1; then
8765 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8768 if test "$wxUSE_TOGGLEBTN" = yes; then
8769 echo "$as_me:$LINENO: result: yes" >&5
8770 echo "${ECHO_T}yes" >&6
8772 echo "$as_me:$LINENO: result: no" >&5
8773 echo "${ECHO_T}no" >&6
8778 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8779 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8781 # Check whether --enable-toolbar or --disable-toolbar was given.
8782 if test "${enable_toolbar+set}" = set; then
8783 enableval
="$enable_toolbar"
8785 if test "$enableval" = yes; then
8786 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8788 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8793 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8794 if test "x$LINE" != x
; then
8795 eval "DEFAULT_$LINE"
8800 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8804 eval "$ac_cv_use_toolbar"
8805 if test "$no_cache" != 1; then
8806 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8809 if test "$wxUSE_TOOLBAR" = yes; then
8810 echo "$as_me:$LINENO: result: yes" >&5
8811 echo "${ECHO_T}yes" >&6
8813 echo "$as_me:$LINENO: result: no" >&5
8814 echo "${ECHO_T}no" >&6
8819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8820 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8822 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8823 if test "${enable_tbarnative+set}" = set; then
8824 enableval
="$enable_tbarnative"
8826 if test "$enableval" = yes; then
8827 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8829 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8834 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8835 if test "x$LINE" != x
; then
8836 eval "DEFAULT_$LINE"
8841 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8845 eval "$ac_cv_use_tbarnative"
8846 if test "$no_cache" != 1; then
8847 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8850 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8851 echo "$as_me:$LINENO: result: yes" >&5
8852 echo "${ECHO_T}yes" >&6
8854 echo "$as_me:$LINENO: result: no" >&5
8855 echo "${ECHO_T}no" >&6
8860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8861 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8863 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8864 if test "${enable_tbarsmpl+set}" = set; then
8865 enableval
="$enable_tbarsmpl"
8867 if test "$enableval" = yes; then
8868 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8870 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8875 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8876 if test "x$LINE" != x
; then
8877 eval "DEFAULT_$LINE"
8882 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8886 eval "$ac_cv_use_tbarsmpl"
8887 if test "$no_cache" != 1; then
8888 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8891 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8892 echo "$as_me:$LINENO: result: yes" >&5
8893 echo "${ECHO_T}yes" >&6
8895 echo "$as_me:$LINENO: result: no" >&5
8896 echo "${ECHO_T}no" >&6
8901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8902 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8904 # Check whether --enable-treectrl or --disable-treectrl was given.
8905 if test "${enable_treectrl+set}" = set; then
8906 enableval
="$enable_treectrl"
8908 if test "$enableval" = yes; then
8909 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8911 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8916 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8917 if test "x$LINE" != x
; then
8918 eval "DEFAULT_$LINE"
8923 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8927 eval "$ac_cv_use_treectrl"
8928 if test "$no_cache" != 1; then
8929 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8932 if test "$wxUSE_TREECTRL" = yes; then
8933 echo "$as_me:$LINENO: result: yes" >&5
8934 echo "${ECHO_T}yes" >&6
8936 echo "$as_me:$LINENO: result: no" >&5
8937 echo "${ECHO_T}no" >&6
8942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8943 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8945 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8946 if test "${enable_tipwindow+set}" = set; then
8947 enableval
="$enable_tipwindow"
8949 if test "$enableval" = yes; then
8950 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8952 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8957 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8958 if test "x$LINE" != x
; then
8959 eval "DEFAULT_$LINE"
8964 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8968 eval "$ac_cv_use_tipwindow"
8969 if test "$no_cache" != 1; then
8970 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8973 if test "$wxUSE_TIPWINDOW" = yes; then
8974 echo "$as_me:$LINENO: result: yes" >&5
8975 echo "${ECHO_T}yes" >&6
8977 echo "$as_me:$LINENO: result: no" >&5
8978 echo "${ECHO_T}no" >&6
8983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8984 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8986 # Check whether --enable-popupwin or --disable-popupwin was given.
8987 if test "${enable_popupwin+set}" = set; then
8988 enableval
="$enable_popupwin"
8990 if test "$enableval" = yes; then
8991 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8993 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8998 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8999 if test "x$LINE" != x
; then
9000 eval "DEFAULT_$LINE"
9005 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9009 eval "$ac_cv_use_popupwin"
9010 if test "$no_cache" != 1; then
9011 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9014 if test "$wxUSE_POPUPWIN" = yes; then
9015 echo "$as_me:$LINENO: result: yes" >&5
9016 echo "${ECHO_T}yes" >&6
9018 echo "$as_me:$LINENO: result: no" >&5
9019 echo "${ECHO_T}no" >&6
9026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9027 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9029 # Check whether --enable-commondlg or --disable-commondlg was given.
9030 if test "${enable_commondlg+set}" = set; then
9031 enableval
="$enable_commondlg"
9033 if test "$enableval" = yes; then
9034 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
9036 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
9041 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9042 if test "x$LINE" != x
; then
9043 eval "DEFAULT_$LINE"
9048 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9052 eval "$ac_cv_use_commondlg"
9053 if test "$no_cache" != 1; then
9054 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9057 if test "$wxUSE_COMMONDLGS" = yes; then
9058 echo "$as_me:$LINENO: result: yes" >&5
9059 echo "${ECHO_T}yes" >&6
9061 echo "$as_me:$LINENO: result: no" >&5
9062 echo "${ECHO_T}no" >&6
9067 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9068 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9070 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9071 if test "${enable_choicedlg+set}" = set; then
9072 enableval
="$enable_choicedlg"
9074 if test "$enableval" = yes; then
9075 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
9077 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
9082 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9083 if test "x$LINE" != x
; then
9084 eval "DEFAULT_$LINE"
9089 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9093 eval "$ac_cv_use_choicedlg"
9094 if test "$no_cache" != 1; then
9095 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9098 if test "$wxUSE_CHOICEDLG" = yes; then
9099 echo "$as_me:$LINENO: result: yes" >&5
9100 echo "${ECHO_T}yes" >&6
9102 echo "$as_me:$LINENO: result: no" >&5
9103 echo "${ECHO_T}no" >&6
9108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9109 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9111 # Check whether --enable-coldlg or --disable-coldlg was given.
9112 if test "${enable_coldlg+set}" = set; then
9113 enableval
="$enable_coldlg"
9115 if test "$enableval" = yes; then
9116 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
9118 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
9123 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9124 if test "x$LINE" != x
; then
9125 eval "DEFAULT_$LINE"
9130 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9134 eval "$ac_cv_use_coldlg"
9135 if test "$no_cache" != 1; then
9136 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9139 if test "$wxUSE_COLOURDLG" = yes; then
9140 echo "$as_me:$LINENO: result: yes" >&5
9141 echo "${ECHO_T}yes" >&6
9143 echo "$as_me:$LINENO: result: no" >&5
9144 echo "${ECHO_T}no" >&6
9149 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9150 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9152 # Check whether --enable-filedlg or --disable-filedlg was given.
9153 if test "${enable_filedlg+set}" = set; then
9154 enableval
="$enable_filedlg"
9156 if test "$enableval" = yes; then
9157 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
9159 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
9164 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9165 if test "x$LINE" != x
; then
9166 eval "DEFAULT_$LINE"
9171 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9175 eval "$ac_cv_use_filedlg"
9176 if test "$no_cache" != 1; then
9177 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9180 if test "$wxUSE_FILEDLG" = yes; then
9181 echo "$as_me:$LINENO: result: yes" >&5
9182 echo "${ECHO_T}yes" >&6
9184 echo "$as_me:$LINENO: result: no" >&5
9185 echo "${ECHO_T}no" >&6
9190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9191 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9193 # Check whether --enable-finddlg or --disable-finddlg was given.
9194 if test "${enable_finddlg+set}" = set; then
9195 enableval
="$enable_finddlg"
9197 if test "$enableval" = yes; then
9198 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
9200 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
9205 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9206 if test "x$LINE" != x
; then
9207 eval "DEFAULT_$LINE"
9212 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9216 eval "$ac_cv_use_finddlg"
9217 if test "$no_cache" != 1; then
9218 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9221 if test "$wxUSE_FINDREPLDLG" = yes; then
9222 echo "$as_me:$LINENO: result: yes" >&5
9223 echo "${ECHO_T}yes" >&6
9225 echo "$as_me:$LINENO: result: no" >&5
9226 echo "${ECHO_T}no" >&6
9231 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9232 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9234 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9235 if test "${enable_fontdlg+set}" = set; then
9236 enableval
="$enable_fontdlg"
9238 if test "$enableval" = yes; then
9239 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
9241 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
9246 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9247 if test "x$LINE" != x
; then
9248 eval "DEFAULT_$LINE"
9253 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9257 eval "$ac_cv_use_fontdlg"
9258 if test "$no_cache" != 1; then
9259 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9262 if test "$wxUSE_FONTDLG" = yes; then
9263 echo "$as_me:$LINENO: result: yes" >&5
9264 echo "${ECHO_T}yes" >&6
9266 echo "$as_me:$LINENO: result: no" >&5
9267 echo "${ECHO_T}no" >&6
9272 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9273 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9275 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9276 if test "${enable_dirdlg+set}" = set; then
9277 enableval
="$enable_dirdlg"
9279 if test "$enableval" = yes; then
9280 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
9282 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
9287 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9288 if test "x$LINE" != x
; then
9289 eval "DEFAULT_$LINE"
9294 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9298 eval "$ac_cv_use_dirdlg"
9299 if test "$no_cache" != 1; then
9300 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9303 if test "$wxUSE_DIRDLG" = yes; then
9304 echo "$as_me:$LINENO: result: yes" >&5
9305 echo "${ECHO_T}yes" >&6
9307 echo "$as_me:$LINENO: result: no" >&5
9308 echo "${ECHO_T}no" >&6
9313 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9314 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9316 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9317 if test "${enable_msgdlg+set}" = set; then
9318 enableval
="$enable_msgdlg"
9320 if test "$enableval" = yes; then
9321 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
9323 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
9328 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9329 if test "x$LINE" != x
; then
9330 eval "DEFAULT_$LINE"
9335 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9339 eval "$ac_cv_use_msgdlg"
9340 if test "$no_cache" != 1; then
9341 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9344 if test "$wxUSE_MSGDLG" = yes; then
9345 echo "$as_me:$LINENO: result: yes" >&5
9346 echo "${ECHO_T}yes" >&6
9348 echo "$as_me:$LINENO: result: no" >&5
9349 echo "${ECHO_T}no" >&6
9354 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9355 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9357 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9358 if test "${enable_numberdlg+set}" = set; then
9359 enableval
="$enable_numberdlg"
9361 if test "$enableval" = yes; then
9362 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9364 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9369 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9370 if test "x$LINE" != x
; then
9371 eval "DEFAULT_$LINE"
9376 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9380 eval "$ac_cv_use_numberdlg"
9381 if test "$no_cache" != 1; then
9382 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9385 if test "$wxUSE_NUMBERDLG" = yes; then
9386 echo "$as_me:$LINENO: result: yes" >&5
9387 echo "${ECHO_T}yes" >&6
9389 echo "$as_me:$LINENO: result: no" >&5
9390 echo "${ECHO_T}no" >&6
9395 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9396 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9398 # Check whether --enable-splash or --disable-splash was given.
9399 if test "${enable_splash+set}" = set; then
9400 enableval
="$enable_splash"
9402 if test "$enableval" = yes; then
9403 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9405 ac_cv_use_splash
='wxUSE_SPLASH=no'
9410 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9411 if test "x$LINE" != x
; then
9412 eval "DEFAULT_$LINE"
9417 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9421 eval "$ac_cv_use_splash"
9422 if test "$no_cache" != 1; then
9423 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9426 if test "$wxUSE_SPLASH" = yes; then
9427 echo "$as_me:$LINENO: result: yes" >&5
9428 echo "${ECHO_T}yes" >&6
9430 echo "$as_me:$LINENO: result: no" >&5
9431 echo "${ECHO_T}no" >&6
9436 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9437 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9439 # Check whether --enable-textdlg or --disable-textdlg was given.
9440 if test "${enable_textdlg+set}" = set; then
9441 enableval
="$enable_textdlg"
9443 if test "$enableval" = yes; then
9444 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9446 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9451 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9452 if test "x$LINE" != x
; then
9453 eval "DEFAULT_$LINE"
9458 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9462 eval "$ac_cv_use_textdlg"
9463 if test "$no_cache" != 1; then
9464 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9467 if test "$wxUSE_TEXTDLG" = yes; then
9468 echo "$as_me:$LINENO: result: yes" >&5
9469 echo "${ECHO_T}yes" >&6
9471 echo "$as_me:$LINENO: result: no" >&5
9472 echo "${ECHO_T}no" >&6
9477 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9478 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9480 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9481 if test "${enable_tipdlg+set}" = set; then
9482 enableval
="$enable_tipdlg"
9484 if test "$enableval" = yes; then
9485 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9487 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9492 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9493 if test "x$LINE" != x
; then
9494 eval "DEFAULT_$LINE"
9499 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9503 eval "$ac_cv_use_tipdlg"
9504 if test "$no_cache" != 1; then
9505 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9508 if test "$wxUSE_STARTUP_TIPS" = yes; then
9509 echo "$as_me:$LINENO: result: yes" >&5
9510 echo "${ECHO_T}yes" >&6
9512 echo "$as_me:$LINENO: result: no" >&5
9513 echo "${ECHO_T}no" >&6
9518 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9519 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9521 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9522 if test "${enable_progressdlg+set}" = set; then
9523 enableval
="$enable_progressdlg"
9525 if test "$enableval" = yes; then
9526 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9528 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9533 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9534 if test "x$LINE" != x
; then
9535 eval "DEFAULT_$LINE"
9540 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9544 eval "$ac_cv_use_progressdlg"
9545 if test "$no_cache" != 1; then
9546 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9549 if test "$wxUSE_PROGRESSDLG" = yes; then
9550 echo "$as_me:$LINENO: result: yes" >&5
9551 echo "${ECHO_T}yes" >&6
9553 echo "$as_me:$LINENO: result: no" >&5
9554 echo "${ECHO_T}no" >&6
9559 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9560 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9562 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9563 if test "${enable_wizarddlg+set}" = set; then
9564 enableval
="$enable_wizarddlg"
9566 if test "$enableval" = yes; then
9567 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9569 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9574 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9575 if test "x$LINE" != x
; then
9576 eval "DEFAULT_$LINE"
9581 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9585 eval "$ac_cv_use_wizarddlg"
9586 if test "$no_cache" != 1; then
9587 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9590 if test "$wxUSE_WIZARDDLG" = yes; then
9591 echo "$as_me:$LINENO: result: yes" >&5
9592 echo "${ECHO_T}yes" >&6
9594 echo "$as_me:$LINENO: result: no" >&5
9595 echo "${ECHO_T}no" >&6
9602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9603 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9605 # Check whether --enable-menus or --disable-menus was given.
9606 if test "${enable_menus+set}" = set; then
9607 enableval
="$enable_menus"
9609 if test "$enableval" = yes; then
9610 ac_cv_use_menus
='wxUSE_MENUS=yes'
9612 ac_cv_use_menus
='wxUSE_MENUS=no'
9617 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9618 if test "x$LINE" != x
; then
9619 eval "DEFAULT_$LINE"
9624 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9628 eval "$ac_cv_use_menus"
9629 if test "$no_cache" != 1; then
9630 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9633 if test "$wxUSE_MENUS" = yes; then
9634 echo "$as_me:$LINENO: result: yes" >&5
9635 echo "${ECHO_T}yes" >&6
9637 echo "$as_me:$LINENO: result: no" >&5
9638 echo "${ECHO_T}no" >&6
9643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9644 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9646 # Check whether --enable-miniframe or --disable-miniframe was given.
9647 if test "${enable_miniframe+set}" = set; then
9648 enableval
="$enable_miniframe"
9650 if test "$enableval" = yes; then
9651 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9653 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9658 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9659 if test "x$LINE" != x
; then
9660 eval "DEFAULT_$LINE"
9665 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9669 eval "$ac_cv_use_miniframe"
9670 if test "$no_cache" != 1; then
9671 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9674 if test "$wxUSE_MINIFRAME" = yes; then
9675 echo "$as_me:$LINENO: result: yes" >&5
9676 echo "${ECHO_T}yes" >&6
9678 echo "$as_me:$LINENO: result: no" >&5
9679 echo "${ECHO_T}no" >&6
9684 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9685 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9687 # Check whether --enable-tooltips or --disable-tooltips was given.
9688 if test "${enable_tooltips+set}" = set; then
9689 enableval
="$enable_tooltips"
9691 if test "$enableval" = yes; then
9692 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9694 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9699 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9700 if test "x$LINE" != x
; then
9701 eval "DEFAULT_$LINE"
9706 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9710 eval "$ac_cv_use_tooltips"
9711 if test "$no_cache" != 1; then
9712 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9715 if test "$wxUSE_TOOLTIPS" = yes; then
9716 echo "$as_me:$LINENO: result: yes" >&5
9717 echo "${ECHO_T}yes" >&6
9719 echo "$as_me:$LINENO: result: no" >&5
9720 echo "${ECHO_T}no" >&6
9725 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9726 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9728 # Check whether --enable-splines or --disable-splines was given.
9729 if test "${enable_splines+set}" = set; then
9730 enableval
="$enable_splines"
9732 if test "$enableval" = yes; then
9733 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9735 ac_cv_use_splines
='wxUSE_SPLINES=no'
9740 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9741 if test "x$LINE" != x
; then
9742 eval "DEFAULT_$LINE"
9747 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9751 eval "$ac_cv_use_splines"
9752 if test "$no_cache" != 1; then
9753 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9756 if test "$wxUSE_SPLINES" = yes; then
9757 echo "$as_me:$LINENO: result: yes" >&5
9758 echo "${ECHO_T}yes" >&6
9760 echo "$as_me:$LINENO: result: no" >&5
9761 echo "${ECHO_T}no" >&6
9766 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
9767 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
9769 # Check whether --enable-mousewheel or --disable-mousewheel was given.
9770 if test "${enable_mousewheel+set}" = set; then
9771 enableval
="$enable_mousewheel"
9773 if test "$enableval" = yes; then
9774 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
9776 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
9781 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
9782 if test "x$LINE" != x
; then
9783 eval "DEFAULT_$LINE"
9788 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
9792 eval "$ac_cv_use_mousewheel"
9793 if test "$no_cache" != 1; then
9794 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
9797 if test "$wxUSE_MOUSEWHEEL" = yes; then
9798 echo "$as_me:$LINENO: result: yes" >&5
9799 echo "${ECHO_T}yes" >&6
9801 echo "$as_me:$LINENO: result: no" >&5
9802 echo "${ECHO_T}no" >&6
9807 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9808 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9810 # Check whether --enable-validators or --disable-validators was given.
9811 if test "${enable_validators+set}" = set; then
9812 enableval
="$enable_validators"
9814 if test "$enableval" = yes; then
9815 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9817 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9822 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9823 if test "x$LINE" != x
; then
9824 eval "DEFAULT_$LINE"
9829 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9833 eval "$ac_cv_use_validators"
9834 if test "$no_cache" != 1; then
9835 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9838 if test "$wxUSE_VALIDATORS" = yes; then
9839 echo "$as_me:$LINENO: result: yes" >&5
9840 echo "${ECHO_T}yes" >&6
9842 echo "$as_me:$LINENO: result: no" >&5
9843 echo "${ECHO_T}no" >&6
9848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9849 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9851 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9852 if test "${enable_busyinfo+set}" = set; then
9853 enableval
="$enable_busyinfo"
9855 if test "$enableval" = yes; then
9856 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9858 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9863 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9864 if test "x$LINE" != x
; then
9865 eval "DEFAULT_$LINE"
9870 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9874 eval "$ac_cv_use_busyinfo"
9875 if test "$no_cache" != 1; then
9876 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9879 if test "$wxUSE_BUSYINFO" = yes; then
9880 echo "$as_me:$LINENO: result: yes" >&5
9881 echo "${ECHO_T}yes" >&6
9883 echo "$as_me:$LINENO: result: no" >&5
9884 echo "${ECHO_T}no" >&6
9889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9890 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9892 # Check whether --enable-joystick or --disable-joystick was given.
9893 if test "${enable_joystick+set}" = set; then
9894 enableval
="$enable_joystick"
9896 if test "$enableval" = yes; then
9897 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9899 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9904 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9905 if test "x$LINE" != x
; then
9906 eval "DEFAULT_$LINE"
9911 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9915 eval "$ac_cv_use_joystick"
9916 if test "$no_cache" != 1; then
9917 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9920 if test "$wxUSE_JOYSTICK" = yes; then
9921 echo "$as_me:$LINENO: result: yes" >&5
9922 echo "${ECHO_T}yes" >&6
9924 echo "$as_me:$LINENO: result: no" >&5
9925 echo "${ECHO_T}no" >&6
9930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9931 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9933 # Check whether --enable-metafile or --disable-metafile was given.
9934 if test "${enable_metafile+set}" = set; then
9935 enableval
="$enable_metafile"
9937 if test "$enableval" = yes; then
9938 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9940 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9945 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9946 if test "x$LINE" != x
; then
9947 eval "DEFAULT_$LINE"
9952 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9956 eval "$ac_cv_use_metafile"
9957 if test "$no_cache" != 1; then
9958 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9961 if test "$wxUSE_METAFILE" = yes; then
9962 echo "$as_me:$LINENO: result: yes" >&5
9963 echo "${ECHO_T}yes" >&6
9965 echo "$as_me:$LINENO: result: no" >&5
9966 echo "${ECHO_T}no" >&6
9971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9972 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9974 # Check whether --enable-dragimage or --disable-dragimage was given.
9975 if test "${enable_dragimage+set}" = set; then
9976 enableval
="$enable_dragimage"
9978 if test "$enableval" = yes; then
9979 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9981 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9986 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9987 if test "x$LINE" != x
; then
9988 eval "DEFAULT_$LINE"
9993 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9997 eval "$ac_cv_use_dragimage"
9998 if test "$no_cache" != 1; then
9999 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10002 if test "$wxUSE_DRAGIMAGE" = yes; then
10003 echo "$as_me:$LINENO: result: yes" >&5
10004 echo "${ECHO_T}yes" >&6
10006 echo "$as_me:$LINENO: result: no" >&5
10007 echo "${ECHO_T}no" >&6
10012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10013 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10015 # Check whether --enable-accessibility or --disable-accessibility was given.
10016 if test "${enable_accessibility+set}" = set; then
10017 enableval
="$enable_accessibility"
10019 if test "$enableval" = yes; then
10020 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
10022 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
10027 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10028 if test "x$LINE" != x
; then
10029 eval "DEFAULT_$LINE"
10034 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10038 eval "$ac_cv_use_accessibility"
10039 if test "$no_cache" != 1; then
10040 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10043 if test "$wxUSE_ACCESSIBILITY" = yes; then
10044 echo "$as_me:$LINENO: result: yes" >&5
10045 echo "${ECHO_T}yes" >&6
10047 echo "$as_me:$LINENO: result: no" >&5
10048 echo "${ECHO_T}no" >&6
10055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10056 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10058 # Check whether --enable-palette or --disable-palette was given.
10059 if test "${enable_palette+set}" = set; then
10060 enableval
="$enable_palette"
10062 if test "$enableval" = yes; then
10063 ac_cv_use_palette
='wxUSE_PALETTE=yes'
10065 ac_cv_use_palette
='wxUSE_PALETTE=no'
10070 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10071 if test "x$LINE" != x
; then
10072 eval "DEFAULT_$LINE"
10077 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10081 eval "$ac_cv_use_palette"
10082 if test "$no_cache" != 1; then
10083 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10086 if test "$wxUSE_PALETTE" = yes; then
10087 echo "$as_me:$LINENO: result: yes" >&5
10088 echo "${ECHO_T}yes" >&6
10090 echo "$as_me:$LINENO: result: no" >&5
10091 echo "${ECHO_T}no" >&6
10096 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10097 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10099 # Check whether --enable-image or --disable-image was given.
10100 if test "${enable_image+set}" = set; then
10101 enableval
="$enable_image"
10103 if test "$enableval" = yes; then
10104 ac_cv_use_image
='wxUSE_IMAGE=yes'
10106 ac_cv_use_image
='wxUSE_IMAGE=no'
10111 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10112 if test "x$LINE" != x
; then
10113 eval "DEFAULT_$LINE"
10118 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10122 eval "$ac_cv_use_image"
10123 if test "$no_cache" != 1; then
10124 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10127 if test "$wxUSE_IMAGE" = yes; then
10128 echo "$as_me:$LINENO: result: yes" >&5
10129 echo "${ECHO_T}yes" >&6
10131 echo "$as_me:$LINENO: result: no" >&5
10132 echo "${ECHO_T}no" >&6
10137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10138 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10140 # Check whether --enable-gif or --disable-gif was given.
10141 if test "${enable_gif+set}" = set; then
10142 enableval
="$enable_gif"
10144 if test "$enableval" = yes; then
10145 ac_cv_use_gif
='wxUSE_GIF=yes'
10147 ac_cv_use_gif
='wxUSE_GIF=no'
10152 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10153 if test "x$LINE" != x
; then
10154 eval "DEFAULT_$LINE"
10159 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10163 eval "$ac_cv_use_gif"
10164 if test "$no_cache" != 1; then
10165 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10168 if test "$wxUSE_GIF" = yes; then
10169 echo "$as_me:$LINENO: result: yes" >&5
10170 echo "${ECHO_T}yes" >&6
10172 echo "$as_me:$LINENO: result: no" >&5
10173 echo "${ECHO_T}no" >&6
10178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10179 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10181 # Check whether --enable-pcx or --disable-pcx was given.
10182 if test "${enable_pcx+set}" = set; then
10183 enableval
="$enable_pcx"
10185 if test "$enableval" = yes; then
10186 ac_cv_use_pcx
='wxUSE_PCX=yes'
10188 ac_cv_use_pcx
='wxUSE_PCX=no'
10193 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10194 if test "x$LINE" != x
; then
10195 eval "DEFAULT_$LINE"
10200 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10204 eval "$ac_cv_use_pcx"
10205 if test "$no_cache" != 1; then
10206 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10209 if test "$wxUSE_PCX" = yes; then
10210 echo "$as_me:$LINENO: result: yes" >&5
10211 echo "${ECHO_T}yes" >&6
10213 echo "$as_me:$LINENO: result: no" >&5
10214 echo "${ECHO_T}no" >&6
10219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10220 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10222 # Check whether --enable-iff or --disable-iff was given.
10223 if test "${enable_iff+set}" = set; then
10224 enableval
="$enable_iff"
10226 if test "$enableval" = yes; then
10227 ac_cv_use_iff
='wxUSE_IFF=yes'
10229 ac_cv_use_iff
='wxUSE_IFF=no'
10234 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10235 if test "x$LINE" != x
; then
10236 eval "DEFAULT_$LINE"
10241 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10245 eval "$ac_cv_use_iff"
10246 if test "$no_cache" != 1; then
10247 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10250 if test "$wxUSE_IFF" = yes; then
10251 echo "$as_me:$LINENO: result: yes" >&5
10252 echo "${ECHO_T}yes" >&6
10254 echo "$as_me:$LINENO: result: no" >&5
10255 echo "${ECHO_T}no" >&6
10260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10261 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10263 # Check whether --enable-pnm or --disable-pnm was given.
10264 if test "${enable_pnm+set}" = set; then
10265 enableval
="$enable_pnm"
10267 if test "$enableval" = yes; then
10268 ac_cv_use_pnm
='wxUSE_PNM=yes'
10270 ac_cv_use_pnm
='wxUSE_PNM=no'
10275 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10276 if test "x$LINE" != x
; then
10277 eval "DEFAULT_$LINE"
10282 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10286 eval "$ac_cv_use_pnm"
10287 if test "$no_cache" != 1; then
10288 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10291 if test "$wxUSE_PNM" = yes; then
10292 echo "$as_me:$LINENO: result: yes" >&5
10293 echo "${ECHO_T}yes" >&6
10295 echo "$as_me:$LINENO: result: no" >&5
10296 echo "${ECHO_T}no" >&6
10301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10302 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10304 # Check whether --enable-xpm or --disable-xpm was given.
10305 if test "${enable_xpm+set}" = set; then
10306 enableval
="$enable_xpm"
10308 if test "$enableval" = yes; then
10309 ac_cv_use_xpm
='wxUSE_XPM=yes'
10311 ac_cv_use_xpm
='wxUSE_XPM=no'
10316 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10317 if test "x$LINE" != x
; then
10318 eval "DEFAULT_$LINE"
10323 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10327 eval "$ac_cv_use_xpm"
10328 if test "$no_cache" != 1; then
10329 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10332 if test "$wxUSE_XPM" = yes; then
10333 echo "$as_me:$LINENO: result: yes" >&5
10334 echo "${ECHO_T}yes" >&6
10336 echo "$as_me:$LINENO: result: no" >&5
10337 echo "${ECHO_T}no" >&6
10342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10343 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10345 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10346 if test "${enable_ico_cur+set}" = set; then
10347 enableval
="$enable_ico_cur"
10349 if test "$enableval" = yes; then
10350 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
10352 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
10357 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10358 if test "x$LINE" != x
; then
10359 eval "DEFAULT_$LINE"
10364 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10368 eval "$ac_cv_use_ico_cur"
10369 if test "$no_cache" != 1; then
10370 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10373 if test "$wxUSE_ICO_CUR" = yes; then
10374 echo "$as_me:$LINENO: result: yes" >&5
10375 echo "${ECHO_T}yes" >&6
10377 echo "$as_me:$LINENO: result: no" >&5
10378 echo "${ECHO_T}no" >&6
10386 # Check whether --with-flavour or --without-flavour was given.
10387 if test "${with_flavour+set}" = set; then
10388 withval
="$with_flavour"
10389 WX_FLAVOUR
="$withval"
10395 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10396 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10398 # Check whether --enable-official_build or --disable-official_build was given.
10399 if test "${enable_official_build+set}" = set; then
10400 enableval
="$enable_official_build"
10402 if test "$enableval" = yes; then
10403 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10405 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10410 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10411 if test "x$LINE" != x
; then
10412 eval "DEFAULT_$LINE"
10417 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10421 eval "$ac_cv_use_official_build"
10422 if test "$no_cache" != 1; then
10423 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10426 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10427 echo "$as_me:$LINENO: result: yes" >&5
10428 echo "${ECHO_T}yes" >&6
10430 echo "$as_me:$LINENO: result: no" >&5
10431 echo "${ECHO_T}no" >&6
10434 # Check whether --enable-vendor or --disable-vendor was given.
10435 if test "${enable_vendor+set}" = set; then
10436 enableval
="$enable_vendor"
10437 VENDOR
="$enableval"
10439 if test "x$VENDOR" = "x"; then
10446 echo "saving argument cache $wx_arg_cache_file"
10447 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10451 echo "$as_me:$LINENO: checking for toolkit" >&5
10452 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10454 # In Wine, we need to default to MSW, not GTK or MOTIF
10455 if test "$wxUSE_WINE" = "yes"; then
10456 DEFAULT_DEFAULT_wxUSE_GTK
=0
10457 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10458 DEFAULT_DEFAULT_wxUSE_MSW
=1
10463 if test "$wxUSE_GUI" = "yes"; then
10465 if test "$USE_BEOS" = 1; then
10466 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10467 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10468 { (exit 1); exit 1; }; }
10471 if test "$TOOLKIT_GIVEN" = 1; then
10472 for toolkit
in `echo $ALL_TOOLKITS`; do
10474 eval "value=\$${var}"
10475 if test "x$value" = "xno"; then
10477 elif test "x$value" != "x"; then
10481 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10482 eval "wx${toolkit}_VERSION=$value"
10486 for toolkit
in `echo $ALL_TOOLKITS`; do
10487 if test "$has_toolkit_in_cache" != 1; then
10488 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10490 var
=DEFAULT_wxUSE_
$toolkit
10492 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10493 if test "x$version" != "x"; then
10494 eval "wx${toolkit}_VERSION=$version"
10497 eval "wxUSE_$toolkit=\$${var}"
10501 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10502 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10503 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10506 *-pc-os2_emx | *-pc-os2-emx )
10507 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10510 case "$NUM_TOOLKITS" in
10514 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10515 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10516 { (exit 1); exit 1; }; }
10519 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10520 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10521 { (exit 1); exit 1; }; }
10524 # to be removed when --disable-gtk2 isn't needed
10525 if test "x$wxUSE_GTK2" = "xyes"; then
10527 elif test "x$wxUSE_GTK2" = "xno"; then
10531 for toolkit
in `echo $ALL_TOOLKITS`; do
10533 eval "value=\$${var}"
10534 if test "x$value" != x
; then
10535 cache_var
=CACHE_
$toolkit
10536 eval "cache=\$${cache_var}"
10537 if test "$cache" = 1; then
10538 echo "$var=$value" >> ${wx_arg_cache_file}
10539 eval "version=\$wx${toolkit}_VERSION"
10540 if test "x$version" != "x"; then
10541 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10544 if test "$value" = 1; then
10545 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10546 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10547 echo "${ECHO_T}$toolkit_echo" >&6
10552 if test "x$host_alias" != "x"; then
10553 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10554 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10556 echo "$as_me:$LINENO: result: base only" >&5
10557 echo "${ECHO_T}base only" >&6
10562 doesnt_want_win32
=0
10565 if test "$wxUSE_MSW" = 1 ; then
10568 doesnt_want_win32
=1
10576 if test "$wxUSE_WINE" = "yes"; then
10581 LDFLAGS_GUI
="-mwindows"
10584 if test "$wants_win32" = 1 ; then
10587 cat >>confdefs.h
<<\_ACEOF
10588 #define __WIN32__ 1
10591 cat >>confdefs.h
<<\_ACEOF
10592 #define __WIN95__ 1
10595 cat >>confdefs.h
<<\_ACEOF
10596 #define __WINDOWS__ 1
10599 cat >>confdefs.h
<<\_ACEOF
10600 #define __GNUWIN32__ 1
10603 cat >>confdefs.h
<<\_ACEOF
10607 cat >>confdefs.h
<<\_ACEOF
10608 #define WINVER 0x0400
10612 if test "$doesnt_want_win32" = 1 ; then
10617 if test "$USE_UNIX" = 1 ; then
10619 cat >>confdefs.h
<<\_ACEOF
10626 cat >confcache
<<\_ACEOF
10627 # This file is a shell script that caches the results of configure
10628 # tests run on this system so they can be shared between configure
10629 # scripts and configure runs, see configure's option --config-cache.
10630 # It is not useful on other systems. If it contains results you don't
10631 # want to keep, you may remove or edit it.
10633 # config.status only pays attention to the cache file if you give it
10634 # the --recheck option to rerun configure.
10636 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10637 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10638 # following values.
10642 # The following way of writing the cache mishandles newlines in values,
10643 # but we know of no workaround that is simple, portable, and efficient.
10644 # So, don't put newlines in cache variables' values.
10645 # Ultrix sh set writes to stderr and can't be redirected directly,
10646 # and sets the high bit in the cache file unless we assign to the vars.
10649 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10651 # `set' does not quote correctly, so add quotes (double-quote
10652 # substitution turns \\\\ into \\, and sed turns \\ into \).
10655 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10658 # `set' quotes correctly as required by POSIX, so do not add quotes.
10660 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10667 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10669 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10671 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10672 if test -w $cache_file; then
10673 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10674 cat confcache
>$cache_file
10676 echo "not updating unwritable cache $cache_file"
10681 if test "$build" != "$host" ; then
10682 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10684 CXX
=$host_alias-c++
10686 RANLIB
=$host_alias-ranlib
10687 DLLTOOL
=$host_alias-dlltool
10688 RESCOMP
=$host_alias-windres
10689 STRIP
=$host_alias-strip
10690 elif test "x$CC" '!=' "x"; then
10691 echo "You set CC, I assume you know what you are doing."
10693 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10694 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10695 { (exit 1); exit 1; }; }
10703 ac_cpp
='$CPP $CPPFLAGS'
10704 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10705 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10706 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10707 if test -n "$ac_tool_prefix"; then
10708 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10709 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10710 echo "$as_me:$LINENO: checking for $ac_word" >&5
10711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10712 if test "${ac_cv_prog_CC+set}" = set; then
10713 echo $ECHO_N "(cached) $ECHO_C" >&6
10715 if test -n "$CC"; then
10716 ac_cv_prog_CC
="$CC" # Let the user override the test.
10718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10719 for as_dir
in $PATH
10722 test -z "$as_dir" && as_dir
=.
10723 for ac_exec_ext
in '' $ac_executable_extensions; do
10724 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10725 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10735 if test -n "$CC"; then
10736 echo "$as_me:$LINENO: result: $CC" >&5
10737 echo "${ECHO_T}$CC" >&6
10739 echo "$as_me:$LINENO: result: no" >&5
10740 echo "${ECHO_T}no" >&6
10744 if test -z "$ac_cv_prog_CC"; then
10746 # Extract the first word of "gcc", so it can be a program name with args.
10747 set dummy gcc
; ac_word
=$2
10748 echo "$as_me:$LINENO: checking for $ac_word" >&5
10749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10750 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10751 echo $ECHO_N "(cached) $ECHO_C" >&6
10753 if test -n "$ac_ct_CC"; then
10754 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10757 for as_dir
in $PATH
10760 test -z "$as_dir" && as_dir
=.
10761 for ac_exec_ext
in '' $ac_executable_extensions; do
10762 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10763 ac_cv_prog_ac_ct_CC
="gcc"
10764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10772 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10773 if test -n "$ac_ct_CC"; then
10774 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10775 echo "${ECHO_T}$ac_ct_CC" >&6
10777 echo "$as_me:$LINENO: result: no" >&5
10778 echo "${ECHO_T}no" >&6
10783 CC
="$ac_cv_prog_CC"
10786 if test -z "$CC"; then
10787 if test -n "$ac_tool_prefix"; then
10788 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10789 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10790 echo "$as_me:$LINENO: checking for $ac_word" >&5
10791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10792 if test "${ac_cv_prog_CC+set}" = set; then
10793 echo $ECHO_N "(cached) $ECHO_C" >&6
10795 if test -n "$CC"; then
10796 ac_cv_prog_CC
="$CC" # Let the user override the test.
10798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10799 for as_dir
in $PATH
10802 test -z "$as_dir" && as_dir
=.
10803 for ac_exec_ext
in '' $ac_executable_extensions; do
10804 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10805 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10815 if test -n "$CC"; then
10816 echo "$as_me:$LINENO: result: $CC" >&5
10817 echo "${ECHO_T}$CC" >&6
10819 echo "$as_me:$LINENO: result: no" >&5
10820 echo "${ECHO_T}no" >&6
10824 if test -z "$ac_cv_prog_CC"; then
10826 # Extract the first word of "cc", so it can be a program name with args.
10827 set dummy cc
; ac_word
=$2
10828 echo "$as_me:$LINENO: checking for $ac_word" >&5
10829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10830 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10831 echo $ECHO_N "(cached) $ECHO_C" >&6
10833 if test -n "$ac_ct_CC"; then
10834 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10837 for as_dir
in $PATH
10840 test -z "$as_dir" && as_dir
=.
10841 for ac_exec_ext
in '' $ac_executable_extensions; do
10842 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10843 ac_cv_prog_ac_ct_CC
="cc"
10844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10852 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10853 if test -n "$ac_ct_CC"; then
10854 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10855 echo "${ECHO_T}$ac_ct_CC" >&6
10857 echo "$as_me:$LINENO: result: no" >&5
10858 echo "${ECHO_T}no" >&6
10863 CC
="$ac_cv_prog_CC"
10867 if test -z "$CC"; then
10868 # Extract the first word of "cc", so it can be a program name with args.
10869 set dummy cc
; ac_word
=$2
10870 echo "$as_me:$LINENO: checking for $ac_word" >&5
10871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10872 if test "${ac_cv_prog_CC+set}" = set; then
10873 echo $ECHO_N "(cached) $ECHO_C" >&6
10875 if test -n "$CC"; then
10876 ac_cv_prog_CC
="$CC" # Let the user override the test.
10878 ac_prog_rejected
=no
10879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10880 for as_dir
in $PATH
10883 test -z "$as_dir" && as_dir
=.
10884 for ac_exec_ext
in '' $ac_executable_extensions; do
10885 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10886 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10887 ac_prog_rejected
=yes
10891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10897 if test $ac_prog_rejected = yes; then
10898 # We found a bogon in the path, so make sure we never use it.
10899 set dummy
$ac_cv_prog_CC
10901 if test $# != 0; then
10902 # We chose a different compiler from the bogus one.
10903 # However, it has the same basename, so the bogon will be chosen
10904 # first if we set CC to just the basename; use the full file name.
10906 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10912 if test -n "$CC"; then
10913 echo "$as_me:$LINENO: result: $CC" >&5
10914 echo "${ECHO_T}$CC" >&6
10916 echo "$as_me:$LINENO: result: no" >&5
10917 echo "${ECHO_T}no" >&6
10921 if test -z "$CC"; then
10922 if test -n "$ac_tool_prefix"; then
10925 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10926 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10927 echo "$as_me:$LINENO: checking for $ac_word" >&5
10928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10929 if test "${ac_cv_prog_CC+set}" = set; then
10930 echo $ECHO_N "(cached) $ECHO_C" >&6
10932 if test -n "$CC"; then
10933 ac_cv_prog_CC
="$CC" # Let the user override the test.
10935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10936 for as_dir
in $PATH
10939 test -z "$as_dir" && as_dir
=.
10940 for ac_exec_ext
in '' $ac_executable_extensions; do
10941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10942 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10952 if test -n "$CC"; then
10953 echo "$as_me:$LINENO: result: $CC" >&5
10954 echo "${ECHO_T}$CC" >&6
10956 echo "$as_me:$LINENO: result: no" >&5
10957 echo "${ECHO_T}no" >&6
10960 test -n "$CC" && break
10963 if test -z "$CC"; then
10967 # Extract the first word of "$ac_prog", so it can be a program name with args.
10968 set dummy
$ac_prog; ac_word
=$2
10969 echo "$as_me:$LINENO: checking for $ac_word" >&5
10970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10971 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10972 echo $ECHO_N "(cached) $ECHO_C" >&6
10974 if test -n "$ac_ct_CC"; then
10975 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10978 for as_dir
in $PATH
10981 test -z "$as_dir" && as_dir
=.
10982 for ac_exec_ext
in '' $ac_executable_extensions; do
10983 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10984 ac_cv_prog_ac_ct_CC
="$ac_prog"
10985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10993 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10994 if test -n "$ac_ct_CC"; then
10995 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10996 echo "${ECHO_T}$ac_ct_CC" >&6
10998 echo "$as_me:$LINENO: result: no" >&5
10999 echo "${ECHO_T}no" >&6
11002 test -n "$ac_ct_CC" && break
11011 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11012 See \`config.log' for more details." >&5
11013 echo "$as_me: error: no acceptable C compiler found in \$PATH
11014 See \`config.log' for more details." >&2;}
11015 { (exit 1); exit 1; }; }
11017 # Provide some information about the compiler.
11018 echo "$as_me:$LINENO:" \
11019 "checking for C compiler version" >&5
11020 ac_compiler
=`set X $ac_compile; echo $2`
11021 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11022 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11025 (exit $ac_status); }
11026 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11027 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11030 (exit $ac_status); }
11031 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11032 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11035 (exit $ac_status); }
11037 cat >conftest.
$ac_ext <<_ACEOF
11040 cat confdefs.h
>>conftest.
$ac_ext
11041 cat >>conftest.
$ac_ext <<_ACEOF
11042 /* end confdefs.h. */
11052 ac_clean_files_save
=$ac_clean_files
11053 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
11054 # Try to create an executable without -o first, disregard a.out.
11055 # It will help us diagnose broken compilers, and finding out an intuition
11057 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11058 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11059 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11060 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11061 (eval $ac_link_default) 2>&5
11063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11064 (exit $ac_status); }; then
11065 # Find the output, starting from the most likely. This scheme is
11066 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11069 # Be careful to initialize this variable, since it used to be cached.
11070 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11072 # b.out is created by i960 compilers.
11073 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
11075 test -f "$ac_file" || continue
11077 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
11080 # This is the source file.
11083 # We found the default executable, but exeext='' is most
11087 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11088 # FIXME: I believe we export ac_cv_exeext for Libtool,
11089 # but it would be cool to find out if it's true. Does anybody
11090 # maintain Libtool? --akim.
11091 export ac_cv_exeext
11098 echo "$as_me: failed program was:" >&5
11099 sed 's/^/| /' conftest.
$ac_ext >&5
11101 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11102 See \`config.log' for more details." >&5
11103 echo "$as_me: error: C compiler cannot create executables
11104 See \`config.log' for more details." >&2;}
11105 { (exit 77); exit 77; }; }
11108 ac_exeext
=$ac_cv_exeext
11109 echo "$as_me:$LINENO: result: $ac_file" >&5
11110 echo "${ECHO_T}$ac_file" >&6
11112 # Check the compiler produces executables we can run. If not, either
11113 # the compiler is broken, or we cross compile.
11114 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11115 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11116 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11117 # If not cross compiling, check that we can run a simple program.
11118 if test "$cross_compiling" != yes; then
11119 if { ac_try
='./$ac_file'
11120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11121 (eval $ac_try) 2>&5
11123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11124 (exit $ac_status); }; }; then
11127 if test "$cross_compiling" = maybe
; then
11128 cross_compiling
=yes
11130 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11131 If you meant to cross compile, use \`--host'.
11132 See \`config.log' for more details." >&5
11133 echo "$as_me: error: cannot run C compiled programs.
11134 If you meant to cross compile, use \`--host'.
11135 See \`config.log' for more details." >&2;}
11136 { (exit 1); exit 1; }; }
11140 echo "$as_me:$LINENO: result: yes" >&5
11141 echo "${ECHO_T}yes" >&6
11143 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11144 ac_clean_files
=$ac_clean_files_save
11145 # Check the compiler produces executables we can run. If not, either
11146 # the compiler is broken, or we cross compile.
11147 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11148 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11149 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11150 echo "${ECHO_T}$cross_compiling" >&6
11152 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11153 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11155 (eval $ac_link) 2>&5
11157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11158 (exit $ac_status); }; then
11159 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11160 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11161 # work properly (i.e., refer to `conftest.exe'), while it won't with
11163 for ac_file
in conftest.exe conftest conftest.
*; do
11164 test -f "$ac_file" || continue
11166 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11167 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11168 export ac_cv_exeext
11174 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11175 See \`config.log' for more details." >&5
11176 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11177 See \`config.log' for more details." >&2;}
11178 { (exit 1); exit 1; }; }
11181 rm -f conftest
$ac_cv_exeext
11182 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11183 echo "${ECHO_T}$ac_cv_exeext" >&6
11185 rm -f conftest.
$ac_ext
11186 EXEEXT
=$ac_cv_exeext
11188 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11189 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11190 if test "${ac_cv_objext+set}" = set; then
11191 echo $ECHO_N "(cached) $ECHO_C" >&6
11193 cat >conftest.
$ac_ext <<_ACEOF
11196 cat confdefs.h
>>conftest.
$ac_ext
11197 cat >>conftest.
$ac_ext <<_ACEOF
11198 /* end confdefs.h. */
11208 rm -f conftest.o conftest.obj
11209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11210 (eval $ac_compile) 2>&5
11212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11213 (exit $ac_status); }; then
11214 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11216 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
11217 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11222 echo "$as_me: failed program was:" >&5
11223 sed 's/^/| /' conftest.
$ac_ext >&5
11225 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11226 See \`config.log' for more details." >&5
11227 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11228 See \`config.log' for more details." >&2;}
11229 { (exit 1); exit 1; }; }
11232 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11234 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11235 echo "${ECHO_T}$ac_cv_objext" >&6
11236 OBJEXT
=$ac_cv_objext
11238 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11239 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11240 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11241 echo $ECHO_N "(cached) $ECHO_C" >&6
11243 cat >conftest.
$ac_ext <<_ACEOF
11246 cat confdefs.h
>>conftest.
$ac_ext
11247 cat >>conftest.
$ac_ext <<_ACEOF
11248 /* end confdefs.h. */
11261 rm -f conftest.
$ac_objext
11262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11263 (eval $ac_compile) 2>conftest.er1
11265 grep -v '^ *+' conftest.er1
>conftest.err
11267 cat conftest.err
>&5
11268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11269 (exit $ac_status); } &&
11270 { ac_try
='test -z "$ac_c_werror_flag"
11271 || test ! -s conftest.err'
11272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11273 (eval $ac_try) 2>&5
11275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11276 (exit $ac_status); }; } &&
11277 { ac_try
='test -s conftest.$ac_objext'
11278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11279 (eval $ac_try) 2>&5
11281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11282 (exit $ac_status); }; }; then
11283 ac_compiler_gnu
=yes
11285 echo "$as_me: failed program was:" >&5
11286 sed 's/^/| /' conftest.
$ac_ext >&5
11290 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11291 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11294 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11295 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11296 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11297 ac_test_CFLAGS
=${CFLAGS+set}
11298 ac_save_CFLAGS
=$CFLAGS
11300 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11301 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11302 if test "${ac_cv_prog_cc_g+set}" = set; then
11303 echo $ECHO_N "(cached) $ECHO_C" >&6
11305 cat >conftest.
$ac_ext <<_ACEOF
11308 cat confdefs.h
>>conftest.
$ac_ext
11309 cat >>conftest.
$ac_ext <<_ACEOF
11310 /* end confdefs.h. */
11320 rm -f conftest.
$ac_objext
11321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11322 (eval $ac_compile) 2>conftest.er1
11324 grep -v '^ *+' conftest.er1
>conftest.err
11326 cat conftest.err
>&5
11327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11328 (exit $ac_status); } &&
11329 { ac_try
='test -z "$ac_c_werror_flag"
11330 || test ! -s conftest.err'
11331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11332 (eval $ac_try) 2>&5
11334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11335 (exit $ac_status); }; } &&
11336 { ac_try
='test -s conftest.$ac_objext'
11337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11338 (eval $ac_try) 2>&5
11340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11341 (exit $ac_status); }; }; then
11342 ac_cv_prog_cc_g
=yes
11344 echo "$as_me: failed program was:" >&5
11345 sed 's/^/| /' conftest.
$ac_ext >&5
11349 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11351 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11352 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11353 if test "$ac_test_CFLAGS" = set; then
11354 CFLAGS
=$ac_save_CFLAGS
11355 elif test $ac_cv_prog_cc_g = yes; then
11356 if test "$GCC" = yes; then
11362 if test "$GCC" = yes; then
11368 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11369 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11370 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11371 echo $ECHO_N "(cached) $ECHO_C" >&6
11373 ac_cv_prog_cc_stdc
=no
11375 cat >conftest.
$ac_ext <<_ACEOF
11378 cat confdefs.h
>>conftest.
$ac_ext
11379 cat >>conftest.
$ac_ext <<_ACEOF
11380 /* end confdefs.h. */
11381 #include <stdarg.h>
11383 #include <sys/types.h>
11384 #include <sys/stat.h>
11385 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11386 struct buf { int x; };
11387 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11388 static char *e (p, i)
11394 static char *f (char * (*g) (char **, int), char **p, ...)
11399 s = g (p, va_arg (v,int));
11404 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11405 function prototypes and stuff, but not '\xHH' hex character constants.
11406 These don't provoke an error unfortunately, instead are silently treated
11407 as 'x'. The following induces an error, until -std1 is added to get
11408 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11409 array size at least. It's necessary to write '\x00'==0 to get something
11410 that's true only with -std1. */
11411 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11413 int test (int i, double x);
11414 struct s1 {int (*f) (int a);};
11415 struct s2 {int (*f) (double a);};
11416 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11422 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11427 # Don't try gcc -ansi; that turns off useful extensions and
11428 # breaks some systems' header files.
11429 # AIX -qlanglvl=ansi
11430 # Ultrix and OSF/1 -std1
11431 # HP-UX 10.20 and later -Ae
11432 # HP-UX older versions -Aa -D_HPUX_SOURCE
11433 # SVR4 -Xc -D__EXTENSIONS__
11434 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11436 CC
="$ac_save_CC $ac_arg"
11437 rm -f conftest.
$ac_objext
11438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11439 (eval $ac_compile) 2>conftest.er1
11441 grep -v '^ *+' conftest.er1
>conftest.err
11443 cat conftest.err
>&5
11444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11445 (exit $ac_status); } &&
11446 { ac_try
='test -z "$ac_c_werror_flag"
11447 || test ! -s conftest.err'
11448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11449 (eval $ac_try) 2>&5
11451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11452 (exit $ac_status); }; } &&
11453 { ac_try
='test -s conftest.$ac_objext'
11454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11455 (eval $ac_try) 2>&5
11457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11458 (exit $ac_status); }; }; then
11459 ac_cv_prog_cc_stdc
=$ac_arg
11462 echo "$as_me: failed program was:" >&5
11463 sed 's/^/| /' conftest.
$ac_ext >&5
11466 rm -f conftest.err conftest.
$ac_objext
11468 rm -f conftest.
$ac_ext conftest.
$ac_objext
11473 case "x$ac_cv_prog_cc_stdc" in
11475 echo "$as_me:$LINENO: result: none needed" >&5
11476 echo "${ECHO_T}none needed" >&6 ;;
11478 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11479 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11480 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11483 # Some people use a C++ compiler to compile C. Since we use `exit',
11484 # in C++ we need to declare it. In case someone uses the same compiler
11485 # for both compiling C and C++ we need to have the C++ compiler decide
11486 # the declaration of exit, since it's the most demanding environment.
11487 cat >conftest.
$ac_ext <<_ACEOF
11488 #ifndef __cplusplus
11492 rm -f conftest.
$ac_objext
11493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11494 (eval $ac_compile) 2>conftest.er1
11496 grep -v '^ *+' conftest.er1
>conftest.err
11498 cat conftest.err
>&5
11499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11500 (exit $ac_status); } &&
11501 { ac_try
='test -z "$ac_c_werror_flag"
11502 || test ! -s conftest.err'
11503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11504 (eval $ac_try) 2>&5
11506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11507 (exit $ac_status); }; } &&
11508 { ac_try
='test -s conftest.$ac_objext'
11509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11510 (eval $ac_try) 2>&5
11512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11513 (exit $ac_status); }; }; then
11514 for ac_declaration
in \
11516 'extern "C" void std::exit (int) throw (); using std::exit;' \
11517 'extern "C" void std::exit (int); using std::exit;' \
11518 'extern "C" void exit (int) throw ();' \
11519 'extern "C" void exit (int);' \
11522 cat >conftest.
$ac_ext <<_ACEOF
11525 cat confdefs.h
>>conftest.
$ac_ext
11526 cat >>conftest.
$ac_ext <<_ACEOF
11527 /* end confdefs.h. */
11529 #include <stdlib.h>
11538 rm -f conftest.
$ac_objext
11539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11540 (eval $ac_compile) 2>conftest.er1
11542 grep -v '^ *+' conftest.er1
>conftest.err
11544 cat conftest.err
>&5
11545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11546 (exit $ac_status); } &&
11547 { ac_try
='test -z "$ac_c_werror_flag"
11548 || test ! -s conftest.err'
11549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11550 (eval $ac_try) 2>&5
11552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11553 (exit $ac_status); }; } &&
11554 { ac_try
='test -s conftest.$ac_objext'
11555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11556 (eval $ac_try) 2>&5
11558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11559 (exit $ac_status); }; }; then
11562 echo "$as_me: failed program was:" >&5
11563 sed 's/^/| /' conftest.
$ac_ext >&5
11567 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11568 cat >conftest.
$ac_ext <<_ACEOF
11571 cat confdefs.h
>>conftest.
$ac_ext
11572 cat >>conftest.
$ac_ext <<_ACEOF
11573 /* end confdefs.h. */
11583 rm -f conftest.
$ac_objext
11584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11585 (eval $ac_compile) 2>conftest.er1
11587 grep -v '^ *+' conftest.er1
>conftest.err
11589 cat conftest.err
>&5
11590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11591 (exit $ac_status); } &&
11592 { ac_try
='test -z "$ac_c_werror_flag"
11593 || test ! -s conftest.err'
11594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11595 (eval $ac_try) 2>&5
11597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11598 (exit $ac_status); }; } &&
11599 { ac_try
='test -s conftest.$ac_objext'
11600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11601 (eval $ac_try) 2>&5
11603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11604 (exit $ac_status); }; }; then
11607 echo "$as_me: failed program was:" >&5
11608 sed 's/^/| /' conftest.
$ac_ext >&5
11611 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11614 if test -n "$ac_declaration"; then
11615 echo '#ifdef __cplusplus' >>confdefs.h
11616 echo $ac_declaration >>confdefs.h
11617 echo '#endif' >>confdefs.h
11621 echo "$as_me: failed program was:" >&5
11622 sed 's/^/| /' conftest.
$ac_ext >&5
11625 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11627 ac_cpp
='$CPP $CPPFLAGS'
11628 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11629 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11630 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11632 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11633 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11634 if test "${wx_cv_c_exto+set}" = set; then
11635 echo $ECHO_N "(cached) $ECHO_C" >&6
11637 cat >conftest.
$ac_ext <<_ACEOF
11640 cat confdefs.h
>>conftest.
$ac_ext
11641 cat >>conftest.
$ac_ext <<_ACEOF
11642 /* end confdefs.h. */
11652 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
11653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11654 (eval $ac_compile) 2>&5
11656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11657 (exit $ac_status); }; then
11658 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
11660 conftest.
$ac_ext.o
)
11661 wx_cv_c_exto
="-ext o"
11668 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11669 See \`config.log' for more details." >&5
11670 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11671 See \`config.log' for more details." >&2;}
11672 { (exit 1); exit 1; }; }
11676 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
11679 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5
11680 echo "${ECHO_T}$wx_cv_c_exto" >&6
11681 if test "x$wx_cv_c_exto" '!=' "x"; then
11682 if test "c" = "c"; then
11683 CFLAGS
="$wx_cv_c_exto $CFLAGS"
11685 if test "c" = "cxx"; then
11686 CXXFLAGS
="$wx_cv_c_exto $CXXFLAGS"
11690 if test "x$wx_cv_c_exto" '!=' "x"; then
11691 unset ac_cv_prog_cc_g
11692 ac_test_CFLAGS
=${CFLAGS+set}
11693 ac_save_CFLAGS
=$CFLAGS
11695 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11696 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11697 if test "${ac_cv_prog_cc_g+set}" = set; then
11698 echo $ECHO_N "(cached) $ECHO_C" >&6
11700 cat >conftest.
$ac_ext <<_ACEOF
11703 cat confdefs.h
>>conftest.
$ac_ext
11704 cat >>conftest.
$ac_ext <<_ACEOF
11705 /* end confdefs.h. */
11715 rm -f conftest.
$ac_objext
11716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11717 (eval $ac_compile) 2>conftest.er1
11719 grep -v '^ *+' conftest.er1
>conftest.err
11721 cat conftest.err
>&5
11722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11723 (exit $ac_status); } &&
11724 { ac_try
='test -z "$ac_c_werror_flag"
11725 || test ! -s conftest.err'
11726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11727 (eval $ac_try) 2>&5
11729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11730 (exit $ac_status); }; } &&
11731 { ac_try
='test -s conftest.$ac_objext'
11732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11733 (eval $ac_try) 2>&5
11735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11736 (exit $ac_status); }; }; then
11737 ac_cv_prog_cc_g
=yes
11739 echo "$as_me: failed program was:" >&5
11740 sed 's/^/| /' conftest.
$ac_ext >&5
11744 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11746 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11747 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11748 if test "$ac_test_CFLAGS" = set; then
11749 CFLAGS
=$ac_save_CFLAGS
11750 elif test $ac_cv_prog_cc_g = yes; then
11751 if test "$GCC" = yes; then
11757 if test "$GCC" = yes; then
11765 ac_cpp
='$CPP $CPPFLAGS'
11766 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11767 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11768 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11770 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11771 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11772 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11773 echo $ECHO_N "(cached) $ECHO_C" >&6
11775 cat >conftest.
$ac_ext <<_ACEOF
11778 cat confdefs.h
>>conftest.
$ac_ext
11779 cat >>conftest.
$ac_ext <<_ACEOF
11780 /* end confdefs.h. */
11793 rm -f conftest.
$ac_objext
11794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11795 (eval $ac_compile) 2>conftest.er1
11797 grep -v '^ *+' conftest.er1
>conftest.err
11799 cat conftest.err
>&5
11800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11801 (exit $ac_status); } &&
11802 { ac_try
='test -z "$ac_c_werror_flag"
11803 || test ! -s conftest.err'
11804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11805 (eval $ac_try) 2>&5
11807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11808 (exit $ac_status); }; } &&
11809 { ac_try
='test -s conftest.$ac_objext'
11810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11811 (eval $ac_try) 2>&5
11813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11814 (exit $ac_status); }; }; then
11815 bakefile_compiler_mwerks
=yes
11817 echo "$as_me: failed program was:" >&5
11818 sed 's/^/| /' conftest.
$ac_ext >&5
11820 bakefile_compiler_mwerks
=no
11822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11823 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
11826 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11827 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11829 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
11831 ac_cpp
='$CPP $CPPFLAGS'
11832 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11833 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11834 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11838 ac_cpp
='$CPP $CPPFLAGS'
11839 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11840 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11841 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11843 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11844 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11845 if test "${wx_cv_c_compiler_xlc+set}" = set; then
11846 echo $ECHO_N "(cached) $ECHO_C" >&6
11848 cat >conftest.
$ac_ext <<_ACEOF
11851 cat confdefs.h
>>conftest.
$ac_ext
11852 cat >>conftest.
$ac_ext <<_ACEOF
11853 /* end confdefs.h. */
11866 rm -f conftest.
$ac_objext
11867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11868 (eval $ac_compile) 2>conftest.er1
11870 grep -v '^ *+' conftest.er1
>conftest.err
11872 cat conftest.err
>&5
11873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11874 (exit $ac_status); } &&
11875 { ac_try
='test -z "$ac_c_werror_flag"
11876 || test ! -s conftest.err'
11877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11878 (eval $ac_try) 2>&5
11880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11881 (exit $ac_status); }; } &&
11882 { ac_try
='test -s conftest.$ac_objext'
11883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11884 (eval $ac_try) 2>&5
11886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11887 (exit $ac_status); }; }; then
11888 wx_compiler_xlc
=yes
11890 echo "$as_me: failed program was:" >&5
11891 sed 's/^/| /' conftest.
$ac_ext >&5
11895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11896 wx_cv_c_compiler_xlc
=$wx_compiler_xlc
11899 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
11900 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
11902 XLCC
=`test $wx_cv_c_compiler_xlc = yes && echo yes`
11904 ac_cpp
='$CPP $CPPFLAGS'
11905 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11906 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11907 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11913 ac_cpp
='$CPP $CPPFLAGS'
11914 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11915 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11916 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11917 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11918 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11919 # On Suns, sometimes $CPP names a directory.
11920 if test -n "$CPP" && test -d "$CPP"; then
11923 if test -z "$CPP"; then
11924 if test "${ac_cv_prog_CPP+set}" = set; then
11925 echo $ECHO_N "(cached) $ECHO_C" >&6
11927 # Double quotes because CPP needs to be expanded
11928 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11930 ac_preproc_ok
=false
11931 for ac_c_preproc_warn_flag
in '' yes
11933 # Use a header file that comes with gcc, so configuring glibc
11934 # with a fresh cross-compiler works.
11935 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11936 # <limits.h> exists even on freestanding compilers.
11937 # On the NeXT, cc -E runs the code through the compiler's parser,
11938 # not just through cpp. "Syntax error" is here to catch this case.
11939 cat >conftest.
$ac_ext <<_ACEOF
11942 cat confdefs.h
>>conftest.
$ac_ext
11943 cat >>conftest.
$ac_ext <<_ACEOF
11944 /* end confdefs.h. */
11946 # include <limits.h>
11948 # include <assert.h>
11952 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11953 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11955 grep -v '^ *+' conftest.er1
>conftest.err
11957 cat conftest.err
>&5
11958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11959 (exit $ac_status); } >/dev
/null
; then
11960 if test -s conftest.err
; then
11961 ac_cpp_err
=$ac_c_preproc_warn_flag
11962 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11969 if test -z "$ac_cpp_err"; then
11972 echo "$as_me: failed program was:" >&5
11973 sed 's/^/| /' conftest.
$ac_ext >&5
11975 # Broken: fails on valid input.
11978 rm -f conftest.err conftest.
$ac_ext
11980 # OK, works on sane cases. Now check whether non-existent headers
11981 # can be detected and how.
11982 cat >conftest.
$ac_ext <<_ACEOF
11985 cat confdefs.h
>>conftest.
$ac_ext
11986 cat >>conftest.
$ac_ext <<_ACEOF
11987 /* end confdefs.h. */
11988 #include <ac_nonexistent.h>
11990 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11991 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11993 grep -v '^ *+' conftest.er1
>conftest.err
11995 cat conftest.err
>&5
11996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11997 (exit $ac_status); } >/dev
/null
; then
11998 if test -s conftest.err
; then
11999 ac_cpp_err
=$ac_c_preproc_warn_flag
12000 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12007 if test -z "$ac_cpp_err"; then
12008 # Broken: success on invalid input.
12011 echo "$as_me: failed program was:" >&5
12012 sed 's/^/| /' conftest.
$ac_ext >&5
12014 # Passes both tests.
12018 rm -f conftest.err conftest.
$ac_ext
12021 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12022 rm -f conftest.err conftest.
$ac_ext
12023 if $ac_preproc_ok; then
12028 ac_cv_prog_CPP
=$CPP
12031 CPP
=$ac_cv_prog_CPP
12033 ac_cv_prog_CPP
=$CPP
12035 echo "$as_me:$LINENO: result: $CPP" >&5
12036 echo "${ECHO_T}$CPP" >&6
12037 ac_preproc_ok
=false
12038 for ac_c_preproc_warn_flag
in '' yes
12040 # Use a header file that comes with gcc, so configuring glibc
12041 # with a fresh cross-compiler works.
12042 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12043 # <limits.h> exists even on freestanding compilers.
12044 # On the NeXT, cc -E runs the code through the compiler's parser,
12045 # not just through cpp. "Syntax error" is here to catch this case.
12046 cat >conftest.
$ac_ext <<_ACEOF
12049 cat confdefs.h
>>conftest.
$ac_ext
12050 cat >>conftest.
$ac_ext <<_ACEOF
12051 /* end confdefs.h. */
12053 # include <limits.h>
12055 # include <assert.h>
12059 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12060 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12062 grep -v '^ *+' conftest.er1
>conftest.err
12064 cat conftest.err
>&5
12065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12066 (exit $ac_status); } >/dev
/null
; then
12067 if test -s conftest.err
; then
12068 ac_cpp_err
=$ac_c_preproc_warn_flag
12069 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12076 if test -z "$ac_cpp_err"; then
12079 echo "$as_me: failed program was:" >&5
12080 sed 's/^/| /' conftest.
$ac_ext >&5
12082 # Broken: fails on valid input.
12085 rm -f conftest.err conftest.
$ac_ext
12087 # OK, works on sane cases. Now check whether non-existent headers
12088 # can be detected and how.
12089 cat >conftest.
$ac_ext <<_ACEOF
12092 cat confdefs.h
>>conftest.
$ac_ext
12093 cat >>conftest.
$ac_ext <<_ACEOF
12094 /* end confdefs.h. */
12095 #include <ac_nonexistent.h>
12097 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12098 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12100 grep -v '^ *+' conftest.er1
>conftest.err
12102 cat conftest.err
>&5
12103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12104 (exit $ac_status); } >/dev
/null
; then
12105 if test -s conftest.err
; then
12106 ac_cpp_err
=$ac_c_preproc_warn_flag
12107 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12114 if test -z "$ac_cpp_err"; then
12115 # Broken: success on invalid input.
12118 echo "$as_me: failed program was:" >&5
12119 sed 's/^/| /' conftest.
$ac_ext >&5
12121 # Passes both tests.
12125 rm -f conftest.err conftest.
$ac_ext
12128 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12129 rm -f conftest.err conftest.
$ac_ext
12130 if $ac_preproc_ok; then
12133 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12134 See \`config.log' for more details." >&5
12135 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12136 See \`config.log' for more details." >&2;}
12137 { (exit 1); exit 1; }; }
12141 ac_cpp
='$CPP $CPPFLAGS'
12142 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12143 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12144 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12147 echo "$as_me:$LINENO: checking for egrep" >&5
12148 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12149 if test "${ac_cv_prog_egrep+set}" = set; then
12150 echo $ECHO_N "(cached) $ECHO_C" >&6
12152 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
12153 then ac_cv_prog_egrep
='grep -E'
12154 else ac_cv_prog_egrep
='egrep'
12157 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12158 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12159 EGREP
=$ac_cv_prog_egrep
12162 if test $ac_cv_c_compiler_gnu = yes; then
12163 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12164 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12165 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12166 echo $ECHO_N "(cached) $ECHO_C" >&6
12168 ac_pattern
="Autoconf.*'x'"
12169 cat >conftest.
$ac_ext <<_ACEOF
12172 cat confdefs.h
>>conftest.
$ac_ext
12173 cat >>conftest.
$ac_ext <<_ACEOF
12174 /* end confdefs.h. */
12178 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12179 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12180 ac_cv_prog_gcc_traditional
=yes
12182 ac_cv_prog_gcc_traditional
=no
12187 if test $ac_cv_prog_gcc_traditional = no
; then
12188 cat >conftest.
$ac_ext <<_ACEOF
12191 cat confdefs.h
>>conftest.
$ac_ext
12192 cat >>conftest.
$ac_ext <<_ACEOF
12193 /* end confdefs.h. */
12194 #include <termio.h>
12197 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12198 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12199 ac_cv_prog_gcc_traditional
=yes
12205 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12206 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12207 if test $ac_cv_prog_gcc_traditional = yes; then
12208 CC
="$CC -traditional"
12216 ac_cpp
='$CXXCPP $CPPFLAGS'
12217 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12218 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12219 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12222 CXXFLAGS
=${CXXFLAGS:=}
12226 ac_cpp
='$CXXCPP $CPPFLAGS'
12227 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12228 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12229 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12230 if test -n "$ac_tool_prefix"; then
12231 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12233 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12234 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12235 echo "$as_me:$LINENO: checking for $ac_word" >&5
12236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12237 if test "${ac_cv_prog_CXX+set}" = set; then
12238 echo $ECHO_N "(cached) $ECHO_C" >&6
12240 if test -n "$CXX"; then
12241 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
12243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12244 for as_dir
in $PATH
12247 test -z "$as_dir" && as_dir
=.
12248 for ac_exec_ext
in '' $ac_executable_extensions; do
12249 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12250 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
12251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12259 CXX
=$ac_cv_prog_CXX
12260 if test -n "$CXX"; then
12261 echo "$as_me:$LINENO: result: $CXX" >&5
12262 echo "${ECHO_T}$CXX" >&6
12264 echo "$as_me:$LINENO: result: no" >&5
12265 echo "${ECHO_T}no" >&6
12268 test -n "$CXX" && break
12271 if test -z "$CXX"; then
12273 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12275 # Extract the first word of "$ac_prog", so it can be a program name with args.
12276 set dummy
$ac_prog; ac_word
=$2
12277 echo "$as_me:$LINENO: checking for $ac_word" >&5
12278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12279 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12280 echo $ECHO_N "(cached) $ECHO_C" >&6
12282 if test -n "$ac_ct_CXX"; then
12283 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
12285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12286 for as_dir
in $PATH
12289 test -z "$as_dir" && as_dir
=.
12290 for ac_exec_ext
in '' $ac_executable_extensions; do
12291 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12292 ac_cv_prog_ac_ct_CXX
="$ac_prog"
12293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12301 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
12302 if test -n "$ac_ct_CXX"; then
12303 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12304 echo "${ECHO_T}$ac_ct_CXX" >&6
12306 echo "$as_me:$LINENO: result: no" >&5
12307 echo "${ECHO_T}no" >&6
12310 test -n "$ac_ct_CXX" && break
12312 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
12318 # Provide some information about the compiler.
12319 echo "$as_me:$LINENO:" \
12320 "checking for C++ compiler version" >&5
12321 ac_compiler
=`set X $ac_compile; echo $2`
12322 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12323 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12326 (exit $ac_status); }
12327 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12328 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12331 (exit $ac_status); }
12332 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12333 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12336 (exit $ac_status); }
12338 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12339 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12340 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12341 echo $ECHO_N "(cached) $ECHO_C" >&6
12343 cat >conftest.
$ac_ext <<_ACEOF
12346 cat confdefs.h
>>conftest.
$ac_ext
12347 cat >>conftest.
$ac_ext <<_ACEOF
12348 /* end confdefs.h. */
12361 rm -f conftest.
$ac_objext
12362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12363 (eval $ac_compile) 2>conftest.er1
12365 grep -v '^ *+' conftest.er1
>conftest.err
12367 cat conftest.err
>&5
12368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12369 (exit $ac_status); } &&
12370 { ac_try
='test -z "$ac_cxx_werror_flag"
12371 || test ! -s conftest.err'
12372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12373 (eval $ac_try) 2>&5
12375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12376 (exit $ac_status); }; } &&
12377 { ac_try
='test -s conftest.$ac_objext'
12378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12379 (eval $ac_try) 2>&5
12381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12382 (exit $ac_status); }; }; then
12383 ac_compiler_gnu
=yes
12385 echo "$as_me: failed program was:" >&5
12386 sed 's/^/| /' conftest.
$ac_ext >&5
12390 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12391 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
12394 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12395 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12396 GXX
=`test $ac_compiler_gnu = yes && echo yes`
12397 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12398 ac_save_CXXFLAGS
=$CXXFLAGS
12400 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12401 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12402 if test "${ac_cv_prog_cxx_g+set}" = set; then
12403 echo $ECHO_N "(cached) $ECHO_C" >&6
12405 cat >conftest.
$ac_ext <<_ACEOF
12408 cat confdefs.h
>>conftest.
$ac_ext
12409 cat >>conftest.
$ac_ext <<_ACEOF
12410 /* end confdefs.h. */
12420 rm -f conftest.
$ac_objext
12421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12422 (eval $ac_compile) 2>conftest.er1
12424 grep -v '^ *+' conftest.er1
>conftest.err
12426 cat conftest.err
>&5
12427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12428 (exit $ac_status); } &&
12429 { ac_try
='test -z "$ac_cxx_werror_flag"
12430 || test ! -s conftest.err'
12431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12432 (eval $ac_try) 2>&5
12434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12435 (exit $ac_status); }; } &&
12436 { ac_try
='test -s conftest.$ac_objext'
12437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12438 (eval $ac_try) 2>&5
12440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12441 (exit $ac_status); }; }; then
12442 ac_cv_prog_cxx_g
=yes
12444 echo "$as_me: failed program was:" >&5
12445 sed 's/^/| /' conftest.
$ac_ext >&5
12447 ac_cv_prog_cxx_g
=no
12449 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12451 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12452 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12453 if test "$ac_test_CXXFLAGS" = set; then
12454 CXXFLAGS
=$ac_save_CXXFLAGS
12455 elif test $ac_cv_prog_cxx_g = yes; then
12456 if test "$GXX" = yes; then
12462 if test "$GXX" = yes; then
12468 for ac_declaration
in \
12470 'extern "C" void std::exit (int) throw (); using std::exit;' \
12471 'extern "C" void std::exit (int); using std::exit;' \
12472 'extern "C" void exit (int) throw ();' \
12473 'extern "C" void exit (int);' \
12476 cat >conftest.
$ac_ext <<_ACEOF
12479 cat confdefs.h
>>conftest.
$ac_ext
12480 cat >>conftest.
$ac_ext <<_ACEOF
12481 /* end confdefs.h. */
12483 #include <stdlib.h>
12492 rm -f conftest.
$ac_objext
12493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12494 (eval $ac_compile) 2>conftest.er1
12496 grep -v '^ *+' conftest.er1
>conftest.err
12498 cat conftest.err
>&5
12499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12500 (exit $ac_status); } &&
12501 { ac_try
='test -z "$ac_cxx_werror_flag"
12502 || test ! -s conftest.err'
12503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12504 (eval $ac_try) 2>&5
12506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12507 (exit $ac_status); }; } &&
12508 { ac_try
='test -s conftest.$ac_objext'
12509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12510 (eval $ac_try) 2>&5
12512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12513 (exit $ac_status); }; }; then
12516 echo "$as_me: failed program was:" >&5
12517 sed 's/^/| /' conftest.
$ac_ext >&5
12521 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12522 cat >conftest.
$ac_ext <<_ACEOF
12525 cat confdefs.h
>>conftest.
$ac_ext
12526 cat >>conftest.
$ac_ext <<_ACEOF
12527 /* end confdefs.h. */
12537 rm -f conftest.
$ac_objext
12538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12539 (eval $ac_compile) 2>conftest.er1
12541 grep -v '^ *+' conftest.er1
>conftest.err
12543 cat conftest.err
>&5
12544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12545 (exit $ac_status); } &&
12546 { ac_try
='test -z "$ac_cxx_werror_flag"
12547 || test ! -s conftest.err'
12548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12549 (eval $ac_try) 2>&5
12551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12552 (exit $ac_status); }; } &&
12553 { ac_try
='test -s conftest.$ac_objext'
12554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12555 (eval $ac_try) 2>&5
12557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12558 (exit $ac_status); }; }; then
12561 echo "$as_me: failed program was:" >&5
12562 sed 's/^/| /' conftest.
$ac_ext >&5
12565 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12568 if test -n "$ac_declaration"; then
12569 echo '#ifdef __cplusplus' >>confdefs.h
12570 echo $ac_declaration >>confdefs.h
12571 echo '#endif' >>confdefs.h
12575 ac_cpp
='$CXXCPP $CPPFLAGS'
12576 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12577 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12578 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12580 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
12581 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
12582 if test "${wx_cv_cxx_exto+set}" = set; then
12583 echo $ECHO_N "(cached) $ECHO_C" >&6
12585 cat >conftest.
$ac_ext <<_ACEOF
12588 cat confdefs.h
>>conftest.
$ac_ext
12589 cat >>conftest.
$ac_ext <<_ACEOF
12590 /* end confdefs.h. */
12600 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12602 (eval $ac_compile) 2>&5
12604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12605 (exit $ac_status); }; then
12606 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12608 conftest.
$ac_ext.o
)
12609 wx_cv_cxx_exto
="-ext o"
12616 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12617 See \`config.log' for more details." >&5
12618 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12619 See \`config.log' for more details." >&2;}
12620 { (exit 1); exit 1; }; }
12624 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12627 echo "$as_me:$LINENO: result: $wx_cv_cxx_exto" >&5
12628 echo "${ECHO_T}$wx_cv_cxx_exto" >&6
12629 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12630 if test "cxx" = "c"; then
12631 CFLAGS
="$wx_cv_cxx_exto $CFLAGS"
12633 if test "cxx" = "cxx"; then
12634 CXXFLAGS
="$wx_cv_cxx_exto $CXXFLAGS"
12638 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12639 unset ac_cv_prog_cxx_g
12640 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12641 ac_save_CXXFLAGS
=$CXXFLAGS
12643 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12644 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12645 if test "${ac_cv_prog_cxx_g+set}" = set; then
12646 echo $ECHO_N "(cached) $ECHO_C" >&6
12648 cat >conftest.
$ac_ext <<_ACEOF
12651 cat confdefs.h
>>conftest.
$ac_ext
12652 cat >>conftest.
$ac_ext <<_ACEOF
12653 /* end confdefs.h. */
12663 rm -f conftest.
$ac_objext
12664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12665 (eval $ac_compile) 2>conftest.er1
12667 grep -v '^ *+' conftest.er1
>conftest.err
12669 cat conftest.err
>&5
12670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12671 (exit $ac_status); } &&
12672 { ac_try
='test -z "$ac_cxx_werror_flag"
12673 || test ! -s conftest.err'
12674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12675 (eval $ac_try) 2>&5
12677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12678 (exit $ac_status); }; } &&
12679 { ac_try
='test -s conftest.$ac_objext'
12680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12681 (eval $ac_try) 2>&5
12683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12684 (exit $ac_status); }; }; then
12685 ac_cv_prog_cxx_g
=yes
12687 echo "$as_me: failed program was:" >&5
12688 sed 's/^/| /' conftest.
$ac_ext >&5
12690 ac_cv_prog_cxx_g
=no
12692 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12694 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12695 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12696 if test "$ac_test_CXXFLAGS" = set; then
12697 CXXFLAGS
=$ac_save_CXXFLAGS
12698 elif test $ac_cv_prog_cxx_g = yes; then
12699 if test "$GXX" = yes; then
12705 if test "$GXX" = yes; then
12713 ac_cpp
='$CXXCPP $CPPFLAGS'
12714 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12715 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12716 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12718 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12719 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12720 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12721 echo $ECHO_N "(cached) $ECHO_C" >&6
12723 cat >conftest.
$ac_ext <<_ACEOF
12726 cat confdefs.h
>>conftest.
$ac_ext
12727 cat >>conftest.
$ac_ext <<_ACEOF
12728 /* end confdefs.h. */
12741 rm -f conftest.
$ac_objext
12742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12743 (eval $ac_compile) 2>conftest.er1
12745 grep -v '^ *+' conftest.er1
>conftest.err
12747 cat conftest.err
>&5
12748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12749 (exit $ac_status); } &&
12750 { ac_try
='test -z "$ac_cxx_werror_flag"
12751 || test ! -s conftest.err'
12752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12753 (eval $ac_try) 2>&5
12755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12756 (exit $ac_status); }; } &&
12757 { ac_try
='test -s conftest.$ac_objext'
12758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12759 (eval $ac_try) 2>&5
12761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12762 (exit $ac_status); }; }; then
12763 bakefile_compiler_mwerks
=yes
12765 echo "$as_me: failed program was:" >&5
12766 sed 's/^/| /' conftest.
$ac_ext >&5
12768 bakefile_compiler_mwerks
=no
12770 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12771 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
12774 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12775 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12777 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
12779 ac_cpp
='$CXXCPP $CPPFLAGS'
12780 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12781 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12782 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12786 ac_cpp
='$CXXCPP $CPPFLAGS'
12787 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12788 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12789 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12791 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
12792 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
12793 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
12794 echo $ECHO_N "(cached) $ECHO_C" >&6
12796 cat >conftest.
$ac_ext <<_ACEOF
12799 cat confdefs.h
>>conftest.
$ac_ext
12800 cat >>conftest.
$ac_ext <<_ACEOF
12801 /* end confdefs.h. */
12814 rm -f conftest.
$ac_objext
12815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12816 (eval $ac_compile) 2>conftest.er1
12818 grep -v '^ *+' conftest.er1
>conftest.err
12820 cat conftest.err
>&5
12821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12822 (exit $ac_status); } &&
12823 { ac_try
='test -z "$ac_cxx_werror_flag"
12824 || test ! -s conftest.err'
12825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12826 (eval $ac_try) 2>&5
12828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12829 (exit $ac_status); }; } &&
12830 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
12836 wx_compiler_xlc
=yes
12838 echo "$as_me: failed program was:" >&5
12839 sed 's/^/| /' conftest.
$ac_ext >&5
12843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12844 wx_cv_cxx_compiler_xlc
=$wx_compiler_xlc
12847 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
12848 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
12850 XLCXX
=`test $wx_cv_cxx_compiler_xlc = yes && echo yes`
12852 ac_cpp
='$CXXCPP $CPPFLAGS'
12853 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12854 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12855 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12861 ac_cpp
='$CPP $CPPFLAGS'
12862 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12863 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12864 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12867 if test -n "$ac_tool_prefix"; then
12868 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12869 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
12870 echo "$as_me:$LINENO: checking for $ac_word" >&5
12871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12872 if test "${ac_cv_prog_RANLIB+set}" = set; then
12873 echo $ECHO_N "(cached) $ECHO_C" >&6
12875 if test -n "$RANLIB"; then
12876 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
12878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12879 for as_dir
in $PATH
12882 test -z "$as_dir" && as_dir
=.
12883 for ac_exec_ext
in '' $ac_executable_extensions; do
12884 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12885 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
12886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12894 RANLIB
=$ac_cv_prog_RANLIB
12895 if test -n "$RANLIB"; then
12896 echo "$as_me:$LINENO: result: $RANLIB" >&5
12897 echo "${ECHO_T}$RANLIB" >&6
12899 echo "$as_me:$LINENO: result: no" >&5
12900 echo "${ECHO_T}no" >&6
12904 if test -z "$ac_cv_prog_RANLIB"; then
12905 ac_ct_RANLIB
=$RANLIB
12906 # Extract the first word of "ranlib", so it can be a program name with args.
12907 set dummy ranlib
; ac_word
=$2
12908 echo "$as_me:$LINENO: checking for $ac_word" >&5
12909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12910 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12911 echo $ECHO_N "(cached) $ECHO_C" >&6
12913 if test -n "$ac_ct_RANLIB"; then
12914 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
12916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12917 for as_dir
in $PATH
12920 test -z "$as_dir" && as_dir
=.
12921 for ac_exec_ext
in '' $ac_executable_extensions; do
12922 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12923 ac_cv_prog_ac_ct_RANLIB
="ranlib"
12924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12930 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
12933 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
12934 if test -n "$ac_ct_RANLIB"; then
12935 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12936 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12938 echo "$as_me:$LINENO: result: no" >&5
12939 echo "${ECHO_T}no" >&6
12942 RANLIB
=$ac_ct_RANLIB
12944 RANLIB
="$ac_cv_prog_RANLIB"
12948 # Extract the first word of "ar", so it can be a program name with args.
12949 set dummy
ar; ac_word
=$2
12950 echo "$as_me:$LINENO: checking for $ac_word" >&5
12951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12952 if test "${ac_cv_prog_AR+set}" = set; then
12953 echo $ECHO_N "(cached) $ECHO_C" >&6
12955 if test -n "$AR"; then
12956 ac_cv_prog_AR
="$AR" # Let the user override the test.
12958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12959 for as_dir
in $PATH
12962 test -z "$as_dir" && as_dir
=.
12963 for ac_exec_ext
in '' $ac_executable_extensions; do
12964 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12975 if test -n "$AR"; then
12976 echo "$as_me:$LINENO: result: $AR" >&5
12977 echo "${ECHO_T}$AR" >&6
12979 echo "$as_me:$LINENO: result: no" >&5
12980 echo "${ECHO_T}no" >&6
12983 if test "x$AR" = "x" ; then
12984 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12985 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12986 { (exit 1); exit 1; }; }
12989 # Find a good install program. We prefer a C program (faster),
12990 # so one script is as good as another. But avoid the broken or
12991 # incompatible versions:
12992 # SysV /etc/install, /usr/sbin/install
12993 # SunOS /usr/etc/install
12994 # IRIX /sbin/install
12996 # AmigaOS /C/install, which installs bootblocks on floppy discs
12997 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12998 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12999 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
13000 # OS/2's system install, which has a completely different semantic
13001 # ./install, which can be erroneously created by make from ./install.sh.
13002 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
13003 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
13004 if test -z "$INSTALL"; then
13005 if test "${ac_cv_path_install+set}" = set; then
13006 echo $ECHO_N "(cached) $ECHO_C" >&6
13008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13009 for as_dir
in $PATH
13012 test -z "$as_dir" && as_dir
=.
13013 # Account for people who put trailing slashes in PATH elements.
13015 .
/ | .
// | /cC
/* | \
13016 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
13017 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
13020 # OSF1 and SCO ODT 3.0 have their own names for install.
13021 # Don't use installbsd from OSF since it installs stuff as root
13023 for ac_prog
in ginstall scoinst
install; do
13024 for ac_exec_ext
in '' $ac_executable_extensions; do
13025 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
13026 if test $ac_prog = install &&
13027 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
13028 # AIX install. It has an incompatible calling convention.
13030 elif test $ac_prog = install &&
13031 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
13032 # program-specific install script used by HP pwplus--don't use.
13035 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
13047 if test "${ac_cv_path_install+set}" = set; then
13048 INSTALL
=$ac_cv_path_install
13050 # As a last resort, use the slow shell script. We don't cache a
13051 # path for INSTALL within a source directory, because that will
13052 # break other packages using the cache if that directory is
13053 # removed, or if the path is relative.
13054 INSTALL
=$ac_install_sh
13057 echo "$as_me:$LINENO: result: $INSTALL" >&5
13058 echo "${ECHO_T}$INSTALL" >&6
13060 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
13061 # It thinks the first close brace ends the variable substitution.
13062 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
13064 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
13066 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
13072 ?
:* ) # Drive letter, considered as absolute.
13075 INSTALL
=`pwd`/${INSTALL} ;;
13081 powerpc
-*-darwin* )
13082 INSTALL_PROGRAM
="cp -fp"
13083 INSTALL_DATA
="cp -fp"
13089 # Extract the first word of "strip", so it can be a program name with args.
13090 set dummy strip
; ac_word
=$2
13091 echo "$as_me:$LINENO: checking for $ac_word" >&5
13092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13093 if test "${ac_cv_prog_STRIP+set}" = set; then
13094 echo $ECHO_N "(cached) $ECHO_C" >&6
13096 if test -n "$STRIP"; then
13097 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
13099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13100 for as_dir
in $PATH
13103 test -z "$as_dir" && as_dir
=.
13104 for ac_exec_ext
in '' $ac_executable_extensions; do
13105 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13106 ac_cv_prog_STRIP
="strip"
13107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13113 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
13116 STRIP
=$ac_cv_prog_STRIP
13117 if test -n "$STRIP"; then
13118 echo "$as_me:$LINENO: result: $STRIP" >&5
13119 echo "${ECHO_T}$STRIP" >&6
13121 echo "$as_me:$LINENO: result: no" >&5
13122 echo "${ECHO_T}no" >&6
13126 echo "$as_me:$LINENO: checking if make is GNU make" >&5
13127 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
13128 if test "${wx_cv_prog_makeisgnu+set}" = set; then
13129 echo $ECHO_N "(cached) $ECHO_C" >&6
13132 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
13133 egrep -s GNU
> /dev
/null
); then
13134 wx_cv_prog_makeisgnu
="yes"
13136 wx_cv_prog_makeisgnu
="no"
13140 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
13141 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
13143 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
13151 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
13152 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
13153 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
13154 if test "${wx_cv_prog_makevpath+set}" = set; then
13155 echo $ECHO_N "(cached) $ECHO_C" >&6
13158 cat - << EOF > confMake
13164 if test ! -d sub
; then
13167 echo dummy
> sub
/file
13168 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
13170 rm -f sub
/file check final_file confMake
13172 if test "$RESULT" = 0; then
13173 wx_cv_prog_makevpath
="yes"
13175 wx_cv_prog_makevpath
="no"
13179 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
13180 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
13182 if test "x$wx_cv_prog_makevpath" != "xyes"; then
13183 { { echo "$as_me:$LINENO: error:
13184 You need a make-utility that is able to use the variable
13186 If your version of make does not support VPATH correctly,
13187 please install GNU-make (possibly as gmake), and start
13188 configure with the following command:
13189 export MAKE=gmake; ./configure for sh-type shells
13190 setenv MAKE gmake; ./configure for csh-type shells
13191 Also please do remember to use gmake in this case every time
13192 you are trying to compile.
13194 echo "$as_me: error:
13195 You need a make-utility that is able to use the variable
13197 If your version of make does not support VPATH correctly,
13198 please install GNU-make (possibly as gmake), and start
13199 configure with the following command:
13200 export MAKE=gmake; ./configure for sh-type shells
13201 setenv MAKE gmake; ./configure for csh-type shells
13202 Also please do remember to use gmake in this case every time
13203 you are trying to compile.
13205 { (exit 1); exit 1; }; }
13207 echo "$as_me:$LINENO: checking whether ln -s works" >&5
13208 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
13210 if test "$LN_S" = "ln -s"; then
13211 echo "$as_me:$LINENO: result: yes" >&5
13212 echo "${ECHO_T}yes" >&6
13214 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13215 echo "${ECHO_T}no, using $LN_S" >&6
13220 if test "x$XLCXX" = "xyes"; then
13221 CXXFLAGS
="$CXXFLAGS -qunique"
13226 powerpc
-*-darwin* )
13227 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
13228 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
13229 cat >conftest.
$ac_ext <<_ACEOF
13232 cat confdefs.h
>>conftest.
$ac_ext
13233 cat >>conftest.
$ac_ext <<_ACEOF
13234 /* end confdefs.h. */
13239 #ifndef __POWERPC__
13240 choke me for lack of PowerPC
13247 rm -f conftest.
$ac_objext
13248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13249 (eval $ac_compile) 2>conftest.er1
13251 grep -v '^ *+' conftest.er1
>conftest.err
13253 cat conftest.err
>&5
13254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13255 (exit $ac_status); } &&
13256 { ac_try
='test -z "$ac_c_werror_flag"
13257 || test ! -s conftest.err'
13258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13259 (eval $ac_try) 2>&5
13261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13262 (exit $ac_status); }; } &&
13263 { ac_try
='test -s conftest.$ac_objext'
13264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13265 (eval $ac_try) 2>&5
13267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13268 (exit $ac_status); }; }; then
13269 echo "$as_me:$LINENO: result: yes" >&5
13270 echo "${ECHO_T}yes" >&6
13272 echo "$as_me: failed program was:" >&5
13273 sed 's/^/| /' conftest.
$ac_ext >&5
13275 echo "$as_me:$LINENO: result: no" >&5
13276 echo "${ECHO_T}no" >&6
13277 cat >>confdefs.h
<<\_ACEOF
13278 #define __POWERPC__ 1
13283 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13284 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
13285 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
13286 cat >conftest.
$ac_ext <<_ACEOF
13289 cat confdefs.h
>>conftest.
$ac_ext
13290 cat >>conftest.
$ac_ext <<_ACEOF
13291 /* end confdefs.h. */
13292 #include <CoreFoundation/CFBase.h>
13302 rm -f conftest.
$ac_objext
13303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13304 (eval $ac_compile) 2>conftest.er1
13306 grep -v '^ *+' conftest.er1
>conftest.err
13308 cat conftest.err
>&5
13309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13310 (exit $ac_status); } &&
13311 { ac_try
='test -z "$ac_c_werror_flag"
13312 || test ! -s conftest.err'
13313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13314 (eval $ac_try) 2>&5
13316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13317 (exit $ac_status); }; } &&
13318 { ac_try
='test -s conftest.$ac_objext'
13319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13320 (eval $ac_try) 2>&5
13322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13323 (exit $ac_status); }; }; then
13324 echo "$as_me:$LINENO: result: yes" >&5
13325 echo "${ECHO_T}yes" >&6
13327 echo "$as_me: failed program was:" >&5
13328 sed 's/^/| /' conftest.
$ac_ext >&5
13330 echo "$as_me:$LINENO: result: no" >&5
13331 echo "${ECHO_T}no" >&6
13332 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
13333 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
13334 cat >conftest.
$ac_ext <<_ACEOF
13337 cat confdefs.h
>>conftest.
$ac_ext
13338 cat >>conftest.
$ac_ext <<_ACEOF
13339 /* end confdefs.h. */
13340 #define __CF_USE_FRAMEWORK_INCLUDES__
13341 #include <CoreFoundation/CFBase.h>
13351 rm -f conftest.
$ac_objext
13352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13353 (eval $ac_compile) 2>conftest.er1
13355 grep -v '^ *+' conftest.er1
>conftest.err
13357 cat conftest.err
>&5
13358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13359 (exit $ac_status); } &&
13360 { ac_try
='test -z "$ac_c_werror_flag"
13361 || test ! -s conftest.err'
13362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13363 (eval $ac_try) 2>&5
13365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13366 (exit $ac_status); }; } &&
13367 { ac_try
='test -s conftest.$ac_objext'
13368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13369 (eval $ac_try) 2>&5
13371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13372 (exit $ac_status); }; }; then
13373 echo "$as_me:$LINENO: result: yes" >&5
13374 echo "${ECHO_T}yes" >&6
13375 CPPFLAGS
="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
13377 echo "$as_me: failed program was:" >&5
13378 sed 's/^/| /' conftest.
$ac_ext >&5
13380 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
13381 See \`config.log' for more details." >&5
13382 echo "$as_me: error: no. CoreFoundation not available.
13383 See \`config.log' for more details." >&2;}
13384 { (exit 1); exit 1; }; }
13387 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13391 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13396 *-pc-os2_emx | *-pc-os2-emx )
13397 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
13398 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
13399 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
13400 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
13401 echo $ECHO_N "(cached) $ECHO_C" >&6
13403 ac_check_lib_save_LIBS
=$LIBS
13404 LIBS
="-lcExt $LIBS"
13405 cat >conftest.
$ac_ext <<_ACEOF
13408 cat confdefs.h
>>conftest.
$ac_ext
13409 cat >>conftest.
$ac_ext <<_ACEOF
13410 /* end confdefs.h. */
13412 /* Override any gcc2 internal prototype to avoid an error. */
13416 /* We use char because int might match the return type of a gcc2
13417 builtin and then its argument prototype would still apply. */
13427 rm -f conftest.
$ac_objext conftest
$ac_exeext
13428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13429 (eval $ac_link) 2>conftest.er1
13431 grep -v '^ *+' conftest.er1
>conftest.err
13433 cat conftest.err
>&5
13434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13435 (exit $ac_status); } &&
13436 { ac_try
='test -z "$ac_c_werror_flag"
13437 || test ! -s conftest.err'
13438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13439 (eval $ac_try) 2>&5
13441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13442 (exit $ac_status); }; } &&
13443 { ac_try
='test -s conftest$ac_exeext'
13444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13445 (eval $ac_try) 2>&5
13447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13448 (exit $ac_status); }; }; then
13449 ac_cv_lib_cExt_drand48
=yes
13451 echo "$as_me: failed program was:" >&5
13452 sed 's/^/| /' conftest.
$ac_ext >&5
13454 ac_cv_lib_cExt_drand48
=no
13456 rm -f conftest.err conftest.
$ac_objext \
13457 conftest
$ac_exeext conftest.
$ac_ext
13458 LIBS
=$ac_check_lib_save_LIBS
13460 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
13461 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
13462 if test $ac_cv_lib_cExt_drand48 = yes; then
13463 LIBS
="$LIBS -lcExt"
13467 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
13469 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
13470 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
13471 if test "${wx_cv_gccversion+set}" = set; then
13472 echo $ECHO_N "(cached) $ECHO_C" >&6
13475 if test "$cross_compiling" = yes; then
13476 wx_cv_gccversion
="EMX2"
13479 cat >conftest.
$ac_ext <<_ACEOF
13482 cat confdefs.h
>>conftest.
$ac_ext
13483 cat >>conftest.
$ac_ext <<_ACEOF
13484 /* end confdefs.h. */
13490 FILE *f=fopen("conftestval", "w");
13495 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
13497 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
13507 rm -f conftest
$ac_exeext
13508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13509 (eval $ac_link) 2>&5
13511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13512 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13514 (eval $ac_try) 2>&5
13516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13517 (exit $ac_status); }; }; then
13518 wx_cv_gccversion
=`cat conftestval`
13520 echo "$as_me: program exited with status $ac_status" >&5
13521 echo "$as_me: failed program was:" >&5
13522 sed 's/^/| /' conftest.
$ac_ext >&5
13524 ( exit $ac_status )
13525 wx_cv_gccversion
="EMX2"
13527 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13531 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
13532 echo "${ECHO_T}$wx_cv_gccversion" >&6
13533 if test "$wx_cv_gccversion" = "EMX2"; then
13534 LIBS
="$LIBS -lstdcpp"
13535 LDFLAGS
="$LDFLAGS -Zsysv-signals"
13537 if test "$wx_cv_gccversion" = "EMX3"; then
13538 LIBS
="$LIBS -lstdcxx"
13539 LDFLAGS
="$LDFLAGS -Zsysv-signals"
13541 LIBS
="$LIBS -lstdc++"
13544 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
13545 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
13546 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
13556 ac_cpp
='$CXXCPP $CPPFLAGS'
13557 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13558 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13559 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13562 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
13563 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
13564 if test "${ac_cv_string_strcasecmp+set}" = set; then
13565 echo $ECHO_N "(cached) $ECHO_C" >&6
13568 cat >conftest.
$ac_ext <<_ACEOF
13571 cat confdefs.h
>>conftest.
$ac_ext
13572 cat >>conftest.
$ac_ext <<_ACEOF
13573 /* end confdefs.h. */
13575 #include <string.h>
13581 strcasecmp("foo", "bar");
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_cxx_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_string_strcasecmp
=yes
13611 echo "$as_me: failed program was:" >&5
13612 sed 's/^/| /' conftest.
$ac_ext >&5
13614 ac_cv_string_strcasecmp
=no
13617 rm -f conftest.err conftest.
$ac_objext \
13618 conftest
$ac_exeext conftest.
$ac_ext
13621 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
13622 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
13624 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
13625 cat >>confdefs.h
<<\_ACEOF
13626 #define HAVE_STRCASECMP_IN_STRING_H 1
13630 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
13631 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
13632 if test "${ac_cv_strings_strcasecmp+set}" = set; then
13633 echo $ECHO_N "(cached) $ECHO_C" >&6
13636 cat >conftest.
$ac_ext <<_ACEOF
13639 cat confdefs.h
>>conftest.
$ac_ext
13640 cat >>conftest.
$ac_ext <<_ACEOF
13641 /* end confdefs.h. */
13643 #include <strings.h>
13649 strcasecmp("foo", "bar");
13655 rm -f conftest.
$ac_objext conftest
$ac_exeext
13656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13657 (eval $ac_link) 2>conftest.er1
13659 grep -v '^ *+' conftest.er1
>conftest.err
13661 cat conftest.err
>&5
13662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13663 (exit $ac_status); } &&
13664 { ac_try
='test -z "$ac_cxx_werror_flag"
13665 || test ! -s conftest.err'
13666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13667 (eval $ac_try) 2>&5
13669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13670 (exit $ac_status); }; } &&
13671 { ac_try
='test -s conftest$ac_exeext'
13672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13673 (eval $ac_try) 2>&5
13675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13676 (exit $ac_status); }; }; then
13677 ac_cv_strings_strcasecmp
=yes
13679 echo "$as_me: failed program was:" >&5
13680 sed 's/^/| /' conftest.
$ac_ext >&5
13682 ac_cv_strings_strcasecmp
=no
13685 rm -f conftest.err conftest.
$ac_objext \
13686 conftest
$ac_exeext conftest.
$ac_ext
13689 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
13690 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
13692 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
13693 cat >>confdefs.h
<<\_ACEOF
13694 #define HAVE_STRCASECMP_IN_STRINGS_H 1
13698 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
13699 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
13700 { (exit 1); exit 1; }; }
13705 ac_cpp
='$CPP $CPPFLAGS'
13706 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13707 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13708 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13714 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13715 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13716 if test "${ac_cv_header_stdc+set}" = set; then
13717 echo $ECHO_N "(cached) $ECHO_C" >&6
13719 cat >conftest.
$ac_ext <<_ACEOF
13722 cat confdefs.h
>>conftest.
$ac_ext
13723 cat >>conftest.
$ac_ext <<_ACEOF
13724 /* end confdefs.h. */
13725 #include <stdlib.h>
13726 #include <stdarg.h>
13727 #include <string.h>
13738 rm -f conftest.
$ac_objext
13739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13740 (eval $ac_compile) 2>conftest.er1
13742 grep -v '^ *+' conftest.er1
>conftest.err
13744 cat conftest.err
>&5
13745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13746 (exit $ac_status); } &&
13747 { ac_try
='test -z "$ac_c_werror_flag"
13748 || test ! -s conftest.err'
13749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13750 (eval $ac_try) 2>&5
13752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13753 (exit $ac_status); }; } &&
13754 { ac_try
='test -s conftest.$ac_objext'
13755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13756 (eval $ac_try) 2>&5
13758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13759 (exit $ac_status); }; }; then
13760 ac_cv_header_stdc
=yes
13762 echo "$as_me: failed program was:" >&5
13763 sed 's/^/| /' conftest.
$ac_ext >&5
13765 ac_cv_header_stdc
=no
13767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13769 if test $ac_cv_header_stdc = yes; then
13770 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13771 cat >conftest.
$ac_ext <<_ACEOF
13774 cat confdefs.h
>>conftest.
$ac_ext
13775 cat >>conftest.
$ac_ext <<_ACEOF
13776 /* end confdefs.h. */
13777 #include <string.h>
13780 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13781 $EGREP "memchr" >/dev
/null
2>&1; then
13784 ac_cv_header_stdc
=no
13790 if test $ac_cv_header_stdc = yes; then
13791 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13792 cat >conftest.
$ac_ext <<_ACEOF
13795 cat confdefs.h
>>conftest.
$ac_ext
13796 cat >>conftest.
$ac_ext <<_ACEOF
13797 /* end confdefs.h. */
13798 #include <stdlib.h>
13801 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13802 $EGREP "free" >/dev
/null
2>&1; then
13805 ac_cv_header_stdc
=no
13811 if test $ac_cv_header_stdc = yes; then
13812 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13813 if test "$cross_compiling" = yes; then
13816 cat >conftest.
$ac_ext <<_ACEOF
13819 cat confdefs.h
>>conftest.
$ac_ext
13820 cat >>conftest.
$ac_ext <<_ACEOF
13821 /* end confdefs.h. */
13823 #if ((' ' & 0x0FF) == 0x020)
13824 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13825 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13827 # define ISLOWER(c) \
13828 (('a' <= (c) && (c) <= 'i') \
13829 || ('j' <= (c) && (c) <= 'r') \
13830 || ('s' <= (c) && (c) <= 'z'))
13831 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13834 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13839 for (i = 0; i < 256; i++)
13840 if (XOR (islower (i), ISLOWER (i))
13841 || toupper (i) != TOUPPER (i))
13846 rm -f conftest
$ac_exeext
13847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13848 (eval $ac_link) 2>&5
13850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13851 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13853 (eval $ac_try) 2>&5
13855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13856 (exit $ac_status); }; }; then
13859 echo "$as_me: program exited with status $ac_status" >&5
13860 echo "$as_me: failed program was:" >&5
13861 sed 's/^/| /' conftest.
$ac_ext >&5
13863 ( exit $ac_status )
13864 ac_cv_header_stdc
=no
13866 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13870 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13871 echo "${ECHO_T}$ac_cv_header_stdc" >&6
13872 if test $ac_cv_header_stdc = yes; then
13874 cat >>confdefs.h
<<\_ACEOF
13875 #define STDC_HEADERS 1
13880 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
13890 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
13891 inttypes.h stdint.h unistd.h
13893 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13894 echo "$as_me:$LINENO: checking for $ac_header" >&5
13895 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13897 echo $ECHO_N "(cached) $ECHO_C" >&6
13899 cat >conftest.
$ac_ext <<_ACEOF
13902 cat confdefs.h
>>conftest.
$ac_ext
13903 cat >>conftest.
$ac_ext <<_ACEOF
13904 /* end confdefs.h. */
13905 $ac_includes_default
13907 #include <$ac_header>
13909 rm -f conftest.
$ac_objext
13910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13911 (eval $ac_compile) 2>conftest.er1
13913 grep -v '^ *+' conftest.er1
>conftest.err
13915 cat conftest.err
>&5
13916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13917 (exit $ac_status); } &&
13918 { ac_try
='test -z "$ac_c_werror_flag"
13919 || test ! -s conftest.err'
13920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13921 (eval $ac_try) 2>&5
13923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13924 (exit $ac_status); }; } &&
13925 { ac_try
='test -s conftest.$ac_objext'
13926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13927 (eval $ac_try) 2>&5
13929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13930 (exit $ac_status); }; }; then
13931 eval "$as_ac_Header=yes"
13933 echo "$as_me: failed program was:" >&5
13934 sed 's/^/| /' conftest.
$ac_ext >&5
13936 eval "$as_ac_Header=no"
13938 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13941 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13942 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13943 cat >>confdefs.h
<<_ACEOF
13944 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13953 for ac_header
in stdlib.h
13955 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13956 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13957 echo "$as_me:$LINENO: checking for $ac_header" >&5
13958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13959 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13960 echo $ECHO_N "(cached) $ECHO_C" >&6
13962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13963 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13965 # Is the header compilable?
13966 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13967 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13968 cat >conftest.
$ac_ext <<_ACEOF
13971 cat confdefs.h
>>conftest.
$ac_ext
13972 cat >>conftest.
$ac_ext <<_ACEOF
13973 /* end confdefs.h. */
13974 $ac_includes_default
13975 #include <$ac_header>
13977 rm -f conftest.
$ac_objext
13978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13979 (eval $ac_compile) 2>conftest.er1
13981 grep -v '^ *+' conftest.er1
>conftest.err
13983 cat conftest.err
>&5
13984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13985 (exit $ac_status); } &&
13986 { ac_try
='test -z "$ac_c_werror_flag"
13987 || test ! -s conftest.err'
13988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13989 (eval $ac_try) 2>&5
13991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13992 (exit $ac_status); }; } &&
13993 { ac_try
='test -s conftest.$ac_objext'
13994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13995 (eval $ac_try) 2>&5
13997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13998 (exit $ac_status); }; }; then
13999 ac_header_compiler
=yes
14001 echo "$as_me: failed program was:" >&5
14002 sed 's/^/| /' conftest.
$ac_ext >&5
14004 ac_header_compiler
=no
14006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14007 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14008 echo "${ECHO_T}$ac_header_compiler" >&6
14010 # Is the header present?
14011 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14012 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14013 cat >conftest.
$ac_ext <<_ACEOF
14016 cat confdefs.h
>>conftest.
$ac_ext
14017 cat >>conftest.
$ac_ext <<_ACEOF
14018 /* end confdefs.h. */
14019 #include <$ac_header>
14021 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14022 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14024 grep -v '^ *+' conftest.er1
>conftest.err
14026 cat conftest.err
>&5
14027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14028 (exit $ac_status); } >/dev
/null
; then
14029 if test -s conftest.err
; then
14030 ac_cpp_err
=$ac_c_preproc_warn_flag
14031 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14038 if test -z "$ac_cpp_err"; then
14039 ac_header_preproc
=yes
14041 echo "$as_me: failed program was:" >&5
14042 sed 's/^/| /' conftest.
$ac_ext >&5
14044 ac_header_preproc
=no
14046 rm -f conftest.err conftest.
$ac_ext
14047 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14048 echo "${ECHO_T}$ac_header_preproc" >&6
14050 # So? What about this header?
14051 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14053 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14054 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14056 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14057 ac_header_preproc
=yes
14060 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14061 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14062 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14063 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14064 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14065 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14066 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14067 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14068 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14069 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14070 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14071 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14074 ## ----------------------------------------- ##
14075 ## Report this to wx-dev@lists.wxwidgets.org ##
14076 ## ----------------------------------------- ##
14079 sed "s/^/$as_me: WARNING: /" >&2
14082 echo "$as_me:$LINENO: checking for $ac_header" >&5
14083 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14084 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14085 echo $ECHO_N "(cached) $ECHO_C" >&6
14087 eval "$as_ac_Header=\$ac_header_preproc"
14089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14090 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14093 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14094 cat >>confdefs.h
<<_ACEOF
14095 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14103 for ac_header
in malloc.h
14105 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14106 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14107 echo "$as_me:$LINENO: checking for $ac_header" >&5
14108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14109 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14110 echo $ECHO_N "(cached) $ECHO_C" >&6
14112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14113 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14115 # Is the header compilable?
14116 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14117 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14118 cat >conftest.
$ac_ext <<_ACEOF
14121 cat confdefs.h
>>conftest.
$ac_ext
14122 cat >>conftest.
$ac_ext <<_ACEOF
14123 /* end confdefs.h. */
14124 $ac_includes_default
14125 #include <$ac_header>
14127 rm -f conftest.
$ac_objext
14128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14129 (eval $ac_compile) 2>conftest.er1
14131 grep -v '^ *+' conftest.er1
>conftest.err
14133 cat conftest.err
>&5
14134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14135 (exit $ac_status); } &&
14136 { ac_try
='test -z "$ac_c_werror_flag"
14137 || test ! -s conftest.err'
14138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14139 (eval $ac_try) 2>&5
14141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14142 (exit $ac_status); }; } &&
14143 { ac_try
='test -s conftest.$ac_objext'
14144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14145 (eval $ac_try) 2>&5
14147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14148 (exit $ac_status); }; }; then
14149 ac_header_compiler
=yes
14151 echo "$as_me: failed program was:" >&5
14152 sed 's/^/| /' conftest.
$ac_ext >&5
14154 ac_header_compiler
=no
14156 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14157 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14158 echo "${ECHO_T}$ac_header_compiler" >&6
14160 # Is the header present?
14161 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14162 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14163 cat >conftest.
$ac_ext <<_ACEOF
14166 cat confdefs.h
>>conftest.
$ac_ext
14167 cat >>conftest.
$ac_ext <<_ACEOF
14168 /* end confdefs.h. */
14169 #include <$ac_header>
14171 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14172 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14174 grep -v '^ *+' conftest.er1
>conftest.err
14176 cat conftest.err
>&5
14177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14178 (exit $ac_status); } >/dev
/null
; then
14179 if test -s conftest.err
; then
14180 ac_cpp_err
=$ac_c_preproc_warn_flag
14181 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14188 if test -z "$ac_cpp_err"; then
14189 ac_header_preproc
=yes
14191 echo "$as_me: failed program was:" >&5
14192 sed 's/^/| /' conftest.
$ac_ext >&5
14194 ac_header_preproc
=no
14196 rm -f conftest.err conftest.
$ac_ext
14197 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14198 echo "${ECHO_T}$ac_header_preproc" >&6
14200 # So? What about this header?
14201 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14203 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14204 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14205 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14206 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14207 ac_header_preproc
=yes
14210 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14211 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14212 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14213 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14214 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14215 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14216 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14217 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14218 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14219 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14220 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14221 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14224 ## ----------------------------------------- ##
14225 ## Report this to wx-dev@lists.wxwidgets.org ##
14226 ## ----------------------------------------- ##
14229 sed "s/^/$as_me: WARNING: /" >&2
14232 echo "$as_me:$LINENO: checking for $ac_header" >&5
14233 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14235 echo $ECHO_N "(cached) $ECHO_C" >&6
14237 eval "$as_ac_Header=\$ac_header_preproc"
14239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14240 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14243 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14244 cat >>confdefs.h
<<_ACEOF
14245 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14253 for ac_header
in unistd.h
14255 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14257 echo "$as_me:$LINENO: checking for $ac_header" >&5
14258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14260 echo $ECHO_N "(cached) $ECHO_C" >&6
14262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14263 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14265 # Is the header compilable?
14266 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14267 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14268 cat >conftest.
$ac_ext <<_ACEOF
14271 cat confdefs.h
>>conftest.
$ac_ext
14272 cat >>conftest.
$ac_ext <<_ACEOF
14273 /* end confdefs.h. */
14274 $ac_includes_default
14275 #include <$ac_header>
14277 rm -f conftest.
$ac_objext
14278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14279 (eval $ac_compile) 2>conftest.er1
14281 grep -v '^ *+' conftest.er1
>conftest.err
14283 cat conftest.err
>&5
14284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14285 (exit $ac_status); } &&
14286 { ac_try
='test -z "$ac_c_werror_flag"
14287 || test ! -s conftest.err'
14288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14289 (eval $ac_try) 2>&5
14291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14292 (exit $ac_status); }; } &&
14293 { ac_try
='test -s conftest.$ac_objext'
14294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14295 (eval $ac_try) 2>&5
14297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14298 (exit $ac_status); }; }; then
14299 ac_header_compiler
=yes
14301 echo "$as_me: failed program was:" >&5
14302 sed 's/^/| /' conftest.
$ac_ext >&5
14304 ac_header_compiler
=no
14306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14307 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14308 echo "${ECHO_T}$ac_header_compiler" >&6
14310 # Is the header present?
14311 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14312 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14313 cat >conftest.
$ac_ext <<_ACEOF
14316 cat confdefs.h
>>conftest.
$ac_ext
14317 cat >>conftest.
$ac_ext <<_ACEOF
14318 /* end confdefs.h. */
14319 #include <$ac_header>
14321 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14322 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14324 grep -v '^ *+' conftest.er1
>conftest.err
14326 cat conftest.err
>&5
14327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14328 (exit $ac_status); } >/dev
/null
; then
14329 if test -s conftest.err
; then
14330 ac_cpp_err
=$ac_c_preproc_warn_flag
14331 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14338 if test -z "$ac_cpp_err"; then
14339 ac_header_preproc
=yes
14341 echo "$as_me: failed program was:" >&5
14342 sed 's/^/| /' conftest.
$ac_ext >&5
14344 ac_header_preproc
=no
14346 rm -f conftest.err conftest.
$ac_ext
14347 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14348 echo "${ECHO_T}$ac_header_preproc" >&6
14350 # So? What about this header?
14351 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14353 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14354 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14355 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14356 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14357 ac_header_preproc
=yes
14360 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14361 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14362 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14363 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14364 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14365 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14366 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14367 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14368 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14369 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14370 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14371 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14374 ## ----------------------------------------- ##
14375 ## Report this to wx-dev@lists.wxwidgets.org ##
14376 ## ----------------------------------------- ##
14379 sed "s/^/$as_me: WARNING: /" >&2
14382 echo "$as_me:$LINENO: checking for $ac_header" >&5
14383 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14384 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14385 echo $ECHO_N "(cached) $ECHO_C" >&6
14387 eval "$as_ac_Header=\$ac_header_preproc"
14389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14390 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14393 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14394 cat >>confdefs.h
<<_ACEOF
14395 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14403 for ac_header
in wchar.h
14405 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14406 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14407 echo "$as_me:$LINENO: checking for $ac_header" >&5
14408 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14409 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14410 echo $ECHO_N "(cached) $ECHO_C" >&6
14412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14413 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14415 # Is the header compilable?
14416 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14417 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14418 cat >conftest.
$ac_ext <<_ACEOF
14421 cat confdefs.h
>>conftest.
$ac_ext
14422 cat >>conftest.
$ac_ext <<_ACEOF
14423 /* end confdefs.h. */
14424 $ac_includes_default
14425 #include <$ac_header>
14427 rm -f conftest.
$ac_objext
14428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14429 (eval $ac_compile) 2>conftest.er1
14431 grep -v '^ *+' conftest.er1
>conftest.err
14433 cat conftest.err
>&5
14434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14435 (exit $ac_status); } &&
14436 { ac_try
='test -z "$ac_c_werror_flag"
14437 || test ! -s conftest.err'
14438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14439 (eval $ac_try) 2>&5
14441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14442 (exit $ac_status); }; } &&
14443 { ac_try
='test -s conftest.$ac_objext'
14444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14445 (eval $ac_try) 2>&5
14447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14448 (exit $ac_status); }; }; then
14449 ac_header_compiler
=yes
14451 echo "$as_me: failed program was:" >&5
14452 sed 's/^/| /' conftest.
$ac_ext >&5
14454 ac_header_compiler
=no
14456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14457 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14458 echo "${ECHO_T}$ac_header_compiler" >&6
14460 # Is the header present?
14461 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14462 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14463 cat >conftest.
$ac_ext <<_ACEOF
14466 cat confdefs.h
>>conftest.
$ac_ext
14467 cat >>conftest.
$ac_ext <<_ACEOF
14468 /* end confdefs.h. */
14469 #include <$ac_header>
14471 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14472 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14474 grep -v '^ *+' conftest.er1
>conftest.err
14476 cat conftest.err
>&5
14477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14478 (exit $ac_status); } >/dev
/null
; then
14479 if test -s conftest.err
; then
14480 ac_cpp_err
=$ac_c_preproc_warn_flag
14481 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14488 if test -z "$ac_cpp_err"; then
14489 ac_header_preproc
=yes
14491 echo "$as_me: failed program was:" >&5
14492 sed 's/^/| /' conftest.
$ac_ext >&5
14494 ac_header_preproc
=no
14496 rm -f conftest.err conftest.
$ac_ext
14497 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14498 echo "${ECHO_T}$ac_header_preproc" >&6
14500 # So? What about this header?
14501 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14503 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14504 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14505 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14506 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14507 ac_header_preproc
=yes
14510 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14511 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14512 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14513 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14514 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14515 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14516 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14517 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14518 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14519 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14520 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14521 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14524 ## ----------------------------------------- ##
14525 ## Report this to wx-dev@lists.wxwidgets.org ##
14526 ## ----------------------------------------- ##
14529 sed "s/^/$as_me: WARNING: /" >&2
14532 echo "$as_me:$LINENO: checking for $ac_header" >&5
14533 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14534 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14535 echo $ECHO_N "(cached) $ECHO_C" >&6
14537 eval "$as_ac_Header=\$ac_header_preproc"
14539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14540 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14543 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14544 cat >>confdefs.h
<<_ACEOF
14545 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14553 if test "$ac_cv_header_wchar_h" != "yes"; then
14555 for ac_header
in wcstr.h
14557 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14559 echo "$as_me:$LINENO: checking for $ac_header" >&5
14560 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14561 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14562 echo $ECHO_N "(cached) $ECHO_C" >&6
14564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14565 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14567 # Is the header compilable?
14568 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14569 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14570 cat >conftest.
$ac_ext <<_ACEOF
14573 cat confdefs.h
>>conftest.
$ac_ext
14574 cat >>conftest.
$ac_ext <<_ACEOF
14575 /* end confdefs.h. */
14576 $ac_includes_default
14577 #include <$ac_header>
14579 rm -f conftest.
$ac_objext
14580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14581 (eval $ac_compile) 2>conftest.er1
14583 grep -v '^ *+' conftest.er1
>conftest.err
14585 cat conftest.err
>&5
14586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14587 (exit $ac_status); } &&
14588 { ac_try
='test -z "$ac_c_werror_flag"
14589 || test ! -s conftest.err'
14590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14591 (eval $ac_try) 2>&5
14593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14594 (exit $ac_status); }; } &&
14595 { ac_try
='test -s conftest.$ac_objext'
14596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14597 (eval $ac_try) 2>&5
14599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14600 (exit $ac_status); }; }; then
14601 ac_header_compiler
=yes
14603 echo "$as_me: failed program was:" >&5
14604 sed 's/^/| /' conftest.
$ac_ext >&5
14606 ac_header_compiler
=no
14608 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14609 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14610 echo "${ECHO_T}$ac_header_compiler" >&6
14612 # Is the header present?
14613 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14614 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14615 cat >conftest.
$ac_ext <<_ACEOF
14618 cat confdefs.h
>>conftest.
$ac_ext
14619 cat >>conftest.
$ac_ext <<_ACEOF
14620 /* end confdefs.h. */
14621 #include <$ac_header>
14623 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14624 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14626 grep -v '^ *+' conftest.er1
>conftest.err
14628 cat conftest.err
>&5
14629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14630 (exit $ac_status); } >/dev
/null
; then
14631 if test -s conftest.err
; then
14632 ac_cpp_err
=$ac_c_preproc_warn_flag
14633 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14640 if test -z "$ac_cpp_err"; then
14641 ac_header_preproc
=yes
14643 echo "$as_me: failed program was:" >&5
14644 sed 's/^/| /' conftest.
$ac_ext >&5
14646 ac_header_preproc
=no
14648 rm -f conftest.err conftest.
$ac_ext
14649 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14650 echo "${ECHO_T}$ac_header_preproc" >&6
14652 # So? What about this header?
14653 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14655 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14656 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14657 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14658 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14659 ac_header_preproc
=yes
14662 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14663 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14664 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14665 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14666 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14667 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14668 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14669 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14671 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14672 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14673 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14676 ## ----------------------------------------- ##
14677 ## Report this to wx-dev@lists.wxwidgets.org ##
14678 ## ----------------------------------------- ##
14681 sed "s/^/$as_me: WARNING: /" >&2
14684 echo "$as_me:$LINENO: checking for $ac_header" >&5
14685 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14686 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14687 echo $ECHO_N "(cached) $ECHO_C" >&6
14689 eval "$as_ac_Header=\$ac_header_preproc"
14691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14692 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14695 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14696 cat >>confdefs.h
<<_ACEOF
14697 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14707 for ac_header
in fnmatch.h
14709 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14710 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14711 echo "$as_me:$LINENO: checking for $ac_header" >&5
14712 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14713 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14714 echo $ECHO_N "(cached) $ECHO_C" >&6
14716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14717 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14719 # Is the header compilable?
14720 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14721 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14722 cat >conftest.
$ac_ext <<_ACEOF
14725 cat confdefs.h
>>conftest.
$ac_ext
14726 cat >>conftest.
$ac_ext <<_ACEOF
14727 /* end confdefs.h. */
14728 $ac_includes_default
14729 #include <$ac_header>
14731 rm -f conftest.
$ac_objext
14732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14733 (eval $ac_compile) 2>conftest.er1
14735 grep -v '^ *+' conftest.er1
>conftest.err
14737 cat conftest.err
>&5
14738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14739 (exit $ac_status); } &&
14740 { ac_try
='test -z "$ac_c_werror_flag"
14741 || test ! -s conftest.err'
14742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14743 (eval $ac_try) 2>&5
14745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14746 (exit $ac_status); }; } &&
14747 { ac_try
='test -s conftest.$ac_objext'
14748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14749 (eval $ac_try) 2>&5
14751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14752 (exit $ac_status); }; }; then
14753 ac_header_compiler
=yes
14755 echo "$as_me: failed program was:" >&5
14756 sed 's/^/| /' conftest.
$ac_ext >&5
14758 ac_header_compiler
=no
14760 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14761 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14762 echo "${ECHO_T}$ac_header_compiler" >&6
14764 # Is the header present?
14765 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14766 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14767 cat >conftest.
$ac_ext <<_ACEOF
14770 cat confdefs.h
>>conftest.
$ac_ext
14771 cat >>conftest.
$ac_ext <<_ACEOF
14772 /* end confdefs.h. */
14773 #include <$ac_header>
14775 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14776 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14778 grep -v '^ *+' conftest.er1
>conftest.err
14780 cat conftest.err
>&5
14781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14782 (exit $ac_status); } >/dev
/null
; then
14783 if test -s conftest.err
; then
14784 ac_cpp_err
=$ac_c_preproc_warn_flag
14785 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14792 if test -z "$ac_cpp_err"; then
14793 ac_header_preproc
=yes
14795 echo "$as_me: failed program was:" >&5
14796 sed 's/^/| /' conftest.
$ac_ext >&5
14798 ac_header_preproc
=no
14800 rm -f conftest.err conftest.
$ac_ext
14801 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14802 echo "${ECHO_T}$ac_header_preproc" >&6
14804 # So? What about this header?
14805 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14807 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14808 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14809 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14810 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14811 ac_header_preproc
=yes
14814 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14815 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14816 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14817 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14818 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14819 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14820 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14821 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14822 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14823 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14824 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14825 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14828 ## ----------------------------------------- ##
14829 ## Report this to wx-dev@lists.wxwidgets.org ##
14830 ## ----------------------------------------- ##
14833 sed "s/^/$as_me: WARNING: /" >&2
14836 echo "$as_me:$LINENO: checking for $ac_header" >&5
14837 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14838 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14839 echo $ECHO_N "(cached) $ECHO_C" >&6
14841 eval "$as_ac_Header=\$ac_header_preproc"
14843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14844 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14847 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14848 cat >>confdefs.h
<<_ACEOF
14849 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14857 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
14859 for ac_func
in fnmatch
14861 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14862 echo "$as_me:$LINENO: checking for $ac_func" >&5
14863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14864 if eval "test \"\${$as_ac_var+set}\" = set"; then
14865 echo $ECHO_N "(cached) $ECHO_C" >&6
14867 cat >conftest.
$ac_ext <<_ACEOF
14870 cat confdefs.h
>>conftest.
$ac_ext
14871 cat >>conftest.
$ac_ext <<_ACEOF
14872 /* end confdefs.h. */
14873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14875 #define $ac_func innocuous_$ac_func
14877 /* System header to define __stub macros and hopefully few prototypes,
14878 which can conflict with char $ac_func (); below.
14879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14880 <limits.h> exists even on freestanding compilers. */
14883 # include <limits.h>
14885 # include <assert.h>
14890 /* Override any gcc2 internal prototype to avoid an error. */
14895 /* We use char because int might match the return type of a gcc2
14896 builtin and then its argument prototype would still apply. */
14898 /* The GNU C library defines this for functions which it implements
14899 to always fail with ENOSYS. Some functions are actually named
14900 something starting with __ and the normal name is an alias. */
14901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14904 char (*f) () = $ac_func;
14913 return f != $ac_func;
14918 rm -f conftest.
$ac_objext conftest
$ac_exeext
14919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14920 (eval $ac_link) 2>conftest.er1
14922 grep -v '^ *+' conftest.er1
>conftest.err
14924 cat conftest.err
>&5
14925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14926 (exit $ac_status); } &&
14927 { ac_try
='test -z "$ac_c_werror_flag"
14928 || test ! -s conftest.err'
14929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14930 (eval $ac_try) 2>&5
14932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14933 (exit $ac_status); }; } &&
14934 { ac_try
='test -s conftest$ac_exeext'
14935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14936 (eval $ac_try) 2>&5
14938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14939 (exit $ac_status); }; }; then
14940 eval "$as_ac_var=yes"
14942 echo "$as_me: failed program was:" >&5
14943 sed 's/^/| /' conftest.
$ac_ext >&5
14945 eval "$as_ac_var=no"
14947 rm -f conftest.err conftest.
$ac_objext \
14948 conftest
$ac_exeext conftest.
$ac_ext
14950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14952 if test `eval echo '${'$as_ac_var'}'` = yes; then
14953 cat >>confdefs.h
<<_ACEOF
14954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14963 for ac_header
in langinfo.h
14965 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14966 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14967 echo "$as_me:$LINENO: checking for $ac_header" >&5
14968 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14969 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14970 echo $ECHO_N "(cached) $ECHO_C" >&6
14972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14973 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14975 # Is the header compilable?
14976 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14977 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14978 cat >conftest.
$ac_ext <<_ACEOF
14981 cat confdefs.h
>>conftest.
$ac_ext
14982 cat >>conftest.
$ac_ext <<_ACEOF
14983 /* end confdefs.h. */
14984 $ac_includes_default
14985 #include <$ac_header>
14987 rm -f conftest.
$ac_objext
14988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14989 (eval $ac_compile) 2>conftest.er1
14991 grep -v '^ *+' conftest.er1
>conftest.err
14993 cat conftest.err
>&5
14994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14995 (exit $ac_status); } &&
14996 { ac_try
='test -z "$ac_c_werror_flag"
14997 || test ! -s conftest.err'
14998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14999 (eval $ac_try) 2>&5
15001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15002 (exit $ac_status); }; } &&
15003 { ac_try
='test -s conftest.$ac_objext'
15004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15005 (eval $ac_try) 2>&5
15007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15008 (exit $ac_status); }; }; then
15009 ac_header_compiler
=yes
15011 echo "$as_me: failed program was:" >&5
15012 sed 's/^/| /' conftest.
$ac_ext >&5
15014 ac_header_compiler
=no
15016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15017 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15018 echo "${ECHO_T}$ac_header_compiler" >&6
15020 # Is the header present?
15021 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15022 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15023 cat >conftest.
$ac_ext <<_ACEOF
15026 cat confdefs.h
>>conftest.
$ac_ext
15027 cat >>conftest.
$ac_ext <<_ACEOF
15028 /* end confdefs.h. */
15029 #include <$ac_header>
15031 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15032 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15034 grep -v '^ *+' conftest.er1
>conftest.err
15036 cat conftest.err
>&5
15037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15038 (exit $ac_status); } >/dev
/null
; then
15039 if test -s conftest.err
; then
15040 ac_cpp_err
=$ac_c_preproc_warn_flag
15041 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15048 if test -z "$ac_cpp_err"; then
15049 ac_header_preproc
=yes
15051 echo "$as_me: failed program was:" >&5
15052 sed 's/^/| /' conftest.
$ac_ext >&5
15054 ac_header_preproc
=no
15056 rm -f conftest.err conftest.
$ac_ext
15057 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15058 echo "${ECHO_T}$ac_header_preproc" >&6
15060 # So? What about this header?
15061 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15063 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15064 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15065 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15066 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15067 ac_header_preproc
=yes
15070 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15071 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15072 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15073 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15074 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15075 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15076 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15077 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15078 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15079 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15080 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15081 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15084 ## ----------------------------------------- ##
15085 ## Report this to wx-dev@lists.wxwidgets.org ##
15086 ## ----------------------------------------- ##
15089 sed "s/^/$as_me: WARNING: /" >&2
15092 echo "$as_me:$LINENO: checking for $ac_header" >&5
15093 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15094 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15095 echo $ECHO_N "(cached) $ECHO_C" >&6
15097 eval "$as_ac_Header=\$ac_header_preproc"
15099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15100 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15103 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15104 cat >>confdefs.h
<<_ACEOF
15105 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15114 *-pc-os2_emx | *-pc-os2-emx )
15115 if test $ac_cv_header_langinfo_h = "yes" \
15116 -a \
( "$wx_cv_gccversion" = "EMX2" \
15117 -o "$wx_cv_gccversion" = "EMX3" \
15118 -o "$wx_cv_gccversion" = "Innotek5" \
); then
15119 LIBS
="$LIBS -lintl"
15124 if test "$wxUSE_GUI" = "yes"; then
15125 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
15127 for ac_header
in X
11/Xlib.h
15129 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15130 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15131 echo "$as_me:$LINENO: checking for $ac_header" >&5
15132 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15134 echo $ECHO_N "(cached) $ECHO_C" >&6
15136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15137 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15139 # Is the header compilable?
15140 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15141 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15142 cat >conftest.
$ac_ext <<_ACEOF
15145 cat confdefs.h
>>conftest.
$ac_ext
15146 cat >>conftest.
$ac_ext <<_ACEOF
15147 /* end confdefs.h. */
15148 $ac_includes_default
15149 #include <$ac_header>
15151 rm -f conftest.
$ac_objext
15152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15153 (eval $ac_compile) 2>conftest.er1
15155 grep -v '^ *+' conftest.er1
>conftest.err
15157 cat conftest.err
>&5
15158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15159 (exit $ac_status); } &&
15160 { ac_try
='test -z "$ac_c_werror_flag"
15161 || test ! -s conftest.err'
15162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15163 (eval $ac_try) 2>&5
15165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15166 (exit $ac_status); }; } &&
15167 { ac_try
='test -s conftest.$ac_objext'
15168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15169 (eval $ac_try) 2>&5
15171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15172 (exit $ac_status); }; }; then
15173 ac_header_compiler
=yes
15175 echo "$as_me: failed program was:" >&5
15176 sed 's/^/| /' conftest.
$ac_ext >&5
15178 ac_header_compiler
=no
15180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15181 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15182 echo "${ECHO_T}$ac_header_compiler" >&6
15184 # Is the header present?
15185 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15186 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15187 cat >conftest.
$ac_ext <<_ACEOF
15190 cat confdefs.h
>>conftest.
$ac_ext
15191 cat >>conftest.
$ac_ext <<_ACEOF
15192 /* end confdefs.h. */
15193 #include <$ac_header>
15195 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15196 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15198 grep -v '^ *+' conftest.er1
>conftest.err
15200 cat conftest.err
>&5
15201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15202 (exit $ac_status); } >/dev
/null
; then
15203 if test -s conftest.err
; then
15204 ac_cpp_err
=$ac_c_preproc_warn_flag
15205 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15212 if test -z "$ac_cpp_err"; then
15213 ac_header_preproc
=yes
15215 echo "$as_me: failed program was:" >&5
15216 sed 's/^/| /' conftest.
$ac_ext >&5
15218 ac_header_preproc
=no
15220 rm -f conftest.err conftest.
$ac_ext
15221 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15222 echo "${ECHO_T}$ac_header_preproc" >&6
15224 # So? What about this header?
15225 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15227 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15228 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15229 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15230 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15231 ac_header_preproc
=yes
15234 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15235 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15236 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15237 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15238 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15239 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15240 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15241 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15242 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15243 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15244 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15245 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15248 ## ----------------------------------------- ##
15249 ## Report this to wx-dev@lists.wxwidgets.org ##
15250 ## ----------------------------------------- ##
15253 sed "s/^/$as_me: WARNING: /" >&2
15256 echo "$as_me:$LINENO: checking for $ac_header" >&5
15257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15258 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15259 echo $ECHO_N "(cached) $ECHO_C" >&6
15261 eval "$as_ac_Header=\$ac_header_preproc"
15263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15264 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15267 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15268 cat >>confdefs.h
<<_ACEOF
15269 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15277 for ac_header
in X
11/XKBlib.h
15279 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15280 echo "$as_me:$LINENO: checking for $ac_header" >&5
15281 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15283 echo $ECHO_N "(cached) $ECHO_C" >&6
15285 cat >conftest.
$ac_ext <<_ACEOF
15288 cat confdefs.h
>>conftest.
$ac_ext
15289 cat >>conftest.
$ac_ext <<_ACEOF
15290 /* end confdefs.h. */
15292 #if HAVE_X11_XLIB_H
15293 #include <X11/Xlib.h>
15297 #include <$ac_header>
15299 rm -f conftest.
$ac_objext
15300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15301 (eval $ac_compile) 2>conftest.er1
15303 grep -v '^ *+' conftest.er1
>conftest.err
15305 cat conftest.err
>&5
15306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15307 (exit $ac_status); } &&
15308 { ac_try
='test -z "$ac_c_werror_flag"
15309 || test ! -s conftest.err'
15310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15311 (eval $ac_try) 2>&5
15313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15314 (exit $ac_status); }; } &&
15315 { ac_try
='test -s conftest.$ac_objext'
15316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15317 (eval $ac_try) 2>&5
15319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15320 (exit $ac_status); }; }; then
15321 eval "$as_ac_Header=yes"
15323 echo "$as_me: failed program was:" >&5
15324 sed 's/^/| /' conftest.
$ac_ext >&5
15326 eval "$as_ac_Header=no"
15328 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15331 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15332 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15333 cat >>confdefs.h
<<_ACEOF
15334 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15345 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15346 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15347 if test "${ac_cv_c_const+set}" = set; then
15348 echo $ECHO_N "(cached) $ECHO_C" >&6
15350 cat >conftest.
$ac_ext <<_ACEOF
15353 cat confdefs.h
>>conftest.
$ac_ext
15354 cat >>conftest.
$ac_ext <<_ACEOF
15355 /* end confdefs.h. */
15360 /* FIXME: Include the comments suggested by Paul. */
15361 #ifndef __cplusplus
15362 /* Ultrix mips cc rejects this. */
15363 typedef int charset[2];
15365 /* SunOS 4.1.1 cc rejects this. */
15366 char const *const *ccp;
15368 /* NEC SVR4.0.2 mips cc rejects this. */
15369 struct point {int x, y;};
15370 static struct point const zero = {0,0};
15371 /* AIX XL C 1.02.0.0 rejects this.
15372 It does not let you subtract one const X* pointer from another in
15373 an arm of an if-expression whose if-part is not a constant
15375 const char *g = "string";
15376 ccp = &g + (g ? g-g : 0);
15377 /* HPUX 7.0 cc rejects these. */
15380 ccp = (char const *const *) p;
15381 { /* SCO 3.2v4 cc rejects this. */
15383 char const *s = 0 ? (char *) 0 : (char const *) 0;
15387 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15388 int x[] = {25, 17};
15389 const int *foo = &x[0];
15392 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15393 typedef const int *iptr;
15397 { /* AIX XL C 1.02.0.0 rejects this saying
15398 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15399 struct s { int j; const int *ap[3]; };
15400 struct s *b; b->j = 5;
15402 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15403 const int foo = 10;
15411 rm -f conftest.
$ac_objext
15412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15413 (eval $ac_compile) 2>conftest.er1
15415 grep -v '^ *+' conftest.er1
>conftest.err
15417 cat conftest.err
>&5
15418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15419 (exit $ac_status); } &&
15420 { ac_try
='test -z "$ac_c_werror_flag"
15421 || test ! -s conftest.err'
15422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15423 (eval $ac_try) 2>&5
15425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15426 (exit $ac_status); }; } &&
15427 { ac_try
='test -s conftest.$ac_objext'
15428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15429 (eval $ac_try) 2>&5
15431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15432 (exit $ac_status); }; }; then
15435 echo "$as_me: failed program was:" >&5
15436 sed 's/^/| /' conftest.
$ac_ext >&5
15440 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15442 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15443 echo "${ECHO_T}$ac_cv_c_const" >&6
15444 if test $ac_cv_c_const = no
; then
15446 cat >>confdefs.h
<<\_ACEOF
15452 echo "$as_me:$LINENO: checking for inline" >&5
15453 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15454 if test "${ac_cv_c_inline+set}" = set; then
15455 echo $ECHO_N "(cached) $ECHO_C" >&6
15458 for ac_kw
in inline __inline__ __inline
; do
15459 cat >conftest.
$ac_ext <<_ACEOF
15462 cat confdefs.h
>>conftest.
$ac_ext
15463 cat >>conftest.
$ac_ext <<_ACEOF
15464 /* end confdefs.h. */
15465 #ifndef __cplusplus
15467 static $ac_kw foo_t static_foo () {return 0; }
15468 $ac_kw foo_t foo () {return 0; }
15472 rm -f conftest.
$ac_objext
15473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15474 (eval $ac_compile) 2>conftest.er1
15476 grep -v '^ *+' conftest.er1
>conftest.err
15478 cat conftest.err
>&5
15479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15480 (exit $ac_status); } &&
15481 { ac_try
='test -z "$ac_c_werror_flag"
15482 || test ! -s conftest.err'
15483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15484 (eval $ac_try) 2>&5
15486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15487 (exit $ac_status); }; } &&
15488 { ac_try
='test -s conftest.$ac_objext'
15489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15490 (eval $ac_try) 2>&5
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); }; }; then
15494 ac_cv_c_inline
=$ac_kw; break
15496 echo "$as_me: failed program was:" >&5
15497 sed 's/^/| /' conftest.
$ac_ext >&5
15500 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15504 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15505 echo "${ECHO_T}$ac_cv_c_inline" >&6
15508 case $ac_cv_c_inline in
15511 case $ac_cv_c_inline in
15513 *) ac_val
=$ac_cv_c_inline;;
15515 cat >>confdefs.h
<<_ACEOF
15516 #ifndef __cplusplus
15517 #define inline $ac_val
15524 echo "$as_me:$LINENO: checking for char" >&5
15525 echo $ECHO_N "checking for char... $ECHO_C" >&6
15526 if test "${ac_cv_type_char+set}" = set; then
15527 echo $ECHO_N "(cached) $ECHO_C" >&6
15529 cat >conftest.
$ac_ext <<_ACEOF
15532 cat confdefs.h
>>conftest.
$ac_ext
15533 cat >>conftest.
$ac_ext <<_ACEOF
15534 /* end confdefs.h. */
15535 $ac_includes_default
15547 rm -f conftest.
$ac_objext
15548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15549 (eval $ac_compile) 2>conftest.er1
15551 grep -v '^ *+' conftest.er1
>conftest.err
15553 cat conftest.err
>&5
15554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15555 (exit $ac_status); } &&
15556 { ac_try
='test -z "$ac_c_werror_flag"
15557 || test ! -s conftest.err'
15558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15559 (eval $ac_try) 2>&5
15561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15562 (exit $ac_status); }; } &&
15563 { ac_try
='test -s conftest.$ac_objext'
15564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15565 (eval $ac_try) 2>&5
15567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15568 (exit $ac_status); }; }; then
15569 ac_cv_type_char
=yes
15571 echo "$as_me: failed program was:" >&5
15572 sed 's/^/| /' conftest.
$ac_ext >&5
15576 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15578 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15579 echo "${ECHO_T}$ac_cv_type_char" >&6
15581 echo "$as_me:$LINENO: checking size of char" >&5
15582 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15583 if test "${ac_cv_sizeof_char+set}" = set; then
15584 echo $ECHO_N "(cached) $ECHO_C" >&6
15586 if test "$ac_cv_type_char" = yes; then
15587 # The cast to unsigned long works around a bug in the HP C Compiler
15588 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15589 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15590 # This bug is HP SR number 8606223364.
15591 if test "$cross_compiling" = yes; then
15592 # Depending upon the size, compute the lo and hi bounds.
15593 cat >conftest.
$ac_ext <<_ACEOF
15596 cat confdefs.h
>>conftest.
$ac_ext
15597 cat >>conftest.
$ac_ext <<_ACEOF
15598 /* end confdefs.h. */
15599 $ac_includes_default
15603 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15610 rm -f conftest.
$ac_objext
15611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15612 (eval $ac_compile) 2>conftest.er1
15614 grep -v '^ *+' conftest.er1
>conftest.err
15616 cat conftest.err
>&5
15617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15618 (exit $ac_status); } &&
15619 { ac_try
='test -z "$ac_c_werror_flag"
15620 || test ! -s conftest.err'
15621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15622 (eval $ac_try) 2>&5
15624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15625 (exit $ac_status); }; } &&
15626 { ac_try
='test -s conftest.$ac_objext'
15627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15628 (eval $ac_try) 2>&5
15630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15631 (exit $ac_status); }; }; then
15634 cat >conftest.
$ac_ext <<_ACEOF
15637 cat confdefs.h
>>conftest.
$ac_ext
15638 cat >>conftest.
$ac_ext <<_ACEOF
15639 /* end confdefs.h. */
15640 $ac_includes_default
15644 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15651 rm -f conftest.
$ac_objext
15652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15653 (eval $ac_compile) 2>conftest.er1
15655 grep -v '^ *+' conftest.er1
>conftest.err
15657 cat conftest.err
>&5
15658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15659 (exit $ac_status); } &&
15660 { ac_try
='test -z "$ac_c_werror_flag"
15661 || test ! -s conftest.err'
15662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15663 (eval $ac_try) 2>&5
15665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15666 (exit $ac_status); }; } &&
15667 { ac_try
='test -s conftest.$ac_objext'
15668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15669 (eval $ac_try) 2>&5
15671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15672 (exit $ac_status); }; }; then
15673 ac_hi
=$ac_mid; break
15675 echo "$as_me: failed program was:" >&5
15676 sed 's/^/| /' conftest.
$ac_ext >&5
15678 ac_lo
=`expr $ac_mid + 1`
15679 if test $ac_lo -le $ac_mid; then
15683 ac_mid
=`expr 2 '*' $ac_mid + 1`
15685 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15688 echo "$as_me: failed program was:" >&5
15689 sed 's/^/| /' conftest.
$ac_ext >&5
15691 cat >conftest.
$ac_ext <<_ACEOF
15694 cat confdefs.h
>>conftest.
$ac_ext
15695 cat >>conftest.
$ac_ext <<_ACEOF
15696 /* end confdefs.h. */
15697 $ac_includes_default
15701 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15708 rm -f conftest.
$ac_objext
15709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15710 (eval $ac_compile) 2>conftest.er1
15712 grep -v '^ *+' conftest.er1
>conftest.err
15714 cat conftest.err
>&5
15715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15716 (exit $ac_status); } &&
15717 { ac_try
='test -z "$ac_c_werror_flag"
15718 || test ! -s conftest.err'
15719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15720 (eval $ac_try) 2>&5
15722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15723 (exit $ac_status); }; } &&
15724 { ac_try
='test -s conftest.$ac_objext'
15725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15726 (eval $ac_try) 2>&5
15728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15729 (exit $ac_status); }; }; then
15732 cat >conftest.
$ac_ext <<_ACEOF
15735 cat confdefs.h
>>conftest.
$ac_ext
15736 cat >>conftest.
$ac_ext <<_ACEOF
15737 /* end confdefs.h. */
15738 $ac_includes_default
15742 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15749 rm -f conftest.
$ac_objext
15750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15751 (eval $ac_compile) 2>conftest.er1
15753 grep -v '^ *+' conftest.er1
>conftest.err
15755 cat conftest.err
>&5
15756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15757 (exit $ac_status); } &&
15758 { ac_try
='test -z "$ac_c_werror_flag"
15759 || test ! -s conftest.err'
15760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15761 (eval $ac_try) 2>&5
15763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15764 (exit $ac_status); }; } &&
15765 { ac_try
='test -s conftest.$ac_objext'
15766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15767 (eval $ac_try) 2>&5
15769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15770 (exit $ac_status); }; }; then
15771 ac_lo
=$ac_mid; break
15773 echo "$as_me: failed program was:" >&5
15774 sed 's/^/| /' conftest.
$ac_ext >&5
15776 ac_hi
=`expr '(' $ac_mid ')' - 1`
15777 if test $ac_mid -le $ac_hi; then
15781 ac_mid
=`expr 2 '*' $ac_mid`
15783 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15786 echo "$as_me: failed program was:" >&5
15787 sed 's/^/| /' conftest.
$ac_ext >&5
15791 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15794 # Binary search between lo and hi bounds.
15795 while test "x$ac_lo" != "x$ac_hi"; do
15796 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15797 cat >conftest.
$ac_ext <<_ACEOF
15800 cat confdefs.h
>>conftest.
$ac_ext
15801 cat >>conftest.
$ac_ext <<_ACEOF
15802 /* end confdefs.h. */
15803 $ac_includes_default
15807 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15814 rm -f conftest.
$ac_objext
15815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15816 (eval $ac_compile) 2>conftest.er1
15818 grep -v '^ *+' conftest.er1
>conftest.err
15820 cat conftest.err
>&5
15821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15822 (exit $ac_status); } &&
15823 { ac_try
='test -z "$ac_c_werror_flag"
15824 || test ! -s conftest.err'
15825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15826 (eval $ac_try) 2>&5
15828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15829 (exit $ac_status); }; } &&
15830 { ac_try
='test -s conftest.$ac_objext'
15831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15832 (eval $ac_try) 2>&5
15834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15835 (exit $ac_status); }; }; then
15838 echo "$as_me: failed program was:" >&5
15839 sed 's/^/| /' conftest.
$ac_ext >&5
15841 ac_lo
=`expr '(' $ac_mid ')' + 1`
15843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15846 ?
*) ac_cv_sizeof_char
=$ac_lo;;
15847 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15848 See \`config.log' for more details." >&5
15849 echo "$as_me: error: cannot compute sizeof (char), 77
15850 See \`config.log' for more details." >&2;}
15851 { (exit 1); exit 1; }; } ;;
15854 if test "$cross_compiling" = yes; then
15855 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15856 See \`config.log' for more details." >&5
15857 echo "$as_me: error: cannot run test program while cross compiling
15858 See \`config.log' for more details." >&2;}
15859 { (exit 1); exit 1; }; }
15861 cat >conftest.
$ac_ext <<_ACEOF
15864 cat confdefs.h
>>conftest.
$ac_ext
15865 cat >>conftest.
$ac_ext <<_ACEOF
15866 /* end confdefs.h. */
15867 $ac_includes_default
15868 long longval () { return (long) (sizeof (char)); }
15869 unsigned long ulongval () { return (long) (sizeof (char)); }
15871 #include <stdlib.h>
15876 FILE *f = fopen ("conftest.val", "w");
15879 if (((long) (sizeof (char))) < 0)
15881 long i = longval ();
15882 if (i != ((long) (sizeof (char))))
15884 fprintf (f, "%ld\n", i);
15888 unsigned long i = ulongval ();
15889 if (i != ((long) (sizeof (char))))
15891 fprintf (f, "%lu\n", i);
15893 exit (ferror (f) || fclose (f) != 0);
15899 rm -f conftest
$ac_exeext
15900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15901 (eval $ac_link) 2>&5
15903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15904 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15906 (eval $ac_try) 2>&5
15908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15909 (exit $ac_status); }; }; then
15910 ac_cv_sizeof_char
=`cat conftest.val`
15912 echo "$as_me: program exited with status $ac_status" >&5
15913 echo "$as_me: failed program was:" >&5
15914 sed 's/^/| /' conftest.
$ac_ext >&5
15916 ( exit $ac_status )
15917 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15918 See \`config.log' for more details." >&5
15919 echo "$as_me: error: cannot compute sizeof (char), 77
15920 See \`config.log' for more details." >&2;}
15921 { (exit 1); exit 1; }; }
15923 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15928 ac_cv_sizeof_char
=0
15931 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15932 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15933 cat >>confdefs.h
<<_ACEOF
15934 #define SIZEOF_CHAR $ac_cv_sizeof_char
15938 echo "$as_me:$LINENO: checking for short" >&5
15939 echo $ECHO_N "checking for short... $ECHO_C" >&6
15940 if test "${ac_cv_type_short+set}" = set; then
15941 echo $ECHO_N "(cached) $ECHO_C" >&6
15943 cat >conftest.
$ac_ext <<_ACEOF
15946 cat confdefs.h
>>conftest.
$ac_ext
15947 cat >>conftest.
$ac_ext <<_ACEOF
15948 /* end confdefs.h. */
15949 $ac_includes_default
15955 if (sizeof (short))
15961 rm -f conftest.
$ac_objext
15962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15963 (eval $ac_compile) 2>conftest.er1
15965 grep -v '^ *+' conftest.er1
>conftest.err
15967 cat conftest.err
>&5
15968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15969 (exit $ac_status); } &&
15970 { ac_try
='test -z "$ac_c_werror_flag"
15971 || test ! -s conftest.err'
15972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15973 (eval $ac_try) 2>&5
15975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15976 (exit $ac_status); }; } &&
15977 { ac_try
='test -s conftest.$ac_objext'
15978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15979 (eval $ac_try) 2>&5
15981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15982 (exit $ac_status); }; }; then
15983 ac_cv_type_short
=yes
15985 echo "$as_me: failed program was:" >&5
15986 sed 's/^/| /' conftest.
$ac_ext >&5
15988 ac_cv_type_short
=no
15990 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15992 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15993 echo "${ECHO_T}$ac_cv_type_short" >&6
15995 echo "$as_me:$LINENO: checking size of short" >&5
15996 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15997 if test "${ac_cv_sizeof_short+set}" = set; then
15998 echo $ECHO_N "(cached) $ECHO_C" >&6
16000 if test "$ac_cv_type_short" = yes; then
16001 # The cast to unsigned long works around a bug in the HP C Compiler
16002 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16003 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16004 # This bug is HP SR number 8606223364.
16005 if test "$cross_compiling" = yes; then
16006 # Depending upon the size, compute the lo and hi bounds.
16007 cat >conftest.
$ac_ext <<_ACEOF
16010 cat confdefs.h
>>conftest.
$ac_ext
16011 cat >>conftest.
$ac_ext <<_ACEOF
16012 /* end confdefs.h. */
16013 $ac_includes_default
16017 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16024 rm -f conftest.
$ac_objext
16025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16026 (eval $ac_compile) 2>conftest.er1
16028 grep -v '^ *+' conftest.er1
>conftest.err
16030 cat conftest.err
>&5
16031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16032 (exit $ac_status); } &&
16033 { ac_try
='test -z "$ac_c_werror_flag"
16034 || test ! -s conftest.err'
16035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16036 (eval $ac_try) 2>&5
16038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16039 (exit $ac_status); }; } &&
16040 { ac_try
='test -s conftest.$ac_objext'
16041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16042 (eval $ac_try) 2>&5
16044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16045 (exit $ac_status); }; }; then
16048 cat >conftest.
$ac_ext <<_ACEOF
16051 cat confdefs.h
>>conftest.
$ac_ext
16052 cat >>conftest.
$ac_ext <<_ACEOF
16053 /* end confdefs.h. */
16054 $ac_includes_default
16058 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16065 rm -f conftest.
$ac_objext
16066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16067 (eval $ac_compile) 2>conftest.er1
16069 grep -v '^ *+' conftest.er1
>conftest.err
16071 cat conftest.err
>&5
16072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16073 (exit $ac_status); } &&
16074 { ac_try
='test -z "$ac_c_werror_flag"
16075 || test ! -s conftest.err'
16076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16077 (eval $ac_try) 2>&5
16079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16080 (exit $ac_status); }; } &&
16081 { ac_try
='test -s conftest.$ac_objext'
16082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16083 (eval $ac_try) 2>&5
16085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16086 (exit $ac_status); }; }; then
16087 ac_hi
=$ac_mid; break
16089 echo "$as_me: failed program was:" >&5
16090 sed 's/^/| /' conftest.
$ac_ext >&5
16092 ac_lo
=`expr $ac_mid + 1`
16093 if test $ac_lo -le $ac_mid; then
16097 ac_mid
=`expr 2 '*' $ac_mid + 1`
16099 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16102 echo "$as_me: failed program was:" >&5
16103 sed 's/^/| /' conftest.
$ac_ext >&5
16105 cat >conftest.
$ac_ext <<_ACEOF
16108 cat confdefs.h
>>conftest.
$ac_ext
16109 cat >>conftest.
$ac_ext <<_ACEOF
16110 /* end confdefs.h. */
16111 $ac_includes_default
16115 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
16122 rm -f conftest.
$ac_objext
16123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16124 (eval $ac_compile) 2>conftest.er1
16126 grep -v '^ *+' conftest.er1
>conftest.err
16128 cat conftest.err
>&5
16129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16130 (exit $ac_status); } &&
16131 { ac_try
='test -z "$ac_c_werror_flag"
16132 || test ! -s conftest.err'
16133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16134 (eval $ac_try) 2>&5
16136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16137 (exit $ac_status); }; } &&
16138 { ac_try
='test -s conftest.$ac_objext'
16139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16140 (eval $ac_try) 2>&5
16142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16143 (exit $ac_status); }; }; then
16146 cat >conftest.
$ac_ext <<_ACEOF
16149 cat confdefs.h
>>conftest.
$ac_ext
16150 cat >>conftest.
$ac_ext <<_ACEOF
16151 /* end confdefs.h. */
16152 $ac_includes_default
16156 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16163 rm -f conftest.
$ac_objext
16164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16165 (eval $ac_compile) 2>conftest.er1
16167 grep -v '^ *+' conftest.er1
>conftest.err
16169 cat conftest.err
>&5
16170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16171 (exit $ac_status); } &&
16172 { ac_try
='test -z "$ac_c_werror_flag"
16173 || test ! -s conftest.err'
16174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16175 (eval $ac_try) 2>&5
16177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16178 (exit $ac_status); }; } &&
16179 { ac_try
='test -s conftest.$ac_objext'
16180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16181 (eval $ac_try) 2>&5
16183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16184 (exit $ac_status); }; }; then
16185 ac_lo
=$ac_mid; break
16187 echo "$as_me: failed program was:" >&5
16188 sed 's/^/| /' conftest.
$ac_ext >&5
16190 ac_hi
=`expr '(' $ac_mid ')' - 1`
16191 if test $ac_mid -le $ac_hi; then
16195 ac_mid
=`expr 2 '*' $ac_mid`
16197 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16200 echo "$as_me: failed program was:" >&5
16201 sed 's/^/| /' conftest.
$ac_ext >&5
16205 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16207 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16208 # Binary search between lo and hi bounds.
16209 while test "x$ac_lo" != "x$ac_hi"; do
16210 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16211 cat >conftest.
$ac_ext <<_ACEOF
16214 cat confdefs.h
>>conftest.
$ac_ext
16215 cat >>conftest.
$ac_ext <<_ACEOF
16216 /* end confdefs.h. */
16217 $ac_includes_default
16221 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16228 rm -f conftest.
$ac_objext
16229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16230 (eval $ac_compile) 2>conftest.er1
16232 grep -v '^ *+' conftest.er1
>conftest.err
16234 cat conftest.err
>&5
16235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16236 (exit $ac_status); } &&
16237 { ac_try
='test -z "$ac_c_werror_flag"
16238 || test ! -s conftest.err'
16239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16240 (eval $ac_try) 2>&5
16242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16243 (exit $ac_status); }; } &&
16244 { ac_try
='test -s conftest.$ac_objext'
16245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16246 (eval $ac_try) 2>&5
16248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16249 (exit $ac_status); }; }; then
16252 echo "$as_me: failed program was:" >&5
16253 sed 's/^/| /' conftest.
$ac_ext >&5
16255 ac_lo
=`expr '(' $ac_mid ')' + 1`
16257 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16260 ?
*) ac_cv_sizeof_short
=$ac_lo;;
16261 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16262 See \`config.log' for more details." >&5
16263 echo "$as_me: error: cannot compute sizeof (short), 77
16264 See \`config.log' for more details." >&2;}
16265 { (exit 1); exit 1; }; } ;;
16268 if test "$cross_compiling" = yes; then
16269 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16270 See \`config.log' for more details." >&5
16271 echo "$as_me: error: cannot run test program while cross compiling
16272 See \`config.log' for more details." >&2;}
16273 { (exit 1); exit 1; }; }
16275 cat >conftest.
$ac_ext <<_ACEOF
16278 cat confdefs.h
>>conftest.
$ac_ext
16279 cat >>conftest.
$ac_ext <<_ACEOF
16280 /* end confdefs.h. */
16281 $ac_includes_default
16282 long longval () { return (long) (sizeof (short)); }
16283 unsigned long ulongval () { return (long) (sizeof (short)); }
16285 #include <stdlib.h>
16290 FILE *f = fopen ("conftest.val", "w");
16293 if (((long) (sizeof (short))) < 0)
16295 long i = longval ();
16296 if (i != ((long) (sizeof (short))))
16298 fprintf (f, "%ld\n", i);
16302 unsigned long i = ulongval ();
16303 if (i != ((long) (sizeof (short))))
16305 fprintf (f, "%lu\n", i);
16307 exit (ferror (f) || fclose (f) != 0);
16313 rm -f conftest
$ac_exeext
16314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16315 (eval $ac_link) 2>&5
16317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16318 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16320 (eval $ac_try) 2>&5
16322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16323 (exit $ac_status); }; }; then
16324 ac_cv_sizeof_short
=`cat conftest.val`
16326 echo "$as_me: program exited with status $ac_status" >&5
16327 echo "$as_me: failed program was:" >&5
16328 sed 's/^/| /' conftest.
$ac_ext >&5
16330 ( exit $ac_status )
16331 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16332 See \`config.log' for more details." >&5
16333 echo "$as_me: error: cannot compute sizeof (short), 77
16334 See \`config.log' for more details." >&2;}
16335 { (exit 1); exit 1; }; }
16337 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16342 ac_cv_sizeof_short
=0
16345 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16346 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16347 cat >>confdefs.h
<<_ACEOF
16348 #define SIZEOF_SHORT $ac_cv_sizeof_short
16352 echo "$as_me:$LINENO: checking for void *" >&5
16353 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16354 if test "${ac_cv_type_void_p+set}" = set; then
16355 echo $ECHO_N "(cached) $ECHO_C" >&6
16357 cat >conftest.
$ac_ext <<_ACEOF
16360 cat confdefs.h
>>conftest.
$ac_ext
16361 cat >>conftest.
$ac_ext <<_ACEOF
16362 /* end confdefs.h. */
16363 $ac_includes_default
16369 if (sizeof (void *))
16375 rm -f conftest.
$ac_objext
16376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16377 (eval $ac_compile) 2>conftest.er1
16379 grep -v '^ *+' conftest.er1
>conftest.err
16381 cat conftest.err
>&5
16382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16383 (exit $ac_status); } &&
16384 { ac_try
='test -z "$ac_c_werror_flag"
16385 || test ! -s conftest.err'
16386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16387 (eval $ac_try) 2>&5
16389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16390 (exit $ac_status); }; } &&
16391 { ac_try
='test -s conftest.$ac_objext'
16392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16393 (eval $ac_try) 2>&5
16395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16396 (exit $ac_status); }; }; then
16397 ac_cv_type_void_p
=yes
16399 echo "$as_me: failed program was:" >&5
16400 sed 's/^/| /' conftest.
$ac_ext >&5
16402 ac_cv_type_void_p
=no
16404 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16406 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16407 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16409 echo "$as_me:$LINENO: checking size of void *" >&5
16410 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16411 if test "${ac_cv_sizeof_void_p+set}" = set; then
16412 echo $ECHO_N "(cached) $ECHO_C" >&6
16414 if test "$ac_cv_type_void_p" = yes; then
16415 # The cast to unsigned long works around a bug in the HP C Compiler
16416 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16417 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16418 # This bug is HP SR number 8606223364.
16419 if test "$cross_compiling" = yes; then
16420 # Depending upon the size, compute the lo and hi bounds.
16421 cat >conftest.
$ac_ext <<_ACEOF
16424 cat confdefs.h
>>conftest.
$ac_ext
16425 cat >>conftest.
$ac_ext <<_ACEOF
16426 /* end confdefs.h. */
16427 $ac_includes_default
16431 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16438 rm -f conftest.
$ac_objext
16439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16440 (eval $ac_compile) 2>conftest.er1
16442 grep -v '^ *+' conftest.er1
>conftest.err
16444 cat conftest.err
>&5
16445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16446 (exit $ac_status); } &&
16447 { ac_try
='test -z "$ac_c_werror_flag"
16448 || test ! -s conftest.err'
16449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16450 (eval $ac_try) 2>&5
16452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16453 (exit $ac_status); }; } &&
16454 { ac_try
='test -s conftest.$ac_objext'
16455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16456 (eval $ac_try) 2>&5
16458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16459 (exit $ac_status); }; }; then
16462 cat >conftest.
$ac_ext <<_ACEOF
16465 cat confdefs.h
>>conftest.
$ac_ext
16466 cat >>conftest.
$ac_ext <<_ACEOF
16467 /* end confdefs.h. */
16468 $ac_includes_default
16472 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16479 rm -f conftest.
$ac_objext
16480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16481 (eval $ac_compile) 2>conftest.er1
16483 grep -v '^ *+' conftest.er1
>conftest.err
16485 cat conftest.err
>&5
16486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16487 (exit $ac_status); } &&
16488 { ac_try
='test -z "$ac_c_werror_flag"
16489 || test ! -s conftest.err'
16490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16491 (eval $ac_try) 2>&5
16493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16494 (exit $ac_status); }; } &&
16495 { ac_try
='test -s conftest.$ac_objext'
16496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16497 (eval $ac_try) 2>&5
16499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16500 (exit $ac_status); }; }; then
16501 ac_hi
=$ac_mid; break
16503 echo "$as_me: failed program was:" >&5
16504 sed 's/^/| /' conftest.
$ac_ext >&5
16506 ac_lo
=`expr $ac_mid + 1`
16507 if test $ac_lo -le $ac_mid; then
16511 ac_mid
=`expr 2 '*' $ac_mid + 1`
16513 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16516 echo "$as_me: failed program was:" >&5
16517 sed 's/^/| /' conftest.
$ac_ext >&5
16519 cat >conftest.
$ac_ext <<_ACEOF
16522 cat confdefs.h
>>conftest.
$ac_ext
16523 cat >>conftest.
$ac_ext <<_ACEOF
16524 /* end confdefs.h. */
16525 $ac_includes_default
16529 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16536 rm -f conftest.
$ac_objext
16537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16538 (eval $ac_compile) 2>conftest.er1
16540 grep -v '^ *+' conftest.er1
>conftest.err
16542 cat conftest.err
>&5
16543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16544 (exit $ac_status); } &&
16545 { ac_try
='test -z "$ac_c_werror_flag"
16546 || test ! -s conftest.err'
16547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16548 (eval $ac_try) 2>&5
16550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16551 (exit $ac_status); }; } &&
16552 { ac_try
='test -s conftest.$ac_objext'
16553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16554 (eval $ac_try) 2>&5
16556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16557 (exit $ac_status); }; }; then
16560 cat >conftest.
$ac_ext <<_ACEOF
16563 cat confdefs.h
>>conftest.
$ac_ext
16564 cat >>conftest.
$ac_ext <<_ACEOF
16565 /* end confdefs.h. */
16566 $ac_includes_default
16570 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16577 rm -f conftest.
$ac_objext
16578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16579 (eval $ac_compile) 2>conftest.er1
16581 grep -v '^ *+' conftest.er1
>conftest.err
16583 cat conftest.err
>&5
16584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16585 (exit $ac_status); } &&
16586 { ac_try
='test -z "$ac_c_werror_flag"
16587 || test ! -s conftest.err'
16588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16589 (eval $ac_try) 2>&5
16591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16592 (exit $ac_status); }; } &&
16593 { ac_try
='test -s conftest.$ac_objext'
16594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16595 (eval $ac_try) 2>&5
16597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16598 (exit $ac_status); }; }; then
16599 ac_lo
=$ac_mid; break
16601 echo "$as_me: failed program was:" >&5
16602 sed 's/^/| /' conftest.
$ac_ext >&5
16604 ac_hi
=`expr '(' $ac_mid ')' - 1`
16605 if test $ac_mid -le $ac_hi; then
16609 ac_mid
=`expr 2 '*' $ac_mid`
16611 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16614 echo "$as_me: failed program was:" >&5
16615 sed 's/^/| /' conftest.
$ac_ext >&5
16619 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16622 # Binary search between lo and hi bounds.
16623 while test "x$ac_lo" != "x$ac_hi"; do
16624 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16625 cat >conftest.
$ac_ext <<_ACEOF
16628 cat confdefs.h
>>conftest.
$ac_ext
16629 cat >>conftest.
$ac_ext <<_ACEOF
16630 /* end confdefs.h. */
16631 $ac_includes_default
16635 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16642 rm -f conftest.
$ac_objext
16643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16644 (eval $ac_compile) 2>conftest.er1
16646 grep -v '^ *+' conftest.er1
>conftest.err
16648 cat conftest.err
>&5
16649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16650 (exit $ac_status); } &&
16651 { ac_try
='test -z "$ac_c_werror_flag"
16652 || test ! -s conftest.err'
16653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16654 (eval $ac_try) 2>&5
16656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16657 (exit $ac_status); }; } &&
16658 { ac_try
='test -s conftest.$ac_objext'
16659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16660 (eval $ac_try) 2>&5
16662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16663 (exit $ac_status); }; }; then
16666 echo "$as_me: failed program was:" >&5
16667 sed 's/^/| /' conftest.
$ac_ext >&5
16669 ac_lo
=`expr '(' $ac_mid ')' + 1`
16671 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16674 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
16675 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16676 See \`config.log' for more details." >&5
16677 echo "$as_me: error: cannot compute sizeof (void *), 77
16678 See \`config.log' for more details." >&2;}
16679 { (exit 1); exit 1; }; } ;;
16682 if test "$cross_compiling" = yes; then
16683 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16684 See \`config.log' for more details." >&5
16685 echo "$as_me: error: cannot run test program while cross compiling
16686 See \`config.log' for more details." >&2;}
16687 { (exit 1); exit 1; }; }
16689 cat >conftest.
$ac_ext <<_ACEOF
16692 cat confdefs.h
>>conftest.
$ac_ext
16693 cat >>conftest.
$ac_ext <<_ACEOF
16694 /* end confdefs.h. */
16695 $ac_includes_default
16696 long longval () { return (long) (sizeof (void *)); }
16697 unsigned long ulongval () { return (long) (sizeof (void *)); }
16699 #include <stdlib.h>
16704 FILE *f = fopen ("conftest.val", "w");
16707 if (((long) (sizeof (void *))) < 0)
16709 long i = longval ();
16710 if (i != ((long) (sizeof (void *))))
16712 fprintf (f, "%ld\n", i);
16716 unsigned long i = ulongval ();
16717 if (i != ((long) (sizeof (void *))))
16719 fprintf (f, "%lu\n", i);
16721 exit (ferror (f) || fclose (f) != 0);
16727 rm -f conftest
$ac_exeext
16728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16729 (eval $ac_link) 2>&5
16731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16732 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16734 (eval $ac_try) 2>&5
16736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16737 (exit $ac_status); }; }; then
16738 ac_cv_sizeof_void_p
=`cat conftest.val`
16740 echo "$as_me: program exited with status $ac_status" >&5
16741 echo "$as_me: failed program was:" >&5
16742 sed 's/^/| /' conftest.
$ac_ext >&5
16744 ( exit $ac_status )
16745 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16746 See \`config.log' for more details." >&5
16747 echo "$as_me: error: cannot compute sizeof (void *), 77
16748 See \`config.log' for more details." >&2;}
16749 { (exit 1); exit 1; }; }
16751 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16756 ac_cv_sizeof_void_p
=0
16759 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16760 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16761 cat >>confdefs.h
<<_ACEOF
16762 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16766 echo "$as_me:$LINENO: checking for int" >&5
16767 echo $ECHO_N "checking for int... $ECHO_C" >&6
16768 if test "${ac_cv_type_int+set}" = set; then
16769 echo $ECHO_N "(cached) $ECHO_C" >&6
16771 cat >conftest.
$ac_ext <<_ACEOF
16774 cat confdefs.h
>>conftest.
$ac_ext
16775 cat >>conftest.
$ac_ext <<_ACEOF
16776 /* end confdefs.h. */
16777 $ac_includes_default
16789 rm -f conftest.
$ac_objext
16790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16791 (eval $ac_compile) 2>conftest.er1
16793 grep -v '^ *+' conftest.er1
>conftest.err
16795 cat conftest.err
>&5
16796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16797 (exit $ac_status); } &&
16798 { ac_try
='test -z "$ac_c_werror_flag"
16799 || test ! -s conftest.err'
16800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16801 (eval $ac_try) 2>&5
16803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16804 (exit $ac_status); }; } &&
16805 { ac_try
='test -s conftest.$ac_objext'
16806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16807 (eval $ac_try) 2>&5
16809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16810 (exit $ac_status); }; }; then
16813 echo "$as_me: failed program was:" >&5
16814 sed 's/^/| /' conftest.
$ac_ext >&5
16818 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16820 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16821 echo "${ECHO_T}$ac_cv_type_int" >&6
16823 echo "$as_me:$LINENO: checking size of int" >&5
16824 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16825 if test "${ac_cv_sizeof_int+set}" = set; then
16826 echo $ECHO_N "(cached) $ECHO_C" >&6
16828 if test "$ac_cv_type_int" = yes; then
16829 # The cast to unsigned long works around a bug in the HP C Compiler
16830 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16831 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16832 # This bug is HP SR number 8606223364.
16833 if test "$cross_compiling" = yes; then
16834 # Depending upon the size, compute the lo and hi bounds.
16835 cat >conftest.
$ac_ext <<_ACEOF
16838 cat confdefs.h
>>conftest.
$ac_ext
16839 cat >>conftest.
$ac_ext <<_ACEOF
16840 /* end confdefs.h. */
16841 $ac_includes_default
16845 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16852 rm -f conftest.
$ac_objext
16853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16854 (eval $ac_compile) 2>conftest.er1
16856 grep -v '^ *+' conftest.er1
>conftest.err
16858 cat conftest.err
>&5
16859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16860 (exit $ac_status); } &&
16861 { ac_try
='test -z "$ac_c_werror_flag"
16862 || test ! -s conftest.err'
16863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16864 (eval $ac_try) 2>&5
16866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16867 (exit $ac_status); }; } &&
16868 { ac_try
='test -s conftest.$ac_objext'
16869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16870 (eval $ac_try) 2>&5
16872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16873 (exit $ac_status); }; }; then
16876 cat >conftest.
$ac_ext <<_ACEOF
16879 cat confdefs.h
>>conftest.
$ac_ext
16880 cat >>conftest.
$ac_ext <<_ACEOF
16881 /* end confdefs.h. */
16882 $ac_includes_default
16886 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16893 rm -f conftest.
$ac_objext
16894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16895 (eval $ac_compile) 2>conftest.er1
16897 grep -v '^ *+' conftest.er1
>conftest.err
16899 cat conftest.err
>&5
16900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16901 (exit $ac_status); } &&
16902 { ac_try
='test -z "$ac_c_werror_flag"
16903 || test ! -s conftest.err'
16904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16905 (eval $ac_try) 2>&5
16907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16908 (exit $ac_status); }; } &&
16909 { ac_try
='test -s conftest.$ac_objext'
16910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16911 (eval $ac_try) 2>&5
16913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16914 (exit $ac_status); }; }; then
16915 ac_hi
=$ac_mid; break
16917 echo "$as_me: failed program was:" >&5
16918 sed 's/^/| /' conftest.
$ac_ext >&5
16920 ac_lo
=`expr $ac_mid + 1`
16921 if test $ac_lo -le $ac_mid; then
16925 ac_mid
=`expr 2 '*' $ac_mid + 1`
16927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16930 echo "$as_me: failed program was:" >&5
16931 sed 's/^/| /' conftest.
$ac_ext >&5
16933 cat >conftest.
$ac_ext <<_ACEOF
16936 cat confdefs.h
>>conftest.
$ac_ext
16937 cat >>conftest.
$ac_ext <<_ACEOF
16938 /* end confdefs.h. */
16939 $ac_includes_default
16943 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16950 rm -f conftest.
$ac_objext
16951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16952 (eval $ac_compile) 2>conftest.er1
16954 grep -v '^ *+' conftest.er1
>conftest.err
16956 cat conftest.err
>&5
16957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16958 (exit $ac_status); } &&
16959 { ac_try
='test -z "$ac_c_werror_flag"
16960 || test ! -s conftest.err'
16961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16962 (eval $ac_try) 2>&5
16964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16965 (exit $ac_status); }; } &&
16966 { ac_try
='test -s conftest.$ac_objext'
16967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16968 (eval $ac_try) 2>&5
16970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16971 (exit $ac_status); }; }; then
16974 cat >conftest.
$ac_ext <<_ACEOF
16977 cat confdefs.h
>>conftest.
$ac_ext
16978 cat >>conftest.
$ac_ext <<_ACEOF
16979 /* end confdefs.h. */
16980 $ac_includes_default
16984 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16991 rm -f conftest.
$ac_objext
16992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16993 (eval $ac_compile) 2>conftest.er1
16995 grep -v '^ *+' conftest.er1
>conftest.err
16997 cat conftest.err
>&5
16998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16999 (exit $ac_status); } &&
17000 { ac_try
='test -z "$ac_c_werror_flag"
17001 || test ! -s conftest.err'
17002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17003 (eval $ac_try) 2>&5
17005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006 (exit $ac_status); }; } &&
17007 { ac_try
='test -s conftest.$ac_objext'
17008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17009 (eval $ac_try) 2>&5
17011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17012 (exit $ac_status); }; }; then
17013 ac_lo
=$ac_mid; break
17015 echo "$as_me: failed program was:" >&5
17016 sed 's/^/| /' conftest.
$ac_ext >&5
17018 ac_hi
=`expr '(' $ac_mid ')' - 1`
17019 if test $ac_mid -le $ac_hi; then
17023 ac_mid
=`expr 2 '*' $ac_mid`
17025 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17028 echo "$as_me: failed program was:" >&5
17029 sed 's/^/| /' conftest.
$ac_ext >&5
17033 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17036 # Binary search between lo and hi bounds.
17037 while test "x$ac_lo" != "x$ac_hi"; do
17038 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17039 cat >conftest.
$ac_ext <<_ACEOF
17042 cat confdefs.h
>>conftest.
$ac_ext
17043 cat >>conftest.
$ac_ext <<_ACEOF
17044 /* end confdefs.h. */
17045 $ac_includes_default
17049 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17056 rm -f conftest.
$ac_objext
17057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17058 (eval $ac_compile) 2>conftest.er1
17060 grep -v '^ *+' conftest.er1
>conftest.err
17062 cat conftest.err
>&5
17063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17064 (exit $ac_status); } &&
17065 { ac_try
='test -z "$ac_c_werror_flag"
17066 || test ! -s conftest.err'
17067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17068 (eval $ac_try) 2>&5
17070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17071 (exit $ac_status); }; } &&
17072 { ac_try
='test -s conftest.$ac_objext'
17073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17074 (eval $ac_try) 2>&5
17076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17077 (exit $ac_status); }; }; then
17080 echo "$as_me: failed program was:" >&5
17081 sed 's/^/| /' conftest.
$ac_ext >&5
17083 ac_lo
=`expr '(' $ac_mid ')' + 1`
17085 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17088 ?
*) ac_cv_sizeof_int
=$ac_lo;;
17089 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17090 See \`config.log' for more details." >&5
17091 echo "$as_me: error: cannot compute sizeof (int), 77
17092 See \`config.log' for more details." >&2;}
17093 { (exit 1); exit 1; }; } ;;
17096 if test "$cross_compiling" = yes; then
17097 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17098 See \`config.log' for more details." >&5
17099 echo "$as_me: error: cannot run test program while cross compiling
17100 See \`config.log' for more details." >&2;}
17101 { (exit 1); exit 1; }; }
17103 cat >conftest.
$ac_ext <<_ACEOF
17106 cat confdefs.h
>>conftest.
$ac_ext
17107 cat >>conftest.
$ac_ext <<_ACEOF
17108 /* end confdefs.h. */
17109 $ac_includes_default
17110 long longval () { return (long) (sizeof (int)); }
17111 unsigned long ulongval () { return (long) (sizeof (int)); }
17113 #include <stdlib.h>
17118 FILE *f = fopen ("conftest.val", "w");
17121 if (((long) (sizeof (int))) < 0)
17123 long i = longval ();
17124 if (i != ((long) (sizeof (int))))
17126 fprintf (f, "%ld\n", i);
17130 unsigned long i = ulongval ();
17131 if (i != ((long) (sizeof (int))))
17133 fprintf (f, "%lu\n", i);
17135 exit (ferror (f) || fclose (f) != 0);
17141 rm -f conftest
$ac_exeext
17142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17143 (eval $ac_link) 2>&5
17145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17146 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17148 (eval $ac_try) 2>&5
17150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17151 (exit $ac_status); }; }; then
17152 ac_cv_sizeof_int
=`cat conftest.val`
17154 echo "$as_me: program exited with status $ac_status" >&5
17155 echo "$as_me: failed program was:" >&5
17156 sed 's/^/| /' conftest.
$ac_ext >&5
17158 ( exit $ac_status )
17159 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17160 See \`config.log' for more details." >&5
17161 echo "$as_me: error: cannot compute sizeof (int), 77
17162 See \`config.log' for more details." >&2;}
17163 { (exit 1); exit 1; }; }
17165 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17173 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17174 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17175 cat >>confdefs.h
<<_ACEOF
17176 #define SIZEOF_INT $ac_cv_sizeof_int
17180 echo "$as_me:$LINENO: checking for long" >&5
17181 echo $ECHO_N "checking for long... $ECHO_C" >&6
17182 if test "${ac_cv_type_long+set}" = set; then
17183 echo $ECHO_N "(cached) $ECHO_C" >&6
17185 cat >conftest.
$ac_ext <<_ACEOF
17188 cat confdefs.h
>>conftest.
$ac_ext
17189 cat >>conftest.
$ac_ext <<_ACEOF
17190 /* end confdefs.h. */
17191 $ac_includes_default
17203 rm -f conftest.
$ac_objext
17204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17205 (eval $ac_compile) 2>conftest.er1
17207 grep -v '^ *+' conftest.er1
>conftest.err
17209 cat conftest.err
>&5
17210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17211 (exit $ac_status); } &&
17212 { ac_try
='test -z "$ac_c_werror_flag"
17213 || test ! -s conftest.err'
17214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17215 (eval $ac_try) 2>&5
17217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17218 (exit $ac_status); }; } &&
17219 { ac_try
='test -s conftest.$ac_objext'
17220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17221 (eval $ac_try) 2>&5
17223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17224 (exit $ac_status); }; }; then
17225 ac_cv_type_long
=yes
17227 echo "$as_me: failed program was:" >&5
17228 sed 's/^/| /' conftest.
$ac_ext >&5
17232 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17234 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17235 echo "${ECHO_T}$ac_cv_type_long" >&6
17237 echo "$as_me:$LINENO: checking size of long" >&5
17238 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17239 if test "${ac_cv_sizeof_long+set}" = set; then
17240 echo $ECHO_N "(cached) $ECHO_C" >&6
17242 if test "$ac_cv_type_long" = yes; then
17243 # The cast to unsigned long works around a bug in the HP C Compiler
17244 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17245 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17246 # This bug is HP SR number 8606223364.
17247 if test "$cross_compiling" = yes; then
17248 # Depending upon the size, compute the lo and hi bounds.
17249 cat >conftest.
$ac_ext <<_ACEOF
17252 cat confdefs.h
>>conftest.
$ac_ext
17253 cat >>conftest.
$ac_ext <<_ACEOF
17254 /* end confdefs.h. */
17255 $ac_includes_default
17259 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17266 rm -f conftest.
$ac_objext
17267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17268 (eval $ac_compile) 2>conftest.er1
17270 grep -v '^ *+' conftest.er1
>conftest.err
17272 cat conftest.err
>&5
17273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17274 (exit $ac_status); } &&
17275 { ac_try
='test -z "$ac_c_werror_flag"
17276 || test ! -s conftest.err'
17277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17278 (eval $ac_try) 2>&5
17280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17281 (exit $ac_status); }; } &&
17282 { ac_try
='test -s conftest.$ac_objext'
17283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17284 (eval $ac_try) 2>&5
17286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17287 (exit $ac_status); }; }; then
17290 cat >conftest.
$ac_ext <<_ACEOF
17293 cat confdefs.h
>>conftest.
$ac_ext
17294 cat >>conftest.
$ac_ext <<_ACEOF
17295 /* end confdefs.h. */
17296 $ac_includes_default
17300 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17307 rm -f conftest.
$ac_objext
17308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17309 (eval $ac_compile) 2>conftest.er1
17311 grep -v '^ *+' conftest.er1
>conftest.err
17313 cat conftest.err
>&5
17314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17315 (exit $ac_status); } &&
17316 { ac_try
='test -z "$ac_c_werror_flag"
17317 || test ! -s conftest.err'
17318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17319 (eval $ac_try) 2>&5
17321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17322 (exit $ac_status); }; } &&
17323 { ac_try
='test -s conftest.$ac_objext'
17324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17325 (eval $ac_try) 2>&5
17327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17328 (exit $ac_status); }; }; then
17329 ac_hi
=$ac_mid; break
17331 echo "$as_me: failed program was:" >&5
17332 sed 's/^/| /' conftest.
$ac_ext >&5
17334 ac_lo
=`expr $ac_mid + 1`
17335 if test $ac_lo -le $ac_mid; then
17339 ac_mid
=`expr 2 '*' $ac_mid + 1`
17341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17344 echo "$as_me: failed program was:" >&5
17345 sed 's/^/| /' conftest.
$ac_ext >&5
17347 cat >conftest.
$ac_ext <<_ACEOF
17350 cat confdefs.h
>>conftest.
$ac_ext
17351 cat >>conftest.
$ac_ext <<_ACEOF
17352 /* end confdefs.h. */
17353 $ac_includes_default
17357 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17364 rm -f conftest.
$ac_objext
17365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17366 (eval $ac_compile) 2>conftest.er1
17368 grep -v '^ *+' conftest.er1
>conftest.err
17370 cat conftest.err
>&5
17371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17372 (exit $ac_status); } &&
17373 { ac_try
='test -z "$ac_c_werror_flag"
17374 || test ! -s conftest.err'
17375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17376 (eval $ac_try) 2>&5
17378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17379 (exit $ac_status); }; } &&
17380 { ac_try
='test -s conftest.$ac_objext'
17381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17382 (eval $ac_try) 2>&5
17384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17385 (exit $ac_status); }; }; then
17388 cat >conftest.
$ac_ext <<_ACEOF
17391 cat confdefs.h
>>conftest.
$ac_ext
17392 cat >>conftest.
$ac_ext <<_ACEOF
17393 /* end confdefs.h. */
17394 $ac_includes_default
17398 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17405 rm -f conftest.
$ac_objext
17406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17407 (eval $ac_compile) 2>conftest.er1
17409 grep -v '^ *+' conftest.er1
>conftest.err
17411 cat conftest.err
>&5
17412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17413 (exit $ac_status); } &&
17414 { ac_try
='test -z "$ac_c_werror_flag"
17415 || test ! -s conftest.err'
17416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17417 (eval $ac_try) 2>&5
17419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17420 (exit $ac_status); }; } &&
17421 { ac_try
='test -s conftest.$ac_objext'
17422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17423 (eval $ac_try) 2>&5
17425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17426 (exit $ac_status); }; }; then
17427 ac_lo
=$ac_mid; break
17429 echo "$as_me: failed program was:" >&5
17430 sed 's/^/| /' conftest.
$ac_ext >&5
17432 ac_hi
=`expr '(' $ac_mid ')' - 1`
17433 if test $ac_mid -le $ac_hi; then
17437 ac_mid
=`expr 2 '*' $ac_mid`
17439 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17442 echo "$as_me: failed program was:" >&5
17443 sed 's/^/| /' conftest.
$ac_ext >&5
17447 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17449 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17450 # Binary search between lo and hi bounds.
17451 while test "x$ac_lo" != "x$ac_hi"; do
17452 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17453 cat >conftest.
$ac_ext <<_ACEOF
17456 cat confdefs.h
>>conftest.
$ac_ext
17457 cat >>conftest.
$ac_ext <<_ACEOF
17458 /* end confdefs.h. */
17459 $ac_includes_default
17463 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17470 rm -f conftest.
$ac_objext
17471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17472 (eval $ac_compile) 2>conftest.er1
17474 grep -v '^ *+' conftest.er1
>conftest.err
17476 cat conftest.err
>&5
17477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17478 (exit $ac_status); } &&
17479 { ac_try
='test -z "$ac_c_werror_flag"
17480 || test ! -s conftest.err'
17481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17482 (eval $ac_try) 2>&5
17484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17485 (exit $ac_status); }; } &&
17486 { ac_try
='test -s conftest.$ac_objext'
17487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17488 (eval $ac_try) 2>&5
17490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17491 (exit $ac_status); }; }; then
17494 echo "$as_me: failed program was:" >&5
17495 sed 's/^/| /' conftest.
$ac_ext >&5
17497 ac_lo
=`expr '(' $ac_mid ')' + 1`
17499 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17502 ?
*) ac_cv_sizeof_long
=$ac_lo;;
17503 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17504 See \`config.log' for more details." >&5
17505 echo "$as_me: error: cannot compute sizeof (long), 77
17506 See \`config.log' for more details." >&2;}
17507 { (exit 1); exit 1; }; } ;;
17510 if test "$cross_compiling" = yes; then
17511 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17512 See \`config.log' for more details." >&5
17513 echo "$as_me: error: cannot run test program while cross compiling
17514 See \`config.log' for more details." >&2;}
17515 { (exit 1); exit 1; }; }
17517 cat >conftest.
$ac_ext <<_ACEOF
17520 cat confdefs.h
>>conftest.
$ac_ext
17521 cat >>conftest.
$ac_ext <<_ACEOF
17522 /* end confdefs.h. */
17523 $ac_includes_default
17524 long longval () { return (long) (sizeof (long)); }
17525 unsigned long ulongval () { return (long) (sizeof (long)); }
17527 #include <stdlib.h>
17532 FILE *f = fopen ("conftest.val", "w");
17535 if (((long) (sizeof (long))) < 0)
17537 long i = longval ();
17538 if (i != ((long) (sizeof (long))))
17540 fprintf (f, "%ld\n", i);
17544 unsigned long i = ulongval ();
17545 if (i != ((long) (sizeof (long))))
17547 fprintf (f, "%lu\n", i);
17549 exit (ferror (f) || fclose (f) != 0);
17555 rm -f conftest
$ac_exeext
17556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17557 (eval $ac_link) 2>&5
17559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17560 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17562 (eval $ac_try) 2>&5
17564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17565 (exit $ac_status); }; }; then
17566 ac_cv_sizeof_long
=`cat conftest.val`
17568 echo "$as_me: program exited with status $ac_status" >&5
17569 echo "$as_me: failed program was:" >&5
17570 sed 's/^/| /' conftest.
$ac_ext >&5
17572 ( exit $ac_status )
17573 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17574 See \`config.log' for more details." >&5
17575 echo "$as_me: error: cannot compute sizeof (long), 77
17576 See \`config.log' for more details." >&2;}
17577 { (exit 1); exit 1; }; }
17579 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17584 ac_cv_sizeof_long
=0
17587 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17588 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17589 cat >>confdefs.h
<<_ACEOF
17590 #define SIZEOF_LONG $ac_cv_sizeof_long
17594 echo "$as_me:$LINENO: checking for size_t" >&5
17595 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17596 if test "${ac_cv_type_size_t+set}" = set; then
17597 echo $ECHO_N "(cached) $ECHO_C" >&6
17599 cat >conftest.
$ac_ext <<_ACEOF
17602 cat confdefs.h
>>conftest.
$ac_ext
17603 cat >>conftest.
$ac_ext <<_ACEOF
17604 /* end confdefs.h. */
17605 $ac_includes_default
17611 if (sizeof (size_t))
17617 rm -f conftest.
$ac_objext
17618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17619 (eval $ac_compile) 2>conftest.er1
17621 grep -v '^ *+' conftest.er1
>conftest.err
17623 cat conftest.err
>&5
17624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17625 (exit $ac_status); } &&
17626 { ac_try
='test -z "$ac_c_werror_flag"
17627 || test ! -s conftest.err'
17628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17629 (eval $ac_try) 2>&5
17631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17632 (exit $ac_status); }; } &&
17633 { ac_try
='test -s conftest.$ac_objext'
17634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17635 (eval $ac_try) 2>&5
17637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17638 (exit $ac_status); }; }; then
17639 ac_cv_type_size_t
=yes
17641 echo "$as_me: failed program was:" >&5
17642 sed 's/^/| /' conftest.
$ac_ext >&5
17644 ac_cv_type_size_t
=no
17646 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17648 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17649 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17651 echo "$as_me:$LINENO: checking size of size_t" >&5
17652 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
17653 if test "${ac_cv_sizeof_size_t+set}" = set; then
17654 echo $ECHO_N "(cached) $ECHO_C" >&6
17656 if test "$ac_cv_type_size_t" = yes; then
17657 # The cast to unsigned long works around a bug in the HP C Compiler
17658 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17659 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17660 # This bug is HP SR number 8606223364.
17661 if test "$cross_compiling" = yes; then
17662 # Depending upon the size, compute the lo and hi bounds.
17663 cat >conftest.
$ac_ext <<_ACEOF
17666 cat confdefs.h
>>conftest.
$ac_ext
17667 cat >>conftest.
$ac_ext <<_ACEOF
17668 /* end confdefs.h. */
17669 $ac_includes_default
17673 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
17680 rm -f conftest.
$ac_objext
17681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17682 (eval $ac_compile) 2>conftest.er1
17684 grep -v '^ *+' conftest.er1
>conftest.err
17686 cat conftest.err
>&5
17687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17688 (exit $ac_status); } &&
17689 { ac_try
='test -z "$ac_c_werror_flag"
17690 || test ! -s conftest.err'
17691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17692 (eval $ac_try) 2>&5
17694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17695 (exit $ac_status); }; } &&
17696 { ac_try
='test -s conftest.$ac_objext'
17697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17698 (eval $ac_try) 2>&5
17700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17701 (exit $ac_status); }; }; then
17704 cat >conftest.
$ac_ext <<_ACEOF
17707 cat confdefs.h
>>conftest.
$ac_ext
17708 cat >>conftest.
$ac_ext <<_ACEOF
17709 /* end confdefs.h. */
17710 $ac_includes_default
17714 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17721 rm -f conftest.
$ac_objext
17722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17723 (eval $ac_compile) 2>conftest.er1
17725 grep -v '^ *+' conftest.er1
>conftest.err
17727 cat conftest.err
>&5
17728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17729 (exit $ac_status); } &&
17730 { ac_try
='test -z "$ac_c_werror_flag"
17731 || test ! -s conftest.err'
17732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17733 (eval $ac_try) 2>&5
17735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17736 (exit $ac_status); }; } &&
17737 { ac_try
='test -s conftest.$ac_objext'
17738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17739 (eval $ac_try) 2>&5
17741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17742 (exit $ac_status); }; }; then
17743 ac_hi
=$ac_mid; break
17745 echo "$as_me: failed program was:" >&5
17746 sed 's/^/| /' conftest.
$ac_ext >&5
17748 ac_lo
=`expr $ac_mid + 1`
17749 if test $ac_lo -le $ac_mid; then
17753 ac_mid
=`expr 2 '*' $ac_mid + 1`
17755 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17758 echo "$as_me: failed program was:" >&5
17759 sed 's/^/| /' conftest.
$ac_ext >&5
17761 cat >conftest.
$ac_ext <<_ACEOF
17764 cat confdefs.h
>>conftest.
$ac_ext
17765 cat >>conftest.
$ac_ext <<_ACEOF
17766 /* end confdefs.h. */
17767 $ac_includes_default
17771 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
17778 rm -f conftest.
$ac_objext
17779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17780 (eval $ac_compile) 2>conftest.er1
17782 grep -v '^ *+' conftest.er1
>conftest.err
17784 cat conftest.err
>&5
17785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17786 (exit $ac_status); } &&
17787 { ac_try
='test -z "$ac_c_werror_flag"
17788 || test ! -s conftest.err'
17789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17790 (eval $ac_try) 2>&5
17792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17793 (exit $ac_status); }; } &&
17794 { ac_try
='test -s conftest.$ac_objext'
17795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17796 (eval $ac_try) 2>&5
17798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17799 (exit $ac_status); }; }; then
17802 cat >conftest.
$ac_ext <<_ACEOF
17805 cat confdefs.h
>>conftest.
$ac_ext
17806 cat >>conftest.
$ac_ext <<_ACEOF
17807 /* end confdefs.h. */
17808 $ac_includes_default
17812 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17819 rm -f conftest.
$ac_objext
17820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17821 (eval $ac_compile) 2>conftest.er1
17823 grep -v '^ *+' conftest.er1
>conftest.err
17825 cat conftest.err
>&5
17826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17827 (exit $ac_status); } &&
17828 { ac_try
='test -z "$ac_c_werror_flag"
17829 || test ! -s conftest.err'
17830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17831 (eval $ac_try) 2>&5
17833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17834 (exit $ac_status); }; } &&
17835 { ac_try
='test -s conftest.$ac_objext'
17836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17837 (eval $ac_try) 2>&5
17839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17840 (exit $ac_status); }; }; then
17841 ac_lo
=$ac_mid; break
17843 echo "$as_me: failed program was:" >&5
17844 sed 's/^/| /' conftest.
$ac_ext >&5
17846 ac_hi
=`expr '(' $ac_mid ')' - 1`
17847 if test $ac_mid -le $ac_hi; then
17851 ac_mid
=`expr 2 '*' $ac_mid`
17853 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17856 echo "$as_me: failed program was:" >&5
17857 sed 's/^/| /' conftest.
$ac_ext >&5
17861 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17863 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17864 # Binary search between lo and hi bounds.
17865 while test "x$ac_lo" != "x$ac_hi"; do
17866 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17867 cat >conftest.
$ac_ext <<_ACEOF
17870 cat confdefs.h
>>conftest.
$ac_ext
17871 cat >>conftest.
$ac_ext <<_ACEOF
17872 /* end confdefs.h. */
17873 $ac_includes_default
17877 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17884 rm -f conftest.
$ac_objext
17885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17886 (eval $ac_compile) 2>conftest.er1
17888 grep -v '^ *+' conftest.er1
>conftest.err
17890 cat conftest.err
>&5
17891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17892 (exit $ac_status); } &&
17893 { ac_try
='test -z "$ac_c_werror_flag"
17894 || test ! -s conftest.err'
17895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17896 (eval $ac_try) 2>&5
17898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17899 (exit $ac_status); }; } &&
17900 { ac_try
='test -s conftest.$ac_objext'
17901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17902 (eval $ac_try) 2>&5
17904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17905 (exit $ac_status); }; }; then
17908 echo "$as_me: failed program was:" >&5
17909 sed 's/^/| /' conftest.
$ac_ext >&5
17911 ac_lo
=`expr '(' $ac_mid ')' + 1`
17913 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17916 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
17917 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17918 See \`config.log' for more details." >&5
17919 echo "$as_me: error: cannot compute sizeof (size_t), 77
17920 See \`config.log' for more details." >&2;}
17921 { (exit 1); exit 1; }; } ;;
17924 if test "$cross_compiling" = yes; then
17925 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17926 See \`config.log' for more details." >&5
17927 echo "$as_me: error: cannot run test program while cross compiling
17928 See \`config.log' for more details." >&2;}
17929 { (exit 1); exit 1; }; }
17931 cat >conftest.
$ac_ext <<_ACEOF
17934 cat confdefs.h
>>conftest.
$ac_ext
17935 cat >>conftest.
$ac_ext <<_ACEOF
17936 /* end confdefs.h. */
17937 $ac_includes_default
17938 long longval () { return (long) (sizeof (size_t)); }
17939 unsigned long ulongval () { return (long) (sizeof (size_t)); }
17941 #include <stdlib.h>
17946 FILE *f = fopen ("conftest.val", "w");
17949 if (((long) (sizeof (size_t))) < 0)
17951 long i = longval ();
17952 if (i != ((long) (sizeof (size_t))))
17954 fprintf (f, "%ld\n", i);
17958 unsigned long i = ulongval ();
17959 if (i != ((long) (sizeof (size_t))))
17961 fprintf (f, "%lu\n", i);
17963 exit (ferror (f) || fclose (f) != 0);
17969 rm -f conftest
$ac_exeext
17970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17971 (eval $ac_link) 2>&5
17973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17974 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17976 (eval $ac_try) 2>&5
17978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17979 (exit $ac_status); }; }; then
17980 ac_cv_sizeof_size_t
=`cat conftest.val`
17982 echo "$as_me: program exited with status $ac_status" >&5
17983 echo "$as_me: failed program was:" >&5
17984 sed 's/^/| /' conftest.
$ac_ext >&5
17986 ( exit $ac_status )
17987 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17988 See \`config.log' for more details." >&5
17989 echo "$as_me: error: cannot compute sizeof (size_t), 77
17990 See \`config.log' for more details." >&2;}
17991 { (exit 1); exit 1; }; }
17993 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17998 ac_cv_sizeof_size_t
=0
18001 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
18002 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
18003 cat >>confdefs.h
<<_ACEOF
18004 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
18011 echo "$as_me:$LINENO: checking for long long" >&5
18012 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18013 if test "${ac_cv_type_long_long+set}" = set; then
18014 echo $ECHO_N "(cached) $ECHO_C" >&6
18016 cat >conftest.
$ac_ext <<_ACEOF
18019 cat confdefs.h
>>conftest.
$ac_ext
18020 cat >>conftest.
$ac_ext <<_ACEOF
18021 /* end confdefs.h. */
18022 $ac_includes_default
18026 if ((long long *) 0)
18028 if (sizeof (long long))
18034 rm -f conftest.
$ac_objext
18035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18036 (eval $ac_compile) 2>conftest.er1
18038 grep -v '^ *+' conftest.er1
>conftest.err
18040 cat conftest.err
>&5
18041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18042 (exit $ac_status); } &&
18043 { ac_try
='test -z "$ac_c_werror_flag"
18044 || test ! -s conftest.err'
18045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18046 (eval $ac_try) 2>&5
18048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18049 (exit $ac_status); }; } &&
18050 { ac_try
='test -s conftest.$ac_objext'
18051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18052 (eval $ac_try) 2>&5
18054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18055 (exit $ac_status); }; }; then
18056 ac_cv_type_long_long
=yes
18058 echo "$as_me: failed program was:" >&5
18059 sed 's/^/| /' conftest.
$ac_ext >&5
18061 ac_cv_type_long_long
=no
18063 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18065 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18066 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18068 echo "$as_me:$LINENO: checking size of long long" >&5
18069 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18070 if test "${ac_cv_sizeof_long_long+set}" = set; then
18071 echo $ECHO_N "(cached) $ECHO_C" >&6
18073 if test "$ac_cv_type_long_long" = yes; then
18074 # The cast to unsigned long works around a bug in the HP C Compiler
18075 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18076 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18077 # This bug is HP SR number 8606223364.
18078 if test "$cross_compiling" = yes; then
18079 # Depending upon the size, compute the lo and hi bounds.
18080 cat >conftest.
$ac_ext <<_ACEOF
18083 cat confdefs.h
>>conftest.
$ac_ext
18084 cat >>conftest.
$ac_ext <<_ACEOF
18085 /* end confdefs.h. */
18086 $ac_includes_default
18090 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18097 rm -f conftest.
$ac_objext
18098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18099 (eval $ac_compile) 2>conftest.er1
18101 grep -v '^ *+' conftest.er1
>conftest.err
18103 cat conftest.err
>&5
18104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18105 (exit $ac_status); } &&
18106 { ac_try
='test -z "$ac_c_werror_flag"
18107 || test ! -s conftest.err'
18108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18109 (eval $ac_try) 2>&5
18111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18112 (exit $ac_status); }; } &&
18113 { ac_try
='test -s conftest.$ac_objext'
18114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18115 (eval $ac_try) 2>&5
18117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18118 (exit $ac_status); }; }; then
18121 cat >conftest.
$ac_ext <<_ACEOF
18124 cat confdefs.h
>>conftest.
$ac_ext
18125 cat >>conftest.
$ac_ext <<_ACEOF
18126 /* end confdefs.h. */
18127 $ac_includes_default
18131 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18138 rm -f conftest.
$ac_objext
18139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18140 (eval $ac_compile) 2>conftest.er1
18142 grep -v '^ *+' conftest.er1
>conftest.err
18144 cat conftest.err
>&5
18145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18146 (exit $ac_status); } &&
18147 { ac_try
='test -z "$ac_c_werror_flag"
18148 || test ! -s conftest.err'
18149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18150 (eval $ac_try) 2>&5
18152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18153 (exit $ac_status); }; } &&
18154 { ac_try
='test -s conftest.$ac_objext'
18155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18156 (eval $ac_try) 2>&5
18158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18159 (exit $ac_status); }; }; then
18160 ac_hi
=$ac_mid; break
18162 echo "$as_me: failed program was:" >&5
18163 sed 's/^/| /' conftest.
$ac_ext >&5
18165 ac_lo
=`expr $ac_mid + 1`
18166 if test $ac_lo -le $ac_mid; then
18170 ac_mid
=`expr 2 '*' $ac_mid + 1`
18172 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18175 echo "$as_me: failed program was:" >&5
18176 sed 's/^/| /' conftest.
$ac_ext >&5
18178 cat >conftest.
$ac_ext <<_ACEOF
18181 cat confdefs.h
>>conftest.
$ac_ext
18182 cat >>conftest.
$ac_ext <<_ACEOF
18183 /* end confdefs.h. */
18184 $ac_includes_default
18188 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18195 rm -f conftest.
$ac_objext
18196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18197 (eval $ac_compile) 2>conftest.er1
18199 grep -v '^ *+' conftest.er1
>conftest.err
18201 cat conftest.err
>&5
18202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18203 (exit $ac_status); } &&
18204 { ac_try
='test -z "$ac_c_werror_flag"
18205 || test ! -s conftest.err'
18206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18207 (eval $ac_try) 2>&5
18209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18210 (exit $ac_status); }; } &&
18211 { ac_try
='test -s conftest.$ac_objext'
18212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18213 (eval $ac_try) 2>&5
18215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216 (exit $ac_status); }; }; then
18219 cat >conftest.
$ac_ext <<_ACEOF
18222 cat confdefs.h
>>conftest.
$ac_ext
18223 cat >>conftest.
$ac_ext <<_ACEOF
18224 /* end confdefs.h. */
18225 $ac_includes_default
18229 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18236 rm -f conftest.
$ac_objext
18237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18238 (eval $ac_compile) 2>conftest.er1
18240 grep -v '^ *+' conftest.er1
>conftest.err
18242 cat conftest.err
>&5
18243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18244 (exit $ac_status); } &&
18245 { ac_try
='test -z "$ac_c_werror_flag"
18246 || test ! -s conftest.err'
18247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18248 (eval $ac_try) 2>&5
18250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18251 (exit $ac_status); }; } &&
18252 { ac_try
='test -s conftest.$ac_objext'
18253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18254 (eval $ac_try) 2>&5
18256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18257 (exit $ac_status); }; }; then
18258 ac_lo
=$ac_mid; break
18260 echo "$as_me: failed program was:" >&5
18261 sed 's/^/| /' conftest.
$ac_ext >&5
18263 ac_hi
=`expr '(' $ac_mid ')' - 1`
18264 if test $ac_mid -le $ac_hi; then
18268 ac_mid
=`expr 2 '*' $ac_mid`
18270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18273 echo "$as_me: failed program was:" >&5
18274 sed 's/^/| /' conftest.
$ac_ext >&5
18278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18280 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18281 # Binary search between lo and hi bounds.
18282 while test "x$ac_lo" != "x$ac_hi"; do
18283 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18284 cat >conftest.
$ac_ext <<_ACEOF
18287 cat confdefs.h
>>conftest.
$ac_ext
18288 cat >>conftest.
$ac_ext <<_ACEOF
18289 /* end confdefs.h. */
18290 $ac_includes_default
18294 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18301 rm -f conftest.
$ac_objext
18302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18303 (eval $ac_compile) 2>conftest.er1
18305 grep -v '^ *+' conftest.er1
>conftest.err
18307 cat conftest.err
>&5
18308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18309 (exit $ac_status); } &&
18310 { ac_try
='test -z "$ac_c_werror_flag"
18311 || test ! -s conftest.err'
18312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18313 (eval $ac_try) 2>&5
18315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18316 (exit $ac_status); }; } &&
18317 { ac_try
='test -s conftest.$ac_objext'
18318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18319 (eval $ac_try) 2>&5
18321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18322 (exit $ac_status); }; }; then
18325 echo "$as_me: failed program was:" >&5
18326 sed 's/^/| /' conftest.
$ac_ext >&5
18328 ac_lo
=`expr '(' $ac_mid ')' + 1`
18330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18333 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18334 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18335 See \`config.log' for more details." >&5
18336 echo "$as_me: error: cannot compute sizeof (long long), 77
18337 See \`config.log' for more details." >&2;}
18338 { (exit 1); exit 1; }; } ;;
18341 if test "$cross_compiling" = yes; then
18342 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18343 See \`config.log' for more details." >&5
18344 echo "$as_me: error: cannot run test program while cross compiling
18345 See \`config.log' for more details." >&2;}
18346 { (exit 1); exit 1; }; }
18348 cat >conftest.
$ac_ext <<_ACEOF
18351 cat confdefs.h
>>conftest.
$ac_ext
18352 cat >>conftest.
$ac_ext <<_ACEOF
18353 /* end confdefs.h. */
18354 $ac_includes_default
18355 long longval () { return (long) (sizeof (long long)); }
18356 unsigned long ulongval () { return (long) (sizeof (long long)); }
18358 #include <stdlib.h>
18363 FILE *f = fopen ("conftest.val", "w");
18366 if (((long) (sizeof (long long))) < 0)
18368 long i = longval ();
18369 if (i != ((long) (sizeof (long long))))
18371 fprintf (f, "%ld\n", i);
18375 unsigned long i = ulongval ();
18376 if (i != ((long) (sizeof (long long))))
18378 fprintf (f, "%lu\n", i);
18380 exit (ferror (f) || fclose (f) != 0);
18386 rm -f conftest
$ac_exeext
18387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18388 (eval $ac_link) 2>&5
18390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18391 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18393 (eval $ac_try) 2>&5
18395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18396 (exit $ac_status); }; }; then
18397 ac_cv_sizeof_long_long
=`cat conftest.val`
18399 echo "$as_me: program exited with status $ac_status" >&5
18400 echo "$as_me: failed program was:" >&5
18401 sed 's/^/| /' conftest.
$ac_ext >&5
18403 ( exit $ac_status )
18404 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18405 See \`config.log' for more details." >&5
18406 echo "$as_me: error: cannot compute sizeof (long long), 77
18407 See \`config.log' for more details." >&2;}
18408 { (exit 1); exit 1; }; }
18410 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18415 ac_cv_sizeof_long_long
=0
18418 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18419 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18420 cat >>confdefs.h
<<_ACEOF
18421 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18427 echo "$as_me:$LINENO: checking for long long" >&5
18428 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18429 if test "${ac_cv_type_long_long+set}" = set; then
18430 echo $ECHO_N "(cached) $ECHO_C" >&6
18432 cat >conftest.
$ac_ext <<_ACEOF
18435 cat confdefs.h
>>conftest.
$ac_ext
18436 cat >>conftest.
$ac_ext <<_ACEOF
18437 /* end confdefs.h. */
18438 $ac_includes_default
18442 if ((long long *) 0)
18444 if (sizeof (long long))
18450 rm -f conftest.
$ac_objext
18451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18452 (eval $ac_compile) 2>conftest.er1
18454 grep -v '^ *+' conftest.er1
>conftest.err
18456 cat conftest.err
>&5
18457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18458 (exit $ac_status); } &&
18459 { ac_try
='test -z "$ac_c_werror_flag"
18460 || test ! -s conftest.err'
18461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18462 (eval $ac_try) 2>&5
18464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18465 (exit $ac_status); }; } &&
18466 { ac_try
='test -s conftest.$ac_objext'
18467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18468 (eval $ac_try) 2>&5
18470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18471 (exit $ac_status); }; }; then
18472 ac_cv_type_long_long
=yes
18474 echo "$as_me: failed program was:" >&5
18475 sed 's/^/| /' conftest.
$ac_ext >&5
18477 ac_cv_type_long_long
=no
18479 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18481 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18482 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18484 echo "$as_me:$LINENO: checking size of long long" >&5
18485 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18486 if test "${ac_cv_sizeof_long_long+set}" = set; then
18487 echo $ECHO_N "(cached) $ECHO_C" >&6
18489 if test "$ac_cv_type_long_long" = yes; then
18490 # The cast to unsigned long works around a bug in the HP C Compiler
18491 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18492 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18493 # This bug is HP SR number 8606223364.
18494 if test "$cross_compiling" = yes; then
18495 # Depending upon the size, compute the lo and hi bounds.
18496 cat >conftest.
$ac_ext <<_ACEOF
18499 cat confdefs.h
>>conftest.
$ac_ext
18500 cat >>conftest.
$ac_ext <<_ACEOF
18501 /* end confdefs.h. */
18502 $ac_includes_default
18506 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18513 rm -f conftest.
$ac_objext
18514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18515 (eval $ac_compile) 2>conftest.er1
18517 grep -v '^ *+' conftest.er1
>conftest.err
18519 cat conftest.err
>&5
18520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18521 (exit $ac_status); } &&
18522 { ac_try
='test -z "$ac_c_werror_flag"
18523 || test ! -s conftest.err'
18524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18525 (eval $ac_try) 2>&5
18527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18528 (exit $ac_status); }; } &&
18529 { ac_try
='test -s conftest.$ac_objext'
18530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18531 (eval $ac_try) 2>&5
18533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18534 (exit $ac_status); }; }; then
18537 cat >conftest.
$ac_ext <<_ACEOF
18540 cat confdefs.h
>>conftest.
$ac_ext
18541 cat >>conftest.
$ac_ext <<_ACEOF
18542 /* end confdefs.h. */
18543 $ac_includes_default
18547 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18554 rm -f conftest.
$ac_objext
18555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18556 (eval $ac_compile) 2>conftest.er1
18558 grep -v '^ *+' conftest.er1
>conftest.err
18560 cat conftest.err
>&5
18561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18562 (exit $ac_status); } &&
18563 { ac_try
='test -z "$ac_c_werror_flag"
18564 || test ! -s conftest.err'
18565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18566 (eval $ac_try) 2>&5
18568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18569 (exit $ac_status); }; } &&
18570 { ac_try
='test -s conftest.$ac_objext'
18571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18572 (eval $ac_try) 2>&5
18574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18575 (exit $ac_status); }; }; then
18576 ac_hi
=$ac_mid; break
18578 echo "$as_me: failed program was:" >&5
18579 sed 's/^/| /' conftest.
$ac_ext >&5
18581 ac_lo
=`expr $ac_mid + 1`
18582 if test $ac_lo -le $ac_mid; then
18586 ac_mid
=`expr 2 '*' $ac_mid + 1`
18588 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18591 echo "$as_me: failed program was:" >&5
18592 sed 's/^/| /' conftest.
$ac_ext >&5
18594 cat >conftest.
$ac_ext <<_ACEOF
18597 cat confdefs.h
>>conftest.
$ac_ext
18598 cat >>conftest.
$ac_ext <<_ACEOF
18599 /* end confdefs.h. */
18600 $ac_includes_default
18604 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18611 rm -f conftest.
$ac_objext
18612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18613 (eval $ac_compile) 2>conftest.er1
18615 grep -v '^ *+' conftest.er1
>conftest.err
18617 cat conftest.err
>&5
18618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18619 (exit $ac_status); } &&
18620 { ac_try
='test -z "$ac_c_werror_flag"
18621 || test ! -s conftest.err'
18622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18623 (eval $ac_try) 2>&5
18625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18626 (exit $ac_status); }; } &&
18627 { ac_try
='test -s conftest.$ac_objext'
18628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18629 (eval $ac_try) 2>&5
18631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18632 (exit $ac_status); }; }; then
18635 cat >conftest.
$ac_ext <<_ACEOF
18638 cat confdefs.h
>>conftest.
$ac_ext
18639 cat >>conftest.
$ac_ext <<_ACEOF
18640 /* end confdefs.h. */
18641 $ac_includes_default
18645 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18652 rm -f conftest.
$ac_objext
18653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18654 (eval $ac_compile) 2>conftest.er1
18656 grep -v '^ *+' conftest.er1
>conftest.err
18658 cat conftest.err
>&5
18659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18660 (exit $ac_status); } &&
18661 { ac_try
='test -z "$ac_c_werror_flag"
18662 || test ! -s conftest.err'
18663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18664 (eval $ac_try) 2>&5
18666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18667 (exit $ac_status); }; } &&
18668 { ac_try
='test -s conftest.$ac_objext'
18669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18670 (eval $ac_try) 2>&5
18672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18673 (exit $ac_status); }; }; then
18674 ac_lo
=$ac_mid; break
18676 echo "$as_me: failed program was:" >&5
18677 sed 's/^/| /' conftest.
$ac_ext >&5
18679 ac_hi
=`expr '(' $ac_mid ')' - 1`
18680 if test $ac_mid -le $ac_hi; then
18684 ac_mid
=`expr 2 '*' $ac_mid`
18686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18689 echo "$as_me: failed program was:" >&5
18690 sed 's/^/| /' conftest.
$ac_ext >&5
18694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18696 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18697 # Binary search between lo and hi bounds.
18698 while test "x$ac_lo" != "x$ac_hi"; do
18699 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18700 cat >conftest.
$ac_ext <<_ACEOF
18703 cat confdefs.h
>>conftest.
$ac_ext
18704 cat >>conftest.
$ac_ext <<_ACEOF
18705 /* end confdefs.h. */
18706 $ac_includes_default
18710 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18717 rm -f conftest.
$ac_objext
18718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18719 (eval $ac_compile) 2>conftest.er1
18721 grep -v '^ *+' conftest.er1
>conftest.err
18723 cat conftest.err
>&5
18724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18725 (exit $ac_status); } &&
18726 { ac_try
='test -z "$ac_c_werror_flag"
18727 || test ! -s conftest.err'
18728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18729 (eval $ac_try) 2>&5
18731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18732 (exit $ac_status); }; } &&
18733 { ac_try
='test -s conftest.$ac_objext'
18734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18735 (eval $ac_try) 2>&5
18737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18738 (exit $ac_status); }; }; then
18741 echo "$as_me: failed program was:" >&5
18742 sed 's/^/| /' conftest.
$ac_ext >&5
18744 ac_lo
=`expr '(' $ac_mid ')' + 1`
18746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18749 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18750 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18751 See \`config.log' for more details." >&5
18752 echo "$as_me: error: cannot compute sizeof (long long), 77
18753 See \`config.log' for more details." >&2;}
18754 { (exit 1); exit 1; }; } ;;
18757 if test "$cross_compiling" = yes; then
18758 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18759 See \`config.log' for more details." >&5
18760 echo "$as_me: error: cannot run test program while cross compiling
18761 See \`config.log' for more details." >&2;}
18762 { (exit 1); exit 1; }; }
18764 cat >conftest.
$ac_ext <<_ACEOF
18767 cat confdefs.h
>>conftest.
$ac_ext
18768 cat >>conftest.
$ac_ext <<_ACEOF
18769 /* end confdefs.h. */
18770 $ac_includes_default
18771 long longval () { return (long) (sizeof (long long)); }
18772 unsigned long ulongval () { return (long) (sizeof (long long)); }
18774 #include <stdlib.h>
18779 FILE *f = fopen ("conftest.val", "w");
18782 if (((long) (sizeof (long long))) < 0)
18784 long i = longval ();
18785 if (i != ((long) (sizeof (long long))))
18787 fprintf (f, "%ld\n", i);
18791 unsigned long i = ulongval ();
18792 if (i != ((long) (sizeof (long long))))
18794 fprintf (f, "%lu\n", i);
18796 exit (ferror (f) || fclose (f) != 0);
18802 rm -f conftest
$ac_exeext
18803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18804 (eval $ac_link) 2>&5
18806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18807 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18809 (eval $ac_try) 2>&5
18811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18812 (exit $ac_status); }; }; then
18813 ac_cv_sizeof_long_long
=`cat conftest.val`
18815 echo "$as_me: program exited with status $ac_status" >&5
18816 echo "$as_me: failed program was:" >&5
18817 sed 's/^/| /' conftest.
$ac_ext >&5
18819 ( exit $ac_status )
18820 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18821 See \`config.log' for more details." >&5
18822 echo "$as_me: error: cannot compute sizeof (long long), 77
18823 See \`config.log' for more details." >&2;}
18824 { (exit 1); exit 1; }; }
18826 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18831 ac_cv_sizeof_long_long
=0
18834 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18835 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18836 cat >>confdefs.h
<<_ACEOF
18837 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18841 if test "$ac_cv_sizeof_long_long" != "0"; then
18842 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
18846 echo "$as_me:$LINENO: checking for long long" >&5
18847 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18848 if test "${ac_cv_type_long_long+set}" = set; then
18849 echo $ECHO_N "(cached) $ECHO_C" >&6
18851 cat >conftest.
$ac_ext <<_ACEOF
18854 cat confdefs.h
>>conftest.
$ac_ext
18855 cat >>conftest.
$ac_ext <<_ACEOF
18856 /* end confdefs.h. */
18857 $ac_includes_default
18861 if ((long long *) 0)
18863 if (sizeof (long long))
18869 rm -f conftest.
$ac_objext
18870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18871 (eval $ac_compile) 2>conftest.er1
18873 grep -v '^ *+' conftest.er1
>conftest.err
18875 cat conftest.err
>&5
18876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18877 (exit $ac_status); } &&
18878 { ac_try
='test -z "$ac_c_werror_flag"
18879 || test ! -s conftest.err'
18880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18881 (eval $ac_try) 2>&5
18883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18884 (exit $ac_status); }; } &&
18885 { ac_try
='test -s conftest.$ac_objext'
18886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18887 (eval $ac_try) 2>&5
18889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18890 (exit $ac_status); }; }; then
18891 ac_cv_type_long_long
=yes
18893 echo "$as_me: failed program was:" >&5
18894 sed 's/^/| /' conftest.
$ac_ext >&5
18896 ac_cv_type_long_long
=no
18898 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18900 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18901 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18903 echo "$as_me:$LINENO: checking size of long long" >&5
18904 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18905 if test "${ac_cv_sizeof_long_long+set}" = set; then
18906 echo $ECHO_N "(cached) $ECHO_C" >&6
18908 if test "$ac_cv_type_long_long" = yes; then
18909 # The cast to unsigned long works around a bug in the HP C Compiler
18910 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18911 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18912 # This bug is HP SR number 8606223364.
18913 if test "$cross_compiling" = yes; then
18914 # Depending upon the size, compute the lo and hi bounds.
18915 cat >conftest.
$ac_ext <<_ACEOF
18918 cat confdefs.h
>>conftest.
$ac_ext
18919 cat >>conftest.
$ac_ext <<_ACEOF
18920 /* end confdefs.h. */
18921 $ac_includes_default
18925 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18932 rm -f conftest.
$ac_objext
18933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18934 (eval $ac_compile) 2>conftest.er1
18936 grep -v '^ *+' conftest.er1
>conftest.err
18938 cat conftest.err
>&5
18939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18940 (exit $ac_status); } &&
18941 { ac_try
='test -z "$ac_c_werror_flag"
18942 || test ! -s conftest.err'
18943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18944 (eval $ac_try) 2>&5
18946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18947 (exit $ac_status); }; } &&
18948 { ac_try
='test -s conftest.$ac_objext'
18949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18950 (eval $ac_try) 2>&5
18952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18953 (exit $ac_status); }; }; then
18956 cat >conftest.
$ac_ext <<_ACEOF
18959 cat confdefs.h
>>conftest.
$ac_ext
18960 cat >>conftest.
$ac_ext <<_ACEOF
18961 /* end confdefs.h. */
18962 $ac_includes_default
18966 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18973 rm -f conftest.
$ac_objext
18974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18975 (eval $ac_compile) 2>conftest.er1
18977 grep -v '^ *+' conftest.er1
>conftest.err
18979 cat conftest.err
>&5
18980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18981 (exit $ac_status); } &&
18982 { ac_try
='test -z "$ac_c_werror_flag"
18983 || test ! -s conftest.err'
18984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18985 (eval $ac_try) 2>&5
18987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18988 (exit $ac_status); }; } &&
18989 { ac_try
='test -s conftest.$ac_objext'
18990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18991 (eval $ac_try) 2>&5
18993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18994 (exit $ac_status); }; }; then
18995 ac_hi
=$ac_mid; break
18997 echo "$as_me: failed program was:" >&5
18998 sed 's/^/| /' conftest.
$ac_ext >&5
19000 ac_lo
=`expr $ac_mid + 1`
19001 if test $ac_lo -le $ac_mid; then
19005 ac_mid
=`expr 2 '*' $ac_mid + 1`
19007 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19010 echo "$as_me: failed program was:" >&5
19011 sed 's/^/| /' conftest.
$ac_ext >&5
19013 cat >conftest.
$ac_ext <<_ACEOF
19016 cat confdefs.h
>>conftest.
$ac_ext
19017 cat >>conftest.
$ac_ext <<_ACEOF
19018 /* end confdefs.h. */
19019 $ac_includes_default
19023 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19030 rm -f conftest.
$ac_objext
19031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19032 (eval $ac_compile) 2>conftest.er1
19034 grep -v '^ *+' conftest.er1
>conftest.err
19036 cat conftest.err
>&5
19037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19038 (exit $ac_status); } &&
19039 { ac_try
='test -z "$ac_c_werror_flag"
19040 || test ! -s conftest.err'
19041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19042 (eval $ac_try) 2>&5
19044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19045 (exit $ac_status); }; } &&
19046 { ac_try
='test -s conftest.$ac_objext'
19047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19048 (eval $ac_try) 2>&5
19050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19051 (exit $ac_status); }; }; then
19054 cat >conftest.
$ac_ext <<_ACEOF
19057 cat confdefs.h
>>conftest.
$ac_ext
19058 cat >>conftest.
$ac_ext <<_ACEOF
19059 /* end confdefs.h. */
19060 $ac_includes_default
19064 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19071 rm -f conftest.
$ac_objext
19072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19073 (eval $ac_compile) 2>conftest.er1
19075 grep -v '^ *+' conftest.er1
>conftest.err
19077 cat conftest.err
>&5
19078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19079 (exit $ac_status); } &&
19080 { ac_try
='test -z "$ac_c_werror_flag"
19081 || test ! -s conftest.err'
19082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19083 (eval $ac_try) 2>&5
19085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19086 (exit $ac_status); }; } &&
19087 { ac_try
='test -s conftest.$ac_objext'
19088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19089 (eval $ac_try) 2>&5
19091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19092 (exit $ac_status); }; }; then
19093 ac_lo
=$ac_mid; break
19095 echo "$as_me: failed program was:" >&5
19096 sed 's/^/| /' conftest.
$ac_ext >&5
19098 ac_hi
=`expr '(' $ac_mid ')' - 1`
19099 if test $ac_mid -le $ac_hi; then
19103 ac_mid
=`expr 2 '*' $ac_mid`
19105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19108 echo "$as_me: failed program was:" >&5
19109 sed 's/^/| /' conftest.
$ac_ext >&5
19113 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19116 # Binary search between lo and hi bounds.
19117 while test "x$ac_lo" != "x$ac_hi"; do
19118 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19119 cat >conftest.
$ac_ext <<_ACEOF
19122 cat confdefs.h
>>conftest.
$ac_ext
19123 cat >>conftest.
$ac_ext <<_ACEOF
19124 /* end confdefs.h. */
19125 $ac_includes_default
19129 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19136 rm -f conftest.
$ac_objext
19137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19138 (eval $ac_compile) 2>conftest.er1
19140 grep -v '^ *+' conftest.er1
>conftest.err
19142 cat conftest.err
>&5
19143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19144 (exit $ac_status); } &&
19145 { ac_try
='test -z "$ac_c_werror_flag"
19146 || test ! -s conftest.err'
19147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19148 (eval $ac_try) 2>&5
19150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19151 (exit $ac_status); }; } &&
19152 { ac_try
='test -s conftest.$ac_objext'
19153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19154 (eval $ac_try) 2>&5
19156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19157 (exit $ac_status); }; }; then
19160 echo "$as_me: failed program was:" >&5
19161 sed 's/^/| /' conftest.
$ac_ext >&5
19163 ac_lo
=`expr '(' $ac_mid ')' + 1`
19165 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19168 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19169 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19170 See \`config.log' for more details." >&5
19171 echo "$as_me: error: cannot compute sizeof (long long), 77
19172 See \`config.log' for more details." >&2;}
19173 { (exit 1); exit 1; }; } ;;
19176 if test "$cross_compiling" = yes; then
19177 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19178 See \`config.log' for more details." >&5
19179 echo "$as_me: error: cannot run test program while cross compiling
19180 See \`config.log' for more details." >&2;}
19181 { (exit 1); exit 1; }; }
19183 cat >conftest.
$ac_ext <<_ACEOF
19186 cat confdefs.h
>>conftest.
$ac_ext
19187 cat >>conftest.
$ac_ext <<_ACEOF
19188 /* end confdefs.h. */
19189 $ac_includes_default
19190 long longval () { return (long) (sizeof (long long)); }
19191 unsigned long ulongval () { return (long) (sizeof (long long)); }
19193 #include <stdlib.h>
19198 FILE *f = fopen ("conftest.val", "w");
19201 if (((long) (sizeof (long long))) < 0)
19203 long i = longval ();
19204 if (i != ((long) (sizeof (long long))))
19206 fprintf (f, "%ld\n", i);
19210 unsigned long i = ulongval ();
19211 if (i != ((long) (sizeof (long long))))
19213 fprintf (f, "%lu\n", i);
19215 exit (ferror (f) || fclose (f) != 0);
19221 rm -f conftest
$ac_exeext
19222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19223 (eval $ac_link) 2>&5
19225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19226 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19228 (eval $ac_try) 2>&5
19230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19231 (exit $ac_status); }; }; then
19232 ac_cv_sizeof_long_long
=`cat conftest.val`
19234 echo "$as_me: program exited with status $ac_status" >&5
19235 echo "$as_me: failed program was:" >&5
19236 sed 's/^/| /' conftest.
$ac_ext >&5
19238 ( exit $ac_status )
19239 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19240 See \`config.log' for more details." >&5
19241 echo "$as_me: error: cannot compute sizeof (long long), 77
19242 See \`config.log' for more details." >&2;}
19243 { (exit 1); exit 1; }; }
19245 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19250 ac_cv_sizeof_long_long
=0
19253 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19254 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19255 cat >>confdefs.h
<<_ACEOF
19256 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19262 echo "$as_me:$LINENO: checking for wchar_t" >&5
19263 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
19264 if test "${ac_cv_type_wchar_t+set}" = set; then
19265 echo $ECHO_N "(cached) $ECHO_C" >&6
19267 cat >conftest.
$ac_ext <<_ACEOF
19270 cat confdefs.h
>>conftest.
$ac_ext
19271 cat >>conftest.
$ac_ext <<_ACEOF
19272 /* end confdefs.h. */
19274 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19275 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19276 # error "fake wchar_t"
19278 #ifdef HAVE_WCHAR_H
19280 # include <stddef.h>
19282 # include <wchar.h>
19284 #ifdef HAVE_STDLIB_H
19285 # include <stdlib.h>
19296 if (sizeof (wchar_t))
19302 rm -f conftest.
$ac_objext
19303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19304 (eval $ac_compile) 2>conftest.er1
19306 grep -v '^ *+' conftest.er1
>conftest.err
19308 cat conftest.err
>&5
19309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19310 (exit $ac_status); } &&
19311 { ac_try
='test -z "$ac_c_werror_flag"
19312 || test ! -s conftest.err'
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); }; } &&
19318 { ac_try
='test -s conftest.$ac_objext'
19319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19320 (eval $ac_try) 2>&5
19322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19323 (exit $ac_status); }; }; then
19324 ac_cv_type_wchar_t
=yes
19326 echo "$as_me: failed program was:" >&5
19327 sed 's/^/| /' conftest.
$ac_ext >&5
19329 ac_cv_type_wchar_t
=no
19331 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19333 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
19334 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
19336 echo "$as_me:$LINENO: checking size of wchar_t" >&5
19337 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
19338 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
19339 echo $ECHO_N "(cached) $ECHO_C" >&6
19341 if test "$ac_cv_type_wchar_t" = yes; then
19342 # The cast to unsigned long works around a bug in the HP C Compiler
19343 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19344 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19345 # This bug is HP SR number 8606223364.
19346 if test "$cross_compiling" = yes; then
19347 # Depending upon the size, compute the lo and hi bounds.
19348 cat >conftest.
$ac_ext <<_ACEOF
19351 cat confdefs.h
>>conftest.
$ac_ext
19352 cat >>conftest.
$ac_ext <<_ACEOF
19353 /* end confdefs.h. */
19355 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19356 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19357 # error "fake wchar_t"
19359 #ifdef HAVE_WCHAR_H
19361 # include <stddef.h>
19363 # include <wchar.h>
19365 #ifdef HAVE_STDLIB_H
19366 # include <stdlib.h>
19375 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
19382 rm -f conftest.
$ac_objext
19383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19384 (eval $ac_compile) 2>conftest.er1
19386 grep -v '^ *+' conftest.er1
>conftest.err
19388 cat conftest.err
>&5
19389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19390 (exit $ac_status); } &&
19391 { ac_try
='test -z "$ac_c_werror_flag"
19392 || test ! -s conftest.err'
19393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19394 (eval $ac_try) 2>&5
19396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19397 (exit $ac_status); }; } &&
19398 { ac_try
='test -s conftest.$ac_objext'
19399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19400 (eval $ac_try) 2>&5
19402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19403 (exit $ac_status); }; }; then
19406 cat >conftest.
$ac_ext <<_ACEOF
19409 cat confdefs.h
>>conftest.
$ac_ext
19410 cat >>conftest.
$ac_ext <<_ACEOF
19411 /* end confdefs.h. */
19413 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19414 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19415 # error "fake wchar_t"
19417 #ifdef HAVE_WCHAR_H
19419 # include <stddef.h>
19421 # include <wchar.h>
19423 #ifdef HAVE_STDLIB_H
19424 # include <stdlib.h>
19433 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19440 rm -f conftest.
$ac_objext
19441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19442 (eval $ac_compile) 2>conftest.er1
19444 grep -v '^ *+' conftest.er1
>conftest.err
19446 cat conftest.err
>&5
19447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19448 (exit $ac_status); } &&
19449 { ac_try
='test -z "$ac_c_werror_flag"
19450 || test ! -s conftest.err'
19451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19452 (eval $ac_try) 2>&5
19454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19455 (exit $ac_status); }; } &&
19456 { ac_try
='test -s conftest.$ac_objext'
19457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19458 (eval $ac_try) 2>&5
19460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19461 (exit $ac_status); }; }; then
19462 ac_hi
=$ac_mid; break
19464 echo "$as_me: failed program was:" >&5
19465 sed 's/^/| /' conftest.
$ac_ext >&5
19467 ac_lo
=`expr $ac_mid + 1`
19468 if test $ac_lo -le $ac_mid; then
19472 ac_mid
=`expr 2 '*' $ac_mid + 1`
19474 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19477 echo "$as_me: failed program was:" >&5
19478 sed 's/^/| /' conftest.
$ac_ext >&5
19480 cat >conftest.
$ac_ext <<_ACEOF
19483 cat confdefs.h
>>conftest.
$ac_ext
19484 cat >>conftest.
$ac_ext <<_ACEOF
19485 /* end confdefs.h. */
19487 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19488 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19489 # error "fake wchar_t"
19491 #ifdef HAVE_WCHAR_H
19493 # include <stddef.h>
19495 # include <wchar.h>
19497 #ifdef HAVE_STDLIB_H
19498 # include <stdlib.h>
19507 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
19514 rm -f conftest.
$ac_objext
19515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19516 (eval $ac_compile) 2>conftest.er1
19518 grep -v '^ *+' conftest.er1
>conftest.err
19520 cat conftest.err
>&5
19521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19522 (exit $ac_status); } &&
19523 { ac_try
='test -z "$ac_c_werror_flag"
19524 || test ! -s conftest.err'
19525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19526 (eval $ac_try) 2>&5
19528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19529 (exit $ac_status); }; } &&
19530 { ac_try
='test -s conftest.$ac_objext'
19531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19532 (eval $ac_try) 2>&5
19534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19535 (exit $ac_status); }; }; then
19538 cat >conftest.
$ac_ext <<_ACEOF
19541 cat confdefs.h
>>conftest.
$ac_ext
19542 cat >>conftest.
$ac_ext <<_ACEOF
19543 /* end confdefs.h. */
19545 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19546 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19547 # error "fake wchar_t"
19549 #ifdef HAVE_WCHAR_H
19551 # include <stddef.h>
19553 # include <wchar.h>
19555 #ifdef HAVE_STDLIB_H
19556 # include <stdlib.h>
19565 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
19572 rm -f conftest.
$ac_objext
19573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19574 (eval $ac_compile) 2>conftest.er1
19576 grep -v '^ *+' conftest.er1
>conftest.err
19578 cat conftest.err
>&5
19579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19580 (exit $ac_status); } &&
19581 { ac_try
='test -z "$ac_c_werror_flag"
19582 || test ! -s conftest.err'
19583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19584 (eval $ac_try) 2>&5
19586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19587 (exit $ac_status); }; } &&
19588 { ac_try
='test -s conftest.$ac_objext'
19589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19590 (eval $ac_try) 2>&5
19592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19593 (exit $ac_status); }; }; then
19594 ac_lo
=$ac_mid; break
19596 echo "$as_me: failed program was:" >&5
19597 sed 's/^/| /' conftest.
$ac_ext >&5
19599 ac_hi
=`expr '(' $ac_mid ')' - 1`
19600 if test $ac_mid -le $ac_hi; then
19604 ac_mid
=`expr 2 '*' $ac_mid`
19606 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19609 echo "$as_me: failed program was:" >&5
19610 sed 's/^/| /' conftest.
$ac_ext >&5
19614 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19616 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19617 # Binary search between lo and hi bounds.
19618 while test "x$ac_lo" != "x$ac_hi"; do
19619 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19620 cat >conftest.
$ac_ext <<_ACEOF
19623 cat confdefs.h
>>conftest.
$ac_ext
19624 cat >>conftest.
$ac_ext <<_ACEOF
19625 /* end confdefs.h. */
19627 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19628 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19629 # error "fake wchar_t"
19631 #ifdef HAVE_WCHAR_H
19633 # include <stddef.h>
19635 # include <wchar.h>
19637 #ifdef HAVE_STDLIB_H
19638 # include <stdlib.h>
19647 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19654 rm -f conftest.
$ac_objext
19655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19656 (eval $ac_compile) 2>conftest.er1
19658 grep -v '^ *+' conftest.er1
>conftest.err
19660 cat conftest.err
>&5
19661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19662 (exit $ac_status); } &&
19663 { ac_try
='test -z "$ac_c_werror_flag"
19664 || test ! -s conftest.err'
19665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19666 (eval $ac_try) 2>&5
19668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19669 (exit $ac_status); }; } &&
19670 { ac_try
='test -s conftest.$ac_objext'
19671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19672 (eval $ac_try) 2>&5
19674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19675 (exit $ac_status); }; }; then
19678 echo "$as_me: failed program was:" >&5
19679 sed 's/^/| /' conftest.
$ac_ext >&5
19681 ac_lo
=`expr '(' $ac_mid ')' + 1`
19683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19686 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
19687 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19688 See \`config.log' for more details." >&5
19689 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19690 See \`config.log' for more details." >&2;}
19691 { (exit 1); exit 1; }; } ;;
19694 if test "$cross_compiling" = yes; then
19695 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19696 See \`config.log' for more details." >&5
19697 echo "$as_me: error: cannot run test program while cross compiling
19698 See \`config.log' for more details." >&2;}
19699 { (exit 1); exit 1; }; }
19701 cat >conftest.
$ac_ext <<_ACEOF
19704 cat confdefs.h
>>conftest.
$ac_ext
19705 cat >>conftest.
$ac_ext <<_ACEOF
19706 /* end confdefs.h. */
19708 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19709 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19710 # error "fake wchar_t"
19712 #ifdef HAVE_WCHAR_H
19714 # include <stddef.h>
19716 # include <wchar.h>
19718 #ifdef HAVE_STDLIB_H
19719 # include <stdlib.h>
19725 long longval () { return (long) (sizeof (wchar_t)); }
19726 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
19728 #include <stdlib.h>
19733 FILE *f = fopen ("conftest.val", "w");
19736 if (((long) (sizeof (wchar_t))) < 0)
19738 long i = longval ();
19739 if (i != ((long) (sizeof (wchar_t))))
19741 fprintf (f, "%ld\n", i);
19745 unsigned long i = ulongval ();
19746 if (i != ((long) (sizeof (wchar_t))))
19748 fprintf (f, "%lu\n", i);
19750 exit (ferror (f) || fclose (f) != 0);
19756 rm -f conftest
$ac_exeext
19757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19758 (eval $ac_link) 2>&5
19760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19761 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19763 (eval $ac_try) 2>&5
19765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19766 (exit $ac_status); }; }; then
19767 ac_cv_sizeof_wchar_t
=`cat conftest.val`
19769 echo "$as_me: program exited with status $ac_status" >&5
19770 echo "$as_me: failed program was:" >&5
19771 sed 's/^/| /' conftest.
$ac_ext >&5
19773 ( exit $ac_status )
19774 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19775 See \`config.log' for more details." >&5
19776 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19777 See \`config.log' for more details." >&2;}
19778 { (exit 1); exit 1; }; }
19780 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19785 ac_cv_sizeof_wchar_t
=0
19788 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
19789 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
19790 cat >>confdefs.h
<<_ACEOF
19791 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
19795 if test "$ac_cv_sizeof_wchar_t" != "0"; then
19801 echo "$as_me:$LINENO: checking for va_copy" >&5
19802 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
19803 if test "${wx_cv_func_va_copy+set}" = set; then
19804 echo $ECHO_N "(cached) $ECHO_C" >&6
19807 cat >conftest.
$ac_ext <<_ACEOF
19809 #include <stdarg.h>
19810 void foo(char *f, ...)
19824 rm -f conftest.
$ac_objext conftest
$ac_exeext
19825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19826 (eval $ac_link) 2>conftest.er1
19828 grep -v '^ *+' conftest.er1
>conftest.err
19830 cat conftest.err
>&5
19831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19832 (exit $ac_status); } &&
19833 { ac_try
='test -z "$ac_c_werror_flag"
19834 || test ! -s conftest.err'
19835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19836 (eval $ac_try) 2>&5
19838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19839 (exit $ac_status); }; } &&
19840 { ac_try
='test -s conftest$ac_exeext'
19841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19842 (eval $ac_try) 2>&5
19844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19845 (exit $ac_status); }; }; then
19846 wx_cv_func_va_copy
=yes
19848 echo "$as_me: failed program was:" >&5
19849 sed 's/^/| /' conftest.
$ac_ext >&5
19851 wx_cv_func_va_copy
=no
19854 rm -f conftest.err conftest.
$ac_objext \
19855 conftest
$ac_exeext conftest.
$ac_ext
19859 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
19860 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
19862 if test $wx_cv_func_va_copy = "yes"; then
19863 cat >>confdefs.h
<<\_ACEOF
19864 #define HAVE_VA_COPY 1
19868 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
19869 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
19870 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
19871 echo $ECHO_N "(cached) $ECHO_C" >&6
19874 if test "$cross_compiling" = yes; then
19875 wx_cv_type_va_list_lvalue
=yes
19878 cat >conftest.
$ac_ext <<_ACEOF
19880 #include <stdarg.h>
19881 int foo(char *f, ...)
19886 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
19894 return foo("hi", 17);
19897 rm -f conftest
$ac_exeext
19898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19899 (eval $ac_link) 2>&5
19901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19902 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19904 (eval $ac_try) 2>&5
19906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19907 (exit $ac_status); }; }; then
19908 wx_cv_type_va_list_lvalue
=yes
19910 echo "$as_me: program exited with status $ac_status" >&5
19911 echo "$as_me: failed program was:" >&5
19912 sed 's/^/| /' conftest.
$ac_ext >&5
19914 ( exit $ac_status )
19915 wx_cv_type_va_list_lvalue
=no
19917 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19922 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
19923 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
19925 if test $wx_cv_type_va_list_lvalue != "yes"; then
19926 cat >>confdefs.h
<<\_ACEOF
19927 #define VA_LIST_IS_ARRAY 1
19933 # Check whether --enable-largefile or --disable-largefile was given.
19934 if test "${enable_largefile+set}" = set; then
19935 enableval
="$enable_largefile"
19938 if test "$enable_largefile" != no
; then
19941 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
19942 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
19943 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
19944 echo $ECHO_N "(cached) $ECHO_C" >&6
19947 cat >conftest.
$ac_ext <<_ACEOF
19950 cat confdefs.h
>>conftest.
$ac_ext
19951 cat >>conftest.
$ac_ext <<_ACEOF
19952 /* end confdefs.h. */
19953 #define _FILE_OFFSET_BITS 64
19954 #include <sys/types.h>
19959 unsigned int field: sizeof(off_t) == 8;
19966 rm -f conftest.
$ac_objext
19967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19968 (eval $ac_compile) 2>conftest.er1
19970 grep -v '^ *+' conftest.er1
>conftest.err
19972 cat conftest.err
>&5
19973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19974 (exit $ac_status); } &&
19975 { ac_try
='test -z "$ac_c_werror_flag"
19976 || test ! -s conftest.err'
19977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19978 (eval $ac_try) 2>&5
19980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19981 (exit $ac_status); }; } &&
19982 { ac_try
='test -s conftest.$ac_objext'
19983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19984 (eval $ac_try) 2>&5
19986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19987 (exit $ac_status); }; }; then
19988 ac_cv_sys_file_offset_bits
=64
19990 echo "$as_me: failed program was:" >&5
19991 sed 's/^/| /' conftest.
$ac_ext >&5
19993 ac_cv_sys_file_offset_bits
=no
19995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19999 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
20000 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
20002 if test "$ac_cv_sys_file_offset_bits" != no
; then
20004 cat >>confdefs.h
<<_ACEOF
20005 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20010 if test "x$wx_largefile" != "xyes"; then
20012 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
20013 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
20014 if test "${ac_cv_sys_large_files+set}" = set; then
20015 echo $ECHO_N "(cached) $ECHO_C" >&6
20018 cat >conftest.
$ac_ext <<_ACEOF
20021 cat confdefs.h
>>conftest.
$ac_ext
20022 cat >>conftest.
$ac_ext <<_ACEOF
20023 /* end confdefs.h. */
20024 #define _LARGE_FILES 1
20025 #include <sys/types.h>
20030 unsigned int field: sizeof(off_t) == 8;
20037 rm -f conftest.
$ac_objext
20038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20039 (eval $ac_compile) 2>conftest.er1
20041 grep -v '^ *+' conftest.er1
>conftest.err
20043 cat conftest.err
>&5
20044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20045 (exit $ac_status); } &&
20046 { ac_try
='test -z "$ac_c_werror_flag"
20047 || test ! -s conftest.err'
20048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20049 (eval $ac_try) 2>&5
20051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20052 (exit $ac_status); }; } &&
20053 { ac_try
='test -s conftest.$ac_objext'
20054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20055 (eval $ac_try) 2>&5
20057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20058 (exit $ac_status); }; }; then
20059 ac_cv_sys_large_files
=1
20061 echo "$as_me: failed program was:" >&5
20062 sed 's/^/| /' conftest.
$ac_ext >&5
20064 ac_cv_sys_large_files
=no
20066 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20070 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
20071 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
20073 if test "$ac_cv_sys_large_files" != no
; then
20075 cat >>confdefs.h
<<_ACEOF
20076 #define _LARGE_FILES $ac_cv_sys_large_files
20083 echo "$as_me:$LINENO: checking if large file support is available" >&5
20084 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
20085 if test "x$wx_largefile" = "xyes"; then
20086 cat >>confdefs.h
<<\_ACEOF
20087 #define HAVE_LARGEFILE_SUPPORT 1
20091 echo "$as_me:$LINENO: result: $wx_largefile" >&5
20092 echo "${ECHO_T}$wx_largefile" >&6
20096 if test "x$wx_largefile" = "xyes"; then
20097 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
20098 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
20100 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
20102 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20103 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
20104 if test "${ac_cv_sys_largefile_source+set}" = set; then
20105 echo $ECHO_N "(cached) $ECHO_C" >&6
20108 ac_cv_sys_largefile_source
=no
20109 cat >conftest.
$ac_ext <<_ACEOF
20112 cat confdefs.h
>>conftest.
$ac_ext
20113 cat >>conftest.
$ac_ext <<_ACEOF
20114 /* end confdefs.h. */
20124 rm -f conftest.
$ac_objext
20125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20126 (eval $ac_compile) 2>conftest.er1
20128 grep -v '^ *+' conftest.er1
>conftest.err
20130 cat conftest.err
>&5
20131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20132 (exit $ac_status); } &&
20133 { ac_try
='test -z "$ac_c_werror_flag"
20134 || test ! -s conftest.err'
20135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20136 (eval $ac_try) 2>&5
20138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20139 (exit $ac_status); }; } &&
20140 { ac_try
='test -s conftest.$ac_objext'
20141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20142 (eval $ac_try) 2>&5
20144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20145 (exit $ac_status); }; }; then
20148 echo "$as_me: failed program was:" >&5
20149 sed 's/^/| /' conftest.
$ac_ext >&5
20152 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20153 cat >conftest.
$ac_ext <<_ACEOF
20156 cat confdefs.h
>>conftest.
$ac_ext
20157 cat >>conftest.
$ac_ext <<_ACEOF
20158 /* end confdefs.h. */
20159 #define _LARGEFILE_SOURCE 1
20169 rm -f conftest.
$ac_objext
20170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20171 (eval $ac_compile) 2>conftest.er1
20173 grep -v '^ *+' conftest.er1
>conftest.err
20175 cat conftest.err
>&5
20176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20177 (exit $ac_status); } &&
20178 { ac_try
='test -z "$ac_c_werror_flag"
20179 || test ! -s conftest.err'
20180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20181 (eval $ac_try) 2>&5
20183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20184 (exit $ac_status); }; } &&
20185 { ac_try
='test -s conftest.$ac_objext'
20186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20187 (eval $ac_try) 2>&5
20189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20190 (exit $ac_status); }; }; then
20191 ac_cv_sys_largefile_source
=1; break
20193 echo "$as_me: failed program was:" >&5
20194 sed 's/^/| /' conftest.
$ac_ext >&5
20197 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20201 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
20202 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
20203 if test "$ac_cv_sys_largefile_source" != no
; then
20205 cat >>confdefs.h
<<_ACEOF
20206 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20212 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20213 # in glibc 2.1.3, but that breaks too many other things.
20214 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20215 echo "$as_me:$LINENO: checking for fseeko" >&5
20216 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
20217 if test "${ac_cv_func_fseeko+set}" = set; then
20218 echo $ECHO_N "(cached) $ECHO_C" >&6
20220 cat >conftest.
$ac_ext <<_ACEOF
20223 cat confdefs.h
>>conftest.
$ac_ext
20224 cat >>conftest.
$ac_ext <<_ACEOF
20225 /* end confdefs.h. */
20230 return fseeko && fseeko (stdin, 0, 0);
20235 rm -f conftest.
$ac_objext conftest
$ac_exeext
20236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20237 (eval $ac_link) 2>conftest.er1
20239 grep -v '^ *+' conftest.er1
>conftest.err
20241 cat conftest.err
>&5
20242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20243 (exit $ac_status); } &&
20244 { ac_try
='test -z "$ac_c_werror_flag"
20245 || test ! -s conftest.err'
20246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20247 (eval $ac_try) 2>&5
20249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20250 (exit $ac_status); }; } &&
20251 { ac_try
='test -s conftest$ac_exeext'
20252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20253 (eval $ac_try) 2>&5
20255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20256 (exit $ac_status); }; }; then
20257 ac_cv_func_fseeko
=yes
20259 echo "$as_me: failed program was:" >&5
20260 sed 's/^/| /' conftest.
$ac_ext >&5
20262 ac_cv_func_fseeko
=no
20264 rm -f conftest.err conftest.
$ac_objext \
20265 conftest
$ac_exeext conftest.
$ac_ext
20267 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
20268 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
20269 if test $ac_cv_func_fseeko = yes; then
20271 cat >>confdefs.h
<<\_ACEOF
20272 #define HAVE_FSEEKO 1
20277 if test "$ac_cv_sys_largefile_source" != no
; then
20278 WX_LARGEFILE_FLAGS
="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20280 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
20283 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20284 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20285 if test "${ac_cv_c_bigendian+set}" = set; then
20286 echo $ECHO_N "(cached) $ECHO_C" >&6
20288 ac_cv_c_bigendian
=unknown
20289 # See if sys/param.h defines the BYTE_ORDER macro.
20290 cat >conftest.
$ac_ext <<_ACEOF
20293 cat confdefs.h
>>conftest.
$ac_ext
20294 cat >>conftest.
$ac_ext <<_ACEOF
20295 /* end confdefs.h. */
20296 #include <sys/types.h>
20297 #include <sys/param.h>
20302 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20303 bogus endian macros
20309 rm -f conftest.
$ac_objext
20310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20311 (eval $ac_compile) 2>conftest.er1
20313 grep -v '^ *+' conftest.er1
>conftest.err
20315 cat conftest.err
>&5
20316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20317 (exit $ac_status); } &&
20318 { ac_try
='test -z "$ac_c_werror_flag"
20319 || test ! -s conftest.err'
20320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20321 (eval $ac_try) 2>&5
20323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20324 (exit $ac_status); }; } &&
20325 { ac_try
='test -s conftest.$ac_objext'
20326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20327 (eval $ac_try) 2>&5
20329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20330 (exit $ac_status); }; }; then
20331 # It does; now see whether it defined to BIG_ENDIAN or not.
20332 cat >conftest.
$ac_ext <<_ACEOF
20335 cat confdefs.h
>>conftest.
$ac_ext
20336 cat >>conftest.
$ac_ext <<_ACEOF
20337 /* end confdefs.h. */
20338 #include <sys/types.h>
20339 #include <sys/param.h>
20344 #if BYTE_ORDER != BIG_ENDIAN
20351 rm -f conftest.
$ac_objext
20352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20353 (eval $ac_compile) 2>conftest.er1
20355 grep -v '^ *+' conftest.er1
>conftest.err
20357 cat conftest.err
>&5
20358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20359 (exit $ac_status); } &&
20360 { ac_try
='test -z "$ac_c_werror_flag"
20361 || test ! -s conftest.err'
20362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20363 (eval $ac_try) 2>&5
20365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20366 (exit $ac_status); }; } &&
20367 { ac_try
='test -s conftest.$ac_objext'
20368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20369 (eval $ac_try) 2>&5
20371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20372 (exit $ac_status); }; }; then
20373 ac_cv_c_bigendian
=yes
20375 echo "$as_me: failed program was:" >&5
20376 sed 's/^/| /' conftest.
$ac_ext >&5
20378 ac_cv_c_bigendian
=no
20380 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20382 echo "$as_me: failed program was:" >&5
20383 sed 's/^/| /' conftest.
$ac_ext >&5
20386 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20387 if test $ac_cv_c_bigendian = unknown
; then
20388 if test "$cross_compiling" = yes; then
20389 ac_cv_c_bigendian
=unknown
20391 cat >conftest.
$ac_ext <<_ACEOF
20394 cat confdefs.h
>>conftest.
$ac_ext
20395 cat >>conftest.
$ac_ext <<_ACEOF
20396 /* end confdefs.h. */
20398 /* Are we little or big endian? From Harbison&Steele. */
20402 char c[sizeof (long)];
20405 exit (u.c[sizeof (long) - 1] == 1);
20408 rm -f conftest
$ac_exeext
20409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20410 (eval $ac_link) 2>&5
20412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20413 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20415 (eval $ac_try) 2>&5
20417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20418 (exit $ac_status); }; }; then
20419 ac_cv_c_bigendian
=no
20421 echo "$as_me: program exited with status $ac_status" >&5
20422 echo "$as_me: failed program was:" >&5
20423 sed 's/^/| /' conftest.
$ac_ext >&5
20425 ( exit $ac_status )
20426 ac_cv_c_bigendian
=yes
20428 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20432 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20433 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20434 if test $ac_cv_c_bigendian = unknown
; then
20435 { 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
20436 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;}
20438 if test $ac_cv_c_bigendian = yes; then
20439 cat >>confdefs.h
<<\_ACEOF
20440 #define WORDS_BIGENDIAN 1
20447 ac_cpp
='$CXXCPP $CPPFLAGS'
20448 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20449 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20450 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20451 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
20452 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
20453 if test -z "$CXXCPP"; then
20454 if test "${ac_cv_prog_CXXCPP+set}" = set; then
20455 echo $ECHO_N "(cached) $ECHO_C" >&6
20457 # Double quotes because CXXCPP needs to be expanded
20458 for CXXCPP
in "$CXX -E" "/lib/cpp"
20460 ac_preproc_ok
=false
20461 for ac_cxx_preproc_warn_flag
in '' yes
20463 # Use a header file that comes with gcc, so configuring glibc
20464 # with a fresh cross-compiler works.
20465 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20466 # <limits.h> exists even on freestanding compilers.
20467 # On the NeXT, cc -E runs the code through the compiler's parser,
20468 # not just through cpp. "Syntax error" is here to catch this case.
20469 cat >conftest.
$ac_ext <<_ACEOF
20472 cat confdefs.h
>>conftest.
$ac_ext
20473 cat >>conftest.
$ac_ext <<_ACEOF
20474 /* end confdefs.h. */
20476 # include <limits.h>
20478 # include <assert.h>
20482 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20483 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20485 grep -v '^ *+' conftest.er1
>conftest.err
20487 cat conftest.err
>&5
20488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20489 (exit $ac_status); } >/dev
/null
; then
20490 if test -s conftest.err
; then
20491 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20492 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20499 if test -z "$ac_cpp_err"; then
20502 echo "$as_me: failed program was:" >&5
20503 sed 's/^/| /' conftest.
$ac_ext >&5
20505 # Broken: fails on valid input.
20508 rm -f conftest.err conftest.
$ac_ext
20510 # OK, works on sane cases. Now check whether non-existent headers
20511 # can be detected and how.
20512 cat >conftest.
$ac_ext <<_ACEOF
20515 cat confdefs.h
>>conftest.
$ac_ext
20516 cat >>conftest.
$ac_ext <<_ACEOF
20517 /* end confdefs.h. */
20518 #include <ac_nonexistent.h>
20520 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20521 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20523 grep -v '^ *+' conftest.er1
>conftest.err
20525 cat conftest.err
>&5
20526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20527 (exit $ac_status); } >/dev
/null
; then
20528 if test -s conftest.err
; then
20529 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20530 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20537 if test -z "$ac_cpp_err"; then
20538 # Broken: success on invalid input.
20541 echo "$as_me: failed program was:" >&5
20542 sed 's/^/| /' conftest.
$ac_ext >&5
20544 # Passes both tests.
20548 rm -f conftest.err conftest.
$ac_ext
20551 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20552 rm -f conftest.err conftest.
$ac_ext
20553 if $ac_preproc_ok; then
20558 ac_cv_prog_CXXCPP
=$CXXCPP
20561 CXXCPP
=$ac_cv_prog_CXXCPP
20563 ac_cv_prog_CXXCPP
=$CXXCPP
20565 echo "$as_me:$LINENO: result: $CXXCPP" >&5
20566 echo "${ECHO_T}$CXXCPP" >&6
20567 ac_preproc_ok
=false
20568 for ac_cxx_preproc_warn_flag
in '' yes
20570 # Use a header file that comes with gcc, so configuring glibc
20571 # with a fresh cross-compiler works.
20572 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20573 # <limits.h> exists even on freestanding compilers.
20574 # On the NeXT, cc -E runs the code through the compiler's parser,
20575 # not just through cpp. "Syntax error" is here to catch this case.
20576 cat >conftest.
$ac_ext <<_ACEOF
20579 cat confdefs.h
>>conftest.
$ac_ext
20580 cat >>conftest.
$ac_ext <<_ACEOF
20581 /* end confdefs.h. */
20583 # include <limits.h>
20585 # include <assert.h>
20589 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20590 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20592 grep -v '^ *+' conftest.er1
>conftest.err
20594 cat conftest.err
>&5
20595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20596 (exit $ac_status); } >/dev
/null
; then
20597 if test -s conftest.err
; then
20598 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20599 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20606 if test -z "$ac_cpp_err"; then
20609 echo "$as_me: failed program was:" >&5
20610 sed 's/^/| /' conftest.
$ac_ext >&5
20612 # Broken: fails on valid input.
20615 rm -f conftest.err conftest.
$ac_ext
20617 # OK, works on sane cases. Now check whether non-existent headers
20618 # can be detected and how.
20619 cat >conftest.
$ac_ext <<_ACEOF
20622 cat confdefs.h
>>conftest.
$ac_ext
20623 cat >>conftest.
$ac_ext <<_ACEOF
20624 /* end confdefs.h. */
20625 #include <ac_nonexistent.h>
20627 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20628 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20630 grep -v '^ *+' conftest.er1
>conftest.err
20632 cat conftest.err
>&5
20633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20634 (exit $ac_status); } >/dev
/null
; then
20635 if test -s conftest.err
; then
20636 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20637 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20644 if test -z "$ac_cpp_err"; then
20645 # Broken: success on invalid input.
20648 echo "$as_me: failed program was:" >&5
20649 sed 's/^/| /' conftest.
$ac_ext >&5
20651 # Passes both tests.
20655 rm -f conftest.err conftest.
$ac_ext
20658 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20659 rm -f conftest.err conftest.
$ac_ext
20660 if $ac_preproc_ok; then
20663 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20664 See \`config.log' for more details." >&5
20665 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20666 See \`config.log' for more details." >&2;}
20667 { (exit 1); exit 1; }; }
20671 ac_cpp
='$CXXCPP $CPPFLAGS'
20672 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20673 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20674 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20681 ac_cpp
='$CXXCPP $CPPFLAGS'
20682 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20683 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20684 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20688 for ac_header
in iostream
20690 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20691 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20692 echo "$as_me:$LINENO: checking for $ac_header" >&5
20693 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20694 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20695 echo $ECHO_N "(cached) $ECHO_C" >&6
20697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20698 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20700 # Is the header compilable?
20701 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20702 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20703 cat >conftest.
$ac_ext <<_ACEOF
20706 cat confdefs.h
>>conftest.
$ac_ext
20707 cat >>conftest.
$ac_ext <<_ACEOF
20708 /* end confdefs.h. */
20709 $ac_includes_default
20710 #include <$ac_header>
20712 rm -f conftest.
$ac_objext
20713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20714 (eval $ac_compile) 2>conftest.er1
20716 grep -v '^ *+' conftest.er1
>conftest.err
20718 cat conftest.err
>&5
20719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20720 (exit $ac_status); } &&
20721 { ac_try
='test -z "$ac_cxx_werror_flag"
20722 || test ! -s conftest.err'
20723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20724 (eval $ac_try) 2>&5
20726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20727 (exit $ac_status); }; } &&
20728 { ac_try
='test -s conftest.$ac_objext'
20729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20730 (eval $ac_try) 2>&5
20732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20733 (exit $ac_status); }; }; then
20734 ac_header_compiler
=yes
20736 echo "$as_me: failed program was:" >&5
20737 sed 's/^/| /' conftest.
$ac_ext >&5
20739 ac_header_compiler
=no
20741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20742 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20743 echo "${ECHO_T}$ac_header_compiler" >&6
20745 # Is the header present?
20746 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20747 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20748 cat >conftest.
$ac_ext <<_ACEOF
20751 cat confdefs.h
>>conftest.
$ac_ext
20752 cat >>conftest.
$ac_ext <<_ACEOF
20753 /* end confdefs.h. */
20754 #include <$ac_header>
20756 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20757 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20759 grep -v '^ *+' conftest.er1
>conftest.err
20761 cat conftest.err
>&5
20762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20763 (exit $ac_status); } >/dev
/null
; then
20764 if test -s conftest.err
; then
20765 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20766 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20773 if test -z "$ac_cpp_err"; then
20774 ac_header_preproc
=yes
20776 echo "$as_me: failed program was:" >&5
20777 sed 's/^/| /' conftest.
$ac_ext >&5
20779 ac_header_preproc
=no
20781 rm -f conftest.err conftest.
$ac_ext
20782 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20783 echo "${ECHO_T}$ac_header_preproc" >&6
20785 # So? What about this header?
20786 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20788 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20789 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20790 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20791 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20792 ac_header_preproc
=yes
20795 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20796 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20797 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20798 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20799 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20800 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20801 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20802 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20803 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20804 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20805 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20806 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20809 ## ----------------------------------------- ##
20810 ## Report this to wx-dev@lists.wxwidgets.org ##
20811 ## ----------------------------------------- ##
20814 sed "s/^/$as_me: WARNING: /" >&2
20817 echo "$as_me:$LINENO: checking for $ac_header" >&5
20818 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20819 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20820 echo $ECHO_N "(cached) $ECHO_C" >&6
20822 eval "$as_ac_Header=\$ac_header_preproc"
20824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20825 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20828 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20829 cat >>confdefs.h
<<_ACEOF
20830 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20838 if test "$ac_cv_header_iostream" = "yes" ; then
20841 cat >>confdefs.h
<<\_ACEOF
20842 #define wxUSE_IOSTREAMH 1
20848 ac_cpp
='$CPP $CPPFLAGS'
20849 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20850 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20851 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20856 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
20857 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
20858 if test "${wx_cv_cpp_bool+set}" = set; then
20859 echo $ECHO_N "(cached) $ECHO_C" >&6
20865 ac_cpp
='$CXXCPP $CPPFLAGS'
20866 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20867 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20868 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20871 cat >conftest.
$ac_ext <<_ACEOF
20874 cat confdefs.h
>>conftest.
$ac_ext
20875 cat >>conftest.
$ac_ext <<_ACEOF
20876 /* end confdefs.h. */
20891 rm -f conftest.
$ac_objext
20892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20893 (eval $ac_compile) 2>conftest.er1
20895 grep -v '^ *+' conftest.er1
>conftest.err
20897 cat conftest.err
>&5
20898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20899 (exit $ac_status); } &&
20900 { ac_try
='test -z "$ac_cxx_werror_flag"
20901 || test ! -s conftest.err'
20902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20903 (eval $ac_try) 2>&5
20905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20906 (exit $ac_status); }; } &&
20907 { ac_try
='test -s conftest.$ac_objext'
20908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20909 (eval $ac_try) 2>&5
20911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20912 (exit $ac_status); }; }; then
20917 echo "$as_me: failed program was:" >&5
20918 sed 's/^/| /' conftest.
$ac_ext >&5
20925 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20928 ac_cpp
='$CPP $CPPFLAGS'
20929 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20930 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20931 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20935 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
20936 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
20938 if test "$wx_cv_cpp_bool" = "yes"; then
20939 cat >>confdefs.h
<<\_ACEOF
20940 #define HAVE_BOOL 1
20947 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
20948 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
20949 if test "${wx_cv_explicit+set}" = set; then
20950 echo $ECHO_N "(cached) $ECHO_C" >&6
20956 ac_cpp
='$CXXCPP $CPPFLAGS'
20957 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20958 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20959 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20962 cat >conftest.
$ac_ext <<_ACEOF
20965 cat confdefs.h
>>conftest.
$ac_ext
20966 cat >>conftest.
$ac_ext <<_ACEOF
20967 /* end confdefs.h. */
20969 class Foo { public: explicit Foo(int) {} };
20981 rm -f conftest.
$ac_objext
20982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20983 (eval $ac_compile) 2>conftest.er1
20985 grep -v '^ *+' conftest.er1
>conftest.err
20987 cat conftest.err
>&5
20988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20989 (exit $ac_status); } &&
20990 { ac_try
='test -z "$ac_cxx_werror_flag"
20991 || test ! -s conftest.err'
20992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20993 (eval $ac_try) 2>&5
20995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20996 (exit $ac_status); }; } &&
20997 { ac_try
='test -s conftest.$ac_objext'
20998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20999 (eval $ac_try) 2>&5
21001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21002 (exit $ac_status); }; }; then
21004 cat >conftest.
$ac_ext <<_ACEOF
21007 cat confdefs.h
>>conftest.
$ac_ext
21008 cat >>conftest.
$ac_ext <<_ACEOF
21009 /* end confdefs.h. */
21011 class Foo { public: explicit Foo(int) {} };
21012 static void TakeFoo(const Foo& foo) { }
21025 rm -f conftest.
$ac_objext
21026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21027 (eval $ac_compile) 2>conftest.er1
21029 grep -v '^ *+' conftest.er1
>conftest.err
21031 cat conftest.err
>&5
21032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21033 (exit $ac_status); } &&
21034 { ac_try
='test -z "$ac_cxx_werror_flag"
21035 || test ! -s conftest.err'
21036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21037 (eval $ac_try) 2>&5
21039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21040 (exit $ac_status); }; } &&
21041 { ac_try
='test -s conftest.$ac_objext'
21042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21043 (eval $ac_try) 2>&5
21045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21046 (exit $ac_status); }; }; then
21049 echo "$as_me: failed program was:" >&5
21050 sed 's/^/| /' conftest.
$ac_ext >&5
21055 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21058 echo "$as_me: failed program was:" >&5
21059 sed 's/^/| /' conftest.
$ac_ext >&5
21064 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21067 ac_cpp
='$CPP $CPPFLAGS'
21068 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21069 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21070 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21074 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
21075 echo "${ECHO_T}$wx_cv_explicit" >&6
21077 if test "$wx_cv_explicit" = "yes"; then
21078 cat >>confdefs.h
<<\_ACEOF
21079 #define HAVE_EXPLICIT 1
21085 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
21086 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
21087 if test "${ac_cv_cxx_const_cast+set}" = set; then
21088 echo $ECHO_N "(cached) $ECHO_C" >&6
21093 ac_cpp
='$CXXCPP $CPPFLAGS'
21094 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21095 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21096 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21098 cat >conftest.
$ac_ext <<_ACEOF
21101 cat confdefs.h
>>conftest.
$ac_ext
21102 cat >>conftest.
$ac_ext <<_ACEOF
21103 /* end confdefs.h. */
21108 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
21113 rm -f conftest.
$ac_objext
21114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21115 (eval $ac_compile) 2>conftest.er1
21117 grep -v '^ *+' conftest.er1
>conftest.err
21119 cat conftest.err
>&5
21120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21121 (exit $ac_status); } &&
21122 { ac_try
='test -z "$ac_cxx_werror_flag"
21123 || test ! -s conftest.err'
21124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21125 (eval $ac_try) 2>&5
21127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21128 (exit $ac_status); }; } &&
21129 { ac_try
='test -s conftest.$ac_objext'
21130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21131 (eval $ac_try) 2>&5
21133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21134 (exit $ac_status); }; }; then
21135 ac_cv_cxx_const_cast
=yes
21137 echo "$as_me: failed program was:" >&5
21138 sed 's/^/| /' conftest.
$ac_ext >&5
21140 ac_cv_cxx_const_cast
=no
21142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21144 ac_cpp
='$CPP $CPPFLAGS'
21145 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21146 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21147 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21151 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
21152 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
21153 if test "$ac_cv_cxx_const_cast" = yes; then
21155 cat >>confdefs.h
<<\_ACEOF
21156 #define HAVE_CONST_CAST
21161 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
21162 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
21163 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
21164 echo $ECHO_N "(cached) $ECHO_C" >&6
21169 ac_cpp
='$CXXCPP $CPPFLAGS'
21170 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21171 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21172 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21174 cat >conftest.
$ac_ext <<_ACEOF
21177 cat confdefs.h
>>conftest.
$ac_ext
21178 cat >>conftest.
$ac_ext <<_ACEOF
21179 /* end confdefs.h. */
21180 #include <typeinfo>
21181 class Base { public : Base () {} virtual void f () = 0;};
21182 class Derived : public Base { public : Derived () {} virtual void f () {} };
21183 class Unrelated { public : Unrelated () {} };
21184 int g (Unrelated&) { return 0; }
21189 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
21194 rm -f conftest.
$ac_objext
21195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21196 (eval $ac_compile) 2>conftest.er1
21198 grep -v '^ *+' conftest.er1
>conftest.err
21200 cat conftest.err
>&5
21201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21202 (exit $ac_status); } &&
21203 { ac_try
='test -z "$ac_cxx_werror_flag"
21204 || test ! -s conftest.err'
21205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21206 (eval $ac_try) 2>&5
21208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21209 (exit $ac_status); }; } &&
21210 { ac_try
='test -s conftest.$ac_objext'
21211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21212 (eval $ac_try) 2>&5
21214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21215 (exit $ac_status); }; }; then
21216 ac_cv_cxx_reinterpret_cast
=yes
21218 echo "$as_me: failed program was:" >&5
21219 sed 's/^/| /' conftest.
$ac_ext >&5
21221 ac_cv_cxx_reinterpret_cast
=no
21223 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21225 ac_cpp
='$CPP $CPPFLAGS'
21226 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21227 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21228 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21232 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
21233 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
21234 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
21236 cat >>confdefs.h
<<\_ACEOF
21237 #define HAVE_REINTERPRET_CAST
21242 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
21243 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
21244 if test "${ac_cv_cxx_static_cast+set}" = set; then
21245 echo $ECHO_N "(cached) $ECHO_C" >&6
21250 ac_cpp
='$CXXCPP $CPPFLAGS'
21251 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21252 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21253 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21255 cat >conftest.
$ac_ext <<_ACEOF
21258 cat confdefs.h
>>conftest.
$ac_ext
21259 cat >>conftest.
$ac_ext <<_ACEOF
21260 /* end confdefs.h. */
21261 #include <typeinfo>
21262 class Base { public : Base () {} virtual void f () = 0; };
21263 class Derived : public Base { public : Derived () {} virtual void f () {} };
21264 int g (Derived&) { return 0; }
21269 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
21274 rm -f conftest.
$ac_objext
21275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21276 (eval $ac_compile) 2>conftest.er1
21278 grep -v '^ *+' conftest.er1
>conftest.err
21280 cat conftest.err
>&5
21281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21282 (exit $ac_status); } &&
21283 { ac_try
='test -z "$ac_cxx_werror_flag"
21284 || test ! -s conftest.err'
21285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21286 (eval $ac_try) 2>&5
21288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21289 (exit $ac_status); }; } &&
21290 { ac_try
='test -s conftest.$ac_objext'
21291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21292 (eval $ac_try) 2>&5
21294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21295 (exit $ac_status); }; }; then
21296 ac_cv_cxx_static_cast
=yes
21298 echo "$as_me: failed program was:" >&5
21299 sed 's/^/| /' conftest.
$ac_ext >&5
21301 ac_cv_cxx_static_cast
=no
21303 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21305 ac_cpp
='$CPP $CPPFLAGS'
21306 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21307 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21308 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21312 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
21313 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
21314 if test "$ac_cv_cxx_static_cast" = yes; then
21316 cat >>confdefs.h
<<\_ACEOF
21317 #define HAVE_STATIC_CAST
21323 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21325 ac_cpp
='$CXXCPP $CPPFLAGS'
21326 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21327 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21328 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21331 if test "$wxUSE_UNICODE" = "yes"; then
21332 std_string
="std::wstring"
21333 char_type
="wchar_t"
21335 std_string
="std::string"
21339 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
21340 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
21341 cat >conftest.
$ac_ext <<_ACEOF
21344 cat confdefs.h
>>conftest.
$ac_ext
21345 cat >>conftest.
$ac_ext <<_ACEOF
21346 /* end confdefs.h. */
21356 rm -f conftest.
$ac_objext
21357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21358 (eval $ac_compile) 2>conftest.er1
21360 grep -v '^ *+' conftest.er1
>conftest.err
21362 cat conftest.err
>&5
21363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21364 (exit $ac_status); } &&
21365 { ac_try
='test -z "$ac_cxx_werror_flag"
21366 || test ! -s conftest.err'
21367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21368 (eval $ac_try) 2>&5
21370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21371 (exit $ac_status); }; } &&
21372 { ac_try
='test -s conftest.$ac_objext'
21373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21374 (eval $ac_try) 2>&5
21376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21377 (exit $ac_status); }; }; then
21378 echo "$as_me:$LINENO: result: yes" >&5
21379 echo "${ECHO_T}yes" >&6
21380 cat >>confdefs.h
<<\_ACEOF
21381 #define HAVE_STD_WSTRING 1
21385 echo "$as_me: failed program was:" >&5
21386 sed 's/^/| /' conftest.
$ac_ext >&5
21388 echo "$as_me:$LINENO: result: no" >&5
21389 echo "${ECHO_T}no" >&6
21390 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
21391 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
21392 cat >conftest.
$ac_ext <<_ACEOF
21395 cat confdefs.h
>>conftest.
$ac_ext
21396 cat >>conftest.
$ac_ext <<_ACEOF
21397 /* end confdefs.h. */
21399 #ifdef HAVE_WCHAR_H
21401 # include <stddef.h>
21403 # include <wchar.h>
21405 #ifdef HAVE_STDLIB_H
21406 # include <stdlib.h>
21414 std::basic_string<$char_type> foo;
21415 const $char_type* dummy = foo.c_str();
21420 rm -f conftest.
$ac_objext
21421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21422 (eval $ac_compile) 2>conftest.er1
21424 grep -v '^ *+' conftest.er1
>conftest.err
21426 cat conftest.err
>&5
21427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21428 (exit $ac_status); } &&
21429 { ac_try
='test -z "$ac_cxx_werror_flag"
21430 || test ! -s conftest.err'
21431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21432 (eval $ac_try) 2>&5
21434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21435 (exit $ac_status); }; } &&
21436 { ac_try
='test -s conftest.$ac_objext'
21437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21438 (eval $ac_try) 2>&5
21440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21441 (exit $ac_status); }; }; then
21442 echo "$as_me:$LINENO: result: yes" >&5
21443 echo "${ECHO_T}yes" >&6
21445 echo "$as_me: failed program was:" >&5
21446 sed 's/^/| /' conftest.
$ac_ext >&5
21448 echo "$as_me:$LINENO: result: no" >&5
21449 echo "${ECHO_T}no" >&6
21450 if test "$wxUSE_STL" = "yes"; then
21451 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
21452 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
21453 { (exit 1); exit 1; }; }
21454 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
21455 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
21456 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
21457 { (exit 1); exit 1; }; }
21459 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21460 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21461 wxUSE_STD_STRING
=no
21466 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21472 ac_cpp
='$CPP $CPPFLAGS'
21473 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21474 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21475 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21479 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21481 ac_cpp
='$CXXCPP $CPPFLAGS'
21482 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21483 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21484 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21487 echo "$as_me:$LINENO: checking for std::istream" >&5
21488 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
21489 if test "${ac_cv_type_std__istream+set}" = set; then
21490 echo $ECHO_N "(cached) $ECHO_C" >&6
21492 cat >conftest.
$ac_ext <<_ACEOF
21495 cat confdefs.h
>>conftest.
$ac_ext
21496 cat >>conftest.
$ac_ext <<_ACEOF
21497 /* end confdefs.h. */
21498 #include <iostream>
21503 if ((std::istream *) 0)
21505 if (sizeof (std::istream))
21511 rm -f conftest.
$ac_objext
21512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21513 (eval $ac_compile) 2>conftest.er1
21515 grep -v '^ *+' conftest.er1
>conftest.err
21517 cat conftest.err
>&5
21518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21519 (exit $ac_status); } &&
21520 { ac_try
='test -z "$ac_cxx_werror_flag"
21521 || test ! -s conftest.err'
21522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21523 (eval $ac_try) 2>&5
21525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21526 (exit $ac_status); }; } &&
21527 { ac_try
='test -s conftest.$ac_objext'
21528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21529 (eval $ac_try) 2>&5
21531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21532 (exit $ac_status); }; }; then
21533 ac_cv_type_std__istream
=yes
21535 echo "$as_me: failed program was:" >&5
21536 sed 's/^/| /' conftest.
$ac_ext >&5
21538 ac_cv_type_std__istream
=no
21540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21542 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
21543 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
21544 if test $ac_cv_type_std__istream = yes; then
21546 cat >>confdefs.h
<<_ACEOF
21547 #define HAVE_STD__ISTREAM 1
21552 wxUSE_STD_IOSTREAM
=no
21554 echo "$as_me:$LINENO: checking for std::ostream" >&5
21555 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
21556 if test "${ac_cv_type_std__ostream+set}" = set; then
21557 echo $ECHO_N "(cached) $ECHO_C" >&6
21559 cat >conftest.
$ac_ext <<_ACEOF
21562 cat confdefs.h
>>conftest.
$ac_ext
21563 cat >>conftest.
$ac_ext <<_ACEOF
21564 /* end confdefs.h. */
21565 #include <iostream>
21570 if ((std::ostream *) 0)
21572 if (sizeof (std::ostream))
21578 rm -f conftest.
$ac_objext
21579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21580 (eval $ac_compile) 2>conftest.er1
21582 grep -v '^ *+' conftest.er1
>conftest.err
21584 cat conftest.err
>&5
21585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21586 (exit $ac_status); } &&
21587 { ac_try
='test -z "$ac_cxx_werror_flag"
21588 || test ! -s conftest.err'
21589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21590 (eval $ac_try) 2>&5
21592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21593 (exit $ac_status); }; } &&
21594 { ac_try
='test -s conftest.$ac_objext'
21595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21596 (eval $ac_try) 2>&5
21598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21599 (exit $ac_status); }; }; then
21600 ac_cv_type_std__ostream
=yes
21602 echo "$as_me: failed program was:" >&5
21603 sed 's/^/| /' conftest.
$ac_ext >&5
21605 ac_cv_type_std__ostream
=no
21607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21609 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
21610 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
21611 if test $ac_cv_type_std__ostream = yes; then
21613 cat >>confdefs.h
<<_ACEOF
21614 #define HAVE_STD__OSTREAM 1
21619 wxUSE_STD_IOSTREAM
=no
21623 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21624 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
21625 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
21626 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
21627 { (exit 1); exit 1; }; }
21629 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21630 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21635 ac_cpp
='$CPP $CPPFLAGS'
21636 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21637 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21638 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21642 if test "$wxUSE_STL" = "yes"; then
21644 ac_cpp
='$CXXCPP $CPPFLAGS'
21645 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21646 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21647 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21650 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
21651 echo $ECHO_N "checking for basic STL functionality... $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. */
21659 #include <functional>
21660 #include <algorithm>
21666 std::vector<int> moo;
21667 std::list<int> foo;
21668 std::vector<int>::iterator it =
21669 std::find_if(moo.begin(), moo.end(),
21670 std::bind2nd(std::less<int>(), 3));
21675 rm -f conftest.
$ac_objext
21676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21677 (eval $ac_compile) 2>conftest.er1
21679 grep -v '^ *+' conftest.er1
>conftest.err
21681 cat conftest.err
>&5
21682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21683 (exit $ac_status); } &&
21684 { ac_try
='test -z "$ac_cxx_werror_flag"
21685 || test ! -s conftest.err'
21686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21687 (eval $ac_try) 2>&5
21689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21690 (exit $ac_status); }; } &&
21691 { ac_try
='test -s conftest.$ac_objext'
21692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21693 (eval $ac_try) 2>&5
21695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21696 (exit $ac_status); }; }; then
21697 echo "$as_me:$LINENO: result: yes" >&5
21698 echo "${ECHO_T}yes" >&6
21700 echo "$as_me: failed program was:" >&5
21701 sed 's/^/| /' conftest.
$ac_ext >&5
21703 echo "$as_me:$LINENO: result: no" >&5
21704 echo "${ECHO_T}no" >&6
21705 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
21706 echo "$as_me: error: Basic STL functionality missing" >&2;}
21707 { (exit 1); exit 1; }; }
21709 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21711 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
21712 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
21713 cat >conftest.
$ac_ext <<_ACEOF
21716 cat confdefs.h
>>conftest.
$ac_ext
21717 cat >>conftest.
$ac_ext <<_ACEOF
21718 /* end confdefs.h. */
21723 std::string foo, bar;
21725 foo.compare(1, 1, bar);
21726 foo.compare(1, 1, bar, 1, 1);
21728 foo.compare(1, 1, "");
21729 foo.compare(1, 1, "", 2);
21734 rm -f conftest.
$ac_objext
21735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21736 (eval $ac_compile) 2>conftest.er1
21738 grep -v '^ *+' conftest.er1
>conftest.err
21740 cat conftest.err
>&5
21741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21742 (exit $ac_status); } &&
21743 { ac_try
='test -z "$ac_cxx_werror_flag"
21744 || test ! -s conftest.err'
21745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21746 (eval $ac_try) 2>&5
21748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21749 (exit $ac_status); }; } &&
21750 { ac_try
='test -s conftest.$ac_objext'
21751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21752 (eval $ac_try) 2>&5
21754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21755 (exit $ac_status); }; }; then
21756 echo "$as_me:$LINENO: result: yes" >&5
21757 echo "${ECHO_T}yes" >&6
21758 cat >>confdefs.h
<<\_ACEOF
21759 #define HAVE_STD_STRING_COMPARE 1
21763 echo "$as_me: failed program was:" >&5
21764 sed 's/^/| /' conftest.
$ac_ext >&5
21766 echo "$as_me:$LINENO: result: no" >&5
21767 echo "${ECHO_T}no" >&6
21769 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21771 if test "${ac_cv_header_hash_map+set}" = set; then
21772 echo "$as_me:$LINENO: checking for hash_map" >&5
21773 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21774 if test "${ac_cv_header_hash_map+set}" = set; then
21775 echo $ECHO_N "(cached) $ECHO_C" >&6
21777 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21778 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21780 # Is the header compilable?
21781 echo "$as_me:$LINENO: checking hash_map usability" >&5
21782 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
21783 cat >conftest.
$ac_ext <<_ACEOF
21786 cat confdefs.h
>>conftest.
$ac_ext
21787 cat >>conftest.
$ac_ext <<_ACEOF
21788 /* end confdefs.h. */
21789 $ac_includes_default
21790 #include <hash_map>
21792 rm -f conftest.
$ac_objext
21793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21794 (eval $ac_compile) 2>conftest.er1
21796 grep -v '^ *+' conftest.er1
>conftest.err
21798 cat conftest.err
>&5
21799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21800 (exit $ac_status); } &&
21801 { ac_try
='test -z "$ac_cxx_werror_flag"
21802 || test ! -s conftest.err'
21803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21804 (eval $ac_try) 2>&5
21806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21807 (exit $ac_status); }; } &&
21808 { ac_try
='test -s conftest.$ac_objext'
21809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21810 (eval $ac_try) 2>&5
21812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21813 (exit $ac_status); }; }; then
21814 ac_header_compiler
=yes
21816 echo "$as_me: failed program was:" >&5
21817 sed 's/^/| /' conftest.
$ac_ext >&5
21819 ac_header_compiler
=no
21821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21822 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21823 echo "${ECHO_T}$ac_header_compiler" >&6
21825 # Is the header present?
21826 echo "$as_me:$LINENO: checking hash_map presence" >&5
21827 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
21828 cat >conftest.
$ac_ext <<_ACEOF
21831 cat confdefs.h
>>conftest.
$ac_ext
21832 cat >>conftest.
$ac_ext <<_ACEOF
21833 /* end confdefs.h. */
21834 #include <hash_map>
21836 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21837 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
21844 if test -s conftest.err
; then
21845 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21846 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21853 if test -z "$ac_cpp_err"; then
21854 ac_header_preproc
=yes
21856 echo "$as_me: failed program was:" >&5
21857 sed 's/^/| /' conftest.
$ac_ext >&5
21859 ac_header_preproc
=no
21861 rm -f conftest.err conftest.
$ac_ext
21862 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21863 echo "${ECHO_T}$ac_header_preproc" >&6
21865 # So? What about this header?
21866 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21868 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21869 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21870 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
21871 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
21872 ac_header_preproc
=yes
21875 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
21876 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
21877 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
21878 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
21879 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
21880 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
21881 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
21882 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21883 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
21884 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
21885 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
21886 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
21889 ## ----------------------------------------- ##
21890 ## Report this to wx-dev@lists.wxwidgets.org ##
21891 ## ----------------------------------------- ##
21894 sed "s/^/$as_me: WARNING: /" >&2
21897 echo "$as_me:$LINENO: checking for hash_map" >&5
21898 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21899 if test "${ac_cv_header_hash_map+set}" = set; then
21900 echo $ECHO_N "(cached) $ECHO_C" >&6
21902 ac_cv_header_hash_map
=$ac_header_preproc
21904 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21905 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21908 if test $ac_cv_header_hash_map = yes; then
21909 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21910 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21911 cat >conftest.
$ac_ext <<_ACEOF
21914 cat confdefs.h
>>conftest.
$ac_ext
21915 cat >>conftest.
$ac_ext <<_ACEOF
21916 /* end confdefs.h. */
21917 #include <hash_map>
21918 #include <hash_set>
21922 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21923 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21928 rm -f conftest.
$ac_objext
21929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21930 (eval $ac_compile) 2>conftest.er1
21932 grep -v '^ *+' conftest.er1
>conftest.err
21934 cat conftest.err
>&5
21935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21936 (exit $ac_status); } &&
21937 { ac_try
='test -z "$ac_cxx_werror_flag"
21938 || test ! -s conftest.err'
21939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21940 (eval $ac_try) 2>&5
21942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21943 (exit $ac_status); }; } &&
21944 { ac_try
='test -s conftest.$ac_objext'
21945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21946 (eval $ac_try) 2>&5
21948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21949 (exit $ac_status); }; }; then
21950 echo "$as_me:$LINENO: result: yes" >&5
21951 echo "${ECHO_T}yes" >&6
21952 cat >>confdefs.h
<<\_ACEOF
21953 #define HAVE_HASH_MAP 1
21956 cat >>confdefs.h
<<\_ACEOF
21957 #define HAVE_STD_HASH_MAP 1
21961 echo "$as_me: failed program was:" >&5
21962 sed 's/^/| /' conftest.
$ac_ext >&5
21964 echo "$as_me:$LINENO: result: no" >&5
21965 echo "${ECHO_T}no" >&6
21967 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21973 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21974 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21975 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21976 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21977 echo $ECHO_N "(cached) $ECHO_C" >&6
21979 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21980 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21982 # Is the header compilable?
21983 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
21984 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
21985 cat >conftest.
$ac_ext <<_ACEOF
21988 cat confdefs.h
>>conftest.
$ac_ext
21989 cat >>conftest.
$ac_ext <<_ACEOF
21990 /* end confdefs.h. */
21991 $ac_includes_default
21992 #include <ext/hash_map>
21994 rm -f conftest.
$ac_objext
21995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21996 (eval $ac_compile) 2>conftest.er1
21998 grep -v '^ *+' conftest.er1
>conftest.err
22000 cat conftest.err
>&5
22001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22002 (exit $ac_status); } &&
22003 { ac_try
='test -z "$ac_cxx_werror_flag"
22004 || test ! -s conftest.err'
22005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22006 (eval $ac_try) 2>&5
22008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22009 (exit $ac_status); }; } &&
22010 { ac_try
='test -s conftest.$ac_objext'
22011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22012 (eval $ac_try) 2>&5
22014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22015 (exit $ac_status); }; }; then
22016 ac_header_compiler
=yes
22018 echo "$as_me: failed program was:" >&5
22019 sed 's/^/| /' conftest.
$ac_ext >&5
22021 ac_header_compiler
=no
22023 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22024 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22025 echo "${ECHO_T}$ac_header_compiler" >&6
22027 # Is the header present?
22028 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
22029 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
22030 cat >conftest.
$ac_ext <<_ACEOF
22033 cat confdefs.h
>>conftest.
$ac_ext
22034 cat >>conftest.
$ac_ext <<_ACEOF
22035 /* end confdefs.h. */
22036 #include <ext/hash_map>
22038 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22039 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22041 grep -v '^ *+' conftest.er1
>conftest.err
22043 cat conftest.err
>&5
22044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22045 (exit $ac_status); } >/dev
/null
; then
22046 if test -s conftest.err
; then
22047 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22048 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22055 if test -z "$ac_cpp_err"; then
22056 ac_header_preproc
=yes
22058 echo "$as_me: failed program was:" >&5
22059 sed 's/^/| /' conftest.
$ac_ext >&5
22061 ac_header_preproc
=no
22063 rm -f conftest.err conftest.
$ac_ext
22064 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22065 echo "${ECHO_T}$ac_header_preproc" >&6
22067 # So? What about this header?
22068 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22070 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
22071 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
22072 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
22073 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
22074 ac_header_preproc
=yes
22077 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
22078 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
22079 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
22080 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
22081 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
22082 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
22083 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
22084 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
22085 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
22086 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
22087 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
22088 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
22091 ## ----------------------------------------- ##
22092 ## Report this to wx-dev@lists.wxwidgets.org ##
22093 ## ----------------------------------------- ##
22096 sed "s/^/$as_me: WARNING: /" >&2
22099 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
22100 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
22101 if test "${ac_cv_header_ext_hash_map+set}" = set; then
22102 echo $ECHO_N "(cached) $ECHO_C" >&6
22104 ac_cv_header_ext_hash_map
=$ac_header_preproc
22106 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
22107 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
22110 if test $ac_cv_header_ext_hash_map = yes; then
22111 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
22112 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
22113 cat >conftest.
$ac_ext <<_ACEOF
22116 cat confdefs.h
>>conftest.
$ac_ext
22117 cat >>conftest.
$ac_ext <<_ACEOF
22118 /* end confdefs.h. */
22119 #include <ext/hash_map>
22120 #include <ext/hash_set>
22124 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
22125 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
22130 rm -f conftest.
$ac_objext
22131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22132 (eval $ac_compile) 2>conftest.er1
22134 grep -v '^ *+' conftest.er1
>conftest.err
22136 cat conftest.err
>&5
22137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22138 (exit $ac_status); } &&
22139 { ac_try
='test -z "$ac_cxx_werror_flag"
22140 || test ! -s conftest.err'
22141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22142 (eval $ac_try) 2>&5
22144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22145 (exit $ac_status); }; } &&
22146 { ac_try
='test -s conftest.$ac_objext'
22147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22148 (eval $ac_try) 2>&5
22150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22151 (exit $ac_status); }; }; then
22152 echo "$as_me:$LINENO: result: yes" >&5
22153 echo "${ECHO_T}yes" >&6
22154 cat >>confdefs.h
<<\_ACEOF
22155 #define HAVE_EXT_HASH_MAP 1
22158 cat >>confdefs.h
<<\_ACEOF
22159 #define HAVE_GNU_CXX_HASH_MAP 1
22163 echo "$as_me: failed program was:" >&5
22164 sed 's/^/| /' conftest.
$ac_ext >&5
22166 echo "$as_me:$LINENO: result: no" >&5
22167 echo "${ECHO_T}no" >&6
22169 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22176 ac_cpp
='$CPP $CPPFLAGS'
22177 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22178 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22179 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22185 /usr/local/include \
22187 /usr/Motif-2.1/include \
22188 /usr/Motif-1.2/include \
22189 /usr/include/Motif1.2 \
22190 /opt/xpm/include/X11 \
22191 /opt/GBxpm/include/ \
22192 /opt/GBxpm/X11/include/ \
22195 /usr/openwin/include \
22199 /usr/X11R6/include \
22200 /usr/X11R6.4/include \
22201 /usr/X11R5/include \
22202 /usr/X11R4/include \
22204 /usr/include/X11R6 \
22205 /usr/include/X11R5 \
22206 /usr/include/X11R4 \
22208 /usr/local/X11R6/include \
22209 /usr/local/X11R5/include \
22210 /usr/local/X11R4/include \
22212 /usr/local/include/X11R6 \
22213 /usr/local/include/X11R5 \
22214 /usr/local/include/X11R4 \
22218 /usr/local/X11/include \
22219 /usr/local/include/X11 \
22221 /usr/X386/include \
22222 /usr/x386/include \
22223 /usr/XFree86/include/X11 \
22225 X:/XFree86/include \
22226 X:/XFree86/include/X11 \
22229 /usr/local/include/gtk \
22230 /usr/include/glib \
22231 /usr/local/include/glib \
22234 /usr/local/include/qt \
22236 /usr/local/arm/3.3.2/include \
22238 /usr/include/windows \
22239 /usr/include/wine \
22240 /usr/local/include/wine \
22242 /usr/unsupported/include \
22243 /usr/athena/include \
22244 /usr/local/x11r5/include \
22245 /usr/lpp/Xamples/include \
22247 /usr/openwin/share/include"
22249 SEARCH_LIB
="/usr/lib /usr/lib32 /usr/lib64 /usr/X11R6/lib64 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g`"
22252 cat >confcache
<<\_ACEOF
22253 # This file is a shell script that caches the results of configure
22254 # tests run on this system so they can be shared between configure
22255 # scripts and configure runs, see configure's option --config-cache.
22256 # It is not useful on other systems. If it contains results you don't
22257 # want to keep, you may remove or edit it.
22259 # config.status only pays attention to the cache file if you give it
22260 # the --recheck option to rerun configure.
22262 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22263 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22264 # following values.
22268 # The following way of writing the cache mishandles newlines in values,
22269 # but we know of no workaround that is simple, portable, and efficient.
22270 # So, don't put newlines in cache variables' values.
22271 # Ultrix sh set writes to stderr and can't be redirected directly,
22272 # and sets the high bit in the cache file unless we assign to the vars.
22275 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22277 # `set' does not quote correctly, so add quotes (double-quote
22278 # substitution turns \\\\ into \\, and sed turns \\ into \).
22281 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22284 # `set' quotes correctly as required by POSIX, so do not add quotes.
22286 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22293 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22295 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22297 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
22298 if test -w $cache_file; then
22299 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22300 cat confcache
>$cache_file
22302 echo "not updating unwritable cache $cache_file"
22307 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
22308 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
22309 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
22310 if test "${wx_cv_lib_glibc21+set}" = set; then
22311 echo $ECHO_N "(cached) $ECHO_C" >&6
22314 cat >conftest.
$ac_ext <<_ACEOF
22317 cat confdefs.h
>>conftest.
$ac_ext
22318 cat >>conftest.
$ac_ext <<_ACEOF
22319 /* end confdefs.h. */
22320 #include <features.h>
22325 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
22326 #error not glibc2.1
22333 rm -f conftest.
$ac_objext
22334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22335 (eval $ac_compile) 2>conftest.er1
22337 grep -v '^ *+' conftest.er1
>conftest.err
22339 cat conftest.err
>&5
22340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22341 (exit $ac_status); } &&
22342 { ac_try
='test -z "$ac_c_werror_flag"
22343 || test ! -s conftest.err'
22344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22345 (eval $ac_try) 2>&5
22347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22348 (exit $ac_status); }; } &&
22349 { ac_try
='test -s conftest.$ac_objext'
22350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22351 (eval $ac_try) 2>&5
22353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22354 (exit $ac_status); }; }; then
22356 wx_cv_lib_glibc21
=yes
22359 echo "$as_me: failed program was:" >&5
22360 sed 's/^/| /' conftest.
$ac_ext >&5
22363 wx_cv_lib_glibc21
=no
22367 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22370 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
22371 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
22372 if test "$wx_cv_lib_glibc21" = "yes"; then
22373 cat >>confdefs.h
<<\_ACEOF
22374 #define wxHAVE_GLIBC2 1
22380 if test "x$wx_cv_lib_glibc21" = "xyes"; then
22381 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
22382 cat >>confdefs.h
<<\_ACEOF
22383 #define _GNU_SOURCE 1
22391 if test "$wxUSE_REGEX" != "no"; then
22392 cat >>confdefs.h
<<\_ACEOF
22393 #define wxUSE_REGEX 1
22397 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22398 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
22399 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
22400 wxUSE_REGEX
=builtin
22403 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22404 if test "${ac_cv_header_regex_h+set}" = set; then
22405 echo "$as_me:$LINENO: checking for regex.h" >&5
22406 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22407 if test "${ac_cv_header_regex_h+set}" = set; then
22408 echo $ECHO_N "(cached) $ECHO_C" >&6
22410 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22411 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22413 # Is the header compilable?
22414 echo "$as_me:$LINENO: checking regex.h usability" >&5
22415 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
22416 cat >conftest.
$ac_ext <<_ACEOF
22419 cat confdefs.h
>>conftest.
$ac_ext
22420 cat >>conftest.
$ac_ext <<_ACEOF
22421 /* end confdefs.h. */
22422 $ac_includes_default
22425 rm -f conftest.
$ac_objext
22426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22427 (eval $ac_compile) 2>conftest.er1
22429 grep -v '^ *+' conftest.er1
>conftest.err
22431 cat conftest.err
>&5
22432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22433 (exit $ac_status); } &&
22434 { ac_try
='test -z "$ac_c_werror_flag"
22435 || test ! -s conftest.err'
22436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22437 (eval $ac_try) 2>&5
22439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22440 (exit $ac_status); }; } &&
22441 { ac_try
='test -s conftest.$ac_objext'
22442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22443 (eval $ac_try) 2>&5
22445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22446 (exit $ac_status); }; }; then
22447 ac_header_compiler
=yes
22449 echo "$as_me: failed program was:" >&5
22450 sed 's/^/| /' conftest.
$ac_ext >&5
22452 ac_header_compiler
=no
22454 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22455 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22456 echo "${ECHO_T}$ac_header_compiler" >&6
22458 # Is the header present?
22459 echo "$as_me:$LINENO: checking regex.h presence" >&5
22460 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
22461 cat >conftest.
$ac_ext <<_ACEOF
22464 cat confdefs.h
>>conftest.
$ac_ext
22465 cat >>conftest.
$ac_ext <<_ACEOF
22466 /* end confdefs.h. */
22469 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22470 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22472 grep -v '^ *+' conftest.er1
>conftest.err
22474 cat conftest.err
>&5
22475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22476 (exit $ac_status); } >/dev
/null
; then
22477 if test -s conftest.err
; then
22478 ac_cpp_err
=$ac_c_preproc_warn_flag
22479 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22486 if test -z "$ac_cpp_err"; then
22487 ac_header_preproc
=yes
22489 echo "$as_me: failed program was:" >&5
22490 sed 's/^/| /' conftest.
$ac_ext >&5
22492 ac_header_preproc
=no
22494 rm -f conftest.err conftest.
$ac_ext
22495 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22496 echo "${ECHO_T}$ac_header_preproc" >&6
22498 # So? What about this header?
22499 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22501 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
22502 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22503 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
22504 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
22505 ac_header_preproc
=yes
22508 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
22509 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
22510 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
22511 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
22512 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
22513 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
22514 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
22515 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
22516 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
22517 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
22518 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
22519 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
22522 ## ----------------------------------------- ##
22523 ## Report this to wx-dev@lists.wxwidgets.org ##
22524 ## ----------------------------------------- ##
22527 sed "s/^/$as_me: WARNING: /" >&2
22530 echo "$as_me:$LINENO: checking for regex.h" >&5
22531 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22532 if test "${ac_cv_header_regex_h+set}" = set; then
22533 echo $ECHO_N "(cached) $ECHO_C" >&6
22535 ac_cv_header_regex_h
=$ac_header_preproc
22537 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22538 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22541 if test $ac_cv_header_regex_h = yes; then
22543 for ac_func
in regcomp
22545 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22546 echo "$as_me:$LINENO: checking for $ac_func" >&5
22547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22548 if eval "test \"\${$as_ac_var+set}\" = set"; then
22549 echo $ECHO_N "(cached) $ECHO_C" >&6
22551 cat >conftest.
$ac_ext <<_ACEOF
22554 cat confdefs.h
>>conftest.
$ac_ext
22555 cat >>conftest.
$ac_ext <<_ACEOF
22556 /* end confdefs.h. */
22557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22559 #define $ac_func innocuous_$ac_func
22561 /* System header to define __stub macros and hopefully few prototypes,
22562 which can conflict with char $ac_func (); below.
22563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22564 <limits.h> exists even on freestanding compilers. */
22567 # include <limits.h>
22569 # include <assert.h>
22574 /* Override any gcc2 internal prototype to avoid an error. */
22579 /* We use char because int might match the return type of a gcc2
22580 builtin and then its argument prototype would still apply. */
22582 /* The GNU C library defines this for functions which it implements
22583 to always fail with ENOSYS. Some functions are actually named
22584 something starting with __ and the normal name is an alias. */
22585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22588 char (*f) () = $ac_func;
22597 return f != $ac_func;
22602 rm -f conftest.
$ac_objext conftest
$ac_exeext
22603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22604 (eval $ac_link) 2>conftest.er1
22606 grep -v '^ *+' conftest.er1
>conftest.err
22608 cat conftest.err
>&5
22609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22610 (exit $ac_status); } &&
22611 { ac_try
='test -z "$ac_c_werror_flag"
22612 || test ! -s conftest.err'
22613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22614 (eval $ac_try) 2>&5
22616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22617 (exit $ac_status); }; } &&
22618 { ac_try
='test -s conftest$ac_exeext'
22619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22620 (eval $ac_try) 2>&5
22622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22623 (exit $ac_status); }; }; then
22624 eval "$as_ac_var=yes"
22626 echo "$as_me: failed program was:" >&5
22627 sed 's/^/| /' conftest.
$ac_ext >&5
22629 eval "$as_ac_var=no"
22631 rm -f conftest.err conftest.
$ac_objext \
22632 conftest
$ac_exeext conftest.
$ac_ext
22634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22635 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22636 if test `eval echo '${'$as_ac_var'}'` = yes; then
22637 cat >>confdefs.h
<<_ACEOF
22638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22648 if test "x$ac_cv_func_regcomp" != "xyes"; then
22649 if test "$wxUSE_REGEX" = "sys" ; then
22650 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
22651 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
22652 { (exit 1); exit 1; }; }
22654 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
22655 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22656 wxUSE_REGEX
=builtin
22660 cat >>confdefs.h
<<\_ACEOF
22661 #define WX_NO_REGEX_ADVANCED 1
22670 if test "$wxUSE_ZLIB" != "no" ; then
22671 cat >>confdefs.h
<<\_ACEOF
22672 #define wxUSE_ZLIB 1
22676 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22677 if test "$USE_DARWIN" = 1; then
22678 system_zlib_h_ok
="yes"
22680 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
22681 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
22682 if test "${ac_cv_header_zlib_h+set}" = set; then
22683 echo $ECHO_N "(cached) $ECHO_C" >&6
22685 if test "$cross_compiling" = yes; then
22686 unset ac_cv_header_zlib_h
22689 cat >conftest.
$ac_ext <<_ACEOF
22692 cat confdefs.h
>>conftest.
$ac_ext
22693 cat >>conftest.
$ac_ext <<_ACEOF
22694 /* end confdefs.h. */
22701 FILE *f=fopen("conftestval", "w");
22704 ZLIB_VERSION[0] == '1' &&
22705 (ZLIB_VERSION[2] > '1' ||
22706 (ZLIB_VERSION[2] == '1' &&
22707 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22712 rm -f conftest
$ac_exeext
22713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22714 (eval $ac_link) 2>&5
22716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22717 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22719 (eval $ac_try) 2>&5
22721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22722 (exit $ac_status); }; }; then
22723 ac_cv_header_zlib_h
=`cat conftestval`
22725 echo "$as_me: program exited with status $ac_status" >&5
22726 echo "$as_me: failed program was:" >&5
22727 sed 's/^/| /' conftest.
$ac_ext >&5
22729 ( exit $ac_status )
22730 ac_cv_header_zlib_h
=no
22732 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22736 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22737 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22738 if test "${ac_cv_header_zlib_h+set}" = set; then
22739 echo "$as_me:$LINENO: checking for zlib.h" >&5
22740 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22741 if test "${ac_cv_header_zlib_h+set}" = set; then
22742 echo $ECHO_N "(cached) $ECHO_C" >&6
22744 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22745 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22747 # Is the header compilable?
22748 echo "$as_me:$LINENO: checking zlib.h usability" >&5
22749 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
22750 cat >conftest.
$ac_ext <<_ACEOF
22753 cat confdefs.h
>>conftest.
$ac_ext
22754 cat >>conftest.
$ac_ext <<_ACEOF
22755 /* end confdefs.h. */
22756 $ac_includes_default
22759 rm -f conftest.
$ac_objext
22760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22761 (eval $ac_compile) 2>conftest.er1
22763 grep -v '^ *+' conftest.er1
>conftest.err
22765 cat conftest.err
>&5
22766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22767 (exit $ac_status); } &&
22768 { ac_try
='test -z "$ac_c_werror_flag"
22769 || test ! -s conftest.err'
22770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22771 (eval $ac_try) 2>&5
22773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22774 (exit $ac_status); }; } &&
22775 { ac_try
='test -s conftest.$ac_objext'
22776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22777 (eval $ac_try) 2>&5
22779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22780 (exit $ac_status); }; }; then
22781 ac_header_compiler
=yes
22783 echo "$as_me: failed program was:" >&5
22784 sed 's/^/| /' conftest.
$ac_ext >&5
22786 ac_header_compiler
=no
22788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22789 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22790 echo "${ECHO_T}$ac_header_compiler" >&6
22792 # Is the header present?
22793 echo "$as_me:$LINENO: checking zlib.h presence" >&5
22794 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
22795 cat >conftest.
$ac_ext <<_ACEOF
22798 cat confdefs.h
>>conftest.
$ac_ext
22799 cat >>conftest.
$ac_ext <<_ACEOF
22800 /* end confdefs.h. */
22803 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22804 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22806 grep -v '^ *+' conftest.er1
>conftest.err
22808 cat conftest.err
>&5
22809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22810 (exit $ac_status); } >/dev
/null
; then
22811 if test -s conftest.err
; then
22812 ac_cpp_err
=$ac_c_preproc_warn_flag
22813 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22820 if test -z "$ac_cpp_err"; then
22821 ac_header_preproc
=yes
22823 echo "$as_me: failed program was:" >&5
22824 sed 's/^/| /' conftest.
$ac_ext >&5
22826 ac_header_preproc
=no
22828 rm -f conftest.err conftest.
$ac_ext
22829 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22830 echo "${ECHO_T}$ac_header_preproc" >&6
22832 # So? What about this header?
22833 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22835 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
22836 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22837 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
22838 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
22839 ac_header_preproc
=yes
22842 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
22843 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
22844 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
22845 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
22846 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
22847 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
22848 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
22849 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
22850 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
22851 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
22852 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
22853 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
22856 ## ----------------------------------------- ##
22857 ## Report this to wx-dev@lists.wxwidgets.org ##
22858 ## ----------------------------------------- ##
22861 sed "s/^/$as_me: WARNING: /" >&2
22864 echo "$as_me:$LINENO: checking for zlib.h" >&5
22865 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22866 if test "${ac_cv_header_zlib_h+set}" = set; then
22867 echo $ECHO_N "(cached) $ECHO_C" >&6
22869 ac_cv_header_zlib_h
=$ac_header_preproc
22871 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22872 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22878 system_zlib_h_ok
=$ac_cv_header_zlib_h
22881 if test "$system_zlib_h_ok" = "yes"; then
22882 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
22883 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
22884 if test "${ac_cv_lib_z_deflate+set}" = set; then
22885 echo $ECHO_N "(cached) $ECHO_C" >&6
22887 ac_check_lib_save_LIBS
=$LIBS
22889 cat >conftest.
$ac_ext <<_ACEOF
22892 cat confdefs.h
>>conftest.
$ac_ext
22893 cat >>conftest.
$ac_ext <<_ACEOF
22894 /* end confdefs.h. */
22896 /* Override any gcc2 internal prototype to avoid an error. */
22900 /* We use char because int might match the return type of a gcc2
22901 builtin and then its argument prototype would still apply. */
22911 rm -f conftest.
$ac_objext conftest
$ac_exeext
22912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22913 (eval $ac_link) 2>conftest.er1
22915 grep -v '^ *+' conftest.er1
>conftest.err
22917 cat conftest.err
>&5
22918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22919 (exit $ac_status); } &&
22920 { ac_try
='test -z "$ac_c_werror_flag"
22921 || test ! -s conftest.err'
22922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22923 (eval $ac_try) 2>&5
22925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22926 (exit $ac_status); }; } &&
22927 { ac_try
='test -s conftest$ac_exeext'
22928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22929 (eval $ac_try) 2>&5
22931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22932 (exit $ac_status); }; }; then
22933 ac_cv_lib_z_deflate
=yes
22935 echo "$as_me: failed program was:" >&5
22936 sed 's/^/| /' conftest.
$ac_ext >&5
22938 ac_cv_lib_z_deflate
=no
22940 rm -f conftest.err conftest.
$ac_objext \
22941 conftest
$ac_exeext conftest.
$ac_ext
22942 LIBS
=$ac_check_lib_save_LIBS
22944 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
22945 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
22946 if test $ac_cv_lib_z_deflate = yes; then
22952 if test "x$ZLIB_LINK" = "x" ; then
22953 if test "$wxUSE_ZLIB" = "sys" ; then
22954 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
22955 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
22956 { (exit 1); exit 1; }; }
22958 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
22959 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22970 if test "$wxUSE_LIBPNG" != "no" ; then
22971 cat >>confdefs.h
<<\_ACEOF
22972 #define wxUSE_LIBPNG 1
22976 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
22977 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
22978 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
22982 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22983 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22984 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22985 wxUSE_LIBPNG
=builtin
22988 if test "$wxUSE_MGL" != 1 ; then
22989 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22990 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
22991 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
22992 if test "${ac_cv_header_png_h+set}" = set; then
22993 echo $ECHO_N "(cached) $ECHO_C" >&6
22995 if test "$cross_compiling" = yes; then
22996 unset ac_cv_header_png_h
22999 cat >conftest.
$ac_ext <<_ACEOF
23002 cat confdefs.h
>>conftest.
$ac_ext
23003 cat >>conftest.
$ac_ext <<_ACEOF
23004 /* end confdefs.h. */
23011 FILE *f=fopen("conftestval", "w");
23014 PNG_LIBPNG_VER > 90 ? "yes" : "no");
23019 rm -f conftest
$ac_exeext
23020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23021 (eval $ac_link) 2>&5
23023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23024 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23026 (eval $ac_try) 2>&5
23028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23029 (exit $ac_status); }; }; then
23030 ac_cv_header_png_h
=`cat conftestval`
23032 echo "$as_me: program exited with status $ac_status" >&5
23033 echo "$as_me: failed program was:" >&5
23034 sed 's/^/| /' conftest.
$ac_ext >&5
23036 ( exit $ac_status )
23037 ac_cv_header_png_h
=no
23039 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23043 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23044 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23045 if test "${ac_cv_header_png_h+set}" = set; then
23046 echo "$as_me:$LINENO: checking for png.h" >&5
23047 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
23048 if test "${ac_cv_header_png_h+set}" = set; then
23049 echo $ECHO_N "(cached) $ECHO_C" >&6
23051 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23052 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23054 # Is the header compilable?
23055 echo "$as_me:$LINENO: checking png.h usability" >&5
23056 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
23057 cat >conftest.
$ac_ext <<_ACEOF
23060 cat confdefs.h
>>conftest.
$ac_ext
23061 cat >>conftest.
$ac_ext <<_ACEOF
23062 /* end confdefs.h. */
23063 $ac_includes_default
23066 rm -f conftest.
$ac_objext
23067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23068 (eval $ac_compile) 2>conftest.er1
23070 grep -v '^ *+' conftest.er1
>conftest.err
23072 cat conftest.err
>&5
23073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23074 (exit $ac_status); } &&
23075 { ac_try
='test -z "$ac_c_werror_flag"
23076 || test ! -s conftest.err'
23077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23078 (eval $ac_try) 2>&5
23080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23081 (exit $ac_status); }; } &&
23082 { ac_try
='test -s conftest.$ac_objext'
23083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23084 (eval $ac_try) 2>&5
23086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23087 (exit $ac_status); }; }; then
23088 ac_header_compiler
=yes
23090 echo "$as_me: failed program was:" >&5
23091 sed 's/^/| /' conftest.
$ac_ext >&5
23093 ac_header_compiler
=no
23095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23096 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23097 echo "${ECHO_T}$ac_header_compiler" >&6
23099 # Is the header present?
23100 echo "$as_me:$LINENO: checking png.h presence" >&5
23101 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
23102 cat >conftest.
$ac_ext <<_ACEOF
23105 cat confdefs.h
>>conftest.
$ac_ext
23106 cat >>conftest.
$ac_ext <<_ACEOF
23107 /* end confdefs.h. */
23110 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23111 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23113 grep -v '^ *+' conftest.er1
>conftest.err
23115 cat conftest.err
>&5
23116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23117 (exit $ac_status); } >/dev
/null
; then
23118 if test -s conftest.err
; then
23119 ac_cpp_err
=$ac_c_preproc_warn_flag
23120 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23127 if test -z "$ac_cpp_err"; then
23128 ac_header_preproc
=yes
23130 echo "$as_me: failed program was:" >&5
23131 sed 's/^/| /' conftest.
$ac_ext >&5
23133 ac_header_preproc
=no
23135 rm -f conftest.err conftest.
$ac_ext
23136 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23137 echo "${ECHO_T}$ac_header_preproc" >&6
23139 # So? What about this header?
23140 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23142 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
23143 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23144 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
23145 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
23146 ac_header_preproc
=yes
23149 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
23150 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
23151 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
23152 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
23153 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
23154 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
23155 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
23156 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
23157 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
23158 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
23159 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
23160 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
23163 ## ----------------------------------------- ##
23164 ## Report this to wx-dev@lists.wxwidgets.org ##
23165 ## ----------------------------------------- ##
23168 sed "s/^/$as_me: WARNING: /" >&2
23171 echo "$as_me:$LINENO: checking for png.h" >&5
23172 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
23173 if test "${ac_cv_header_png_h+set}" = set; then
23174 echo $ECHO_N "(cached) $ECHO_C" >&6
23176 ac_cv_header_png_h
=$ac_header_preproc
23178 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23179 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23185 if test "$ac_cv_header_png_h" = "yes"; then
23186 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
23187 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
23188 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
23189 echo $ECHO_N "(cached) $ECHO_C" >&6
23191 ac_check_lib_save_LIBS
=$LIBS
23192 LIBS
="-lpng -lz -lm $LIBS"
23193 cat >conftest.
$ac_ext <<_ACEOF
23196 cat confdefs.h
>>conftest.
$ac_ext
23197 cat >>conftest.
$ac_ext <<_ACEOF
23198 /* end confdefs.h. */
23200 /* Override any gcc2 internal prototype to avoid an error. */
23204 /* We use char because int might match the return type of a gcc2
23205 builtin and then its argument prototype would still apply. */
23206 char png_check_sig ();
23215 rm -f conftest.
$ac_objext conftest
$ac_exeext
23216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23217 (eval $ac_link) 2>conftest.er1
23219 grep -v '^ *+' conftest.er1
>conftest.err
23221 cat conftest.err
>&5
23222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23223 (exit $ac_status); } &&
23224 { ac_try
='test -z "$ac_c_werror_flag"
23225 || test ! -s conftest.err'
23226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23227 (eval $ac_try) 2>&5
23229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23230 (exit $ac_status); }; } &&
23231 { ac_try
='test -s conftest$ac_exeext'
23232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23233 (eval $ac_try) 2>&5
23235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23236 (exit $ac_status); }; }; then
23237 ac_cv_lib_png_png_check_sig
=yes
23239 echo "$as_me: failed program was:" >&5
23240 sed 's/^/| /' conftest.
$ac_ext >&5
23242 ac_cv_lib_png_png_check_sig
=no
23244 rm -f conftest.err conftest.
$ac_objext \
23245 conftest
$ac_exeext conftest.
$ac_ext
23246 LIBS
=$ac_check_lib_save_LIBS
23248 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
23249 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
23250 if test $ac_cv_lib_png_png_check_sig = yes; then
23251 PNG_LINK
=" -lpng -lz"
23256 if test "x$PNG_LINK" = "x" ; then
23257 if test "$wxUSE_LIBPNG" = "sys" ; then
23258 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
23259 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
23260 { (exit 1); exit 1; }; }
23262 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
23263 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
23264 wxUSE_LIBPNG
=builtin
23272 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
23277 if test "$wxUSE_LIBJPEG" != "no" ; then
23278 cat >>confdefs.h
<<\_ACEOF
23279 #define wxUSE_LIBJPEG 1
23283 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
23284 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
23285 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
23289 if test "$wxUSE_MGL" != 1 ; then
23290 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
23291 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
23292 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
23293 if test "${ac_cv_header_jpeglib_h+set}" = set; then
23294 echo $ECHO_N "(cached) $ECHO_C" >&6
23296 cat >conftest.
$ac_ext <<_ACEOF
23299 cat confdefs.h
>>conftest.
$ac_ext
23300 cat >>conftest.
$ac_ext <<_ACEOF
23301 /* end confdefs.h. */
23303 #undef HAVE_STDLIB_H
23305 #include <jpeglib.h>
23316 rm -f conftest.
$ac_objext
23317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23318 (eval $ac_compile) 2>conftest.er1
23320 grep -v '^ *+' conftest.er1
>conftest.err
23322 cat conftest.err
>&5
23323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23324 (exit $ac_status); } &&
23325 { ac_try
='test -z "$ac_c_werror_flag"
23326 || test ! -s conftest.err'
23327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23328 (eval $ac_try) 2>&5
23330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23331 (exit $ac_status); }; } &&
23332 { ac_try
='test -s conftest.$ac_objext'
23333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23334 (eval $ac_try) 2>&5
23336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23337 (exit $ac_status); }; }; then
23338 ac_cv_header_jpeglib_h
=yes
23340 echo "$as_me: failed program was:" >&5
23341 sed 's/^/| /' conftest.
$ac_ext >&5
23343 ac_cv_header_jpeglib_h
=no
23346 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23350 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
23351 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
23353 if test "$ac_cv_header_jpeglib_h" = "yes"; then
23354 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
23355 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
23356 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
23357 echo $ECHO_N "(cached) $ECHO_C" >&6
23359 ac_check_lib_save_LIBS
=$LIBS
23360 LIBS
="-ljpeg $LIBS"
23361 cat >conftest.
$ac_ext <<_ACEOF
23364 cat confdefs.h
>>conftest.
$ac_ext
23365 cat >>conftest.
$ac_ext <<_ACEOF
23366 /* end confdefs.h. */
23368 /* Override any gcc2 internal prototype to avoid an error. */
23372 /* We use char because int might match the return type of a gcc2
23373 builtin and then its argument prototype would still apply. */
23374 char jpeg_read_header ();
23378 jpeg_read_header ();
23383 rm -f conftest.
$ac_objext conftest
$ac_exeext
23384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23385 (eval $ac_link) 2>conftest.er1
23387 grep -v '^ *+' conftest.er1
>conftest.err
23389 cat conftest.err
>&5
23390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23391 (exit $ac_status); } &&
23392 { ac_try
='test -z "$ac_c_werror_flag"
23393 || test ! -s conftest.err'
23394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23395 (eval $ac_try) 2>&5
23397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23398 (exit $ac_status); }; } &&
23399 { ac_try
='test -s conftest$ac_exeext'
23400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23401 (eval $ac_try) 2>&5
23403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23404 (exit $ac_status); }; }; then
23405 ac_cv_lib_jpeg_jpeg_read_header
=yes
23407 echo "$as_me: failed program was:" >&5
23408 sed 's/^/| /' conftest.
$ac_ext >&5
23410 ac_cv_lib_jpeg_jpeg_read_header
=no
23412 rm -f conftest.err conftest.
$ac_objext \
23413 conftest
$ac_exeext conftest.
$ac_ext
23414 LIBS
=$ac_check_lib_save_LIBS
23416 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
23417 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
23418 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
23419 JPEG_LINK
=" -ljpeg"
23424 if test "x$JPEG_LINK" = "x" ; then
23425 if test "$wxUSE_LIBJPEG" = "sys" ; then
23426 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
23427 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
23428 { (exit 1); exit 1; }; }
23430 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
23431 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
23432 wxUSE_LIBJPEG
=builtin
23443 TIFF_PREREQ_LINKS
=-lm
23444 if test "$wxUSE_LIBTIFF" != "no" ; then
23445 cat >>confdefs.h
<<\_ACEOF
23446 #define wxUSE_LIBTIFF 1
23450 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
23451 if test "$wxUSE_LIBJPEG" = "sys"; then
23452 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
23454 if test "$wxUSE_ZLIB" = "sys"; then
23455 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
23457 if test "${ac_cv_header_tiffio_h+set}" = set; then
23458 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23459 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23460 if test "${ac_cv_header_tiffio_h+set}" = set; then
23461 echo $ECHO_N "(cached) $ECHO_C" >&6
23463 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23464 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23466 # Is the header compilable?
23467 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
23468 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
23469 cat >conftest.
$ac_ext <<_ACEOF
23472 cat confdefs.h
>>conftest.
$ac_ext
23473 cat >>conftest.
$ac_ext <<_ACEOF
23474 /* end confdefs.h. */
23475 $ac_includes_default
23476 #include <tiffio.h>
23478 rm -f conftest.
$ac_objext
23479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23480 (eval $ac_compile) 2>conftest.er1
23482 grep -v '^ *+' conftest.er1
>conftest.err
23484 cat conftest.err
>&5
23485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23486 (exit $ac_status); } &&
23487 { ac_try
='test -z "$ac_c_werror_flag"
23488 || test ! -s conftest.err'
23489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23490 (eval $ac_try) 2>&5
23492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23493 (exit $ac_status); }; } &&
23494 { ac_try
='test -s conftest.$ac_objext'
23495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23496 (eval $ac_try) 2>&5
23498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23499 (exit $ac_status); }; }; then
23500 ac_header_compiler
=yes
23502 echo "$as_me: failed program was:" >&5
23503 sed 's/^/| /' conftest.
$ac_ext >&5
23505 ac_header_compiler
=no
23507 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23508 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23509 echo "${ECHO_T}$ac_header_compiler" >&6
23511 # Is the header present?
23512 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
23513 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
23514 cat >conftest.
$ac_ext <<_ACEOF
23517 cat confdefs.h
>>conftest.
$ac_ext
23518 cat >>conftest.
$ac_ext <<_ACEOF
23519 /* end confdefs.h. */
23520 #include <tiffio.h>
23522 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23523 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23525 grep -v '^ *+' conftest.er1
>conftest.err
23527 cat conftest.err
>&5
23528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23529 (exit $ac_status); } >/dev
/null
; then
23530 if test -s conftest.err
; then
23531 ac_cpp_err
=$ac_c_preproc_warn_flag
23532 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23539 if test -z "$ac_cpp_err"; then
23540 ac_header_preproc
=yes
23542 echo "$as_me: failed program was:" >&5
23543 sed 's/^/| /' conftest.
$ac_ext >&5
23545 ac_header_preproc
=no
23547 rm -f conftest.err conftest.
$ac_ext
23548 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23549 echo "${ECHO_T}$ac_header_preproc" >&6
23551 # So? What about this header?
23552 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23554 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
23555 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23556 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
23557 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
23558 ac_header_preproc
=yes
23561 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
23562 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
23563 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
23564 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
23565 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
23566 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
23567 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
23568 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
23569 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
23570 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
23571 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
23572 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
23575 ## ----------------------------------------- ##
23576 ## Report this to wx-dev@lists.wxwidgets.org ##
23577 ## ----------------------------------------- ##
23580 sed "s/^/$as_me: WARNING: /" >&2
23583 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23584 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23585 if test "${ac_cv_header_tiffio_h+set}" = set; then
23586 echo $ECHO_N "(cached) $ECHO_C" >&6
23588 ac_cv_header_tiffio_h
=$ac_header_preproc
23590 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23591 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23594 if test $ac_cv_header_tiffio_h = yes; then
23596 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
23597 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
23598 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
23599 echo $ECHO_N "(cached) $ECHO_C" >&6
23601 ac_check_lib_save_LIBS
=$LIBS
23602 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
23603 cat >conftest.
$ac_ext <<_ACEOF
23606 cat confdefs.h
>>conftest.
$ac_ext
23607 cat >>conftest.
$ac_ext <<_ACEOF
23608 /* end confdefs.h. */
23610 /* Override any gcc2 internal prototype to avoid an error. */
23614 /* We use char because int might match the return type of a gcc2
23615 builtin and then its argument prototype would still apply. */
23625 rm -f conftest.
$ac_objext conftest
$ac_exeext
23626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23627 (eval $ac_link) 2>conftest.er1
23629 grep -v '^ *+' conftest.er1
>conftest.err
23631 cat conftest.err
>&5
23632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23633 (exit $ac_status); } &&
23634 { ac_try
='test -z "$ac_c_werror_flag"
23635 || test ! -s conftest.err'
23636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23637 (eval $ac_try) 2>&5
23639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23640 (exit $ac_status); }; } &&
23641 { ac_try
='test -s conftest$ac_exeext'
23642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23643 (eval $ac_try) 2>&5
23645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23646 (exit $ac_status); }; }; then
23647 ac_cv_lib_tiff_TIFFError
=yes
23649 echo "$as_me: failed program was:" >&5
23650 sed 's/^/| /' conftest.
$ac_ext >&5
23652 ac_cv_lib_tiff_TIFFError
=no
23654 rm -f conftest.err conftest.
$ac_objext \
23655 conftest
$ac_exeext conftest.
$ac_ext
23656 LIBS
=$ac_check_lib_save_LIBS
23658 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
23659 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
23660 if test $ac_cv_lib_tiff_TIFFError = yes; then
23661 TIFF_LINK
=" -ltiff"
23670 if test "x$TIFF_LINK" = "x" ; then
23671 if test "$wxUSE_LIBTIFF" = "sys" ; then
23672 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
23673 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
23674 { (exit 1); exit 1; }; }
23676 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
23677 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
23678 wxUSE_LIBTIFF
=builtin
23687 if test "$wxUSE_WCHAR_T" != "yes"; then
23688 if test "$wxUSE_EXPAT" != "no"; then
23689 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
23690 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
23693 if test "$wxUSE_XML" != "no"; then
23694 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
23695 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
23700 if test "$wxUSE_EXPAT" != "no"; then
23702 cat >>confdefs.h
<<\_ACEOF
23703 #define wxUSE_EXPAT 1
23706 cat >>confdefs.h
<<\_ACEOF
23707 #define wxUSE_XML 1
23711 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23712 if test "${ac_cv_header_expat_h+set}" = set; then
23713 echo "$as_me:$LINENO: checking for expat.h" >&5
23714 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23715 if test "${ac_cv_header_expat_h+set}" = set; then
23716 echo $ECHO_N "(cached) $ECHO_C" >&6
23718 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23719 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23721 # Is the header compilable?
23722 echo "$as_me:$LINENO: checking expat.h usability" >&5
23723 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
23724 cat >conftest.
$ac_ext <<_ACEOF
23727 cat confdefs.h
>>conftest.
$ac_ext
23728 cat >>conftest.
$ac_ext <<_ACEOF
23729 /* end confdefs.h. */
23730 $ac_includes_default
23733 rm -f conftest.
$ac_objext
23734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23735 (eval $ac_compile) 2>conftest.er1
23737 grep -v '^ *+' conftest.er1
>conftest.err
23739 cat conftest.err
>&5
23740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23741 (exit $ac_status); } &&
23742 { ac_try
='test -z "$ac_c_werror_flag"
23743 || test ! -s conftest.err'
23744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23745 (eval $ac_try) 2>&5
23747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23748 (exit $ac_status); }; } &&
23749 { ac_try
='test -s conftest.$ac_objext'
23750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23751 (eval $ac_try) 2>&5
23753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23754 (exit $ac_status); }; }; then
23755 ac_header_compiler
=yes
23757 echo "$as_me: failed program was:" >&5
23758 sed 's/^/| /' conftest.
$ac_ext >&5
23760 ac_header_compiler
=no
23762 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23763 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23764 echo "${ECHO_T}$ac_header_compiler" >&6
23766 # Is the header present?
23767 echo "$as_me:$LINENO: checking expat.h presence" >&5
23768 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
23769 cat >conftest.
$ac_ext <<_ACEOF
23772 cat confdefs.h
>>conftest.
$ac_ext
23773 cat >>conftest.
$ac_ext <<_ACEOF
23774 /* end confdefs.h. */
23777 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23778 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23780 grep -v '^ *+' conftest.er1
>conftest.err
23782 cat conftest.err
>&5
23783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23784 (exit $ac_status); } >/dev
/null
; then
23785 if test -s conftest.err
; then
23786 ac_cpp_err
=$ac_c_preproc_warn_flag
23787 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23794 if test -z "$ac_cpp_err"; then
23795 ac_header_preproc
=yes
23797 echo "$as_me: failed program was:" >&5
23798 sed 's/^/| /' conftest.
$ac_ext >&5
23800 ac_header_preproc
=no
23802 rm -f conftest.err conftest.
$ac_ext
23803 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23804 echo "${ECHO_T}$ac_header_preproc" >&6
23806 # So? What about this header?
23807 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23809 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
23810 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23811 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
23812 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
23813 ac_header_preproc
=yes
23816 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
23817 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
23818 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
23819 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
23820 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
23821 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
23822 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
23823 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
23824 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
23825 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
23826 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
23827 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
23830 ## ----------------------------------------- ##
23831 ## Report this to wx-dev@lists.wxwidgets.org ##
23832 ## ----------------------------------------- ##
23835 sed "s/^/$as_me: WARNING: /" >&2
23838 echo "$as_me:$LINENO: checking for expat.h" >&5
23839 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23840 if test "${ac_cv_header_expat_h+set}" = set; then
23841 echo $ECHO_N "(cached) $ECHO_C" >&6
23843 ac_cv_header_expat_h
=$ac_header_preproc
23845 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23846 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23849 if test $ac_cv_header_expat_h = yes; then
23854 if test "x$found_expat_h" = "x1"; then
23855 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
23856 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
23857 if test "${wx_cv_expat_is_not_broken+set}" = set; then
23858 echo $ECHO_N "(cached) $ECHO_C" >&6
23864 ac_cpp
='$CXXCPP $CPPFLAGS'
23865 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23866 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23867 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23869 cat >conftest.
$ac_ext <<_ACEOF
23872 cat confdefs.h
>>conftest.
$ac_ext
23873 cat >>conftest.
$ac_ext <<_ACEOF
23874 /* end confdefs.h. */
23884 rm -f conftest.
$ac_objext
23885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23886 (eval $ac_compile) 2>conftest.er1
23888 grep -v '^ *+' conftest.er1
>conftest.err
23890 cat conftest.err
>&5
23891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23892 (exit $ac_status); } &&
23893 { ac_try
='test -z "$ac_cxx_werror_flag"
23894 || test ! -s conftest.err'
23895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23896 (eval $ac_try) 2>&5
23898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23899 (exit $ac_status); }; } &&
23900 { ac_try
='test -s conftest.$ac_objext'
23901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23902 (eval $ac_try) 2>&5
23904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23905 (exit $ac_status); }; }; then
23906 wx_cv_expat_is_not_broken
=yes
23908 echo "$as_me: failed program was:" >&5
23909 sed 's/^/| /' conftest.
$ac_ext >&5
23911 wx_cv_expat_is_not_broken
=no
23914 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23916 ac_cpp
='$CPP $CPPFLAGS'
23917 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23918 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23919 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23924 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
23925 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
23926 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23927 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
23928 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
23929 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
23930 echo $ECHO_N "(cached) $ECHO_C" >&6
23932 ac_check_lib_save_LIBS
=$LIBS
23933 LIBS
="-lexpat $LIBS"
23934 cat >conftest.
$ac_ext <<_ACEOF
23937 cat confdefs.h
>>conftest.
$ac_ext
23938 cat >>conftest.
$ac_ext <<_ACEOF
23939 /* end confdefs.h. */
23941 /* Override any gcc2 internal prototype to avoid an error. */
23945 /* We use char because int might match the return type of a gcc2
23946 builtin and then its argument prototype would still apply. */
23947 char XML_ParserCreate ();
23951 XML_ParserCreate ();
23956 rm -f conftest.
$ac_objext conftest
$ac_exeext
23957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23958 (eval $ac_link) 2>conftest.er1
23960 grep -v '^ *+' conftest.er1
>conftest.err
23962 cat conftest.err
>&5
23963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23964 (exit $ac_status); } &&
23965 { ac_try
='test -z "$ac_c_werror_flag"
23966 || test ! -s conftest.err'
23967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23968 (eval $ac_try) 2>&5
23970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23971 (exit $ac_status); }; } &&
23972 { ac_try
='test -s conftest$ac_exeext'
23973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23974 (eval $ac_try) 2>&5
23976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23977 (exit $ac_status); }; }; then
23978 ac_cv_lib_expat_XML_ParserCreate
=yes
23980 echo "$as_me: failed program was:" >&5
23981 sed 's/^/| /' conftest.
$ac_ext >&5
23983 ac_cv_lib_expat_XML_ParserCreate
=no
23985 rm -f conftest.err conftest.
$ac_objext \
23986 conftest
$ac_exeext conftest.
$ac_ext
23987 LIBS
=$ac_check_lib_save_LIBS
23989 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23990 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
23991 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
23992 EXPAT_LINK
=" -lexpat"
23997 if test "x$EXPAT_LINK" = "x" ; then
23998 if test "$wxUSE_EXPAT" = "sys" ; then
23999 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
24000 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
24001 { (exit 1); exit 1; }; }
24003 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
24004 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
24005 wxUSE_EXPAT
=builtin
24011 if test "$wxUSE_EXPAT" = "builtin" ; then
24014 subdirs
="$subdirs src/expat"
24021 if test "$wxUSE_LIBMSPACK" != "no"; then
24022 if test "${ac_cv_header_mspack_h+set}" = set; then
24023 echo "$as_me:$LINENO: checking for mspack.h" >&5
24024 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
24025 if test "${ac_cv_header_mspack_h+set}" = set; then
24026 echo $ECHO_N "(cached) $ECHO_C" >&6
24028 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
24029 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
24031 # Is the header compilable?
24032 echo "$as_me:$LINENO: checking mspack.h usability" >&5
24033 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
24034 cat >conftest.
$ac_ext <<_ACEOF
24037 cat confdefs.h
>>conftest.
$ac_ext
24038 cat >>conftest.
$ac_ext <<_ACEOF
24039 /* end confdefs.h. */
24040 $ac_includes_default
24041 #include <mspack.h>
24043 rm -f conftest.
$ac_objext
24044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24045 (eval $ac_compile) 2>conftest.er1
24047 grep -v '^ *+' conftest.er1
>conftest.err
24049 cat conftest.err
>&5
24050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24051 (exit $ac_status); } &&
24052 { ac_try
='test -z "$ac_c_werror_flag"
24053 || test ! -s conftest.err'
24054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24055 (eval $ac_try) 2>&5
24057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24058 (exit $ac_status); }; } &&
24059 { ac_try
='test -s conftest.$ac_objext'
24060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24061 (eval $ac_try) 2>&5
24063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24064 (exit $ac_status); }; }; then
24065 ac_header_compiler
=yes
24067 echo "$as_me: failed program was:" >&5
24068 sed 's/^/| /' conftest.
$ac_ext >&5
24070 ac_header_compiler
=no
24072 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24073 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24074 echo "${ECHO_T}$ac_header_compiler" >&6
24076 # Is the header present?
24077 echo "$as_me:$LINENO: checking mspack.h presence" >&5
24078 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
24079 cat >conftest.
$ac_ext <<_ACEOF
24082 cat confdefs.h
>>conftest.
$ac_ext
24083 cat >>conftest.
$ac_ext <<_ACEOF
24084 /* end confdefs.h. */
24085 #include <mspack.h>
24087 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24088 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24090 grep -v '^ *+' conftest.er1
>conftest.err
24092 cat conftest.err
>&5
24093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24094 (exit $ac_status); } >/dev
/null
; then
24095 if test -s conftest.err
; then
24096 ac_cpp_err
=$ac_c_preproc_warn_flag
24097 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24104 if test -z "$ac_cpp_err"; then
24105 ac_header_preproc
=yes
24107 echo "$as_me: failed program was:" >&5
24108 sed 's/^/| /' conftest.
$ac_ext >&5
24110 ac_header_preproc
=no
24112 rm -f conftest.err conftest.
$ac_ext
24113 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24114 echo "${ECHO_T}$ac_header_preproc" >&6
24116 # So? What about this header?
24117 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24119 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
24120 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24121 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
24122 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
24123 ac_header_preproc
=yes
24126 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
24127 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
24128 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
24129 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
24130 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
24131 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
24132 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
24133 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
24134 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
24135 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
24136 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
24137 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
24140 ## ----------------------------------------- ##
24141 ## Report this to wx-dev@lists.wxwidgets.org ##
24142 ## ----------------------------------------- ##
24145 sed "s/^/$as_me: WARNING: /" >&2
24148 echo "$as_me:$LINENO: checking for mspack.h" >&5
24149 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
24150 if test "${ac_cv_header_mspack_h+set}" = set; then
24151 echo $ECHO_N "(cached) $ECHO_C" >&6
24153 ac_cv_header_mspack_h
=$ac_header_preproc
24155 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
24156 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
24159 if test $ac_cv_header_mspack_h = yes; then
24164 if test "x$found_mspack_h" = "x1"; then
24165 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
24166 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
24167 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
24168 echo $ECHO_N "(cached) $ECHO_C" >&6
24170 ac_check_lib_save_LIBS
=$LIBS
24171 LIBS
="-lmspack $LIBS"
24172 cat >conftest.
$ac_ext <<_ACEOF
24175 cat confdefs.h
>>conftest.
$ac_ext
24176 cat >>conftest.
$ac_ext <<_ACEOF
24177 /* end confdefs.h. */
24179 /* Override any gcc2 internal prototype to avoid an error. */
24183 /* We use char because int might match the return type of a gcc2
24184 builtin and then its argument prototype would still apply. */
24185 char mspack_create_chm_decompressor ();
24189 mspack_create_chm_decompressor ();
24194 rm -f conftest.
$ac_objext conftest
$ac_exeext
24195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24196 (eval $ac_link) 2>conftest.er1
24198 grep -v '^ *+' conftest.er1
>conftest.err
24200 cat conftest.err
>&5
24201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24202 (exit $ac_status); } &&
24203 { ac_try
='test -z "$ac_c_werror_flag"
24204 || test ! -s conftest.err'
24205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24206 (eval $ac_try) 2>&5
24208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24209 (exit $ac_status); }; } &&
24210 { ac_try
='test -s conftest$ac_exeext'
24211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24212 (eval $ac_try) 2>&5
24214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24215 (exit $ac_status); }; }; then
24216 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
24218 echo "$as_me: failed program was:" >&5
24219 sed 's/^/| /' conftest.
$ac_ext >&5
24221 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
24223 rm -f conftest.err conftest.
$ac_objext \
24224 conftest
$ac_exeext conftest.
$ac_ext
24225 LIBS
=$ac_check_lib_save_LIBS
24227 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
24228 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
24229 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
24230 MSPACK_LINK
=" -lmspack"
24234 if test "x$MSPACK_LINK" = "x" ; then
24239 if test "$wxUSE_LIBMSPACK" != "no"; then
24240 cat >>confdefs.h
<<\_ACEOF
24241 #define wxUSE_LIBMSPACK 1
24255 if test "$USE_WIN32" = 1 ; then
24257 for ac_header
in w32api.h
24259 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24260 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24261 echo "$as_me:$LINENO: checking for $ac_header" >&5
24262 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24263 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24264 echo $ECHO_N "(cached) $ECHO_C" >&6
24266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24267 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24269 # Is the header compilable?
24270 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24271 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24272 cat >conftest.
$ac_ext <<_ACEOF
24275 cat confdefs.h
>>conftest.
$ac_ext
24276 cat >>conftest.
$ac_ext <<_ACEOF
24277 /* end confdefs.h. */
24278 $ac_includes_default
24279 #include <$ac_header>
24281 rm -f conftest.
$ac_objext
24282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24283 (eval $ac_compile) 2>conftest.er1
24285 grep -v '^ *+' conftest.er1
>conftest.err
24287 cat conftest.err
>&5
24288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24289 (exit $ac_status); } &&
24290 { ac_try
='test -z "$ac_c_werror_flag"
24291 || test ! -s conftest.err'
24292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24293 (eval $ac_try) 2>&5
24295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24296 (exit $ac_status); }; } &&
24297 { ac_try
='test -s conftest.$ac_objext'
24298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24299 (eval $ac_try) 2>&5
24301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24302 (exit $ac_status); }; }; then
24303 ac_header_compiler
=yes
24305 echo "$as_me: failed program was:" >&5
24306 sed 's/^/| /' conftest.
$ac_ext >&5
24308 ac_header_compiler
=no
24310 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24311 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24312 echo "${ECHO_T}$ac_header_compiler" >&6
24314 # Is the header present?
24315 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24316 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24317 cat >conftest.
$ac_ext <<_ACEOF
24320 cat confdefs.h
>>conftest.
$ac_ext
24321 cat >>conftest.
$ac_ext <<_ACEOF
24322 /* end confdefs.h. */
24323 #include <$ac_header>
24325 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24326 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24328 grep -v '^ *+' conftest.er1
>conftest.err
24330 cat conftest.err
>&5
24331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24332 (exit $ac_status); } >/dev
/null
; then
24333 if test -s conftest.err
; then
24334 ac_cpp_err
=$ac_c_preproc_warn_flag
24335 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24342 if test -z "$ac_cpp_err"; then
24343 ac_header_preproc
=yes
24345 echo "$as_me: failed program was:" >&5
24346 sed 's/^/| /' conftest.
$ac_ext >&5
24348 ac_header_preproc
=no
24350 rm -f conftest.err conftest.
$ac_ext
24351 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24352 echo "${ECHO_T}$ac_header_preproc" >&6
24354 # So? What about this header?
24355 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24357 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24358 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24359 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24360 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24361 ac_header_preproc
=yes
24364 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24365 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24366 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24367 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24368 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24369 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24370 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24371 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24372 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24373 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24374 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24375 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24378 ## ----------------------------------------- ##
24379 ## Report this to wx-dev@lists.wxwidgets.org ##
24380 ## ----------------------------------------- ##
24383 sed "s/^/$as_me: WARNING: /" >&2
24386 echo "$as_me:$LINENO: checking for $ac_header" >&5
24387 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24388 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24389 echo $ECHO_N "(cached) $ECHO_C" >&6
24391 eval "$as_ac_Header=\$ac_header_preproc"
24393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24394 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24397 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24398 cat >>confdefs.h
<<_ACEOF
24399 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24406 if test "${ac_cv_header_windows_h+set}" = set; then
24407 echo "$as_me:$LINENO: checking for windows.h" >&5
24408 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24409 if test "${ac_cv_header_windows_h+set}" = set; then
24410 echo $ECHO_N "(cached) $ECHO_C" >&6
24412 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24413 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24415 # Is the header compilable?
24416 echo "$as_me:$LINENO: checking windows.h usability" >&5
24417 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
24418 cat >conftest.
$ac_ext <<_ACEOF
24421 cat confdefs.h
>>conftest.
$ac_ext
24422 cat >>conftest.
$ac_ext <<_ACEOF
24423 /* end confdefs.h. */
24424 $ac_includes_default
24425 #include <windows.h>
24427 rm -f conftest.
$ac_objext
24428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24429 (eval $ac_compile) 2>conftest.er1
24431 grep -v '^ *+' conftest.er1
>conftest.err
24433 cat conftest.err
>&5
24434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24435 (exit $ac_status); } &&
24436 { ac_try
='test -z "$ac_c_werror_flag"
24437 || test ! -s conftest.err'
24438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24439 (eval $ac_try) 2>&5
24441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24442 (exit $ac_status); }; } &&
24443 { ac_try
='test -s conftest.$ac_objext'
24444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24445 (eval $ac_try) 2>&5
24447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24448 (exit $ac_status); }; }; then
24449 ac_header_compiler
=yes
24451 echo "$as_me: failed program was:" >&5
24452 sed 's/^/| /' conftest.
$ac_ext >&5
24454 ac_header_compiler
=no
24456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24457 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24458 echo "${ECHO_T}$ac_header_compiler" >&6
24460 # Is the header present?
24461 echo "$as_me:$LINENO: checking windows.h presence" >&5
24462 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
24463 cat >conftest.
$ac_ext <<_ACEOF
24466 cat confdefs.h
>>conftest.
$ac_ext
24467 cat >>conftest.
$ac_ext <<_ACEOF
24468 /* end confdefs.h. */
24469 #include <windows.h>
24471 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24472 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24474 grep -v '^ *+' conftest.er1
>conftest.err
24476 cat conftest.err
>&5
24477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24478 (exit $ac_status); } >/dev
/null
; then
24479 if test -s conftest.err
; then
24480 ac_cpp_err
=$ac_c_preproc_warn_flag
24481 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24488 if test -z "$ac_cpp_err"; then
24489 ac_header_preproc
=yes
24491 echo "$as_me: failed program was:" >&5
24492 sed 's/^/| /' conftest.
$ac_ext >&5
24494 ac_header_preproc
=no
24496 rm -f conftest.err conftest.
$ac_ext
24497 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24498 echo "${ECHO_T}$ac_header_preproc" >&6
24500 # So? What about this header?
24501 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24503 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
24504 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24505 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
24506 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
24507 ac_header_preproc
=yes
24510 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
24511 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
24512 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
24513 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
24514 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
24515 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
24516 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
24517 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
24518 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
24519 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
24520 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
24521 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
24524 ## ----------------------------------------- ##
24525 ## Report this to wx-dev@lists.wxwidgets.org ##
24526 ## ----------------------------------------- ##
24529 sed "s/^/$as_me: WARNING: /" >&2
24532 echo "$as_me:$LINENO: checking for windows.h" >&5
24533 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24534 if test "${ac_cv_header_windows_h+set}" = set; then
24535 echo $ECHO_N "(cached) $ECHO_C" >&6
24537 ac_cv_header_windows_h
=$ac_header_preproc
24539 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24540 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24543 if test $ac_cv_header_windows_h = yes; then
24547 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
24548 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
24549 { (exit 1); exit 1; }; }
24555 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
24557 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
24558 LIBS
="$LIBS -loleacc"
24563 LIBS
="$LIBS -lkernel32 -luser32"
24564 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
24567 if test "$wxUSE_ODBC" = "sys" ; then
24570 if test "$wxUSE_ODBC" = "yes" ; then
24571 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
24572 cat >>confdefs.h
<<\_ACEOF
24573 #define wxUSE_ODBC 1
24578 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
24579 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
24581 WIN32INSTALL
=win32install
24584 if test "$wxUSE_GUI" = "yes"; then
24594 if test "$wxUSE_COCOA" = 1 ; then
24595 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
24596 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
24597 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
24598 wxUSE_PRINTING_ARCHITECTURE
=no
24600 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
24601 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
24602 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
24603 wxUSE_DRAG_AND_DROP
=no
24605 if test "$wxUSE_DRAGIMAGE" = "yes"; then
24606 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
24607 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
24612 if test "$wxUSE_MSW" = 1 ; then
24618 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
24622 if test "$wxUSE_GTK" = 1; then
24623 echo "$as_me:$LINENO: checking for GTK+ version" >&5
24624 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
24626 gtk_version_cached
=1
24627 if test "${wx_cv_lib_gtk+set}" = set; then
24628 echo $ECHO_N "(cached) $ECHO_C" >&6
24631 gtk_version_cached
=0
24632 echo "$as_me:$LINENO: result: " >&5
24633 echo "${ECHO_T}" >&6
24636 if test "$wxUSE_THREADS" = "yes"; then
24637 GTK_MODULES
=gthread
24641 if test "x$wxGTK_VERSION" != "x1"; then
24642 # Check whether --enable-gtktest or --disable-gtktest was given.
24643 if test "${enable_gtktest+set}" = set; then
24644 enableval
="$enable_gtktest"
24650 pkg_config_args
=gtk
+-2.0
24651 for module
in .
$GTK_MODULES
24655 pkg_config_args
="$pkg_config_args gthread-2.0"
24662 # Extract the first word of "pkg-config", so it can be a program name with args.
24663 set dummy pkg
-config; ac_word
=$2
24664 echo "$as_me:$LINENO: checking for $ac_word" >&5
24665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24666 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24667 echo $ECHO_N "(cached) $ECHO_C" >&6
24669 case $PKG_CONFIG in
24671 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24675 for as_dir
in $PATH
24678 test -z "$as_dir" && as_dir
=.
24679 for ac_exec_ext
in '' $ac_executable_extensions; do
24680 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24681 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24688 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24692 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24694 if test -n "$PKG_CONFIG"; then
24695 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24696 echo "${ECHO_T}$PKG_CONFIG" >&6
24698 echo "$as_me:$LINENO: result: no" >&5
24699 echo "${ECHO_T}no" >&6
24703 if test x
$PKG_CONFIG != xno
; then
24704 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
24707 echo "*** pkg-config too old; version 0.7 or better required."
24715 min_gtk_version
=2.0.0
24716 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
24717 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
24719 if test x
$PKG_CONFIG != xno
; then
24720 ## don't try to run the test against uninstalled libtool libs
24721 if $PKG_CONFIG --uninstalled $pkg_config_args; then
24722 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
24726 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
24733 if test x
"$no_gtk" = x
; then
24734 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
24735 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
24736 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24737 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24738 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24739 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24740 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24741 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24742 if test "x$enable_gtktest" = "xyes" ; then
24743 ac_save_CFLAGS
="$CFLAGS"
24744 ac_save_LIBS
="$LIBS"
24745 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24746 LIBS
="$GTK_LIBS $LIBS"
24748 if test "$cross_compiling" = yes; then
24749 echo $ac_n "cross compiling; assumed OK... $ac_c"
24751 cat >conftest.
$ac_ext <<_ACEOF
24754 cat confdefs.h
>>conftest.
$ac_ext
24755 cat >>conftest.
$ac_ext <<_ACEOF
24756 /* end confdefs.h. */
24758 #include <gtk/gtk.h>
24760 #include <stdlib.h>
24765 int major, minor, micro;
24768 system ("touch conf.gtktest");
24770 /* HP/UX 9 (%@#!) writes to sscanf strings */
24771 tmp_version = g_strdup("$min_gtk_version");
24772 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24773 printf("%s, bad version string\n", "$min_gtk_version");
24777 if ((gtk_major_version != $gtk_config_major_version) ||
24778 (gtk_minor_version != $gtk_config_minor_version) ||
24779 (gtk_micro_version != $gtk_config_micro_version))
24781 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24782 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24783 gtk_major_version, gtk_minor_version, gtk_micro_version);
24784 printf ("*** was found! If pkg-config was correct, then it is best\n");
24785 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24786 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24787 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24788 printf("*** required on your system.\n");
24789 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
24790 printf("*** to point to the correct configuration files\n");
24792 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24793 (gtk_minor_version != GTK_MINOR_VERSION) ||
24794 (gtk_micro_version != GTK_MICRO_VERSION))
24796 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24797 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24798 printf("*** library (version %d.%d.%d)\n",
24799 gtk_major_version, gtk_minor_version, gtk_micro_version);
24803 if ((gtk_major_version > major) ||
24804 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24805 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24811 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24812 gtk_major_version, gtk_minor_version, gtk_micro_version);
24813 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24814 major, minor, micro);
24815 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24817 printf("*** If you have already installed a sufficiently new version, this error\n");
24818 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
24819 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24820 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
24821 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
24822 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24823 printf("*** so that the correct libraries are found at run-time))\n");
24830 rm -f conftest
$ac_exeext
24831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24832 (eval $ac_link) 2>&5
24834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24835 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24837 (eval $ac_try) 2>&5
24839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24840 (exit $ac_status); }; }; then
24843 echo "$as_me: program exited with status $ac_status" >&5
24844 echo "$as_me: failed program was:" >&5
24845 sed 's/^/| /' conftest.
$ac_ext >&5
24847 ( exit $ac_status )
24850 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24852 CFLAGS
="$ac_save_CFLAGS"
24853 LIBS
="$ac_save_LIBS"
24856 if test "x$no_gtk" = x
; then
24857 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
24858 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
24861 echo "$as_me:$LINENO: result: no" >&5
24862 echo "${ECHO_T}no" >&6
24863 if test "$PKG_CONFIG" = "no" ; then
24864 echo "*** A new enough version of pkg-config was not found."
24865 echo "*** See http://pkgconfig.sourceforge.net"
24867 if test -f conf.gtktest
; then
24870 echo "*** Could not run GTK+ test program, checking why..."
24871 ac_save_CFLAGS
="$CFLAGS"
24872 ac_save_LIBS
="$LIBS"
24873 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24874 LIBS
="$LIBS $GTK_LIBS"
24875 cat >conftest.
$ac_ext <<_ACEOF
24878 cat confdefs.h
>>conftest.
$ac_ext
24879 cat >>conftest.
$ac_ext <<_ACEOF
24880 /* end confdefs.h. */
24882 #include <gtk/gtk.h>
24888 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24893 rm -f conftest.
$ac_objext conftest
$ac_exeext
24894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24895 (eval $ac_link) 2>conftest.er1
24897 grep -v '^ *+' conftest.er1
>conftest.err
24899 cat conftest.err
>&5
24900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24901 (exit $ac_status); } &&
24902 { ac_try
='test -z "$ac_c_werror_flag"
24903 || test ! -s conftest.err'
24904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24905 (eval $ac_try) 2>&5
24907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24908 (exit $ac_status); }; } &&
24909 { ac_try
='test -s conftest$ac_exeext'
24910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24911 (eval $ac_try) 2>&5
24913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24914 (exit $ac_status); }; }; then
24915 echo "*** The test program compiled, but did not run. This usually means"
24916 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
24917 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
24918 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24919 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24920 echo "*** is required on your system"
24922 echo "*** If you have an old version installed, it is best to remove it, although"
24923 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24925 echo "$as_me: failed program was:" >&5
24926 sed 's/^/| /' conftest.
$ac_ext >&5
24928 echo "*** The test program failed to compile or link. See the file config.log for the"
24929 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
24931 rm -f conftest.err conftest.
$ac_objext \
24932 conftest
$ac_exeext conftest.
$ac_ext
24933 CFLAGS
="$ac_save_CFLAGS"
24934 LIBS
="$ac_save_LIBS"
24947 if test -z "$wx_cv_lib_gtk"; then
24948 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
24950 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24951 if test "${with_gtk_prefix+set}" = set; then
24952 withval
="$with_gtk_prefix"
24953 gtk_config_prefix
="$withval"
24955 gtk_config_prefix
=""
24958 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24959 if test "${with_gtk_exec_prefix+set}" = set; then
24960 withval
="$with_gtk_exec_prefix"
24961 gtk_config_exec_prefix
="$withval"
24963 gtk_config_exec_prefix
=""
24965 # Check whether --enable-gtktest or --disable-gtktest was given.
24966 if test "${enable_gtktest+set}" = set; then
24967 enableval
="$enable_gtktest"
24973 for module
in .
$GTK_MODULES
24977 gtk_config_args
="$gtk_config_args gthread"
24982 if test x
$gtk_config_exec_prefix != x
; then
24983 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24984 if test x
${GTK_CONFIG+set} != xset
; then
24985 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
24988 if test x
$gtk_config_prefix != x
; then
24989 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
24990 if test x
${GTK_CONFIG+set} != xset
; then
24991 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
24995 # Extract the first word of "gtk-config", so it can be a program name with args.
24996 set dummy gtk
-config; ac_word
=$2
24997 echo "$as_me:$LINENO: checking for $ac_word" >&5
24998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24999 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
25000 echo $ECHO_N "(cached) $ECHO_C" >&6
25002 case $GTK_CONFIG in
25004 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
25007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25008 for as_dir
in $PATH
25011 test -z "$as_dir" && as_dir
=.
25012 for ac_exec_ext
in '' $ac_executable_extensions; do
25013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25014 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25021 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
25025 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
25027 if test -n "$GTK_CONFIG"; then
25028 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25029 echo "${ECHO_T}$GTK_CONFIG" >&6
25031 echo "$as_me:$LINENO: result: no" >&5
25032 echo "${ECHO_T}no" >&6
25035 min_gtk_version
=1.2.7
25036 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25037 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25039 if test "$GTK_CONFIG" = "no" ; then
25042 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
25043 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
25044 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
25045 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25046 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
25047 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25048 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
25049 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25050 if test "x$enable_gtktest" = "xyes" ; then
25051 ac_save_CFLAGS
="$CFLAGS"
25052 ac_save_LIBS
="$LIBS"
25053 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25054 LIBS
="$GTK_LIBS $LIBS"
25056 if test "$cross_compiling" = yes; then
25057 echo $ac_n "cross compiling; assumed OK... $ac_c"
25059 cat >conftest.
$ac_ext <<_ACEOF
25062 cat confdefs.h
>>conftest.
$ac_ext
25063 cat >>conftest.
$ac_ext <<_ACEOF
25064 /* end confdefs.h. */
25066 #include <gtk/gtk.h>
25068 #include <stdlib.h>
25073 int major, minor, micro;
25076 system ("touch conf.gtktest");
25078 /* HP/UX 9 (%@#!) writes to sscanf strings */
25079 tmp_version = g_strdup("$min_gtk_version");
25080 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
25081 printf("%s, bad version string\n", "$min_gtk_version");
25085 if ((gtk_major_version != $gtk_config_major_version) ||
25086 (gtk_minor_version != $gtk_config_minor_version) ||
25087 (gtk_micro_version != $gtk_config_micro_version))
25089 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25090 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25091 gtk_major_version, gtk_minor_version, gtk_micro_version);
25092 printf ("*** was found! If gtk-config was correct, then it is best\n");
25093 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25094 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25095 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25096 printf("*** required on your system.\n");
25097 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25098 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25099 printf("*** before re-running configure\n");
25101 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25102 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25103 (gtk_minor_version != GTK_MINOR_VERSION) ||
25104 (gtk_micro_version != GTK_MICRO_VERSION))
25106 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25107 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25108 printf("*** library (version %d.%d.%d)\n",
25109 gtk_major_version, gtk_minor_version, gtk_micro_version);
25111 #endif /* defined (GTK_MAJOR_VERSION) ... */
25114 if ((gtk_major_version > major) ||
25115 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25116 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25122 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25123 gtk_major_version, gtk_minor_version, gtk_micro_version);
25124 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25125 major, minor, micro);
25126 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25128 printf("*** If you have already installed a sufficiently new version, this error\n");
25129 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25130 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25131 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25132 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25133 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25134 printf("*** so that the correct libraries are found at run-time))\n");
25141 rm -f conftest
$ac_exeext
25142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25143 (eval $ac_link) 2>&5
25145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25146 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25148 (eval $ac_try) 2>&5
25150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25151 (exit $ac_status); }; }; then
25154 echo "$as_me: program exited with status $ac_status" >&5
25155 echo "$as_me: failed program was:" >&5
25156 sed 's/^/| /' conftest.
$ac_ext >&5
25158 ( exit $ac_status )
25161 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25163 CFLAGS
="$ac_save_CFLAGS"
25164 LIBS
="$ac_save_LIBS"
25167 if test "x$no_gtk" = x
; then
25168 echo "$as_me:$LINENO: result: yes" >&5
25169 echo "${ECHO_T}yes" >&6
25170 wx_cv_lib_gtk
=1.2.7
25172 echo "$as_me:$LINENO: result: no" >&5
25173 echo "${ECHO_T}no" >&6
25174 if test "$GTK_CONFIG" = "no" ; then
25175 echo "*** The gtk-config script installed by GTK could not be found"
25176 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25177 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25178 echo "*** full path to gtk-config."
25180 if test -f conf.gtktest
; then
25183 echo "*** Could not run GTK test program, checking why..."
25184 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25185 LIBS
="$LIBS $GTK_LIBS"
25186 cat >conftest.
$ac_ext <<_ACEOF
25189 cat confdefs.h
>>conftest.
$ac_ext
25190 cat >>conftest.
$ac_ext <<_ACEOF
25191 /* end confdefs.h. */
25193 #include <gtk/gtk.h>
25199 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25204 rm -f conftest.
$ac_objext conftest
$ac_exeext
25205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25206 (eval $ac_link) 2>conftest.er1
25208 grep -v '^ *+' conftest.er1
>conftest.err
25210 cat conftest.err
>&5
25211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25212 (exit $ac_status); } &&
25213 { ac_try
='test -z "$ac_c_werror_flag"
25214 || test ! -s conftest.err'
25215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25216 (eval $ac_try) 2>&5
25218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25219 (exit $ac_status); }; } &&
25220 { ac_try
='test -s conftest$ac_exeext'
25221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25222 (eval $ac_try) 2>&5
25224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25225 (exit $ac_status); }; }; then
25226 echo "*** The test program compiled, but did not run. This usually means"
25227 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25228 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25229 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25230 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25231 echo "*** is required on your system"
25233 echo "*** If you have an old version installed, it is best to remove it, although"
25234 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25236 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25237 echo "*** came with the system with the command"
25239 echo "*** rpm --erase --nodeps gtk gtk-devel"
25241 echo "$as_me: failed program was:" >&5
25242 sed 's/^/| /' conftest.
$ac_ext >&5
25244 echo "*** The test program failed to compile or link. See the file config.log for the"
25245 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25246 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25247 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25249 rm -f conftest.err conftest.
$ac_objext \
25250 conftest
$ac_exeext conftest.
$ac_ext
25251 CFLAGS
="$ac_save_CFLAGS"
25252 LIBS
="$ac_save_LIBS"
25264 if test -z "$wx_cv_lib_gtk"; then
25266 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
25267 if test "${with_gtk_prefix+set}" = set; then
25268 withval
="$with_gtk_prefix"
25269 gtk_config_prefix
="$withval"
25271 gtk_config_prefix
=""
25274 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
25275 if test "${with_gtk_exec_prefix+set}" = set; then
25276 withval
="$with_gtk_exec_prefix"
25277 gtk_config_exec_prefix
="$withval"
25279 gtk_config_exec_prefix
=""
25281 # Check whether --enable-gtktest or --disable-gtktest was given.
25282 if test "${enable_gtktest+set}" = set; then
25283 enableval
="$enable_gtktest"
25289 for module
in .
$GTK_MODULES
25293 gtk_config_args
="$gtk_config_args gthread"
25298 if test x
$gtk_config_exec_prefix != x
; then
25299 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
25300 if test x
${GTK_CONFIG+set} != xset
; then
25301 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
25304 if test x
$gtk_config_prefix != x
; then
25305 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
25306 if test x
${GTK_CONFIG+set} != xset
; then
25307 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
25311 # Extract the first word of "gtk-config", so it can be a program name with args.
25312 set dummy gtk
-config; ac_word
=$2
25313 echo "$as_me:$LINENO: checking for $ac_word" >&5
25314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25315 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
25316 echo $ECHO_N "(cached) $ECHO_C" >&6
25318 case $GTK_CONFIG in
25320 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
25323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25324 for as_dir
in $PATH
25327 test -z "$as_dir" && as_dir
=.
25328 for ac_exec_ext
in '' $ac_executable_extensions; do
25329 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25330 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25337 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
25341 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
25343 if test -n "$GTK_CONFIG"; then
25344 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25345 echo "${ECHO_T}$GTK_CONFIG" >&6
25347 echo "$as_me:$LINENO: result: no" >&5
25348 echo "${ECHO_T}no" >&6
25351 min_gtk_version
=1.2.3
25352 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25353 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25355 if test "$GTK_CONFIG" = "no" ; then
25358 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
25359 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
25360 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
25361 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25362 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
25363 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25364 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
25365 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25366 if test "x$enable_gtktest" = "xyes" ; then
25367 ac_save_CFLAGS
="$CFLAGS"
25368 ac_save_LIBS
="$LIBS"
25369 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25370 LIBS
="$GTK_LIBS $LIBS"
25372 if test "$cross_compiling" = yes; then
25373 echo $ac_n "cross compiling; assumed OK... $ac_c"
25375 cat >conftest.
$ac_ext <<_ACEOF
25378 cat confdefs.h
>>conftest.
$ac_ext
25379 cat >>conftest.
$ac_ext <<_ACEOF
25380 /* end confdefs.h. */
25382 #include <gtk/gtk.h>
25384 #include <stdlib.h>
25389 int major, minor, micro;
25392 system ("touch conf.gtktest");
25394 /* HP/UX 9 (%@#!) writes to sscanf strings */
25395 tmp_version = g_strdup("$min_gtk_version");
25396 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
25397 printf("%s, bad version string\n", "$min_gtk_version");
25401 if ((gtk_major_version != $gtk_config_major_version) ||
25402 (gtk_minor_version != $gtk_config_minor_version) ||
25403 (gtk_micro_version != $gtk_config_micro_version))
25405 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25406 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25407 gtk_major_version, gtk_minor_version, gtk_micro_version);
25408 printf ("*** was found! If gtk-config was correct, then it is best\n");
25409 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25410 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25411 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25412 printf("*** required on your system.\n");
25413 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25414 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25415 printf("*** before re-running configure\n");
25417 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25418 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25419 (gtk_minor_version != GTK_MINOR_VERSION) ||
25420 (gtk_micro_version != GTK_MICRO_VERSION))
25422 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25423 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25424 printf("*** library (version %d.%d.%d)\n",
25425 gtk_major_version, gtk_minor_version, gtk_micro_version);
25427 #endif /* defined (GTK_MAJOR_VERSION) ... */
25430 if ((gtk_major_version > major) ||
25431 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25432 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25438 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25439 gtk_major_version, gtk_minor_version, gtk_micro_version);
25440 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25441 major, minor, micro);
25442 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25444 printf("*** If you have already installed a sufficiently new version, this error\n");
25445 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25446 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25447 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25448 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25449 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25450 printf("*** so that the correct libraries are found at run-time))\n");
25457 rm -f conftest
$ac_exeext
25458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25459 (eval $ac_link) 2>&5
25461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25462 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25464 (eval $ac_try) 2>&5
25466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25467 (exit $ac_status); }; }; then
25470 echo "$as_me: program exited with status $ac_status" >&5
25471 echo "$as_me: failed program was:" >&5
25472 sed 's/^/| /' conftest.
$ac_ext >&5
25474 ( exit $ac_status )
25477 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25479 CFLAGS
="$ac_save_CFLAGS"
25480 LIBS
="$ac_save_LIBS"
25483 if test "x$no_gtk" = x
; then
25484 echo "$as_me:$LINENO: result: yes" >&5
25485 echo "${ECHO_T}yes" >&6
25486 wx_cv_lib_gtk
=1.2.3
25488 echo "$as_me:$LINENO: result: no" >&5
25489 echo "${ECHO_T}no" >&6
25490 if test "$GTK_CONFIG" = "no" ; then
25491 echo "*** The gtk-config script installed by GTK could not be found"
25492 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25493 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25494 echo "*** full path to gtk-config."
25496 if test -f conf.gtktest
; then
25499 echo "*** Could not run GTK test program, checking why..."
25500 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25501 LIBS
="$LIBS $GTK_LIBS"
25502 cat >conftest.
$ac_ext <<_ACEOF
25505 cat confdefs.h
>>conftest.
$ac_ext
25506 cat >>conftest.
$ac_ext <<_ACEOF
25507 /* end confdefs.h. */
25509 #include <gtk/gtk.h>
25515 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25520 rm -f conftest.
$ac_objext conftest
$ac_exeext
25521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25522 (eval $ac_link) 2>conftest.er1
25524 grep -v '^ *+' conftest.er1
>conftest.err
25526 cat conftest.err
>&5
25527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25528 (exit $ac_status); } &&
25529 { ac_try
='test -z "$ac_c_werror_flag"
25530 || test ! -s conftest.err'
25531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25532 (eval $ac_try) 2>&5
25534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25535 (exit $ac_status); }; } &&
25536 { ac_try
='test -s conftest$ac_exeext'
25537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25538 (eval $ac_try) 2>&5
25540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25541 (exit $ac_status); }; }; then
25542 echo "*** The test program compiled, but did not run. This usually means"
25543 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25544 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25545 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25546 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25547 echo "*** is required on your system"
25549 echo "*** If you have an old version installed, it is best to remove it, although"
25550 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25552 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25553 echo "*** came with the system with the command"
25555 echo "*** rpm --erase --nodeps gtk gtk-devel"
25557 echo "$as_me: failed program was:" >&5
25558 sed 's/^/| /' conftest.
$ac_ext >&5
25560 echo "*** The test program failed to compile or link. See the file config.log for the"
25561 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25562 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25563 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25565 rm -f conftest.err conftest.
$ac_objext \
25566 conftest
$ac_exeext conftest.
$ac_ext
25567 CFLAGS
="$ac_save_CFLAGS"
25568 LIBS
="$ac_save_LIBS"
25583 if test -z "$wx_cv_lib_gtk"; then
25586 wx_cv_cflags_gtk
=$GTK_CFLAGS
25587 wx_cv_libs_gtk
=$GTK_LIBS
25594 if test "$gtk_version_cached" = 1; then
25595 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
25596 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
25599 case "$wx_cv_lib_gtk" in
25608 *) { { echo "$as_me:$LINENO: error:
25609 The development files for GTK+ were not found. For GTK+ 2, please
25610 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25611 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25612 and that the version is 1.2.3 or above. Also check that the
25613 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25614 --libs' are in the LD_LIBRARY_PATH or equivalent.
25616 echo "$as_me: error:
25617 The development files for GTK+ were not found. For GTK+ 2, please
25618 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25619 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25620 and that the version is 1.2.3 or above. Also check that the
25621 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25622 --libs' are in the LD_LIBRARY_PATH or equivalent.
25624 { (exit 1); exit 1; }; }
25628 if test "$WXGTK20" = 1; then
25629 save_CFLAGS
="$CFLAGS"
25631 CFLAGS
="$CFLAGS $wx_cv_cflags_gtk"
25632 LIBS
="$LIBS $wx_cv_lib_gtk"
25635 for ac_func
in pango_font_family_is_monospace
25637 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25638 echo "$as_me:$LINENO: checking for $ac_func" >&5
25639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25640 if eval "test \"\${$as_ac_var+set}\" = set"; then
25641 echo $ECHO_N "(cached) $ECHO_C" >&6
25643 cat >conftest.
$ac_ext <<_ACEOF
25646 cat confdefs.h
>>conftest.
$ac_ext
25647 cat >>conftest.
$ac_ext <<_ACEOF
25648 /* end confdefs.h. */
25649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25651 #define $ac_func innocuous_$ac_func
25653 /* System header to define __stub macros and hopefully few prototypes,
25654 which can conflict with char $ac_func (); below.
25655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25656 <limits.h> exists even on freestanding compilers. */
25659 # include <limits.h>
25661 # include <assert.h>
25666 /* Override any gcc2 internal prototype to avoid an error. */
25671 /* We use char because int might match the return type of a gcc2
25672 builtin and then its argument prototype would still apply. */
25674 /* The GNU C library defines this for functions which it implements
25675 to always fail with ENOSYS. Some functions are actually named
25676 something starting with __ and the normal name is an alias. */
25677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25680 char (*f) () = $ac_func;
25689 return f != $ac_func;
25694 rm -f conftest.
$ac_objext conftest
$ac_exeext
25695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25696 (eval $ac_link) 2>conftest.er1
25698 grep -v '^ *+' conftest.er1
>conftest.err
25700 cat conftest.err
>&5
25701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25702 (exit $ac_status); } &&
25703 { ac_try
='test -z "$ac_c_werror_flag"
25704 || test ! -s conftest.err'
25705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25706 (eval $ac_try) 2>&5
25708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25709 (exit $ac_status); }; } &&
25710 { ac_try
='test -s conftest$ac_exeext'
25711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25712 (eval $ac_try) 2>&5
25714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25715 (exit $ac_status); }; }; then
25716 eval "$as_ac_var=yes"
25718 echo "$as_me: failed program was:" >&5
25719 sed 's/^/| /' conftest.
$ac_ext >&5
25721 eval "$as_ac_var=no"
25723 rm -f conftest.err conftest.
$ac_objext \
25724 conftest
$ac_exeext conftest.
$ac_ext
25726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25728 if test `eval echo '${'$as_ac_var'}'` = yes; then
25729 cat >>confdefs.h
<<_ACEOF
25730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25737 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
25738 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
25739 cat >conftest.
$ac_ext <<_ACEOF
25742 cat confdefs.h
>>conftest.
$ac_ext
25743 cat >>conftest.
$ac_ext <<_ACEOF
25744 /* end confdefs.h. */
25746 #include <gtk/gtk.h>
25752 #if !GTK_CHECK_VERSION(2,4,0)
25753 #error "Not GTK+ 2.4"
25760 rm -f conftest.
$ac_objext
25761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25762 (eval $ac_compile) 2>conftest.er1
25764 grep -v '^ *+' conftest.er1
>conftest.err
25766 cat conftest.err
>&5
25767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25768 (exit $ac_status); } &&
25769 { ac_try
='test -z "$ac_c_werror_flag"
25770 || test ! -s conftest.err'
25771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25772 (eval $ac_try) 2>&5
25774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25775 (exit $ac_status); }; } &&
25776 { ac_try
='test -s conftest.$ac_objext'
25777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25778 (eval $ac_try) 2>&5
25780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25781 (exit $ac_status); }; }; then
25783 cat >>confdefs.h
<<\_ACEOF
25784 #define __WXGTK24__ 1
25787 echo "$as_me:$LINENO: result: yes" >&5
25788 echo "${ECHO_T}yes" >&6
25791 echo "$as_me: failed program was:" >&5
25792 sed 's/^/| /' conftest.
$ac_ext >&5
25795 echo "$as_me:$LINENO: result: no" >&5
25796 echo "${ECHO_T}no" >&6
25799 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25801 CFLAGS
="$save_CFLAGS"
25804 if test "$wxUSE_UNICODE" = "yes"; then
25805 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
25806 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
25811 if test "$USE_DARWIN" != 1; then
25813 for ac_func
in poll
25815 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25816 echo "$as_me:$LINENO: checking for $ac_func" >&5
25817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25818 if eval "test \"\${$as_ac_var+set}\" = set"; then
25819 echo $ECHO_N "(cached) $ECHO_C" >&6
25821 cat >conftest.
$ac_ext <<_ACEOF
25824 cat confdefs.h
>>conftest.
$ac_ext
25825 cat >>conftest.
$ac_ext <<_ACEOF
25826 /* end confdefs.h. */
25827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25829 #define $ac_func innocuous_$ac_func
25831 /* System header to define __stub macros and hopefully few prototypes,
25832 which can conflict with char $ac_func (); below.
25833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25834 <limits.h> exists even on freestanding compilers. */
25837 # include <limits.h>
25839 # include <assert.h>
25844 /* Override any gcc2 internal prototype to avoid an error. */
25849 /* We use char because int might match the return type of a gcc2
25850 builtin and then its argument prototype would still apply. */
25852 /* The GNU C library defines this for functions which it implements
25853 to always fail with ENOSYS. Some functions are actually named
25854 something starting with __ and the normal name is an alias. */
25855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25858 char (*f) () = $ac_func;
25867 return f != $ac_func;
25872 rm -f conftest.
$ac_objext conftest
$ac_exeext
25873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25874 (eval $ac_link) 2>conftest.er1
25876 grep -v '^ *+' conftest.er1
>conftest.err
25878 cat conftest.err
>&5
25879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25880 (exit $ac_status); } &&
25881 { ac_try
='test -z "$ac_c_werror_flag"
25882 || test ! -s conftest.err'
25883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25884 (eval $ac_try) 2>&5
25886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25887 (exit $ac_status); }; } &&
25888 { ac_try
='test -s conftest$ac_exeext'
25889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25890 (eval $ac_try) 2>&5
25892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25893 (exit $ac_status); }; }; then
25894 eval "$as_ac_var=yes"
25896 echo "$as_me: failed program was:" >&5
25897 sed 's/^/| /' conftest.
$ac_ext >&5
25899 eval "$as_ac_var=no"
25901 rm -f conftest.err conftest.
$ac_objext \
25902 conftest
$ac_exeext conftest.
$ac_ext
25904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25905 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25906 if test `eval echo '${'$as_ac_var'}'` = yes; then
25907 cat >>confdefs.h
<<_ACEOF
25908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25916 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
25917 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
25919 AFMINSTALL
=afminstall
25923 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
25924 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
25925 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
25926 echo $ECHO_N "(cached) $ECHO_C" >&6
25928 ac_check_lib_save_LIBS
=$LIBS
25930 cat >conftest.
$ac_ext <<_ACEOF
25933 cat confdefs.h
>>conftest.
$ac_ext
25934 cat >>conftest.
$ac_ext <<_ACEOF
25935 /* end confdefs.h. */
25937 /* Override any gcc2 internal prototype to avoid an error. */
25941 /* We use char because int might match the return type of a gcc2
25942 builtin and then its argument prototype would still apply. */
25943 char gdk_im_open ();
25952 rm -f conftest.
$ac_objext conftest
$ac_exeext
25953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25954 (eval $ac_link) 2>conftest.er1
25956 grep -v '^ *+' conftest.er1
>conftest.err
25958 cat conftest.err
>&5
25959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25960 (exit $ac_status); } &&
25961 { ac_try
='test -z "$ac_c_werror_flag"
25962 || test ! -s conftest.err'
25963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25964 (eval $ac_try) 2>&5
25966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25967 (exit $ac_status); }; } &&
25968 { ac_try
='test -s conftest$ac_exeext'
25969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25970 (eval $ac_try) 2>&5
25972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25973 (exit $ac_status); }; }; then
25974 ac_cv_lib_gdk_gdk_im_open
=yes
25976 echo "$as_me: failed program was:" >&5
25977 sed 's/^/| /' conftest.
$ac_ext >&5
25979 ac_cv_lib_gdk_gdk_im_open
=no
25981 rm -f conftest.err conftest.
$ac_objext \
25982 conftest
$ac_exeext conftest.
$ac_ext
25983 LIBS
=$ac_check_lib_save_LIBS
25985 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
25986 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
25987 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
25988 cat >>confdefs.h
<<\_ACEOF
25996 if test "$wxUSE_GPE" = "yes"; then
25997 echo "$as_me:$LINENO: checking for gpewidget library" >&5
25998 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
26001 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26003 for ac_extension
in a so sl dylib
; do
26004 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
26005 ac_find_libraries
=$ac_dir
26011 if test "$ac_find_libraries" != "" ; then
26013 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26015 if test $result = 0; then
26018 ac_path_to_link
=" -L$ac_find_libraries"
26021 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
26023 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26024 echo "${ECHO_T}found at $ac_find_libraries" >&6
26026 echo "$as_me:$LINENO: result: not found" >&5
26027 echo "${ECHO_T}not found" >&6
26033 if test "$wxUSE_MGL" = 1; then
26034 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
26035 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
26036 if test "x$MGL_ROOT" = x
; then
26037 echo "$as_me:$LINENO: result: not found" >&5
26038 echo "${ECHO_T}not found" >&6
26039 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
26040 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
26041 { (exit 1); exit 1; }; }
26043 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
26044 echo "${ECHO_T}$MGL_ROOT" >&6
26047 echo "$as_me:$LINENO: checking for libmgl location" >&5
26048 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
26051 if test "x$wxUSE_SHARED" = xyes
; then
26052 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
26054 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
26058 mgl_os_candidates
="dos32/dj2"
26061 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
26062 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
26063 { (exit 1); exit 1; }; }
26069 for mgl_os_i
in $mgl_os_candidates ; do
26070 if test "x$mgl_os" = x
; then
26071 if test "$wxUSE_DEBUG_FLAG" = yes ; then
26072 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
26073 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
26078 if test "x$mgl_lib_type" = x
; then
26079 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
26080 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
26081 mgl_lib_type
=release
26088 if test "x$mgl_os" = x
; then
26089 echo "$as_me:$LINENO: result: not found" >&5
26090 echo "${ECHO_T}not found" >&6
26091 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
26092 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
26093 { (exit 1); exit 1; }; }
26095 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
26096 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
26098 wxUSE_UNIVERSAL
="yes"
26100 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
26101 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
26103 AFMINSTALL
=afminstall
26108 if test "$wxUSE_MICROWIN" = 1; then
26109 echo "$as_me:$LINENO: checking for MicroWindows" >&5
26110 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
26111 if test "x$MICROWINDOWS" = x
; then
26112 echo "$as_me:$LINENO: result: not found" >&5
26113 echo "${ECHO_T}not found" >&6
26114 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
26115 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
26116 { (exit 1); exit 1; }; }
26118 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
26119 echo "${ECHO_T}$MICROWINDOWS" >&6
26122 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
26123 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
26124 echo "${ECHO_T}MicroWindows' libraries found." >&6
26126 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
26127 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
26128 { (exit 1); exit 1; }; }
26131 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
26132 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
26134 wxUSE_UNIVERSAL
="yes"
26136 AFMINSTALL
=afminstall
26138 GUIDIST
=MICROWIN_DIST
26140 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
26143 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26144 echo "$as_me:$LINENO: checking for X" >&5
26145 echo $ECHO_N "checking for X... $ECHO_C" >&6
26148 # Check whether --with-x or --without-x was given.
26149 if test "${with_x+set}" = set; then
26153 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
26154 if test "x$with_x" = xno
; then
26155 # The user explicitly disabled X.
26158 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
26159 # Both variables are already set.
26162 if test "${ac_cv_have_x+set}" = set; then
26163 echo $ECHO_N "(cached) $ECHO_C" >&6
26165 # One or both of the vars are not set, and there is no cached value.
26166 ac_x_includes
=no ac_x_libraries
=no
26167 rm -fr conftest.dir
26168 if mkdir conftest.dir
; then
26170 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
26171 cat >Imakefile
<<'_ACEOF'
26173 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
26175 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
26176 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
26177 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
26178 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
26179 for ac_extension
in a so sl
; do
26180 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
26181 test -f $ac_im_libdir/libX11.
$ac_extension; then
26182 ac_im_usrlibdir
=$ac_im_libdir; break
26185 # Screen out bogus values from the imake configuration. They are
26186 # bogus both because they are the default anyway, and because
26187 # using them would break gcc on systems where it needs fixed includes.
26188 case $ac_im_incroot in
26190 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
26192 case $ac_im_usrlibdir in
26193 /usr
/lib
| /lib
) ;;
26194 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
26198 rm -fr conftest.dir
26201 # Standard set of common directories for X headers.
26202 # Check X11 before X11Rn because it is often a symlink to the current release.
26214 /usr/local/X11/include
26215 /usr/local/X11R6/include
26216 /usr/local/X11R5/include
26217 /usr/local/X11R4/include
26219 /usr/local/include/X11
26220 /usr/local/include/X11R6
26221 /usr/local/include/X11R5
26222 /usr/local/include/X11R4
26226 /usr/XFree86/include/X11
26230 /usr/unsupported/include
26231 /usr/athena/include
26232 /usr/local/x11r5/include
26233 /usr/lpp/Xamples/include
26235 /usr/openwin/include
26236 /usr/openwin/share/include'
26238 if test "$ac_x_includes" = no
; then
26239 # Guess where to find include files, by looking for Intrinsic.h.
26240 # First, try using that file with no special directory specified.
26241 cat >conftest.
$ac_ext <<_ACEOF
26244 cat confdefs.h
>>conftest.
$ac_ext
26245 cat >>conftest.
$ac_ext <<_ACEOF
26246 /* end confdefs.h. */
26247 #include <X11/Intrinsic.h>
26249 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26250 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26252 grep -v '^ *+' conftest.er1
>conftest.err
26254 cat conftest.err
>&5
26255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26256 (exit $ac_status); } >/dev
/null
; then
26257 if test -s conftest.err
; then
26258 ac_cpp_err
=$ac_c_preproc_warn_flag
26259 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26266 if test -z "$ac_cpp_err"; then
26267 # We can compile using X headers with no special include directory.
26270 echo "$as_me: failed program was:" >&5
26271 sed 's/^/| /' conftest.
$ac_ext >&5
26273 for ac_dir
in $ac_x_header_dirs; do
26274 if test -r "$ac_dir/X11/Intrinsic.h"; then
26275 ac_x_includes
=$ac_dir
26280 rm -f conftest.err conftest.
$ac_ext
26281 fi # $ac_x_includes = no
26283 if test "$ac_x_libraries" = no
; then
26284 # Check for the libraries.
26285 # See if we find them without any special options.
26286 # Don't add to $LIBS permanently.
26289 cat >conftest.
$ac_ext <<_ACEOF
26292 cat confdefs.h
>>conftest.
$ac_ext
26293 cat >>conftest.
$ac_ext <<_ACEOF
26294 /* end confdefs.h. */
26295 #include <X11/Intrinsic.h>
26304 rm -f conftest.
$ac_objext conftest
$ac_exeext
26305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26306 (eval $ac_link) 2>conftest.er1
26308 grep -v '^ *+' conftest.er1
>conftest.err
26310 cat conftest.err
>&5
26311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26312 (exit $ac_status); } &&
26313 { ac_try
='test -z "$ac_c_werror_flag"
26314 || test ! -s conftest.err'
26315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26316 (eval $ac_try) 2>&5
26318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26319 (exit $ac_status); }; } &&
26320 { ac_try
='test -s conftest$ac_exeext'
26321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26322 (eval $ac_try) 2>&5
26324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26325 (exit $ac_status); }; }; then
26327 # We can link X programs with no special library path.
26330 echo "$as_me: failed program was:" >&5
26331 sed 's/^/| /' conftest.
$ac_ext >&5
26334 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
26336 # Don't even attempt the hair of trying to link an X program!
26337 for ac_extension
in a so sl
; do
26338 if test -r $ac_dir/libXt.
$ac_extension; then
26339 ac_x_libraries
=$ac_dir
26345 rm -f conftest.err conftest.
$ac_objext \
26346 conftest
$ac_exeext conftest.
$ac_ext
26347 fi # $ac_x_libraries = no
26349 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
26350 # Didn't find X anywhere. Cache the known absence of X.
26351 ac_cv_have_x
="have_x=no"
26353 # Record where we found X for the cache.
26354 ac_cv_have_x
="have_x=yes \
26355 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
26360 eval "$ac_cv_have_x"
26363 if test "$have_x" != yes; then
26364 echo "$as_me:$LINENO: result: $have_x" >&5
26365 echo "${ECHO_T}$have_x" >&6
26368 # If each of the values was on the command line, it overrides each guess.
26369 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
26370 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
26371 # Update the cache value to reflect the command line values.
26372 ac_cv_have_x
="have_x=yes \
26373 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
26374 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
26375 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
26378 if test "$no_x" = yes; then
26379 # Not all programs may use this symbol, but it does not hurt to define it.
26381 cat >>confdefs.h
<<\_ACEOF
26382 #define X_DISPLAY_MISSING 1
26385 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
26387 if test -n "$x_includes"; then
26388 X_CFLAGS
="$X_CFLAGS -I$x_includes"
26391 # It would also be nice to do this for all -L options, not just this one.
26392 if test -n "$x_libraries"; then
26393 X_LIBS
="$X_LIBS -L$x_libraries"
26394 # For Solaris; some versions of Sun CC require a space after -R and
26395 # others require no space. Words are not sufficient . . . .
26396 case `(uname -sr) 2>/dev/null` in
26398 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
26399 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
26400 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
26401 cat >conftest.
$ac_ext <<_ACEOF
26404 cat confdefs.h
>>conftest.
$ac_ext
26405 cat >>conftest.
$ac_ext <<_ACEOF
26406 /* end confdefs.h. */
26416 rm -f conftest.
$ac_objext conftest
$ac_exeext
26417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26418 (eval $ac_link) 2>conftest.er1
26420 grep -v '^ *+' conftest.er1
>conftest.err
26422 cat conftest.err
>&5
26423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26424 (exit $ac_status); } &&
26425 { ac_try
='test -z "$ac_c_werror_flag"
26426 || test ! -s conftest.err'
26427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26428 (eval $ac_try) 2>&5
26430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26431 (exit $ac_status); }; } &&
26432 { ac_try
='test -s conftest$ac_exeext'
26433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26434 (eval $ac_try) 2>&5
26436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26437 (exit $ac_status); }; }; then
26440 echo "$as_me: failed program was:" >&5
26441 sed 's/^/| /' conftest.
$ac_ext >&5
26445 rm -f conftest.err conftest.
$ac_objext \
26446 conftest
$ac_exeext conftest.
$ac_ext
26447 if test $ac_R_nospace = yes; then
26448 echo "$as_me:$LINENO: result: no" >&5
26449 echo "${ECHO_T}no" >&6
26450 X_LIBS
="$X_LIBS -R$x_libraries"
26452 LIBS
="$ac_xsave_LIBS -R $x_libraries"
26453 cat >conftest.
$ac_ext <<_ACEOF
26456 cat confdefs.h
>>conftest.
$ac_ext
26457 cat >>conftest.
$ac_ext <<_ACEOF
26458 /* end confdefs.h. */
26468 rm -f conftest.
$ac_objext conftest
$ac_exeext
26469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26470 (eval $ac_link) 2>conftest.er1
26472 grep -v '^ *+' conftest.er1
>conftest.err
26474 cat conftest.err
>&5
26475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26476 (exit $ac_status); } &&
26477 { ac_try
='test -z "$ac_c_werror_flag"
26478 || test ! -s conftest.err'
26479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26480 (eval $ac_try) 2>&5
26482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26483 (exit $ac_status); }; } &&
26484 { ac_try
='test -s conftest$ac_exeext'
26485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26486 (eval $ac_try) 2>&5
26488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26489 (exit $ac_status); }; }; then
26492 echo "$as_me: failed program was:" >&5
26493 sed 's/^/| /' conftest.
$ac_ext >&5
26497 rm -f conftest.err conftest.
$ac_objext \
26498 conftest
$ac_exeext conftest.
$ac_ext
26499 if test $ac_R_space = yes; then
26500 echo "$as_me:$LINENO: result: yes" >&5
26501 echo "${ECHO_T}yes" >&6
26502 X_LIBS
="$X_LIBS -R $x_libraries"
26504 echo "$as_me:$LINENO: result: neither works" >&5
26505 echo "${ECHO_T}neither works" >&6
26508 LIBS
=$ac_xsave_LIBS
26512 # Check for system-dependent libraries X programs must link with.
26513 # Do this before checking for the system-independent R6 libraries
26514 # (-lICE), since we may need -lsocket or whatever for X linking.
26516 if test "$ISC" = yes; then
26517 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
26519 # Martyn Johnson says this is needed for Ultrix, if the X
26520 # libraries were built with DECnet support. And Karl Berry says
26521 # the Alpha needs dnet_stub (dnet does not exist).
26522 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
26523 cat >conftest.
$ac_ext <<_ACEOF
26526 cat confdefs.h
>>conftest.
$ac_ext
26527 cat >>conftest.
$ac_ext <<_ACEOF
26528 /* end confdefs.h. */
26530 /* Override any gcc2 internal prototype to avoid an error. */
26534 /* We use char because int might match the return type of a gcc2
26535 builtin and then its argument prototype would still apply. */
26536 char XOpenDisplay ();
26545 rm -f conftest.
$ac_objext conftest
$ac_exeext
26546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26547 (eval $ac_link) 2>conftest.er1
26549 grep -v '^ *+' conftest.er1
>conftest.err
26551 cat conftest.err
>&5
26552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26553 (exit $ac_status); } &&
26554 { ac_try
='test -z "$ac_c_werror_flag"
26555 || test ! -s conftest.err'
26556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26557 (eval $ac_try) 2>&5
26559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26560 (exit $ac_status); }; } &&
26561 { ac_try
='test -s conftest$ac_exeext'
26562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26563 (eval $ac_try) 2>&5
26565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26566 (exit $ac_status); }; }; then
26569 echo "$as_me: failed program was:" >&5
26570 sed 's/^/| /' conftest.
$ac_ext >&5
26572 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
26573 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
26574 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
26575 echo $ECHO_N "(cached) $ECHO_C" >&6
26577 ac_check_lib_save_LIBS
=$LIBS
26578 LIBS
="-ldnet $LIBS"
26579 cat >conftest.
$ac_ext <<_ACEOF
26582 cat confdefs.h
>>conftest.
$ac_ext
26583 cat >>conftest.
$ac_ext <<_ACEOF
26584 /* end confdefs.h. */
26586 /* Override any gcc2 internal prototype to avoid an error. */
26590 /* We use char because int might match the return type of a gcc2
26591 builtin and then its argument prototype would still apply. */
26601 rm -f conftest.
$ac_objext conftest
$ac_exeext
26602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26603 (eval $ac_link) 2>conftest.er1
26605 grep -v '^ *+' conftest.er1
>conftest.err
26607 cat conftest.err
>&5
26608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26609 (exit $ac_status); } &&
26610 { ac_try
='test -z "$ac_c_werror_flag"
26611 || test ! -s conftest.err'
26612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26613 (eval $ac_try) 2>&5
26615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26616 (exit $ac_status); }; } &&
26617 { ac_try
='test -s conftest$ac_exeext'
26618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26619 (eval $ac_try) 2>&5
26621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26622 (exit $ac_status); }; }; then
26623 ac_cv_lib_dnet_dnet_ntoa
=yes
26625 echo "$as_me: failed program was:" >&5
26626 sed 's/^/| /' conftest.
$ac_ext >&5
26628 ac_cv_lib_dnet_dnet_ntoa
=no
26630 rm -f conftest.err conftest.
$ac_objext \
26631 conftest
$ac_exeext conftest.
$ac_ext
26632 LIBS
=$ac_check_lib_save_LIBS
26634 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
26635 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
26636 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
26637 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
26640 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
26641 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
26642 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
26643 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
26644 echo $ECHO_N "(cached) $ECHO_C" >&6
26646 ac_check_lib_save_LIBS
=$LIBS
26647 LIBS
="-ldnet_stub $LIBS"
26648 cat >conftest.
$ac_ext <<_ACEOF
26651 cat confdefs.h
>>conftest.
$ac_ext
26652 cat >>conftest.
$ac_ext <<_ACEOF
26653 /* end confdefs.h. */
26655 /* Override any gcc2 internal prototype to avoid an error. */
26659 /* We use char because int might match the return type of a gcc2
26660 builtin and then its argument prototype would still apply. */
26670 rm -f conftest.
$ac_objext conftest
$ac_exeext
26671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26672 (eval $ac_link) 2>conftest.er1
26674 grep -v '^ *+' conftest.er1
>conftest.err
26676 cat conftest.err
>&5
26677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26678 (exit $ac_status); } &&
26679 { ac_try
='test -z "$ac_c_werror_flag"
26680 || test ! -s conftest.err'
26681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26682 (eval $ac_try) 2>&5
26684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26685 (exit $ac_status); }; } &&
26686 { ac_try
='test -s conftest$ac_exeext'
26687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26688 (eval $ac_try) 2>&5
26690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26691 (exit $ac_status); }; }; then
26692 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
26694 echo "$as_me: failed program was:" >&5
26695 sed 's/^/| /' conftest.
$ac_ext >&5
26697 ac_cv_lib_dnet_stub_dnet_ntoa
=no
26699 rm -f conftest.err conftest.
$ac_objext \
26700 conftest
$ac_exeext conftest.
$ac_ext
26701 LIBS
=$ac_check_lib_save_LIBS
26703 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26704 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
26705 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
26706 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
26711 rm -f conftest.err conftest.
$ac_objext \
26712 conftest
$ac_exeext conftest.
$ac_ext
26713 LIBS
="$ac_xsave_LIBS"
26715 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26716 # to get the SysV transport functions.
26717 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26719 # The nsl library prevents programs from opening the X display
26720 # on Irix 5.2, according to T.E. Dickey.
26721 # The functions gethostbyname, getservbyname, and inet_addr are
26722 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26723 echo "$as_me:$LINENO: checking for gethostbyname" >&5
26724 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
26725 if test "${ac_cv_func_gethostbyname+set}" = set; then
26726 echo $ECHO_N "(cached) $ECHO_C" >&6
26728 cat >conftest.
$ac_ext <<_ACEOF
26731 cat confdefs.h
>>conftest.
$ac_ext
26732 cat >>conftest.
$ac_ext <<_ACEOF
26733 /* end confdefs.h. */
26734 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26736 #define gethostbyname innocuous_gethostbyname
26738 /* System header to define __stub macros and hopefully few prototypes,
26739 which can conflict with char gethostbyname (); below.
26740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26741 <limits.h> exists even on freestanding compilers. */
26744 # include <limits.h>
26746 # include <assert.h>
26749 #undef gethostbyname
26751 /* 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 gethostbyname ();
26759 /* The GNU C library defines this for functions which it implements
26760 to always fail with ENOSYS. Some functions are actually named
26761 something starting with __ and the normal name is an alias. */
26762 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
26765 char (*f) () = gethostbyname;
26774 return f != gethostbyname;
26779 rm -f conftest.
$ac_objext conftest
$ac_exeext
26780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26781 (eval $ac_link) 2>conftest.er1
26783 grep -v '^ *+' conftest.er1
>conftest.err
26785 cat conftest.err
>&5
26786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26787 (exit $ac_status); } &&
26788 { ac_try
='test -z "$ac_c_werror_flag"
26789 || test ! -s conftest.err'
26790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26791 (eval $ac_try) 2>&5
26793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26794 (exit $ac_status); }; } &&
26795 { ac_try
='test -s conftest$ac_exeext'
26796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26797 (eval $ac_try) 2>&5
26799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26800 (exit $ac_status); }; }; then
26801 ac_cv_func_gethostbyname
=yes
26803 echo "$as_me: failed program was:" >&5
26804 sed 's/^/| /' conftest.
$ac_ext >&5
26806 ac_cv_func_gethostbyname
=no
26808 rm -f conftest.err conftest.
$ac_objext \
26809 conftest
$ac_exeext conftest.
$ac_ext
26811 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
26812 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
26814 if test $ac_cv_func_gethostbyname = no
; then
26815 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
26816 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
26817 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
26818 echo $ECHO_N "(cached) $ECHO_C" >&6
26820 ac_check_lib_save_LIBS
=$LIBS
26822 cat >conftest.
$ac_ext <<_ACEOF
26825 cat confdefs.h
>>conftest.
$ac_ext
26826 cat >>conftest.
$ac_ext <<_ACEOF
26827 /* end confdefs.h. */
26829 /* Override any gcc2 internal prototype to avoid an error. */
26833 /* We use char because int might match the return type of a gcc2
26834 builtin and then its argument prototype would still apply. */
26835 char gethostbyname ();
26844 rm -f conftest.
$ac_objext conftest
$ac_exeext
26845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26846 (eval $ac_link) 2>conftest.er1
26848 grep -v '^ *+' conftest.er1
>conftest.err
26850 cat conftest.err
>&5
26851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26852 (exit $ac_status); } &&
26853 { ac_try
='test -z "$ac_c_werror_flag"
26854 || test ! -s conftest.err'
26855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26856 (eval $ac_try) 2>&5
26858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26859 (exit $ac_status); }; } &&
26860 { ac_try
='test -s conftest$ac_exeext'
26861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26862 (eval $ac_try) 2>&5
26864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26865 (exit $ac_status); }; }; then
26866 ac_cv_lib_nsl_gethostbyname
=yes
26868 echo "$as_me: failed program was:" >&5
26869 sed 's/^/| /' conftest.
$ac_ext >&5
26871 ac_cv_lib_nsl_gethostbyname
=no
26873 rm -f conftest.err conftest.
$ac_objext \
26874 conftest
$ac_exeext conftest.
$ac_ext
26875 LIBS
=$ac_check_lib_save_LIBS
26877 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
26878 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
26879 if test $ac_cv_lib_nsl_gethostbyname = yes; then
26880 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
26883 if test $ac_cv_lib_nsl_gethostbyname = no
; then
26884 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
26885 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
26886 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
26887 echo $ECHO_N "(cached) $ECHO_C" >&6
26889 ac_check_lib_save_LIBS
=$LIBS
26891 cat >conftest.
$ac_ext <<_ACEOF
26894 cat confdefs.h
>>conftest.
$ac_ext
26895 cat >>conftest.
$ac_ext <<_ACEOF
26896 /* end confdefs.h. */
26898 /* Override any gcc2 internal prototype to avoid an error. */
26902 /* We use char because int might match the return type of a gcc2
26903 builtin and then its argument prototype would still apply. */
26904 char gethostbyname ();
26913 rm -f conftest.
$ac_objext conftest
$ac_exeext
26914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26915 (eval $ac_link) 2>conftest.er1
26917 grep -v '^ *+' conftest.er1
>conftest.err
26919 cat conftest.err
>&5
26920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26921 (exit $ac_status); } &&
26922 { ac_try
='test -z "$ac_c_werror_flag"
26923 || test ! -s conftest.err'
26924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26925 (eval $ac_try) 2>&5
26927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26928 (exit $ac_status); }; } &&
26929 { ac_try
='test -s conftest$ac_exeext'
26930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26931 (eval $ac_try) 2>&5
26933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26934 (exit $ac_status); }; }; then
26935 ac_cv_lib_bsd_gethostbyname
=yes
26937 echo "$as_me: failed program was:" >&5
26938 sed 's/^/| /' conftest.
$ac_ext >&5
26940 ac_cv_lib_bsd_gethostbyname
=no
26942 rm -f conftest.err conftest.
$ac_objext \
26943 conftest
$ac_exeext conftest.
$ac_ext
26944 LIBS
=$ac_check_lib_save_LIBS
26946 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
26947 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
26948 if test $ac_cv_lib_bsd_gethostbyname = yes; then
26949 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
26955 # lieder@skyler.mavd.honeywell.com says without -lsocket,
26956 # socket/setsockopt and other routines are undefined under SCO ODT
26957 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
26958 # on later versions), says Simon Leinen: it contains gethostby*
26959 # variants that don't use the name server (or something). -lsocket
26960 # must be given before -lnsl if both are needed. We assume that
26961 # if connect needs -lnsl, so does gethostbyname.
26962 echo "$as_me:$LINENO: checking for connect" >&5
26963 echo $ECHO_N "checking for connect... $ECHO_C" >&6
26964 if test "${ac_cv_func_connect+set}" = set; then
26965 echo $ECHO_N "(cached) $ECHO_C" >&6
26967 cat >conftest.
$ac_ext <<_ACEOF
26970 cat confdefs.h
>>conftest.
$ac_ext
26971 cat >>conftest.
$ac_ext <<_ACEOF
26972 /* end confdefs.h. */
26973 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
26974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26975 #define connect innocuous_connect
26977 /* System header to define __stub macros and hopefully few prototypes,
26978 which can conflict with char connect (); below.
26979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26980 <limits.h> exists even on freestanding compilers. */
26983 # include <limits.h>
26985 # include <assert.h>
26990 /* Override any gcc2 internal prototype to avoid an error. */
26995 /* We use char because int might match the return type of a gcc2
26996 builtin and then its argument prototype would still apply. */
26998 /* The GNU C library defines this for functions which it implements
26999 to always fail with ENOSYS. Some functions are actually named
27000 something starting with __ and the normal name is an alias. */
27001 #if defined (__stub_connect) || defined (__stub___connect)
27004 char (*f) () = connect;
27013 return f != connect;
27018 rm -f conftest.
$ac_objext conftest
$ac_exeext
27019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27020 (eval $ac_link) 2>conftest.er1
27022 grep -v '^ *+' conftest.er1
>conftest.err
27024 cat conftest.err
>&5
27025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27026 (exit $ac_status); } &&
27027 { ac_try
='test -z "$ac_c_werror_flag"
27028 || test ! -s conftest.err'
27029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27030 (eval $ac_try) 2>&5
27032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27033 (exit $ac_status); }; } &&
27034 { ac_try
='test -s conftest$ac_exeext'
27035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27036 (eval $ac_try) 2>&5
27038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27039 (exit $ac_status); }; }; then
27040 ac_cv_func_connect
=yes
27042 echo "$as_me: failed program was:" >&5
27043 sed 's/^/| /' conftest.
$ac_ext >&5
27045 ac_cv_func_connect
=no
27047 rm -f conftest.err conftest.
$ac_objext \
27048 conftest
$ac_exeext conftest.
$ac_ext
27050 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
27051 echo "${ECHO_T}$ac_cv_func_connect" >&6
27053 if test $ac_cv_func_connect = no
; then
27054 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
27055 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
27056 if test "${ac_cv_lib_socket_connect+set}" = set; then
27057 echo $ECHO_N "(cached) $ECHO_C" >&6
27059 ac_check_lib_save_LIBS
=$LIBS
27060 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
27061 cat >conftest.
$ac_ext <<_ACEOF
27064 cat confdefs.h
>>conftest.
$ac_ext
27065 cat >>conftest.
$ac_ext <<_ACEOF
27066 /* end confdefs.h. */
27068 /* Override any gcc2 internal prototype to avoid an error. */
27072 /* We use char because int might match the return type of a gcc2
27073 builtin and then its argument prototype would still apply. */
27083 rm -f conftest.
$ac_objext conftest
$ac_exeext
27084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27085 (eval $ac_link) 2>conftest.er1
27087 grep -v '^ *+' conftest.er1
>conftest.err
27089 cat conftest.err
>&5
27090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27091 (exit $ac_status); } &&
27092 { ac_try
='test -z "$ac_c_werror_flag"
27093 || test ! -s conftest.err'
27094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27095 (eval $ac_try) 2>&5
27097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27098 (exit $ac_status); }; } &&
27099 { ac_try
='test -s conftest$ac_exeext'
27100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27101 (eval $ac_try) 2>&5
27103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27104 (exit $ac_status); }; }; then
27105 ac_cv_lib_socket_connect
=yes
27107 echo "$as_me: failed program was:" >&5
27108 sed 's/^/| /' conftest.
$ac_ext >&5
27110 ac_cv_lib_socket_connect
=no
27112 rm -f conftest.err conftest.
$ac_objext \
27113 conftest
$ac_exeext conftest.
$ac_ext
27114 LIBS
=$ac_check_lib_save_LIBS
27116 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
27117 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
27118 if test $ac_cv_lib_socket_connect = yes; then
27119 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
27124 # Guillermo Gomez says -lposix is necessary on A/UX.
27125 echo "$as_me:$LINENO: checking for remove" >&5
27126 echo $ECHO_N "checking for remove... $ECHO_C" >&6
27127 if test "${ac_cv_func_remove+set}" = set; then
27128 echo $ECHO_N "(cached) $ECHO_C" >&6
27130 cat >conftest.
$ac_ext <<_ACEOF
27133 cat confdefs.h
>>conftest.
$ac_ext
27134 cat >>conftest.
$ac_ext <<_ACEOF
27135 /* end confdefs.h. */
27136 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
27137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27138 #define remove innocuous_remove
27140 /* System header to define __stub macros and hopefully few prototypes,
27141 which can conflict with char remove (); below.
27142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27143 <limits.h> exists even on freestanding compilers. */
27146 # include <limits.h>
27148 # include <assert.h>
27153 /* Override any gcc2 internal prototype to avoid an error. */
27158 /* We use char because int might match the return type of a gcc2
27159 builtin and then its argument prototype would still apply. */
27161 /* The GNU C library defines this for functions which it implements
27162 to always fail with ENOSYS. Some functions are actually named
27163 something starting with __ and the normal name is an alias. */
27164 #if defined (__stub_remove) || defined (__stub___remove)
27167 char (*f) () = remove;
27176 return f != remove;
27181 rm -f conftest.
$ac_objext conftest
$ac_exeext
27182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27183 (eval $ac_link) 2>conftest.er1
27185 grep -v '^ *+' conftest.er1
>conftest.err
27187 cat conftest.err
>&5
27188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27189 (exit $ac_status); } &&
27190 { ac_try
='test -z "$ac_c_werror_flag"
27191 || test ! -s conftest.err'
27192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27193 (eval $ac_try) 2>&5
27195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27196 (exit $ac_status); }; } &&
27197 { ac_try
='test -s conftest$ac_exeext'
27198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27199 (eval $ac_try) 2>&5
27201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27202 (exit $ac_status); }; }; then
27203 ac_cv_func_remove
=yes
27205 echo "$as_me: failed program was:" >&5
27206 sed 's/^/| /' conftest.
$ac_ext >&5
27208 ac_cv_func_remove
=no
27210 rm -f conftest.err conftest.
$ac_objext \
27211 conftest
$ac_exeext conftest.
$ac_ext
27213 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
27214 echo "${ECHO_T}$ac_cv_func_remove" >&6
27216 if test $ac_cv_func_remove = no
; then
27217 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
27218 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
27219 if test "${ac_cv_lib_posix_remove+set}" = set; then
27220 echo $ECHO_N "(cached) $ECHO_C" >&6
27222 ac_check_lib_save_LIBS
=$LIBS
27223 LIBS
="-lposix $LIBS"
27224 cat >conftest.
$ac_ext <<_ACEOF
27227 cat confdefs.h
>>conftest.
$ac_ext
27228 cat >>conftest.
$ac_ext <<_ACEOF
27229 /* end confdefs.h. */
27231 /* Override any gcc2 internal prototype to avoid an error. */
27235 /* We use char because int might match the return type of a gcc2
27236 builtin and then its argument prototype would still apply. */
27246 rm -f conftest.
$ac_objext conftest
$ac_exeext
27247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27248 (eval $ac_link) 2>conftest.er1
27250 grep -v '^ *+' conftest.er1
>conftest.err
27252 cat conftest.err
>&5
27253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27254 (exit $ac_status); } &&
27255 { ac_try
='test -z "$ac_c_werror_flag"
27256 || test ! -s conftest.err'
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); }; } &&
27262 { ac_try
='test -s conftest$ac_exeext'
27263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27264 (eval $ac_try) 2>&5
27266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27267 (exit $ac_status); }; }; then
27268 ac_cv_lib_posix_remove
=yes
27270 echo "$as_me: failed program was:" >&5
27271 sed 's/^/| /' conftest.
$ac_ext >&5
27273 ac_cv_lib_posix_remove
=no
27275 rm -f conftest.err conftest.
$ac_objext \
27276 conftest
$ac_exeext conftest.
$ac_ext
27277 LIBS
=$ac_check_lib_save_LIBS
27279 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
27280 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
27281 if test $ac_cv_lib_posix_remove = yes; then
27282 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
27287 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
27288 echo "$as_me:$LINENO: checking for shmat" >&5
27289 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
27290 if test "${ac_cv_func_shmat+set}" = set; then
27291 echo $ECHO_N "(cached) $ECHO_C" >&6
27293 cat >conftest.
$ac_ext <<_ACEOF
27296 cat confdefs.h
>>conftest.
$ac_ext
27297 cat >>conftest.
$ac_ext <<_ACEOF
27298 /* end confdefs.h. */
27299 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
27300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27301 #define shmat innocuous_shmat
27303 /* System header to define __stub macros and hopefully few prototypes,
27304 which can conflict with char shmat (); below.
27305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27306 <limits.h> exists even on freestanding compilers. */
27309 # include <limits.h>
27311 # include <assert.h>
27316 /* Override any gcc2 internal prototype to avoid an error. */
27321 /* We use char because int might match the return type of a gcc2
27322 builtin and then its argument prototype would still apply. */
27324 /* The GNU C library defines this for functions which it implements
27325 to always fail with ENOSYS. Some functions are actually named
27326 something starting with __ and the normal name is an alias. */
27327 #if defined (__stub_shmat) || defined (__stub___shmat)
27330 char (*f) () = shmat;
27344 rm -f conftest.
$ac_objext conftest
$ac_exeext
27345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27346 (eval $ac_link) 2>conftest.er1
27348 grep -v '^ *+' conftest.er1
>conftest.err
27350 cat conftest.err
>&5
27351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27352 (exit $ac_status); } &&
27353 { ac_try
='test -z "$ac_c_werror_flag"
27354 || test ! -s conftest.err'
27355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27356 (eval $ac_try) 2>&5
27358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27359 (exit $ac_status); }; } &&
27360 { ac_try
='test -s conftest$ac_exeext'
27361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27362 (eval $ac_try) 2>&5
27364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27365 (exit $ac_status); }; }; then
27366 ac_cv_func_shmat
=yes
27368 echo "$as_me: failed program was:" >&5
27369 sed 's/^/| /' conftest.
$ac_ext >&5
27371 ac_cv_func_shmat
=no
27373 rm -f conftest.err conftest.
$ac_objext \
27374 conftest
$ac_exeext conftest.
$ac_ext
27376 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
27377 echo "${ECHO_T}$ac_cv_func_shmat" >&6
27379 if test $ac_cv_func_shmat = no
; then
27380 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
27381 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
27382 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
27383 echo $ECHO_N "(cached) $ECHO_C" >&6
27385 ac_check_lib_save_LIBS
=$LIBS
27387 cat >conftest.
$ac_ext <<_ACEOF
27390 cat confdefs.h
>>conftest.
$ac_ext
27391 cat >>conftest.
$ac_ext <<_ACEOF
27392 /* end confdefs.h. */
27394 /* Override any gcc2 internal prototype to avoid an error. */
27398 /* We use char because int might match the return type of a gcc2
27399 builtin and then its argument prototype would still apply. */
27409 rm -f conftest.
$ac_objext conftest
$ac_exeext
27410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27411 (eval $ac_link) 2>conftest.er1
27413 grep -v '^ *+' conftest.er1
>conftest.err
27415 cat conftest.err
>&5
27416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27417 (exit $ac_status); } &&
27418 { ac_try
='test -z "$ac_c_werror_flag"
27419 || test ! -s conftest.err'
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); }; } &&
27425 { ac_try
='test -s conftest$ac_exeext'
27426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27427 (eval $ac_try) 2>&5
27429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27430 (exit $ac_status); }; }; then
27431 ac_cv_lib_ipc_shmat
=yes
27433 echo "$as_me: failed program was:" >&5
27434 sed 's/^/| /' conftest.
$ac_ext >&5
27436 ac_cv_lib_ipc_shmat
=no
27438 rm -f conftest.err conftest.
$ac_objext \
27439 conftest
$ac_exeext conftest.
$ac_ext
27440 LIBS
=$ac_check_lib_save_LIBS
27442 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
27443 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
27444 if test $ac_cv_lib_ipc_shmat = yes; then
27445 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
27451 # Check for libraries that X11R6 Xt/Xaw programs need.
27452 ac_save_LDFLAGS
=$LDFLAGS
27453 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
27454 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
27455 # check for ICE first), but we must link in the order -lSM -lICE or
27456 # we get undefined symbols. So assume we have SM if we have ICE.
27457 # These have to be linked with before -lX11, unlike the other
27458 # libraries we check for below, so use a different variable.
27459 # John Interrante, Karl Berry
27460 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
27461 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
27462 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
27463 echo $ECHO_N "(cached) $ECHO_C" >&6
27465 ac_check_lib_save_LIBS
=$LIBS
27466 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
27467 cat >conftest.
$ac_ext <<_ACEOF
27470 cat confdefs.h
>>conftest.
$ac_ext
27471 cat >>conftest.
$ac_ext <<_ACEOF
27472 /* end confdefs.h. */
27474 /* Override any gcc2 internal prototype to avoid an error. */
27478 /* We use char because int might match the return type of a gcc2
27479 builtin and then its argument prototype would still apply. */
27480 char IceConnectionNumber ();
27484 IceConnectionNumber ();
27489 rm -f conftest.
$ac_objext conftest
$ac_exeext
27490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27491 (eval $ac_link) 2>conftest.er1
27493 grep -v '^ *+' conftest.er1
>conftest.err
27495 cat conftest.err
>&5
27496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27497 (exit $ac_status); } &&
27498 { ac_try
='test -z "$ac_c_werror_flag"
27499 || test ! -s conftest.err'
27500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27501 (eval $ac_try) 2>&5
27503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27504 (exit $ac_status); }; } &&
27505 { ac_try
='test -s conftest$ac_exeext'
27506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27507 (eval $ac_try) 2>&5
27509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27510 (exit $ac_status); }; }; then
27511 ac_cv_lib_ICE_IceConnectionNumber
=yes
27513 echo "$as_me: failed program was:" >&5
27514 sed 's/^/| /' conftest.
$ac_ext >&5
27516 ac_cv_lib_ICE_IceConnectionNumber
=no
27518 rm -f conftest.err conftest.
$ac_objext \
27519 conftest
$ac_exeext conftest.
$ac_ext
27520 LIBS
=$ac_check_lib_save_LIBS
27522 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
27523 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
27524 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
27525 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
27528 LDFLAGS
=$ac_save_LDFLAGS
27533 if test "$no_x" = "yes"; then
27534 { { echo "$as_me:$LINENO: error: X11 not found" >&5
27535 echo "$as_me: error: X11 not found" >&2;}
27536 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
27539 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
27540 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
27541 AFMINSTALL
=afminstall
27542 COMPILED_X_PROGRAM
=0
27546 if test "$wxUSE_X11" = 1; then
27547 if test "$wxUSE_NANOX" = "yes"; then
27548 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
27549 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
27550 if test "x$MICROWIN" = x
; then
27551 echo "$as_me:$LINENO: result: not found" >&5
27552 echo "${ECHO_T}not found" >&6
27553 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
27554 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
27555 { (exit 1); exit 1; }; }
27557 echo "$as_me:$LINENO: result: $MICROWIN" >&5
27558 echo "${ECHO_T}$MICROWIN" >&6
27559 cat >>confdefs.h
<<\_ACEOF
27560 #define wxUSE_NANOX 1
27566 if test "$wxUSE_UNICODE" = "yes"; then
27570 if test -z "$PKG_CONFIG"; then
27571 # Extract the first word of "pkg-config", so it can be a program name with args.
27572 set dummy pkg
-config; ac_word
=$2
27573 echo "$as_me:$LINENO: checking for $ac_word" >&5
27574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27575 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27576 echo $ECHO_N "(cached) $ECHO_C" >&6
27578 case $PKG_CONFIG in
27580 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27584 for as_dir
in $PATH
27587 test -z "$as_dir" && as_dir
=.
27588 for ac_exec_ext
in '' $ac_executable_extensions; do
27589 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27590 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27591 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27597 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27601 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27603 if test -n "$PKG_CONFIG"; then
27604 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27605 echo "${ECHO_T}$PKG_CONFIG" >&6
27607 echo "$as_me:$LINENO: result: no" >&5
27608 echo "${ECHO_T}no" >&6
27613 if test "$PKG_CONFIG" = "no" ; then
27614 echo "*** The pkg-config script could not be found. Make sure it is"
27615 echo "*** in your path, or set the PKG_CONFIG environment variable"
27616 echo "*** to the full path to pkg-config."
27617 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27619 PKG_CONFIG_MIN_VERSION
=0.9.0
27620 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27621 echo "$as_me:$LINENO: checking for pangox" >&5
27622 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
27624 if $PKG_CONFIG --exists "pangox" ; then
27625 echo "$as_me:$LINENO: result: yes" >&5
27626 echo "${ECHO_T}yes" >&6
27629 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
27630 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
27631 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
27632 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
27633 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
27635 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
27636 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
27637 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
27638 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
27639 echo "${ECHO_T}$PANGOX_LIBS" >&6
27643 ## If we have a custom action on failure, don't print errors, but
27644 ## do set a variable so people can do so.
27645 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
27652 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27653 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27657 if test $succeeded = yes; then
27659 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
27660 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
27664 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
27665 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
27666 { (exit 1); exit 1; }; }
27674 if test -z "$PKG_CONFIG"; then
27675 # Extract the first word of "pkg-config", so it can be a program name with args.
27676 set dummy pkg
-config; ac_word
=$2
27677 echo "$as_me:$LINENO: checking for $ac_word" >&5
27678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27679 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27680 echo $ECHO_N "(cached) $ECHO_C" >&6
27682 case $PKG_CONFIG in
27684 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27688 for as_dir
in $PATH
27691 test -z "$as_dir" && as_dir
=.
27692 for ac_exec_ext
in '' $ac_executable_extensions; do
27693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27694 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27701 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27705 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27707 if test -n "$PKG_CONFIG"; then
27708 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27709 echo "${ECHO_T}$PKG_CONFIG" >&6
27711 echo "$as_me:$LINENO: result: no" >&5
27712 echo "${ECHO_T}no" >&6
27717 if test "$PKG_CONFIG" = "no" ; then
27718 echo "*** The pkg-config script could not be found. Make sure it is"
27719 echo "*** in your path, or set the PKG_CONFIG environment variable"
27720 echo "*** to the full path to pkg-config."
27721 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27723 PKG_CONFIG_MIN_VERSION
=0.9.0
27724 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27725 echo "$as_me:$LINENO: checking for pangoft2" >&5
27726 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
27728 if $PKG_CONFIG --exists "pangoft2" ; then
27729 echo "$as_me:$LINENO: result: yes" >&5
27730 echo "${ECHO_T}yes" >&6
27733 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
27734 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
27735 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
27736 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
27737 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
27739 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
27740 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
27741 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
27742 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
27743 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
27747 ## If we have a custom action on failure, don't print errors, but
27748 ## do set a variable so people can do so.
27749 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
27756 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27757 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27761 if test $succeeded = yes; then
27763 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
27764 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
27768 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
27769 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
27770 wxUSE_PRINTING_ARCHITECTURE
="no"
27778 if test -z "$PKG_CONFIG"; then
27779 # Extract the first word of "pkg-config", so it can be a program name with args.
27780 set dummy pkg
-config; ac_word
=$2
27781 echo "$as_me:$LINENO: checking for $ac_word" >&5
27782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27783 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27784 echo $ECHO_N "(cached) $ECHO_C" >&6
27786 case $PKG_CONFIG in
27788 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27792 for as_dir
in $PATH
27795 test -z "$as_dir" && as_dir
=.
27796 for ac_exec_ext
in '' $ac_executable_extensions; do
27797 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27798 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27805 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27809 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27811 if test -n "$PKG_CONFIG"; then
27812 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27813 echo "${ECHO_T}$PKG_CONFIG" >&6
27815 echo "$as_me:$LINENO: result: no" >&5
27816 echo "${ECHO_T}no" >&6
27821 if test "$PKG_CONFIG" = "no" ; then
27822 echo "*** The pkg-config script could not be found. Make sure it is"
27823 echo "*** in your path, or set the PKG_CONFIG environment variable"
27824 echo "*** to the full path to pkg-config."
27825 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27827 PKG_CONFIG_MIN_VERSION
=0.9.0
27828 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27829 echo "$as_me:$LINENO: checking for pangoxft" >&5
27830 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
27832 if $PKG_CONFIG --exists "pangoxft" ; then
27833 echo "$as_me:$LINENO: result: yes" >&5
27834 echo "${ECHO_T}yes" >&6
27837 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
27838 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
27839 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
27840 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
27841 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
27843 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
27844 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
27845 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
27846 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
27847 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
27851 ## If we have a custom action on failure, don't print errors, but
27852 ## do set a variable so people can do so.
27853 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
27860 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27861 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27865 if test $succeeded = yes; then
27867 cat >>confdefs.h
<<\_ACEOF
27868 #define HAVE_PANGO_XFT 1
27871 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
27872 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
27876 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
27877 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
27882 save_CFLAGS
="$CFLAGS"
27884 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
27885 LIBS
="$LIBS $PANGOX_LIBS"
27887 for ac_func
in pango_font_family_is_monospace
27889 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27890 echo "$as_me:$LINENO: checking for $ac_func" >&5
27891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27892 if eval "test \"\${$as_ac_var+set}\" = set"; then
27893 echo $ECHO_N "(cached) $ECHO_C" >&6
27895 cat >conftest.
$ac_ext <<_ACEOF
27898 cat confdefs.h
>>conftest.
$ac_ext
27899 cat >>conftest.
$ac_ext <<_ACEOF
27900 /* end confdefs.h. */
27901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27903 #define $ac_func innocuous_$ac_func
27905 /* System header to define __stub macros and hopefully few prototypes,
27906 which can conflict with char $ac_func (); below.
27907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27908 <limits.h> exists even on freestanding compilers. */
27911 # include <limits.h>
27913 # include <assert.h>
27918 /* Override any gcc2 internal prototype to avoid an error. */
27923 /* We use char because int might match the return type of a gcc2
27924 builtin and then its argument prototype would still apply. */
27926 /* The GNU C library defines this for functions which it implements
27927 to always fail with ENOSYS. Some functions are actually named
27928 something starting with __ and the normal name is an alias. */
27929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27932 char (*f) () = $ac_func;
27941 return f != $ac_func;
27946 rm -f conftest.
$ac_objext conftest
$ac_exeext
27947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27948 (eval $ac_link) 2>conftest.er1
27950 grep -v '^ *+' conftest.er1
>conftest.err
27952 cat conftest.err
>&5
27953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27954 (exit $ac_status); } &&
27955 { ac_try
='test -z "$ac_c_werror_flag"
27956 || test ! -s conftest.err'
27957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27958 (eval $ac_try) 2>&5
27960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27961 (exit $ac_status); }; } &&
27962 { ac_try
='test -s conftest$ac_exeext'
27963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27964 (eval $ac_try) 2>&5
27966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27967 (exit $ac_status); }; }; then
27968 eval "$as_ac_var=yes"
27970 echo "$as_me: failed program was:" >&5
27971 sed 's/^/| /' conftest.
$ac_ext >&5
27973 eval "$as_ac_var=no"
27975 rm -f conftest.err conftest.
$ac_objext \
27976 conftest
$ac_exeext conftest.
$ac_ext
27978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27980 if test `eval echo '${'$as_ac_var'}'` = yes; then
27981 cat >>confdefs.h
<<_ACEOF
27982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27988 CFLAGS
="$save_CFLAGS"
27992 wxUSE_UNIVERSAL
="yes"
27994 if test "$wxUSE_NANOX" = "yes"; then
27995 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
27996 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"
27997 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
27999 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
28006 if test "$wxUSE_MOTIF" = 1; then
28007 if test "$wxUSE_UNICODE" = "yes"; then
28008 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
28009 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
28010 { (exit 1); exit 1; }; }
28013 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
28014 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
28017 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
28019 if test -f "$ac_dir/Xm/Xm.h"; then
28020 ac_find_includes
=$ac_dir
28025 if test "$ac_find_includes" != "" ; then
28026 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28027 echo "${ECHO_T}found in $ac_find_includes" >&6
28029 if test "x$ac_find_includes" = "x/usr/include"; then
28030 ac_path_to_include
=""
28032 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
28034 if test $result = 0; then
28035 ac_path_to_include
=""
28037 ac_path_to_include
=" -I$ac_find_includes"
28041 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
28043 cat >conftest.
$ac_ext <<_ACEOF
28046 cat confdefs.h
>>conftest.
$ac_ext
28047 cat >>conftest.
$ac_ext <<_ACEOF
28048 /* end confdefs.h. */
28057 version = xmUseVersion;
28063 rm -f conftest.
$ac_objext
28064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28065 (eval $ac_compile) 2>conftest.er1
28067 grep -v '^ *+' conftest.er1
>conftest.err
28069 cat conftest.err
>&5
28070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28071 (exit $ac_status); } &&
28072 { ac_try
='test -z "$ac_c_werror_flag"
28073 || test ! -s conftest.err'
28074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28075 (eval $ac_try) 2>&5
28077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28078 (exit $ac_status); }; } &&
28079 { ac_try
='test -s conftest.$ac_objext'
28080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28081 (eval $ac_try) 2>&5
28083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28084 (exit $ac_status); }; }; then
28086 echo "$as_me:$LINENO: result: found in default search path" >&5
28087 echo "${ECHO_T}found in default search path" >&6
28088 COMPILED_X_PROGRAM
=1
28091 echo "$as_me: failed program was:" >&5
28092 sed 's/^/| /' conftest.
$ac_ext >&5
28095 echo "$as_me:$LINENO: result: no" >&5
28096 echo "${ECHO_T}no" >&6
28097 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
28098 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
28099 { (exit 1); exit 1; }; }
28103 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28106 if test "$COMPILED_X_PROGRAM" = 0; then
28107 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
28108 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
28111 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28113 for ac_extension
in a so sl dylib
; do
28114 if test -f "$ac_dir/libXm.$ac_extension"; then
28115 ac_find_libraries
=$ac_dir
28121 if test "$ac_find_libraries" != "" ; then
28122 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
28123 echo "${ECHO_T}found at $ac_find_libraries" >&6
28126 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
28128 if test $result = 0; then
28131 ac_path_to_link
=" -L$ac_find_libraries"
28134 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
28136 save_CFLAGS
=$CFLAGS
28137 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28139 cat >conftest.
$ac_ext <<_ACEOF
28142 cat confdefs.h
>>conftest.
$ac_ext
28143 cat >>conftest.
$ac_ext <<_ACEOF
28144 /* end confdefs.h. */
28153 version = xmUseVersion;
28159 rm -f conftest.
$ac_objext
28160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28161 (eval $ac_compile) 2>conftest.er1
28163 grep -v '^ *+' conftest.er1
>conftest.err
28165 cat conftest.err
>&5
28166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28167 (exit $ac_status); } &&
28168 { ac_try
='test -z "$ac_c_werror_flag"
28169 || test ! -s conftest.err'
28170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28171 (eval $ac_try) 2>&5
28173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28174 (exit $ac_status); }; } &&
28175 { ac_try
='test -s conftest.$ac_objext'
28176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28177 (eval $ac_try) 2>&5
28179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28180 (exit $ac_status); }; }; then
28182 echo "$as_me:$LINENO: result: found in default search path" >&5
28183 echo "${ECHO_T}found in default search path" >&6
28184 COMPILED_X_PROGRAM
=1
28187 echo "$as_me: failed program was:" >&5
28188 sed 's/^/| /' conftest.
$ac_ext >&5
28191 echo "$as_me:$LINENO: result: no" >&5
28192 echo "${ECHO_T}no" >&6
28193 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
28194 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
28195 { (exit 1); exit 1; }; }
28199 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28201 CFLAGS
=$save_CFLAGS
28205 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
28206 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
28210 for libp
in "" " -lXp"; do
28211 if test "$libs_found" = "0"; then
28212 for libsm_ice
in "" " -lSM -lICE"; do
28213 if test "$libs_found" = "0"; then
28215 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
28216 save_CFLAGS
=$CFLAGS
28217 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28219 cat >conftest.
$ac_ext <<_ACEOF
28222 cat confdefs.h
>>conftest.
$ac_ext
28223 cat >>conftest.
$ac_ext <<_ACEOF
28224 /* end confdefs.h. */
28227 #include <Xm/List.h>
28233 XmString string = NULL;
28236 XmListAddItem(w, string, position);
28242 rm -f conftest.
$ac_objext conftest
$ac_exeext
28243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28244 (eval $ac_link) 2>conftest.er1
28246 grep -v '^ *+' conftest.er1
>conftest.err
28248 cat conftest.err
>&5
28249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28250 (exit $ac_status); } &&
28251 { ac_try
='test -z "$ac_c_werror_flag"
28252 || test ! -s conftest.err'
28253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28254 (eval $ac_try) 2>&5
28256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28257 (exit $ac_status); }; } &&
28258 { ac_try
='test -s conftest$ac_exeext'
28259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28260 (eval $ac_try) 2>&5
28262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28263 (exit $ac_status); }; }; then
28266 libsm_ice_link
="$libsm_ice"
28267 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
28268 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
28272 echo "$as_me: failed program was:" >&5
28273 sed 's/^/| /' conftest.
$ac_ext >&5
28278 rm -f conftest.err conftest.
$ac_objext \
28279 conftest
$ac_exeext conftest.
$ac_ext
28282 CFLAGS
=$save_CFLAGS
28288 if test "$libs_found" = "0"; then
28289 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
28290 echo "${ECHO_T}can't find the right libraries" >&6
28291 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
28292 echo "$as_me: error: can't link a simple motif program" >&2;}
28293 { (exit 1); exit 1; }; }
28296 save_CFLAGS
=$CFLAGS
28297 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28298 echo "$as_me:$LINENO: checking for Motif 2" >&5
28299 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
28300 cat >conftest.
$ac_ext <<_ACEOF
28303 cat confdefs.h
>>conftest.
$ac_ext
28304 cat >>conftest.
$ac_ext <<_ACEOF
28305 /* end confdefs.h. */
28313 #if XmVersion < 2000
28314 #error "Not Motif 2"
28321 rm -f conftest.
$ac_objext
28322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28323 (eval $ac_compile) 2>conftest.er1
28325 grep -v '^ *+' conftest.er1
>conftest.err
28327 cat conftest.err
>&5
28328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28329 (exit $ac_status); } &&
28330 { ac_try
='test -z "$ac_c_werror_flag"
28331 || test ! -s conftest.err'
28332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28333 (eval $ac_try) 2>&5
28335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28336 (exit $ac_status); }; } &&
28337 { ac_try
='test -s conftest.$ac_objext'
28338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28339 (eval $ac_try) 2>&5
28341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28342 (exit $ac_status); }; }; then
28344 cat >>confdefs.h
<<\_ACEOF
28345 #define __WXMOTIF20__ 1
28348 echo "$as_me:$LINENO: result: found" >&5
28349 echo "${ECHO_T}found" >&6
28352 echo "$as_me: failed program was:" >&5
28353 sed 's/^/| /' conftest.
$ac_ext >&5
28356 cat >>confdefs.h
<<\_ACEOF
28357 #define __WXMOTIF20__ 0
28360 echo "$as_me:$LINENO: result: not found" >&5
28361 echo "${ECHO_T}not found" >&6
28364 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28365 CFLAGS
=$save_CFLAGS
28367 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
28372 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28373 if test "$wxUSE_LIBXPM" = "sys"; then
28374 echo "$as_me:$LINENO: checking for Xpm library" >&5
28375 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
28378 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28380 for ac_extension
in a so sl dylib
; do
28381 if test -f "$ac_dir/libXpm.$ac_extension"; then
28382 ac_find_libraries
=$ac_dir
28388 if test "$ac_find_libraries" != "" ; then
28390 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
28392 if test $result = 0; then
28395 ac_path_to_link
=" -L$ac_find_libraries"
28398 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
28399 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
28400 echo "${ECHO_T}found at $ac_find_libraries" >&6
28402 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
28403 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
28404 if test "${wx_cv_x11_xpm_h+set}" = set; then
28405 echo $ECHO_N "(cached) $ECHO_C" >&6
28408 save_CFLAGS
=$CFLAGS
28409 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28411 cat >conftest.
$ac_ext <<_ACEOF
28414 cat confdefs.h
>>conftest.
$ac_ext
28415 cat >>conftest.
$ac_ext <<_ACEOF
28416 /* end confdefs.h. */
28418 #include <X11/xpm.h>
28425 version = XpmLibraryVersion();
28431 rm -f conftest.
$ac_objext
28432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28433 (eval $ac_compile) 2>conftest.er1
28435 grep -v '^ *+' conftest.er1
>conftest.err
28437 cat conftest.err
>&5
28438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28439 (exit $ac_status); } &&
28440 { ac_try
='test -z "$ac_c_werror_flag"
28441 || test ! -s conftest.err'
28442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28443 (eval $ac_try) 2>&5
28445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28446 (exit $ac_status); }; } &&
28447 { ac_try
='test -s conftest.$ac_objext'
28448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28449 (eval $ac_try) 2>&5
28451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28452 (exit $ac_status); }; }; then
28453 wx_cv_x11_xpm_h
=yes
28455 echo "$as_me: failed program was:" >&5
28456 sed 's/^/| /' conftest.
$ac_ext >&5
28461 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28463 CFLAGS
=$save_CFLAGS
28467 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
28468 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
28470 if test $wx_cv_x11_xpm_h = "yes"; then
28471 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
28472 cat >>confdefs.h
<<\_ACEOF
28473 #define wxHAVE_LIB_XPM 1
28477 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
28478 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
28484 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
28485 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
28486 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
28487 echo $ECHO_N "(cached) $ECHO_C" >&6
28489 ac_check_lib_save_LIBS
=$LIBS
28490 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
28491 cat >conftest.
$ac_ext <<_ACEOF
28494 cat confdefs.h
>>conftest.
$ac_ext
28495 cat >>conftest.
$ac_ext <<_ACEOF
28496 /* end confdefs.h. */
28498 /* Override any gcc2 internal prototype to avoid an error. */
28502 /* We use char because int might match the return type of a gcc2
28503 builtin and then its argument prototype would still apply. */
28504 char XShapeQueryExtension ();
28508 XShapeQueryExtension ();
28513 rm -f conftest.
$ac_objext conftest
$ac_exeext
28514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28515 (eval $ac_link) 2>conftest.er1
28517 grep -v '^ *+' conftest.er1
>conftest.err
28519 cat conftest.err
>&5
28520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28521 (exit $ac_status); } &&
28522 { ac_try
='test -z "$ac_c_werror_flag"
28523 || test ! -s conftest.err'
28524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28525 (eval $ac_try) 2>&5
28527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28528 (exit $ac_status); }; } &&
28529 { ac_try
='test -s conftest$ac_exeext'
28530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28531 (eval $ac_try) 2>&5
28533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28534 (exit $ac_status); }; }; then
28535 ac_cv_lib_Xext_XShapeQueryExtension
=yes
28537 echo "$as_me: failed program was:" >&5
28538 sed 's/^/| /' conftest.
$ac_ext >&5
28540 ac_cv_lib_Xext_XShapeQueryExtension
=no
28542 rm -f conftest.err conftest.
$ac_objext \
28543 conftest
$ac_exeext conftest.
$ac_ext
28544 LIBS
=$ac_check_lib_save_LIBS
28546 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
28547 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
28548 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
28550 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
28556 if test "$wxHAVE_XEXT_LIB" = 1; then
28557 save_CFLAGS
="$CFLAGS"
28558 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28560 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
28561 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
28562 cat >conftest.
$ac_ext <<_ACEOF
28565 cat confdefs.h
>>conftest.
$ac_ext
28566 cat >>conftest.
$ac_ext <<_ACEOF
28567 /* end confdefs.h. */
28569 #include <X11/Xlib.h>
28570 #include <X11/extensions/shape.h>
28576 int dummy1, dummy2;
28577 XShapeQueryExtension((Display*)NULL,
28578 (int*)NULL, (int*)NULL);
28584 rm -f conftest.
$ac_objext
28585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28586 (eval $ac_compile) 2>conftest.er1
28588 grep -v '^ *+' conftest.er1
>conftest.err
28590 cat conftest.err
>&5
28591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28592 (exit $ac_status); } &&
28593 { ac_try
='test -z "$ac_c_werror_flag"
28594 || test ! -s conftest.err'
28595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28596 (eval $ac_try) 2>&5
28598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28599 (exit $ac_status); }; } &&
28600 { ac_try
='test -s conftest.$ac_objext'
28601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28602 (eval $ac_try) 2>&5
28604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28605 (exit $ac_status); }; }; then
28607 cat >>confdefs.h
<<\_ACEOF
28608 #define HAVE_XSHAPE 1
28611 echo "$as_me:$LINENO: result: found" >&5
28612 echo "${ECHO_T}found" >&6
28615 echo "$as_me: failed program was:" >&5
28616 sed 's/^/| /' conftest.
$ac_ext >&5
28619 echo "$as_me:$LINENO: result: not found" >&5
28620 echo "${ECHO_T}not found" >&6
28623 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28624 CFLAGS
="$save_CFLAGS"
28629 if test "$wxUSE_MAC" = 1; then
28630 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
28631 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
28632 if test "$GCC" = yes; then
28633 echo "$as_me:$LINENO: result: gcc" >&5
28634 echo "${ECHO_T}gcc" >&6
28635 CPPFLAGS_PASCAL
="-fpascal-strings"
28636 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
28637 echo "$as_me:$LINENO: result: xlc" >&5
28638 echo "${ECHO_T}xlc" >&6
28639 CPPFLAGS_PASCAL
="-qmacpstr"
28641 echo "$as_me:$LINENO: result: none" >&5
28642 echo "${ECHO_T}none" >&6
28645 if test "x$wxUSE_UNIX" = "xyes"; then
28646 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
28648 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
28653 WXBASEPORT
="_carbon"
28656 if test "$wxUSE_COCOA" = 1; then
28661 if test "$wxUSE_PM" = 1; then
28664 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
28665 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
28666 if test "${wx_cv_spbcdata+set}" = set; then
28667 echo $ECHO_N "(cached) $ECHO_C" >&6
28670 cat >conftest.
$ac_ext <<_ACEOF
28673 cat confdefs.h
>>conftest.
$ac_ext
28674 cat >>conftest.
$ac_ext <<_ACEOF
28675 /* end confdefs.h. */
28690 rm -f conftest.
$ac_objext
28691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28692 (eval $ac_compile) 2>conftest.er1
28694 grep -v '^ *+' conftest.er1
>conftest.err
28696 cat conftest.err
>&5
28697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28698 (exit $ac_status); } &&
28699 { ac_try
='test -z "$ac_c_werror_flag"
28700 || test ! -s conftest.err'
28701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28702 (eval $ac_try) 2>&5
28704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28705 (exit $ac_status); }; } &&
28706 { ac_try
='test -s conftest.$ac_objext'
28707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28708 (eval $ac_try) 2>&5
28710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28711 (exit $ac_status); }; }; then
28714 echo "$as_me: failed program was:" >&5
28715 sed 's/^/| /' conftest.
$ac_ext >&5
28720 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28724 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
28725 echo "${ECHO_T}$wx_cv_spbcdata" >&6
28727 if test $wx_cv_spbcdata = "yes"; then
28728 cat >>confdefs.h
<<\_ACEOF
28729 #define HAVE_SPBCDATA 1
28735 if test "$TOOLKIT" = "PM" ; then
28738 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
28741 if test "$wxUSE_UNIVERSAL" = "yes"; then
28742 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
28746 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
28747 DISTDIR
="wx\$(TOOLKIT)"
28753 if test "$USE_WIN32" = 1 ; then
28757 GUIDIST
="BASE_DIST"
28767 if test "$TOOLKIT" != "MSW" ; then
28769 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
28771 if test "${ac_cv_header_sql_h+set}" = set; then
28772 echo "$as_me:$LINENO: checking for sql.h" >&5
28773 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28774 if test "${ac_cv_header_sql_h+set}" = set; then
28775 echo $ECHO_N "(cached) $ECHO_C" >&6
28777 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28778 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28780 # Is the header compilable?
28781 echo "$as_me:$LINENO: checking sql.h usability" >&5
28782 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
28783 cat >conftest.
$ac_ext <<_ACEOF
28786 cat confdefs.h
>>conftest.
$ac_ext
28787 cat >>conftest.
$ac_ext <<_ACEOF
28788 /* end confdefs.h. */
28789 $ac_includes_default
28792 rm -f conftest.
$ac_objext
28793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28794 (eval $ac_compile) 2>conftest.er1
28796 grep -v '^ *+' conftest.er1
>conftest.err
28798 cat conftest.err
>&5
28799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28800 (exit $ac_status); } &&
28801 { ac_try
='test -z "$ac_c_werror_flag"
28802 || test ! -s conftest.err'
28803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28804 (eval $ac_try) 2>&5
28806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28807 (exit $ac_status); }; } &&
28808 { ac_try
='test -s conftest.$ac_objext'
28809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28810 (eval $ac_try) 2>&5
28812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28813 (exit $ac_status); }; }; then
28814 ac_header_compiler
=yes
28816 echo "$as_me: failed program was:" >&5
28817 sed 's/^/| /' conftest.
$ac_ext >&5
28819 ac_header_compiler
=no
28821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28822 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28823 echo "${ECHO_T}$ac_header_compiler" >&6
28825 # Is the header present?
28826 echo "$as_me:$LINENO: checking sql.h presence" >&5
28827 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
28828 cat >conftest.
$ac_ext <<_ACEOF
28831 cat confdefs.h
>>conftest.
$ac_ext
28832 cat >>conftest.
$ac_ext <<_ACEOF
28833 /* end confdefs.h. */
28836 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28837 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28839 grep -v '^ *+' conftest.er1
>conftest.err
28841 cat conftest.err
>&5
28842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28843 (exit $ac_status); } >/dev
/null
; then
28844 if test -s conftest.err
; then
28845 ac_cpp_err
=$ac_c_preproc_warn_flag
28846 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28853 if test -z "$ac_cpp_err"; then
28854 ac_header_preproc
=yes
28856 echo "$as_me: failed program was:" >&5
28857 sed 's/^/| /' conftest.
$ac_ext >&5
28859 ac_header_preproc
=no
28861 rm -f conftest.err conftest.
$ac_ext
28862 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28863 echo "${ECHO_T}$ac_header_preproc" >&6
28865 # So? What about this header?
28866 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28868 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
28869 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28870 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
28871 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
28872 ac_header_preproc
=yes
28875 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
28876 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
28877 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
28878 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
28879 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
28880 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
28881 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
28882 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
28883 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
28884 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
28885 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
28886 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
28889 ## ----------------------------------------- ##
28890 ## Report this to wx-dev@lists.wxwidgets.org ##
28891 ## ----------------------------------------- ##
28894 sed "s/^/$as_me: WARNING: /" >&2
28897 echo "$as_me:$LINENO: checking for sql.h" >&5
28898 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28899 if test "${ac_cv_header_sql_h+set}" = set; then
28900 echo $ECHO_N "(cached) $ECHO_C" >&6
28902 ac_cv_header_sql_h
=$ac_header_preproc
28904 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28905 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28908 if test $ac_cv_header_sql_h = yes; then
28913 if test "x$found_sql_h" = "x1" ; then
28914 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
28915 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
28916 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
28917 echo $ECHO_N "(cached) $ECHO_C" >&6
28919 ac_check_lib_save_LIBS
=$LIBS
28920 LIBS
="-liodbc $LIBS"
28921 cat >conftest.
$ac_ext <<_ACEOF
28924 cat confdefs.h
>>conftest.
$ac_ext
28925 cat >>conftest.
$ac_ext <<_ACEOF
28926 /* end confdefs.h. */
28928 /* Override any gcc2 internal prototype to avoid an error. */
28932 /* We use char because int might match the return type of a gcc2
28933 builtin and then its argument prototype would still apply. */
28934 char SQLAllocEnv ();
28943 rm -f conftest.
$ac_objext conftest
$ac_exeext
28944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28945 (eval $ac_link) 2>conftest.er1
28947 grep -v '^ *+' conftest.er1
>conftest.err
28949 cat conftest.err
>&5
28950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28951 (exit $ac_status); } &&
28952 { ac_try
='test -z "$ac_c_werror_flag"
28953 || test ! -s conftest.err'
28954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28955 (eval $ac_try) 2>&5
28957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28958 (exit $ac_status); }; } &&
28959 { ac_try
='test -s conftest$ac_exeext'
28960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28961 (eval $ac_try) 2>&5
28963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28964 (exit $ac_status); }; }; then
28965 ac_cv_lib_iodbc_SQLAllocEnv
=yes
28967 echo "$as_me: failed program was:" >&5
28968 sed 's/^/| /' conftest.
$ac_ext >&5
28970 ac_cv_lib_iodbc_SQLAllocEnv
=no
28972 rm -f conftest.err conftest.
$ac_objext \
28973 conftest
$ac_exeext conftest.
$ac_ext
28974 LIBS
=$ac_check_lib_save_LIBS
28976 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
28977 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
28978 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
28979 ODBC_LINK
=" -liodbc"
28982 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
28983 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
28984 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
28985 echo $ECHO_N "(cached) $ECHO_C" >&6
28987 ac_check_lib_save_LIBS
=$LIBS
28988 LIBS
="-lunixodbc $LIBS"
28989 cat >conftest.
$ac_ext <<_ACEOF
28992 cat confdefs.h
>>conftest.
$ac_ext
28993 cat >>conftest.
$ac_ext <<_ACEOF
28994 /* end confdefs.h. */
28996 /* Override any gcc2 internal prototype to avoid an error. */
29000 /* We use char because int might match the return type of a gcc2
29001 builtin and then its argument prototype would still apply. */
29002 char SQLAllocEnv ();
29011 rm -f conftest.
$ac_objext conftest
$ac_exeext
29012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29013 (eval $ac_link) 2>conftest.er1
29015 grep -v '^ *+' conftest.er1
>conftest.err
29017 cat conftest.err
>&5
29018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29019 (exit $ac_status); } &&
29020 { ac_try
='test -z "$ac_c_werror_flag"
29021 || test ! -s conftest.err'
29022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29023 (eval $ac_try) 2>&5
29025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29026 (exit $ac_status); }; } &&
29027 { ac_try
='test -s conftest$ac_exeext'
29028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29029 (eval $ac_try) 2>&5
29031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29032 (exit $ac_status); }; }; then
29033 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
29035 echo "$as_me: failed program was:" >&5
29036 sed 's/^/| /' conftest.
$ac_ext >&5
29038 ac_cv_lib_unixodbc_SQLAllocEnv
=no
29040 rm -f conftest.err conftest.
$ac_objext \
29041 conftest
$ac_exeext conftest.
$ac_ext
29042 LIBS
=$ac_check_lib_save_LIBS
29044 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
29045 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
29046 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
29047 ODBC_LINK
=" -lunixodbc"
29050 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
29051 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
29052 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
29053 echo $ECHO_N "(cached) $ECHO_C" >&6
29055 ac_check_lib_save_LIBS
=$LIBS
29056 LIBS
="-lodbc $LIBS"
29057 cat >conftest.
$ac_ext <<_ACEOF
29060 cat confdefs.h
>>conftest.
$ac_ext
29061 cat >>conftest.
$ac_ext <<_ACEOF
29062 /* end confdefs.h. */
29064 /* Override any gcc2 internal prototype to avoid an error. */
29068 /* We use char because int might match the return type of a gcc2
29069 builtin and then its argument prototype would still apply. */
29070 char SQLAllocEnv ();
29079 rm -f conftest.
$ac_objext conftest
$ac_exeext
29080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29081 (eval $ac_link) 2>conftest.er1
29083 grep -v '^ *+' conftest.er1
>conftest.err
29085 cat conftest.err
>&5
29086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29087 (exit $ac_status); } &&
29088 { ac_try
='test -z "$ac_c_werror_flag"
29089 || test ! -s conftest.err'
29090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29091 (eval $ac_try) 2>&5
29093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29094 (exit $ac_status); }; } &&
29095 { ac_try
='test -s conftest$ac_exeext'
29096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29097 (eval $ac_try) 2>&5
29099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29100 (exit $ac_status); }; }; then
29101 ac_cv_lib_odbc_SQLAllocEnv
=yes
29103 echo "$as_me: failed program was:" >&5
29104 sed 's/^/| /' conftest.
$ac_ext >&5
29106 ac_cv_lib_odbc_SQLAllocEnv
=no
29108 rm -f conftest.err conftest.
$ac_objext \
29109 conftest
$ac_exeext conftest.
$ac_ext
29110 LIBS
=$ac_check_lib_save_LIBS
29112 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
29113 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
29114 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
29115 ODBC_LINK
=" -lodbc"
29125 if test "x$ODBC_LINK" = "x" ; then
29126 if test "$wxUSE_ODBC" = "sys" ; then
29127 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
29128 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
29129 { (exit 1); exit 1; }; }
29131 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
29132 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
29140 if test "$wxUSE_ODBC" = "builtin" ; then
29141 cat >>confdefs.h
<<\_ACEOF
29142 #define wxUSE_BUILTIN_IODBC 1
29148 if test "$wxUSE_ODBC" != "no" ; then
29149 cat >>confdefs.h
<<\_ACEOF
29150 #define wxUSE_ODBC 1
29153 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
29155 WXODBCFLAG
="-D_IODBC_"
29159 if test "$wxUSE_DISPLAY" = "yes"; then
29160 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
29161 echo "$as_me:$LINENO: checking for Xinerama" >&5
29162 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
29165 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29167 for ac_extension
in a so sl dylib
; do
29168 if test -f "$ac_dir/libXinerama.$ac_extension"; then
29169 ac_find_libraries
=$ac_dir
29175 if test "$ac_find_libraries" != "" ; then
29177 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29179 if test $result = 0; then
29182 ac_path_to_link
=" -L$ac_find_libraries"
29185 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29186 LDFLAGS
="$LDFLAGS $ac_path_to_link"
29188 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
29189 echo "$as_me:$LINENO: result: yes" >&5
29190 echo "${ECHO_T}yes" >&6
29192 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
29193 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
29196 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29198 for ac_extension
in a so sl dylib
; do
29199 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
29200 ac_find_libraries
=$ac_dir
29206 if test "$ac_find_libraries" != "" ; then
29207 echo "$as_me:$LINENO: result: yes" >&5
29208 echo "${ECHO_T}yes" >&6
29210 for ac_header
in X
11/extensions
/xf86vmode.h
29212 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29213 echo "$as_me:$LINENO: checking for $ac_header" >&5
29214 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29215 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29216 echo $ECHO_N "(cached) $ECHO_C" >&6
29218 cat >conftest.
$ac_ext <<_ACEOF
29221 cat confdefs.h
>>conftest.
$ac_ext
29222 cat >>conftest.
$ac_ext <<_ACEOF
29223 /* end confdefs.h. */
29225 #if HAVE_X11_XLIB_H
29226 #include <X11/Xlib.h>
29230 #include <$ac_header>
29232 rm -f conftest.
$ac_objext
29233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29234 (eval $ac_compile) 2>conftest.er1
29236 grep -v '^ *+' conftest.er1
>conftest.err
29238 cat conftest.err
>&5
29239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29240 (exit $ac_status); } &&
29241 { ac_try
='test -z "$ac_c_werror_flag"
29242 || test ! -s conftest.err'
29243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29244 (eval $ac_try) 2>&5
29246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29247 (exit $ac_status); }; } &&
29248 { ac_try
='test -s conftest.$ac_objext'
29249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29250 (eval $ac_try) 2>&5
29252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29253 (exit $ac_status); }; }; then
29254 eval "$as_ac_Header=yes"
29256 echo "$as_me: failed program was:" >&5
29257 sed 's/^/| /' conftest.
$ac_ext >&5
29259 eval "$as_ac_Header=no"
29261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29264 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29265 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29266 cat >>confdefs.h
<<_ACEOF
29267 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29270 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
29277 echo "$as_me:$LINENO: result: no" >&5
29278 echo "${ECHO_T}no" >&6
29282 echo "$as_me:$LINENO: result: no" >&5
29283 echo "${ECHO_T}no" >&6
29284 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
29285 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
29288 elif test "$wxUSE_MSW" = 1; then
29291 for ac_header
in multimon.h ddraw.h
29293 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29294 echo "$as_me:$LINENO: checking for $ac_header" >&5
29295 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29297 echo $ECHO_N "(cached) $ECHO_C" >&6
29299 cat >conftest.
$ac_ext <<_ACEOF
29302 cat confdefs.h
>>conftest.
$ac_ext
29303 cat >>conftest.
$ac_ext <<_ACEOF
29304 /* end confdefs.h. */
29305 #include <windows.h>
29307 #include <$ac_header>
29309 rm -f conftest.
$ac_objext
29310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29311 (eval $ac_compile) 2>conftest.er1
29313 grep -v '^ *+' conftest.er1
>conftest.err
29315 cat conftest.err
>&5
29316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29317 (exit $ac_status); } &&
29318 { ac_try
='test -z "$ac_c_werror_flag"
29319 || test ! -s conftest.err'
29320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29321 (eval $ac_try) 2>&5
29323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29324 (exit $ac_status); }; } &&
29325 { ac_try
='test -s conftest.$ac_objext'
29326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29327 (eval $ac_try) 2>&5
29329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29330 (exit $ac_status); }; }; then
29331 eval "$as_ac_Header=yes"
29333 echo "$as_me: failed program was:" >&5
29334 sed 's/^/| /' conftest.
$ac_ext >&5
29336 eval "$as_ac_Header=no"
29338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29341 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29342 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29343 cat >>confdefs.h
<<_ACEOF
29344 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29350 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
29351 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
29362 if test "$wxUSE_OPENGL" = "yes"; then
29363 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
29364 OPENGL_LIBS
="-framework OpenGL -framework AGL"
29365 elif test "$wxUSE_MSW" = 1; then
29366 OPENGL_LIBS
="-lopengl32 -lglu32"
29371 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
29373 if test -f "$ac_dir/GL/gl.h"; then
29374 ac_find_includes
=$ac_dir
29379 if test "$ac_find_includes" != "" ; then
29380 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29381 echo "${ECHO_T}found in $ac_find_includes" >&6
29383 if test "x$ac_find_includes" = "x/usr/include"; then
29384 ac_path_to_include
=""
29386 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
29388 if test $result = 0; then
29389 ac_path_to_include
=""
29391 ac_path_to_include
=" -I$ac_find_includes"
29395 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
29398 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29399 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29400 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29401 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29402 echo $ECHO_N "(cached) $ECHO_C" >&6
29404 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29405 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29407 # Is the header compilable?
29408 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
29409 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
29410 cat >conftest.
$ac_ext <<_ACEOF
29413 cat confdefs.h
>>conftest.
$ac_ext
29414 cat >>conftest.
$ac_ext <<_ACEOF
29415 /* end confdefs.h. */
29416 $ac_includes_default
29419 rm -f conftest.
$ac_objext
29420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29421 (eval $ac_compile) 2>conftest.er1
29423 grep -v '^ *+' conftest.er1
>conftest.err
29425 cat conftest.err
>&5
29426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29427 (exit $ac_status); } &&
29428 { ac_try
='test -z "$ac_c_werror_flag"
29429 || test ! -s conftest.err'
29430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29431 (eval $ac_try) 2>&5
29433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29434 (exit $ac_status); }; } &&
29435 { ac_try
='test -s conftest.$ac_objext'
29436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29437 (eval $ac_try) 2>&5
29439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29440 (exit $ac_status); }; }; then
29441 ac_header_compiler
=yes
29443 echo "$as_me: failed program was:" >&5
29444 sed 's/^/| /' conftest.
$ac_ext >&5
29446 ac_header_compiler
=no
29448 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29449 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29450 echo "${ECHO_T}$ac_header_compiler" >&6
29452 # Is the header present?
29453 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
29454 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
29455 cat >conftest.
$ac_ext <<_ACEOF
29458 cat confdefs.h
>>conftest.
$ac_ext
29459 cat >>conftest.
$ac_ext <<_ACEOF
29460 /* end confdefs.h. */
29463 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29464 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29466 grep -v '^ *+' conftest.er1
>conftest.err
29468 cat conftest.err
>&5
29469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29470 (exit $ac_status); } >/dev
/null
; then
29471 if test -s conftest.err
; then
29472 ac_cpp_err
=$ac_c_preproc_warn_flag
29473 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29480 if test -z "$ac_cpp_err"; then
29481 ac_header_preproc
=yes
29483 echo "$as_me: failed program was:" >&5
29484 sed 's/^/| /' conftest.
$ac_ext >&5
29486 ac_header_preproc
=no
29488 rm -f conftest.err conftest.
$ac_ext
29489 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29490 echo "${ECHO_T}$ac_header_preproc" >&6
29492 # So? What about this header?
29493 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29495 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
29496 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29497 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
29498 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
29499 ac_header_preproc
=yes
29502 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
29503 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
29504 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
29505 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
29506 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
29507 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
29508 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
29509 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
29510 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
29511 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
29512 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
29513 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
29516 ## ----------------------------------------- ##
29517 ## Report this to wx-dev@lists.wxwidgets.org ##
29518 ## ----------------------------------------- ##
29521 sed "s/^/$as_me: WARNING: /" >&2
29524 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29525 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29526 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29527 echo $ECHO_N "(cached) $ECHO_C" >&6
29529 ac_cv_header_GL_gl_h
=$ac_header_preproc
29531 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29532 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29535 if test $ac_cv_header_GL_gl_h = yes; then
29539 echo "$as_me:$LINENO: checking for -lGL" >&5
29540 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
29543 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29545 for ac_extension
in a so sl dylib
; do
29546 if test -f "$ac_dir/libGL.$ac_extension"; then
29547 ac_find_libraries
=$ac_dir
29553 if test "$ac_find_libraries" != "" ; then
29554 echo "$as_me:$LINENO: result: yes" >&5
29555 echo "${ECHO_T}yes" >&6
29558 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29560 if test $result = 0; then
29563 ac_path_to_link
=" -L$ac_find_libraries"
29566 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29567 LDFLAGS_GL
="$ac_path_to_link"
29570 echo "$as_me:$LINENO: checking for -lGLU" >&5
29571 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
29574 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29576 for ac_extension
in a so sl dylib
; do
29577 if test -f "$ac_dir/libGLU.$ac_extension"; then
29578 ac_find_libraries
=$ac_dir
29584 if test "$ac_find_libraries" != "" ; then
29586 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29588 if test $result = 0; then
29591 ac_path_to_link
=" -L$ac_find_libraries"
29594 if test "$ac_path_to_link" != " -L/usr/lib" -a \
29595 "$ac_path_to_link" != "$LDFLAGS_GL"; then
29596 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
29600 OPENGL_LIBS
="-lGL -lGLU"
29601 echo "$as_me:$LINENO: result: yes" >&5
29602 echo "${ECHO_T}yes" >&6
29604 echo "$as_me:$LINENO: result: no" >&5
29605 echo "${ECHO_T}no" >&6
29608 echo "$as_me:$LINENO: result: no" >&5
29609 echo "${ECHO_T}no" >&6
29612 if test "$found_gl" != 1; then
29613 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
29614 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
29617 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29619 for ac_extension
in a so sl dylib
; do
29620 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
29621 ac_find_libraries
=$ac_dir
29627 if test "$ac_find_libraries" != "" ; then
29629 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29631 if test $result = 0; then
29634 ac_path_to_link
=" -L$ac_find_libraries"
29637 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
29638 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
29639 echo "$as_me:$LINENO: result: yes" >&5
29640 echo "${ECHO_T}yes" >&6
29642 echo "$as_me:$LINENO: result: no" >&5
29643 echo "${ECHO_T}no" >&6
29651 if test "x$OPENGL_LIBS" = "x"; then
29652 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
29653 echo "$as_me: error: OpenGL libraries not available" >&2;}
29654 { (exit 1); exit 1; }; }
29658 if test "$wxUSE_OPENGL" = "yes"; then
29660 cat >>confdefs.h
<<\_ACEOF
29661 #define wxUSE_OPENGL 1
29664 cat >>confdefs.h
<<\_ACEOF
29665 #define wxUSE_GLCANVAS 1
29668 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
29673 if test -n "$TOOLKIT" ; then
29674 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
29679 if test "$wxUSE_SHARED" = "yes"; then
29683 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
29684 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
29689 if test "$wxUSE_SHARED" = "yes"; then
29692 found_versioning
=no
29695 if test $found_versioning = no
; then
29696 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
29697 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
29698 if test "${wx_cv_version_script+set}" = set; then
29699 echo $ECHO_N "(cached) $ECHO_C" >&6
29702 echo "VER_1 { *; };" >conftest.sym
29703 echo "int main() { return 0; }" >conftest.cpp
29706 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29707 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29709 (eval $ac_try) 2>&5
29711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29712 (exit $ac_status); }; } ; then
29713 if test -s conftest.stderr
; then
29714 wx_cv_version_script
=no
29716 wx_cv_version_script
=yes
29719 wx_cv_version_script
=no
29722 if test $wx_cv_version_script = yes
29724 echo "struct B { virtual ~B() { } }; \
29725 struct D : public B { }; \
29726 void F() { D d; }" > conftest.cpp
29729 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29730 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
29731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29732 (eval $ac_try) 2>&5
29734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29735 (exit $ac_status); }; } &&
29737 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29738 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
29739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29740 (eval $ac_try) 2>&5
29742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29743 (exit $ac_status); }; }
29746 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29747 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
29748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29749 (eval $ac_try) 2>&5
29751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29752 (exit $ac_status); }; }
29754 wx_cv_version_script
=yes
29756 wx_cv_version_script
=no
29761 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29762 rm -f conftest1.output conftest2.output conftest3.output
29765 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
29766 echo "${ECHO_T}$wx_cv_version_script" >&6
29767 if test $wx_cv_version_script = yes ; then
29768 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
29774 *-*-linux* | *-*-gnu* )
29775 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
29776 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29780 if test "$GCC" = yes ; then
29781 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
29783 saveLdflags
="$LDFLAGS"
29784 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
29785 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
29786 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
29787 cat >conftest.
$ac_ext <<_ACEOF
29790 cat confdefs.h
>>conftest.
$ac_ext
29791 cat >>conftest.
$ac_ext <<_ACEOF
29792 /* end confdefs.h. */
29802 rm -f conftest.
$ac_objext conftest
$ac_exeext
29803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29804 (eval $ac_link) 2>conftest.er1
29806 grep -v '^ *+' conftest.er1
>conftest.err
29808 cat conftest.err
>&5
29809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29810 (exit $ac_status); } &&
29811 { ac_try
='test -z "$ac_c_werror_flag"
29812 || test ! -s conftest.err'
29813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29814 (eval $ac_try) 2>&5
29816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29817 (exit $ac_status); }; } &&
29818 { ac_try
='test -s conftest$ac_exeext'
29819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29820 (eval $ac_try) 2>&5
29822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29823 (exit $ac_status); }; }; then
29825 echo "$as_me:$LINENO: result: yes" >&5
29826 echo "${ECHO_T}yes" >&6
29827 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
29828 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29831 echo "$as_me: failed program was:" >&5
29832 sed 's/^/| /' conftest.
$ac_ext >&5
29835 echo "$as_me:$LINENO: result: no" >&5
29836 echo "${ECHO_T}no" >&6
29837 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
29838 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
29839 LDFLAGS
="$saveLdflags -Wl,-R,/"
29840 cat >conftest.
$ac_ext <<_ACEOF
29843 cat confdefs.h
>>conftest.
$ac_ext
29844 cat >>conftest.
$ac_ext <<_ACEOF
29845 /* end confdefs.h. */
29855 rm -f conftest.
$ac_objext conftest
$ac_exeext
29856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29857 (eval $ac_link) 2>conftest.er1
29859 grep -v '^ *+' conftest.er1
>conftest.err
29861 cat conftest.err
>&5
29862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29863 (exit $ac_status); } &&
29864 { ac_try
='test -z "$ac_c_werror_flag"
29865 || test ! -s conftest.err'
29866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29867 (eval $ac_try) 2>&5
29869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29870 (exit $ac_status); }; } &&
29871 { ac_try
='test -s conftest$ac_exeext'
29872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29873 (eval $ac_try) 2>&5
29875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29876 (exit $ac_status); }; }; then
29878 echo "$as_me:$LINENO: result: yes" >&5
29879 echo "${ECHO_T}yes" >&6
29880 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
29881 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
29884 echo "$as_me: failed program was:" >&5
29885 sed 's/^/| /' conftest.
$ac_ext >&5
29888 echo "$as_me:$LINENO: result: no" >&5
29889 echo "${ECHO_T}no" >&6
29892 rm -f conftest.err conftest.
$ac_objext \
29893 conftest
$ac_exeext conftest.
$ac_ext
29896 rm -f conftest.err conftest.
$ac_objext \
29897 conftest
$ac_exeext conftest.
$ac_ext
29898 LDFLAGS
="$saveLdflags"
29900 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
29901 WXCONFIG_RPATH
="-R\$libdir"
29905 powerpc
-*-darwin* )
29906 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
29907 cat <<EOF >change-install-names
29909 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29910 inst_cmd="install_name_tool "
29911 for i in \${libnames} ; do
29912 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
29916 chmod +x change
-install-names
29919 *-*-cygwin* | *-*-mingw32* )
29920 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
29924 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
29925 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
29930 if test $wxUSE_RPATH = "no"; then
29931 SAMPLES_RPATH_FLAG
=''
29932 SAMPLES_RPATH_POSTLINK
=''
29940 config_linkage_component
="-static"
29947 lib_unicode_suffix
=
29949 if test "$wxUSE_UNICODE" = "yes"; then
29950 lib_unicode_suffix
=u
29951 WX_CHARTYPE
="unicode"
29956 WX_DEBUGTYPE
="release"
29958 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
29960 WX_DEBUGTYPE
="debug"
29964 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
29965 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
29968 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29972 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
29974 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
29976 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29978 if test "$cross_compiling" = "yes"; then
29979 HOST_SUFFIX
="-$host_alias"
29980 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
29981 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
29984 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
29985 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
29989 if test "$wxUSE_COCOA" = 1; then
29993 ac_cpp
='$CPP $CPPFLAGS'
29994 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29995 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29996 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30000 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
30001 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
30002 cat >conftest.
$ac_ext <<_ACEOF
30005 cat confdefs.h
>>conftest.
$ac_ext
30006 cat >>conftest.
$ac_ext <<_ACEOF
30007 /* end confdefs.h. */
30008 #include <AppKit/NSEvent.h>
30009 #include <CoreFoundation/CoreFoundation.h>
30019 rm -f conftest.
$ac_objext
30020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30021 (eval $ac_compile) 2>conftest.er1
30023 grep -v '^ *+' conftest.er1
>conftest.err
30025 cat conftest.err
>&5
30026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30027 (exit $ac_status); } &&
30028 { ac_try
='test -z "$ac_c_werror_flag"
30029 || test ! -s conftest.err'
30030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30031 (eval $ac_try) 2>&5
30033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30034 (exit $ac_status); }; } &&
30035 { ac_try
='test -s conftest.$ac_objext'
30036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30037 (eval $ac_try) 2>&5
30039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30040 (exit $ac_status); }; }; then
30041 echo "$as_me:$LINENO: result: no" >&5
30042 echo "${ECHO_T}no" >&6
30044 echo "$as_me: failed program was:" >&5
30045 sed 's/^/| /' conftest.
$ac_ext >&5
30047 echo "$as_me:$LINENO: result: yes" >&5
30048 echo "${ECHO_T}yes" >&6
30049 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
30050 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
30051 cat >conftest.
$ac_ext <<_ACEOF
30054 cat confdefs.h
>>conftest.
$ac_ext
30055 cat >>conftest.
$ac_ext <<_ACEOF
30056 /* end confdefs.h. */
30057 #define __Point__ 1
30058 #include <AppKit/NSEvent.h>
30059 #include <CoreFoundation/CoreFoundation.h>
30069 rm -f conftest.
$ac_objext
30070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30071 (eval $ac_compile) 2>conftest.er1
30073 grep -v '^ *+' conftest.er1
>conftest.err
30075 cat conftest.err
>&5
30076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30077 (exit $ac_status); } &&
30078 { ac_try
='test -z "$ac_c_werror_flag"
30079 || test ! -s conftest.err'
30080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30081 (eval $ac_try) 2>&5
30083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30084 (exit $ac_status); }; } &&
30085 { ac_try
='test -s conftest.$ac_objext'
30086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30087 (eval $ac_try) 2>&5
30089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30090 (exit $ac_status); }; }; then
30091 echo "$as_me:$LINENO: result: yes" >&5
30092 echo "${ECHO_T}yes" >&6
30093 cat >>confdefs.h
<<\_ACEOF
30094 #define __Point__ 1
30099 echo "$as_me: failed program was:" >&5
30100 sed 's/^/| /' conftest.
$ac_ext >&5
30102 { { echo "$as_me:$LINENO: error: no
30103 See \`config.log' for more details." >&5
30104 echo "$as_me: error: no
30105 See \`config.log' for more details." >&2;}
30106 { (exit 1); exit 1; }; }
30109 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30112 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30114 ac_cpp
='$CPP $CPPFLAGS'
30115 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30116 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30117 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30121 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
30122 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
30123 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
30125 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
30127 # Extract the first word of "Rez", so it can be a program name with args.
30128 set dummy Rez
; ac_word
=$2
30129 echo "$as_me:$LINENO: checking for $ac_word" >&5
30130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30131 if test "${ac_cv_prog_RESCOMP+set}" = set; then
30132 echo $ECHO_N "(cached) $ECHO_C" >&6
30134 if test -n "$RESCOMP"; then
30135 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
30137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30138 for as_dir
in $PATH
30141 test -z "$as_dir" && as_dir
=.
30142 for ac_exec_ext
in '' $ac_executable_extensions; do
30143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30144 ac_cv_prog_RESCOMP
="Rez"
30145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30151 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
30154 RESCOMP
=$ac_cv_prog_RESCOMP
30155 if test -n "$RESCOMP"; then
30156 echo "$as_me:$LINENO: result: $RESCOMP" >&5
30157 echo "${ECHO_T}$RESCOMP" >&6
30159 echo "$as_me:$LINENO: result: no" >&5
30160 echo "${ECHO_T}no" >&6
30163 # Extract the first word of "DeRez", so it can be a program name with args.
30164 set dummy DeRez
; ac_word
=$2
30165 echo "$as_me:$LINENO: checking for $ac_word" >&5
30166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30167 if test "${ac_cv_prog_DEREZ+set}" = set; then
30168 echo $ECHO_N "(cached) $ECHO_C" >&6
30170 if test -n "$DEREZ"; then
30171 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
30173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30174 for as_dir
in $PATH
30177 test -z "$as_dir" && as_dir
=.
30178 for ac_exec_ext
in '' $ac_executable_extensions; do
30179 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30180 ac_cv_prog_DEREZ
="DeRez"
30181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30187 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
30190 DEREZ
=$ac_cv_prog_DEREZ
30191 if test -n "$DEREZ"; then
30192 echo "$as_me:$LINENO: result: $DEREZ" >&5
30193 echo "${ECHO_T}$DEREZ" >&6
30195 echo "$as_me:$LINENO: result: no" >&5
30196 echo "${ECHO_T}no" >&6
30199 # Extract the first word of "SetFile", so it can be a program name with args.
30200 set dummy SetFile
; ac_word
=$2
30201 echo "$as_me:$LINENO: checking for $ac_word" >&5
30202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30203 if test "${ac_cv_prog_SETFILE+set}" = set; then
30204 echo $ECHO_N "(cached) $ECHO_C" >&6
30206 if test -n "$SETFILE"; then
30207 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
30209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30210 for as_dir
in $PATH
30213 test -z "$as_dir" && as_dir
=.
30214 for ac_exec_ext
in '' $ac_executable_extensions; do
30215 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30216 ac_cv_prog_SETFILE
="SetFile"
30217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30223 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
30226 SETFILE
=$ac_cv_prog_SETFILE
30227 if test -n "$SETFILE"; then
30228 echo "$as_me:$LINENO: result: $SETFILE" >&5
30229 echo "${ECHO_T}$SETFILE" >&6
30231 echo "$as_me:$LINENO: result: no" >&5
30232 echo "${ECHO_T}no" >&6
30236 MACSETFILE
="\$(SETFILE)"
30238 if test "$wxUSE_MAC" = 1; then
30239 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r -o"
30241 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r -o"
30243 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
30244 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
30248 MACRESWXCONFIG
="@true"
30250 if test "$wxUSE_PM" = 1; then
30251 MACRESCOMP
="emxbind -ep"
30259 echo "$as_me:$LINENO: checking for mode_t" >&5
30260 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
30261 if test "${ac_cv_type_mode_t+set}" = set; then
30262 echo $ECHO_N "(cached) $ECHO_C" >&6
30264 cat >conftest.
$ac_ext <<_ACEOF
30267 cat confdefs.h
>>conftest.
$ac_ext
30268 cat >>conftest.
$ac_ext <<_ACEOF
30269 /* end confdefs.h. */
30270 $ac_includes_default
30276 if (sizeof (mode_t))
30282 rm -f conftest.
$ac_objext
30283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30284 (eval $ac_compile) 2>conftest.er1
30286 grep -v '^ *+' conftest.er1
>conftest.err
30288 cat conftest.err
>&5
30289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30290 (exit $ac_status); } &&
30291 { ac_try
='test -z "$ac_c_werror_flag"
30292 || test ! -s conftest.err'
30293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30294 (eval $ac_try) 2>&5
30296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30297 (exit $ac_status); }; } &&
30298 { ac_try
='test -s conftest.$ac_objext'
30299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30300 (eval $ac_try) 2>&5
30302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30303 (exit $ac_status); }; }; then
30304 ac_cv_type_mode_t
=yes
30306 echo "$as_me: failed program was:" >&5
30307 sed 's/^/| /' conftest.
$ac_ext >&5
30309 ac_cv_type_mode_t
=no
30311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30313 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
30314 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
30315 if test $ac_cv_type_mode_t = yes; then
30319 cat >>confdefs.h
<<_ACEOF
30325 echo "$as_me:$LINENO: checking for off_t" >&5
30326 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
30327 if test "${ac_cv_type_off_t+set}" = set; then
30328 echo $ECHO_N "(cached) $ECHO_C" >&6
30330 cat >conftest.
$ac_ext <<_ACEOF
30333 cat confdefs.h
>>conftest.
$ac_ext
30334 cat >>conftest.
$ac_ext <<_ACEOF
30335 /* end confdefs.h. */
30336 $ac_includes_default
30342 if (sizeof (off_t))
30348 rm -f conftest.
$ac_objext
30349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30350 (eval $ac_compile) 2>conftest.er1
30352 grep -v '^ *+' conftest.er1
>conftest.err
30354 cat conftest.err
>&5
30355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30356 (exit $ac_status); } &&
30357 { ac_try
='test -z "$ac_c_werror_flag"
30358 || test ! -s conftest.err'
30359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30360 (eval $ac_try) 2>&5
30362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30363 (exit $ac_status); }; } &&
30364 { ac_try
='test -s conftest.$ac_objext'
30365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30366 (eval $ac_try) 2>&5
30368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30369 (exit $ac_status); }; }; then
30370 ac_cv_type_off_t
=yes
30372 echo "$as_me: failed program was:" >&5
30373 sed 's/^/| /' conftest.
$ac_ext >&5
30375 ac_cv_type_off_t
=no
30377 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30379 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
30380 echo "${ECHO_T}$ac_cv_type_off_t" >&6
30381 if test $ac_cv_type_off_t = yes; then
30385 cat >>confdefs.h
<<_ACEOF
30391 echo "$as_me:$LINENO: checking for pid_t" >&5
30392 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
30393 if test "${ac_cv_type_pid_t+set}" = set; then
30394 echo $ECHO_N "(cached) $ECHO_C" >&6
30396 cat >conftest.
$ac_ext <<_ACEOF
30399 cat confdefs.h
>>conftest.
$ac_ext
30400 cat >>conftest.
$ac_ext <<_ACEOF
30401 /* end confdefs.h. */
30402 $ac_includes_default
30408 if (sizeof (pid_t))
30414 rm -f conftest.
$ac_objext
30415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30416 (eval $ac_compile) 2>conftest.er1
30418 grep -v '^ *+' conftest.er1
>conftest.err
30420 cat conftest.err
>&5
30421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30422 (exit $ac_status); } &&
30423 { ac_try
='test -z "$ac_c_werror_flag"
30424 || test ! -s conftest.err'
30425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30426 (eval $ac_try) 2>&5
30428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30429 (exit $ac_status); }; } &&
30430 { ac_try
='test -s conftest.$ac_objext'
30431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30432 (eval $ac_try) 2>&5
30434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30435 (exit $ac_status); }; }; then
30436 ac_cv_type_pid_t
=yes
30438 echo "$as_me: failed program was:" >&5
30439 sed 's/^/| /' conftest.
$ac_ext >&5
30441 ac_cv_type_pid_t
=no
30443 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30445 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
30446 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
30447 if test $ac_cv_type_pid_t = yes; then
30451 cat >>confdefs.h
<<_ACEOF
30457 echo "$as_me:$LINENO: checking for size_t" >&5
30458 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
30459 if test "${ac_cv_type_size_t+set}" = set; then
30460 echo $ECHO_N "(cached) $ECHO_C" >&6
30462 cat >conftest.
$ac_ext <<_ACEOF
30465 cat confdefs.h
>>conftest.
$ac_ext
30466 cat >>conftest.
$ac_ext <<_ACEOF
30467 /* end confdefs.h. */
30468 $ac_includes_default
30474 if (sizeof (size_t))
30480 rm -f conftest.
$ac_objext
30481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30482 (eval $ac_compile) 2>conftest.er1
30484 grep -v '^ *+' conftest.er1
>conftest.err
30486 cat conftest.err
>&5
30487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30488 (exit $ac_status); } &&
30489 { ac_try
='test -z "$ac_c_werror_flag"
30490 || test ! -s conftest.err'
30491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30492 (eval $ac_try) 2>&5
30494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30495 (exit $ac_status); }; } &&
30496 { ac_try
='test -s conftest.$ac_objext'
30497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30498 (eval $ac_try) 2>&5
30500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30501 (exit $ac_status); }; }; then
30502 ac_cv_type_size_t
=yes
30504 echo "$as_me: failed program was:" >&5
30505 sed 's/^/| /' conftest.
$ac_ext >&5
30507 ac_cv_type_size_t
=no
30509 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30511 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
30512 echo "${ECHO_T}$ac_cv_type_size_t" >&6
30513 if test $ac_cv_type_size_t = yes; then
30517 cat >>confdefs.h
<<_ACEOF
30518 #define size_t unsigned
30523 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
30524 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
30525 if test "${ac_cv_type_uid_t+set}" = set; then
30526 echo $ECHO_N "(cached) $ECHO_C" >&6
30528 cat >conftest.
$ac_ext <<_ACEOF
30531 cat confdefs.h
>>conftest.
$ac_ext
30532 cat >>conftest.
$ac_ext <<_ACEOF
30533 /* end confdefs.h. */
30534 #include <sys/types.h>
30537 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
30538 $EGREP "uid_t" >/dev
/null
2>&1; then
30539 ac_cv_type_uid_t
=yes
30541 ac_cv_type_uid_t
=no
30546 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
30547 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
30548 if test $ac_cv_type_uid_t = no
; then
30550 cat >>confdefs.h
<<\_ACEOF
30555 cat >>confdefs.h
<<\_ACEOF
30562 echo "$as_me:$LINENO: checking for ssize_t" >&5
30563 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
30564 if test "${ac_cv_type_ssize_t+set}" = set; then
30565 echo $ECHO_N "(cached) $ECHO_C" >&6
30567 cat >conftest.
$ac_ext <<_ACEOF
30570 cat confdefs.h
>>conftest.
$ac_ext
30571 cat >>conftest.
$ac_ext <<_ACEOF
30572 /* end confdefs.h. */
30573 $ac_includes_default
30579 if (sizeof (ssize_t))
30585 rm -f conftest.
$ac_objext
30586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30587 (eval $ac_compile) 2>conftest.er1
30589 grep -v '^ *+' conftest.er1
>conftest.err
30591 cat conftest.err
>&5
30592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30593 (exit $ac_status); } &&
30594 { ac_try
='test -z "$ac_c_werror_flag"
30595 || test ! -s conftest.err'
30596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30597 (eval $ac_try) 2>&5
30599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30600 (exit $ac_status); }; } &&
30601 { ac_try
='test -s conftest.$ac_objext'
30602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30603 (eval $ac_try) 2>&5
30605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30606 (exit $ac_status); }; }; then
30607 ac_cv_type_ssize_t
=yes
30609 echo "$as_me: failed program was:" >&5
30610 sed 's/^/| /' conftest.
$ac_ext >&5
30612 ac_cv_type_ssize_t
=no
30614 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30616 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
30617 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
30618 if test $ac_cv_type_ssize_t = yes; then
30620 cat >>confdefs.h
<<_ACEOF
30621 #define HAVE_SSIZE_T 1
30631 ac_cpp
='$CXXCPP $CPPFLAGS'
30632 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30633 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30634 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30636 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
30637 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
30638 if test "${wx_cv_size_t_is_uint+set}" = set; then
30639 echo $ECHO_N "(cached) $ECHO_C" >&6
30642 cat >conftest.
$ac_ext <<_ACEOF
30645 cat confdefs.h
>>conftest.
$ac_ext
30646 cat >>conftest.
$ac_ext <<_ACEOF
30647 /* end confdefs.h. */
30648 #include <stddef.h>
30655 struct Foo { void foo(size_t); void foo(unsigned int); };
30663 rm -f conftest.
$ac_objext
30664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30665 (eval $ac_compile) 2>conftest.er1
30667 grep -v '^ *+' conftest.er1
>conftest.err
30669 cat conftest.err
>&5
30670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30671 (exit $ac_status); } &&
30672 { ac_try
='test -z "$ac_cxx_werror_flag"
30673 || test ! -s conftest.err'
30674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30675 (eval $ac_try) 2>&5
30677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30678 (exit $ac_status); }; } &&
30679 { ac_try
='test -s conftest.$ac_objext'
30680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30681 (eval $ac_try) 2>&5
30683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30684 (exit $ac_status); }; }; then
30685 wx_cv_size_t_is_uint
=no
30687 echo "$as_me: failed program was:" >&5
30688 sed 's/^/| /' conftest.
$ac_ext >&5
30690 wx_cv_size_t_is_uint
=yes
30693 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30697 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
30698 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
30700 if test "$wx_cv_size_t_is_uint" = "yes"; then
30701 cat >>confdefs.h
<<\_ACEOF
30702 #define wxSIZE_T_IS_UINT 1
30706 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
30707 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
30708 if test "${wx_cv_size_t_is_ulong+set}" = set; then
30709 echo $ECHO_N "(cached) $ECHO_C" >&6
30711 cat >conftest.
$ac_ext <<_ACEOF
30714 cat confdefs.h
>>conftest.
$ac_ext
30715 cat >>conftest.
$ac_ext <<_ACEOF
30716 /* end confdefs.h. */
30717 #include <stddef.h>
30724 struct Foo { void foo(size_t); void foo(unsigned long); };
30732 rm -f conftest.
$ac_objext
30733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30734 (eval $ac_compile) 2>conftest.er1
30736 grep -v '^ *+' conftest.er1
>conftest.err
30738 cat conftest.err
>&5
30739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30740 (exit $ac_status); } &&
30741 { ac_try
='test -z "$ac_cxx_werror_flag"
30742 || test ! -s conftest.err'
30743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30744 (eval $ac_try) 2>&5
30746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30747 (exit $ac_status); }; } &&
30748 { ac_try
='test -s conftest.$ac_objext'
30749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30750 (eval $ac_try) 2>&5
30752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30753 (exit $ac_status); }; }; then
30754 wx_cv_size_t_is_ulong
=no
30756 echo "$as_me: failed program was:" >&5
30757 sed 's/^/| /' conftest.
$ac_ext >&5
30759 wx_cv_size_t_is_ulong
=yes
30762 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30765 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
30766 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
30768 if test "$wx_cv_size_t_is_ulong" = "yes"; then
30769 cat >>confdefs.h
<<\_ACEOF
30770 #define wxSIZE_T_IS_ULONG 1
30777 ac_cpp
='$CPP $CPPFLAGS'
30778 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30779 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30780 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30784 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
30785 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
30786 if test "${wx_cv_struct_pw_gecos+set}" = set; then
30787 echo $ECHO_N "(cached) $ECHO_C" >&6
30790 cat >conftest.
$ac_ext <<_ACEOF
30793 cat confdefs.h
>>conftest.
$ac_ext
30794 cat >>conftest.
$ac_ext <<_ACEOF
30795 /* end confdefs.h. */
30809 rm -f conftest.
$ac_objext
30810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30811 (eval $ac_compile) 2>conftest.er1
30813 grep -v '^ *+' conftest.er1
>conftest.err
30815 cat conftest.err
>&5
30816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30817 (exit $ac_status); } &&
30818 { ac_try
='test -z "$ac_c_werror_flag"
30819 || test ! -s conftest.err'
30820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30821 (eval $ac_try) 2>&5
30823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30824 (exit $ac_status); }; } &&
30825 { ac_try
='test -s conftest.$ac_objext'
30826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30827 (eval $ac_try) 2>&5
30829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30830 (exit $ac_status); }; }; then
30832 wx_cv_struct_pw_gecos
=yes
30835 echo "$as_me: failed program was:" >&5
30836 sed 's/^/| /' conftest.
$ac_ext >&5
30839 wx_cv_struct_pw_gecos
=no
30843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30847 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
30848 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
30850 if test "$wx_cv_struct_pw_gecos" = "yes"; then
30851 cat >>confdefs.h
<<\_ACEOF
30852 #define HAVE_PW_GECOS 1
30858 if test "$wxUSE_WCHAR_T" = "yes"; then
30859 cat >>confdefs.h
<<\_ACEOF
30860 #define wxUSE_WCHAR_T 1
30867 for ac_func
in wcslen
30869 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30870 echo "$as_me:$LINENO: checking for $ac_func" >&5
30871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30872 if eval "test \"\${$as_ac_var+set}\" = set"; then
30873 echo $ECHO_N "(cached) $ECHO_C" >&6
30875 cat >conftest.
$ac_ext <<_ACEOF
30878 cat confdefs.h
>>conftest.
$ac_ext
30879 cat >>conftest.
$ac_ext <<_ACEOF
30880 /* end confdefs.h. */
30881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30883 #define $ac_func innocuous_$ac_func
30885 /* System header to define __stub macros and hopefully few prototypes,
30886 which can conflict with char $ac_func (); below.
30887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30888 <limits.h> exists even on freestanding compilers. */
30891 # include <limits.h>
30893 # include <assert.h>
30898 /* Override any gcc2 internal prototype to avoid an error. */
30903 /* We use char because int might match the return type of a gcc2
30904 builtin and then its argument prototype would still apply. */
30906 /* The GNU C library defines this for functions which it implements
30907 to always fail with ENOSYS. Some functions are actually named
30908 something starting with __ and the normal name is an alias. */
30909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30912 char (*f) () = $ac_func;
30921 return f != $ac_func;
30926 rm -f conftest.
$ac_objext conftest
$ac_exeext
30927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30928 (eval $ac_link) 2>conftest.er1
30930 grep -v '^ *+' conftest.er1
>conftest.err
30932 cat conftest.err
>&5
30933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30934 (exit $ac_status); } &&
30935 { ac_try
='test -z "$ac_c_werror_flag"
30936 || test ! -s conftest.err'
30937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30938 (eval $ac_try) 2>&5
30940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30941 (exit $ac_status); }; } &&
30942 { ac_try
='test -s conftest$ac_exeext'
30943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30944 (eval $ac_try) 2>&5
30946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30947 (exit $ac_status); }; }; then
30948 eval "$as_ac_var=yes"
30950 echo "$as_me: failed program was:" >&5
30951 sed 's/^/| /' conftest.
$ac_ext >&5
30953 eval "$as_ac_var=no"
30955 rm -f conftest.err conftest.
$ac_objext \
30956 conftest
$ac_exeext conftest.
$ac_ext
30958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30960 if test `eval echo '${'$as_ac_var'}'` = yes; then
30961 cat >>confdefs.h
<<_ACEOF
30962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30969 if test "$WCSLEN_FOUND" = 0; then
30970 if test "$TOOLKIT" = "MSW"; then
30971 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
30972 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
30973 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
30974 echo $ECHO_N "(cached) $ECHO_C" >&6
30976 ac_check_lib_save_LIBS
=$LIBS
30977 LIBS
="-lmsvcrt $LIBS"
30978 cat >conftest.
$ac_ext <<_ACEOF
30981 cat confdefs.h
>>conftest.
$ac_ext
30982 cat >>conftest.
$ac_ext <<_ACEOF
30983 /* end confdefs.h. */
30985 /* Override any gcc2 internal prototype to avoid an error. */
30989 /* We use char because int might match the return type of a gcc2
30990 builtin and then its argument prototype would still apply. */
31000 rm -f conftest.
$ac_objext conftest
$ac_exeext
31001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31002 (eval $ac_link) 2>conftest.er1
31004 grep -v '^ *+' conftest.er1
>conftest.err
31006 cat conftest.err
>&5
31007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31008 (exit $ac_status); } &&
31009 { ac_try
='test -z "$ac_c_werror_flag"
31010 || test ! -s conftest.err'
31011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31012 (eval $ac_try) 2>&5
31014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31015 (exit $ac_status); }; } &&
31016 { ac_try
='test -s conftest$ac_exeext'
31017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31018 (eval $ac_try) 2>&5
31020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31021 (exit $ac_status); }; }; then
31022 ac_cv_lib_msvcrt_wcslen
=yes
31024 echo "$as_me: failed program was:" >&5
31025 sed 's/^/| /' conftest.
$ac_ext >&5
31027 ac_cv_lib_msvcrt_wcslen
=no
31029 rm -f conftest.err conftest.
$ac_objext \
31030 conftest
$ac_exeext conftest.
$ac_ext
31031 LIBS
=$ac_check_lib_save_LIBS
31033 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
31034 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
31035 if test $ac_cv_lib_msvcrt_wcslen = yes; then
31040 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
31041 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
31042 if test "${ac_cv_lib_w_wcslen+set}" = set; then
31043 echo $ECHO_N "(cached) $ECHO_C" >&6
31045 ac_check_lib_save_LIBS
=$LIBS
31047 cat >conftest.
$ac_ext <<_ACEOF
31050 cat confdefs.h
>>conftest.
$ac_ext
31051 cat >>conftest.
$ac_ext <<_ACEOF
31052 /* end confdefs.h. */
31054 /* Override any gcc2 internal prototype to avoid an error. */
31058 /* We use char because int might match the return type of a gcc2
31059 builtin and then its argument prototype would still apply. */
31069 rm -f conftest.
$ac_objext conftest
$ac_exeext
31070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31071 (eval $ac_link) 2>conftest.er1
31073 grep -v '^ *+' conftest.er1
>conftest.err
31075 cat conftest.err
>&5
31076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31077 (exit $ac_status); } &&
31078 { ac_try
='test -z "$ac_c_werror_flag"
31079 || test ! -s conftest.err'
31080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31081 (eval $ac_try) 2>&5
31083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31084 (exit $ac_status); }; } &&
31085 { ac_try
='test -s conftest$ac_exeext'
31086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31087 (eval $ac_try) 2>&5
31089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31090 (exit $ac_status); }; }; then
31091 ac_cv_lib_w_wcslen
=yes
31093 echo "$as_me: failed program was:" >&5
31094 sed 's/^/| /' conftest.
$ac_ext >&5
31096 ac_cv_lib_w_wcslen
=no
31098 rm -f conftest.err conftest.
$ac_objext \
31099 conftest
$ac_exeext conftest.
$ac_ext
31100 LIBS
=$ac_check_lib_save_LIBS
31102 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
31103 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
31104 if test $ac_cv_lib_w_wcslen = yes; then
31114 if test "$WCSLEN_FOUND" = 1; then
31115 cat >>confdefs.h
<<\_ACEOF
31116 #define HAVE_WCSLEN 1
31121 if test "$USE_HPUX" = 1; then
31122 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
31126 for ac_func
in wcsrtombs
31128 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31129 echo "$as_me:$LINENO: checking for $ac_func" >&5
31130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31131 if eval "test \"\${$as_ac_var+set}\" = set"; then
31132 echo $ECHO_N "(cached) $ECHO_C" >&6
31134 cat >conftest.
$ac_ext <<_ACEOF
31137 cat confdefs.h
>>conftest.
$ac_ext
31138 cat >>conftest.
$ac_ext <<_ACEOF
31139 /* end confdefs.h. */
31140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31142 #define $ac_func innocuous_$ac_func
31144 /* System header to define __stub macros and hopefully few prototypes,
31145 which can conflict with char $ac_func (); below.
31146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31147 <limits.h> exists even on freestanding compilers. */
31150 # include <limits.h>
31152 # include <assert.h>
31157 /* Override any gcc2 internal prototype to avoid an error. */
31162 /* We use char because int might match the return type of a gcc2
31163 builtin and then its argument prototype would still apply. */
31165 /* The GNU C library defines this for functions which it implements
31166 to always fail with ENOSYS. Some functions are actually named
31167 something starting with __ and the normal name is an alias. */
31168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31171 char (*f) () = $ac_func;
31180 return f != $ac_func;
31185 rm -f conftest.
$ac_objext conftest
$ac_exeext
31186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31187 (eval $ac_link) 2>conftest.er1
31189 grep -v '^ *+' conftest.er1
>conftest.err
31191 cat conftest.err
>&5
31192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31193 (exit $ac_status); } &&
31194 { ac_try
='test -z "$ac_c_werror_flag"
31195 || test ! -s conftest.err'
31196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31197 (eval $ac_try) 2>&5
31199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31200 (exit $ac_status); }; } &&
31201 { ac_try
='test -s conftest$ac_exeext'
31202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31203 (eval $ac_try) 2>&5
31205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31206 (exit $ac_status); }; }; then
31207 eval "$as_ac_var=yes"
31209 echo "$as_me: failed program was:" >&5
31210 sed 's/^/| /' conftest.
$ac_ext >&5
31212 eval "$as_ac_var=no"
31214 rm -f conftest.err conftest.
$ac_objext \
31215 conftest
$ac_exeext conftest.
$ac_ext
31217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31219 if test `eval echo '${'$as_ac_var'}'` = yes; then
31220 cat >>confdefs.h
<<_ACEOF
31221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31228 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
31229 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
31235 ac_cpp
='$CXXCPP $CPPFLAGS'
31236 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31237 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31238 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31242 for ac_func
in vsnprintf
31244 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31245 echo "$as_me:$LINENO: checking for $ac_func" >&5
31246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31247 if eval "test \"\${$as_ac_var+set}\" = set"; then
31248 echo $ECHO_N "(cached) $ECHO_C" >&6
31250 cat >conftest.
$ac_ext <<_ACEOF
31253 cat confdefs.h
>>conftest.
$ac_ext
31254 cat >>conftest.
$ac_ext <<_ACEOF
31255 /* end confdefs.h. */
31256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31258 #define $ac_func innocuous_$ac_func
31260 /* System header to define __stub macros and hopefully few prototypes,
31261 which can conflict with char $ac_func (); below.
31262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31263 <limits.h> exists even on freestanding compilers. */
31266 # include <limits.h>
31268 # include <assert.h>
31273 /* Override any gcc2 internal prototype to avoid an error. */
31278 /* We use char because int might match the return type of a gcc2
31279 builtin and then its argument prototype would still apply. */
31281 /* The GNU C library defines this for functions which it implements
31282 to always fail with ENOSYS. Some functions are actually named
31283 something starting with __ and the normal name is an alias. */
31284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31287 char (*f) () = $ac_func;
31296 return f != $ac_func;
31301 rm -f conftest.
$ac_objext conftest
$ac_exeext
31302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31303 (eval $ac_link) 2>conftest.er1
31305 grep -v '^ *+' conftest.er1
>conftest.err
31307 cat conftest.err
>&5
31308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31309 (exit $ac_status); } &&
31310 { ac_try
='test -z "$ac_cxx_werror_flag"
31311 || test ! -s conftest.err'
31312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31313 (eval $ac_try) 2>&5
31315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31316 (exit $ac_status); }; } &&
31317 { ac_try
='test -s conftest$ac_exeext'
31318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31319 (eval $ac_try) 2>&5
31321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31322 (exit $ac_status); }; }; then
31323 eval "$as_ac_var=yes"
31325 echo "$as_me: failed program was:" >&5
31326 sed 's/^/| /' conftest.
$ac_ext >&5
31328 eval "$as_ac_var=no"
31330 rm -f conftest.err conftest.
$ac_objext \
31331 conftest
$ac_exeext conftest.
$ac_ext
31333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31335 if test `eval echo '${'$as_ac_var'}'` = yes; then
31336 cat >>confdefs.h
<<_ACEOF
31337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31344 if test "$ac_cv_func_vsnprintf" = "yes"; then
31345 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
31346 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
31347 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
31348 echo $ECHO_N "(cached) $ECHO_C" >&6
31351 cat >conftest.
$ac_ext <<_ACEOF
31354 cat confdefs.h
>>conftest.
$ac_ext
31355 cat >>conftest.
$ac_ext <<_ACEOF
31356 /* end confdefs.h. */
31359 #include <stdarg.h>
31367 vsnprintf(buf, 10u, "%s", ap);
31373 rm -f conftest.
$ac_objext
31374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31375 (eval $ac_compile) 2>conftest.er1
31377 grep -v '^ *+' conftest.er1
>conftest.err
31379 cat conftest.err
>&5
31380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31381 (exit $ac_status); } &&
31382 { ac_try
='test -z "$ac_cxx_werror_flag"
31383 || test ! -s conftest.err'
31384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31385 (eval $ac_try) 2>&5
31387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31388 (exit $ac_status); }; } &&
31389 { ac_try
='test -s conftest.$ac_objext'
31390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31391 (eval $ac_try) 2>&5
31393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31394 (exit $ac_status); }; }; then
31395 wx_cv_func_vsnprintf_decl
=yes
31397 echo "$as_me: failed program was:" >&5
31398 sed 's/^/| /' conftest.
$ac_ext >&5
31401 cat >conftest.
$ac_ext <<_ACEOF
31404 cat confdefs.h
>>conftest.
$ac_ext
31405 cat >>conftest.
$ac_ext <<_ACEOF
31406 /* end confdefs.h. */
31409 #include <stdarg.h>
31410 using namespace std;
31418 vsnprintf(buf, 10u, "%s", ap);
31424 rm -f conftest.
$ac_objext
31425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31426 (eval $ac_compile) 2>conftest.er1
31428 grep -v '^ *+' conftest.er1
>conftest.err
31430 cat conftest.err
>&5
31431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31432 (exit $ac_status); } &&
31433 { ac_try
='test -z "$ac_cxx_werror_flag"
31434 || test ! -s conftest.err'
31435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31436 (eval $ac_try) 2>&5
31438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31439 (exit $ac_status); }; } &&
31440 { ac_try
='test -s conftest.$ac_objext'
31441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31442 (eval $ac_try) 2>&5
31444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31445 (exit $ac_status); }; }; then
31446 wx_cv_func_vsnprintf_decl
=yes
31448 echo "$as_me: failed program was:" >&5
31449 sed 's/^/| /' conftest.
$ac_ext >&5
31451 wx_cv_func_vsnprintf_decl
=no
31454 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31458 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31462 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
31463 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
31465 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
31466 cat >>confdefs.h
<<\_ACEOF
31467 #define HAVE_VSNPRINTF_DECL 1
31473 if test "$wxUSE_UNICODE" = yes; then
31480 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
31482 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31483 echo "$as_me:$LINENO: checking for $ac_func" >&5
31484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31485 if eval "test \"\${$as_ac_var+set}\" = set"; then
31486 echo $ECHO_N "(cached) $ECHO_C" >&6
31488 cat >conftest.
$ac_ext <<_ACEOF
31491 cat confdefs.h
>>conftest.
$ac_ext
31492 cat >>conftest.
$ac_ext <<_ACEOF
31493 /* end confdefs.h. */
31494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31496 #define $ac_func innocuous_$ac_func
31498 /* System header to define __stub macros and hopefully few prototypes,
31499 which can conflict with char $ac_func (); below.
31500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31501 <limits.h> exists even on freestanding compilers. */
31504 # include <limits.h>
31506 # include <assert.h>
31511 /* Override any gcc2 internal prototype to avoid an error. */
31516 /* We use char because int might match the return type of a gcc2
31517 builtin and then its argument prototype would still apply. */
31519 /* The GNU C library defines this for functions which it implements
31520 to always fail with ENOSYS. Some functions are actually named
31521 something starting with __ and the normal name is an alias. */
31522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31525 char (*f) () = $ac_func;
31534 return f != $ac_func;
31539 rm -f conftest.
$ac_objext conftest
$ac_exeext
31540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31541 (eval $ac_link) 2>conftest.er1
31543 grep -v '^ *+' conftest.er1
>conftest.err
31545 cat conftest.err
>&5
31546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31547 (exit $ac_status); } &&
31548 { ac_try
='test -z "$ac_cxx_werror_flag"
31549 || test ! -s conftest.err'
31550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31551 (eval $ac_try) 2>&5
31553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31554 (exit $ac_status); }; } &&
31555 { ac_try
='test -s conftest$ac_exeext'
31556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31557 (eval $ac_try) 2>&5
31559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31560 (exit $ac_status); }; }; then
31561 eval "$as_ac_var=yes"
31563 echo "$as_me: failed program was:" >&5
31564 sed 's/^/| /' conftest.
$ac_ext >&5
31566 eval "$as_ac_var=no"
31568 rm -f conftest.err conftest.
$ac_objext \
31569 conftest
$ac_exeext conftest.
$ac_ext
31571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31573 if test `eval echo '${'$as_ac_var'}'` = yes; then
31574 cat >>confdefs.h
<<_ACEOF
31575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31582 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
31583 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
31584 cat >conftest.
$ac_ext <<_ACEOF
31587 cat confdefs.h
>>conftest.
$ac_ext
31588 cat >>conftest.
$ac_ext <<_ACEOF
31589 /* end confdefs.h. */
31599 rm -f conftest.
$ac_objext
31600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31601 (eval $ac_compile) 2>conftest.er1
31603 grep -v '^ *+' conftest.er1
>conftest.err
31605 cat conftest.err
>&5
31606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31607 (exit $ac_status); } &&
31608 { ac_try
='test -z "$ac_cxx_werror_flag"
31609 || test ! -s conftest.err'
31610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31611 (eval $ac_try) 2>&5
31613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31614 (exit $ac_status); }; } &&
31615 { ac_try
='test -s conftest.$ac_objext'
31616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31617 (eval $ac_try) 2>&5
31619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31620 (exit $ac_status); }; }; then
31621 echo "$as_me:$LINENO: result: yes" >&5
31622 echo "${ECHO_T}yes" >&6
31623 cat >>confdefs.h
<<\_ACEOF
31624 #define HAVE__VSNWPRINTF 1
31628 echo "$as_me: failed program was:" >&5
31629 sed 's/^/| /' conftest.
$ac_ext >&5
31631 echo "$as_me:$LINENO: result: no" >&5
31632 echo "${ECHO_T}no" >&6
31634 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
31638 ac_cpp
='$CPP $CPPFLAGS'
31639 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31640 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31641 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31646 if test "$TOOLKIT" != "MSW"; then
31652 ac_cpp
='$CXXCPP $CPPFLAGS'
31653 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31654 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31655 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31660 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
31661 if test "${with_libiconv_prefix+set}" = set; then
31662 withval
="$with_libiconv_prefix"
31664 for dir
in `echo "$withval" | tr : ' '`; do
31665 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
31666 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
31671 echo "$as_me:$LINENO: checking for iconv" >&5
31672 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
31673 if test "${am_cv_func_iconv+set}" = set; then
31674 echo $ECHO_N "(cached) $ECHO_C" >&6
31677 am_cv_func_iconv
="no, consider installing GNU libiconv"
31679 cat >conftest.
$ac_ext <<_ACEOF
31682 cat confdefs.h
>>conftest.
$ac_ext
31683 cat >>conftest.
$ac_ext <<_ACEOF
31684 /* end confdefs.h. */
31685 #include <stdlib.h>
31690 iconv_t cd = iconv_open("","");
31691 iconv(cd,NULL,NULL,NULL,NULL);
31697 rm -f conftest.
$ac_objext conftest
$ac_exeext
31698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31699 (eval $ac_link) 2>conftest.er1
31701 grep -v '^ *+' conftest.er1
>conftest.err
31703 cat conftest.err
>&5
31704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31705 (exit $ac_status); } &&
31706 { ac_try
='test -z "$ac_cxx_werror_flag"
31707 || test ! -s conftest.err'
31708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31709 (eval $ac_try) 2>&5
31711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31712 (exit $ac_status); }; } &&
31713 { ac_try
='test -s conftest$ac_exeext'
31714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31715 (eval $ac_try) 2>&5
31717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31718 (exit $ac_status); }; }; then
31719 am_cv_func_iconv
=yes
31721 echo "$as_me: failed program was:" >&5
31722 sed 's/^/| /' conftest.
$ac_ext >&5
31725 rm -f conftest.err conftest.
$ac_objext \
31726 conftest
$ac_exeext conftest.
$ac_ext
31727 if test "$am_cv_func_iconv" != yes; then
31728 am_save_LIBS
="$LIBS"
31729 LIBS
="$LIBS -liconv"
31730 cat >conftest.
$ac_ext <<_ACEOF
31733 cat confdefs.h
>>conftest.
$ac_ext
31734 cat >>conftest.
$ac_ext <<_ACEOF
31735 /* end confdefs.h. */
31736 #include <stdlib.h>
31741 iconv_t cd = iconv_open("","");
31742 iconv(cd,NULL,NULL,NULL,NULL);
31748 rm -f conftest.
$ac_objext conftest
$ac_exeext
31749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31750 (eval $ac_link) 2>conftest.er1
31752 grep -v '^ *+' conftest.er1
>conftest.err
31754 cat conftest.err
>&5
31755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31756 (exit $ac_status); } &&
31757 { ac_try
='test -z "$ac_cxx_werror_flag"
31758 || test ! -s conftest.err'
31759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31760 (eval $ac_try) 2>&5
31762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31763 (exit $ac_status); }; } &&
31764 { ac_try
='test -s conftest$ac_exeext'
31765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31766 (eval $ac_try) 2>&5
31768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31769 (exit $ac_status); }; }; then
31770 am_cv_lib_iconv
=yes
31771 am_cv_func_iconv
=yes
31773 echo "$as_me: failed program was:" >&5
31774 sed 's/^/| /' conftest.
$ac_ext >&5
31777 rm -f conftest.err conftest.
$ac_objext \
31778 conftest
$ac_exeext conftest.
$ac_ext
31779 LIBS
="$am_save_LIBS"
31783 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
31784 echo "${ECHO_T}$am_cv_func_iconv" >&6
31785 if test "$am_cv_func_iconv" = yes; then
31787 cat >>confdefs.h
<<\_ACEOF
31788 #define HAVE_ICONV 1
31791 echo "$as_me:$LINENO: checking if iconv needs const" >&5
31792 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
31793 if test "${wx_cv_func_iconv_const+set}" = set; then
31794 echo $ECHO_N "(cached) $ECHO_C" >&6
31796 cat >conftest.
$ac_ext <<_ACEOF
31799 cat confdefs.h
>>conftest.
$ac_ext
31800 cat >>conftest.
$ac_ext <<_ACEOF
31801 /* end confdefs.h. */
31803 #include <stdlib.h>
31809 #if defined(__STDC__) || defined(__cplusplus)
31810 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
31823 rm -f conftest.
$ac_objext
31824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31825 (eval $ac_compile) 2>conftest.er1
31827 grep -v '^ *+' conftest.er1
>conftest.err
31829 cat conftest.err
>&5
31830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31831 (exit $ac_status); } &&
31832 { ac_try
='test -z "$ac_cxx_werror_flag"
31833 || test ! -s conftest.err'
31834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31835 (eval $ac_try) 2>&5
31837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31838 (exit $ac_status); }; } &&
31839 { ac_try
='test -s conftest.$ac_objext'
31840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31841 (eval $ac_try) 2>&5
31843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31844 (exit $ac_status); }; }; then
31845 wx_cv_func_iconv_const
="no"
31847 echo "$as_me: failed program was:" >&5
31848 sed 's/^/| /' conftest.
$ac_ext >&5
31850 wx_cv_func_iconv_const
="yes"
31853 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31856 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
31857 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
31860 if test "x$wx_cv_func_iconv_const" = "xyes"; then
31861 iconv_const
="const"
31865 cat >>confdefs.h
<<_ACEOF
31866 #define ICONV_CONST $iconv_const
31871 if test "$am_cv_lib_iconv" = yes; then
31876 LIBS
="$LIBICONV $LIBS"
31878 ac_cpp
='$CPP $CPPFLAGS'
31879 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31880 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31881 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31884 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
31886 for ac_func
in sigaction
31888 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31889 echo "$as_me:$LINENO: checking for $ac_func" >&5
31890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31891 if eval "test \"\${$as_ac_var+set}\" = set"; then
31892 echo $ECHO_N "(cached) $ECHO_C" >&6
31894 cat >conftest.
$ac_ext <<_ACEOF
31897 cat confdefs.h
>>conftest.
$ac_ext
31898 cat >>conftest.
$ac_ext <<_ACEOF
31899 /* end confdefs.h. */
31900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31902 #define $ac_func innocuous_$ac_func
31904 /* System header to define __stub macros and hopefully few prototypes,
31905 which can conflict with char $ac_func (); below.
31906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31907 <limits.h> exists even on freestanding compilers. */
31910 # include <limits.h>
31912 # include <assert.h>
31917 /* Override any gcc2 internal prototype to avoid an error. */
31922 /* We use char because int might match the return type of a gcc2
31923 builtin and then its argument prototype would still apply. */
31925 /* The GNU C library defines this for functions which it implements
31926 to always fail with ENOSYS. Some functions are actually named
31927 something starting with __ and the normal name is an alias. */
31928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31931 char (*f) () = $ac_func;
31940 return f != $ac_func;
31945 rm -f conftest.
$ac_objext conftest
$ac_exeext
31946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31947 (eval $ac_link) 2>conftest.er1
31949 grep -v '^ *+' conftest.er1
>conftest.err
31951 cat conftest.err
>&5
31952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31953 (exit $ac_status); } &&
31954 { ac_try
='test -z "$ac_c_werror_flag"
31955 || test ! -s conftest.err'
31956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31957 (eval $ac_try) 2>&5
31959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31960 (exit $ac_status); }; } &&
31961 { ac_try
='test -s conftest$ac_exeext'
31962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31963 (eval $ac_try) 2>&5
31965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31966 (exit $ac_status); }; }; then
31967 eval "$as_ac_var=yes"
31969 echo "$as_me: failed program was:" >&5
31970 sed 's/^/| /' conftest.
$ac_ext >&5
31972 eval "$as_ac_var=no"
31974 rm -f conftest.err conftest.
$ac_objext \
31975 conftest
$ac_exeext conftest.
$ac_ext
31977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31979 if test `eval echo '${'$as_ac_var'}'` = yes; then
31980 cat >>confdefs.h
<<_ACEOF
31981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31988 if test "$ac_cv_func_sigaction" = "no"; then
31989 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
31990 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
31991 wxUSE_ON_FATAL_EXCEPTION
=no
31994 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
31998 ac_cpp
='$CXXCPP $CPPFLAGS'
31999 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32000 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32001 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32004 echo "$as_me:$LINENO: checking for sa_handler type" >&5
32005 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
32006 if test "${wx_cv_type_sa_handler+set}" = set; then
32007 echo $ECHO_N "(cached) $ECHO_C" >&6
32010 cat >conftest.
$ac_ext <<_ACEOF
32013 cat confdefs.h
>>conftest.
$ac_ext
32014 cat >>conftest.
$ac_ext <<_ACEOF
32015 /* end confdefs.h. */
32016 #include <signal.h>
32021 extern void testSigHandler(int);
32023 struct sigaction sa;
32024 sa.sa_handler = testSigHandler;
32030 rm -f conftest.
$ac_objext
32031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32032 (eval $ac_compile) 2>conftest.er1
32034 grep -v '^ *+' conftest.er1
>conftest.err
32036 cat conftest.err
>&5
32037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32038 (exit $ac_status); } &&
32039 { ac_try
='test -z "$ac_cxx_werror_flag"
32040 || test ! -s conftest.err'
32041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32042 (eval $ac_try) 2>&5
32044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32045 (exit $ac_status); }; } &&
32046 { ac_try
='test -s conftest.$ac_objext'
32047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32048 (eval $ac_try) 2>&5
32050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32051 (exit $ac_status); }; }; then
32053 wx_cv_type_sa_handler
=int
32056 echo "$as_me: failed program was:" >&5
32057 sed 's/^/| /' conftest.
$ac_ext >&5
32060 wx_cv_type_sa_handler
=void
32063 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32066 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
32067 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
32070 ac_cpp
='$CPP $CPPFLAGS'
32071 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32072 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32073 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32076 cat >>confdefs.h
<<_ACEOF
32077 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
32083 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
32087 ac_cpp
='$CXXCPP $CPPFLAGS'
32088 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32089 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32090 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32093 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
32094 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
32095 if test "${wx_cv_func_backtrace+set}" = set; then
32096 echo $ECHO_N "(cached) $ECHO_C" >&6
32099 cat >conftest.
$ac_ext <<_ACEOF
32102 cat confdefs.h
>>conftest.
$ac_ext
32103 cat >>conftest.
$ac_ext <<_ACEOF
32104 /* end confdefs.h. */
32105 #include <execinfo.h>
32113 backtrace(trace, 1);
32114 messages = backtrace_symbols(trace, 1);
32120 rm -f conftest.
$ac_objext
32121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32122 (eval $ac_compile) 2>conftest.er1
32124 grep -v '^ *+' conftest.er1
>conftest.err
32126 cat conftest.err
>&5
32127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32128 (exit $ac_status); } &&
32129 { ac_try
='test -z "$ac_cxx_werror_flag"
32130 || test ! -s conftest.err'
32131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32132 (eval $ac_try) 2>&5
32134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32135 (exit $ac_status); }; } &&
32136 { ac_try
='test -s conftest.$ac_objext'
32137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32138 (eval $ac_try) 2>&5
32140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32141 (exit $ac_status); }; }; then
32142 wx_cv_func_backtrace
=yes
32144 echo "$as_me: failed program was:" >&5
32145 sed 's/^/| /' conftest.
$ac_ext >&5
32147 wx_cv_func_backtrace
=no
32150 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32154 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
32155 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
32158 if test "$wx_cv_func_backtrace" = "no"; then
32159 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
32160 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
32161 wxUSE_STACKWALKER
=no
32163 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
32164 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
32165 if test "${wx_cv_func_cxa_demangle+set}" = set; then
32166 echo $ECHO_N "(cached) $ECHO_C" >&6
32169 cat >conftest.
$ac_ext <<_ACEOF
32172 cat confdefs.h
>>conftest.
$ac_ext
32173 cat >>conftest.
$ac_ext <<_ACEOF
32174 /* end confdefs.h. */
32175 #include <cxxabi.h>
32181 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
32187 rm -f conftest.
$ac_objext conftest
$ac_exeext
32188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32189 (eval $ac_link) 2>conftest.er1
32191 grep -v '^ *+' conftest.er1
>conftest.err
32193 cat conftest.err
>&5
32194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32195 (exit $ac_status); } &&
32196 { ac_try
='test -z "$ac_cxx_werror_flag"
32197 || test ! -s conftest.err'
32198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32199 (eval $ac_try) 2>&5
32201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32202 (exit $ac_status); }; } &&
32203 { ac_try
='test -s conftest$ac_exeext'
32204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32205 (eval $ac_try) 2>&5
32207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32208 (exit $ac_status); }; }; then
32209 wx_cv_func_cxa_demangle
=yes
32211 echo "$as_me: failed program was:" >&5
32212 sed 's/^/| /' conftest.
$ac_ext >&5
32214 wx_cv_func_cxa_demangle
=no
32217 rm -f conftest.err conftest.
$ac_objext \
32218 conftest
$ac_exeext conftest.
$ac_ext
32222 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
32223 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
32225 if test "$wx_cv_func_cxa_demangle" = "yes"; then
32226 cat >>confdefs.h
<<\_ACEOF
32227 #define HAVE_CXA_DEMANGLE 1
32234 ac_cpp
='$CPP $CPPFLAGS'
32235 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32236 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32237 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32241 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
32242 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
32243 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
32244 wxUSE_STACKWALKER
=no
32250 for ac_func
in mkstemp mktemp
32252 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32253 echo "$as_me:$LINENO: checking for $ac_func" >&5
32254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32255 if eval "test \"\${$as_ac_var+set}\" = set"; then
32256 echo $ECHO_N "(cached) $ECHO_C" >&6
32258 cat >conftest.
$ac_ext <<_ACEOF
32261 cat confdefs.h
>>conftest.
$ac_ext
32262 cat >>conftest.
$ac_ext <<_ACEOF
32263 /* end confdefs.h. */
32264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32266 #define $ac_func innocuous_$ac_func
32268 /* System header to define __stub macros and hopefully few prototypes,
32269 which can conflict with char $ac_func (); below.
32270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32271 <limits.h> exists even on freestanding compilers. */
32274 # include <limits.h>
32276 # include <assert.h>
32281 /* Override any gcc2 internal prototype to avoid an error. */
32286 /* We use char because int might match the return type of a gcc2
32287 builtin and then its argument prototype would still apply. */
32289 /* The GNU C library defines this for functions which it implements
32290 to always fail with ENOSYS. Some functions are actually named
32291 something starting with __ and the normal name is an alias. */
32292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32295 char (*f) () = $ac_func;
32304 return f != $ac_func;
32309 rm -f conftest.
$ac_objext conftest
$ac_exeext
32310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32311 (eval $ac_link) 2>conftest.er1
32313 grep -v '^ *+' conftest.er1
>conftest.err
32315 cat conftest.err
>&5
32316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32317 (exit $ac_status); } &&
32318 { ac_try
='test -z "$ac_c_werror_flag"
32319 || test ! -s conftest.err'
32320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32321 (eval $ac_try) 2>&5
32323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32324 (exit $ac_status); }; } &&
32325 { ac_try
='test -s conftest$ac_exeext'
32326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32327 (eval $ac_try) 2>&5
32329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32330 (exit $ac_status); }; }; then
32331 eval "$as_ac_var=yes"
32333 echo "$as_me: failed program was:" >&5
32334 sed 's/^/| /' conftest.
$ac_ext >&5
32336 eval "$as_ac_var=no"
32338 rm -f conftest.err conftest.
$ac_objext \
32339 conftest
$ac_exeext conftest.
$ac_ext
32341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32343 if test `eval echo '${'$as_ac_var'}'` = yes; then
32344 cat >>confdefs.h
<<_ACEOF
32345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32352 echo "$as_me:$LINENO: checking for statfs" >&5
32353 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
32354 if test "${wx_cv_func_statfs+set}" = set; then
32355 echo $ECHO_N "(cached) $ECHO_C" >&6
32357 cat >conftest.
$ac_ext <<_ACEOF
32360 cat confdefs.h
>>conftest.
$ac_ext
32361 cat >>conftest.
$ac_ext <<_ACEOF
32362 /* end confdefs.h. */
32364 #if defined(__BSD__)
32365 #include <sys/param.h>
32366 #include <sys/mount.h>
32368 #include <sys/vfs.h>
32386 rm -f conftest.
$ac_objext
32387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32388 (eval $ac_compile) 2>conftest.er1
32390 grep -v '^ *+' conftest.er1
>conftest.err
32392 cat conftest.err
>&5
32393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32394 (exit $ac_status); } &&
32395 { ac_try
='test -z "$ac_c_werror_flag"
32396 || test ! -s conftest.err'
32397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32398 (eval $ac_try) 2>&5
32400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32401 (exit $ac_status); }; } &&
32402 { ac_try
='test -s conftest.$ac_objext'
32403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32404 (eval $ac_try) 2>&5
32406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32407 (exit $ac_status); }; }; then
32409 wx_cv_func_statfs
=yes
32412 echo "$as_me: failed program was:" >&5
32413 sed 's/^/| /' conftest.
$ac_ext >&5
32416 wx_cv_func_statfs
=no
32420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32423 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
32424 echo "${ECHO_T}$wx_cv_func_statfs" >&6
32426 if test "$wx_cv_func_statfs" = "yes"; then
32427 wx_cv_type_statvfs_t
="struct statfs"
32428 cat >>confdefs.h
<<\_ACEOF
32429 #define HAVE_STATFS 1
32433 echo "$as_me:$LINENO: checking for statvfs" >&5
32434 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
32435 if test "${wx_cv_func_statvfs+set}" = set; then
32436 echo $ECHO_N "(cached) $ECHO_C" >&6
32438 cat >conftest.
$ac_ext <<_ACEOF
32441 cat confdefs.h
>>conftest.
$ac_ext
32442 cat >>conftest.
$ac_ext <<_ACEOF
32443 /* end confdefs.h. */
32445 #include <stddef.h>
32446 #include <sys/statvfs.h>
32452 statvfs("/", NULL);
32458 rm -f conftest.
$ac_objext
32459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32460 (eval $ac_compile) 2>conftest.er1
32462 grep -v '^ *+' conftest.er1
>conftest.err
32464 cat conftest.err
>&5
32465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32466 (exit $ac_status); } &&
32467 { ac_try
='test -z "$ac_c_werror_flag"
32468 || test ! -s conftest.err'
32469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32470 (eval $ac_try) 2>&5
32472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32473 (exit $ac_status); }; } &&
32474 { ac_try
='test -s conftest.$ac_objext'
32475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32476 (eval $ac_try) 2>&5
32478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32479 (exit $ac_status); }; }; then
32480 wx_cv_func_statvfs
=yes
32482 echo "$as_me: failed program was:" >&5
32483 sed 's/^/| /' conftest.
$ac_ext >&5
32485 wx_cv_func_statvfs
=no
32488 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32491 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
32492 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
32494 if test "$wx_cv_func_statvfs" = "yes"; then
32498 ac_cpp
='$CXXCPP $CPPFLAGS'
32499 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32500 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32501 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32504 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
32505 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
32506 if test "${wx_cv_type_statvfs_t+set}" = set; then
32507 echo $ECHO_N "(cached) $ECHO_C" >&6
32509 cat >conftest.
$ac_ext <<_ACEOF
32512 cat confdefs.h
>>conftest.
$ac_ext
32513 cat >>conftest.
$ac_ext <<_ACEOF
32514 /* end confdefs.h. */
32516 #include <sys/statvfs.h>
32533 rm -f conftest.
$ac_objext
32534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32535 (eval $ac_compile) 2>conftest.er1
32537 grep -v '^ *+' conftest.er1
>conftest.err
32539 cat conftest.err
>&5
32540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32541 (exit $ac_status); } &&
32542 { ac_try
='test -z "$ac_cxx_werror_flag"
32543 || test ! -s conftest.err'
32544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32545 (eval $ac_try) 2>&5
32547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32548 (exit $ac_status); }; } &&
32549 { ac_try
='test -s conftest.$ac_objext'
32550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32551 (eval $ac_try) 2>&5
32553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32554 (exit $ac_status); }; }; then
32555 wx_cv_type_statvfs_t
=statvfs_t
32557 echo "$as_me: failed program was:" >&5
32558 sed 's/^/| /' conftest.
$ac_ext >&5
32561 cat >conftest.
$ac_ext <<_ACEOF
32564 cat confdefs.h
>>conftest.
$ac_ext
32565 cat >>conftest.
$ac_ext <<_ACEOF
32566 /* end confdefs.h. */
32568 #include <sys/statvfs.h>
32585 rm -f conftest.
$ac_objext
32586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32587 (eval $ac_compile) 2>conftest.er1
32589 grep -v '^ *+' conftest.er1
>conftest.err
32591 cat conftest.err
>&5
32592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32593 (exit $ac_status); } &&
32594 { ac_try
='test -z "$ac_cxx_werror_flag"
32595 || test ! -s conftest.err'
32596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32597 (eval $ac_try) 2>&5
32599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32600 (exit $ac_status); }; } &&
32601 { ac_try
='test -s conftest.$ac_objext'
32602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32603 (eval $ac_try) 2>&5
32605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32606 (exit $ac_status); }; }; then
32607 wx_cv_type_statvfs_t
="struct statvfs"
32609 echo "$as_me: failed program was:" >&5
32610 sed 's/^/| /' conftest.
$ac_ext >&5
32612 wx_cv_type_statvfs_t
="unknown"
32615 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32619 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32622 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
32623 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
32626 ac_cpp
='$CPP $CPPFLAGS'
32627 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32628 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32629 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32632 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32633 cat >>confdefs.h
<<\_ACEOF
32634 #define HAVE_STATVFS 1
32639 wx_cv_type_statvfs_t
="unknown"
32643 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32644 cat >>confdefs.h
<<_ACEOF
32645 #define WX_STATFS_T $wx_cv_type_statvfs_t
32649 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
32650 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
32653 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
32656 for ac_func
in fcntl flock
32658 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32659 echo "$as_me:$LINENO: checking for $ac_func" >&5
32660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32661 if eval "test \"\${$as_ac_var+set}\" = set"; then
32662 echo $ECHO_N "(cached) $ECHO_C" >&6
32664 cat >conftest.
$ac_ext <<_ACEOF
32667 cat confdefs.h
>>conftest.
$ac_ext
32668 cat >>conftest.
$ac_ext <<_ACEOF
32669 /* end confdefs.h. */
32670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32672 #define $ac_func innocuous_$ac_func
32674 /* System header to define __stub macros and hopefully few prototypes,
32675 which can conflict with char $ac_func (); below.
32676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32677 <limits.h> exists even on freestanding compilers. */
32680 # include <limits.h>
32682 # include <assert.h>
32687 /* Override any gcc2 internal prototype to avoid an error. */
32692 /* We use char because int might match the return type of a gcc2
32693 builtin and then its argument prototype would still apply. */
32695 /* The GNU C library defines this for functions which it implements
32696 to always fail with ENOSYS. Some functions are actually named
32697 something starting with __ and the normal name is an alias. */
32698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32701 char (*f) () = $ac_func;
32710 return f != $ac_func;
32715 rm -f conftest.
$ac_objext conftest
$ac_exeext
32716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32717 (eval $ac_link) 2>conftest.er1
32719 grep -v '^ *+' conftest.er1
>conftest.err
32721 cat conftest.err
>&5
32722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32723 (exit $ac_status); } &&
32724 { ac_try
='test -z "$ac_c_werror_flag"
32725 || test ! -s conftest.err'
32726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32727 (eval $ac_try) 2>&5
32729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32730 (exit $ac_status); }; } &&
32731 { ac_try
='test -s conftest$ac_exeext'
32732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32733 (eval $ac_try) 2>&5
32735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32736 (exit $ac_status); }; }; then
32737 eval "$as_ac_var=yes"
32739 echo "$as_me: failed program was:" >&5
32740 sed 's/^/| /' conftest.
$ac_ext >&5
32742 eval "$as_ac_var=no"
32744 rm -f conftest.err conftest.
$ac_objext \
32745 conftest
$ac_exeext conftest.
$ac_ext
32747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32749 if test `eval echo '${'$as_ac_var'}'` = yes; then
32750 cat >>confdefs.h
<<_ACEOF
32751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32758 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
32759 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
32760 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
32761 wxUSE_SNGLINST_CHECKER
=no
32766 for ac_func
in timegm
32768 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32769 echo "$as_me:$LINENO: checking for $ac_func" >&5
32770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32771 if eval "test \"\${$as_ac_var+set}\" = set"; then
32772 echo $ECHO_N "(cached) $ECHO_C" >&6
32774 cat >conftest.
$ac_ext <<_ACEOF
32777 cat confdefs.h
>>conftest.
$ac_ext
32778 cat >>conftest.
$ac_ext <<_ACEOF
32779 /* end confdefs.h. */
32780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32782 #define $ac_func innocuous_$ac_func
32784 /* System header to define __stub macros and hopefully few prototypes,
32785 which can conflict with char $ac_func (); below.
32786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32787 <limits.h> exists even on freestanding compilers. */
32790 # include <limits.h>
32792 # include <assert.h>
32797 /* Override any gcc2 internal prototype to avoid an error. */
32802 /* We use char because int might match the return type of a gcc2
32803 builtin and then its argument prototype would still apply. */
32805 /* The GNU C library defines this for functions which it implements
32806 to always fail with ENOSYS. Some functions are actually named
32807 something starting with __ and the normal name is an alias. */
32808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32811 char (*f) () = $ac_func;
32820 return f != $ac_func;
32825 rm -f conftest.
$ac_objext conftest
$ac_exeext
32826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32827 (eval $ac_link) 2>conftest.er1
32829 grep -v '^ *+' conftest.er1
>conftest.err
32831 cat conftest.err
>&5
32832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32833 (exit $ac_status); } &&
32834 { ac_try
='test -z "$ac_c_werror_flag"
32835 || test ! -s conftest.err'
32836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32837 (eval $ac_try) 2>&5
32839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32840 (exit $ac_status); }; } &&
32841 { ac_try
='test -s conftest$ac_exeext'
32842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32843 (eval $ac_try) 2>&5
32845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32846 (exit $ac_status); }; }; then
32847 eval "$as_ac_var=yes"
32849 echo "$as_me: failed program was:" >&5
32850 sed 's/^/| /' conftest.
$ac_ext >&5
32852 eval "$as_ac_var=no"
32854 rm -f conftest.err conftest.
$ac_objext \
32855 conftest
$ac_exeext conftest.
$ac_ext
32857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32859 if test `eval echo '${'$as_ac_var'}'` = yes; then
32860 cat >>confdefs.h
<<_ACEOF
32861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32870 for ac_func
in putenv setenv
32872 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32873 echo "$as_me:$LINENO: checking for $ac_func" >&5
32874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32875 if eval "test \"\${$as_ac_var+set}\" = set"; then
32876 echo $ECHO_N "(cached) $ECHO_C" >&6
32878 cat >conftest.
$ac_ext <<_ACEOF
32881 cat confdefs.h
>>conftest.
$ac_ext
32882 cat >>conftest.
$ac_ext <<_ACEOF
32883 /* end confdefs.h. */
32884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32886 #define $ac_func innocuous_$ac_func
32888 /* System header to define __stub macros and hopefully few prototypes,
32889 which can conflict with char $ac_func (); below.
32890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32891 <limits.h> exists even on freestanding compilers. */
32894 # include <limits.h>
32896 # include <assert.h>
32901 /* Override any gcc2 internal prototype to avoid an error. */
32906 /* We use char because int might match the return type of a gcc2
32907 builtin and then its argument prototype would still apply. */
32909 /* The GNU C library defines this for functions which it implements
32910 to always fail with ENOSYS. Some functions are actually named
32911 something starting with __ and the normal name is an alias. */
32912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32915 char (*f) () = $ac_func;
32924 return f != $ac_func;
32929 rm -f conftest.
$ac_objext conftest
$ac_exeext
32930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32931 (eval $ac_link) 2>conftest.er1
32933 grep -v '^ *+' conftest.er1
>conftest.err
32935 cat conftest.err
>&5
32936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32937 (exit $ac_status); } &&
32938 { ac_try
='test -z "$ac_c_werror_flag"
32939 || test ! -s conftest.err'
32940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32941 (eval $ac_try) 2>&5
32943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32944 (exit $ac_status); }; } &&
32945 { ac_try
='test -s conftest$ac_exeext'
32946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32947 (eval $ac_try) 2>&5
32949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32950 (exit $ac_status); }; }; then
32951 eval "$as_ac_var=yes"
32953 echo "$as_me: failed program was:" >&5
32954 sed 's/^/| /' conftest.
$ac_ext >&5
32956 eval "$as_ac_var=no"
32958 rm -f conftest.err conftest.
$ac_objext \
32959 conftest
$ac_exeext conftest.
$ac_ext
32961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32963 if test `eval echo '${'$as_ac_var'}'` = yes; then
32964 cat >>confdefs.h
<<_ACEOF
32965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32972 HAVE_SOME_SLEEP_FUNC
=0
32973 if test "$USE_BEOS" = 1; then
32974 cat >>confdefs.h
<<\_ACEOF
32975 #define HAVE_SLEEP 1
32978 HAVE_SOME_SLEEP_FUNC
=1
32981 if test "$USE_DARWIN" = 1; then
32982 cat >>confdefs.h
<<\_ACEOF
32983 #define HAVE_USLEEP 1
32986 HAVE_SOME_SLEEP_FUNC
=1
32989 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
32992 for ac_func
in nanosleep
32994 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32995 echo "$as_me:$LINENO: checking for $ac_func" >&5
32996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32997 if eval "test \"\${$as_ac_var+set}\" = set"; then
32998 echo $ECHO_N "(cached) $ECHO_C" >&6
33000 cat >conftest.
$ac_ext <<_ACEOF
33003 cat confdefs.h
>>conftest.
$ac_ext
33004 cat >>conftest.
$ac_ext <<_ACEOF
33005 /* end confdefs.h. */
33006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33008 #define $ac_func innocuous_$ac_func
33010 /* System header to define __stub macros and hopefully few prototypes,
33011 which can conflict with char $ac_func (); below.
33012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33013 <limits.h> exists even on freestanding compilers. */
33016 # include <limits.h>
33018 # include <assert.h>
33023 /* Override any gcc2 internal prototype to avoid an error. */
33028 /* We use char because int might match the return type of a gcc2
33029 builtin and then its argument prototype would still apply. */
33031 /* The GNU C library defines this for functions which it implements
33032 to always fail with ENOSYS. Some functions are actually named
33033 something starting with __ and the normal name is an alias. */
33034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33037 char (*f) () = $ac_func;
33046 return f != $ac_func;
33051 rm -f conftest.
$ac_objext conftest
$ac_exeext
33052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33053 (eval $ac_link) 2>conftest.er1
33055 grep -v '^ *+' conftest.er1
>conftest.err
33057 cat conftest.err
>&5
33058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33059 (exit $ac_status); } &&
33060 { ac_try
='test -z "$ac_c_werror_flag"
33061 || test ! -s conftest.err'
33062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33063 (eval $ac_try) 2>&5
33065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33066 (exit $ac_status); }; } &&
33067 { ac_try
='test -s conftest$ac_exeext'
33068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33069 (eval $ac_try) 2>&5
33071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33072 (exit $ac_status); }; }; then
33073 eval "$as_ac_var=yes"
33075 echo "$as_me: failed program was:" >&5
33076 sed 's/^/| /' conftest.
$ac_ext >&5
33078 eval "$as_ac_var=no"
33080 rm -f conftest.err conftest.
$ac_objext \
33081 conftest
$ac_exeext conftest.
$ac_ext
33083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33085 if test `eval echo '${'$as_ac_var'}'` = yes; then
33086 cat >>confdefs.h
<<_ACEOF
33087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33089 cat >>confdefs.h
<<\_ACEOF
33090 #define HAVE_NANOSLEEP 1
33095 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
33096 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
33097 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
33098 echo $ECHO_N "(cached) $ECHO_C" >&6
33100 ac_check_lib_save_LIBS
=$LIBS
33101 LIBS
="-lposix4 $LIBS"
33102 cat >conftest.
$ac_ext <<_ACEOF
33105 cat confdefs.h
>>conftest.
$ac_ext
33106 cat >>conftest.
$ac_ext <<_ACEOF
33107 /* end confdefs.h. */
33109 /* Override any gcc2 internal prototype to avoid an error. */
33113 /* We use char because int might match the return type of a gcc2
33114 builtin and then its argument prototype would still apply. */
33124 rm -f conftest.
$ac_objext conftest
$ac_exeext
33125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33126 (eval $ac_link) 2>conftest.er1
33128 grep -v '^ *+' conftest.er1
>conftest.err
33130 cat conftest.err
>&5
33131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33132 (exit $ac_status); } &&
33133 { ac_try
='test -z "$ac_c_werror_flag"
33134 || test ! -s conftest.err'
33135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33136 (eval $ac_try) 2>&5
33138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33139 (exit $ac_status); }; } &&
33140 { ac_try
='test -s conftest$ac_exeext'
33141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33142 (eval $ac_try) 2>&5
33144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33145 (exit $ac_status); }; }; then
33146 ac_cv_lib_posix4_nanosleep
=yes
33148 echo "$as_me: failed program was:" >&5
33149 sed 's/^/| /' conftest.
$ac_ext >&5
33151 ac_cv_lib_posix4_nanosleep
=no
33153 rm -f conftest.err conftest.
$ac_objext \
33154 conftest
$ac_exeext conftest.
$ac_ext
33155 LIBS
=$ac_check_lib_save_LIBS
33157 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
33158 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
33159 if test $ac_cv_lib_posix4_nanosleep = yes; then
33161 cat >>confdefs.h
<<\_ACEOF
33162 #define HAVE_NANOSLEEP 1
33165 POSIX4_LINK
=" -lposix4"
33170 for ac_func
in usleep
33172 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33173 echo "$as_me:$LINENO: checking for $ac_func" >&5
33174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33175 if eval "test \"\${$as_ac_var+set}\" = set"; then
33176 echo $ECHO_N "(cached) $ECHO_C" >&6
33178 cat >conftest.
$ac_ext <<_ACEOF
33181 cat confdefs.h
>>conftest.
$ac_ext
33182 cat >>conftest.
$ac_ext <<_ACEOF
33183 /* end confdefs.h. */
33184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33186 #define $ac_func innocuous_$ac_func
33188 /* System header to define __stub macros and hopefully few prototypes,
33189 which can conflict with char $ac_func (); below.
33190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33191 <limits.h> exists even on freestanding compilers. */
33194 # include <limits.h>
33196 # include <assert.h>
33201 /* Override any gcc2 internal prototype to avoid an error. */
33206 /* We use char because int might match the return type of a gcc2
33207 builtin and then its argument prototype would still apply. */
33209 /* The GNU C library defines this for functions which it implements
33210 to always fail with ENOSYS. Some functions are actually named
33211 something starting with __ and the normal name is an alias. */
33212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33215 char (*f) () = $ac_func;
33224 return f != $ac_func;
33229 rm -f conftest.
$ac_objext conftest
$ac_exeext
33230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33231 (eval $ac_link) 2>conftest.er1
33233 grep -v '^ *+' conftest.er1
>conftest.err
33235 cat conftest.err
>&5
33236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33237 (exit $ac_status); } &&
33238 { ac_try
='test -z "$ac_c_werror_flag"
33239 || test ! -s conftest.err'
33240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33241 (eval $ac_try) 2>&5
33243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33244 (exit $ac_status); }; } &&
33245 { ac_try
='test -s conftest$ac_exeext'
33246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33247 (eval $ac_try) 2>&5
33249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33250 (exit $ac_status); }; }; then
33251 eval "$as_ac_var=yes"
33253 echo "$as_me: failed program was:" >&5
33254 sed 's/^/| /' conftest.
$ac_ext >&5
33256 eval "$as_ac_var=no"
33258 rm -f conftest.err conftest.
$ac_objext \
33259 conftest
$ac_exeext conftest.
$ac_ext
33261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33262 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33263 if test `eval echo '${'$as_ac_var'}'` = yes; then
33264 cat >>confdefs.h
<<_ACEOF
33265 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33267 cat >>confdefs.h
<<\_ACEOF
33268 #define HAVE_USLEEP 1
33272 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
33273 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
33291 for ac_func
in uname gethostname
33293 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33294 echo "$as_me:$LINENO: checking for $ac_func" >&5
33295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33296 if eval "test \"\${$as_ac_var+set}\" = set"; then
33297 echo $ECHO_N "(cached) $ECHO_C" >&6
33299 cat >conftest.
$ac_ext <<_ACEOF
33302 cat confdefs.h
>>conftest.
$ac_ext
33303 cat >>conftest.
$ac_ext <<_ACEOF
33304 /* end confdefs.h. */
33305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33307 #define $ac_func innocuous_$ac_func
33309 /* System header to define __stub macros and hopefully few prototypes,
33310 which can conflict with char $ac_func (); below.
33311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33312 <limits.h> exists even on freestanding compilers. */
33315 # include <limits.h>
33317 # include <assert.h>
33322 /* Override any gcc2 internal prototype to avoid an error. */
33327 /* We use char because int might match the return type of a gcc2
33328 builtin and then its argument prototype would still apply. */
33330 /* The GNU C library defines this for functions which it implements
33331 to always fail with ENOSYS. Some functions are actually named
33332 something starting with __ and the normal name is an alias. */
33333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33336 char (*f) () = $ac_func;
33345 return f != $ac_func;
33350 rm -f conftest.
$ac_objext conftest
$ac_exeext
33351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33352 (eval $ac_link) 2>conftest.er1
33354 grep -v '^ *+' conftest.er1
>conftest.err
33356 cat conftest.err
>&5
33357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33358 (exit $ac_status); } &&
33359 { ac_try
='test -z "$ac_c_werror_flag"
33360 || test ! -s conftest.err'
33361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33362 (eval $ac_try) 2>&5
33364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33365 (exit $ac_status); }; } &&
33366 { ac_try
='test -s conftest$ac_exeext'
33367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33368 (eval $ac_try) 2>&5
33370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33371 (exit $ac_status); }; }; then
33372 eval "$as_ac_var=yes"
33374 echo "$as_me: failed program was:" >&5
33375 sed 's/^/| /' conftest.
$ac_ext >&5
33377 eval "$as_ac_var=no"
33379 rm -f conftest.err conftest.
$ac_objext \
33380 conftest
$ac_exeext conftest.
$ac_ext
33382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33384 if test `eval echo '${'$as_ac_var'}'` = yes; then
33385 cat >>confdefs.h
<<_ACEOF
33386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33396 ac_cpp
='$CXXCPP $CPPFLAGS'
33397 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33398 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33399 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33403 for ac_func
in strtok_r
33405 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33406 echo "$as_me:$LINENO: checking for $ac_func" >&5
33407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33408 if eval "test \"\${$as_ac_var+set}\" = set"; then
33409 echo $ECHO_N "(cached) $ECHO_C" >&6
33411 cat >conftest.
$ac_ext <<_ACEOF
33414 cat confdefs.h
>>conftest.
$ac_ext
33415 cat >>conftest.
$ac_ext <<_ACEOF
33416 /* end confdefs.h. */
33417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33419 #define $ac_func innocuous_$ac_func
33421 /* System header to define __stub macros and hopefully few prototypes,
33422 which can conflict with char $ac_func (); below.
33423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33424 <limits.h> exists even on freestanding compilers. */
33427 # include <limits.h>
33429 # include <assert.h>
33434 /* Override any gcc2 internal prototype to avoid an error. */
33439 /* We use char because int might match the return type of a gcc2
33440 builtin and then its argument prototype would still apply. */
33442 /* The GNU C library defines this for functions which it implements
33443 to always fail with ENOSYS. Some functions are actually named
33444 something starting with __ and the normal name is an alias. */
33445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33448 char (*f) () = $ac_func;
33457 return f != $ac_func;
33462 rm -f conftest.
$ac_objext conftest
$ac_exeext
33463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33464 (eval $ac_link) 2>conftest.er1
33466 grep -v '^ *+' conftest.er1
>conftest.err
33468 cat conftest.err
>&5
33469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33470 (exit $ac_status); } &&
33471 { ac_try
='test -z "$ac_cxx_werror_flag"
33472 || test ! -s conftest.err'
33473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33474 (eval $ac_try) 2>&5
33476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33477 (exit $ac_status); }; } &&
33478 { ac_try
='test -s conftest$ac_exeext'
33479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33480 (eval $ac_try) 2>&5
33482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33483 (exit $ac_status); }; }; then
33484 eval "$as_ac_var=yes"
33486 echo "$as_me: failed program was:" >&5
33487 sed 's/^/| /' conftest.
$ac_ext >&5
33489 eval "$as_ac_var=no"
33491 rm -f conftest.err conftest.
$ac_objext \
33492 conftest
$ac_exeext conftest.
$ac_ext
33494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33496 if test `eval echo '${'$as_ac_var'}'` = yes; then
33497 cat >>confdefs.h
<<_ACEOF
33498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33506 ac_cpp
='$CPP $CPPFLAGS'
33507 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33508 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33509 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33514 for ac_func
in inet_addr
33516 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33517 echo "$as_me:$LINENO: checking for $ac_func" >&5
33518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33519 if eval "test \"\${$as_ac_var+set}\" = set"; then
33520 echo $ECHO_N "(cached) $ECHO_C" >&6
33522 cat >conftest.
$ac_ext <<_ACEOF
33525 cat confdefs.h
>>conftest.
$ac_ext
33526 cat >>conftest.
$ac_ext <<_ACEOF
33527 /* end confdefs.h. */
33528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33530 #define $ac_func innocuous_$ac_func
33532 /* System header to define __stub macros and hopefully few prototypes,
33533 which can conflict with char $ac_func (); below.
33534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33535 <limits.h> exists even on freestanding compilers. */
33538 # include <limits.h>
33540 # include <assert.h>
33545 /* Override any gcc2 internal prototype to avoid an error. */
33550 /* We use char because int might match the return type of a gcc2
33551 builtin and then its argument prototype would still apply. */
33553 /* The GNU C library defines this for functions which it implements
33554 to always fail with ENOSYS. Some functions are actually named
33555 something starting with __ and the normal name is an alias. */
33556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33559 char (*f) () = $ac_func;
33568 return f != $ac_func;
33573 rm -f conftest.
$ac_objext conftest
$ac_exeext
33574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33575 (eval $ac_link) 2>conftest.er1
33577 grep -v '^ *+' conftest.er1
>conftest.err
33579 cat conftest.err
>&5
33580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33581 (exit $ac_status); } &&
33582 { ac_try
='test -z "$ac_c_werror_flag"
33583 || test ! -s conftest.err'
33584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33585 (eval $ac_try) 2>&5
33587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33588 (exit $ac_status); }; } &&
33589 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
33595 eval "$as_ac_var=yes"
33597 echo "$as_me: failed program was:" >&5
33598 sed 's/^/| /' conftest.
$ac_ext >&5
33600 eval "$as_ac_var=no"
33602 rm -f conftest.err conftest.
$ac_objext \
33603 conftest
$ac_exeext conftest.
$ac_ext
33605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33607 if test `eval echo '${'$as_ac_var'}'` = yes; then
33608 cat >>confdefs.h
<<_ACEOF
33609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33611 cat >>confdefs.h
<<\_ACEOF
33612 #define HAVE_INET_ADDR 1
33617 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
33618 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
33619 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
33620 echo $ECHO_N "(cached) $ECHO_C" >&6
33622 ac_check_lib_save_LIBS
=$LIBS
33624 cat >conftest.
$ac_ext <<_ACEOF
33627 cat confdefs.h
>>conftest.
$ac_ext
33628 cat >>conftest.
$ac_ext <<_ACEOF
33629 /* end confdefs.h. */
33631 /* Override any gcc2 internal prototype to avoid an error. */
33635 /* We use char because int might match the return type of a gcc2
33636 builtin and then its argument prototype would still apply. */
33646 rm -f conftest.
$ac_objext conftest
$ac_exeext
33647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33648 (eval $ac_link) 2>conftest.er1
33650 grep -v '^ *+' conftest.er1
>conftest.err
33652 cat conftest.err
>&5
33653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33654 (exit $ac_status); } &&
33655 { ac_try
='test -z "$ac_c_werror_flag"
33656 || test ! -s conftest.err'
33657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33658 (eval $ac_try) 2>&5
33660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33661 (exit $ac_status); }; } &&
33662 { ac_try
='test -s conftest$ac_exeext'
33663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33664 (eval $ac_try) 2>&5
33666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33667 (exit $ac_status); }; }; then
33668 ac_cv_lib_nsl_inet_addr
=yes
33670 echo "$as_me: failed program was:" >&5
33671 sed 's/^/| /' conftest.
$ac_ext >&5
33673 ac_cv_lib_nsl_inet_addr
=no
33675 rm -f conftest.err conftest.
$ac_objext \
33676 conftest
$ac_exeext conftest.
$ac_ext
33677 LIBS
=$ac_check_lib_save_LIBS
33679 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
33680 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
33681 if test $ac_cv_lib_nsl_inet_addr = yes; then
33685 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
33686 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
33687 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
33688 echo $ECHO_N "(cached) $ECHO_C" >&6
33690 ac_check_lib_save_LIBS
=$LIBS
33691 LIBS
="-lresolv $LIBS"
33692 cat >conftest.
$ac_ext <<_ACEOF
33695 cat confdefs.h
>>conftest.
$ac_ext
33696 cat >>conftest.
$ac_ext <<_ACEOF
33697 /* end confdefs.h. */
33699 /* Override any gcc2 internal prototype to avoid an error. */
33703 /* We use char because int might match the return type of a gcc2
33704 builtin and then its argument prototype would still apply. */
33714 rm -f conftest.
$ac_objext conftest
$ac_exeext
33715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33716 (eval $ac_link) 2>conftest.er1
33718 grep -v '^ *+' conftest.er1
>conftest.err
33720 cat conftest.err
>&5
33721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33722 (exit $ac_status); } &&
33723 { ac_try
='test -z "$ac_c_werror_flag"
33724 || test ! -s conftest.err'
33725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33726 (eval $ac_try) 2>&5
33728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33729 (exit $ac_status); }; } &&
33730 { ac_try
='test -s conftest$ac_exeext'
33731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33732 (eval $ac_try) 2>&5
33734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33735 (exit $ac_status); }; }; then
33736 ac_cv_lib_resolv_inet_addr
=yes
33738 echo "$as_me: failed program was:" >&5
33739 sed 's/^/| /' conftest.
$ac_ext >&5
33741 ac_cv_lib_resolv_inet_addr
=no
33743 rm -f conftest.err conftest.
$ac_objext \
33744 conftest
$ac_exeext conftest.
$ac_ext
33745 LIBS
=$ac_check_lib_save_LIBS
33747 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
33748 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
33749 if test $ac_cv_lib_resolv_inet_addr = yes; then
33753 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
33754 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
33755 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
33756 echo $ECHO_N "(cached) $ECHO_C" >&6
33758 ac_check_lib_save_LIBS
=$LIBS
33759 LIBS
="-lsocket $LIBS"
33760 cat >conftest.
$ac_ext <<_ACEOF
33763 cat confdefs.h
>>conftest.
$ac_ext
33764 cat >>conftest.
$ac_ext <<_ACEOF
33765 /* end confdefs.h. */
33767 /* Override any gcc2 internal prototype to avoid an error. */
33771 /* We use char because int might match the return type of a gcc2
33772 builtin and then its argument prototype would still apply. */
33782 rm -f conftest.
$ac_objext conftest
$ac_exeext
33783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33784 (eval $ac_link) 2>conftest.er1
33786 grep -v '^ *+' conftest.er1
>conftest.err
33788 cat conftest.err
>&5
33789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33790 (exit $ac_status); } &&
33791 { ac_try
='test -z "$ac_c_werror_flag"
33792 || test ! -s conftest.err'
33793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33794 (eval $ac_try) 2>&5
33796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33797 (exit $ac_status); }; } &&
33798 { ac_try
='test -s conftest$ac_exeext'
33799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33800 (eval $ac_try) 2>&5
33802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33803 (exit $ac_status); }; }; then
33804 ac_cv_lib_socket_inet_addr
=yes
33806 echo "$as_me: failed program was:" >&5
33807 sed 's/^/| /' conftest.
$ac_ext >&5
33809 ac_cv_lib_socket_inet_addr
=no
33811 rm -f conftest.err conftest.
$ac_objext \
33812 conftest
$ac_exeext conftest.
$ac_ext
33813 LIBS
=$ac_check_lib_save_LIBS
33815 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
33816 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
33817 if test $ac_cv_lib_socket_inet_addr = yes; then
33837 for ac_func
in inet_aton
33839 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33840 echo "$as_me:$LINENO: checking for $ac_func" >&5
33841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33842 if eval "test \"\${$as_ac_var+set}\" = set"; then
33843 echo $ECHO_N "(cached) $ECHO_C" >&6
33845 cat >conftest.
$ac_ext <<_ACEOF
33848 cat confdefs.h
>>conftest.
$ac_ext
33849 cat >>conftest.
$ac_ext <<_ACEOF
33850 /* end confdefs.h. */
33851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33853 #define $ac_func innocuous_$ac_func
33855 /* System header to define __stub macros and hopefully few prototypes,
33856 which can conflict with char $ac_func (); below.
33857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33858 <limits.h> exists even on freestanding compilers. */
33861 # include <limits.h>
33863 # include <assert.h>
33868 /* Override any gcc2 internal prototype to avoid an error. */
33873 /* We use char because int might match the return type of a gcc2
33874 builtin and then its argument prototype would still apply. */
33876 /* The GNU C library defines this for functions which it implements
33877 to always fail with ENOSYS. Some functions are actually named
33878 something starting with __ and the normal name is an alias. */
33879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33882 char (*f) () = $ac_func;
33891 return f != $ac_func;
33896 rm -f conftest.
$ac_objext conftest
$ac_exeext
33897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33898 (eval $ac_link) 2>conftest.er1
33900 grep -v '^ *+' conftest.er1
>conftest.err
33902 cat conftest.err
>&5
33903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33904 (exit $ac_status); } &&
33905 { ac_try
='test -z "$ac_c_werror_flag"
33906 || test ! -s conftest.err'
33907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33908 (eval $ac_try) 2>&5
33910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33911 (exit $ac_status); }; } &&
33912 { ac_try
='test -s conftest$ac_exeext'
33913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33914 (eval $ac_try) 2>&5
33916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33917 (exit $ac_status); }; }; then
33918 eval "$as_ac_var=yes"
33920 echo "$as_me: failed program was:" >&5
33921 sed 's/^/| /' conftest.
$ac_ext >&5
33923 eval "$as_ac_var=no"
33925 rm -f conftest.err conftest.
$ac_objext \
33926 conftest
$ac_exeext conftest.
$ac_ext
33928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33930 if test `eval echo '${'$as_ac_var'}'` = yes; then
33931 cat >>confdefs.h
<<_ACEOF
33932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33934 cat >>confdefs.h
<<\_ACEOF
33935 #define HAVE_INET_ATON 1
33940 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
33941 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
33942 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
33943 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
33944 echo $ECHO_N "(cached) $ECHO_C" >&6
33946 ac_check_lib_save_LIBS
=$LIBS
33947 LIBS
="-l$INET_LINK $LIBS"
33948 cat >conftest.
$ac_ext <<_ACEOF
33951 cat confdefs.h
>>conftest.
$ac_ext
33952 cat >>conftest.
$ac_ext <<_ACEOF
33953 /* end confdefs.h. */
33955 /* Override any gcc2 internal prototype to avoid an error. */
33959 /* We use char because int might match the return type of a gcc2
33960 builtin and then its argument prototype would still apply. */
33970 rm -f conftest.
$ac_objext conftest
$ac_exeext
33971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33972 (eval $ac_link) 2>conftest.er1
33974 grep -v '^ *+' conftest.er1
>conftest.err
33976 cat conftest.err
>&5
33977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33978 (exit $ac_status); } &&
33979 { ac_try
='test -z "$ac_c_werror_flag"
33980 || test ! -s conftest.err'
33981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33982 (eval $ac_try) 2>&5
33984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33985 (exit $ac_status); }; } &&
33986 { ac_try
='test -s conftest$ac_exeext'
33987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33988 (eval $ac_try) 2>&5
33990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33991 (exit $ac_status); }; }; then
33992 eval "$as_ac_Lib=yes"
33994 echo "$as_me: failed program was:" >&5
33995 sed 's/^/| /' conftest.
$ac_ext >&5
33997 eval "$as_ac_Lib=no"
33999 rm -f conftest.err conftest.
$ac_objext \
34000 conftest
$ac_exeext conftest.
$ac_ext
34001 LIBS
=$ac_check_lib_save_LIBS
34003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
34004 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
34005 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
34006 cat >>confdefs.h
<<\_ACEOF
34007 #define HAVE_INET_ATON 1
34017 if test "x$INET_LINK" != "x"; then
34018 cat >>confdefs.h
<<\_ACEOF
34019 #define HAVE_INET_ADDR 1
34022 INET_LINK
=" -l$INET_LINK"
34030 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
34031 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
34032 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
34033 echo $ECHO_N "(cached) $ECHO_C" >&6
34035 ac_check_lib_save_LIBS
=$LIBS
34037 cat >conftest.
$ac_ext <<_ACEOF
34040 cat confdefs.h
>>conftest.
$ac_ext
34041 cat >>conftest.
$ac_ext <<_ACEOF
34042 /* end confdefs.h. */
34044 /* Override any gcc2 internal prototype to avoid an error. */
34048 /* We use char because int might match the return type of a gcc2
34049 builtin and then its argument prototype would still apply. */
34059 rm -f conftest.
$ac_objext conftest
$ac_exeext
34060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34061 (eval $ac_link) 2>conftest.er1
34063 grep -v '^ *+' conftest.er1
>conftest.err
34065 cat conftest.err
>&5
34066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34067 (exit $ac_status); } &&
34068 { ac_try
='test -z "$ac_c_werror_flag"
34069 || test ! -s conftest.err'
34070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34071 (eval $ac_try) 2>&5
34073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34074 (exit $ac_status); }; } &&
34075 { ac_try
='test -s conftest$ac_exeext'
34076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34077 (eval $ac_try) 2>&5
34079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34080 (exit $ac_status); }; }; then
34081 ac_cv_lib_esd_esd_close
=yes
34083 echo "$as_me: failed program was:" >&5
34084 sed 's/^/| /' conftest.
$ac_ext >&5
34086 ac_cv_lib_esd_esd_close
=no
34088 rm -f conftest.err conftest.
$ac_objext \
34089 conftest
$ac_exeext conftest.
$ac_ext
34090 LIBS
=$ac_check_lib_save_LIBS
34092 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
34093 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
34094 if test $ac_cv_lib_esd_esd_close = yes; then
34097 for ac_header
in esd.h
34099 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34100 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34101 echo "$as_me:$LINENO: checking for $ac_header" >&5
34102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34104 echo $ECHO_N "(cached) $ECHO_C" >&6
34106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34107 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34109 # Is the header compilable?
34110 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34111 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34112 cat >conftest.
$ac_ext <<_ACEOF
34115 cat confdefs.h
>>conftest.
$ac_ext
34116 cat >>conftest.
$ac_ext <<_ACEOF
34117 /* end confdefs.h. */
34118 $ac_includes_default
34119 #include <$ac_header>
34121 rm -f conftest.
$ac_objext
34122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34123 (eval $ac_compile) 2>conftest.er1
34125 grep -v '^ *+' conftest.er1
>conftest.err
34127 cat conftest.err
>&5
34128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34129 (exit $ac_status); } &&
34130 { ac_try
='test -z "$ac_c_werror_flag"
34131 || test ! -s conftest.err'
34132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34133 (eval $ac_try) 2>&5
34135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34136 (exit $ac_status); }; } &&
34137 { ac_try
='test -s conftest.$ac_objext'
34138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34139 (eval $ac_try) 2>&5
34141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34142 (exit $ac_status); }; }; then
34143 ac_header_compiler
=yes
34145 echo "$as_me: failed program was:" >&5
34146 sed 's/^/| /' conftest.
$ac_ext >&5
34148 ac_header_compiler
=no
34150 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34151 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34152 echo "${ECHO_T}$ac_header_compiler" >&6
34154 # Is the header present?
34155 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34156 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34157 cat >conftest.
$ac_ext <<_ACEOF
34160 cat confdefs.h
>>conftest.
$ac_ext
34161 cat >>conftest.
$ac_ext <<_ACEOF
34162 /* end confdefs.h. */
34163 #include <$ac_header>
34165 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34166 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34168 grep -v '^ *+' conftest.er1
>conftest.err
34170 cat conftest.err
>&5
34171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34172 (exit $ac_status); } >/dev
/null
; then
34173 if test -s conftest.err
; then
34174 ac_cpp_err
=$ac_c_preproc_warn_flag
34175 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34182 if test -z "$ac_cpp_err"; then
34183 ac_header_preproc
=yes
34185 echo "$as_me: failed program was:" >&5
34186 sed 's/^/| /' conftest.
$ac_ext >&5
34188 ac_header_preproc
=no
34190 rm -f conftest.err conftest.
$ac_ext
34191 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34192 echo "${ECHO_T}$ac_header_preproc" >&6
34194 # So? What about this header?
34195 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34197 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34198 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34199 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34200 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34201 ac_header_preproc
=yes
34204 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34205 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34206 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34207 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34208 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34209 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34210 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34211 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34212 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34213 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34214 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34215 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34218 ## ----------------------------------------- ##
34219 ## Report this to wx-dev@lists.wxwidgets.org ##
34220 ## ----------------------------------------- ##
34223 sed "s/^/$as_me: WARNING: /" >&2
34226 echo "$as_me:$LINENO: checking for $ac_header" >&5
34227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34229 echo $ECHO_N "(cached) $ECHO_C" >&6
34231 eval "$as_ac_Header=\$ac_header_preproc"
34233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34234 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34237 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34238 cat >>confdefs.h
<<_ACEOF
34239 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34242 EXTRALIBS_ESD
="-lesd"
34253 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
34254 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
34255 cat >conftest.
$ac_ext <<_ACEOF
34258 cat confdefs.h
>>conftest.
$ac_ext
34259 cat >>conftest.
$ac_ext <<_ACEOF
34260 /* end confdefs.h. */
34262 #include <linux/cdrom.h>
34265 #include <sys/cdio.h>
34271 struct cdrom_tocentry entry, old_entry;
34276 rm -f conftest.
$ac_objext
34277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34278 (eval $ac_compile) 2>conftest.er1
34280 grep -v '^ *+' conftest.er1
>conftest.err
34282 cat conftest.err
>&5
34283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34284 (exit $ac_status); } &&
34285 { ac_try
='test -z "$ac_c_werror_flag"
34286 || test ! -s conftest.err'
34287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34288 (eval $ac_try) 2>&5
34290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34291 (exit $ac_status); }; } &&
34292 { ac_try
='test -s conftest.$ac_objext'
34293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34294 (eval $ac_try) 2>&5
34296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34297 (exit $ac_status); }; }; then
34298 echo "$as_me:$LINENO: result: yes" >&5
34299 echo "${ECHO_T}yes" >&6
34300 cat >>confdefs.h
<<\_ACEOF
34301 #define HAVE_KNOWN_CDROM_INTERFACE 1
34305 echo "$as_me: failed program was:" >&5
34306 sed 's/^/| /' conftest.
$ac_ext >&5
34308 echo "$as_me:$LINENO: result: no" >&5
34309 echo "${ECHO_T}no" >&6
34311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34314 cat >confcache
<<\_ACEOF
34315 # This file is a shell script that caches the results of configure
34316 # tests run on this system so they can be shared between configure
34317 # scripts and configure runs, see configure's option --config-cache.
34318 # It is not useful on other systems. If it contains results you don't
34319 # want to keep, you may remove or edit it.
34321 # config.status only pays attention to the cache file if you give it
34322 # the --recheck option to rerun configure.
34324 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34325 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34326 # following values.
34330 # The following way of writing the cache mishandles newlines in values,
34331 # but we know of no workaround that is simple, portable, and efficient.
34332 # So, don't put newlines in cache variables' values.
34333 # Ultrix sh set writes to stderr and can't be redirected directly,
34334 # and sets the high bit in the cache file unless we assign to the vars.
34337 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34339 # `set' does not quote correctly, so add quotes (double-quote
34340 # substitution turns \\\\ into \\, and sed turns \\ into \).
34343 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34346 # `set' quotes correctly as required by POSIX, so do not add quotes.
34348 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34355 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34357 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34359 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
34360 if test -w $cache_file; then
34361 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34362 cat confcache
>$cache_file
34364 echo "not updating unwritable cache $cache_file"
34371 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
34377 if test "$wxUSE_THREADS" = "yes" ; then
34378 if test "$USE_BEOS" = 1; then
34379 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
34380 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
34385 if test "$wxUSE_THREADS" = "yes" ; then
34388 THREAD_OPTS
="-pthread"
34390 *-*-solaris2* | *-*-sunos4* )
34391 if test "x$GCC" = "xyes"; then
34392 THREAD_OPTS
="-pthreads $THREAD_OPTS"
34394 THREAD_OPTS
="-mt $THREAD_OPTS"
34398 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
34400 *-*-darwin* | *-*-cygwin* )
34404 THREAD_OPTS
="pthreads"
34407 if test "x$GCC" != "xyes"; then
34413 if test "x$GCC" = "xyes"; then
34419 if test "x$GCC" != "xyes"; then
34420 THREAD_OPTS
="-Ethread"
34425 THREAD_OPTS
="$THREAD_OPTS pthread none"
34428 for flag
in $THREAD_OPTS; do
34431 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
34432 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
34436 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
34437 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
34438 THREADS_CFLAGS
="$flag"
34442 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
34443 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
34444 THREADS_LINK
="-l$flag"
34449 save_CFLAGS
="$CFLAGS"
34450 LIBS
="$THREADS_LINK $LIBS"
34451 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
34453 cat >conftest.
$ac_ext <<_ACEOF
34456 cat confdefs.h
>>conftest.
$ac_ext
34457 cat >>conftest.
$ac_ext <<_ACEOF
34458 /* end confdefs.h. */
34459 #include <pthread.h>
34463 pthread_create(0,0,0,0);
34468 rm -f conftest.
$ac_objext conftest
$ac_exeext
34469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34470 (eval $ac_link) 2>conftest.er1
34472 grep -v '^ *+' conftest.er1
>conftest.err
34474 cat conftest.err
>&5
34475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34476 (exit $ac_status); } &&
34477 { ac_try
='test -z "$ac_c_werror_flag"
34478 || test ! -s conftest.err'
34479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34480 (eval $ac_try) 2>&5
34482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34483 (exit $ac_status); }; } &&
34484 { ac_try
='test -s conftest$ac_exeext'
34485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34486 (eval $ac_try) 2>&5
34488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34489 (exit $ac_status); }; }; then
34492 echo "$as_me: failed program was:" >&5
34493 sed 's/^/| /' conftest.
$ac_ext >&5
34496 rm -f conftest.err conftest.
$ac_objext \
34497 conftest
$ac_exeext conftest.
$ac_ext
34500 CFLAGS
="$save_CFLAGS"
34502 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
34503 echo "${ECHO_T}$THREADS_OK" >&6
34504 if test "x$THREADS_OK" = "xyes"; then
34512 if test "x$THREADS_OK" != "xyes"; then
34514 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
34515 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
34517 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
34518 LIBS
="$THREADS_LINK $LIBS"
34520 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
34521 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
34525 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
34526 flag
="-D_THREAD_SAFE"
34529 flag
="-D_THREAD_SAFE"
34532 flag
="-D_REENTRANT"
34533 if test "x$GCC" != "xyes"; then
34534 flag
="$flag -D_RWSTD_MULTI_THREAD"
34537 *solaris
* | alpha
*-osf*)
34538 flag
="-D_REENTRANT"
34541 echo "$as_me:$LINENO: result: ${flag}" >&5
34542 echo "${ECHO_T}${flag}" >&6
34543 if test "x$flag" != xno
; then
34544 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
34547 if test "x$THREADS_CFLAGS" != "x"; then
34548 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
34549 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
34554 if test "$wxUSE_THREADS" = "yes" ; then
34556 for ac_func
in thr_setconcurrency
34558 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34559 echo "$as_me:$LINENO: checking for $ac_func" >&5
34560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34561 if eval "test \"\${$as_ac_var+set}\" = set"; then
34562 echo $ECHO_N "(cached) $ECHO_C" >&6
34564 cat >conftest.
$ac_ext <<_ACEOF
34567 cat confdefs.h
>>conftest.
$ac_ext
34568 cat >>conftest.
$ac_ext <<_ACEOF
34569 /* end confdefs.h. */
34570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34572 #define $ac_func innocuous_$ac_func
34574 /* System header to define __stub macros and hopefully few prototypes,
34575 which can conflict with char $ac_func (); below.
34576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34577 <limits.h> exists even on freestanding compilers. */
34580 # include <limits.h>
34582 # include <assert.h>
34587 /* Override any gcc2 internal prototype to avoid an error. */
34592 /* We use char because int might match the return type of a gcc2
34593 builtin and then its argument prototype would still apply. */
34595 /* The GNU C library defines this for functions which it implements
34596 to always fail with ENOSYS. Some functions are actually named
34597 something starting with __ and the normal name is an alias. */
34598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34601 char (*f) () = $ac_func;
34610 return f != $ac_func;
34615 rm -f conftest.
$ac_objext conftest
$ac_exeext
34616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34617 (eval $ac_link) 2>conftest.er1
34619 grep -v '^ *+' conftest.er1
>conftest.err
34621 cat conftest.err
>&5
34622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34623 (exit $ac_status); } &&
34624 { ac_try
='test -z "$ac_c_werror_flag"
34625 || test ! -s conftest.err'
34626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34627 (eval $ac_try) 2>&5
34629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34630 (exit $ac_status); }; } &&
34631 { ac_try
='test -s conftest$ac_exeext'
34632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34633 (eval $ac_try) 2>&5
34635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34636 (exit $ac_status); }; }; then
34637 eval "$as_ac_var=yes"
34639 echo "$as_me: failed program was:" >&5
34640 sed 's/^/| /' conftest.
$ac_ext >&5
34642 eval "$as_ac_var=no"
34644 rm -f conftest.err conftest.
$ac_objext \
34645 conftest
$ac_exeext conftest.
$ac_ext
34647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34649 if test `eval echo '${'$as_ac_var'}'` = yes; then
34650 cat >>confdefs.h
<<_ACEOF
34651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34659 for ac_header
in sched.h
34661 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34662 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34663 echo "$as_me:$LINENO: checking for $ac_header" >&5
34664 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34665 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34666 echo $ECHO_N "(cached) $ECHO_C" >&6
34668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34669 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34671 # Is the header compilable?
34672 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34673 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34674 cat >conftest.
$ac_ext <<_ACEOF
34677 cat confdefs.h
>>conftest.
$ac_ext
34678 cat >>conftest.
$ac_ext <<_ACEOF
34679 /* end confdefs.h. */
34680 $ac_includes_default
34681 #include <$ac_header>
34683 rm -f conftest.
$ac_objext
34684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34685 (eval $ac_compile) 2>conftest.er1
34687 grep -v '^ *+' conftest.er1
>conftest.err
34689 cat conftest.err
>&5
34690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34691 (exit $ac_status); } &&
34692 { ac_try
='test -z "$ac_c_werror_flag"
34693 || test ! -s conftest.err'
34694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34695 (eval $ac_try) 2>&5
34697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34698 (exit $ac_status); }; } &&
34699 { ac_try
='test -s conftest.$ac_objext'
34700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34701 (eval $ac_try) 2>&5
34703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34704 (exit $ac_status); }; }; then
34705 ac_header_compiler
=yes
34707 echo "$as_me: failed program was:" >&5
34708 sed 's/^/| /' conftest.
$ac_ext >&5
34710 ac_header_compiler
=no
34712 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34713 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34714 echo "${ECHO_T}$ac_header_compiler" >&6
34716 # Is the header present?
34717 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34718 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34719 cat >conftest.
$ac_ext <<_ACEOF
34722 cat confdefs.h
>>conftest.
$ac_ext
34723 cat >>conftest.
$ac_ext <<_ACEOF
34724 /* end confdefs.h. */
34725 #include <$ac_header>
34727 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34728 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34730 grep -v '^ *+' conftest.er1
>conftest.err
34732 cat conftest.err
>&5
34733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34734 (exit $ac_status); } >/dev
/null
; then
34735 if test -s conftest.err
; then
34736 ac_cpp_err
=$ac_c_preproc_warn_flag
34737 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34744 if test -z "$ac_cpp_err"; then
34745 ac_header_preproc
=yes
34747 echo "$as_me: failed program was:" >&5
34748 sed 's/^/| /' conftest.
$ac_ext >&5
34750 ac_header_preproc
=no
34752 rm -f conftest.err conftest.
$ac_ext
34753 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34754 echo "${ECHO_T}$ac_header_preproc" >&6
34756 # So? What about this header?
34757 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34759 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34760 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34761 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34762 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34763 ac_header_preproc
=yes
34766 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34767 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34768 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34769 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34770 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34771 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34772 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34773 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34774 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34775 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34776 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34777 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34780 ## ----------------------------------------- ##
34781 ## Report this to wx-dev@lists.wxwidgets.org ##
34782 ## ----------------------------------------- ##
34785 sed "s/^/$as_me: WARNING: /" >&2
34788 echo "$as_me:$LINENO: checking for $ac_header" >&5
34789 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34790 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34791 echo $ECHO_N "(cached) $ECHO_C" >&6
34793 eval "$as_ac_Header=\$ac_header_preproc"
34795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34796 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34799 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34800 cat >>confdefs.h
<<_ACEOF
34801 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34808 if test "$ac_cv_header_sched_h" = "yes"; then
34809 echo "$as_me:$LINENO: checking for sched_yield" >&5
34810 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
34811 if test "${ac_cv_func_sched_yield+set}" = set; then
34812 echo $ECHO_N "(cached) $ECHO_C" >&6
34814 cat >conftest.
$ac_ext <<_ACEOF
34817 cat confdefs.h
>>conftest.
$ac_ext
34818 cat >>conftest.
$ac_ext <<_ACEOF
34819 /* end confdefs.h. */
34820 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
34821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34822 #define sched_yield innocuous_sched_yield
34824 /* System header to define __stub macros and hopefully few prototypes,
34825 which can conflict with char sched_yield (); below.
34826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34827 <limits.h> exists even on freestanding compilers. */
34830 # include <limits.h>
34832 # include <assert.h>
34837 /* Override any gcc2 internal prototype to avoid an error. */
34842 /* We use char because int might match the return type of a gcc2
34843 builtin and then its argument prototype would still apply. */
34844 char sched_yield ();
34845 /* The GNU C library defines this for functions which it implements
34846 to always fail with ENOSYS. Some functions are actually named
34847 something starting with __ and the normal name is an alias. */
34848 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
34851 char (*f) () = sched_yield;
34860 return f != sched_yield;
34865 rm -f conftest.
$ac_objext conftest
$ac_exeext
34866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34867 (eval $ac_link) 2>conftest.er1
34869 grep -v '^ *+' conftest.er1
>conftest.err
34871 cat conftest.err
>&5
34872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34873 (exit $ac_status); } &&
34874 { ac_try
='test -z "$ac_c_werror_flag"
34875 || test ! -s conftest.err'
34876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34877 (eval $ac_try) 2>&5
34879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34880 (exit $ac_status); }; } &&
34881 { ac_try
='test -s conftest$ac_exeext'
34882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34883 (eval $ac_try) 2>&5
34885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34886 (exit $ac_status); }; }; then
34887 ac_cv_func_sched_yield
=yes
34889 echo "$as_me: failed program was:" >&5
34890 sed 's/^/| /' conftest.
$ac_ext >&5
34892 ac_cv_func_sched_yield
=no
34894 rm -f conftest.err conftest.
$ac_objext \
34895 conftest
$ac_exeext conftest.
$ac_ext
34897 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
34898 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
34899 if test $ac_cv_func_sched_yield = yes; then
34900 cat >>confdefs.h
<<\_ACEOF
34901 #define HAVE_SCHED_YIELD 1
34906 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
34907 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
34908 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
34909 echo $ECHO_N "(cached) $ECHO_C" >&6
34911 ac_check_lib_save_LIBS
=$LIBS
34912 LIBS
="-lposix4 $LIBS"
34913 cat >conftest.
$ac_ext <<_ACEOF
34916 cat confdefs.h
>>conftest.
$ac_ext
34917 cat >>conftest.
$ac_ext <<_ACEOF
34918 /* end confdefs.h. */
34920 /* Override any gcc2 internal prototype to avoid an error. */
34924 /* We use char because int might match the return type of a gcc2
34925 builtin and then its argument prototype would still apply. */
34926 char sched_yield ();
34935 rm -f conftest.
$ac_objext conftest
$ac_exeext
34936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34937 (eval $ac_link) 2>conftest.er1
34939 grep -v '^ *+' conftest.er1
>conftest.err
34941 cat conftest.err
>&5
34942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34943 (exit $ac_status); } &&
34944 { ac_try
='test -z "$ac_c_werror_flag"
34945 || test ! -s conftest.err'
34946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34947 (eval $ac_try) 2>&5
34949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34950 (exit $ac_status); }; } &&
34951 { ac_try
='test -s conftest$ac_exeext'
34952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34953 (eval $ac_try) 2>&5
34955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34956 (exit $ac_status); }; }; then
34957 ac_cv_lib_posix4_sched_yield
=yes
34959 echo "$as_me: failed program was:" >&5
34960 sed 's/^/| /' conftest.
$ac_ext >&5
34962 ac_cv_lib_posix4_sched_yield
=no
34964 rm -f conftest.err conftest.
$ac_objext \
34965 conftest
$ac_exeext conftest.
$ac_ext
34966 LIBS
=$ac_check_lib_save_LIBS
34968 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
34969 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
34970 if test $ac_cv_lib_posix4_sched_yield = yes; then
34971 cat >>confdefs.h
<<\_ACEOF
34972 #define HAVE_SCHED_YIELD 1
34974 POSIX4_LINK
=" -lposix4"
34976 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
34977 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
34988 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
34989 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
34990 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
34991 echo $ECHO_N "(cached) $ECHO_C" >&6
34993 cat >conftest.
$ac_ext <<_ACEOF
34996 cat confdefs.h
>>conftest.
$ac_ext
34997 cat >>conftest.
$ac_ext <<_ACEOF
34998 /* end confdefs.h. */
34999 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
35000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35001 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
35003 /* System header to define __stub macros and hopefully few prototypes,
35004 which can conflict with char pthread_attr_getschedpolicy (); below.
35005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35006 <limits.h> exists even on freestanding compilers. */
35009 # include <limits.h>
35011 # include <assert.h>
35014 #undef pthread_attr_getschedpolicy
35016 /* Override any gcc2 internal prototype to avoid an error. */
35021 /* We use char because int might match the return type of a gcc2
35022 builtin and then its argument prototype would still apply. */
35023 char pthread_attr_getschedpolicy ();
35024 /* The GNU C library defines this for functions which it implements
35025 to always fail with ENOSYS. Some functions are actually named
35026 something starting with __ and the normal name is an alias. */
35027 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
35030 char (*f) () = pthread_attr_getschedpolicy;
35039 return f != pthread_attr_getschedpolicy;
35044 rm -f conftest.
$ac_objext conftest
$ac_exeext
35045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35046 (eval $ac_link) 2>conftest.er1
35048 grep -v '^ *+' conftest.er1
>conftest.err
35050 cat conftest.err
>&5
35051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35052 (exit $ac_status); } &&
35053 { ac_try
='test -z "$ac_c_werror_flag"
35054 || test ! -s conftest.err'
35055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35056 (eval $ac_try) 2>&5
35058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35059 (exit $ac_status); }; } &&
35060 { ac_try
='test -s conftest$ac_exeext'
35061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35062 (eval $ac_try) 2>&5
35064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35065 (exit $ac_status); }; }; then
35066 ac_cv_func_pthread_attr_getschedpolicy
=yes
35068 echo "$as_me: failed program was:" >&5
35069 sed 's/^/| /' conftest.
$ac_ext >&5
35071 ac_cv_func_pthread_attr_getschedpolicy
=no
35073 rm -f conftest.err conftest.
$ac_objext \
35074 conftest
$ac_exeext conftest.
$ac_ext
35076 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
35077 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
35078 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
35079 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
35080 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
35081 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
35082 echo $ECHO_N "(cached) $ECHO_C" >&6
35084 cat >conftest.
$ac_ext <<_ACEOF
35087 cat confdefs.h
>>conftest.
$ac_ext
35088 cat >>conftest.
$ac_ext <<_ACEOF
35089 /* end confdefs.h. */
35090 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
35091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35092 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
35094 /* System header to define __stub macros and hopefully few prototypes,
35095 which can conflict with char pthread_attr_setschedparam (); below.
35096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35097 <limits.h> exists even on freestanding compilers. */
35100 # include <limits.h>
35102 # include <assert.h>
35105 #undef pthread_attr_setschedparam
35107 /* Override any gcc2 internal prototype to avoid an error. */
35112 /* We use char because int might match the return type of a gcc2
35113 builtin and then its argument prototype would still apply. */
35114 char pthread_attr_setschedparam ();
35115 /* The GNU C library defines this for functions which it implements
35116 to always fail with ENOSYS. Some functions are actually named
35117 something starting with __ and the normal name is an alias. */
35118 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
35121 char (*f) () = pthread_attr_setschedparam;
35130 return f != pthread_attr_setschedparam;
35135 rm -f conftest.
$ac_objext conftest
$ac_exeext
35136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35137 (eval $ac_link) 2>conftest.er1
35139 grep -v '^ *+' conftest.er1
>conftest.err
35141 cat conftest.err
>&5
35142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35143 (exit $ac_status); } &&
35144 { ac_try
='test -z "$ac_c_werror_flag"
35145 || test ! -s conftest.err'
35146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35147 (eval $ac_try) 2>&5
35149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35150 (exit $ac_status); }; } &&
35151 { ac_try
='test -s conftest$ac_exeext'
35152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35153 (eval $ac_try) 2>&5
35155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35156 (exit $ac_status); }; }; then
35157 ac_cv_func_pthread_attr_setschedparam
=yes
35159 echo "$as_me: failed program was:" >&5
35160 sed 's/^/| /' conftest.
$ac_ext >&5
35162 ac_cv_func_pthread_attr_setschedparam
=no
35164 rm -f conftest.err conftest.
$ac_objext \
35165 conftest
$ac_exeext conftest.
$ac_ext
35167 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
35168 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
35169 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
35170 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
35171 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
35172 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
35173 echo $ECHO_N "(cached) $ECHO_C" >&6
35175 cat >conftest.
$ac_ext <<_ACEOF
35178 cat confdefs.h
>>conftest.
$ac_ext
35179 cat >>conftest.
$ac_ext <<_ACEOF
35180 /* end confdefs.h. */
35181 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
35182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35183 #define sched_get_priority_max innocuous_sched_get_priority_max
35185 /* System header to define __stub macros and hopefully few prototypes,
35186 which can conflict with char sched_get_priority_max (); below.
35187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35188 <limits.h> exists even on freestanding compilers. */
35191 # include <limits.h>
35193 # include <assert.h>
35196 #undef sched_get_priority_max
35198 /* Override any gcc2 internal prototype to avoid an error. */
35203 /* We use char because int might match the return type of a gcc2
35204 builtin and then its argument prototype would still apply. */
35205 char sched_get_priority_max ();
35206 /* The GNU C library defines this for functions which it implements
35207 to always fail with ENOSYS. Some functions are actually named
35208 something starting with __ and the normal name is an alias. */
35209 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
35212 char (*f) () = sched_get_priority_max;
35221 return f != sched_get_priority_max;
35226 rm -f conftest.
$ac_objext conftest
$ac_exeext
35227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35228 (eval $ac_link) 2>conftest.er1
35230 grep -v '^ *+' conftest.er1
>conftest.err
35232 cat conftest.err
>&5
35233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35234 (exit $ac_status); } &&
35235 { ac_try
='test -z "$ac_c_werror_flag"
35236 || test ! -s conftest.err'
35237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35238 (eval $ac_try) 2>&5
35240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35241 (exit $ac_status); }; } &&
35242 { ac_try
='test -s conftest$ac_exeext'
35243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35244 (eval $ac_try) 2>&5
35246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35247 (exit $ac_status); }; }; then
35248 ac_cv_func_sched_get_priority_max
=yes
35250 echo "$as_me: failed program was:" >&5
35251 sed 's/^/| /' conftest.
$ac_ext >&5
35253 ac_cv_func_sched_get_priority_max
=no
35255 rm -f conftest.err conftest.
$ac_objext \
35256 conftest
$ac_exeext conftest.
$ac_ext
35258 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
35259 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
35260 if test $ac_cv_func_sched_get_priority_max = yes; then
35263 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
35264 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
35265 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
35266 echo $ECHO_N "(cached) $ECHO_C" >&6
35268 ac_check_lib_save_LIBS
=$LIBS
35269 LIBS
="-lposix4 $LIBS"
35270 cat >conftest.
$ac_ext <<_ACEOF
35273 cat confdefs.h
>>conftest.
$ac_ext
35274 cat >>conftest.
$ac_ext <<_ACEOF
35275 /* end confdefs.h. */
35277 /* Override any gcc2 internal prototype to avoid an error. */
35281 /* We use char because int might match the return type of a gcc2
35282 builtin and then its argument prototype would still apply. */
35283 char sched_get_priority_max ();
35287 sched_get_priority_max ();
35292 rm -f conftest.
$ac_objext conftest
$ac_exeext
35293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35294 (eval $ac_link) 2>conftest.er1
35296 grep -v '^ *+' conftest.er1
>conftest.err
35298 cat conftest.err
>&5
35299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35300 (exit $ac_status); } &&
35301 { ac_try
='test -z "$ac_c_werror_flag"
35302 || test ! -s conftest.err'
35303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35304 (eval $ac_try) 2>&5
35306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35307 (exit $ac_status); }; } &&
35308 { ac_try
='test -s conftest$ac_exeext'
35309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35310 (eval $ac_try) 2>&5
35312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35313 (exit $ac_status); }; }; then
35314 ac_cv_lib_posix4_sched_get_priority_max
=yes
35316 echo "$as_me: failed program was:" >&5
35317 sed 's/^/| /' conftest.
$ac_ext >&5
35319 ac_cv_lib_posix4_sched_get_priority_max
=no
35321 rm -f conftest.err conftest.
$ac_objext \
35322 conftest
$ac_exeext conftest.
$ac_ext
35323 LIBS
=$ac_check_lib_save_LIBS
35325 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
35326 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
35327 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
35330 POSIX4_LINK
=" -lposix4"
35344 if test "$HAVE_PRIOR_FUNCS" = 1; then
35345 cat >>confdefs.h
<<\_ACEOF
35346 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
35350 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
35351 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
35354 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
35355 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
35356 if test "${ac_cv_func_pthread_cancel+set}" = set; then
35357 echo $ECHO_N "(cached) $ECHO_C" >&6
35359 cat >conftest.
$ac_ext <<_ACEOF
35362 cat confdefs.h
>>conftest.
$ac_ext
35363 cat >>conftest.
$ac_ext <<_ACEOF
35364 /* end confdefs.h. */
35365 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
35366 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35367 #define pthread_cancel innocuous_pthread_cancel
35369 /* System header to define __stub macros and hopefully few prototypes,
35370 which can conflict with char pthread_cancel (); below.
35371 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35372 <limits.h> exists even on freestanding compilers. */
35375 # include <limits.h>
35377 # include <assert.h>
35380 #undef pthread_cancel
35382 /* Override any gcc2 internal prototype to avoid an error. */
35387 /* We use char because int might match the return type of a gcc2
35388 builtin and then its argument prototype would still apply. */
35389 char pthread_cancel ();
35390 /* The GNU C library defines this for functions which it implements
35391 to always fail with ENOSYS. Some functions are actually named
35392 something starting with __ and the normal name is an alias. */
35393 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
35396 char (*f) () = pthread_cancel;
35405 return f != pthread_cancel;
35410 rm -f conftest.
$ac_objext conftest
$ac_exeext
35411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35412 (eval $ac_link) 2>conftest.er1
35414 grep -v '^ *+' conftest.er1
>conftest.err
35416 cat conftest.err
>&5
35417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35418 (exit $ac_status); } &&
35419 { ac_try
='test -z "$ac_c_werror_flag"
35420 || test ! -s conftest.err'
35421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35422 (eval $ac_try) 2>&5
35424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35425 (exit $ac_status); }; } &&
35426 { ac_try
='test -s conftest$ac_exeext'
35427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35428 (eval $ac_try) 2>&5
35430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35431 (exit $ac_status); }; }; then
35432 ac_cv_func_pthread_cancel
=yes
35434 echo "$as_me: failed program was:" >&5
35435 sed 's/^/| /' conftest.
$ac_ext >&5
35437 ac_cv_func_pthread_cancel
=no
35439 rm -f conftest.err conftest.
$ac_objext \
35440 conftest
$ac_exeext conftest.
$ac_ext
35442 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
35443 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
35444 if test $ac_cv_func_pthread_cancel = yes; then
35445 cat >>confdefs.h
<<\_ACEOF
35446 #define HAVE_PTHREAD_CANCEL 1
35450 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
35451 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
35457 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
35458 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
35459 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
35460 echo $ECHO_N "(cached) $ECHO_C" >&6
35463 cat >conftest.
$ac_ext <<_ACEOF
35466 cat confdefs.h
>>conftest.
$ac_ext
35467 cat >>conftest.
$ac_ext <<_ACEOF
35468 /* end confdefs.h. */
35469 #include <pthread.h>
35474 pthread_mutexattr_t attr;
35475 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
35481 rm -f conftest.
$ac_objext
35482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35483 (eval $ac_compile) 2>conftest.er1
35485 grep -v '^ *+' conftest.er1
>conftest.err
35487 cat conftest.err
>&5
35488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35489 (exit $ac_status); } &&
35490 { ac_try
='test -z "$ac_c_werror_flag"
35491 || test ! -s conftest.err'
35492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35493 (eval $ac_try) 2>&5
35495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35496 (exit $ac_status); }; } &&
35497 { ac_try
='test -s conftest.$ac_objext'
35498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35499 (eval $ac_try) 2>&5
35501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35502 (exit $ac_status); }; }; then
35504 wx_cv_type_pthread_mutexattr_t
=yes
35507 echo "$as_me: failed program was:" >&5
35508 sed 's/^/| /' conftest.
$ac_ext >&5
35511 wx_cv_type_pthread_mutexattr_t
=no
35515 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35518 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
35519 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
35521 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
35522 cat >>confdefs.h
<<\_ACEOF
35523 #define HAVE_PTHREAD_MUTEXATTR_T 1
35527 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
35528 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
35529 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
35530 echo $ECHO_N "(cached) $ECHO_C" >&6
35533 cat >conftest.
$ac_ext <<_ACEOF
35536 cat confdefs.h
>>conftest.
$ac_ext
35537 cat >>conftest.
$ac_ext <<_ACEOF
35538 /* end confdefs.h. */
35539 #include <pthread.h>
35544 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
35550 rm -f conftest.
$ac_objext
35551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35552 (eval $ac_compile) 2>conftest.er1
35554 grep -v '^ *+' conftest.er1
>conftest.err
35556 cat conftest.err
>&5
35557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35558 (exit $ac_status); } &&
35559 { ac_try
='test -z "$ac_c_werror_flag"
35560 || test ! -s conftest.err'
35561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35562 (eval $ac_try) 2>&5
35564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35565 (exit $ac_status); }; } &&
35566 { ac_try
='test -s conftest.$ac_objext'
35567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35568 (eval $ac_try) 2>&5
35570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35571 (exit $ac_status); }; }; then
35573 wx_cv_type_pthread_rec_mutex_init
=yes
35576 echo "$as_me: failed program was:" >&5
35577 sed 's/^/| /' conftest.
$ac_ext >&5
35580 wx_cv_type_pthread_rec_mutex_init
=no
35584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35587 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
35588 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
35589 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
35590 cat >>confdefs.h
<<\_ACEOF
35591 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
35595 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
35596 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
35602 if test "$wxUSE_THREADS" = "yes" ; then
35605 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
35606 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
35607 if test "${wx_cv_cflags_mthread+set}" = set; then
35608 echo $ECHO_N "(cached) $ECHO_C" >&6
35611 CFLAGS_OLD
="$CFLAGS"
35612 CFLAGS
="$CFLAGS -mthreads"
35613 cat >conftest.
$ac_ext <<_ACEOF
35616 cat confdefs.h
>>conftest.
$ac_ext
35617 cat >>conftest.
$ac_ext <<_ACEOF
35618 /* end confdefs.h. */
35628 rm -f conftest.
$ac_objext
35629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35630 (eval $ac_compile) 2>conftest.er1
35632 grep -v '^ *+' conftest.er1
>conftest.err
35634 cat conftest.err
>&5
35635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35636 (exit $ac_status); } &&
35637 { ac_try
='test -z "$ac_c_werror_flag"
35638 || test ! -s conftest.err'
35639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35640 (eval $ac_try) 2>&5
35642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35643 (exit $ac_status); }; } &&
35644 { ac_try
='test -s conftest.$ac_objext'
35645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35646 (eval $ac_try) 2>&5
35648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35649 (exit $ac_status); }; }; then
35650 wx_cv_cflags_mthread
=yes
35652 echo "$as_me: failed program was:" >&5
35653 sed 's/^/| /' conftest.
$ac_ext >&5
35655 wx_cv_cflags_mthread
=no
35658 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35662 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
35663 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
35665 if test "$wx_cv_cflags_mthread" = "yes"; then
35666 CXXFLAGS
="$CXXFLAGS -mthreads"
35667 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
35668 LDFLAGS
="$LDFLAGS -mthreads"
35670 CFLAGS
="$CFLAGS_OLD"
35674 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
35675 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
35676 LDFLAGS
="$LDFLAGS -Zmt"
35682 if test "$wxUSE_THREADS" = "yes"; then
35683 cat >>confdefs.h
<<\_ACEOF
35684 #define wxUSE_THREADS 1
35688 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
35690 if test "$ac_cv_func_strtok_r" = "yes"; then
35691 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
35692 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
35693 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
35694 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
35695 echo "$as_me:$LINENO: result: yes" >&5
35696 echo "${ECHO_T}yes" >&6
35698 echo "$as_me:$LINENO: result: no" >&5
35699 echo "${ECHO_T}no" >&6
35704 if test "$WXGTK20" = 1 ; then
35705 cat >>confdefs.h
<<_ACEOF
35706 #define __WXGTK20__ $WXGTK20
35712 if test "$WXGTK12" = 1 ; then
35713 cat >>confdefs.h
<<_ACEOF
35714 #define __WXGTK12__ $WXGTK12
35719 if test "$WXGTK127" = 1 ; then
35720 cat >>confdefs.h
<<_ACEOF
35721 #define __WXGTK127__ $WXGTK127
35726 if test "$WXGPE" = 1 ; then
35727 cat >>confdefs.h
<<_ACEOF
35728 #define __WXGPE__ $WXGPE
35735 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
35740 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
35741 wxUSE_DEBUG_INFO
=yes
35745 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
35746 cat >>confdefs.h
<<\_ACEOF
35750 WXDEBUG_DEFINE
="-D__WXDEBUG__"
35752 if test "$wxUSE_GTK" = 1 ; then
35753 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
35757 if test "$wxUSE_MEM_TRACING" = "yes" ; then
35758 cat >>confdefs.h
<<\_ACEOF
35759 #define wxUSE_MEMORY_TRACING 1
35762 cat >>confdefs.h
<<\_ACEOF
35763 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
35766 cat >>confdefs.h
<<\_ACEOF
35767 #define wxUSE_DEBUG_NEW_ALWAYS 1
35770 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
35773 if test "$wxUSE_DMALLOC" = "yes" ; then
35774 DMALLOC_LIBS
="-ldmalloc"
35778 if test "$wxUSE_PROFILE" = "yes" ; then
35783 CODE_GEN_FLAGS_CXX
=
35784 if test "$GCC" = "yes" ; then
35785 if test "$wxUSE_NO_RTTI" = "yes" ; then
35786 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
35788 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
35789 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
35791 if test "$wxUSE_PERMISSIVE" = "yes" ; then
35792 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
35797 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
35800 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
35806 if test "$wxUSE_OPTIMISE" = "no" ; then
35807 if test "$GCC" = yes ; then
35811 if test "$GCC" = yes ; then
35815 i586
-*-*|i686
-*-* )
35816 OPTIMISE
="${OPTIMISE} "
35825 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
35826 cat >>confdefs.h
<<\_ACEOF
35827 #define WXWIN_COMPATIBILITY_2_2 1
35831 WXWIN_COMPATIBILITY_2_4
="yes"
35834 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
35835 cat >>confdefs.h
<<\_ACEOF
35836 #define WXWIN_COMPATIBILITY_2_4 1
35842 if test "$wxUSE_GUI" = "yes"; then
35843 cat >>confdefs.h
<<\_ACEOF
35844 #define wxUSE_GUI 1
35851 if test "$wxUSE_UNIX" = "yes"; then
35852 cat >>confdefs.h
<<\_ACEOF
35853 #define wxUSE_UNIX 1
35859 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
35863 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
35864 if test "$USE_DARWIN" = 1; then
35866 elif test "$USE_DOS" = 1; then
35870 for ac_func
in dlopen
35872 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35873 echo "$as_me:$LINENO: checking for $ac_func" >&5
35874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35875 if eval "test \"\${$as_ac_var+set}\" = set"; then
35876 echo $ECHO_N "(cached) $ECHO_C" >&6
35878 cat >conftest.
$ac_ext <<_ACEOF
35881 cat confdefs.h
>>conftest.
$ac_ext
35882 cat >>conftest.
$ac_ext <<_ACEOF
35883 /* end confdefs.h. */
35884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35886 #define $ac_func innocuous_$ac_func
35888 /* System header to define __stub macros and hopefully few prototypes,
35889 which can conflict with char $ac_func (); below.
35890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35891 <limits.h> exists even on freestanding compilers. */
35894 # include <limits.h>
35896 # include <assert.h>
35901 /* Override any gcc2 internal prototype to avoid an error. */
35906 /* We use char because int might match the return type of a gcc2
35907 builtin and then its argument prototype would still apply. */
35909 /* The GNU C library defines this for functions which it implements
35910 to always fail with ENOSYS. Some functions are actually named
35911 something starting with __ and the normal name is an alias. */
35912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35915 char (*f) () = $ac_func;
35924 return f != $ac_func;
35929 rm -f conftest.
$ac_objext conftest
$ac_exeext
35930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35931 (eval $ac_link) 2>conftest.er1
35933 grep -v '^ *+' conftest.er1
>conftest.err
35935 cat conftest.err
>&5
35936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35937 (exit $ac_status); } &&
35938 { ac_try
='test -z "$ac_c_werror_flag"
35939 || test ! -s conftest.err'
35940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35941 (eval $ac_try) 2>&5
35943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35944 (exit $ac_status); }; } &&
35945 { ac_try
='test -s conftest$ac_exeext'
35946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35947 (eval $ac_try) 2>&5
35949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35950 (exit $ac_status); }; }; then
35951 eval "$as_ac_var=yes"
35953 echo "$as_me: failed program was:" >&5
35954 sed 's/^/| /' conftest.
$ac_ext >&5
35956 eval "$as_ac_var=no"
35958 rm -f conftest.err conftest.
$ac_objext \
35959 conftest
$ac_exeext conftest.
$ac_ext
35961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35963 if test `eval echo '${'$as_ac_var'}'` = yes; then
35964 cat >>confdefs.h
<<_ACEOF
35965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35968 cat >>confdefs.h
<<\_ACEOF
35969 #define HAVE_DLOPEN 1
35976 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
35977 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
35978 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
35979 echo $ECHO_N "(cached) $ECHO_C" >&6
35981 ac_check_lib_save_LIBS
=$LIBS
35983 cat >conftest.
$ac_ext <<_ACEOF
35986 cat confdefs.h
>>conftest.
$ac_ext
35987 cat >>conftest.
$ac_ext <<_ACEOF
35988 /* end confdefs.h. */
35990 /* Override any gcc2 internal prototype to avoid an error. */
35994 /* We use char because int might match the return type of a gcc2
35995 builtin and then its argument prototype would still apply. */
36005 rm -f conftest.
$ac_objext conftest
$ac_exeext
36006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36007 (eval $ac_link) 2>conftest.er1
36009 grep -v '^ *+' conftest.er1
>conftest.err
36011 cat conftest.err
>&5
36012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36013 (exit $ac_status); } &&
36014 { ac_try
='test -z "$ac_c_werror_flag"
36015 || test ! -s conftest.err'
36016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36017 (eval $ac_try) 2>&5
36019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36020 (exit $ac_status); }; } &&
36021 { ac_try
='test -s conftest$ac_exeext'
36022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36023 (eval $ac_try) 2>&5
36025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36026 (exit $ac_status); }; }; then
36027 ac_cv_lib_dl_dlopen
=yes
36029 echo "$as_me: failed program was:" >&5
36030 sed 's/^/| /' conftest.
$ac_ext >&5
36032 ac_cv_lib_dl_dlopen
=no
36034 rm -f conftest.err conftest.
$ac_objext \
36035 conftest
$ac_exeext conftest.
$ac_ext
36036 LIBS
=$ac_check_lib_save_LIBS
36038 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
36039 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
36040 if test $ac_cv_lib_dl_dlopen = yes; then
36042 cat >>confdefs.h
<<\_ACEOF
36043 #define HAVE_DLOPEN 1
36047 DL_LINK
=" -ldl$DL_LINK"
36052 for ac_func
in shl_load
36054 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36055 echo "$as_me:$LINENO: checking for $ac_func" >&5
36056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36057 if eval "test \"\${$as_ac_var+set}\" = set"; then
36058 echo $ECHO_N "(cached) $ECHO_C" >&6
36060 cat >conftest.
$ac_ext <<_ACEOF
36063 cat confdefs.h
>>conftest.
$ac_ext
36064 cat >>conftest.
$ac_ext <<_ACEOF
36065 /* end confdefs.h. */
36066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36068 #define $ac_func innocuous_$ac_func
36070 /* System header to define __stub macros and hopefully few prototypes,
36071 which can conflict with char $ac_func (); below.
36072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36073 <limits.h> exists even on freestanding compilers. */
36076 # include <limits.h>
36078 # include <assert.h>
36083 /* Override any gcc2 internal prototype to avoid an error. */
36088 /* We use char because int might match the return type of a gcc2
36089 builtin and then its argument prototype would still apply. */
36091 /* The GNU C library defines this for functions which it implements
36092 to always fail with ENOSYS. Some functions are actually named
36093 something starting with __ and the normal name is an alias. */
36094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36097 char (*f) () = $ac_func;
36106 return f != $ac_func;
36111 rm -f conftest.
$ac_objext conftest
$ac_exeext
36112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36113 (eval $ac_link) 2>conftest.er1
36115 grep -v '^ *+' conftest.er1
>conftest.err
36117 cat conftest.err
>&5
36118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36119 (exit $ac_status); } &&
36120 { ac_try
='test -z "$ac_c_werror_flag"
36121 || test ! -s conftest.err'
36122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36123 (eval $ac_try) 2>&5
36125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36126 (exit $ac_status); }; } &&
36127 { ac_try
='test -s conftest$ac_exeext'
36128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36129 (eval $ac_try) 2>&5
36131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36132 (exit $ac_status); }; }; then
36133 eval "$as_ac_var=yes"
36135 echo "$as_me: failed program was:" >&5
36136 sed 's/^/| /' conftest.
$ac_ext >&5
36138 eval "$as_ac_var=no"
36140 rm -f conftest.err conftest.
$ac_objext \
36141 conftest
$ac_exeext conftest.
$ac_ext
36143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36144 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36145 if test `eval echo '${'$as_ac_var'}'` = yes; then
36146 cat >>confdefs.h
<<_ACEOF
36147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36150 cat >>confdefs.h
<<\_ACEOF
36151 #define HAVE_SHL_LOAD 1
36158 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
36159 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
36160 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
36161 echo $ECHO_N "(cached) $ECHO_C" >&6
36163 ac_check_lib_save_LIBS
=$LIBS
36164 LIBS
="-lshl_load $LIBS"
36165 cat >conftest.
$ac_ext <<_ACEOF
36168 cat confdefs.h
>>conftest.
$ac_ext
36169 cat >>conftest.
$ac_ext <<_ACEOF
36170 /* end confdefs.h. */
36172 /* Override any gcc2 internal prototype to avoid an error. */
36176 /* We use char because int might match the return type of a gcc2
36177 builtin and then its argument prototype would still apply. */
36187 rm -f conftest.
$ac_objext conftest
$ac_exeext
36188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36189 (eval $ac_link) 2>conftest.er1
36191 grep -v '^ *+' conftest.er1
>conftest.err
36193 cat conftest.err
>&5
36194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36195 (exit $ac_status); } &&
36196 { ac_try
='test -z "$ac_c_werror_flag"
36197 || test ! -s conftest.err'
36198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36199 (eval $ac_try) 2>&5
36201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36202 (exit $ac_status); }; } &&
36203 { ac_try
='test -s conftest$ac_exeext'
36204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36205 (eval $ac_try) 2>&5
36207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36208 (exit $ac_status); }; }; then
36209 ac_cv_lib_shl_load_dld
=yes
36211 echo "$as_me: failed program was:" >&5
36212 sed 's/^/| /' conftest.
$ac_ext >&5
36214 ac_cv_lib_shl_load_dld
=no
36216 rm -f conftest.err conftest.
$ac_objext \
36217 conftest
$ac_exeext conftest.
$ac_ext
36218 LIBS
=$ac_check_lib_save_LIBS
36220 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
36221 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
36222 if test $ac_cv_lib_shl_load_dld = yes; then
36225 DL_LINK
=" -ldld$DL_LINK"
36241 if test "$HAVE_DL_FUNCS" = 1; then
36243 for ac_func
in dlerror
36245 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36246 echo "$as_me:$LINENO: checking for $ac_func" >&5
36247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36248 if eval "test \"\${$as_ac_var+set}\" = set"; then
36249 echo $ECHO_N "(cached) $ECHO_C" >&6
36251 cat >conftest.
$ac_ext <<_ACEOF
36254 cat confdefs.h
>>conftest.
$ac_ext
36255 cat >>conftest.
$ac_ext <<_ACEOF
36256 /* end confdefs.h. */
36257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36259 #define $ac_func innocuous_$ac_func
36261 /* System header to define __stub macros and hopefully few prototypes,
36262 which can conflict with char $ac_func (); below.
36263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36264 <limits.h> exists even on freestanding compilers. */
36267 # include <limits.h>
36269 # include <assert.h>
36274 /* Override any gcc2 internal prototype to avoid an error. */
36279 /* We use char because int might match the return type of a gcc2
36280 builtin and then its argument prototype would still apply. */
36282 /* The GNU C library defines this for functions which it implements
36283 to always fail with ENOSYS. Some functions are actually named
36284 something starting with __ and the normal name is an alias. */
36285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36288 char (*f) () = $ac_func;
36297 return f != $ac_func;
36302 rm -f conftest.
$ac_objext conftest
$ac_exeext
36303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36304 (eval $ac_link) 2>conftest.er1
36306 grep -v '^ *+' conftest.er1
>conftest.err
36308 cat conftest.err
>&5
36309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36310 (exit $ac_status); } &&
36311 { ac_try
='test -z "$ac_c_werror_flag"
36312 || test ! -s conftest.err'
36313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36314 (eval $ac_try) 2>&5
36316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36317 (exit $ac_status); }; } &&
36318 { ac_try
='test -s conftest$ac_exeext'
36319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36320 (eval $ac_try) 2>&5
36322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36323 (exit $ac_status); }; }; then
36324 eval "$as_ac_var=yes"
36326 echo "$as_me: failed program was:" >&5
36327 sed 's/^/| /' conftest.
$ac_ext >&5
36329 eval "$as_ac_var=no"
36331 rm -f conftest.err conftest.
$ac_objext \
36332 conftest
$ac_exeext conftest.
$ac_ext
36334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36336 if test `eval echo '${'$as_ac_var'}'` = yes; then
36337 cat >>confdefs.h
<<_ACEOF
36338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36340 cat >>confdefs.h
<<\_ACEOF
36341 #define HAVE_DLERROR 1
36346 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
36347 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
36348 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
36349 echo $ECHO_N "(cached) $ECHO_C" >&6
36351 ac_check_lib_save_LIBS
=$LIBS
36353 cat >conftest.
$ac_ext <<_ACEOF
36356 cat confdefs.h
>>conftest.
$ac_ext
36357 cat >>conftest.
$ac_ext <<_ACEOF
36358 /* end confdefs.h. */
36360 /* Override any gcc2 internal prototype to avoid an error. */
36364 /* We use char because int might match the return type of a gcc2
36365 builtin and then its argument prototype would still apply. */
36375 rm -f conftest.
$ac_objext conftest
$ac_exeext
36376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36377 (eval $ac_link) 2>conftest.er1
36379 grep -v '^ *+' conftest.er1
>conftest.err
36381 cat conftest.err
>&5
36382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36383 (exit $ac_status); } &&
36384 { ac_try
='test -z "$ac_c_werror_flag"
36385 || test ! -s conftest.err'
36386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36387 (eval $ac_try) 2>&5
36389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36390 (exit $ac_status); }; } &&
36391 { ac_try
='test -s conftest$ac_exeext'
36392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36393 (eval $ac_try) 2>&5
36395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36396 (exit $ac_status); }; }; then
36397 ac_cv_lib_dl_dlerror
=yes
36399 echo "$as_me: failed program was:" >&5
36400 sed 's/^/| /' conftest.
$ac_ext >&5
36402 ac_cv_lib_dl_dlerror
=no
36404 rm -f conftest.err conftest.
$ac_objext \
36405 conftest
$ac_exeext conftest.
$ac_ext
36406 LIBS
=$ac_check_lib_save_LIBS
36408 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
36409 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
36410 if test $ac_cv_lib_dl_dlerror = yes; then
36411 cat >>confdefs.h
<<\_ACEOF
36412 #define HAVE_DLERROR 1
36425 if test "$HAVE_DL_FUNCS" = 0; then
36426 if test "$HAVE_SHL_FUNCS" = 0; then
36427 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
36428 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
36429 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
36430 wxUSE_DYNAMIC_LOADER
=no
36431 wxUSE_DYNLIB_CLASS
=no
36433 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
36434 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
36441 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
36442 cat >>confdefs.h
<<\_ACEOF
36443 #define wxUSE_DYNAMIC_LOADER 1
36447 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
36448 cat >>confdefs.h
<<\_ACEOF
36449 #define wxUSE_DYNLIB_CLASS 1
36456 if test "$wxUSE_PLUGINS" = "yes" ; then
36457 if test "$wxUSE_SHARED" = "no" ; then
36458 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
36459 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
36462 if test "$wxUSE_MONOLITHIC" = "yes" ; then
36463 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
36464 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
36467 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
36468 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
36469 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
36472 if test "$wxUSE_PLUGINS" = "yes" ; then
36473 cat >>confdefs.h
<<\_ACEOF
36474 #define wxUSE_PLUGINS 1
36481 if test "$wxUSE_STL" = "yes"; then
36482 cat >>confdefs.h
<<\_ACEOF
36483 #define wxUSE_STL 1
36488 if test "$wxUSE_APPLE_IEEE" = "yes"; then
36489 cat >>confdefs.h
<<\_ACEOF
36490 #define wxUSE_APPLE_IEEE 1
36495 if test "$wxUSE_TIMER" = "yes"; then
36496 cat >>confdefs.h
<<\_ACEOF
36497 #define wxUSE_TIMER 1
36502 if test "$USE_UNIX" = "1" ; then
36504 for ac_header
in sys
/soundcard.h
36506 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36507 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36508 echo "$as_me:$LINENO: checking for $ac_header" >&5
36509 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36510 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36511 echo $ECHO_N "(cached) $ECHO_C" >&6
36513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36514 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36516 # Is the header compilable?
36517 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36518 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36519 cat >conftest.
$ac_ext <<_ACEOF
36522 cat confdefs.h
>>conftest.
$ac_ext
36523 cat >>conftest.
$ac_ext <<_ACEOF
36524 /* end confdefs.h. */
36525 $ac_includes_default
36526 #include <$ac_header>
36528 rm -f conftest.
$ac_objext
36529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36530 (eval $ac_compile) 2>conftest.er1
36532 grep -v '^ *+' conftest.er1
>conftest.err
36534 cat conftest.err
>&5
36535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36536 (exit $ac_status); } &&
36537 { ac_try
='test -z "$ac_c_werror_flag"
36538 || test ! -s conftest.err'
36539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36540 (eval $ac_try) 2>&5
36542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36543 (exit $ac_status); }; } &&
36544 { ac_try
='test -s conftest.$ac_objext'
36545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36546 (eval $ac_try) 2>&5
36548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36549 (exit $ac_status); }; }; then
36550 ac_header_compiler
=yes
36552 echo "$as_me: failed program was:" >&5
36553 sed 's/^/| /' conftest.
$ac_ext >&5
36555 ac_header_compiler
=no
36557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36558 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36559 echo "${ECHO_T}$ac_header_compiler" >&6
36561 # Is the header present?
36562 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36563 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36564 cat >conftest.
$ac_ext <<_ACEOF
36567 cat confdefs.h
>>conftest.
$ac_ext
36568 cat >>conftest.
$ac_ext <<_ACEOF
36569 /* end confdefs.h. */
36570 #include <$ac_header>
36572 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36573 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36575 grep -v '^ *+' conftest.er1
>conftest.err
36577 cat conftest.err
>&5
36578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36579 (exit $ac_status); } >/dev
/null
; then
36580 if test -s conftest.err
; then
36581 ac_cpp_err
=$ac_c_preproc_warn_flag
36582 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36589 if test -z "$ac_cpp_err"; then
36590 ac_header_preproc
=yes
36592 echo "$as_me: failed program was:" >&5
36593 sed 's/^/| /' conftest.
$ac_ext >&5
36595 ac_header_preproc
=no
36597 rm -f conftest.err conftest.
$ac_ext
36598 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36599 echo "${ECHO_T}$ac_header_preproc" >&6
36601 # So? What about this header?
36602 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36604 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36605 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36606 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36607 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36608 ac_header_preproc
=yes
36611 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36612 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36613 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36614 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36615 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36616 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36617 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36618 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36619 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36620 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36621 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36622 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36625 ## ----------------------------------------- ##
36626 ## Report this to wx-dev@lists.wxwidgets.org ##
36627 ## ----------------------------------------- ##
36630 sed "s/^/$as_me: WARNING: /" >&2
36633 echo "$as_me:$LINENO: checking for $ac_header" >&5
36634 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36635 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36636 echo $ECHO_N "(cached) $ECHO_C" >&6
36638 eval "$as_ac_Header=\$ac_header_preproc"
36640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36641 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36644 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36645 cat >>confdefs.h
<<_ACEOF
36646 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36650 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
36657 if test "$wxUSE_SOUND" = "yes"; then
36658 if test "$USE_UNIX" = "1" ; then
36659 if test "$wxUSE_LIBSDL" != "no"; then
36661 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
36662 if test "${with_sdl_prefix+set}" = set; then
36663 withval
="$with_sdl_prefix"
36664 sdl_prefix
="$withval"
36669 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
36670 if test "${with_sdl_exec_prefix+set}" = set; then
36671 withval
="$with_sdl_exec_prefix"
36672 sdl_exec_prefix
="$withval"
36676 # Check whether --enable-sdltest or --disable-sdltest was given.
36677 if test "${enable_sdltest+set}" = set; then
36678 enableval
="$enable_sdltest"
36684 if test x
$sdl_exec_prefix != x
; then
36685 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
36686 if test x
${SDL_CONFIG+set} != xset
; then
36687 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
36690 if test x
$sdl_prefix != x
; then
36691 sdl_args
="$sdl_args --prefix=$sdl_prefix"
36692 if test x
${SDL_CONFIG+set} != xset
; then
36693 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
36698 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
36699 # Extract the first word of "sdl-config", so it can be a program name with args.
36700 set dummy sdl
-config; ac_word
=$2
36701 echo "$as_me:$LINENO: checking for $ac_word" >&5
36702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36703 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
36704 echo $ECHO_N "(cached) $ECHO_C" >&6
36706 case $SDL_CONFIG in
36708 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
36711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36712 for as_dir
in $PATH
36715 test -z "$as_dir" && as_dir
=.
36716 for ac_exec_ext
in '' $ac_executable_extensions; do
36717 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36718 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36725 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
36729 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
36731 if test -n "$SDL_CONFIG"; then
36732 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
36733 echo "${ECHO_T}$SDL_CONFIG" >&6
36735 echo "$as_me:$LINENO: result: no" >&5
36736 echo "${ECHO_T}no" >&6
36739 min_sdl_version
=1.2.0
36740 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
36741 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
36743 if test "$SDL_CONFIG" = "no" ; then
36746 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
36747 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
36749 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
36750 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
36751 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
36752 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
36753 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
36754 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
36755 if test "x$enable_sdltest" = "xyes" ; then
36756 ac_save_CFLAGS
="$CFLAGS"
36757 ac_save_CXXFLAGS
="$CXXFLAGS"
36758 ac_save_LIBS
="$LIBS"
36759 CFLAGS
="$CFLAGS $SDL_CFLAGS"
36760 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
36761 LIBS
="$LIBS $SDL_LIBS"
36763 if test "$cross_compiling" = yes; then
36764 echo $ac_n "cross compiling; assumed OK... $ac_c"
36766 cat >conftest.
$ac_ext <<_ACEOF
36769 cat confdefs.h
>>conftest.
$ac_ext
36770 cat >>conftest.
$ac_ext <<_ACEOF
36771 /* end confdefs.h. */
36774 #include <stdlib.h>
36775 #include <string.h>
36779 my_strdup (char *str)
36785 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
36786 strcpy (new_str, str);
36794 int main (int argc, char *argv[])
36796 int major, minor, micro;
36799 /* This hangs on some systems (?)
36800 system ("touch conf.sdltest");
36802 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
36804 /* HP/UX 9 (%@#!) writes to sscanf strings */
36805 tmp_version = my_strdup("$min_sdl_version");
36806 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
36807 printf("%s, bad version string\n", "$min_sdl_version");
36811 if (($sdl_major_version > major) ||
36812 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
36813 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
36819 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
36820 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
36821 printf("*** best to upgrade to the required version.\n");
36822 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
36823 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
36824 printf("*** config.cache before re-running configure\n");
36831 rm -f conftest
$ac_exeext
36832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36833 (eval $ac_link) 2>&5
36835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36836 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
36837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36838 (eval $ac_try) 2>&5
36840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36841 (exit $ac_status); }; }; then
36844 echo "$as_me: program exited with status $ac_status" >&5
36845 echo "$as_me: failed program was:" >&5
36846 sed 's/^/| /' conftest.
$ac_ext >&5
36848 ( exit $ac_status )
36851 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
36853 CFLAGS
="$ac_save_CFLAGS"
36854 CXXFLAGS
="$ac_save_CXXFLAGS"
36855 LIBS
="$ac_save_LIBS"
36858 if test "x$no_sdl" = x
; then
36859 echo "$as_me:$LINENO: result: yes" >&5
36860 echo "${ECHO_T}yes" >&6
36862 EXTRALIBS_SDL
="$SDL_LIBS"
36863 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
36864 cat >>confdefs.h
<<\_ACEOF
36865 #define wxUSE_LIBSDL 1
36870 echo "$as_me:$LINENO: result: no" >&5
36871 echo "${ECHO_T}no" >&6
36872 if test "$SDL_CONFIG" = "no" ; then
36873 echo "*** The sdl-config script installed by SDL could not be found"
36874 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
36875 echo "*** your path, or set the SDL_CONFIG environment variable to the"
36876 echo "*** full path to sdl-config."
36878 if test -f conf.sdltest
; then
36881 echo "*** Could not run SDL test program, checking why..."
36882 CFLAGS
="$CFLAGS $SDL_CFLAGS"
36883 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
36884 LIBS
="$LIBS $SDL_LIBS"
36885 cat >conftest.
$ac_ext <<_ACEOF
36888 cat confdefs.h
>>conftest.
$ac_ext
36889 cat >>conftest.
$ac_ext <<_ACEOF
36890 /* end confdefs.h. */
36895 int main(int argc, char *argv[])
36898 #define main K_and_R_C_main
36908 rm -f conftest.
$ac_objext conftest
$ac_exeext
36909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36910 (eval $ac_link) 2>conftest.er1
36912 grep -v '^ *+' conftest.er1
>conftest.err
36914 cat conftest.err
>&5
36915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36916 (exit $ac_status); } &&
36917 { ac_try
='test -z "$ac_c_werror_flag"
36918 || test ! -s conftest.err'
36919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36920 (eval $ac_try) 2>&5
36922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36923 (exit $ac_status); }; } &&
36924 { ac_try
='test -s conftest$ac_exeext'
36925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36926 (eval $ac_try) 2>&5
36928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36929 (exit $ac_status); }; }; then
36930 echo "*** The test program compiled, but did not run. This usually means"
36931 echo "*** that the run-time linker is not finding SDL or finding the wrong"
36932 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
36933 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
36934 echo "*** to the installed location Also, make sure you have run ldconfig if that"
36935 echo "*** is required on your system"
36937 echo "*** If you have an old version installed, it is best to remove it, although"
36938 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
36940 echo "$as_me: failed program was:" >&5
36941 sed 's/^/| /' conftest.
$ac_ext >&5
36943 echo "*** The test program failed to compile or link. See the file config.log for the"
36944 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
36945 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
36946 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
36948 rm -f conftest.err conftest.
$ac_objext \
36949 conftest
$ac_exeext conftest.
$ac_ext
36950 CFLAGS
="$ac_save_CFLAGS"
36951 CXXFLAGS
="$ac_save_CXXFLAGS"
36952 LIBS
="$ac_save_LIBS"
36963 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
36969 cat >>confdefs.h
<<\_ACEOF
36970 #define wxUSE_SOUND 1
36973 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
36976 if test "$WXGTK20" = 1; then
36977 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36978 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
36983 if test -z "$PKG_CONFIG"; then
36984 # Extract the first word of "pkg-config", so it can be a program name with args.
36985 set dummy pkg
-config; ac_word
=$2
36986 echo "$as_me:$LINENO: checking for $ac_word" >&5
36987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36988 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36989 echo $ECHO_N "(cached) $ECHO_C" >&6
36991 case $PKG_CONFIG in
36993 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
36996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36997 for as_dir
in $PATH
37000 test -z "$as_dir" && as_dir
=.
37001 for ac_exec_ext
in '' $ac_executable_extensions; do
37002 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37003 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
37004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37010 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
37014 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
37016 if test -n "$PKG_CONFIG"; then
37017 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
37018 echo "${ECHO_T}$PKG_CONFIG" >&6
37020 echo "$as_me:$LINENO: result: no" >&5
37021 echo "${ECHO_T}no" >&6
37026 if test "$PKG_CONFIG" = "no" ; then
37027 echo "*** The pkg-config script could not be found. Make sure it is"
37028 echo "*** in your path, or set the PKG_CONFIG environment variable"
37029 echo "*** to the full path to pkg-config."
37030 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
37032 PKG_CONFIG_MIN_VERSION
=0.9.0
37033 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
37034 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
37035 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
37037 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
37038 echo "$as_me:$LINENO: result: yes" >&5
37039 echo "${ECHO_T}yes" >&6
37042 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
37043 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
37044 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
37045 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
37046 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
37048 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
37049 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
37050 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
37051 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
37052 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
37054 LIBGNOMEPRINTUI_CFLAGS
=""
37055 LIBGNOMEPRINTUI_LIBS
=""
37056 ## If we have a custom action on failure, don't print errors, but
37057 ## do set a variable so people can do so.
37058 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
37065 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
37066 echo "*** See http://www.freedesktop.org/software/pkgconfig"
37070 if test $succeeded = yes; then
37072 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
37073 cat >>confdefs.h
<<\_ACEOF
37074 #define wxUSE_LIBGNOMEPRINT 1
37080 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
37081 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
37082 wxUSE_LIBGNOMEPRINT
="no"
37092 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
37093 cat >>confdefs.h
<<\_ACEOF
37094 #define wxUSE_CMDLINE_PARSER 1
37099 if test "$wxUSE_STOPWATCH" = "yes"; then
37100 cat >>confdefs.h
<<\_ACEOF
37101 #define wxUSE_STOPWATCH 1
37106 if test "$wxUSE_DATETIME" = "yes"; then
37107 cat >>confdefs.h
<<\_ACEOF
37108 #define wxUSE_DATETIME 1
37113 if test "$wxUSE_FILE" = "yes"; then
37114 cat >>confdefs.h
<<\_ACEOF
37115 #define wxUSE_FILE 1
37120 if test "$wxUSE_FFILE" = "yes"; then
37121 cat >>confdefs.h
<<\_ACEOF
37122 #define wxUSE_FFILE 1
37127 if test "$wxUSE_FILESYSTEM" = "yes"; then
37128 cat >>confdefs.h
<<\_ACEOF
37129 #define wxUSE_FILESYSTEM 1
37134 if test "$wxUSE_FS_ZIP" = "yes"; then
37135 cat >>confdefs.h
<<\_ACEOF
37136 #define wxUSE_FS_ZIP 1
37141 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
37142 cat >>confdefs.h
<<\_ACEOF
37143 #define wxUSE_ARCHIVE_STREAMS 1
37148 if test "$wxUSE_ZIPSTREAM" = "yes"; then
37149 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
37150 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
37151 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
37152 elif test "$wxUSE_ZLIB" = "no"; then
37153 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
37154 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
37156 cat >>confdefs.h
<<\_ACEOF
37157 #define wxUSE_ZIPSTREAM 1
37163 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37164 cat >>confdefs.h
<<\_ACEOF
37165 #define wxUSE_ON_FATAL_EXCEPTION 1
37170 if test "$wxUSE_STACKWALKER" = "yes"; then
37171 cat >>confdefs.h
<<\_ACEOF
37172 #define wxUSE_STACKWALKER 1
37177 if test "$wxUSE_DEBUGREPORT" = "yes"; then
37178 if test "$USE_OS2" = "1" -o "$USE_WIN32" = "1"; then
37179 { echo "$as_me:$LINENO: WARNING: Creating debug reports not supported by this compiler, disabled" >&5
37180 echo "$as_me: WARNING: Creating debug reports not supported by this compiler, disabled" >&2;}
37181 wxUSE_DEBUGREPORT
=no
37183 cat >>confdefs.h
<<\_ACEOF
37184 #define wxUSE_DEBUGREPORT 1
37187 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37188 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
37193 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37194 cat >>confdefs.h
<<\_ACEOF
37195 #define wxUSE_SNGLINST_CHECKER 1
37200 if test "$wxUSE_BUSYINFO" = "yes"; then
37201 cat >>confdefs.h
<<\_ACEOF
37202 #define wxUSE_BUSYINFO 1
37207 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
37208 cat >>confdefs.h
<<\_ACEOF
37209 #define wxUSE_STD_IOSTREAM 1
37214 if test "$wxUSE_STD_STRING" = "yes"; then
37215 cat >>confdefs.h
<<\_ACEOF
37216 #define wxUSE_STD_STRING 1
37221 if test "$wxUSE_STDPATHS" = "yes"; then
37222 cat >>confdefs.h
<<\_ACEOF
37223 #define wxUSE_STDPATHS 1
37228 if test "$wxUSE_TEXTBUFFER" = "yes"; then
37229 cat >>confdefs.h
<<\_ACEOF
37230 #define wxUSE_TEXTBUFFER 1
37235 if test "$wxUSE_TEXTFILE" = "yes"; then
37236 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
37237 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
37238 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
37240 cat >>confdefs.h
<<\_ACEOF
37241 #define wxUSE_TEXTFILE 1
37247 if test "$wxUSE_CONFIG" = "yes" ; then
37248 if test "$wxUSE_TEXTFILE" != "yes"; then
37249 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
37250 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
37252 cat >>confdefs.h
<<\_ACEOF
37253 #define wxUSE_CONFIG 1
37256 cat >>confdefs.h
<<\_ACEOF
37257 #define wxUSE_CONFIG_NATIVE 1
37260 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
37264 if test "$wxUSE_INTL" = "yes" ; then
37265 if test "$wxUSE_FILE" != "yes"; then
37266 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
37267 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
37269 cat >>confdefs.h
<<\_ACEOF
37270 #define wxUSE_INTL 1
37273 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
37274 GUIDIST
="$GUIDIST INTL_DIST"
37278 if test "$wxUSE_LOG" = "yes"; then
37279 cat >>confdefs.h
<<\_ACEOF
37280 #define wxUSE_LOG 1
37284 if test "$wxUSE_LOGGUI" = "yes"; then
37285 cat >>confdefs.h
<<\_ACEOF
37286 #define wxUSE_LOGGUI 1
37291 if test "$wxUSE_LOGWINDOW" = "yes"; then
37292 cat >>confdefs.h
<<\_ACEOF
37293 #define wxUSE_LOGWINDOW 1
37298 if test "$wxUSE_LOGDIALOG" = "yes"; then
37299 cat >>confdefs.h
<<\_ACEOF
37300 #define wxUSE_LOG_DIALOG 1
37305 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
37308 if test "$wxUSE_LONGLONG" = "yes"; then
37309 cat >>confdefs.h
<<\_ACEOF
37310 #define wxUSE_LONGLONG 1
37315 if test "$wxUSE_GEOMETRY" = "yes"; then
37316 cat >>confdefs.h
<<\_ACEOF
37317 #define wxUSE_GEOMETRY 1
37322 if test "$wxUSE_STREAMS" = "yes" ; then
37323 cat >>confdefs.h
<<\_ACEOF
37324 #define wxUSE_STREAMS 1
37330 if test "$wxUSE_DATETIME" = "yes"; then
37332 for ac_func
in strptime
37334 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37335 echo "$as_me:$LINENO: checking for $ac_func" >&5
37336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37337 if eval "test \"\${$as_ac_var+set}\" = set"; then
37338 echo $ECHO_N "(cached) $ECHO_C" >&6
37340 cat >conftest.
$ac_ext <<_ACEOF
37343 cat confdefs.h
>>conftest.
$ac_ext
37344 cat >>conftest.
$ac_ext <<_ACEOF
37345 /* end confdefs.h. */
37346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37348 #define $ac_func innocuous_$ac_func
37350 /* System header to define __stub macros and hopefully few prototypes,
37351 which can conflict with char $ac_func (); below.
37352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37353 <limits.h> exists even on freestanding compilers. */
37356 # include <limits.h>
37358 # include <assert.h>
37363 /* Override any gcc2 internal prototype to avoid an error. */
37368 /* We use char because int might match the return type of a gcc2
37369 builtin and then its argument prototype would still apply. */
37371 /* The GNU C library defines this for functions which it implements
37372 to always fail with ENOSYS. Some functions are actually named
37373 something starting with __ and the normal name is an alias. */
37374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37377 char (*f) () = $ac_func;
37386 return f != $ac_func;
37391 rm -f conftest.
$ac_objext conftest
$ac_exeext
37392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37393 (eval $ac_link) 2>conftest.er1
37395 grep -v '^ *+' conftest.er1
>conftest.err
37397 cat conftest.err
>&5
37398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37399 (exit $ac_status); } &&
37400 { ac_try
='test -z "$ac_c_werror_flag"
37401 || test ! -s conftest.err'
37402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37403 (eval $ac_try) 2>&5
37405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37406 (exit $ac_status); }; } &&
37407 { ac_try
='test -s conftest$ac_exeext'
37408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37409 (eval $ac_try) 2>&5
37411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37412 (exit $ac_status); }; }; then
37413 eval "$as_ac_var=yes"
37415 echo "$as_me: failed program was:" >&5
37416 sed 's/^/| /' conftest.
$ac_ext >&5
37418 eval "$as_ac_var=no"
37420 rm -f conftest.err conftest.
$ac_objext \
37421 conftest
$ac_exeext conftest.
$ac_ext
37423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37425 if test `eval echo '${'$as_ac_var'}'` = yes; then
37426 cat >>confdefs.h
<<_ACEOF
37427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37434 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
37435 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
37436 if test "${wx_cv_var_timezone+set}" = set; then
37437 echo $ECHO_N "(cached) $ECHO_C" >&6
37440 cat >conftest.
$ac_ext <<_ACEOF
37443 cat confdefs.h
>>conftest.
$ac_ext
37444 cat >>conftest.
$ac_ext <<_ACEOF
37445 /* end confdefs.h. */
37460 rm -f conftest.
$ac_objext
37461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37462 (eval $ac_compile) 2>conftest.er1
37464 grep -v '^ *+' conftest.er1
>conftest.err
37466 cat conftest.err
>&5
37467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37468 (exit $ac_status); } &&
37469 { ac_try
='test -z "$ac_c_werror_flag"
37470 || test ! -s conftest.err'
37471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37472 (eval $ac_try) 2>&5
37474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37475 (exit $ac_status); }; } &&
37476 { ac_try
='test -s conftest.$ac_objext'
37477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37478 (eval $ac_try) 2>&5
37480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37481 (exit $ac_status); }; }; then
37483 wx_cv_var_timezone
=timezone
37486 echo "$as_me: failed program was:" >&5
37487 sed 's/^/| /' conftest.
$ac_ext >&5
37490 cat >conftest.
$ac_ext <<_ACEOF
37493 cat confdefs.h
>>conftest.
$ac_ext
37494 cat >>conftest.
$ac_ext <<_ACEOF
37495 /* end confdefs.h. */
37510 rm -f conftest.
$ac_objext
37511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37512 (eval $ac_compile) 2>conftest.er1
37514 grep -v '^ *+' conftest.er1
>conftest.err
37516 cat conftest.err
>&5
37517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37518 (exit $ac_status); } &&
37519 { ac_try
='test -z "$ac_c_werror_flag"
37520 || test ! -s conftest.err'
37521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37522 (eval $ac_try) 2>&5
37524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37525 (exit $ac_status); }; } &&
37526 { ac_try
='test -s conftest.$ac_objext'
37527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37528 (eval $ac_try) 2>&5
37530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37531 (exit $ac_status); }; }; then
37533 wx_cv_var_timezone
=_timezone
37536 echo "$as_me: failed program was:" >&5
37537 sed 's/^/| /' conftest.
$ac_ext >&5
37540 cat >conftest.
$ac_ext <<_ACEOF
37543 cat confdefs.h
>>conftest.
$ac_ext
37544 cat >>conftest.
$ac_ext <<_ACEOF
37545 /* end confdefs.h. */
37560 rm -f conftest.
$ac_objext
37561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37562 (eval $ac_compile) 2>conftest.er1
37564 grep -v '^ *+' conftest.er1
>conftest.err
37566 cat conftest.err
>&5
37567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37568 (exit $ac_status); } &&
37569 { ac_try
='test -z "$ac_c_werror_flag"
37570 || test ! -s conftest.err'
37571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37572 (eval $ac_try) 2>&5
37574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37575 (exit $ac_status); }; } &&
37576 { ac_try
='test -s conftest.$ac_objext'
37577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37578 (eval $ac_try) 2>&5
37580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37581 (exit $ac_status); }; }; then
37583 wx_cv_var_timezone
=__timezone
37586 echo "$as_me: failed program was:" >&5
37587 sed 's/^/| /' conftest.
$ac_ext >&5
37590 if test "$USE_DOS" = 0 ; then
37591 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
37592 echo "$as_me: WARNING: no timezone variable" >&2;}
37597 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37601 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37609 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
37610 echo "${ECHO_T}$wx_cv_var_timezone" >&6
37612 if test "x$wx_cv_var_timezone" != x
; then
37613 cat >>confdefs.h
<<_ACEOF
37614 #define WX_TIMEZONE $wx_cv_var_timezone
37620 for ac_func
in localtime
37622 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37623 echo "$as_me:$LINENO: checking for $ac_func" >&5
37624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37625 if eval "test \"\${$as_ac_var+set}\" = set"; then
37626 echo $ECHO_N "(cached) $ECHO_C" >&6
37628 cat >conftest.
$ac_ext <<_ACEOF
37631 cat confdefs.h
>>conftest.
$ac_ext
37632 cat >>conftest.
$ac_ext <<_ACEOF
37633 /* end confdefs.h. */
37634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37636 #define $ac_func innocuous_$ac_func
37638 /* System header to define __stub macros and hopefully few prototypes,
37639 which can conflict with char $ac_func (); below.
37640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37641 <limits.h> exists even on freestanding compilers. */
37644 # include <limits.h>
37646 # include <assert.h>
37651 /* Override any gcc2 internal prototype to avoid an error. */
37656 /* We use char because int might match the return type of a gcc2
37657 builtin and then its argument prototype would still apply. */
37659 /* The GNU C library defines this for functions which it implements
37660 to always fail with ENOSYS. Some functions are actually named
37661 something starting with __ and the normal name is an alias. */
37662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37665 char (*f) () = $ac_func;
37674 return f != $ac_func;
37679 rm -f conftest.
$ac_objext conftest
$ac_exeext
37680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37681 (eval $ac_link) 2>conftest.er1
37683 grep -v '^ *+' conftest.er1
>conftest.err
37685 cat conftest.err
>&5
37686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37687 (exit $ac_status); } &&
37688 { ac_try
='test -z "$ac_c_werror_flag"
37689 || test ! -s conftest.err'
37690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37691 (eval $ac_try) 2>&5
37693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37694 (exit $ac_status); }; } &&
37695 { ac_try
='test -s conftest$ac_exeext'
37696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37697 (eval $ac_try) 2>&5
37699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37700 (exit $ac_status); }; }; then
37701 eval "$as_ac_var=yes"
37703 echo "$as_me: failed program was:" >&5
37704 sed 's/^/| /' conftest.
$ac_ext >&5
37706 eval "$as_ac_var=no"
37708 rm -f conftest.err conftest.
$ac_objext \
37709 conftest
$ac_exeext conftest.
$ac_ext
37711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37712 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37713 if test `eval echo '${'$as_ac_var'}'` = yes; then
37714 cat >>confdefs.h
<<_ACEOF
37715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37722 if test "$ac_cv_func_localtime" = "yes"; then
37723 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
37724 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
37725 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
37726 echo $ECHO_N "(cached) $ECHO_C" >&6
37729 cat >conftest.
$ac_ext <<_ACEOF
37732 cat confdefs.h
>>conftest.
$ac_ext
37733 cat >>conftest.
$ac_ext <<_ACEOF
37734 /* end confdefs.h. */
37749 rm -f conftest.
$ac_objext
37750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37751 (eval $ac_compile) 2>conftest.er1
37753 grep -v '^ *+' conftest.er1
>conftest.err
37755 cat conftest.err
>&5
37756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37757 (exit $ac_status); } &&
37758 { ac_try
='test -z "$ac_c_werror_flag"
37759 || test ! -s conftest.err'
37760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37761 (eval $ac_try) 2>&5
37763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37764 (exit $ac_status); }; } &&
37765 { ac_try
='test -s conftest.$ac_objext'
37766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37767 (eval $ac_try) 2>&5
37769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37770 (exit $ac_status); }; }; then
37772 wx_cv_struct_tm_has_gmtoff
=yes
37775 echo "$as_me: failed program was:" >&5
37776 sed 's/^/| /' conftest.
$ac_ext >&5
37778 wx_cv_struct_tm_has_gmtoff
=no
37781 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37784 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
37785 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
37788 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
37789 cat >>confdefs.h
<<\_ACEOF
37790 #define WX_GMTOFF_IN_TM 1
37797 for ac_func
in gettimeofday ftime
37799 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37800 echo "$as_me:$LINENO: checking for $ac_func" >&5
37801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37802 if eval "test \"\${$as_ac_var+set}\" = set"; then
37803 echo $ECHO_N "(cached) $ECHO_C" >&6
37805 cat >conftest.
$ac_ext <<_ACEOF
37808 cat confdefs.h
>>conftest.
$ac_ext
37809 cat >>conftest.
$ac_ext <<_ACEOF
37810 /* end confdefs.h. */
37811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37813 #define $ac_func innocuous_$ac_func
37815 /* System header to define __stub macros and hopefully few prototypes,
37816 which can conflict with char $ac_func (); below.
37817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37818 <limits.h> exists even on freestanding compilers. */
37821 # include <limits.h>
37823 # include <assert.h>
37828 /* Override any gcc2 internal prototype to avoid an error. */
37833 /* We use char because int might match the return type of a gcc2
37834 builtin and then its argument prototype would still apply. */
37836 /* The GNU C library defines this for functions which it implements
37837 to always fail with ENOSYS. Some functions are actually named
37838 something starting with __ and the normal name is an alias. */
37839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37842 char (*f) () = $ac_func;
37851 return f != $ac_func;
37856 rm -f conftest.
$ac_objext conftest
$ac_exeext
37857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37858 (eval $ac_link) 2>conftest.er1
37860 grep -v '^ *+' conftest.er1
>conftest.err
37862 cat conftest.err
>&5
37863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37864 (exit $ac_status); } &&
37865 { ac_try
='test -z "$ac_c_werror_flag"
37866 || test ! -s conftest.err'
37867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37868 (eval $ac_try) 2>&5
37870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37871 (exit $ac_status); }; } &&
37872 { ac_try
='test -s conftest$ac_exeext'
37873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37874 (eval $ac_try) 2>&5
37876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37877 (exit $ac_status); }; }; then
37878 eval "$as_ac_var=yes"
37880 echo "$as_me: failed program was:" >&5
37881 sed 's/^/| /' conftest.
$ac_ext >&5
37883 eval "$as_ac_var=no"
37885 rm -f conftest.err conftest.
$ac_objext \
37886 conftest
$ac_exeext conftest.
$ac_ext
37888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37889 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37890 if test `eval echo '${'$as_ac_var'}'` = yes; then
37891 cat >>confdefs.h
<<_ACEOF
37892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37899 if test "$ac_cv_func_gettimeofday" = "yes"; then
37900 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
37901 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
37902 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
37903 echo $ECHO_N "(cached) $ECHO_C" >&6
37909 ac_cpp
='$CXXCPP $CPPFLAGS'
37910 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37911 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37912 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37915 cat >conftest.
$ac_ext <<_ACEOF
37918 cat confdefs.h
>>conftest.
$ac_ext
37919 cat >>conftest.
$ac_ext <<_ACEOF
37920 /* end confdefs.h. */
37922 #include <sys/time.h>
37923 #include <unistd.h>
37930 gettimeofday(&tv, NULL);
37936 rm -f conftest.
$ac_objext
37937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37938 (eval $ac_compile) 2>conftest.er1
37940 grep -v '^ *+' conftest.er1
>conftest.err
37942 cat conftest.err
>&5
37943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37944 (exit $ac_status); } &&
37945 { ac_try
='test -z "$ac_cxx_werror_flag"
37946 || test ! -s conftest.err'
37947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37948 (eval $ac_try) 2>&5
37950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37951 (exit $ac_status); }; } &&
37952 { ac_try
='test -s conftest.$ac_objext'
37953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37954 (eval $ac_try) 2>&5
37956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37957 (exit $ac_status); }; }; then
37958 wx_cv_func_gettimeofday_has_2_args
=yes
37960 echo "$as_me: failed program was:" >&5
37961 sed 's/^/| /' conftest.
$ac_ext >&5
37963 cat >conftest.
$ac_ext <<_ACEOF
37966 cat confdefs.h
>>conftest.
$ac_ext
37967 cat >>conftest.
$ac_ext <<_ACEOF
37968 /* end confdefs.h. */
37970 #include <sys/time.h>
37971 #include <unistd.h>
37984 rm -f conftest.
$ac_objext
37985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37986 (eval $ac_compile) 2>conftest.er1
37988 grep -v '^ *+' conftest.er1
>conftest.err
37990 cat conftest.err
>&5
37991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37992 (exit $ac_status); } &&
37993 { ac_try
='test -z "$ac_cxx_werror_flag"
37994 || test ! -s conftest.err'
37995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37996 (eval $ac_try) 2>&5
37998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37999 (exit $ac_status); }; } &&
38000 { ac_try
='test -s conftest.$ac_objext'
38001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38002 (eval $ac_try) 2>&5
38004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38005 (exit $ac_status); }; }; then
38006 wx_cv_func_gettimeofday_has_2_args
=no
38008 echo "$as_me: failed program was:" >&5
38009 sed 's/^/| /' conftest.
$ac_ext >&5
38012 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
38013 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
38014 wx_cv_func_gettimeofday_has_2_args
=unknown
38018 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38023 ac_cpp
='$CPP $CPPFLAGS'
38024 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38025 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38026 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38030 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
38031 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
38033 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
38034 cat >>confdefs.h
<<\_ACEOF
38035 #define WX_GETTIMEOFDAY_NO_TZ 1
38041 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
38045 if test "$wxUSE_SOCKETS" = "yes"; then
38046 if test "$wxUSE_MGL" = "1"; then
38047 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
38048 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
38053 if test "$wxUSE_SOCKETS" = "yes"; then
38054 if test "$TOOLKIT" != "MSW"; then
38055 echo "$as_me:$LINENO: checking for socket" >&5
38056 echo $ECHO_N "checking for socket... $ECHO_C" >&6
38057 if test "${ac_cv_func_socket+set}" = set; then
38058 echo $ECHO_N "(cached) $ECHO_C" >&6
38060 cat >conftest.
$ac_ext <<_ACEOF
38063 cat confdefs.h
>>conftest.
$ac_ext
38064 cat >>conftest.
$ac_ext <<_ACEOF
38065 /* end confdefs.h. */
38066 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
38067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38068 #define socket innocuous_socket
38070 /* System header to define __stub macros and hopefully few prototypes,
38071 which can conflict with char socket (); below.
38072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38073 <limits.h> exists even on freestanding compilers. */
38076 # include <limits.h>
38078 # include <assert.h>
38083 /* Override any gcc2 internal prototype to avoid an error. */
38088 /* We use char because int might match the return type of a gcc2
38089 builtin and then its argument prototype would still apply. */
38091 /* The GNU C library defines this for functions which it implements
38092 to always fail with ENOSYS. Some functions are actually named
38093 something starting with __ and the normal name is an alias. */
38094 #if defined (__stub_socket) || defined (__stub___socket)
38097 char (*f) () = socket;
38106 return f != socket;
38111 rm -f conftest.
$ac_objext conftest
$ac_exeext
38112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38113 (eval $ac_link) 2>conftest.er1
38115 grep -v '^ *+' conftest.er1
>conftest.err
38117 cat conftest.err
>&5
38118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38119 (exit $ac_status); } &&
38120 { ac_try
='test -z "$ac_c_werror_flag"
38121 || test ! -s conftest.err'
38122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38123 (eval $ac_try) 2>&5
38125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38126 (exit $ac_status); }; } &&
38127 { ac_try
='test -s conftest$ac_exeext'
38128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38129 (eval $ac_try) 2>&5
38131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38132 (exit $ac_status); }; }; then
38133 ac_cv_func_socket
=yes
38135 echo "$as_me: failed program was:" >&5
38136 sed 's/^/| /' conftest.
$ac_ext >&5
38138 ac_cv_func_socket
=no
38140 rm -f conftest.err conftest.
$ac_objext \
38141 conftest
$ac_exeext conftest.
$ac_ext
38143 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
38144 echo "${ECHO_T}$ac_cv_func_socket" >&6
38145 if test $ac_cv_func_socket = yes; then
38149 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
38150 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
38151 if test "${ac_cv_lib_socket_socket+set}" = set; then
38152 echo $ECHO_N "(cached) $ECHO_C" >&6
38154 ac_check_lib_save_LIBS
=$LIBS
38155 LIBS
="-lsocket $LIBS"
38156 cat >conftest.
$ac_ext <<_ACEOF
38159 cat confdefs.h
>>conftest.
$ac_ext
38160 cat >>conftest.
$ac_ext <<_ACEOF
38161 /* end confdefs.h. */
38163 /* 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. */
38178 rm -f conftest.
$ac_objext conftest
$ac_exeext
38179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38180 (eval $ac_link) 2>conftest.er1
38182 grep -v '^ *+' conftest.er1
>conftest.err
38184 cat conftest.err
>&5
38185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38186 (exit $ac_status); } &&
38187 { ac_try
='test -z "$ac_c_werror_flag"
38188 || test ! -s conftest.err'
38189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38190 (eval $ac_try) 2>&5
38192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38193 (exit $ac_status); }; } &&
38194 { ac_try
='test -s conftest$ac_exeext'
38195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38196 (eval $ac_try) 2>&5
38198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38199 (exit $ac_status); }; }; then
38200 ac_cv_lib_socket_socket
=yes
38202 echo "$as_me: failed program was:" >&5
38203 sed 's/^/| /' conftest.
$ac_ext >&5
38205 ac_cv_lib_socket_socket
=no
38207 rm -f conftest.err conftest.
$ac_objext \
38208 conftest
$ac_exeext conftest.
$ac_ext
38209 LIBS
=$ac_check_lib_save_LIBS
38211 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
38212 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
38213 if test $ac_cv_lib_socket_socket = yes; then
38214 if test "$INET_LINK" != " -lsocket"; then
38215 INET_LINK
="$INET_LINK -lsocket"
38219 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
38220 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
38233 if test "$wxUSE_SOCKETS" = "yes" ; then
38234 if test "$TOOLKIT" != "MSW"; then
38236 ac_cpp
='$CXXCPP $CPPFLAGS'
38237 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38238 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38239 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38241 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
38242 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
38243 if test "${wx_cv_type_getsockname3+set}" = set; then
38244 echo $ECHO_N "(cached) $ECHO_C" >&6
38247 cat >conftest.
$ac_ext <<_ACEOF
38250 cat confdefs.h
>>conftest.
$ac_ext
38251 cat >>conftest.
$ac_ext <<_ACEOF
38252 /* end confdefs.h. */
38254 #include <sys/types.h>
38255 #include <sys/socket.h>
38262 getsockname(0, 0, &len);
38268 rm -f conftest.
$ac_objext
38269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38270 (eval $ac_compile) 2>conftest.er1
38272 grep -v '^ *+' conftest.er1
>conftest.err
38274 cat conftest.err
>&5
38275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38276 (exit $ac_status); } &&
38277 { ac_try
='test -z "$ac_cxx_werror_flag"
38278 || test ! -s conftest.err'
38279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38280 (eval $ac_try) 2>&5
38282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38283 (exit $ac_status); }; } &&
38284 { ac_try
='test -s conftest.$ac_objext'
38285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38286 (eval $ac_try) 2>&5
38288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38289 (exit $ac_status); }; }; then
38290 wx_cv_type_getsockname3
=socklen_t
38292 echo "$as_me: failed program was:" >&5
38293 sed 's/^/| /' conftest.
$ac_ext >&5
38296 CFLAGS_OLD
="$CFLAGS"
38297 if test "$GCC" = yes ; then
38298 CFLAGS
="$CFLAGS -Werror"
38301 cat >conftest.
$ac_ext <<_ACEOF
38304 cat confdefs.h
>>conftest.
$ac_ext
38305 cat >>conftest.
$ac_ext <<_ACEOF
38306 /* end confdefs.h. */
38308 #include <sys/types.h>
38309 #include <sys/socket.h>
38316 getsockname(0, 0, &len);
38322 rm -f conftest.
$ac_objext
38323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38324 (eval $ac_compile) 2>conftest.er1
38326 grep -v '^ *+' conftest.er1
>conftest.err
38328 cat conftest.err
>&5
38329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38330 (exit $ac_status); } &&
38331 { ac_try
='test -z "$ac_cxx_werror_flag"
38332 || test ! -s conftest.err'
38333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38334 (eval $ac_try) 2>&5
38336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38337 (exit $ac_status); }; } &&
38338 { ac_try
='test -s conftest.$ac_objext'
38339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38340 (eval $ac_try) 2>&5
38342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38343 (exit $ac_status); }; }; then
38344 wx_cv_type_getsockname3
=size_t
38346 echo "$as_me: failed program was:" >&5
38347 sed 's/^/| /' conftest.
$ac_ext >&5
38349 cat >conftest.
$ac_ext <<_ACEOF
38352 cat confdefs.h
>>conftest.
$ac_ext
38353 cat >>conftest.
$ac_ext <<_ACEOF
38354 /* end confdefs.h. */
38356 #include <sys/types.h>
38357 #include <sys/socket.h>
38364 getsockname(0, 0, &len);
38370 rm -f conftest.
$ac_objext
38371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38372 (eval $ac_compile) 2>conftest.er1
38374 grep -v '^ *+' conftest.er1
>conftest.err
38376 cat conftest.err
>&5
38377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38378 (exit $ac_status); } &&
38379 { ac_try
='test -z "$ac_cxx_werror_flag"
38380 || test ! -s conftest.err'
38381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38382 (eval $ac_try) 2>&5
38384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38385 (exit $ac_status); }; } &&
38386 { ac_try
='test -s conftest.$ac_objext'
38387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38388 (eval $ac_try) 2>&5
38390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38391 (exit $ac_status); }; }; then
38392 wx_cv_type_getsockname3
=int
38394 echo "$as_me: failed program was:" >&5
38395 sed 's/^/| /' conftest.
$ac_ext >&5
38397 wx_cv_type_getsockname3
=unknown
38400 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38405 CFLAGS
="$CFLAGS_OLD"
38409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38412 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
38413 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
38415 if test "$wx_cv_type_getsockname3" = "unknown"; then
38417 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
38418 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
38420 cat >>confdefs.h
<<_ACEOF
38421 #define SOCKLEN_T $wx_cv_type_getsockname3
38425 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
38426 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
38427 if test "${wx_cv_type_getsockopt5+set}" = set; then
38428 echo $ECHO_N "(cached) $ECHO_C" >&6
38431 cat >conftest.
$ac_ext <<_ACEOF
38434 cat confdefs.h
>>conftest.
$ac_ext
38435 cat >>conftest.
$ac_ext <<_ACEOF
38436 /* end confdefs.h. */
38438 #include <sys/types.h>
38439 #include <sys/socket.h>
38446 getsockopt(0, 0, 0, 0, &len);
38452 rm -f conftest.
$ac_objext
38453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38454 (eval $ac_compile) 2>conftest.er1
38456 grep -v '^ *+' conftest.er1
>conftest.err
38458 cat conftest.err
>&5
38459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38460 (exit $ac_status); } &&
38461 { ac_try
='test -z "$ac_cxx_werror_flag"
38462 || test ! -s conftest.err'
38463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38464 (eval $ac_try) 2>&5
38466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38467 (exit $ac_status); }; } &&
38468 { ac_try
='test -s conftest.$ac_objext'
38469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38470 (eval $ac_try) 2>&5
38472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38473 (exit $ac_status); }; }; then
38474 wx_cv_type_getsockopt5
=socklen_t
38476 echo "$as_me: failed program was:" >&5
38477 sed 's/^/| /' conftest.
$ac_ext >&5
38480 CFLAGS_OLD
="$CFLAGS"
38481 if test "$GCC" = yes ; then
38482 CFLAGS
="$CFLAGS -Werror"
38485 cat >conftest.
$ac_ext <<_ACEOF
38488 cat confdefs.h
>>conftest.
$ac_ext
38489 cat >>conftest.
$ac_ext <<_ACEOF
38490 /* end confdefs.h. */
38492 #include <sys/types.h>
38493 #include <sys/socket.h>
38500 getsockopt(0, 0, 0, 0, &len);
38506 rm -f conftest.
$ac_objext
38507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38508 (eval $ac_compile) 2>conftest.er1
38510 grep -v '^ *+' conftest.er1
>conftest.err
38512 cat conftest.err
>&5
38513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38514 (exit $ac_status); } &&
38515 { ac_try
='test -z "$ac_cxx_werror_flag"
38516 || test ! -s conftest.err'
38517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38518 (eval $ac_try) 2>&5
38520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38521 (exit $ac_status); }; } &&
38522 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
38528 wx_cv_type_getsockopt5
=size_t
38530 echo "$as_me: failed program was:" >&5
38531 sed 's/^/| /' conftest.
$ac_ext >&5
38533 cat >conftest.
$ac_ext <<_ACEOF
38536 cat confdefs.h
>>conftest.
$ac_ext
38537 cat >>conftest.
$ac_ext <<_ACEOF
38538 /* end confdefs.h. */
38540 #include <sys/types.h>
38541 #include <sys/socket.h>
38548 getsockopt(0, 0, 0, 0, &len);
38554 rm -f conftest.
$ac_objext
38555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38556 (eval $ac_compile) 2>conftest.er1
38558 grep -v '^ *+' conftest.er1
>conftest.err
38560 cat conftest.err
>&5
38561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38562 (exit $ac_status); } &&
38563 { ac_try
='test -z "$ac_cxx_werror_flag"
38564 || test ! -s conftest.err'
38565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38566 (eval $ac_try) 2>&5
38568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38569 (exit $ac_status); }; } &&
38570 { ac_try
='test -s conftest.$ac_objext'
38571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38572 (eval $ac_try) 2>&5
38574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38575 (exit $ac_status); }; }; then
38576 wx_cv_type_getsockopt5
=int
38578 echo "$as_me: failed program was:" >&5
38579 sed 's/^/| /' conftest.
$ac_ext >&5
38581 wx_cv_type_getsockopt5
=unknown
38584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38587 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38589 CFLAGS
="$CFLAGS_OLD"
38593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38596 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
38597 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
38599 if test "$wx_cv_type_getsockopt5" = "unknown"; then
38601 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
38602 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
38604 cat >>confdefs.h
<<_ACEOF
38605 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
38610 ac_cpp
='$CPP $CPPFLAGS'
38611 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38612 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38613 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38618 if test "$wxUSE_SOCKETS" = "yes" ; then
38619 cat >>confdefs.h
<<\_ACEOF
38620 #define wxUSE_SOCKETS 1
38623 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
38626 if test "$wxUSE_PROTOCOL" = "yes"; then
38627 if test "$wxUSE_SOCKETS" != "yes"; then
38628 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
38629 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
38634 if test "$wxUSE_PROTOCOL" = "yes"; then
38635 cat >>confdefs.h
<<\_ACEOF
38636 #define wxUSE_PROTOCOL 1
38640 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
38641 cat >>confdefs.h
<<\_ACEOF
38642 #define wxUSE_PROTOCOL_HTTP 1
38646 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
38647 cat >>confdefs.h
<<\_ACEOF
38648 #define wxUSE_PROTOCOL_FTP 1
38652 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
38653 cat >>confdefs.h
<<\_ACEOF
38654 #define wxUSE_PROTOCOL_FILE 1
38659 if test "$wxUSE_FS_INET" = "yes"; then
38660 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
38661 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
38666 if test "$wxUSE_URL" = "yes"; then
38667 if test "$wxUSE_PROTOCOL" != "yes"; then
38668 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
38669 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
38672 if test "$wxUSE_URL" = "yes"; then
38673 cat >>confdefs.h
<<\_ACEOF
38674 #define wxUSE_URL 1
38680 if test "$wxUSE_FS_INET" = "yes"; then
38681 cat >>confdefs.h
<<\_ACEOF
38682 #define wxUSE_FS_INET 1
38688 if test "$wxUSE_GUI" = "yes"; then
38689 if test "$wxUSE_JOYSTICK" = "yes"; then
38691 if test "$TOOLKIT" != "MAC" -a "$TOOLKIT" != "COCOA" -a "$TOOLKIT" != "MSW"; then
38693 for ac_header
in linux
/joystick.h
38695 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38696 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38697 echo "$as_me:$LINENO: checking for $ac_header" >&5
38698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38700 echo $ECHO_N "(cached) $ECHO_C" >&6
38702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38703 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38705 # Is the header compilable?
38706 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38707 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38708 cat >conftest.
$ac_ext <<_ACEOF
38711 cat confdefs.h
>>conftest.
$ac_ext
38712 cat >>conftest.
$ac_ext <<_ACEOF
38713 /* end confdefs.h. */
38714 $ac_includes_default
38715 #include <$ac_header>
38717 rm -f conftest.
$ac_objext
38718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38719 (eval $ac_compile) 2>conftest.er1
38721 grep -v '^ *+' conftest.er1
>conftest.err
38723 cat conftest.err
>&5
38724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38725 (exit $ac_status); } &&
38726 { ac_try
='test -z "$ac_c_werror_flag"
38727 || test ! -s conftest.err'
38728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38729 (eval $ac_try) 2>&5
38731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38732 (exit $ac_status); }; } &&
38733 { ac_try
='test -s conftest.$ac_objext'
38734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38735 (eval $ac_try) 2>&5
38737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38738 (exit $ac_status); }; }; then
38739 ac_header_compiler
=yes
38741 echo "$as_me: failed program was:" >&5
38742 sed 's/^/| /' conftest.
$ac_ext >&5
38744 ac_header_compiler
=no
38746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38747 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38748 echo "${ECHO_T}$ac_header_compiler" >&6
38750 # Is the header present?
38751 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38752 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38753 cat >conftest.
$ac_ext <<_ACEOF
38756 cat confdefs.h
>>conftest.
$ac_ext
38757 cat >>conftest.
$ac_ext <<_ACEOF
38758 /* end confdefs.h. */
38759 #include <$ac_header>
38761 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38762 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38764 grep -v '^ *+' conftest.er1
>conftest.err
38766 cat conftest.err
>&5
38767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38768 (exit $ac_status); } >/dev
/null
; then
38769 if test -s conftest.err
; then
38770 ac_cpp_err
=$ac_c_preproc_warn_flag
38771 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
38778 if test -z "$ac_cpp_err"; then
38779 ac_header_preproc
=yes
38781 echo "$as_me: failed program was:" >&5
38782 sed 's/^/| /' conftest.
$ac_ext >&5
38784 ac_header_preproc
=no
38786 rm -f conftest.err conftest.
$ac_ext
38787 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38788 echo "${ECHO_T}$ac_header_preproc" >&6
38790 # So? What about this header?
38791 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38793 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38794 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38795 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38796 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38797 ac_header_preproc
=yes
38800 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38801 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38802 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38803 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38804 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38805 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38806 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38807 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38808 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38809 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38810 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38811 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38814 ## ----------------------------------------- ##
38815 ## Report this to wx-dev@lists.wxwidgets.org ##
38816 ## ----------------------------------------- ##
38819 sed "s/^/$as_me: WARNING: /" >&2
38822 echo "$as_me:$LINENO: checking for $ac_header" >&5
38823 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38824 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38825 echo $ECHO_N "(cached) $ECHO_C" >&6
38827 eval "$as_ac_Header=\$ac_header_preproc"
38829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38830 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38833 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38834 cat >>confdefs.h
<<_ACEOF
38835 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38842 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
38844 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
38845 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
38848 if test "$USE_DARWIN" != 1 -a "$TOOLKIT" != "MSW"; then
38850 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
38851 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
38856 if test "$wxUSE_JOYSTICK" = "yes"; then
38857 cat >>confdefs.h
<<\_ACEOF
38858 #define wxUSE_JOYSTICK 1
38861 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
38868 if test "$wxUSE_FONTMAP" = "yes" ; then
38869 cat >>confdefs.h
<<\_ACEOF
38870 #define wxUSE_FONTMAP 1
38875 if test "$wxUSE_UNICODE" = "yes" ; then
38876 cat >>confdefs.h
<<\_ACEOF
38877 #define wxUSE_UNICODE 1
38881 if test "$USE_WIN32" != 1; then
38882 wxUSE_UNICODE_MSLU
=no
38885 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
38886 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
38887 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
38888 if test "${ac_cv_lib_unicows_main+set}" = set; then
38889 echo $ECHO_N "(cached) $ECHO_C" >&6
38891 ac_check_lib_save_LIBS
=$LIBS
38892 LIBS
="-lunicows $LIBS"
38893 cat >conftest.
$ac_ext <<_ACEOF
38896 cat confdefs.h
>>conftest.
$ac_ext
38897 cat >>conftest.
$ac_ext <<_ACEOF
38898 /* end confdefs.h. */
38909 rm -f conftest.
$ac_objext conftest
$ac_exeext
38910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38911 (eval $ac_link) 2>conftest.er1
38913 grep -v '^ *+' conftest.er1
>conftest.err
38915 cat conftest.err
>&5
38916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38917 (exit $ac_status); } &&
38918 { ac_try
='test -z "$ac_c_werror_flag"
38919 || test ! -s conftest.err'
38920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38921 (eval $ac_try) 2>&5
38923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38924 (exit $ac_status); }; } &&
38925 { ac_try
='test -s conftest$ac_exeext'
38926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38927 (eval $ac_try) 2>&5
38929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38930 (exit $ac_status); }; }; then
38931 ac_cv_lib_unicows_main
=yes
38933 echo "$as_me: failed program was:" >&5
38934 sed 's/^/| /' conftest.
$ac_ext >&5
38936 ac_cv_lib_unicows_main
=no
38938 rm -f conftest.err conftest.
$ac_objext \
38939 conftest
$ac_exeext conftest.
$ac_ext
38940 LIBS
=$ac_check_lib_save_LIBS
38942 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
38943 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
38944 if test $ac_cv_lib_unicows_main = yes; then
38946 cat >>confdefs.h
<<\_ACEOF
38947 #define wxUSE_UNICODE_MSLU 1
38953 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
38954 Applications will only run on Windows NT/2000/XP!" >&5
38955 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
38956 Applications will only run on Windows NT/2000/XP!" >&2;}
38957 wxUSE_UNICODE_MSLU
=no
38964 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
38965 cat >>confdefs.h
<<\_ACEOF
38966 #define wxUSE_EXPERIMENTAL_PRINTF 1
38972 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
38973 cat >>confdefs.h
<<\_ACEOF
38974 #define wxUSE_POSTSCRIPT 1
38979 cat >>confdefs.h
<<\_ACEOF
38980 #define wxUSE_AFM_FOR_POSTSCRIPT 1
38984 cat >>confdefs.h
<<\_ACEOF
38985 #define wxUSE_NORMALIZED_PS_FONTS 1
38990 if test "$wxUSE_CONSTRAINTS" = "yes"; then
38991 cat >>confdefs.h
<<\_ACEOF
38992 #define wxUSE_CONSTRAINTS 1
38995 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
38998 if test "$wxUSE_MDI" = "yes"; then
38999 cat >>confdefs.h
<<\_ACEOF
39000 #define wxUSE_MDI 1
39004 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
39005 cat >>confdefs.h
<<\_ACEOF
39006 #define wxUSE_MDI_ARCHITECTURE 1
39009 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
39013 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
39014 cat >>confdefs.h
<<\_ACEOF
39015 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
39018 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
39019 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
39020 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
39024 if test "$wxUSE_HELP" = "yes"; then
39025 cat >>confdefs.h
<<\_ACEOF
39026 #define wxUSE_HELP 1
39029 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
39031 if test "$wxUSE_MSW" = 1; then
39032 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
39033 cat >>confdefs.h
<<\_ACEOF
39034 #define wxUSE_MS_HTML_HELP 1
39040 if test "$wxUSE_WXHTML_HELP" = "yes"; then
39041 if test "$wxUSE_HTML" = "yes"; then
39042 cat >>confdefs.h
<<\_ACEOF
39043 #define wxUSE_WXHTML_HELP 1
39047 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
39048 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
39049 wxUSE_WXHTML_HELP
=no
39054 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
39055 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39056 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
39057 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
39059 cat >>confdefs.h
<<\_ACEOF
39060 #define wxUSE_PRINTING_ARCHITECTURE 1
39064 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
39067 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
39068 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
39069 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
39070 { (exit 1); exit 1; }; }
39074 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
39075 -o "$wxUSE_CLIPBOARD" = "yes" \
39076 -o "$wxUSE_OLE" = "yes" \
39077 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
39079 for ac_header
in ole2.h
39081 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39083 echo "$as_me:$LINENO: checking for $ac_header" >&5
39084 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39086 echo $ECHO_N "(cached) $ECHO_C" >&6
39088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39089 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39091 # Is the header compilable?
39092 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39093 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39094 cat >conftest.
$ac_ext <<_ACEOF
39097 cat confdefs.h
>>conftest.
$ac_ext
39098 cat >>conftest.
$ac_ext <<_ACEOF
39099 /* end confdefs.h. */
39100 $ac_includes_default
39101 #include <$ac_header>
39103 rm -f conftest.
$ac_objext
39104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39105 (eval $ac_compile) 2>conftest.er1
39107 grep -v '^ *+' conftest.er1
>conftest.err
39109 cat conftest.err
>&5
39110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39111 (exit $ac_status); } &&
39112 { ac_try
='test -z "$ac_c_werror_flag"
39113 || test ! -s conftest.err'
39114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39115 (eval $ac_try) 2>&5
39117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39118 (exit $ac_status); }; } &&
39119 { ac_try
='test -s conftest.$ac_objext'
39120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39121 (eval $ac_try) 2>&5
39123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39124 (exit $ac_status); }; }; then
39125 ac_header_compiler
=yes
39127 echo "$as_me: failed program was:" >&5
39128 sed 's/^/| /' conftest.
$ac_ext >&5
39130 ac_header_compiler
=no
39132 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39133 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39134 echo "${ECHO_T}$ac_header_compiler" >&6
39136 # Is the header present?
39137 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39138 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39139 cat >conftest.
$ac_ext <<_ACEOF
39142 cat confdefs.h
>>conftest.
$ac_ext
39143 cat >>conftest.
$ac_ext <<_ACEOF
39144 /* end confdefs.h. */
39145 #include <$ac_header>
39147 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39148 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39150 grep -v '^ *+' conftest.er1
>conftest.err
39152 cat conftest.err
>&5
39153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39154 (exit $ac_status); } >/dev
/null
; then
39155 if test -s conftest.err
; then
39156 ac_cpp_err
=$ac_c_preproc_warn_flag
39157 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
39164 if test -z "$ac_cpp_err"; then
39165 ac_header_preproc
=yes
39167 echo "$as_me: failed program was:" >&5
39168 sed 's/^/| /' conftest.
$ac_ext >&5
39170 ac_header_preproc
=no
39172 rm -f conftest.err conftest.
$ac_ext
39173 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39174 echo "${ECHO_T}$ac_header_preproc" >&6
39176 # So? What about this header?
39177 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39179 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39180 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39181 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39182 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39183 ac_header_preproc
=yes
39186 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39187 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39188 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39189 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39190 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39191 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39192 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39193 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39194 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39195 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39196 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39197 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39200 ## ----------------------------------------- ##
39201 ## Report this to wx-dev@lists.wxwidgets.org ##
39202 ## ----------------------------------------- ##
39205 sed "s/^/$as_me: WARNING: /" >&2
39208 echo "$as_me:$LINENO: checking for $ac_header" >&5
39209 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39211 echo $ECHO_N "(cached) $ECHO_C" >&6
39213 eval "$as_ac_Header=\$ac_header_preproc"
39215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39216 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39219 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39220 cat >>confdefs.h
<<_ACEOF
39221 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39229 if test "$ac_cv_header_ole2_h" = "yes" ; then
39230 if test "$GCC" = yes ; then
39234 ac_cpp
='$CXXCPP $CPPFLAGS'
39235 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39236 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39237 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39240 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
39241 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
39242 cat >conftest.
$ac_ext <<_ACEOF
39245 cat confdefs.h
>>conftest.
$ac_ext
39246 cat >>conftest.
$ac_ext <<_ACEOF
39247 /* end confdefs.h. */
39248 #include <windows.h>
39258 rm -f conftest.
$ac_objext
39259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39260 (eval $ac_compile) 2>conftest.er1
39262 grep -v '^ *+' conftest.er1
>conftest.err
39264 cat conftest.err
>&5
39265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39266 (exit $ac_status); } &&
39267 { ac_try
='test -z "$ac_cxx_werror_flag"
39268 || test ! -s conftest.err'
39269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39270 (eval $ac_try) 2>&5
39272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39273 (exit $ac_status); }; } &&
39274 { ac_try
='test -s conftest.$ac_objext'
39275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39276 (eval $ac_try) 2>&5
39278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39279 (exit $ac_status); }; }; then
39280 echo "$as_me:$LINENO: result: no" >&5
39281 echo "${ECHO_T}no" >&6
39283 echo "$as_me: failed program was:" >&5
39284 sed 's/^/| /' conftest.
$ac_ext >&5
39286 echo "$as_me:$LINENO: result: yes" >&5
39287 echo "${ECHO_T}yes" >&6
39288 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
39290 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39292 ac_cpp
='$CPP $CPPFLAGS'
39293 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39294 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39295 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39297 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
39298 if test "$wxUSE_OLE" = "yes" ; then
39299 cat >>confdefs.h
<<\_ACEOF
39300 #define wxUSE_OLE 1
39303 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
39307 if test "$wxUSE_DATAOBJ" = "yes" ; then
39308 cat >>confdefs.h
<<\_ACEOF
39309 #define wxUSE_DATAOBJ 1
39314 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
39315 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
39318 wxUSE_DRAG_AND_DROP
=no
39323 if test "$wxUSE_METAFILE" = "yes"; then
39324 cat >>confdefs.h
<<\_ACEOF
39325 #define wxUSE_METAFILE 1
39329 cat >>confdefs.h
<<\_ACEOF
39330 #define wxUSE_ENH_METAFILE 1
39336 if test "$wxUSE_IPC" = "yes"; then
39337 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
39338 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
39339 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
39343 if test "$wxUSE_IPC" = "yes"; then
39344 cat >>confdefs.h
<<\_ACEOF
39345 #define wxUSE_IPC 1
39348 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
39352 if test "$wxUSE_CLIPBOARD" = "yes"; then
39353 if test "$wxUSE_MGL" = 1; then
39354 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
39355 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
39359 if test "$wxUSE_CLIPBOARD" = "yes"; then
39360 cat >>confdefs.h
<<\_ACEOF
39361 #define wxUSE_CLIPBOARD 1
39365 cat >>confdefs.h
<<\_ACEOF
39366 #define wxUSE_DATAOBJ 1
39372 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
39373 if test "$wxUSE_GTK" = 1; then
39374 if test "$WXGTK12" != 1; then
39375 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
39376 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
39377 wxUSE_DRAG_AND_DROP
=no
39381 if test "$wxUSE_MOTIF" = 1; then
39382 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
39383 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
39384 wxUSE_DRAG_AND_DROP
=no
39387 if test "$wxUSE_X11" = 1; then
39388 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
39389 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
39390 wxUSE_DRAG_AND_DROP
=no
39393 if test "$wxUSE_MGL" = 1; then
39394 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
39395 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
39396 wxUSE_DRAG_AND_DROP
=no
39399 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
39400 cat >>confdefs.h
<<\_ACEOF
39401 #define wxUSE_DRAG_AND_DROP 1
39408 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
39409 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
39412 if test "$wxUSE_SPLINES" = "yes" ; then
39413 cat >>confdefs.h
<<\_ACEOF
39414 #define wxUSE_SPLINES 1
39419 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
39420 cat >>confdefs.h
<<\_ACEOF
39421 #define wxUSE_MOUSEWHEEL 1
39428 if test "$wxUSE_CONTROLS" = "yes"; then
39432 if test "$wxUSE_ACCEL" = "yes"; then
39433 cat >>confdefs.h
<<\_ACEOF
39434 #define wxUSE_ACCEL 1
39440 if test "$wxUSE_BUTTON" = "yes"; then
39441 cat >>confdefs.h
<<\_ACEOF
39442 #define wxUSE_BUTTON 1
39448 if test "$wxUSE_BMPBUTTON" = "yes"; then
39449 cat >>confdefs.h
<<\_ACEOF
39450 #define wxUSE_BMPBUTTON 1
39456 if test "$wxUSE_CALCTRL" = "yes"; then
39457 cat >>confdefs.h
<<\_ACEOF
39458 #define wxUSE_CALENDARCTRL 1
39462 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
39465 if test "$wxUSE_CARET" = "yes"; then
39466 cat >>confdefs.h
<<\_ACEOF
39467 #define wxUSE_CARET 1
39471 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
39474 if test "$wxUSE_COMBOBOX" = "yes"; then
39475 cat >>confdefs.h
<<\_ACEOF
39476 #define wxUSE_COMBOBOX 1
39482 if test "$wxUSE_CHOICE" = "yes"; then
39483 cat >>confdefs.h
<<\_ACEOF
39484 #define wxUSE_CHOICE 1
39490 if test "$wxUSE_CHOICEBOOK" = "yes"; then
39491 cat >>confdefs.h
<<\_ACEOF
39492 #define wxUSE_CHOICEBOOK 1
39498 if test "$wxUSE_CHECKBOX" = "yes"; then
39499 cat >>confdefs.h
<<\_ACEOF
39500 #define wxUSE_CHECKBOX 1
39506 if test "$wxUSE_CHECKLST" = "yes"; then
39507 cat >>confdefs.h
<<\_ACEOF
39508 #define wxUSE_CHECKLISTBOX 1
39512 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
39515 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
39516 cat >>confdefs.h
<<\_ACEOF
39517 #define wxUSE_DATEPICKCTRL 1
39523 if test "$wxUSE_DISPLAY" = "yes"; then
39524 cat >>confdefs.h
<<\_ACEOF
39525 #define wxUSE_DISPLAY 1
39528 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
39531 if test "$wxUSE_GAUGE" = "yes"; then
39532 cat >>confdefs.h
<<\_ACEOF
39533 #define wxUSE_GAUGE 1
39539 if test "$wxUSE_GRID" = "yes"; then
39540 cat >>confdefs.h
<<\_ACEOF
39541 #define wxUSE_GRID 1
39545 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
39548 if test "$wxUSE_IMAGLIST" = "yes"; then
39549 cat >>confdefs.h
<<\_ACEOF
39550 #define wxUSE_IMAGLIST 1
39555 if test "$wxUSE_LISTBOOK" = "yes"; then
39556 cat >>confdefs.h
<<\_ACEOF
39557 #define wxUSE_LISTBOOK 1
39563 if test "$wxUSE_LISTBOX" = "yes"; then
39564 cat >>confdefs.h
<<\_ACEOF
39565 #define wxUSE_LISTBOX 1
39569 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
39572 if test "$wxUSE_LISTCTRL" = "yes"; then
39573 if test "$wxUSE_IMAGLIST" = "yes"; then
39574 cat >>confdefs.h
<<\_ACEOF
39575 #define wxUSE_LISTCTRL 1
39579 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
39581 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
39582 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
39586 if test "$wxUSE_NOTEBOOK" = "yes"; then
39587 cat >>confdefs.h
<<\_ACEOF
39588 #define wxUSE_NOTEBOOK 1
39592 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
39596 if test "$wxUSE_RADIOBOX" = "yes"; then
39597 cat >>confdefs.h
<<\_ACEOF
39598 #define wxUSE_RADIOBOX 1
39604 if test "$wxUSE_RADIOBTN" = "yes"; then
39605 cat >>confdefs.h
<<\_ACEOF
39606 #define wxUSE_RADIOBTN 1
39612 if test "$wxUSE_SASH" = "yes"; then
39613 cat >>confdefs.h
<<\_ACEOF
39614 #define wxUSE_SASH 1
39617 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
39620 if test "$wxUSE_SCROLLBAR" = "yes"; then
39621 cat >>confdefs.h
<<\_ACEOF
39622 #define wxUSE_SCROLLBAR 1
39626 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
39629 if test "$wxUSE_SLIDER" = "yes"; then
39630 cat >>confdefs.h
<<\_ACEOF
39631 #define wxUSE_SLIDER 1
39637 if test "$wxUSE_SPINBTN" = "yes"; then
39638 cat >>confdefs.h
<<\_ACEOF
39639 #define wxUSE_SPINBTN 1
39645 if test "$wxUSE_SPINCTRL" = "yes"; then
39646 cat >>confdefs.h
<<\_ACEOF
39647 #define wxUSE_SPINCTRL 1
39653 if test "$wxUSE_SPLITTER" = "yes"; then
39654 cat >>confdefs.h
<<\_ACEOF
39655 #define wxUSE_SPLITTER 1
39658 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
39661 if test "$wxUSE_STATBMP" = "yes"; then
39662 cat >>confdefs.h
<<\_ACEOF
39663 #define wxUSE_STATBMP 1
39669 if test "$wxUSE_STATBOX" = "yes"; then
39670 cat >>confdefs.h
<<\_ACEOF
39671 #define wxUSE_STATBOX 1
39677 if test "$wxUSE_STATTEXT" = "yes"; then
39678 cat >>confdefs.h
<<\_ACEOF
39679 #define wxUSE_STATTEXT 1
39685 if test "$wxUSE_STATLINE" = "yes"; then
39686 cat >>confdefs.h
<<\_ACEOF
39687 #define wxUSE_STATLINE 1
39693 if test "$wxUSE_STATUSBAR" = "yes"; then
39694 cat >>confdefs.h
<<\_ACEOF
39695 #define wxUSE_NATIVE_STATUSBAR 1
39698 cat >>confdefs.h
<<\_ACEOF
39699 #define wxUSE_STATUSBAR 1
39704 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
39707 if test "$wxUSE_TABDIALOG" = "yes"; then
39708 cat >>confdefs.h
<<\_ACEOF
39709 #define wxUSE_TAB_DIALOG 1
39714 if test "$wxUSE_TEXTCTRL" = "yes"; then
39715 cat >>confdefs.h
<<\_ACEOF
39716 #define wxUSE_TEXTCTRL 1
39720 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
39723 if test "$wxUSE_TOGGLEBTN" = "yes"; then
39724 if test "$wxUSE_COCOA" = 1 ; then
39725 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
39726 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
39729 if test "$wxUSE_UNIVERSAL" = "yes"; then
39730 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
39731 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
39735 if test "$wxUSE_TOGGLEBTN" = "yes"; then
39736 cat >>confdefs.h
<<\_ACEOF
39737 #define wxUSE_TOGGLEBTN 1
39744 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
39745 cat >>confdefs.h
<<\_ACEOF
39746 #define wxUSE_TOOLBAR_SIMPLE 1
39749 wxUSE_TOOLBAR
="yes"
39753 if test "$wxUSE_TOOLBAR" = "yes"; then
39754 cat >>confdefs.h
<<\_ACEOF
39755 #define wxUSE_TOOLBAR 1
39760 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
39761 wxUSE_TOOLBAR_NATIVE
="yes"
39764 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
39765 cat >>confdefs.h
<<\_ACEOF
39766 #define wxUSE_TOOLBAR_NATIVE 1
39772 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
39775 if test "$wxUSE_TOOLTIPS" = "yes"; then
39776 if test "$wxUSE_MOTIF" = 1; then
39777 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
39778 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
39780 if test "$wxUSE_UNIVERSAL" = "yes"; then
39781 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
39782 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
39784 cat >>confdefs.h
<<\_ACEOF
39785 #define wxUSE_TOOLTIPS 1
39792 if test "$wxUSE_TREECTRL" = "yes"; then
39793 if test "$wxUSE_IMAGLIST" = "yes"; then
39794 cat >>confdefs.h
<<\_ACEOF
39795 #define wxUSE_TREECTRL 1
39799 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
39801 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
39802 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
39806 if test "$wxUSE_POPUPWIN" = "yes"; then
39807 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
39808 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
39809 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
39811 if test "$wxUSE_PM" = 1; then
39812 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
39813 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
39815 cat >>confdefs.h
<<\_ACEOF
39816 #define wxUSE_POPUPWIN 1
39819 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
39826 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
39827 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
39828 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
39829 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
39831 cat >>confdefs.h
<<\_ACEOF
39832 #define wxUSE_DIALUP_MANAGER 1
39835 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
39839 if test "$wxUSE_TIPWINDOW" = "yes"; then
39840 if test "$wxUSE_PM" = 1; then
39841 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
39842 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
39844 cat >>confdefs.h
<<\_ACEOF
39845 #define wxUSE_TIPWINDOW 1
39851 if test "$USES_CONTROLS" = 1; then
39852 cat >>confdefs.h
<<\_ACEOF
39853 #define wxUSE_CONTROLS 1
39859 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
39860 cat >>confdefs.h
<<\_ACEOF
39861 #define wxUSE_ACCESSIBILITY 1
39864 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
39867 if test "$wxUSE_DRAGIMAGE" = "yes"; then
39868 cat >>confdefs.h
<<\_ACEOF
39869 #define wxUSE_DRAGIMAGE 1
39872 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
39875 if test "$wxUSE_EXCEPTIONS" = "yes"; then
39876 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
39877 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
39878 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
39880 cat >>confdefs.h
<<\_ACEOF
39881 #define wxUSE_EXCEPTIONS 1
39884 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
39889 if test "$wxUSE_HTML" = "yes"; then
39890 cat >>confdefs.h
<<\_ACEOF
39891 #define wxUSE_HTML 1
39895 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
39896 if test "$wxUSE_MAC" = 1; then
39897 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
39900 if test "$wxUSE_WEBKIT" = "yes"; then
39901 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
39902 old_CPPFLAGS
="$CPPFLAGS"
39903 CPPFLAGS
="$CPPFLAGS -x objective-c++"
39904 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
39905 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
39906 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
39907 echo $ECHO_N "(cached) $ECHO_C" >&6
39909 cat >conftest.
$ac_ext <<_ACEOF
39912 cat confdefs.h
>>conftest.
$ac_ext
39913 cat >>conftest.
$ac_ext <<_ACEOF
39914 /* end confdefs.h. */
39915 #include <Carbon/Carbon.h>
39917 #include <WebKit/HIWebView.h>
39919 rm -f conftest.
$ac_objext
39920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39921 (eval $ac_compile) 2>conftest.er1
39923 grep -v '^ *+' conftest.er1
>conftest.err
39925 cat conftest.err
>&5
39926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39927 (exit $ac_status); } &&
39928 { ac_try
='test -z "$ac_c_werror_flag"
39929 || test ! -s conftest.err'
39930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39931 (eval $ac_try) 2>&5
39933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39934 (exit $ac_status); }; } &&
39935 { ac_try
='test -s conftest.$ac_objext'
39936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39937 (eval $ac_try) 2>&5
39939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39940 (exit $ac_status); }; }; then
39941 ac_cv_header_WebKit_HIWebView_h
=yes
39943 echo "$as_me: failed program was:" >&5
39944 sed 's/^/| /' conftest.
$ac_ext >&5
39946 ac_cv_header_WebKit_HIWebView_h
=no
39948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39950 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
39951 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
39952 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
39954 cat >>confdefs.h
<<\_ACEOF
39955 #define wxUSE_WEBKIT 1
39958 WEBKIT_LINK
="-framework WebKit"
39962 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
39963 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
39969 CPPFLAGS
="$old_CPPFLAGS"
39970 elif test "$wxUSE_COCOA" = 1; then
39971 cat >>confdefs.h
<<\_ACEOF
39972 #define wxUSE_WEBKIT 1
39981 if test "$wxUSE_XRC" = "yes"; then
39982 if test "$wxUSE_XML" != "yes"; then
39983 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
39984 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
39987 cat >>confdefs.h
<<\_ACEOF
39988 #define wxUSE_XRC 1
39992 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
39996 if test "$wxUSE_MENUS" = "yes"; then
39997 cat >>confdefs.h
<<\_ACEOF
39998 #define wxUSE_MENUS 1
40001 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
40004 if test "$wxUSE_METAFILE" = "yes"; then
40005 cat >>confdefs.h
<<\_ACEOF
40006 #define wxUSE_METAFILE 1
40011 if test "$wxUSE_MIMETYPE" = "yes"; then
40012 cat >>confdefs.h
<<\_ACEOF
40013 #define wxUSE_MIMETYPE 1
40018 if test "$wxUSE_MINIFRAME" = "yes"; then
40019 cat >>confdefs.h
<<\_ACEOF
40020 #define wxUSE_MINIFRAME 1
40023 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
40026 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
40027 cat >>confdefs.h
<<\_ACEOF
40028 #define wxUSE_SYSTEM_OPTIONS 1
40031 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
40032 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
40033 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
40038 if test "$wxUSE_VALIDATORS" = "yes"; then
40039 cat >>confdefs.h
<<\_ACEOF
40040 #define wxUSE_VALIDATORS 1
40043 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
40046 if test "$wxUSE_PALETTE" = "yes" ; then
40047 cat >>confdefs.h
<<\_ACEOF
40048 #define wxUSE_PALETTE 1
40053 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
40054 LIBS
=" -lunicows $LIBS"
40058 if test "$wxUSE_IMAGE" = "yes" ; then
40059 cat >>confdefs.h
<<\_ACEOF
40060 #define wxUSE_IMAGE 1
40064 if test "$wxUSE_GIF" = "yes" ; then
40065 cat >>confdefs.h
<<\_ACEOF
40066 #define wxUSE_GIF 1
40071 if test "$wxUSE_PCX" = "yes" ; then
40072 cat >>confdefs.h
<<\_ACEOF
40073 #define wxUSE_PCX 1
40078 if test "$wxUSE_IFF" = "yes" ; then
40079 cat >>confdefs.h
<<\_ACEOF
40080 #define wxUSE_IFF 1
40085 if test "$wxUSE_PNM" = "yes" ; then
40086 cat >>confdefs.h
<<\_ACEOF
40087 #define wxUSE_PNM 1
40092 if test "$wxUSE_XPM" = "yes" ; then
40093 cat >>confdefs.h
<<\_ACEOF
40094 #define wxUSE_XPM 1
40099 if test "$wxUSE_ICO_CUR" = "yes" ; then
40100 cat >>confdefs.h
<<\_ACEOF
40101 #define wxUSE_ICO_CUR 1
40108 if test "$wxUSE_CHOICEDLG" = "yes"; then
40109 cat >>confdefs.h
<<\_ACEOF
40110 #define wxUSE_CHOICEDLG 1
40115 if test "$wxUSE_COLOURDLG" = "yes"; then
40116 cat >>confdefs.h
<<\_ACEOF
40117 #define wxUSE_COLOURDLG 1
40122 if test "$wxUSE_FILEDLG" = "yes"; then
40123 cat >>confdefs.h
<<\_ACEOF
40124 #define wxUSE_FILEDLG 1
40129 if test "$wxUSE_FINDREPLDLG" = "yes"; then
40130 cat >>confdefs.h
<<\_ACEOF
40131 #define wxUSE_FINDREPLDLG 1
40136 if test "$wxUSE_FONTDLG" = "yes"; then
40137 cat >>confdefs.h
<<\_ACEOF
40138 #define wxUSE_FONTDLG 1
40143 if test "$wxUSE_DIRDLG" = "yes"; then
40144 if test "$wxUSE_TREECTRL" != "yes"; then
40145 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
40146 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
40148 cat >>confdefs.h
<<\_ACEOF
40149 #define wxUSE_DIRDLG 1
40155 if test "$wxUSE_MSGDLG" = "yes"; then
40156 cat >>confdefs.h
<<\_ACEOF
40157 #define wxUSE_MSGDLG 1
40162 if test "$wxUSE_NUMBERDLG" = "yes"; then
40163 cat >>confdefs.h
<<\_ACEOF
40164 #define wxUSE_NUMBERDLG 1
40169 if test "$wxUSE_PROGRESSDLG" = "yes"; then
40170 if test "$wxUSE_CONSTRAINTS" != "yes"; then
40171 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
40172 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
40174 cat >>confdefs.h
<<\_ACEOF
40175 #define wxUSE_PROGRESSDLG 1
40181 if test "$wxUSE_SPLASH" = "yes"; then
40182 cat >>confdefs.h
<<\_ACEOF
40183 #define wxUSE_SPLASH 1
40186 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
40189 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
40190 if test "$wxUSE_CONSTRAINTS" != "yes"; then
40191 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
40192 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
40194 cat >>confdefs.h
<<\_ACEOF
40195 #define wxUSE_STARTUP_TIPS 1
40201 if test "$wxUSE_TEXTDLG" = "yes"; then
40202 cat >>confdefs.h
<<\_ACEOF
40203 #define wxUSE_TEXTDLG 1
40208 if test "$wxUSE_WIZARDDLG" = "yes"; then
40209 cat >>confdefs.h
<<\_ACEOF
40210 #define wxUSE_WIZARDDLG 1
40213 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
40217 if test "$wxUSE_MEDIACTRL" = "yes"; then
40218 if test "$wxUSE_MSW" = 1; then
40219 wxUSE_DIRECTSHOW
="yes"
40221 for ac_header
in dshow.h
40223 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40224 echo "$as_me:$LINENO: checking for $ac_header" >&5
40225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40226 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40227 echo $ECHO_N "(cached) $ECHO_C" >&6
40229 cat >conftest.
$ac_ext <<_ACEOF
40232 cat confdefs.h
>>conftest.
$ac_ext
40233 cat >>conftest.
$ac_ext <<_ACEOF
40234 /* end confdefs.h. */
40235 #include <windows.h>
40237 #include <$ac_header>
40239 rm -f conftest.
$ac_objext
40240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40241 (eval $ac_compile) 2>conftest.er1
40243 grep -v '^ *+' conftest.er1
>conftest.err
40245 cat conftest.err
>&5
40246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40247 (exit $ac_status); } &&
40248 { ac_try
='test -z "$ac_c_werror_flag"
40249 || test ! -s conftest.err'
40250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40251 (eval $ac_try) 2>&5
40253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40254 (exit $ac_status); }; } &&
40255 { ac_try
='test -s conftest.$ac_objext'
40256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40257 (eval $ac_try) 2>&5
40259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40260 (exit $ac_status); }; }; then
40261 eval "$as_ac_Header=yes"
40263 echo "$as_me: failed program was:" >&5
40264 sed 's/^/| /' conftest.
$ac_ext >&5
40266 eval "$as_ac_Header=no"
40268 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40271 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40272 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40273 cat >>confdefs.h
<<_ACEOF
40274 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40279 wxUSE_DIRECTSHOW
="no"
40280 { echo "$as_me:$LINENO: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&5
40281 echo "$as_me: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&2;}
40288 if test "$wxUSE_DIRECTSHOW" = "yes"; then
40289 cat >>confdefs.h
<<\_ACEOF
40290 #define wxUSE_DIRECTSHOW 1
40293 LIBS
="$LIBS -lstrmiids"
40297 if test "$wxUSE_GTK" = 1; then
40298 wxUSE_GSTREAMER
="yes"
40303 if test -z "$PKG_CONFIG"; then
40304 # Extract the first word of "pkg-config", so it can be a program name with args.
40305 set dummy pkg
-config; ac_word
=$2
40306 echo "$as_me:$LINENO: checking for $ac_word" >&5
40307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40308 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40309 echo $ECHO_N "(cached) $ECHO_C" >&6
40311 case $PKG_CONFIG in
40313 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
40316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40317 for as_dir
in $PATH
40320 test -z "$as_dir" && as_dir
=.
40321 for ac_exec_ext
in '' $ac_executable_extensions; do
40322 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40323 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40330 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
40334 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
40336 if test -n "$PKG_CONFIG"; then
40337 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
40338 echo "${ECHO_T}$PKG_CONFIG" >&6
40340 echo "$as_me:$LINENO: result: no" >&5
40341 echo "${ECHO_T}no" >&6
40346 if test "$PKG_CONFIG" = "no" ; then
40347 echo "*** The pkg-config script could not be found. Make sure it is"
40348 echo "*** in your path, or set the PKG_CONFIG environment variable"
40349 echo "*** to the full path to pkg-config."
40350 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
40352 PKG_CONFIG_MIN_VERSION
=0.9.0
40353 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
40354 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
40355 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
40357 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
40358 echo "$as_me:$LINENO: result: yes" >&5
40359 echo "${ECHO_T}yes" >&6
40362 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
40363 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
40364 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-0.8"`
40365 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
40366 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
40368 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
40369 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
40370 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-0.8"`
40371 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
40372 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
40374 GSTREAMER_CFLAGS
=""
40376 ## If we have a custom action on failure, don't print errors, but
40377 ## do set a variable so people can do so.
40378 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
40385 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
40386 echo "*** See http://www.freedesktop.org/software/pkgconfig"
40390 if test $succeeded = yes; then
40392 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
40393 LIBS
="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
40397 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
40398 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
40399 wxUSE_GSTREAMER
="no"
40407 if test "x$GST_INSPECT" == "x"; then
40408 # Extract the first word of "gst-inspect", so it can be a program name with args.
40409 set dummy gst
-inspect; ac_word
=$2
40410 echo "$as_me:$LINENO: checking for $ac_word" >&5
40411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40412 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
40413 echo $ECHO_N "(cached) $ECHO_C" >&6
40415 if test -n "$GST_INSPECT"; then
40416 ac_cv_prog_GST_INSPECT
="$GST_INSPECT" # Let the user override the test.
40418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40419 for as_dir
in $PATH
40422 test -z "$as_dir" && as_dir
=.
40423 for ac_exec_ext
in '' $ac_executable_extensions; do
40424 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40425 ac_cv_prog_GST_INSPECT
="gst-inspect"
40426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40434 GST_INSPECT
=$ac_cv_prog_GST_INSPECT
40435 if test -n "$GST_INSPECT"; then
40436 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
40437 echo "${ECHO_T}$GST_INSPECT" >&6
40439 echo "$as_me:$LINENO: result: no" >&5
40440 echo "${ECHO_T}no" >&6
40445 if test "x$GST_INSPECT" != "x"; then
40446 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
40447 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
40448 if $GST_INSPECT xvimagesink
> /dev
/null
2> /dev
/null
; then
40449 echo "$as_me:$LINENO: result: found." >&5
40450 echo "${ECHO_T}found." >&6
40453 echo "$as_me:$LINENO: result: not found." >&5
40454 echo "${ECHO_T}not found." >&6
40456 wxUSE_GSTREAMER
="no"
40457 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
40458 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
40464 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
40465 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
40466 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
40467 echo $ECHO_N "(cached) $ECHO_C" >&6
40469 cat >conftest.
$ac_ext <<_ACEOF
40472 cat confdefs.h
>>conftest.
$ac_ext
40473 cat >>conftest.
$ac_ext <<_ACEOF
40474 /* end confdefs.h. */
40475 #include <gst/gst.h>
40477 #include <gst/xoverlay/xoverlay.h>
40479 rm -f conftest.
$ac_objext
40480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40481 (eval $ac_compile) 2>conftest.er1
40483 grep -v '^ *+' conftest.er1
>conftest.err
40485 cat conftest.err
>&5
40486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40487 (exit $ac_status); } &&
40488 { ac_try
='test -z "$ac_c_werror_flag"
40489 || test ! -s conftest.err'
40490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40491 (eval $ac_try) 2>&5
40493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40494 (exit $ac_status); }; } &&
40495 { ac_try
='test -s conftest.$ac_objext'
40496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40497 (eval $ac_try) 2>&5
40499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40500 (exit $ac_status); }; }; then
40501 ac_cv_header_gst_xoverlay_xoverlay_h
=yes
40503 echo "$as_me: failed program was:" >&5
40504 sed 's/^/| /' conftest.
$ac_ext >&5
40506 ac_cv_header_gst_xoverlay_xoverlay_h
=no
40508 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40510 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
40511 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
40512 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
40516 wxUSE_GSTREAMER
="no"
40517 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
40518 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
40524 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
40525 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
40528 for ac_dir
in $SEARCH_LIB /usr
/lib
;
40530 for ac_extension
in a so sl dylib
; do
40531 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
40532 ac_find_libraries
=$ac_dir
40539 if test "$ac_find_libraries" = "" ; then
40540 echo "$as_me:$LINENO: result: no" >&5
40541 echo "${ECHO_T}no" >&6
40542 wxUSE_GSTREAMER
="no"
40544 echo "$as_me:$LINENO: result: yes" >&5
40545 echo "${ECHO_T}yes" >&6
40548 if test "$wxUSE_GSTREAMER" = "yes"; then
40549 cat >>confdefs.h
<<\_ACEOF
40550 #define wxUSE_GSTREAMER 1
40553 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
40554 echo "${ECHO_T}GStreamer detection successful" >&6
40557 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
40558 cat >>confdefs.h
<<\_ACEOF
40559 #define wxUSE_MEDIACTRL 1
40565 if test "$cross_compiling" = "yes"; then
40568 OSINFO
=`uname -s -r -m`
40569 OSINFO
="\"$OSINFO\""
40572 cat >>confdefs.h
<<_ACEOF
40573 #define WXWIN_OS_DESCRIPTION $OSINFO
40578 if test "x$prefix" != "xNONE"; then
40581 wxPREFIX
=$ac_default_prefix
40584 cat >>confdefs.h
<<_ACEOF
40585 #define wxINSTALL_PREFIX "$wxPREFIX"
40591 CORE_BASE_LIBS
="net base"
40592 CORE_GUI_LIBS
="adv core"
40594 if test "$wxUSE_XML" = "yes" ; then
40595 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
40597 if test "$wxUSE_ODBC" != "no" ; then
40598 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
40599 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
40601 if test "$wxUSE_HTML" = "yes" ; then
40602 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
40604 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
40605 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
40607 if test "$wxUSE_XRC" = "yes" ; then
40608 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
40611 if test "$wxUSE_GUI" != "yes"; then
40622 if test "$wxUSE_MAC" = 1 ; then
40623 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
40624 if test "$USE_DARWIN" = 1; then
40625 LDFLAGS
="$LDFLAGS -framework QuickTime"
40627 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
40630 if test "$USE_DARWIN" = 1; then
40631 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
40633 LDFLAGS
="$LDFLAGS -lCarbonLib"
40635 elif test "$USE_DARWIN" = 1; then
40636 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System"
40638 if test "$wxUSE_COCOA" = 1 ; then
40639 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
40640 if test "$wxUSE_MEDIACTRL" = "yes"; then
40641 LDFLAGS
="$LDFLAGS -framework QuickTime"
40646 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
40653 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40654 echo "$as_me:$LINENO: checking for $ac_func" >&5
40655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40656 if eval "test \"\${$as_ac_var+set}\" = set"; then
40657 echo $ECHO_N "(cached) $ECHO_C" >&6
40659 cat >conftest.
$ac_ext <<_ACEOF
40662 cat confdefs.h
>>conftest.
$ac_ext
40663 cat >>conftest.
$ac_ext <<_ACEOF
40664 /* end confdefs.h. */
40665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40667 #define $ac_func innocuous_$ac_func
40669 /* System header to define __stub macros and hopefully few prototypes,
40670 which can conflict with char $ac_func (); below.
40671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40672 <limits.h> exists even on freestanding compilers. */
40675 # include <limits.h>
40677 # include <assert.h>
40682 /* Override any gcc2 internal prototype to avoid an error. */
40687 /* We use char because int might match the return type of a gcc2
40688 builtin and then its argument prototype would still apply. */
40690 /* The GNU C library defines this for functions which it implements
40691 to always fail with ENOSYS. Some functions are actually named
40692 something starting with __ and the normal name is an alias. */
40693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40696 char (*f) () = $ac_func;
40705 return f != $ac_func;
40710 rm -f conftest.
$ac_objext conftest
$ac_exeext
40711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40712 (eval $ac_link) 2>conftest.er1
40714 grep -v '^ *+' conftest.er1
>conftest.err
40716 cat conftest.err
>&5
40717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40718 (exit $ac_status); } &&
40719 { ac_try
='test -z "$ac_c_werror_flag"
40720 || test ! -s conftest.err'
40721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40722 (eval $ac_try) 2>&5
40724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40725 (exit $ac_status); }; } &&
40726 { ac_try
='test -s conftest$ac_exeext'
40727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40728 (eval $ac_try) 2>&5
40730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40731 (exit $ac_status); }; }; then
40732 eval "$as_ac_var=yes"
40734 echo "$as_me: failed program was:" >&5
40735 sed 's/^/| /' conftest.
$ac_ext >&5
40737 eval "$as_ac_var=no"
40739 rm -f conftest.err conftest.
$ac_objext \
40740 conftest
$ac_exeext conftest.
$ac_ext
40742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40744 if test `eval echo '${'$as_ac_var'}'` = yes; then
40745 cat >>confdefs.h
<<_ACEOF
40746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40753 for ac_func
in floor
40755 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40756 echo "$as_me:$LINENO: checking for $ac_func" >&5
40757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40758 if eval "test \"\${$as_ac_var+set}\" = set"; then
40759 echo $ECHO_N "(cached) $ECHO_C" >&6
40761 cat >conftest.
$ac_ext <<_ACEOF
40764 cat confdefs.h
>>conftest.
$ac_ext
40765 cat >>conftest.
$ac_ext <<_ACEOF
40766 /* end confdefs.h. */
40767 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40769 #define $ac_func innocuous_$ac_func
40771 /* System header to define __stub macros and hopefully few prototypes,
40772 which can conflict with char $ac_func (); below.
40773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40774 <limits.h> exists even on freestanding compilers. */
40777 # include <limits.h>
40779 # include <assert.h>
40784 /* Override any gcc2 internal prototype to avoid an error. */
40789 /* We use char because int might match the return type of a gcc2
40790 builtin and then its argument prototype would still apply. */
40792 /* The GNU C library defines this for functions which it implements
40793 to always fail with ENOSYS. Some functions are actually named
40794 something starting with __ and the normal name is an alias. */
40795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40798 char (*f) () = $ac_func;
40807 return f != $ac_func;
40812 rm -f conftest.
$ac_objext conftest
$ac_exeext
40813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40814 (eval $ac_link) 2>conftest.er1
40816 grep -v '^ *+' conftest.er1
>conftest.err
40818 cat conftest.err
>&5
40819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40820 (exit $ac_status); } &&
40821 { ac_try
='test -z "$ac_c_werror_flag"
40822 || test ! -s conftest.err'
40823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40824 (eval $ac_try) 2>&5
40826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40827 (exit $ac_status); }; } &&
40828 { ac_try
='test -s conftest$ac_exeext'
40829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40830 (eval $ac_try) 2>&5
40832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40833 (exit $ac_status); }; }; then
40834 eval "$as_ac_var=yes"
40836 echo "$as_me: failed program was:" >&5
40837 sed 's/^/| /' conftest.
$ac_ext >&5
40839 eval "$as_ac_var=no"
40841 rm -f conftest.err conftest.
$ac_objext \
40842 conftest
$ac_exeext conftest.
$ac_ext
40844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40845 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40846 if test `eval echo '${'$as_ac_var'}'` = yes; then
40847 cat >>confdefs.h
<<_ACEOF
40848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40854 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
40855 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
40856 if test "$have_cos" = 1 -a "$have_floor" = 1; then
40857 echo "$as_me:$LINENO: result: yes" >&5
40858 echo "${ECHO_T}yes" >&6
40860 echo "$as_me:$LINENO: result: no" >&5
40861 echo "${ECHO_T}no" >&6
40863 # use different functions to avoid configure caching
40869 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40870 echo "$as_me:$LINENO: checking for $ac_func" >&5
40871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40872 if eval "test \"\${$as_ac_var+set}\" = set"; then
40873 echo $ECHO_N "(cached) $ECHO_C" >&6
40875 cat >conftest.
$ac_ext <<_ACEOF
40878 cat confdefs.h
>>conftest.
$ac_ext
40879 cat >>conftest.
$ac_ext <<_ACEOF
40880 /* end confdefs.h. */
40881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40883 #define $ac_func innocuous_$ac_func
40885 /* System header to define __stub macros and hopefully few prototypes,
40886 which can conflict with char $ac_func (); below.
40887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40888 <limits.h> exists even on freestanding compilers. */
40891 # include <limits.h>
40893 # include <assert.h>
40898 /* Override any gcc2 internal prototype to avoid an error. */
40903 /* We use char because int might match the return type of a gcc2
40904 builtin and then its argument prototype would still apply. */
40906 /* The GNU C library defines this for functions which it implements
40907 to always fail with ENOSYS. Some functions are actually named
40908 something starting with __ and the normal name is an alias. */
40909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40912 char (*f) () = $ac_func;
40921 return f != $ac_func;
40926 rm -f conftest.
$ac_objext conftest
$ac_exeext
40927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40928 (eval $ac_link) 2>conftest.er1
40930 grep -v '^ *+' conftest.er1
>conftest.err
40932 cat conftest.err
>&5
40933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40934 (exit $ac_status); } &&
40935 { ac_try
='test -z "$ac_c_werror_flag"
40936 || test ! -s conftest.err'
40937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40938 (eval $ac_try) 2>&5
40940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40941 (exit $ac_status); }; } &&
40942 { ac_try
='test -s conftest$ac_exeext'
40943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40944 (eval $ac_try) 2>&5
40946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40947 (exit $ac_status); }; }; then
40948 eval "$as_ac_var=yes"
40950 echo "$as_me: failed program was:" >&5
40951 sed 's/^/| /' conftest.
$ac_ext >&5
40953 eval "$as_ac_var=no"
40955 rm -f conftest.err conftest.
$ac_objext \
40956 conftest
$ac_exeext conftest.
$ac_ext
40958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40960 if test `eval echo '${'$as_ac_var'}'` = yes; then
40961 cat >>confdefs.h
<<_ACEOF
40962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40969 for ac_func
in ceil
40971 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40972 echo "$as_me:$LINENO: checking for $ac_func" >&5
40973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40974 if eval "test \"\${$as_ac_var+set}\" = set"; then
40975 echo $ECHO_N "(cached) $ECHO_C" >&6
40977 cat >conftest.
$ac_ext <<_ACEOF
40980 cat confdefs.h
>>conftest.
$ac_ext
40981 cat >>conftest.
$ac_ext <<_ACEOF
40982 /* end confdefs.h. */
40983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40985 #define $ac_func innocuous_$ac_func
40987 /* System header to define __stub macros and hopefully few prototypes,
40988 which can conflict with char $ac_func (); below.
40989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40990 <limits.h> exists even on freestanding compilers. */
40993 # include <limits.h>
40995 # include <assert.h>
41000 /* Override any gcc2 internal prototype to avoid an error. */
41005 /* We use char because int might match the return type of a gcc2
41006 builtin and then its argument prototype would still apply. */
41008 /* The GNU C library defines this for functions which it implements
41009 to always fail with ENOSYS. Some functions are actually named
41010 something starting with __ and the normal name is an alias. */
41011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41014 char (*f) () = $ac_func;
41023 return f != $ac_func;
41028 rm -f conftest.
$ac_objext conftest
$ac_exeext
41029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41030 (eval $ac_link) 2>conftest.er1
41032 grep -v '^ *+' conftest.er1
>conftest.err
41034 cat conftest.err
>&5
41035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41036 (exit $ac_status); } &&
41037 { ac_try
='test -z "$ac_c_werror_flag"
41038 || test ! -s conftest.err'
41039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41040 (eval $ac_try) 2>&5
41042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41043 (exit $ac_status); }; } &&
41044 { ac_try
='test -s conftest$ac_exeext'
41045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41046 (eval $ac_try) 2>&5
41048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41049 (exit $ac_status); }; }; then
41050 eval "$as_ac_var=yes"
41052 echo "$as_me: failed program was:" >&5
41053 sed 's/^/| /' conftest.
$ac_ext >&5
41055 eval "$as_ac_var=no"
41057 rm -f conftest.err conftest.
$ac_objext \
41058 conftest
$ac_exeext conftest.
$ac_ext
41060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41062 if test `eval echo '${'$as_ac_var'}'` = yes; then
41063 cat >>confdefs.h
<<_ACEOF
41064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41070 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
41071 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
41072 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
41073 echo "$as_me:$LINENO: result: yes" >&5
41074 echo "${ECHO_T}yes" >&6
41076 echo "$as_me:$LINENO: result: no" >&5
41077 echo "${ECHO_T}no" >&6
41078 # not sure we should warn the user, crash, etc.
41082 if test "$wxUSE_GUI" = "yes"; then
41085 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
41086 dynamic erase event exec font image minimal mobile \
41087 mobile/wxedit mobile/styles propsize render \
41088 richedit rotate shaped vscroll widgets"
41090 if test "$wxUSE_MONOLITHIC" != "yes"; then
41091 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
41093 if test "$TOOLKIT" = "MSW"; then
41094 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
41095 if test "$wxUSE_UNIVERSAL" != "yes"; then
41096 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
41099 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
41100 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
41103 SAMPLES_SUBDIRS
="console"
41107 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
41108 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
41110 if test "$GXX" = yes ; then
41112 CXXWARNINGS
="$CWARNINGS -Wno-ctor-dtor-privacy"
41115 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
41117 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
41118 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
41119 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
41121 if test "x$MWCC" = "xyes"; then
41123 CC
="$CC -cwd source -I-"
41124 CXX
="$CXX -cwd source -I-"
41129 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
41130 EXTRALIBS_XML
="$EXPAT_LINK"
41131 EXTRALIBS_HTML
="$MSPACK_LINK"
41132 EXTRALIBS_ODBC
="$ODBC_LINK"
41133 if test "$wxUSE_GUI" = "yes"; then
41134 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
41136 if test "$wxUSE_OPENGL" = "yes"; then
41137 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
41140 LDFLAGS
="$LDFLAGS $PROFILE"
41142 if test "$wxUSE_GTK" = 1; then
41145 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
41148 WXCONFIG_EXTRALIBS
="$LIBS"
41150 if test "$wxUSE_REGEX" = "builtin" ; then
41151 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
41153 if test "$wxUSE_EXPAT" = "builtin" ; then
41154 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
41156 if test "$wxUSE_ODBC" = "builtin" ; then
41157 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
41159 if test "$wxUSE_LIBTIFF" = "builtin" ; then
41160 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
41162 if test "$wxUSE_LIBJPEG" = "builtin" ; then
41163 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
41165 if test "$wxUSE_LIBPNG" = "builtin" ; then
41166 wxconfig_3rdparty
="png $wxconfig_3rdparty"
41168 if test "$wxUSE_ZLIB" = "builtin" ; then
41169 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
41172 for i
in $wxconfig_3rdparty ; do
41173 WXCONFIG_EXTRALIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_EXTRALIBS"
41177 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
41191 if test $wxUSE_MONOLITHIC = "yes" ; then
41197 if test $wxUSE_PLUGINS = "yes" ; then
41203 if test $wxUSE_ODBC != "no" ; then
41209 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
41215 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
41243 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
41254 TOOLKIT_USER
="GTK+"
41255 if test "$WXGTK20" = 1; then
41256 TOOLKIT_USER
="$TOOLKIT_USER 2"
41261 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
41265 if test "$wxUSE_WINE" = "yes"; then
41266 BAKEFILE_FORCE_PLATFORM
=win32
41272 if test "x$BAKEFILE_HOST" = "x"; then
41273 BAKEFILE_HOST
="${host}"
41276 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
41278 if test -n "$ac_tool_prefix"; then
41279 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
41280 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
41281 echo "$as_me:$LINENO: checking for $ac_word" >&5
41282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41283 if test "${ac_cv_prog_RANLIB+set}" = set; then
41284 echo $ECHO_N "(cached) $ECHO_C" >&6
41286 if test -n "$RANLIB"; then
41287 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
41289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41290 for as_dir
in $PATH
41293 test -z "$as_dir" && as_dir
=.
41294 for ac_exec_ext
in '' $ac_executable_extensions; do
41295 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41296 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
41297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41305 RANLIB
=$ac_cv_prog_RANLIB
41306 if test -n "$RANLIB"; then
41307 echo "$as_me:$LINENO: result: $RANLIB" >&5
41308 echo "${ECHO_T}$RANLIB" >&6
41310 echo "$as_me:$LINENO: result: no" >&5
41311 echo "${ECHO_T}no" >&6
41315 if test -z "$ac_cv_prog_RANLIB"; then
41316 ac_ct_RANLIB
=$RANLIB
41317 # Extract the first word of "ranlib", so it can be a program name with args.
41318 set dummy ranlib
; ac_word
=$2
41319 echo "$as_me:$LINENO: checking for $ac_word" >&5
41320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41321 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
41322 echo $ECHO_N "(cached) $ECHO_C" >&6
41324 if test -n "$ac_ct_RANLIB"; then
41325 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
41327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41328 for as_dir
in $PATH
41331 test -z "$as_dir" && as_dir
=.
41332 for ac_exec_ext
in '' $ac_executable_extensions; do
41333 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41334 ac_cv_prog_ac_ct_RANLIB
="ranlib"
41335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41341 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
41344 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
41345 if test -n "$ac_ct_RANLIB"; then
41346 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
41347 echo "${ECHO_T}$ac_ct_RANLIB" >&6
41349 echo "$as_me:$LINENO: result: no" >&5
41350 echo "${ECHO_T}no" >&6
41353 RANLIB
=$ac_ct_RANLIB
41355 RANLIB
="$ac_cv_prog_RANLIB"
41358 # Find a good install program. We prefer a C program (faster),
41359 # so one script is as good as another. But avoid the broken or
41360 # incompatible versions:
41361 # SysV /etc/install, /usr/sbin/install
41362 # SunOS /usr/etc/install
41363 # IRIX /sbin/install
41365 # AmigaOS /C/install, which installs bootblocks on floppy discs
41366 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
41367 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
41368 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
41369 # OS/2's system install, which has a completely different semantic
41370 # ./install, which can be erroneously created by make from ./install.sh.
41371 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
41372 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
41373 if test -z "$INSTALL"; then
41374 if test "${ac_cv_path_install+set}" = set; then
41375 echo $ECHO_N "(cached) $ECHO_C" >&6
41377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41378 for as_dir
in $PATH
41381 test -z "$as_dir" && as_dir
=.
41382 # Account for people who put trailing slashes in PATH elements.
41384 .
/ | .
// | /cC
/* | \
41385 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
41386 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
41389 # OSF1 and SCO ODT 3.0 have their own names for install.
41390 # Don't use installbsd from OSF since it installs stuff as root
41392 for ac_prog
in ginstall scoinst
install; do
41393 for ac_exec_ext
in '' $ac_executable_extensions; do
41394 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
41395 if test $ac_prog = install &&
41396 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
41397 # AIX install. It has an incompatible calling convention.
41399 elif test $ac_prog = install &&
41400 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
41401 # program-specific install script used by HP pwplus--don't use.
41404 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
41416 if test "${ac_cv_path_install+set}" = set; then
41417 INSTALL
=$ac_cv_path_install
41419 # As a last resort, use the slow shell script. We don't cache a
41420 # path for INSTALL within a source directory, because that will
41421 # break other packages using the cache if that directory is
41422 # removed, or if the path is relative.
41423 INSTALL
=$ac_install_sh
41426 echo "$as_me:$LINENO: result: $INSTALL" >&5
41427 echo "${ECHO_T}$INSTALL" >&6
41429 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
41430 # It thinks the first close brace ends the variable substitution.
41431 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
41433 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
41435 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
41437 echo "$as_me:$LINENO: checking whether ln -s works" >&5
41438 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
41440 if test "$LN_S" = "ln -s"; then
41441 echo "$as_me:$LINENO: result: yes" >&5
41442 echo "${ECHO_T}yes" >&6
41444 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
41445 echo "${ECHO_T}no, using $LN_S" >&6
41449 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41450 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41451 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
41452 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41453 echo $ECHO_N "(cached) $ECHO_C" >&6
41455 cat >conftest.
make <<\_ACEOF
41457 @
echo 'ac_maketemp="$(MAKE)"'
41459 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41460 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41461 if test -n "$ac_maketemp"; then
41462 eval ac_cv_prog_make_
${ac_make}_set
=yes
41464 eval ac_cv_prog_make_
${ac_make}_set
=no
41466 rm -f conftest.
make
41468 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41469 echo "$as_me:$LINENO: result: yes" >&5
41470 echo "${ECHO_T}yes" >&6
41473 echo "$as_me:$LINENO: result: no" >&5
41474 echo "${ECHO_T}no" >&6
41475 SET_MAKE
="MAKE=${MAKE-make}"
41480 if test -n "$ac_tool_prefix"; then
41481 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
41482 set dummy
${ac_tool_prefix}ar; ac_word
=$2
41483 echo "$as_me:$LINENO: checking for $ac_word" >&5
41484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41485 if test "${ac_cv_prog_AR+set}" = set; then
41486 echo $ECHO_N "(cached) $ECHO_C" >&6
41488 if test -n "$AR"; then
41489 ac_cv_prog_AR
="$AR" # Let the user override the test.
41491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41492 for as_dir
in $PATH
41495 test -z "$as_dir" && as_dir
=.
41496 for ac_exec_ext
in '' $ac_executable_extensions; do
41497 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41498 ac_cv_prog_AR
="${ac_tool_prefix}ar"
41499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41508 if test -n "$AR"; then
41509 echo "$as_me:$LINENO: result: $AR" >&5
41510 echo "${ECHO_T}$AR" >&6
41512 echo "$as_me:$LINENO: result: no" >&5
41513 echo "${ECHO_T}no" >&6
41517 if test -z "$ac_cv_prog_AR"; then
41519 # Extract the first word of "ar", so it can be a program name with args.
41520 set dummy
ar; ac_word
=$2
41521 echo "$as_me:$LINENO: checking for $ac_word" >&5
41522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41523 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
41524 echo $ECHO_N "(cached) $ECHO_C" >&6
41526 if test -n "$ac_ct_AR"; then
41527 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
41529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41530 for as_dir
in $PATH
41533 test -z "$as_dir" && as_dir
=.
41534 for ac_exec_ext
in '' $ac_executable_extensions; do
41535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41536 ac_cv_prog_ac_ct_AR
="ar"
41537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41543 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
41546 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
41547 if test -n "$ac_ct_AR"; then
41548 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
41549 echo "${ECHO_T}$ac_ct_AR" >&6
41551 echo "$as_me:$LINENO: result: no" >&5
41552 echo "${ECHO_T}no" >&6
41557 AR
="$ac_cv_prog_AR"
41560 if test -n "$ac_tool_prefix"; then
41561 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
41562 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
41563 echo "$as_me:$LINENO: checking for $ac_word" >&5
41564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41565 if test "${ac_cv_prog_STRIP+set}" = set; then
41566 echo $ECHO_N "(cached) $ECHO_C" >&6
41568 if test -n "$STRIP"; then
41569 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
41571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41572 for as_dir
in $PATH
41575 test -z "$as_dir" && as_dir
=.
41576 for ac_exec_ext
in '' $ac_executable_extensions; do
41577 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41578 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
41579 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41587 STRIP
=$ac_cv_prog_STRIP
41588 if test -n "$STRIP"; then
41589 echo "$as_me:$LINENO: result: $STRIP" >&5
41590 echo "${ECHO_T}$STRIP" >&6
41592 echo "$as_me:$LINENO: result: no" >&5
41593 echo "${ECHO_T}no" >&6
41597 if test -z "$ac_cv_prog_STRIP"; then
41599 # Extract the first word of "strip", so it can be a program name with args.
41600 set dummy strip
; ac_word
=$2
41601 echo "$as_me:$LINENO: checking for $ac_word" >&5
41602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41603 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
41604 echo $ECHO_N "(cached) $ECHO_C" >&6
41606 if test -n "$ac_ct_STRIP"; then
41607 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
41609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41610 for as_dir
in $PATH
41613 test -z "$as_dir" && as_dir
=.
41614 for ac_exec_ext
in '' $ac_executable_extensions; do
41615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41616 ac_cv_prog_ac_ct_STRIP
="strip"
41617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41623 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
41626 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
41627 if test -n "$ac_ct_STRIP"; then
41628 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
41629 echo "${ECHO_T}$ac_ct_STRIP" >&6
41631 echo "$as_me:$LINENO: result: no" >&5
41632 echo "${ECHO_T}no" >&6
41637 STRIP
="$ac_cv_prog_STRIP"
41640 if test -n "$ac_tool_prefix"; then
41641 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
41642 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
41643 echo "$as_me:$LINENO: checking for $ac_word" >&5
41644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41645 if test "${ac_cv_prog_NM+set}" = set; then
41646 echo $ECHO_N "(cached) $ECHO_C" >&6
41648 if test -n "$NM"; then
41649 ac_cv_prog_NM
="$NM" # Let the user override the test.
41651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41652 for as_dir
in $PATH
41655 test -z "$as_dir" && as_dir
=.
41656 for ac_exec_ext
in '' $ac_executable_extensions; do
41657 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41658 ac_cv_prog_NM
="${ac_tool_prefix}nm"
41659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41668 if test -n "$NM"; then
41669 echo "$as_me:$LINENO: result: $NM" >&5
41670 echo "${ECHO_T}$NM" >&6
41672 echo "$as_me:$LINENO: result: no" >&5
41673 echo "${ECHO_T}no" >&6
41677 if test -z "$ac_cv_prog_NM"; then
41679 # Extract the first word of "nm", so it can be a program name with args.
41680 set dummy nm
; ac_word
=$2
41681 echo "$as_me:$LINENO: checking for $ac_word" >&5
41682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41683 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
41684 echo $ECHO_N "(cached) $ECHO_C" >&6
41686 if test -n "$ac_ct_NM"; then
41687 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
41689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41690 for as_dir
in $PATH
41693 test -z "$as_dir" && as_dir
=.
41694 for ac_exec_ext
in '' $ac_executable_extensions; do
41695 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41696 ac_cv_prog_ac_ct_NM
="nm"
41697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41703 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
41706 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
41707 if test -n "$ac_ct_NM"; then
41708 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
41709 echo "${ECHO_T}$ac_ct_NM" >&6
41711 echo "$as_me:$LINENO: result: no" >&5
41712 echo "${ECHO_T}no" >&6
41717 NM
="$ac_cv_prog_NM"
41721 case ${BAKEFILE_HOST} in
41723 INSTALL_DIR
="mkdir -p"
41725 *) INSTALL_DIR
="$INSTALL -d"
41731 case ${BAKEFILE_HOST} in
41732 *-*-cygwin* | *-*-mingw32* )
41733 LDFLAGS_GUI
="-mwindows"
41739 echo "$as_me:$LINENO: checking if make is GNU make" >&5
41740 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
41741 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
41742 echo $ECHO_N "(cached) $ECHO_C" >&6
41745 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
41746 egrep -s GNU
> /dev
/null
); then
41747 bakefile_cv_prog_makeisgnu
="yes"
41749 bakefile_cv_prog_makeisgnu
="no"
41753 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
41754 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
41756 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
41773 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
41774 case "${BAKEFILE_HOST}" in
41775 *-*-cygwin* | *-*-mingw32* )
41781 *-pc-os2_emx | *-pc-os2-emx )
41784 powerpc
-*-darwin* )
41791 powerpc
-apple-macos* )
41800 case "$BAKEFILE_FORCE_PLATFORM" in
41821 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
41822 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
41823 { (exit 1); exit 1; }; }
41838 # Check whether --enable-omf or --disable-omf was given.
41839 if test "${enable_omf+set}" = set; then
41840 enableval
="$enable_omf"
41841 bk_os2_use_omf
="$enableval"
41844 case "${BAKEFILE_HOST}" in
41846 CFLAGS
="$CFLAGS -fno-common"
41847 CXXFLAGS
="$CXXFLAGS -fno-common"
41850 *-pc-os2_emx | *-pc-os2-emx )
41851 if test "x$bk_os2_use_omf" = "xyes" ; then
41854 LDFLAGS
="-Zomf $LDFLAGS"
41855 CFLAGS
="-Zomf $CFLAGS"
41856 CXXFLAGS
="-Zomf $CXXFLAGS"
41864 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
41870 SO_SUFFIX_MODULE
="so"
41875 DLLPREFIX_MODULE
=""
41878 case "${BAKEFILE_HOST}" in
41881 SO_SUFFIX_MODULE
="sl"
41885 SO_SUFFIX_MODULE
="a"
41887 *-*-cygwin* | *-*-mingw32* )
41889 SO_SUFFIX_MODULE
="dll"
41890 DLLIMP_SUFFIX
="dll.a"
41898 *-pc-os2_emx | *-pc-os2-emx )
41900 SO_SUFFIX_MODULE
="dll"
41901 DLLIMP_SUFFIX
=$OS2_LIBEXT
41905 LIBEXT
=".$OS2_LIBEXT"
41907 powerpc
-*-darwin* )
41909 SO_SUFFIX_MODULE
="bundle"
41913 if test "x$DLLIMP_SUFFIX" = "x" ; then
41914 DLLIMP_SUFFIX
="$SO_SUFFIX"
41928 if test "x$GCC" = "xyes"; then
41932 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
41933 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
41935 case "${BAKEFILE_HOST}" in
41937 if test "x$GCC" != "xyes"; then
41938 LDFLAGS
="$LDFLAGS -L/usr/lib"
41940 SHARED_LD_CC
="${CC} -b -o"
41941 SHARED_LD_CXX
="${CXX} -b -o"
41947 if test "x$GCC" != "xyes"; then
41948 echo "$as_me:$LINENO: checking for Intel compiler" >&5
41949 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
41950 if test "${bakefile_cv_prog_icc+set}" = set; then
41951 echo $ECHO_N "(cached) $ECHO_C" >&6
41954 cat >conftest.
$ac_ext <<_ACEOF
41957 cat confdefs.h
>>conftest.
$ac_ext
41958 cat >>conftest.
$ac_ext <<_ACEOF
41959 /* end confdefs.h. */
41965 #ifndef __INTEL_COMPILER
41973 rm -f conftest.
$ac_objext
41974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41975 (eval $ac_compile) 2>conftest.er1
41977 grep -v '^ *+' conftest.er1
>conftest.err
41979 cat conftest.err
>&5
41980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41981 (exit $ac_status); } &&
41982 { ac_try
='test -z "$ac_c_werror_flag"
41983 || test ! -s conftest.err'
41984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41985 (eval $ac_try) 2>&5
41987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41988 (exit $ac_status); }; } &&
41989 { ac_try
='test -s conftest.$ac_objext'
41990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41991 (eval $ac_try) 2>&5
41993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41994 (exit $ac_status); }; }; then
41995 bakefile_cv_prog_icc
=yes
41997 echo "$as_me: failed program was:" >&5
41998 sed 's/^/| /' conftest.
$ac_ext >&5
42000 bakefile_cv_prog_icc
=no
42003 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42006 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
42007 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
42008 if test "$bakefile_cv_prog_icc" = "yes"; then
42015 if test "x$GCC" != xyes
; then
42016 SHARED_LD_CC
="${CC} -G -o"
42017 SHARED_LD_CXX
="${CXX} -G -o"
42024 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
42025 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
42026 if test "${wx_cv_gcc31+set}" = set; then
42027 echo $ECHO_N "(cached) $ECHO_C" >&6
42030 cat >conftest.
$ac_ext <<_ACEOF
42033 cat confdefs.h
>>conftest.
$ac_ext
42034 cat >>conftest.
$ac_ext <<_ACEOF
42035 /* end confdefs.h. */
42041 #if (__GNUC__ < 3) || \
42042 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
42050 rm -f conftest.
$ac_objext
42051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42052 (eval $ac_compile) 2>conftest.er1
42054 grep -v '^ *+' conftest.er1
>conftest.err
42056 cat conftest.err
>&5
42057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42058 (exit $ac_status); } &&
42059 { ac_try
='test -z "$ac_c_werror_flag"
42060 || test ! -s conftest.err'
42061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42062 (eval $ac_try) 2>&5
42064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42065 (exit $ac_status); }; } &&
42066 { ac_try
='test -s conftest.$ac_objext'
42067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42068 (eval $ac_try) 2>&5
42070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42071 (exit $ac_status); }; }; then
42076 echo "$as_me: failed program was:" >&5
42077 sed 's/^/| /' conftest.
$ac_ext >&5
42084 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42087 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
42088 echo "${ECHO_T}$wx_cv_gcc31" >&6
42089 if test "$wx_cv_gcc31" = "no"; then
42092 cat <<EOF >shared-ld-sh
42094 #-----------------------------------------------------------------------------
42095 #-- Name: distrib/mac/shared-ld-sh
42096 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
42097 #-- Author: Gilles Depeyrot
42098 #-- Copyright: (c) 2002 Gilles Depeyrot
42099 #-- Licence: any use permitted
42100 #-----------------------------------------------------------------------------
42105 linking_flag="-dynamiclib"
42107 while test ${D}# -gt 0; do
42114 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
42115 # collect these options and values
42116 args="${D}{args} ${D}1 ${D}2"
42120 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
42121 # collect these options
42122 args="${D}{args} ${D}1"
42125 -dynamiclib|-bundle)
42126 linking_flag="${D}1"
42130 echo "shared-ld: unhandled option '${D}1'"
42134 *.o | *.a | *.dylib)
42135 # collect object files
42136 objects="${D}{objects} ${D}1"
42140 echo "shared-ld: unhandled argument '${D}1'"
42149 # Link one module containing all the others
42151 if test ${D}{verbose} = 1; then
42152 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
42154 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
42156 if test ${D}{status} != 0; then
42161 # Link the shared library from the single module created
42163 if test ${D}{verbose} = 1; then
42164 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
42166 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
42168 if test ${D}{status} != 0; then
42173 # Remove intermediate module
42175 rm -f master.${D}${D}.o
42180 chmod +x shared
-ld-sh
42182 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
42183 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
42184 SHARED_LD_CXX
="$SHARED_LD_CC"
42185 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
42187 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
42188 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
42189 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
42190 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
42193 PIC_FLAG
="-dynamic -fPIC"
42197 if test "x$GCC" != "xyes"; then
42198 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
42199 set dummy makeC
++SharedLib
; ac_word
=$2
42200 echo "$as_me:$LINENO: checking for $ac_word" >&5
42201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42202 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
42203 echo $ECHO_N "(cached) $ECHO_C" >&6
42205 if test -n "$AIX_CXX_LD"; then
42206 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
42208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42209 for as_dir
in $PATH
42212 test -z "$as_dir" && as_dir
=.
42213 for ac_exec_ext
in '' $ac_executable_extensions; do
42214 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42215 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
42216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42222 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
42225 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
42226 if test -n "$AIX_CXX_LD"; then
42227 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
42228 echo "${ECHO_T}$AIX_CXX_LD" >&6
42230 echo "$as_me:$LINENO: result: no" >&5
42231 echo "${ECHO_T}no" >&6
42234 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
42235 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
42240 SHARED_LD_CC
="${LD} -nostart -o"
42241 SHARED_LD_CXX
="${LD} -nostart -o"
42245 if test "x$GCC" != "xyes"; then
42250 *-*-cygwin* | *-*-mingw32* )
42252 SHARED_LD_CC
="\$(CC) -shared -o"
42253 SHARED_LD_CXX
="\$(CXX) -shared -o"
42256 *-pc-os2_emx | *-pc-os2-emx )
42257 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42258 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42262 cat <<EOF >dllar.sh
42265 # dllar - a tool to build both a .dll and an .a file
42266 # from a set of object (.o) files for EMX/OS2.
42268 # Written by Andrew Zabolotny, bit@freya.etu.ru
42269 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
42271 # This script will accept a set of files on the command line.
42272 # All the public symbols from the .o files will be exported into
42273 # a .DEF file, then linker will be run (through gcc) against them to
42274 # build a shared library consisting of all given .o files. All libraries
42275 # (.a) will be first decompressed into component .o files then act as
42276 # described above. You can optionally give a description (-d "description")
42277 # which will be put into .DLL. To see the list of accepted options (as well
42278 # as command-line format) simply run this program without options. The .DLL
42279 # is built to be imported by name (there is no guarantee that new versions
42280 # of the library you build will have same ordinals for same symbols).
42282 # dllar is free software; you can redistribute it and/or modify
42283 # it under the terms of the GNU General Public License as published by
42284 # the Free Software Foundation; either version 2, or (at your option)
42285 # any later version.
42287 # dllar is distributed in the hope that it will be useful,
42288 # but WITHOUT ANY WARRANTY; without even the implied warranty of
42289 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
42290 # GNU General Public License for more details.
42292 # You should have received a copy of the GNU General Public License
42293 # along with dllar; see the file COPYING. If not, write to the Free
42294 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
42297 # To successfuly run this program you will need:
42298 # - Current drive should have LFN support (HPFS, ext2, network, etc)
42299 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
42301 # (used to build the .dll)
42303 # (used to create .def file from .o files)
42305 # (used to create .a file from .def file)
42306 # - GNU text utilites (cat, sort, uniq)
42307 # used to process emxexp output
42308 # - GNU file utilities (mv, rm)
42310 # - lxlite (optional, see flag below)
42311 # (used for general .dll cleanup)
42318 # basnam, variant of basename, which does _not_ remove the path, _iff_
42319 # second argument (suffix to remove) is given
42323 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
42326 echo ${D}1 | sed 's/'${D}2'${D}//'
42329 echo "error in basnam ${D}*"
42335 # Cleanup temporary files and output
42338 for i in ${D}inputFiles ; do
42341 rm -rf \`basnam ${D}i !\`
42348 # Kill result in case of failure as there is just to many stupid make/nmake
42349 # things out there which doesn't do this.
42350 if [ ${D}# -eq 0 ]; then
42351 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
42355 # Print usage and exit script with rc=1.
42357 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
42358 echo ' [-name-mangler-script script.sh]'
42359 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
42360 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
42361 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
42362 echo ' [*.o] [*.a]'
42363 echo '*> "output_file" should have no extension.'
42364 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
42365 echo ' The import library name is derived from this and is set to "name".a,'
42366 echo ' unless overridden by -import'
42367 echo '*> "importlib_name" should have no extension.'
42368 echo ' If it has the .o, or .a extension, it is automatically removed.'
42369 echo ' This name is used as the import library name and may be longer and'
42370 echo ' more descriptive than the DLL name which has to follow the old '
42371 echo ' 8.3 convention of FAT.'
42372 echo '*> "script.sh may be given to override the output_file name by a'
42373 echo ' different name. It is mainly useful if the regular make process'
42374 echo ' of some package does not take into account OS/2 restriction of'
42375 echo ' DLL name lengths. It takes the importlib name as input and is'
42376 echo ' supposed to procude a shorter name as output. The script should'
42377 echo ' expect to get importlib_name without extension and should produce'
42378 echo ' a (max.) 8 letter name without extension.'
42379 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
42380 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
42381 echo ' These flags will be put at the start of GCC command line.'
42382 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
42383 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
42384 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
42385 echo ' If the last character of a symbol is "*", all symbols beginning'
42386 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
42387 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
42388 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
42389 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
42390 echo ' C runtime DLLs.'
42391 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
42392 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
42393 echo ' unchanged to GCC at the end of command line.'
42394 echo '*> If you create a DLL from a library and you do not specify -o,'
42395 echo ' the basename for DLL and import library will be set to library name,'
42396 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
42397 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
42398 echo ' library will be renamed into gcc_s.a.'
42401 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
42402 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
42407 # Execute a command.
42408 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
42409 # @Uses Whatever CleanUp() uses.
42415 if [ ${D}rcCmd -ne 0 ]; then
42416 echo "command failed, exit code="${D}rcCmd
42431 CFLAGS="-s -Zcrtdll"
42433 EXPORT_BY_ORDINALS=0
42438 case ${D}curDirS in
42442 curDirS=${D}{curDirS}"/"
42445 # Parse commandline
42448 while [ ${D}1 ]; do
42451 EXPORT_BY_ORDINALS=1;
42461 -name-mangler-script)
42482 exclude_symbols=${D}{exclude_symbols}${D}1" "
42486 library_flags=${D}{library_flags}${D}1" "
42505 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
42508 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
42509 if [ ${D}omfLinking -eq 1 ]; then
42510 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
42512 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
42517 if [ ${D}libsToLink -ne 0 ]; then
42518 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
42520 for file in ${D}1 ; do
42521 if [ -f ${D}file ]; then
42522 inputFiles="${D}{inputFiles} ${D}file"
42526 if [ ${D}found -eq 0 ]; then
42527 echo "ERROR: No file(s) found: "${D}1
42534 done # iterate cmdline words
42537 if [ -z "${D}inputFiles" ]; then
42538 echo "dllar: no input files"
42542 # Now extract all .o files from .a files
42544 for file in ${D}inputFiles ; do
42555 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
42560 dirname=\`basnam ${D}file ${D}suffix\`"_%"
42562 if [ ${D}? -ne 0 ]; then
42563 echo "Failed to create subdirectory ./${D}dirname"
42567 # Append '!' to indicate archive
42568 newInputFiles="${D}newInputFiles ${D}{dirname}!"
42569 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
42572 for subfile in ${D}dirname/*.o* ; do
42573 if [ -f ${D}subfile ]; then
42575 if [ -s ${D}subfile ]; then
42576 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
42577 newInputFiles="${D}newInputFiles ${D}subfile"
42581 if [ ${D}found -eq 0 ]; then
42582 echo "WARNING: there are no files in archive \\'${D}file\\'"
42586 newInputFiles="${D}{newInputFiles} ${D}file"
42590 inputFiles="${D}newInputFiles"
42592 # Output filename(s).
42594 if [ -z ${D}outFile ]; then
42596 set outFile ${D}inputFiles; outFile=${D}2
42599 # If it is an archive, remove the '!' and the '_%' suffixes
42600 case ${D}outFile in
42602 outFile=\`basnam ${D}outFile _%!\`
42607 case ${D}outFile in
42609 outFile=\`basnam ${D}outFile .dll\`
42612 outFile=\`basnam ${D}outFile .DLL\`
42615 outFile=\`basnam ${D}outFile .o\`
42618 outFile=\`basnam ${D}outFile .obj\`
42621 outFile=\`basnam ${D}outFile .a\`
42624 outFile=\`basnam ${D}outFile .lib\`
42629 case ${D}outimpFile in
42631 outimpFile=\`basnam ${D}outimpFile .a\`
42634 outimpFile=\`basnam ${D}outimpFile .lib\`
42639 if [ -z ${D}outimpFile ]; then
42640 outimpFile=${D}outFile
42642 defFile="${D}{outFile}.def"
42643 arcFile="${D}{outimpFile}.a"
42644 arcFile2="${D}{outimpFile}.lib"
42646 #create ${D}dllFile as something matching 8.3 restrictions,
42647 if [ -z ${D}renameScript ] ; then
42648 dllFile="${D}outFile"
42650 dllFile=\`${D}renameScript ${D}outimpFile\`
42653 if [ ${D}do_backup -ne 0 ] ; then
42654 if [ -f ${D}arcFile ] ; then
42655 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
42657 if [ -f ${D}arcFile2 ] ; then
42658 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
42662 # Extract public symbols from all the object files.
42663 tmpdefFile=${D}{defFile}_%
42664 rm -f ${D}tmpdefFile
42665 for file in ${D}inputFiles ; do
42670 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
42675 # Create the def file.
42677 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
42678 dllFile="${D}{dllFile}.dll"
42679 if [ ! -z ${D}description ]; then
42680 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
42682 echo "EXPORTS" >> ${D}defFile
42684 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
42685 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
42687 # Checks if the export is ok or not.
42688 for word in ${D}exclude_symbols; do
42689 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
42690 mv ${D}{tmpdefFile}% ${D}tmpdefFile
42694 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
42695 sed "=" < ${D}tmpdefFile | \\
42699 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
42701 ' > ${D}{tmpdefFile}%
42702 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
42704 rm -f ${D}{tmpdefFile}%
42706 cat ${D}tmpdefFile >> ${D}defFile
42707 rm -f ${D}tmpdefFile
42709 # Do linking, create implib, and apply lxlite.
42711 for file in ${D}inputFiles ; do
42716 gccCmdl="${D}gccCmdl ${D}file"
42720 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
42721 touch "${D}{outFile}.dll"
42723 doCommand "emximp -o ${D}arcFile ${D}defFile"
42724 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
42726 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
42729 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
42731 doCommand "emxomf -s -l ${D}arcFile"
42741 powerpc
-apple-macos* | \
42742 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
42751 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
42752 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
42753 { (exit 1); exit 1; }; }
42756 if test "x$PIC_FLAG" != "x" ; then
42757 PIC_FLAG
="$PIC_FLAG -DPIC"
42760 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
42761 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
42763 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
42764 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
42781 case "${BAKEFILE_HOST}" in
42782 *-*-linux* | *-*-freebsd* )
42783 SONAME_FLAG
="-Wl,-soname,"
42811 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
42812 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
42815 if test "x$GCC" = "xyes"; then
42818 case "${BAKEFILE_HOST}" in
42819 powerpc
-*-darwin* )
42820 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
42823 DEPSFLAG_GCC
="-MMD"
42826 echo "$as_me:$LINENO: result: gcc" >&5
42827 echo "${ECHO_T}gcc" >&6
42828 elif test "x$MWCC" = "xyes"; then
42831 DEPSFLAG_MWCC
="-MM"
42832 echo "$as_me:$LINENO: result: mwcc" >&5
42833 echo "${ECHO_T}mwcc" >&6
42835 echo "$as_me:$LINENO: result: none" >&5
42836 echo "${ECHO_T}none" >&6
42839 if test $DEPS_TRACKING = 1 ; then
42845 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
42846 # script. It is used to track C/C++ files dependencies in portable way.
42848 # Permission is given to use this file in any way.
42850 DEPSMODE=${DEPSMODE}
42852 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
42853 DEPSFLAG_MWCC="${DEPSFLAG_MWCC}"
42855 mkdir -p ${D}DEPSDIR
42857 if test ${D}DEPSMODE = gcc ; then
42858 ${D}* ${D}{DEPSFLAG_GCC}
42860 if test ${D}{status} != 0 ; then
42863 # move created file to the location we want it in:
42864 while test ${D}# -gt 0; do
42878 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
42879 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
42880 if test -f ${D}depfile ; then
42881 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
42884 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
42885 if test -f ${D}depfile ; then
42886 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
42891 elif test ${D}DEPSMODE = mwcc ; then
42894 if test ${D}{status} != 0 ; then
42897 # Run mwcc again with -MM and redirect into the dep file we want
42898 # NOTE: We can't use shift here because we need ${D}* to be valid
42900 for arg in ${D}* ; do
42901 if test "${D}prevarg" = "-o"; then
42914 ${D}* ${D}DEPSFLAG_MWCC >${D}{DEPSDIR}/${D}{objfile}.d
42931 case ${BAKEFILE_HOST} in
42932 *-*-cygwin* | *-*-mingw32* )
42933 if test "$build" != "$host" ; then
42934 RESCOMP
=$host_alias-windres
42936 # Extract the first word of "windres", so it can be a program name with args.
42937 set dummy windres
; ac_word
=$2
42938 echo "$as_me:$LINENO: checking for $ac_word" >&5
42939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42940 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42941 echo $ECHO_N "(cached) $ECHO_C" >&6
42943 if test -n "$RESCOMP"; then
42944 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
42946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42947 for as_dir
in $PATH
42950 test -z "$as_dir" && as_dir
=.
42951 for ac_exec_ext
in '' $ac_executable_extensions; do
42952 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42953 ac_cv_prog_RESCOMP
="windres"
42954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42960 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
42963 RESCOMP
=$ac_cv_prog_RESCOMP
42964 if test -n "$RESCOMP"; then
42965 echo "$as_me:$LINENO: result: $RESCOMP" >&5
42966 echo "${ECHO_T}$RESCOMP" >&6
42968 echo "$as_me:$LINENO: result: no" >&5
42969 echo "${ECHO_T}no" >&6
42975 *-*-darwin* | powerpc
-apple-macos* )
42976 # Extract the first word of "Rez", so it can be a program name with args.
42977 set dummy Rez
; ac_word
=$2
42978 echo "$as_me:$LINENO: checking for $ac_word" >&5
42979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42980 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42981 echo $ECHO_N "(cached) $ECHO_C" >&6
42983 if test -n "$RESCOMP"; then
42984 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
42986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42987 for as_dir
in $PATH
42990 test -z "$as_dir" && as_dir
=.
42991 for ac_exec_ext
in '' $ac_executable_extensions; do
42992 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42993 ac_cv_prog_RESCOMP
="Rez"
42994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43000 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
43003 RESCOMP
=$ac_cv_prog_RESCOMP
43004 if test -n "$RESCOMP"; then
43005 echo "$as_me:$LINENO: result: $RESCOMP" >&5
43006 echo "${ECHO_T}$RESCOMP" >&6
43008 echo "$as_me:$LINENO: result: no" >&5
43009 echo "${ECHO_T}no" >&6
43012 # Extract the first word of "SetFile", so it can be a program name with args.
43013 set dummy SetFile
; ac_word
=$2
43014 echo "$as_me:$LINENO: checking for $ac_word" >&5
43015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43016 if test "${ac_cv_prog_SETFILE+set}" = set; then
43017 echo $ECHO_N "(cached) $ECHO_C" >&6
43019 if test -n "$SETFILE"; then
43020 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
43022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43023 for as_dir
in $PATH
43026 test -z "$as_dir" && as_dir
=.
43027 for ac_exec_ext
in '' $ac_executable_extensions; do
43028 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43029 ac_cv_prog_SETFILE
="SetFile"
43030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43036 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
43039 SETFILE
=$ac_cv_prog_SETFILE
43040 if test -n "$SETFILE"; then
43041 echo "$as_me:$LINENO: result: $SETFILE" >&5
43042 echo "${ECHO_T}$SETFILE" >&6
43044 echo "$as_me:$LINENO: result: no" >&5
43045 echo "${ECHO_T}no" >&6
43055 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.8"
43058 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.8"
43062 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
43063 if test "${enable_precomp_headers+set}" = set; then
43064 enableval
="$enable_precomp_headers"
43065 bk_use_pch
="$enableval"
43070 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
43071 if test "x$GCC" = "xyes"; then
43072 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
43073 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
43074 cat >conftest.
$ac_ext <<_ACEOF
43077 cat confdefs.h
>>conftest.
$ac_ext
43078 cat >>conftest.
$ac_ext <<_ACEOF
43079 /* end confdefs.h. */
43085 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
43086 #error "no pch support"
43089 #error "no pch support"
43091 #if (__GNUC__ == 3) && \
43092 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
43093 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
43094 #error "no pch support"
43101 rm -f conftest.
$ac_objext
43102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43103 (eval $ac_compile) 2>conftest.er1
43105 grep -v '^ *+' conftest.er1
>conftest.err
43107 cat conftest.err
>&5
43108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43109 (exit $ac_status); } &&
43110 { ac_try
='test -z "$ac_c_werror_flag"
43111 || test ! -s conftest.err'
43112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43113 (eval $ac_try) 2>&5
43115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43116 (exit $ac_status); }; } &&
43117 { ac_try
='test -s conftest.$ac_objext'
43118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43119 (eval $ac_try) 2>&5
43121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43122 (exit $ac_status); }; }; then
43124 echo "$as_me:$LINENO: result: yes" >&5
43125 echo "${ECHO_T}yes" >&6
43129 echo "$as_me: failed program was:" >&5
43130 sed 's/^/| /' conftest.
$ac_ext >&5
43133 echo "$as_me:$LINENO: result: no" >&5
43134 echo "${ECHO_T}no" >&6
43137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43138 if test $GCC_PCH = 1 ; then
43141 cat <<EOF >bk-make-pch
43144 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
43145 # script. It is used to generated precompiled headers.
43147 # Permission is given to use this file in any way.
43156 while test ${D}{#} -gt 0; do
43159 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
43160 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
43161 headerfile="${D}{incdir}/${D}{header}"
43165 compiler="${D}{compiler} ${D}{1}"
43169 if test "x${D}{headerfile}" = "x" ; then
43170 echo "error: can't find header ${D}{header} in include paths" >2
43172 if test -f ${D}{outfile} ; then
43173 rm -f ${D}{outfile}
43175 mkdir -p \`dirname ${D}{outfile}\`
43177 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
43179 # can do this because gcc is >= 3.4:
43180 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
43185 chmod +x bk
-make-pch
43192 COND_BUILD_DEBUG
="#"
43193 if test "x$BUILD" = "xdebug" ; then
43194 COND_BUILD_DEBUG
=""
43197 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
43198 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
43199 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
43202 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
43203 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
43204 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
43207 COND_BUILD_DEBUG_UNICODE_0
="#"
43208 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
43209 COND_BUILD_DEBUG_UNICODE_0
=""
43212 COND_BUILD_DEBUG_UNICODE_1
="#"
43213 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
43214 COND_BUILD_DEBUG_UNICODE_1
=""
43217 COND_BUILD_RELEASE
="#"
43218 if test "x$BUILD" = "xrelease" ; then
43219 COND_BUILD_RELEASE
=""
43222 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
43223 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
43224 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
43227 COND_BUILD_RELEASE_UNICODE_0
="#"
43228 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
43229 COND_BUILD_RELEASE_UNICODE_0
=""
43232 COND_BUILD_RELEASE_UNICODE_1
="#"
43233 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
43234 COND_BUILD_RELEASE_UNICODE_1
=""
43237 COND_DEBUG_FLAG_1
="#"
43238 if test "x$DEBUG_FLAG" = "x1" ; then
43239 COND_DEBUG_FLAG_1
=""
43242 COND_DEBUG_INFO_0
="#"
43243 if test "x$DEBUG_INFO" = "x0" ; then
43244 COND_DEBUG_INFO_0
=""
43247 COND_DEBUG_INFO_1
="#"
43248 if test "x$DEBUG_INFO" = "x1" ; then
43249 COND_DEBUG_INFO_1
=""
43252 COND_DEPS_TRACKING_0
="#"
43253 if test "x$DEPS_TRACKING" = "x0" ; then
43254 COND_DEPS_TRACKING_0
=""
43257 COND_DEPS_TRACKING_1
="#"
43258 if test "x$DEPS_TRACKING" = "x1" ; then
43259 COND_DEPS_TRACKING_1
=""
43263 if test "x$GCC_PCH" = "x1" ; then
43267 COND_MONOLITHIC_0
="#"
43268 if test "x$MONOLITHIC" = "x0" ; then
43269 COND_MONOLITHIC_0
=""
43272 COND_MONOLITHIC_0_SHARED_0
="#"
43273 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
43274 COND_MONOLITHIC_0_SHARED_0
=""
43277 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
43278 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
43279 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
43282 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
43283 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
43284 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
43287 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
43288 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
43289 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
43292 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
43293 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
43294 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
43297 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
43298 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
43299 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
43302 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
43303 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
43304 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
43307 COND_MONOLITHIC_0_SHARED_1
="#"
43308 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
43309 COND_MONOLITHIC_0_SHARED_1
=""
43312 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
43313 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
43314 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
43317 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
43318 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
43319 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
43322 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
43323 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
43324 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
43327 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
43328 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
43329 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
43332 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
43333 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
43334 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
43337 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
43338 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
43339 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
43342 COND_MONOLITHIC_0_USE_ODBC_1
="#"
43343 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
43344 COND_MONOLITHIC_0_USE_ODBC_1
=""
43347 COND_MONOLITHIC_1
="#"
43348 if test "x$MONOLITHIC" = "x1" ; then
43349 COND_MONOLITHIC_1
=""
43352 COND_MONOLITHIC_1_SHARED_0
="#"
43353 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
43354 COND_MONOLITHIC_1_SHARED_0
=""
43357 COND_MONOLITHIC_1_SHARED_1
="#"
43358 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
43359 COND_MONOLITHIC_1_SHARED_1
=""
43362 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
43363 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
43364 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
43367 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
43368 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
43369 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
43372 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
43373 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
43374 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
43377 COND_PLATFORM_MACOSX_1
="#"
43378 if test "x$PLATFORM_MACOSX" = "x1" ; then
43379 COND_PLATFORM_MACOSX_1
=""
43382 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
43383 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
43384 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
43387 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
43388 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
43389 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
43392 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
43393 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
43394 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
43397 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
43398 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
43399 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
43402 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
43403 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
43404 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
43407 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
43408 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43409 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
43412 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
43413 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
43414 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
43417 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
43418 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
43419 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
43422 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
43423 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
43424 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
43427 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
43428 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
43429 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
43432 COND_PLATFORM_MACOS_1
="#"
43433 if test "x$PLATFORM_MACOS" = "x1" ; then
43434 COND_PLATFORM_MACOS_1
=""
43437 COND_PLATFORM_MAC_1
="#"
43438 if test "x$PLATFORM_MAC" = "x1" ; then
43439 COND_PLATFORM_MAC_1
=""
43442 COND_PLATFORM_MSDOS_1
="#"
43443 if test "x$PLATFORM_MSDOS" = "x1" ; then
43444 COND_PLATFORM_MSDOS_1
=""
43447 COND_PLATFORM_OS2_1
="#"
43448 if test "x$PLATFORM_OS2" = "x1" ; then
43449 COND_PLATFORM_OS2_1
=""
43452 COND_PLATFORM_UNIX_0
="#"
43453 if test "x$PLATFORM_UNIX" = "x0" ; then
43454 COND_PLATFORM_UNIX_0
=""
43457 COND_PLATFORM_UNIX_1
="#"
43458 if test "x$PLATFORM_UNIX" = "x1" ; then
43459 COND_PLATFORM_UNIX_1
=""
43462 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
43463 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
43464 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
43467 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
43468 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
43469 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
43472 COND_PLATFORM_WIN32_0
="#"
43473 if test "x$PLATFORM_WIN32" = "x0" ; then
43474 COND_PLATFORM_WIN32_0
=""
43477 COND_PLATFORM_WIN32_1
="#"
43478 if test "x$PLATFORM_WIN32" = "x1" ; then
43479 COND_PLATFORM_WIN32_1
=""
43483 if test "x$SHARED" = "x0" ; then
43487 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
43488 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
43489 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
43492 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
43493 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
43494 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
43497 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
43498 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
43499 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
43502 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
43503 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
43504 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
43507 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
43508 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43509 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
43512 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
43513 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43514 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
43517 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
43518 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43519 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
43522 COND_SHARED_0_USE_XRC_1
="#"
43523 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
43524 COND_SHARED_0_USE_XRC_1
=""
43527 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
43528 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
43529 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
43532 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
43533 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
43534 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
43537 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
43538 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
43539 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
43542 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
43543 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
43544 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
43548 if test "x$SHARED" = "x1" ; then
43552 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
43553 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
43554 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
43557 COND_SHARED_1_USE_XRC_1
="#"
43558 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
43559 COND_SHARED_1_USE_XRC_1
=""
43563 if test "x$TOOLKIT" = "x" ; then
43567 COND_TOOLKIT_COCOA
="#"
43568 if test "x$TOOLKIT" = "xCOCOA" ; then
43569 COND_TOOLKIT_COCOA
=""
43572 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
43573 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
43574 COND_TOOLKIT_COCOA_USE_GUI_1
=""
43577 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
43578 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43579 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
43582 COND_TOOLKIT_GTK
="#"
43583 if test "x$TOOLKIT" = "xGTK" ; then
43584 COND_TOOLKIT_GTK
=""
43587 COND_TOOLKIT_GTK_USE_GUI_1
="#"
43588 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
43589 COND_TOOLKIT_GTK_USE_GUI_1
=""
43592 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
43593 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43594 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
43597 COND_TOOLKIT_MAC
="#"
43598 if test "x$TOOLKIT" = "xMAC" ; then
43599 COND_TOOLKIT_MAC
=""
43602 COND_TOOLKIT_MAC_USE_GUI_1
="#"
43603 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
43604 COND_TOOLKIT_MAC_USE_GUI_1
=""
43607 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
43608 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43609 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
43612 COND_TOOLKIT_MGL
="#"
43613 if test "x$TOOLKIT" = "xMGL" ; then
43614 COND_TOOLKIT_MGL
=""
43617 COND_TOOLKIT_MGL_USE_GUI_1
="#"
43618 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
43619 COND_TOOLKIT_MGL_USE_GUI_1
=""
43622 COND_TOOLKIT_MOTIF
="#"
43623 if test "x$TOOLKIT" = "xMOTIF" ; then
43624 COND_TOOLKIT_MOTIF
=""
43627 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
43628 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
43629 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
43632 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
43633 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43634 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
43637 COND_TOOLKIT_MSW
="#"
43638 if test "x$TOOLKIT" = "xMSW" ; then
43639 COND_TOOLKIT_MSW
=""
43642 COND_TOOLKIT_MSW_USE_GUI_1
="#"
43643 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
43644 COND_TOOLKIT_MSW_USE_GUI_1
=""
43647 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
43648 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43649 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
43652 COND_TOOLKIT_PM
="#"
43653 if test "x$TOOLKIT" = "xPM" ; then
43657 COND_TOOLKIT_PM_USE_GUI_1
="#"
43658 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
43659 COND_TOOLKIT_PM_USE_GUI_1
=""
43662 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
43663 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43664 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
43667 COND_TOOLKIT_WINCE
="#"
43668 if test "x$TOOLKIT" = "xWINCE" ; then
43669 COND_TOOLKIT_WINCE
=""
43672 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
43673 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
43674 COND_TOOLKIT_WINCE_USE_GUI_1
=""
43677 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
43678 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43679 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
43682 COND_TOOLKIT_X11
="#"
43683 if test "x$TOOLKIT" = "xX11" ; then
43684 COND_TOOLKIT_X11
=""
43687 COND_TOOLKIT_X11_USE_GUI_1
="#"
43688 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
43689 COND_TOOLKIT_X11_USE_GUI_1
=""
43693 if test "x$UNICODE" = "x1" ; then
43697 COND_USE_EXCEPTIONS_0
="#"
43698 if test "x$USE_EXCEPTIONS" = "x0" ; then
43699 COND_USE_EXCEPTIONS_0
=""
43702 COND_USE_EXCEPTIONS_1
="#"
43703 if test "x$USE_EXCEPTIONS" = "x1" ; then
43704 COND_USE_EXCEPTIONS_1
=""
43708 if test "x$USE_GUI" = "x0" ; then
43713 if test "x$USE_GUI" = "x1" ; then
43717 COND_USE_GUI_1_WXUNIV_0
="#"
43718 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43719 COND_USE_GUI_1_WXUNIV_0
=""
43722 COND_USE_GUI_1_WXUNIV_1
="#"
43723 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
43724 COND_USE_GUI_1_WXUNIV_1
=""
43727 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
43728 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43729 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
43732 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
43733 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43734 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
43737 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
43738 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43739 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
43742 COND_USE_ODBC_1
="#"
43743 if test "x$USE_ODBC" = "x1" ; then
43747 COND_USE_OPENGL_1
="#"
43748 if test "x$USE_OPENGL" = "x1" ; then
43749 COND_USE_OPENGL_1
=""
43752 COND_USE_PLUGINS_0
="#"
43753 if test "x$USE_PLUGINS" = "x0" ; then
43754 COND_USE_PLUGINS_0
=""
43757 COND_USE_RTTI_0
="#"
43758 if test "x$USE_RTTI" = "x0" ; then
43762 COND_USE_RTTI_1
="#"
43763 if test "x$USE_RTTI" = "x1" ; then
43767 COND_USE_SOSYMLINKS_1
="#"
43768 if test "x$USE_SOSYMLINKS" = "x1" ; then
43769 COND_USE_SOSYMLINKS_1
=""
43772 COND_USE_SOVERLINUX_1
="#"
43773 if test "x$USE_SOVERLINUX" = "x1" ; then
43774 COND_USE_SOVERLINUX_1
=""
43777 COND_USE_SOVERSION_0
="#"
43778 if test "x$USE_SOVERSION" = "x0" ; then
43779 COND_USE_SOVERSION_0
=""
43782 COND_USE_SOVERSOLARIS_1
="#"
43783 if test "x$USE_SOVERSOLARIS" = "x1" ; then
43784 COND_USE_SOVERSOLARIS_1
=""
43787 COND_USE_THREADS_0
="#"
43788 if test "x$USE_THREADS" = "x0" ; then
43789 COND_USE_THREADS_0
=""
43792 COND_USE_THREADS_1
="#"
43793 if test "x$USE_THREADS" = "x1" ; then
43794 COND_USE_THREADS_1
=""
43798 if test "x$USE_XRC" = "x1" ; then
43802 COND_WITH_PLUGIN_SDL_1
="#"
43803 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
43804 COND_WITH_PLUGIN_SDL_1
=""
43808 if test "x$WXUNIV" = "x0" ; then
43813 if test "x$WXUNIV" = "x1" ; then
43817 COND_WXUSE_EXPAT_BUILTIN
="#"
43818 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
43819 COND_WXUSE_EXPAT_BUILTIN
=""
43822 COND_WXUSE_LIBJPEG_BUILTIN
="#"
43823 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43824 COND_WXUSE_LIBJPEG_BUILTIN
=""
43827 COND_WXUSE_LIBPNG_BUILTIN
="#"
43828 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43829 COND_WXUSE_LIBPNG_BUILTIN
=""
43832 COND_WXUSE_LIBTIFF_BUILTIN
="#"
43833 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43834 COND_WXUSE_LIBTIFF_BUILTIN
=""
43837 COND_WXUSE_ODBC_BUILTIN
="#"
43838 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
43839 COND_WXUSE_ODBC_BUILTIN
=""
43842 COND_WXUSE_REGEX_BUILTIN
="#"
43843 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
43844 COND_WXUSE_REGEX_BUILTIN
=""
43847 COND_WXUSE_ZLIB_BUILTIN
="#"
43848 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
43849 COND_WXUSE_ZLIB_BUILTIN
=""
43854 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
43855 { { 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
43856 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;}
43857 { (exit 1); exit 1; }; }
43861 if test "$wxUSE_WINE" = "yes"; then
43865 if test "$wxUSE_SHARED" = "yes"; then
43867 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
43868 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
43871 *-pc-os2_emx | *-pc-os2-emx )
43872 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43873 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43874 cp -p ${srcdir}/src
/os
2/dllnames.sh .
43875 cp -p ${srcdir}/src
/os
2/dllar.sh .
43880 EXE_LINKER
="$CXX -o"
43883 if test "$wxUSE_OMF" = "yes"; then
43885 *-pc-os2_emx | *-pc-os2-emx )
43886 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
43887 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
43888 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
43893 GCC_PRAGMA_FLAGS
=""
43895 if test $GCC_PCH = 1 ; then
43896 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43897 PCH_FLAGS
="-DWX_PRECOMP"
43900 powerpc
-*-darwin* )
43901 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43904 if test "$wxUSE_STL" = "yes" -o \
43905 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
43906 "$wxUSE_NO_RTTI" != "yes"; then
43907 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
43908 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
43909 cat >conftest.
$ac_ext <<_ACEOF
43912 cat confdefs.h
>>conftest.
$ac_ext
43913 cat >>conftest.
$ac_ext <<_ACEOF
43914 /* end confdefs.h. */
43919 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
43920 #error "Not GCC 3.2 or greater"
43927 rm -f conftest.
$ac_objext
43928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43929 (eval $ac_compile) 2>conftest.er1
43931 grep -v '^ *+' conftest.er1
>conftest.err
43933 cat conftest.err
>&5
43934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43935 (exit $ac_status); } &&
43936 { ac_try
='test -z "$ac_c_werror_flag"
43937 || test ! -s conftest.err'
43938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43939 (eval $ac_try) 2>&5
43941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43942 (exit $ac_status); }; } &&
43943 { ac_try
='test -s conftest.$ac_objext'
43944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43945 (eval $ac_try) 2>&5
43947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43948 (exit $ac_status); }; }; then
43949 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43950 echo "$as_me:$LINENO: result: yes" >&5
43951 echo "${ECHO_T}yes" >&6
43953 echo "$as_me: failed program was:" >&5
43954 sed 's/^/| /' conftest.
$ac_ext >&5
43956 echo "$as_me:$LINENO: result: no" >&5
43957 echo "${ECHO_T}no" >&6
43959 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43962 *-pc-os2_emx | *-pc-os2-emx )
43963 if test "$wxUSE_STL" = "yes"; then
43964 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
43965 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
43966 cat >conftest.
$ac_ext <<_ACEOF
43969 cat confdefs.h
>>conftest.
$ac_ext
43970 cat >>conftest.
$ac_ext <<_ACEOF
43971 /* end confdefs.h. */
43976 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
43977 #error "Not GCC 3.2 or greater"
43984 rm -f conftest.
$ac_objext
43985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43986 (eval $ac_compile) 2>conftest.er1
43988 grep -v '^ *+' conftest.er1
>conftest.err
43990 cat conftest.err
>&5
43991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43992 (exit $ac_status); } &&
43993 { ac_try
='test -z "$ac_c_werror_flag"
43994 || test ! -s conftest.err'
43995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43996 (eval $ac_try) 2>&5
43998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43999 (exit $ac_status); }; } &&
44000 { ac_try
='test -s conftest.$ac_objext'
44001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44002 (eval $ac_try) 2>&5
44004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44005 (exit $ac_status); }; }; then
44006 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
44007 echo "$as_me:$LINENO: result: yes" >&5
44008 echo "${ECHO_T}yes" >&6
44010 echo "$as_me: failed program was:" >&5
44011 sed 's/^/| /' conftest.
$ac_ext >&5
44013 echo "$as_me:$LINENO: result: no" >&5
44014 echo "${ECHO_T}no" >&6
44016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44021 CPPFLAGS
="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
44024 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
44088 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
44089 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
44090 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
44091 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
44092 echo $ECHO_N "(cached) $ECHO_C" >&6
44094 cat >conftest.
make <<\_ACEOF
44096 @
echo 'ac_maketemp="$(MAKE)"'
44098 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
44099 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
44100 if test -n "$ac_maketemp"; then
44101 eval ac_cv_prog_make_
${ac_make}_set
=yes
44103 eval ac_cv_prog_make_
${ac_make}_set
=no
44105 rm -f conftest.
make
44107 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
44108 echo "$as_me:$LINENO: result: yes" >&5
44109 echo "${ECHO_T}yes" >&6
44112 echo "$as_me:$LINENO: result: no" >&5
44113 echo "${ECHO_T}no" >&6
44114 SET_MAKE
="MAKE=${MAKE-make}"
44119 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
44122 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
44125 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
44128 ac_config_files
="$ac_config_files version-script Makefile"
44131 ac_config_commands
="$ac_config_commands wx-config
44137 if test "$wxUSE_GUI" = "yes"; then
44138 SUBDIRS
="samples demos utils contrib"
44139 else SUBDIRS
="samples utils"
44144 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
44145 if test "${with_cppunit_prefix+set}" = set; then
44146 withval
="$with_cppunit_prefix"
44147 cppunit_config_prefix
="$withval"
44149 cppunit_config_prefix
=""
44152 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
44153 if test "${with_cppunit_exec_prefix+set}" = set; then
44154 withval
="$with_cppunit_exec_prefix"
44155 cppunit_config_exec_prefix
="$withval"
44157 cppunit_config_exec_prefix
=""
44160 if test x
$cppunit_config_exec_prefix != x
; then
44161 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
44162 if test x
${CPPUNIT_CONFIG+set} != xset
; then
44163 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
44166 if test x
$cppunit_config_prefix != x
; then
44167 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
44168 if test x
${CPPUNIT_CONFIG+set} != xset
; then
44169 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
44173 # Extract the first word of "cppunit-config", so it can be a program name with args.
44174 set dummy cppunit
-config; ac_word
=$2
44175 echo "$as_me:$LINENO: checking for $ac_word" >&5
44176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44177 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
44178 echo $ECHO_N "(cached) $ECHO_C" >&6
44180 case $CPPUNIT_CONFIG in
44182 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
44185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44186 for as_dir
in $PATH
44189 test -z "$as_dir" && as_dir
=.
44190 for ac_exec_ext
in '' $ac_executable_extensions; do
44191 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44192 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44199 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
44203 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
44205 if test -n "$CPPUNIT_CONFIG"; then
44206 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
44207 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
44209 echo "$as_me:$LINENO: result: no" >&5
44210 echo "${ECHO_T}no" >&6
44213 cppunit_version_min
=1.8.0
44215 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
44216 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
44218 if test "$CPPUNIT_CONFIG" = "no" ; then
44221 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
44222 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
44223 cppunit_version
=`$CPPUNIT_CONFIG --version`
44225 cppunit_major_version
=`echo $cppunit_version | \
44226 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44227 cppunit_minor_version
=`echo $cppunit_version | \
44228 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44229 cppunit_micro_version
=`echo $cppunit_version | \
44230 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44232 cppunit_major_min
=`echo $cppunit_version_min | \
44233 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44234 cppunit_minor_min
=`echo $cppunit_version_min | \
44235 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44236 cppunit_micro_min
=`echo $cppunit_version_min | \
44237 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44239 cppunit_version_proper
=`expr \
44240 $cppunit_major_version \> $cppunit_major_min \| \
44241 $cppunit_major_version \= $cppunit_major_min \& \
44242 $cppunit_minor_version \> $cppunit_minor_min \| \
44243 $cppunit_major_version \= $cppunit_major_min \& \
44244 $cppunit_minor_version \= $cppunit_minor_min \& \
44245 $cppunit_micro_version \>= $cppunit_micro_min `
44247 if test "$cppunit_version_proper" = "1" ; then
44248 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
44249 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
44251 echo "$as_me:$LINENO: result: no" >&5
44252 echo "${ECHO_T}no" >&6
44257 if test "x$no_cppunit" = x
; then
44258 SUBDIRS
="$SUBDIRS tests"
44269 for subdir
in `echo $SUBDIRS`; do
44270 if test -d ${srcdir}/${subdir} ; then
44271 if test "$wxUSE_GUI" = "yes"; then
44272 if test ${subdir} = "samples"; then
44273 makefiles
="samples/Makefile.in $makefiles"
44274 for sample
in `echo $SAMPLES_SUBDIRS`; do
44275 if test -d $srcdir/samples
/$sample; then
44276 makefiles
="samples/$sample/Makefile.in $makefiles"
44280 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
44281 eval "disabled=\$$disabled_var"
44282 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
44283 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
44285 else if test ${subdir} = "samples"; then
44286 makefiles
="samples/Makefile.in samples/console/Makefile.in"
44287 elif test ${subdir} = "utils"; then
44289 for util
in HelpGen tex2rtf
; do
44290 if test -d $srcdir/utils
/$util ; then
44291 makefiles
="utils/$util/Makefile.in \
44292 utils/$util/src/Makefile.in \
44296 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
44300 for mkin
in $makefiles ; do
44301 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
44302 ac_config_files
="$ac_config_files $mk"
44309 cat >confcache
<<\_ACEOF
44310 # This file is a shell script that caches the results of configure
44311 # tests run on this system so they can be shared between configure
44312 # scripts and configure runs, see configure's option --config-cache.
44313 # It is not useful on other systems. If it contains results you don't
44314 # want to keep, you may remove or edit it.
44316 # config.status only pays attention to the cache file if you give it
44317 # the --recheck option to rerun configure.
44319 # `ac_cv_env_foo' variables (set or unset) will be overridden when
44320 # loading this file, other *unset* `ac_cv_foo' will be assigned the
44321 # following values.
44325 # The following way of writing the cache mishandles newlines in values,
44326 # but we know of no workaround that is simple, portable, and efficient.
44327 # So, don't put newlines in cache variables' values.
44328 # Ultrix sh set writes to stderr and can't be redirected directly,
44329 # and sets the high bit in the cache file unless we assign to the vars.
44332 case `(ac_space=' '; set | grep ac_space) 2>&1` in
44334 # `set' does not quote correctly, so add quotes (double-quote
44335 # substitution turns \\\\ into \\, and sed turns \\ into \).
44338 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
44341 # `set' quotes correctly as required by POSIX, so do not add quotes.
44343 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
44350 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
44352 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
44354 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
44355 if test -w $cache_file; then
44356 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
44357 cat confcache
>$cache_file
44359 echo "not updating unwritable cache $cache_file"
44364 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
44365 # Let make expand exec_prefix.
44366 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
44368 # VPATH may cause trouble with some makes, so we remove $(srcdir),
44369 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
44370 # trailing colons and then remove the whole line if VPATH becomes empty
44371 # (actually we leave an empty line to preserve line numbers).
44372 if test "x$srcdir" = x.
; then
44373 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
44374 s/:*\$(srcdir):*/:/;
44375 s/:*\${srcdir}:*/:/;
44377 s/^\([^=]*=[ ]*\):*/\1/;
44383 DEFS
=-DHAVE_CONFIG_H
44387 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
44388 # 1. Remove the extension, and $U if already installed.
44389 ac_i
=`echo "$ac_i" |
44390 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
44392 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
44393 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
44395 LIBOBJS
=$ac_libobjs
44397 LTLIBOBJS
=$ac_ltlibobjs
44401 : ${CONFIG_STATUS=./config.status}
44402 ac_clean_files_save
=$ac_clean_files
44403 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
44404 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
44405 echo "$as_me: creating $CONFIG_STATUS" >&6;}
44406 cat >$CONFIG_STATUS <<_ACEOF
44408 # Generated by $as_me.
44409 # Run this file to recreate the current configuration.
44410 # Compiler output produced by configure, useful for debugging
44411 # configure, is in config.log if it exists.
44414 ac_cs_recheck=false
44416 SHELL=\${CONFIG_SHELL-$SHELL}
44419 cat >>$CONFIG_STATUS <<\_ACEOF
44420 ## --------------------- ##
44421 ## M4sh Initialization. ##
44422 ## --------------------- ##
44424 # Be Bourne compatible
44425 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
44428 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
44429 # is contrary to our usage. Disable this feature.
44430 alias -g '${1+"$@"}'='"$@"'
44431 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
44434 DUALCASE
=1; export DUALCASE
# for MKS sh
44436 # Support unset when possible.
44437 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
44444 # Work around bugs in pre-3.0 UWIN ksh.
44445 $as_unset ENV MAIL MAILPATH
44452 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44453 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44454 LC_TELEPHONE LC_TIME
44456 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
44457 eval $as_var=C
; export $as_var
44463 # Required to use basename.
44464 if expr a
: '\(a\)' >/dev
/null
2>&1; then
44470 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
44471 as_basename
=basename
44477 # Name of the executable.
44478 as_me
=`$as_basename "$0" ||
44479 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
44480 X"$0" : 'X\(//\)$' \| \
44481 X"$0" : 'X\(/\)$' \| \
44482 . : '\(.\)' 2>/dev/null ||
44484 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
44485 /^X\/\(\/\/\)$/{ s//\1/; q; }
44486 /^X\/\(\/\).*/{ s//\1/; q; }
44490 # PATH needs CR, and LINENO needs CR and PATH.
44491 # Avoid depending upon Character Ranges.
44492 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
44493 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
44494 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
44495 as_cr_digits
='0123456789'
44496 as_cr_alnum
=$as_cr_Letters$as_cr_digits
44498 # The user is always right.
44499 if test "${PATH_SEPARATOR+set}" != set; then
44500 echo "#! /bin/sh" >conf$$.sh
44501 echo "exit 0" >>conf$$.sh
44503 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
44512 as_lineno_1
=$LINENO
44513 as_lineno_2
=$LINENO
44514 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
44515 test "x$as_lineno_1" != "x$as_lineno_2" &&
44516 test "x$as_lineno_3" = "x$as_lineno_2" || {
44517 # Find who we are. Look in the path if we contain no path at all
44520 *[\\/]* ) as_myself
=$0 ;;
44521 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44522 for as_dir
in $PATH
44525 test -z "$as_dir" && as_dir
=.
44526 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
44531 # We did not find ourselves, most probably we were run as `sh COMMAND'
44532 # in which case we are not to be found in the path.
44533 if test "x$as_myself" = x
; then
44536 if test ! -f "$as_myself"; then
44537 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
44538 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
44539 { (exit 1); exit 1; }; }
44541 case $CONFIG_SHELL in
44543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44544 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
44547 test -z "$as_dir" && as_dir
=.
44548 for as_base
in sh bash ksh sh5
; do
44551 if ("$as_dir/$as_base" -c '
44552 as_lineno_1=$LINENO
44553 as_lineno_2=$LINENO
44554 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
44555 test "x$as_lineno_1" != "x$as_lineno_2" &&
44556 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
44557 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
44558 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
44559 CONFIG_SHELL
=$as_dir/$as_base
44560 export CONFIG_SHELL
44561 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
44569 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
44570 # uniformly replaced by the line number. The first 'sed' inserts a
44571 # line-number line before each line; the second 'sed' does the real
44572 # work. The second script uses 'N' to pair each line-number line
44573 # with the numbered line, and appends trailing '-' during
44574 # substitution so that $LINENO is not a special case at line end.
44575 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
44576 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
44577 sed '=' <$as_myself |
44582 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
44585 s,^['$as_cr_digits']*\n,,
44586 ' >$as_me.lineno
&&
44587 chmod +x
$as_me.lineno
||
44588 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
44589 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
44590 { (exit 1); exit 1; }; }
44592 # Don't try to exec as it changes $[0], causing all sort of problems
44593 # (the dirname of $[0] is not the place where we might find the
44594 # original and so on. Autoconf is especially sensible to this).
44596 # Exit status is that of the last command.
44601 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
44602 *c
*,-n*) ECHO_N
= ECHO_C
='
44604 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
44605 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
44608 if expr a
: '\(a\)' >/dev
/null
2>&1; then
44614 rm -f conf$$ conf$$.exe conf$$.
file
44616 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
44617 # We could just check for DJGPP; but this test a) works b) is more generic
44618 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
44619 if test -f conf$$.exe
; then
44620 # Don't use ln at all; we don't have any links
44625 elif ln conf$$.
file conf$$
2>/dev
/null
; then
44630 rm -f conf$$ conf$$.exe conf$$.
file
44632 if mkdir -p .
2>/dev
/null
; then
44635 test -d .
/-p && rmdir .
/-p
44639 as_executable_p
="test -f"
44641 # Sed expression to map a string onto a valid CPP name.
44642 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
44644 # Sed expression to map a string onto a valid variable name.
44645 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
44649 # We need space, tab and new line, in precisely that order.
44659 # Open the log real soon, to keep \$[0] and so on meaningful, and to
44660 # report actual input values of CONFIG_FILES etc. instead of their
44661 # values after options handling. Logging --version etc. is OK.
44665 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
44666 ## Running $as_me. ##
44671 This file was extended by wxWidgets $as_me 2.6.0, which was
44672 generated by GNU Autoconf 2.59. Invocation command line was
44674 CONFIG_FILES = $CONFIG_FILES
44675 CONFIG_HEADERS = $CONFIG_HEADERS
44676 CONFIG_LINKS = $CONFIG_LINKS
44677 CONFIG_COMMANDS = $CONFIG_COMMANDS
44681 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
44685 # Files that config.status was made for.
44686 if test -n "$ac_config_files"; then
44687 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
44690 if test -n "$ac_config_headers"; then
44691 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
44694 if test -n "$ac_config_links"; then
44695 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
44698 if test -n "$ac_config_commands"; then
44699 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
44702 cat >>$CONFIG_STATUS <<\_ACEOF
44705 \`$as_me' instantiates files from templates according to the
44706 current configuration.
44708 Usage: $0 [OPTIONS] [FILE]...
44710 -h, --help print this help, then exit
44711 -V, --version print version number, then exit
44712 -q, --quiet do not print progress messages
44713 -d, --debug don't remove temporary files
44714 --recheck update $as_me by reconfiguring in the same conditions
44715 --file=FILE[:TEMPLATE]
44716 instantiate the configuration file FILE
44717 --header=FILE[:TEMPLATE]
44718 instantiate the configuration header FILE
44720 Configuration files:
44723 Configuration headers:
44726 Configuration commands:
44729 Report bugs to <bug-autoconf@gnu.org>."
44732 cat >>$CONFIG_STATUS <<_ACEOF
44734 wxWidgets config.status 2.6.0
44735 configured by $0, generated by GNU Autoconf 2.59,
44736 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
44738 Copyright (C) 2003 Free Software Foundation, Inc.
44739 This config.status script is free software; the Free Software Foundation
44740 gives unlimited permission to copy, distribute and modify it."
44745 cat >>$CONFIG_STATUS <<\_ACEOF
44746 # If no file are specified by the user, then we need to provide default
44747 # value. By we need to know if files were specified by the user.
44753 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
44754 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
44762 *) # This is not an option, so the user has probably given explicit
44765 ac_need_defaults
=false
;;
44769 # Handling of the options.
44771 cat >>$CONFIG_STATUS <<\_ACEOF
44772 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
44774 --version | --vers* | -V )
44775 echo "$ac_cs_version"; exit 0 ;;
44777 # Conflict between --help and --header
44778 { { echo "$as_me:$LINENO: error: ambiguous option: $1
44779 Try \`$0 --help' for more information." >&5
44780 echo "$as_me: error: ambiguous option: $1
44781 Try \`$0 --help' for more information." >&2;}
44782 { (exit 1); exit 1; }; };;
44783 --help | --hel | -h )
44784 echo "$ac_cs_usage"; exit 0 ;;
44785 --debug | --d* | -d )
44787 --file | --fil | --fi | --f )
44789 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
44790 ac_need_defaults
=false
;;
44791 --header | --heade | --head | --hea )
44793 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
44794 ac_need_defaults
=false
;;
44795 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
44796 | -silent | --silent | --silen | --sile | --sil | --si | --s)
44799 # This is an error.
44800 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
44801 Try \`$0 --help' for more information." >&5
44802 echo "$as_me: error: unrecognized option: $1
44803 Try \`$0 --help' for more information." >&2;}
44804 { (exit 1); exit 1; }; } ;;
44806 *) ac_config_targets
="$ac_config_targets $1" ;;
44812 ac_configure_extra_args
=
44814 if $ac_cs_silent; then
44816 ac_configure_extra_args
="$ac_configure_extra_args --silent"
44820 cat >>$CONFIG_STATUS <<_ACEOF
44821 if \$ac_cs_recheck; then
44822 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
44823 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
44828 cat >>$CONFIG_STATUS <<_ACEOF
44830 # INIT-COMMANDS section.
44833 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44834 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44835 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44843 cat >>$CONFIG_STATUS <<\_ACEOF
44844 for ac_config_target
in $ac_config_targets
44846 case "$ac_config_target" in
44847 # Handling of arguments.
44848 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
44849 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
44850 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
44851 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
44852 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
44853 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
44854 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
44855 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
44856 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
44857 { (exit 1); exit 1; }; };;
44861 # If the user did not use the arguments to specify the items to instantiate,
44862 # then the envvar interface is used. Set only those that are not.
44863 # We use the long form for the default assignment because of an extremely
44864 # bizarre bug on SunOS 4.1.3.
44865 if $ac_need_defaults; then
44866 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
44867 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
44868 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
44871 # Have a temporary directory for convenience. Make it in the build tree
44872 # simply because there is no reason to put it here, and in addition,
44873 # creating and moving files from /tmp can sometimes cause problems.
44874 # Create a temporary directory, and hook for its removal unless debugging.
44877 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
44878 trap '{ (exit 1); exit 1; }' 1 2 13 15
44881 # Create a (secure) tmp directory for tmp files.
44884 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
44885 test -n "$tmp" && test -d "$tmp"
44888 tmp
=.
/confstat$$
-$RANDOM
44889 (umask 077 && mkdir $tmp)
44892 echo "$me: cannot create a temporary directory in ." >&2
44893 { (exit 1); exit 1; }
44898 cat >>$CONFIG_STATUS <<_ACEOF
44901 # CONFIG_FILES section.
44904 # No need to generate the scripts if there are no CONFIG_FILES.
44905 # This happens for instance when ./config.status config.h
44906 if test -n "\$CONFIG_FILES"; then
44907 # Protect against being on the right side of a sed subst in config.status.
44908 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
44909 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
44910 s,@SHELL@,$SHELL,;t t
44911 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
44912 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
44913 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
44914 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
44915 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
44916 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
44917 s,@exec_prefix@,$exec_prefix,;t t
44918 s,@prefix@,$prefix,;t t
44919 s,@program_transform_name@,$program_transform_name,;t t
44920 s,@bindir@,$bindir,;t t
44921 s,@sbindir@,$sbindir,;t t
44922 s,@libexecdir@,$libexecdir,;t t
44923 s,@datadir@,$datadir,;t t
44924 s,@sysconfdir@,$sysconfdir,;t t
44925 s,@sharedstatedir@,$sharedstatedir,;t t
44926 s,@localstatedir@,$localstatedir,;t t
44927 s,@libdir@,$libdir,;t t
44928 s,@includedir@,$includedir,;t t
44929 s,@oldincludedir@,$oldincludedir,;t t
44930 s,@infodir@,$infodir,;t t
44931 s,@mandir@,$mandir,;t t
44932 s,@build_alias@,$build_alias,;t t
44933 s,@host_alias@,$host_alias,;t t
44934 s,@target_alias@,$target_alias,;t t
44935 s,@DEFS@,$DEFS,;t t
44936 s,@ECHO_C@,$ECHO_C,;t t
44937 s,@ECHO_N@,$ECHO_N,;t t
44938 s,@ECHO_T@,$ECHO_T,;t t
44939 s,@LIBS@,$LIBS,;t t
44940 s,@build@,$build,;t t
44941 s,@build_cpu@,$build_cpu,;t t
44942 s,@build_vendor@,$build_vendor,;t t
44943 s,@build_os@,$build_os,;t t
44944 s,@host@,$host,;t t
44945 s,@host_cpu@,$host_cpu,;t t
44946 s,@host_vendor@,$host_vendor,;t t
44947 s,@host_os@,$host_os,;t t
44948 s,@target@,$target,;t t
44949 s,@target_cpu@,$target_cpu,;t t
44950 s,@target_vendor@,$target_vendor,;t t
44951 s,@target_os@,$target_os,;t t
44953 s,@CFLAGS@,$CFLAGS,;t t
44954 s,@LDFLAGS@,$LDFLAGS,;t t
44955 s,@CPPFLAGS@,$CPPFLAGS,;t t
44956 s,@ac_ct_CC@,$ac_ct_CC,;t t
44957 s,@EXEEXT@,$EXEEXT,;t t
44958 s,@OBJEXT@,$OBJEXT,;t t
44960 s,@EGREP@,$EGREP,;t t
44962 s,@CXXFLAGS@,$CXXFLAGS,;t t
44963 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
44964 s,@RANLIB@,$RANLIB,;t t
44965 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
44967 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
44968 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
44969 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
44970 s,@STRIP@,$STRIP,;t t
44971 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
44972 s,@LN_S@,$LN_S,;t t
44973 s,@CXXCPP@,$CXXCPP,;t t
44974 s,@subdirs@,$subdirs,;t t
44975 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
44976 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
44977 s,@GTK_LIBS@,$GTK_LIBS,;t t
44978 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
44979 s,@X_CFLAGS@,$X_CFLAGS,;t t
44980 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
44981 s,@X_LIBS@,$X_LIBS,;t t
44982 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
44983 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
44984 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
44985 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
44986 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
44987 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
44988 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
44989 s,@RESCOMP@,$RESCOMP,;t t
44990 s,@DEREZ@,$DEREZ,;t t
44991 s,@SETFILE@,$SETFILE,;t t
44992 s,@LIBICONV@,$LIBICONV,;t t
44993 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
44994 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
44995 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
44996 s,@SDL_LIBS@,$SDL_LIBS,;t t
44997 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
44998 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
44999 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
45000 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
45001 s,@GST_INSPECT@,$GST_INSPECT,;t t
45002 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
45003 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
45004 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
45005 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
45006 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
45007 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
45008 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
45009 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
45010 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
45011 s,@VENDOR@,$VENDOR,;t t
45012 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
45013 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
45014 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
45015 s,@WXUNIV@,$WXUNIV,;t t
45016 s,@MONOLITHIC@,$MONOLITHIC,;t t
45017 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
45018 s,@EXTRALIBS@,$EXTRALIBS,;t t
45019 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
45020 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
45021 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
45022 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
45023 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
45024 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
45025 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
45026 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
45027 s,@UNICODE@,$UNICODE,;t t
45028 s,@BUILD@,$BUILD,;t t
45029 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
45030 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
45031 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
45032 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
45033 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
45034 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
45035 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
45036 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
45037 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
45038 s,@SET_MAKE@,$SET_MAKE,;t t
45039 s,@MAKE_SET@,$MAKE_SET,;t t
45040 s,@ac_ct_AR@,$ac_ct_AR,;t t
45041 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
45043 s,@ac_ct_NM@,$ac_ct_NM,;t t
45044 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
45045 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
45046 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
45047 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
45048 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
45049 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
45050 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
45051 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
45052 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
45053 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
45054 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
45055 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
45056 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
45057 s,@LIBPREFIX@,$LIBPREFIX,;t t
45058 s,@LIBEXT@,$LIBEXT,;t t
45059 s,@DLLPREFIX@,$DLLPREFIX,;t t
45060 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
45061 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
45062 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
45063 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
45064 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
45065 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
45066 s,@PIC_FLAG@,$PIC_FLAG,;t t
45067 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
45068 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
45069 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
45070 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
45071 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
45072 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
45073 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
45074 s,@GCC_PCH@,$GCC_PCH,;t t
45075 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
45076 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
45077 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
45078 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
45079 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
45080 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
45081 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
45082 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
45083 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
45084 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
45085 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
45086 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
45087 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
45088 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
45089 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
45090 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
45091 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
45092 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
45093 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
45094 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
45095 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
45096 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
45097 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
45098 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
45099 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
45100 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
45101 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
45102 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
45103 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
45104 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
45105 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
45106 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
45107 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
45108 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
45109 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
45110 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
45111 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
45112 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
45113 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
45114 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
45115 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
45116 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
45117 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
45118 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
45119 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
45120 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
45121 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
45122 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
45123 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
45124 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
45125 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
45126 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
45127 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
45128 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
45129 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
45130 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
45131 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
45132 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
45133 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
45134 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
45135 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
45136 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
45137 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
45138 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
45139 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
45140 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
45141 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
45142 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
45143 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
45144 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
45145 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
45146 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
45147 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
45148 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
45149 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
45150 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
45151 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
45152 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
45153 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
45154 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
45155 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
45156 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
45157 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
45158 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
45159 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
45160 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
45161 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
45162 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
45163 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
45164 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
45165 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
45166 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
45167 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
45168 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
45169 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
45170 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
45171 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
45172 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
45173 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
45174 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
45175 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
45176 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
45177 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
45178 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
45179 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
45180 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
45181 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
45182 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
45183 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
45184 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
45185 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
45186 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
45187 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
45188 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
45189 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
45190 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
45191 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
45192 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
45193 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
45194 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
45195 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
45196 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
45197 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
45198 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
45199 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
45200 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
45201 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
45202 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
45203 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
45204 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
45205 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
45206 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
45207 s,@SHARED@,$SHARED,;t t
45208 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
45209 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
45210 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
45211 s,@USE_GUI@,$USE_GUI,;t t
45212 s,@AFMINSTALL@,$AFMINSTALL,;t t
45213 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
45214 s,@TOOLKIT@,$TOOLKIT,;t t
45215 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
45216 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
45217 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
45218 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
45219 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
45220 s,@cross_compiling@,$cross_compiling,;t t
45221 s,@WIDGET_SET@,$WIDGET_SET,;t t
45222 s,@WX_RELEASE@,$WX_RELEASE,;t t
45223 s,@WX_VERSION@,$WX_VERSION,;t t
45224 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
45225 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
45226 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
45227 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
45228 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
45229 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
45230 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
45231 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
45232 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
45233 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
45234 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
45235 s,@EXE_LINKER@,$EXE_LINKER,;t t
45236 s,@GUIDIST@,$GUIDIST,;t t
45237 s,@DISTDIR@,$DISTDIR,;t t
45238 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
45239 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
45240 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
45241 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
45242 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
45243 s,@RESFLAGS@,$RESFLAGS,;t t
45244 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
45245 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
45246 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
45247 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
45248 s,@MACRESCOMP@,$MACRESCOMP,;t t
45249 s,@MACSETFILE@,$MACSETFILE,;t t
45250 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
45252 s,@DLLTOOL@,$DLLTOOL,;t t
45253 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
45254 s,@LIBOBJS@,$LIBOBJS,;t t
45255 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
45260 cat >>$CONFIG_STATUS <<\_ACEOF
45261 # Split the substitutions into bite-sized pieces for seds with
45262 # small command number limits, like on Digital OSF/1 and HP-UX.
45263 ac_max_sed_lines
=48
45264 ac_sed_frag
=1 # Number of current file.
45265 ac_beg
=1 # First line for current file.
45266 ac_end
=$ac_max_sed_lines # Line after last line for current file.
45269 while $ac_more_lines; do
45270 if test $ac_beg -gt 1; then
45271 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
45273 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
45275 if test ! -s $tmp/subs.frag
; then
45276 ac_more_lines
=false
45278 # The purpose of the label and of the branching condition is to
45279 # speed up the sed processing (if there are no `@' at all, there
45280 # is no need to browse any of the substitutions).
45281 # These are the two extra sed commands mentioned above.
45283 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
45284 if test -z "$ac_sed_cmds"; then
45285 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
45287 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
45289 ac_sed_frag
=`expr $ac_sed_frag + 1`
45291 ac_end
=`expr $ac_end + $ac_max_sed_lines`
45294 if test -z "$ac_sed_cmds"; then
45297 fi # test -n "$CONFIG_FILES"
45300 cat >>$CONFIG_STATUS <<\_ACEOF
45301 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
45302 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
45304 - | *:- | *:-:* ) # input from stdin
45306 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
45307 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
45308 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
45309 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
45310 * ) ac_file_in
=$ac_file.
in ;;
45313 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
45314 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
45315 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45316 X"$ac_file" : 'X\(//\)[^/]' \| \
45317 X"$ac_file" : 'X\(//\)$' \| \
45318 X"$ac_file" : 'X\(/\)' \| \
45319 . : '\(.\)' 2>/dev/null ||
45321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45322 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45323 /^X\(\/\/\)$/{ s//\1/; q; }
45324 /^X\(\/\).*/{ s//\1/; q; }
45326 { if $as_mkdir_p; then
45331 while test ! -d "$as_dir"; do
45332 as_dirs
="$as_dir $as_dirs"
45333 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
45334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45335 X"$as_dir" : 'X\(//\)[^/]' \| \
45336 X"$as_dir" : 'X\(//\)$' \| \
45337 X"$as_dir" : 'X\(/\)' \| \
45338 . : '\(.\)' 2>/dev/null ||
45340 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45341 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45342 /^X\(\/\/\)$/{ s//\1/; q; }
45343 /^X\(\/\).*/{ s//\1/; q; }
45346 test ! -n "$as_dirs" || mkdir $as_dirs
45347 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45348 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45349 { (exit 1); exit 1; }; }; }
45353 if test "$ac_dir" != .
; then
45354 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45355 # A "../" for each directory in $ac_dir_suffix.
45356 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45358 ac_dir_suffix
= ac_top_builddir
=
45362 .
) # No --srcdir option. We are building in place.
45364 if test -z "$ac_top_builddir"; then
45367 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
45369 [\\/]* | ?
:[\\/]* ) # Absolute path.
45370 ac_srcdir
=$srcdir$ac_dir_suffix;
45371 ac_top_srcdir
=$srcdir ;;
45372 *) # Relative path.
45373 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
45374 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
45377 # Do not use `cd foo && pwd` to compute absolute paths, because
45378 # the directories may not exist.
45380 .
) ac_abs_builddir
="$ac_dir";;
45383 .
) ac_abs_builddir
=`pwd`;;
45384 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
45385 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
45388 case $ac_abs_builddir in
45389 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45391 case ${ac_top_builddir}.
in
45392 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
45393 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45394 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
45397 case $ac_abs_builddir in
45398 .
) ac_abs_srcdir
=$ac_srcdir;;
45401 .
) ac_abs_srcdir
=$ac_abs_builddir;;
45402 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
45403 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
45406 case $ac_abs_builddir in
45407 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
45409 case $ac_top_srcdir in
45410 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
45411 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
45412 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
45418 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
45419 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
45422 if test x
"$ac_file" != x
-; then
45423 { echo "$as_me:$LINENO: creating $ac_file" >&5
45424 echo "$as_me: creating $ac_file" >&6;}
45427 # Let's still pretend it is `configure' which instantiates (i.e., don't
45428 # use $as_me), people would be surprised to read:
45429 # /* config.h. Generated by config.status. */
45430 if test x
"$ac_file" = x
-; then
45433 configure_input
="$ac_file. "
45435 configure_input
=$configure_input"Generated from `echo $ac_file_in |
45436 sed 's,.*/,,'` by configure."
45438 # First look for the input files in the build tree, otherwise in the
45440 ac_file_inputs
=`IFS=:
45441 for f in $ac_file_in; do
45443 -) echo $tmp/stdin ;;
45445 # Absolute (can't be DOS-style, as IFS=:)
45446 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45447 echo "$as_me: error: cannot find input file: $f" >&2;}
45448 { (exit 1); exit 1; }; }
45451 if test -f "$f"; then
45454 elif test -f "$srcdir/$f"; then
45459 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45460 echo "$as_me: error: cannot find input file: $f" >&2;}
45461 { (exit 1); exit 1; }; }
45464 done` || { (exit 1); exit 1; }
45466 cat >>$CONFIG_STATUS <<_ACEOF
45470 cat >>$CONFIG_STATUS <<\_ACEOF
45472 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
45473 s
,@configure_input@
,$configure_input,;t t
45474 s
,@srcdir@
,$ac_srcdir,;t t
45475 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
45476 s
,@top_srcdir@
,$ac_top_srcdir,;t t
45477 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
45478 s
,@builddir@
,$ac_builddir,;t t
45479 s
,@abs_builddir@
,$ac_abs_builddir,;t t
45480 s
,@top_builddir@
,$ac_top_builddir,;t t
45481 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
45482 s
,@INSTALL@
,$ac_INSTALL,;t t
45483 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
45485 if test x"$ac_file" != x-; then
45486 mv $tmp/out $ac_file
45492 # Run the commands associated with the file.
45494 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
45495 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
45499 cat >>$CONFIG_STATUS <<\_ACEOF
45502 # CONFIG_HEADER section.
45505 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
45506 # NAME is the cpp macro being defined and VALUE is the value it is being given.
45508 # ac_d sets the value in "#define NAME VALUE" lines.
45509 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
45510 ac_dB
='[ ].*$,\1#\2'
45513 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
45514 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
45515 ac_uB
='$,\1#\2define\3'
45519 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
45520 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
45522 - | *:- | *:-:* ) # input from stdin
45524 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
45525 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
45526 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
45527 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
45528 * ) ac_file_in
=$ac_file.
in ;;
45531 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
45532 echo "$as_me: creating $ac_file" >&6;}
45534 # First look for the input files in the build tree, otherwise in the
45536 ac_file_inputs
=`IFS=:
45537 for f in $ac_file_in; do
45539 -) echo $tmp/stdin ;;
45541 # Absolute (can't be DOS-style, as IFS=:)
45542 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45543 echo "$as_me: error: cannot find input file: $f" >&2;}
45544 { (exit 1); exit 1; }; }
45545 # Do quote $f, to prevent DOS paths from being IFS'd.
45548 if test -f "$f"; then
45551 elif test -f "$srcdir/$f"; then
45556 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45557 echo "$as_me: error: cannot find input file: $f" >&2;}
45558 { (exit 1); exit 1; }; }
45561 done` || { (exit 1); exit 1; }
45562 # Remove the trailing spaces.
45563 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
45567 # Transform confdefs.h into two sed scripts, `conftest.defines' and
45568 # `conftest.undefs', that substitutes the proper values into
45569 # config.h.in to produce config.h. The first handles `#define'
45570 # templates, and the second `#undef' templates.
45571 # And first: Protect against being on the right side of a sed subst in
45572 # config.status. Protect against being in an unquoted here document
45573 # in config.status.
45574 rm -f conftest.defines conftest.undefs
45575 # Using a here document instead of a string reduces the quoting nightmare.
45576 # Putting comments in sed scripts is not portable.
45578 # `end' is used to avoid that the second main sed command (meant for
45579 # 0-ary CPP macros) applies to n-ary macro definitions.
45580 # See the Autoconf documentation for `clear'.
45581 cat >confdef2sed.
sed <<\_ACEOF
45586 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
45588 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
45591 # If some macros were called several times there might be several times
45592 # the same #defines, which is useless. Nevertheless, we may not want to
45593 # sort them, since we want the *last* AC-DEFINE to be honored.
45594 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
45595 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
45596 rm -f confdef2sed.sed
45598 # This sed command replaces #undef with comments. This is necessary, for
45599 # example, in the case of _POSIX_SOURCE, which is predefined and required
45600 # on some systems where configure will not decide to define it.
45601 cat >>conftest.undefs <<\_ACEOF
45602 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
45605 # Break up conftest.defines because some shells have a limit on the size
45606 # of here documents, and old seds have small limits too (100 cmds).
45607 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
45608 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
45609 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
45610 echo ' :' >>$CONFIG_STATUS
45611 rm -f conftest.tail
45612 while grep . conftest.defines >/dev/null
45614 # Write a limited-size here document to $tmp/defines.sed.
45615 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
45616 # Speed up: don't consider the non `#define' lines.
45617 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
45618 # Work around the forget-to-reset-the-flag bug.
45619 echo 't clr' >>$CONFIG_STATUS
45620 echo ': clr' >>$CONFIG_STATUS
45621 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
45623 sed -f $tmp/defines.sed $tmp/in >$tmp/out
45625 mv $tmp/out $tmp/in
45627 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
45628 rm -f conftest.defines
45629 mv conftest.
tail conftest.defines
45631 rm -f conftest.defines
45632 echo ' fi # grep' >>$CONFIG_STATUS
45633 echo >>$CONFIG_STATUS
45635 # Break up conftest.undefs because some shells have a limit on the size
45636 # of here documents, and old seds have small limits too (100 cmds).
45637 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
45638 rm -f conftest.
tail
45639 while grep . conftest.undefs
>/dev
/null
45641 # Write a limited-size here document to $tmp/undefs.sed.
45642 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
45643 # Speed up: don't consider the non
`#undef'
45644 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
45645 # Work around the forget-to-reset-the-flag bug.
45646 echo 't clr' >>$CONFIG_STATUS
45647 echo ': clr' >>$CONFIG_STATUS
45648 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
45650 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
45652 mv $tmp/out $tmp/in
45654 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
45655 rm -f conftest.undefs
45656 mv conftest.tail conftest.undefs
45658 rm -f conftest.undefs
45660 cat >>$CONFIG_STATUS <<\_ACEOF
45661 # Let's still pretend it is `configure
' which instantiates (i.e., don't
45662 # use $as_me), people would be surprised to read:
45663 # /* config.h. Generated by config.status. */
45664 if test x
"$ac_file" = x
-; then
45665 echo "/* Generated by configure. */" >$tmp/config.h
45667 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
45669 cat $tmp/in >>$tmp/config.h
45671 if test x
"$ac_file" != x
-; then
45672 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
45673 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
45674 echo "$as_me: $ac_file is unchanged" >&6;}
45676 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
45677 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45678 X"$ac_file" : 'X\(//\)[^/]' \| \
45679 X"$ac_file" : 'X\(//\)$' \| \
45680 X"$ac_file" : 'X\(/\)' \| \
45681 . : '\(.\)' 2>/dev/null ||
45683 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45684 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45685 /^X\(\/\/\)$/{ s//\1/; q; }
45686 /^X\(\/\).*/{ s//\1/; q; }
45688 { if $as_mkdir_p; then
45693 while test ! -d "$as_dir"; do
45694 as_dirs
="$as_dir $as_dirs"
45695 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
45696 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45697 X"$as_dir" : 'X\(//\)[^/]' \| \
45698 X"$as_dir" : 'X\(//\)$' \| \
45699 X"$as_dir" : 'X\(/\)' \| \
45700 . : '\(.\)' 2>/dev/null ||
45702 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45703 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45704 /^X\(\/\/\)$/{ s//\1/; q; }
45705 /^X\(\/\).*/{ s//\1/; q; }
45708 test ! -n "$as_dirs" || mkdir $as_dirs
45709 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45710 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45711 { (exit 1); exit 1; }; }; }
45714 mv $tmp/config.h
$ac_file
45718 rm -f $tmp/config.h
45722 cat >>$CONFIG_STATUS <<\_ACEOF
45725 # CONFIG_COMMANDS section.
45727 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
45728 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
45729 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
45730 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
45731 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45732 X"$ac_dest" : 'X\(//\)[^/]' \| \
45733 X"$ac_dest" : 'X\(//\)$' \| \
45734 X"$ac_dest" : 'X\(/\)' \| \
45735 . : '\(.\)' 2>/dev/null ||
45737 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45738 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45739 /^X\(\/\/\)$/{ s//\1/; q; }
45740 /^X\(\/\).*/{ s//\1/; q; }
45742 { if $as_mkdir_p; then
45747 while test ! -d "$as_dir"; do
45748 as_dirs
="$as_dir $as_dirs"
45749 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
45750 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45751 X"$as_dir" : 'X\(//\)[^/]' \| \
45752 X"$as_dir" : 'X\(//\)$' \| \
45753 X"$as_dir" : 'X\(/\)' \| \
45754 . : '\(.\)' 2>/dev/null ||
45756 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45757 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45758 /^X\(\/\/\)$/{ s//\1/; q; }
45759 /^X\(\/\).*/{ s//\1/; q; }
45762 test ! -n "$as_dirs" || mkdir $as_dirs
45763 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45764 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45765 { (exit 1); exit 1; }; }; }
45769 if test "$ac_dir" != .
; then
45770 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45771 # A "../" for each directory in $ac_dir_suffix.
45772 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45774 ac_dir_suffix
= ac_top_builddir
=
45778 .
) # No --srcdir option. We are building in place.
45780 if test -z "$ac_top_builddir"; then
45783 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
45785 [\\/]* | ?
:[\\/]* ) # Absolute path.
45786 ac_srcdir
=$srcdir$ac_dir_suffix;
45787 ac_top_srcdir
=$srcdir ;;
45788 *) # Relative path.
45789 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
45790 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
45793 # Do not use `cd foo && pwd` to compute absolute paths, because
45794 # the directories may not exist.
45796 .
) ac_abs_builddir
="$ac_dir";;
45799 .
) ac_abs_builddir
=`pwd`;;
45800 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
45801 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
45804 case $ac_abs_builddir in
45805 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45807 case ${ac_top_builddir}.
in
45808 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
45809 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45810 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
45813 case $ac_abs_builddir in
45814 .
) ac_abs_srcdir
=$ac_srcdir;;
45817 .
) ac_abs_srcdir
=$ac_abs_builddir;;
45818 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
45819 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
45822 case $ac_abs_builddir in
45823 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
45825 case $ac_top_srcdir in
45826 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
45827 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
45828 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
45833 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
45834 echo "$as_me: executing $ac_dest commands" >&6;}
45836 wx
-config ) rm -f wx
-config
45837 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
45843 cat >>$CONFIG_STATUS <<\_ACEOF
45845 { (exit 0); exit 0; }
45847 chmod +x
$CONFIG_STATUS
45848 ac_clean_files
=$ac_clean_files_save
45851 # configure is writing to config.log, and then calls config.status.
45852 # config.status does its own redirection, appending to config.log.
45853 # Unfortunately, on DOS this fails, as config.log is still kept open
45854 # by configure, so config.status won't be able to write to it; its
45855 # output is simply discarded. So we exec the FD to /dev/null,
45856 # effectively closing config.log, so it can be properly (re)opened and
45857 # appended to by config.status. When coming back to configure, we
45858 # need to make the FD available again.
45859 if test "$no_create" != yes; then
45861 ac_config_status_args
=
45862 test "$silent" = yes &&
45863 ac_config_status_args
="$ac_config_status_args --quiet"
45865 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
45867 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
45868 # would make configure fail if this is the last instruction.
45869 $ac_cs_success || { (exit 1); exit 1; }
45873 # CONFIG_SUBDIRS section.
45875 if test "$no_recursion" != yes; then
45877 # Remove --cache-file and --srcdir arguments so they do not pile up.
45878 ac_sub_configure_args
=
45880 for ac_arg
in $ac_configure_args; do
45881 if test -n "$ac_prev"; then
45886 -cache-file | --cache-file | --cache-fil | --cache-fi \
45887 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
45888 ac_prev
=cache_file
;;
45889 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
45890 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
45893 --config-cache | -C)
45895 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
45897 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
45899 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
45901 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
45903 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
45907 # Always prepend --prefix to ensure using the same prefix
45908 # in subdir configurations.
45909 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
45912 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
45914 # Do not complain, so a configure script can configure whichever
45915 # parts of a large source tree are present.
45916 test -d $srcdir/$ac_dir || continue
45918 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
45919 echo "$as_me: configuring in $ac_dir" >&6;}
45920 { if $as_mkdir_p; then
45925 while test ! -d "$as_dir"; do
45926 as_dirs
="$as_dir $as_dirs"
45927 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
45928 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45929 X"$as_dir" : 'X\(//\)[^/]' \| \
45930 X"$as_dir" : 'X\(//\)$' \| \
45931 X"$as_dir" : 'X\(/\)' \| \
45932 . : '\(.\)' 2>/dev/null ||
45934 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45935 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45936 /^X\(\/\/\)$/{ s//\1/; q; }
45937 /^X\(\/\).*/{ s//\1/; q; }
45940 test ! -n "$as_dirs" || mkdir $as_dirs
45941 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45942 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45943 { (exit 1); exit 1; }; }; }
45947 if test "$ac_dir" != .
; then
45948 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45949 # A "../" for each directory in $ac_dir_suffix.
45950 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45952 ac_dir_suffix
= ac_top_builddir
=
45956 .
) # No --srcdir option. We are building in place.
45958 if test -z "$ac_top_builddir"; then
45961 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
45963 [\\/]* | ?
:[\\/]* ) # Absolute path.
45964 ac_srcdir
=$srcdir$ac_dir_suffix;
45965 ac_top_srcdir
=$srcdir ;;
45966 *) # Relative path.
45967 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
45968 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
45971 # Do not use `cd foo && pwd` to compute absolute paths, because
45972 # the directories may not exist.
45974 .
) ac_abs_builddir
="$ac_dir";;
45977 .
) ac_abs_builddir
=`pwd`;;
45978 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
45979 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
45982 case $ac_abs_builddir in
45983 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45985 case ${ac_top_builddir}.
in
45986 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
45987 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45988 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
45991 case $ac_abs_builddir in
45992 .
) ac_abs_srcdir
=$ac_srcdir;;
45995 .
) ac_abs_srcdir
=$ac_abs_builddir;;
45996 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
45997 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
46000 case $ac_abs_builddir in
46001 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
46003 case $ac_top_srcdir in
46004 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
46005 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
46006 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
46013 # Check for guested configure; otherwise get Cygnus style configure.
46014 if test -f $ac_srcdir/configure.gnu
; then
46015 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
46016 elif test -f $ac_srcdir/configure
; then
46017 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
46018 elif test -f $ac_srcdir/configure.
in; then
46019 ac_sub_configure
=$ac_configure
46021 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
46022 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
46026 # The recursion is here.
46027 if test -n "$ac_sub_configure"; then
46028 # Make the cache file name correct relative to the subdirectory.
46029 case $cache_file in
46030 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
46031 *) # Relative path.
46032 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
46035 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
46036 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
46037 # The eval makes quoting arguments work.
46038 eval $ac_sub_configure $ac_sub_configure_args \
46039 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
46040 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
46041 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
46042 { (exit 1); exit 1; }; }
46051 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
46053 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
46054 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
46056 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
46057 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
46058 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
46060 echo " What level of wxWidgets compatibility should be enabled?"
46061 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
46062 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
46064 echo " Which libraries should wxWidgets use?"
46065 echo " jpeg ${wxUSE_LIBJPEG-none}"
46066 echo " png ${wxUSE_LIBPNG-none}"
46067 echo " regex ${wxUSE_REGEX}"
46068 echo " tiff ${wxUSE_LIBTIFF-none}"
46069 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
46070 echo " xpm ${wxUSE_LIBXPM-none}"
46072 echo " zlib ${wxUSE_ZLIB}"
46073 echo " odbc ${wxUSE_ODBC}"
46074 echo " expat ${wxUSE_EXPAT}"
46075 echo " libmspack ${wxUSE_LIBMSPACK}"
46076 echo " sdl ${wxUSE_LIBSDL}"
46077 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"