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_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
=0
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
1946 LIBS
="$LIBS -lstdc++"
1949 *-pc-os2_emx | *-pc-os2-emx )
1950 cat >>confdefs.h
<<\_ACEOF
1955 cat >>confdefs.h
<<\_ACEOF
1960 DEFAULT_DEFAULT_wxUSE_PM
=1
1962 LDFLAGS
="$LDFLAGS -Zcrtdll"
1963 ac_executable_extensions
=".exe"
1964 export ac_executable_extensions
1968 for ac_dir
in $PATH; do
1970 if test -z "$ac_TEMP_PATH"; then
1971 ac_TEMP_PATH
="$ac_dir"
1973 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1976 export PATH
="$ac_TEMP_PATH"
1985 cat >>confdefs.h
<<\_ACEOF
1989 cat >>confdefs.h
<<\_ACEOF
1990 #define __DARWIN__ 1
1993 cat >>confdefs.h
<<\_ACEOF
1994 #define TARGET_CARBON 1
1997 DEFAULT_DEFAULT_wxUSE_MAC
=1
2000 powerpc
-apple-macos* )
2002 ac_cv_c_bigendian
=yes
2004 DEFAULT_DEFAULT_wxUSE_MAC
=1
2010 cat >>confdefs.h
<<\_ACEOF
2017 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2018 echo "$as_me: error: unknown system type ${host}." >&2;}
2019 { (exit 1); exit 1; }; }
2025 wx_arg_cache_file
="configarg.cache"
2026 echo "loading argument cache $wx_arg_cache_file"
2027 rm -f ${wx_arg_cache_file}.tmp
2028 touch ${wx_arg_cache_file}.tmp
2029 touch ${wx_arg_cache_file}
2033 if test $DEBUG_CONFIGURE = 1; then
2034 DEFAULT_wxUSE_UNIVERSAL
=no
2035 DEFAULT_wxUSE_STL
=no
2037 DEFAULT_wxUSE_NANOX
=no
2039 DEFAULT_wxUSE_THREADS
=yes
2041 DEFAULT_wxUSE_SHARED
=yes
2042 DEFAULT_wxUSE_OPTIMISE
=no
2043 DEFAULT_wxUSE_PROFILE
=no
2044 DEFAULT_wxUSE_NO_DEPS
=no
2045 DEFAULT_wxUSE_NO_RTTI
=no
2046 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2047 DEFAULT_wxUSE_RPATH
=yes
2048 DEFAULT_wxUSE_PERMISSIVE
=no
2049 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2050 DEFAULT_wxUSE_DEBUG_INFO
=yes
2051 DEFAULT_wxUSE_DEBUG_GDB
=yes
2052 DEFAULT_wxUSE_MEM_TRACING
=no
2053 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2054 DEFAULT_wxUSE_DMALLOC
=no
2055 DEFAULT_wxUSE_APPLE_IEEE
=no
2057 DEFAULT_wxUSE_EXCEPTIONS
=no
2058 DEFAULT_wxUSE_LOG
=yes
2059 DEFAULT_wxUSE_LOGWINDOW
=no
2060 DEFAULT_wxUSE_LOGGUI
=no
2061 DEFAULT_wxUSE_LOGDIALOG
=no
2063 DEFAULT_wxUSE_GUI
=yes
2064 DEFAULT_wxUSE_CONTROLS
=no
2066 DEFAULT_wxUSE_REGEX
=no
2067 DEFAULT_wxUSE_XML
=no
2068 DEFAULT_wxUSE_EXPAT
=no
2069 DEFAULT_wxUSE_ZLIB
=no
2070 DEFAULT_wxUSE_LIBPNG
=no
2071 DEFAULT_wxUSE_LIBJPEG
=no
2072 DEFAULT_wxUSE_LIBTIFF
=no
2073 DEFAULT_wxUSE_LIBXPM
=no
2074 DEFAULT_wxUSE_LIBMSPACK
=no
2075 DEFAULT_wxUSE_LIBSDL
=no
2076 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2077 DEFAULT_wxUSE_ODBC
=no
2078 DEFAULT_wxUSE_OPENGL
=no
2080 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2081 DEFAULT_wxUSE_STACKWALKER
=no
2082 DEFAULT_wxUSE_DEBUGREPORT
=no
2083 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2084 DEFAULT_wxUSE_STD_IOSTREAM
=no
2085 DEFAULT_wxUSE_STD_STRING
=no
2086 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2087 DEFAULT_wxUSE_DATETIME
=no
2088 DEFAULT_wxUSE_TIMER
=no
2089 DEFAULT_wxUSE_STOPWATCH
=no
2090 DEFAULT_wxUSE_FILE
=no
2091 DEFAULT_wxUSE_FFILE
=no
2092 DEFAULT_wxUSE_STDPATHS
=no
2093 DEFAULT_wxUSE_TEXTBUFFER
=no
2094 DEFAULT_wxUSE_TEXTFILE
=no
2095 DEFAULT_wxUSE_SOUND
=no
2096 DEFAULT_wxUSE_MEDIACTRL
=no
2097 DEFAULT_wxUSE_DIRECTSHOW
=no
2098 DEFAULT_wxUSE_INTL
=no
2099 DEFAULT_wxUSE_CONFIG
=no
2100 DEFAULT_wxUSE_FONTMAP
=no
2101 DEFAULT_wxUSE_STREAMS
=no
2102 DEFAULT_wxUSE_SOCKETS
=no
2103 DEFAULT_wxUSE_OLE
=no
2104 DEFAULT_wxUSE_DATAOBJ
=no
2105 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2106 DEFAULT_wxUSE_JOYSTICK
=no
2107 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2108 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2109 DEFAULT_wxUSE_LONGLONG
=no
2110 DEFAULT_wxUSE_GEOMETRY
=no
2112 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2113 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2114 DEFAULT_wxUSE_POSTSCRIPT
=no
2116 DEFAULT_wxUSE_CLIPBOARD
=no
2117 DEFAULT_wxUSE_TOOLTIPS
=no
2118 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2119 DEFAULT_wxUSE_DRAGIMAGE
=no
2120 DEFAULT_wxUSE_SPLINES
=no
2121 DEFAULT_wxUSE_MOUSEWHEEL
=no
2123 DEFAULT_wxUSE_MDI
=no
2124 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2125 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2126 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2128 DEFAULT_wxUSE_RESOURCES
=no
2129 DEFAULT_wxUSE_CONSTRAINTS
=no
2130 DEFAULT_wxUSE_IPC
=no
2131 DEFAULT_wxUSE_HELP
=no
2132 DEFAULT_wxUSE_MS_HTML_HELP
=no
2133 DEFAULT_wxUSE_WXHTML_HELP
=no
2134 DEFAULT_wxUSE_TREELAYOUT
=no
2135 DEFAULT_wxUSE_METAFILE
=no
2136 DEFAULT_wxUSE_MIMETYPE
=no
2137 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2138 DEFAULT_wxUSE_PROTOCOL
=no
2139 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2140 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2141 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2142 DEFAULT_wxUSE_URL
=no
2144 DEFAULT_wxUSE_COMMONDLGS
=no
2145 DEFAULT_wxUSE_CHOICEDLG
=no
2146 DEFAULT_wxUSE_COLOURDLG
=no
2147 DEFAULT_wxUSE_DIRDLG
=no
2148 DEFAULT_wxUSE_FILEDLG
=no
2149 DEFAULT_wxUSE_FINDREPLDLG
=no
2150 DEFAULT_wxUSE_FONTDLG
=no
2151 DEFAULT_wxUSE_MSGDLG
=no
2152 DEFAULT_wxUSE_NUMBERDLG
=no
2153 DEFAULT_wxUSE_TEXTDLG
=no
2154 DEFAULT_wxUSE_SPLASH
=no
2155 DEFAULT_wxUSE_STARTUP_TIPS
=no
2156 DEFAULT_wxUSE_PROGRESSDLG
=no
2157 DEFAULT_wxUSE_WIZARDDLG
=no
2159 DEFAULT_wxUSE_MENUS
=no
2160 DEFAULT_wxUSE_MINIFRAME
=no
2161 DEFAULT_wxUSE_HTML
=no
2162 DEFAULT_wxUSE_XRC
=no
2163 DEFAULT_wxUSE_WEBKIT
=no
2164 DEFAULT_wxUSE_FILESYSTEM
=no
2165 DEFAULT_wxUSE_FS_INET
=no
2166 DEFAULT_wxUSE_FS_ZIP
=no
2167 DEFAULT_wxUSE_BUSYINFO
=no
2168 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2169 DEFAULT_wxUSE_ZIPSTREAM
=no
2170 DEFAULT_wxUSE_VALIDATORS
=no
2172 DEFAULT_wxUSE_ACCEL
=no
2173 DEFAULT_wxUSE_BUTTON
=no
2174 DEFAULT_wxUSE_BMPBUTTON
=no
2175 DEFAULT_wxUSE_CALCTRL
=no
2176 DEFAULT_wxUSE_CARET
=no
2177 DEFAULT_wxUSE_CHECKBOX
=no
2178 DEFAULT_wxUSE_CHECKLST
=no
2179 DEFAULT_wxUSE_CHOICE
=no
2180 DEFAULT_wxUSE_CHOICEBOOK
=no
2181 DEFAULT_wxUSE_COMBOBOX
=no
2182 DEFAULT_wxUSE_DATEPICKCTRL
=no
2183 DEFAULT_wxUSE_DISPLAY
=no
2184 DEFAULT_wxUSE_GAUGE
=no
2185 DEFAULT_wxUSE_GRID
=no
2186 DEFAULT_wxUSE_IMAGLIST
=no
2187 DEFAULT_wxUSE_LISTBOOK
=no
2188 DEFAULT_wxUSE_LISTBOX
=no
2189 DEFAULT_wxUSE_LISTCTRL
=no
2190 DEFAULT_wxUSE_NOTEBOOK
=no
2191 DEFAULT_wxUSE_RADIOBOX
=no
2192 DEFAULT_wxUSE_RADIOBTN
=no
2193 DEFAULT_wxUSE_SASH
=no
2194 DEFAULT_wxUSE_SCROLLBAR
=no
2195 DEFAULT_wxUSE_SLIDER
=no
2196 DEFAULT_wxUSE_SPINBTN
=no
2197 DEFAULT_wxUSE_SPINCTRL
=no
2198 DEFAULT_wxUSE_SPLITTER
=no
2199 DEFAULT_wxUSE_STATBMP
=no
2200 DEFAULT_wxUSE_STATBOX
=no
2201 DEFAULT_wxUSE_STATLINE
=no
2202 DEFAULT_wxUSE_STATTEXT
=no
2203 DEFAULT_wxUSE_STATUSBAR
=yes
2204 DEFAULT_wxUSE_TABDIALOG
=no
2205 DEFAULT_wxUSE_TEXTCTRL
=no
2206 DEFAULT_wxUSE_TOGGLEBTN
=no
2207 DEFAULT_wxUSE_TOOLBAR
=no
2208 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2209 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2210 DEFAULT_wxUSE_TREECTRL
=no
2211 DEFAULT_wxUSE_POPUPWIN
=no
2212 DEFAULT_wxUSE_TIPWINDOW
=no
2214 DEFAULT_wxUSE_UNICODE
=no
2215 DEFAULT_wxUSE_UNICODE_MSLU
=no
2216 DEFAULT_wxUSE_WCSRTOMBS
=no
2218 DEFAULT_wxUSE_PALETTE
=no
2219 DEFAULT_wxUSE_IMAGE
=no
2220 DEFAULT_wxUSE_GIF
=no
2221 DEFAULT_wxUSE_PCX
=no
2222 DEFAULT_wxUSE_PNM
=no
2223 DEFAULT_wxUSE_IFF
=no
2224 DEFAULT_wxUSE_XPM
=no
2225 DEFAULT_wxUSE_ICO_CUR
=no
2226 DEFAULT_wxUSE_ACCESSIBILITY
=no
2228 DEFAULT_wxUSE_MONOLITHIC
=no
2229 DEFAULT_wxUSE_PLUGINS
=no
2230 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2232 DEFAULT_wxUSE_UNIVERSAL
=no
2233 DEFAULT_wxUSE_STL
=no
2235 DEFAULT_wxUSE_NANOX
=no
2237 DEFAULT_wxUSE_THREADS
=yes
2239 DEFAULT_wxUSE_SHARED
=yes
2240 DEFAULT_wxUSE_OPTIMISE
=yes
2241 DEFAULT_wxUSE_PROFILE
=no
2242 DEFAULT_wxUSE_NO_DEPS
=no
2243 DEFAULT_wxUSE_NO_RTTI
=no
2244 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2245 DEFAULT_wxUSE_RPATH
=yes
2246 DEFAULT_wxUSE_PERMISSIVE
=no
2247 DEFAULT_wxUSE_DEBUG_FLAG
=no
2248 DEFAULT_wxUSE_DEBUG_INFO
=no
2249 DEFAULT_wxUSE_DEBUG_GDB
=no
2250 DEFAULT_wxUSE_MEM_TRACING
=no
2251 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2252 DEFAULT_wxUSE_DMALLOC
=no
2253 DEFAULT_wxUSE_APPLE_IEEE
=yes
2255 DEFAULT_wxUSE_EXCEPTIONS
=yes
2256 DEFAULT_wxUSE_LOG
=yes
2257 DEFAULT_wxUSE_LOGWINDOW
=yes
2258 DEFAULT_wxUSE_LOGGUI
=yes
2259 DEFAULT_wxUSE_LOGDIALOG
=yes
2261 DEFAULT_wxUSE_GUI
=yes
2263 DEFAULT_wxUSE_REGEX
=yes
2264 DEFAULT_wxUSE_XML
=yes
2265 DEFAULT_wxUSE_EXPAT
=yes
2266 DEFAULT_wxUSE_ZLIB
=yes
2267 DEFAULT_wxUSE_LIBPNG
=yes
2268 DEFAULT_wxUSE_LIBJPEG
=yes
2269 DEFAULT_wxUSE_LIBTIFF
=yes
2270 DEFAULT_wxUSE_LIBXPM
=yes
2271 DEFAULT_wxUSE_LIBMSPACK
=yes
2272 DEFAULT_wxUSE_LIBSDL
=no
2273 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2274 DEFAULT_wxUSE_ODBC
=no
2275 DEFAULT_wxUSE_OPENGL
=no
2277 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2278 DEFAULT_wxUSE_STACKWALKER
=yes
2279 DEFAULT_wxUSE_DEBUGREPORT
=yes
2280 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2281 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2282 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2283 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2284 DEFAULT_wxUSE_DATETIME
=yes
2285 DEFAULT_wxUSE_TIMER
=yes
2286 DEFAULT_wxUSE_STOPWATCH
=yes
2287 DEFAULT_wxUSE_FILE
=yes
2288 DEFAULT_wxUSE_FFILE
=yes
2289 DEFAULT_wxUSE_STDPATHS
=yes
2290 DEFAULT_wxUSE_TEXTBUFFER
=yes
2291 DEFAULT_wxUSE_TEXTFILE
=yes
2292 DEFAULT_wxUSE_SOUND
=yes
2293 DEFAULT_wxUSE_MEDIACTRL
=no
2294 DEFAULT_wxUSE_DIRECTSHOW
=no
2295 DEFAULT_wxUSE_INTL
=yes
2296 DEFAULT_wxUSE_CONFIG
=yes
2297 DEFAULT_wxUSE_FONTMAP
=yes
2298 DEFAULT_wxUSE_STREAMS
=yes
2299 DEFAULT_wxUSE_SOCKETS
=yes
2300 DEFAULT_wxUSE_OLE
=yes
2301 DEFAULT_wxUSE_DATAOBJ
=yes
2302 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2303 DEFAULT_wxUSE_JOYSTICK
=yes
2304 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2305 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2306 DEFAULT_wxUSE_LONGLONG
=yes
2307 DEFAULT_wxUSE_GEOMETRY
=yes
2309 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2310 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2311 DEFAULT_wxUSE_POSTSCRIPT
=yes
2313 DEFAULT_wxUSE_CLIPBOARD
=yes
2314 DEFAULT_wxUSE_TOOLTIPS
=yes
2315 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2316 DEFAULT_wxUSE_DRAGIMAGE
=yes
2317 DEFAULT_wxUSE_SPLINES
=yes
2318 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2320 DEFAULT_wxUSE_MDI
=yes
2321 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2322 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2323 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2325 DEFAULT_wxUSE_RESOURCES
=no
2326 DEFAULT_wxUSE_CONSTRAINTS
=yes
2327 DEFAULT_wxUSE_IPC
=yes
2328 DEFAULT_wxUSE_HELP
=yes
2329 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2330 DEFAULT_wxUSE_WXHTML_HELP
=yes
2331 DEFAULT_wxUSE_TREELAYOUT
=yes
2332 DEFAULT_wxUSE_METAFILE
=yes
2333 DEFAULT_wxUSE_MIMETYPE
=yes
2334 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2335 DEFAULT_wxUSE_PROTOCOL
=yes
2336 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2337 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2338 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2339 DEFAULT_wxUSE_URL
=yes
2341 DEFAULT_wxUSE_COMMONDLGS
=yes
2342 DEFAULT_wxUSE_CHOICEDLG
=yes
2343 DEFAULT_wxUSE_COLOURDLG
=yes
2344 DEFAULT_wxUSE_DIRDLG
=yes
2345 DEFAULT_wxUSE_FILEDLG
=yes
2346 DEFAULT_wxUSE_FINDREPLDLG
=yes
2347 DEFAULT_wxUSE_FONTDLG
=yes
2348 DEFAULT_wxUSE_MSGDLG
=yes
2349 DEFAULT_wxUSE_NUMBERDLG
=yes
2350 DEFAULT_wxUSE_TEXTDLG
=yes
2351 DEFAULT_wxUSE_SPLASH
=yes
2352 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2353 DEFAULT_wxUSE_PROGRESSDLG
=yes
2354 DEFAULT_wxUSE_WIZARDDLG
=yes
2356 DEFAULT_wxUSE_MENUS
=yes
2357 DEFAULT_wxUSE_MINIFRAME
=yes
2358 DEFAULT_wxUSE_HTML
=yes
2359 DEFAULT_wxUSE_XRC
=yes
2360 DEFAULT_wxUSE_WEBKIT
=yes
2361 DEFAULT_wxUSE_FILESYSTEM
=yes
2362 DEFAULT_wxUSE_FS_INET
=yes
2363 DEFAULT_wxUSE_FS_ZIP
=yes
2364 DEFAULT_wxUSE_BUSYINFO
=yes
2365 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2366 DEFAULT_wxUSE_ZIPSTREAM
=yes
2367 DEFAULT_wxUSE_VALIDATORS
=yes
2369 DEFAULT_wxUSE_ACCEL
=yes
2370 DEFAULT_wxUSE_BUTTON
=yes
2371 DEFAULT_wxUSE_BMPBUTTON
=yes
2372 DEFAULT_wxUSE_CALCTRL
=yes
2373 DEFAULT_wxUSE_CARET
=yes
2374 DEFAULT_wxUSE_CHECKBOX
=yes
2375 DEFAULT_wxUSE_CHECKLST
=yes
2376 DEFAULT_wxUSE_CHOICE
=yes
2377 DEFAULT_wxUSE_CHOICEBOOK
=yes
2378 DEFAULT_wxUSE_COMBOBOX
=yes
2379 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2380 DEFAULT_wxUSE_DISPLAY
=yes
2381 DEFAULT_wxUSE_GAUGE
=yes
2382 DEFAULT_wxUSE_GRID
=yes
2383 DEFAULT_wxUSE_IMAGLIST
=yes
2384 DEFAULT_wxUSE_LISTBOOK
=yes
2385 DEFAULT_wxUSE_LISTBOX
=yes
2386 DEFAULT_wxUSE_LISTCTRL
=yes
2387 DEFAULT_wxUSE_NOTEBOOK
=yes
2388 DEFAULT_wxUSE_RADIOBOX
=yes
2389 DEFAULT_wxUSE_RADIOBTN
=yes
2390 DEFAULT_wxUSE_SASH
=yes
2391 DEFAULT_wxUSE_SCROLLBAR
=yes
2392 DEFAULT_wxUSE_SLIDER
=yes
2393 DEFAULT_wxUSE_SPINBTN
=yes
2394 DEFAULT_wxUSE_SPINCTRL
=yes
2395 DEFAULT_wxUSE_SPLITTER
=yes
2396 DEFAULT_wxUSE_STATBMP
=yes
2397 DEFAULT_wxUSE_STATBOX
=yes
2398 DEFAULT_wxUSE_STATLINE
=yes
2399 DEFAULT_wxUSE_STATTEXT
=yes
2400 DEFAULT_wxUSE_STATUSBAR
=yes
2401 DEFAULT_wxUSE_TABDIALOG
=no
2402 DEFAULT_wxUSE_TEXTCTRL
=yes
2403 DEFAULT_wxUSE_TOGGLEBTN
=yes
2404 DEFAULT_wxUSE_TOOLBAR
=yes
2405 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2406 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2407 DEFAULT_wxUSE_TREECTRL
=yes
2408 DEFAULT_wxUSE_POPUPWIN
=yes
2409 DEFAULT_wxUSE_TIPWINDOW
=yes
2411 DEFAULT_wxUSE_UNICODE
=no
2412 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2413 DEFAULT_wxUSE_WCSRTOMBS
=no
2415 DEFAULT_wxUSE_PALETTE
=yes
2416 DEFAULT_wxUSE_IMAGE
=yes
2417 DEFAULT_wxUSE_GIF
=yes
2418 DEFAULT_wxUSE_PCX
=yes
2419 DEFAULT_wxUSE_IFF
=no
2420 DEFAULT_wxUSE_PNM
=yes
2421 DEFAULT_wxUSE_XPM
=yes
2422 DEFAULT_wxUSE_ICO_CUR
=yes
2423 DEFAULT_wxUSE_ACCESSIBILITY
=no
2425 DEFAULT_wxUSE_MONOLITHIC
=no
2426 DEFAULT_wxUSE_PLUGINS
=no
2427 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2429 DEFAULT_wxUSE_GTK2
=yes
2435 for toolkit
in `echo $ALL_TOOLKITS`; do
2436 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2437 if test "x$LINE" != "x" ; then
2438 has_toolkit_in_cache
=1
2439 eval "DEFAULT_$LINE"
2440 eval "CACHE_$toolkit=1"
2442 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2443 if test "x$LINE" != "x" ; then
2444 eval "DEFAULT_$LINE"
2452 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2453 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2455 # Check whether --enable-gui or --disable-gui was given.
2456 if test "${enable_gui+set}" = set; then
2457 enableval
="$enable_gui"
2459 if test "$enableval" = yes; then
2460 ac_cv_use_gui
='wxUSE_GUI=yes'
2462 ac_cv_use_gui
='wxUSE_GUI=no'
2467 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2468 if test "x$LINE" != x
; then
2469 eval "DEFAULT_$LINE"
2474 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2478 eval "$ac_cv_use_gui"
2479 if test "$no_cache" != 1; then
2480 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2483 if test "$wxUSE_GUI" = yes; then
2484 echo "$as_me:$LINENO: result: yes" >&5
2485 echo "${ECHO_T}yes" >&6
2487 echo "$as_me:$LINENO: result: no" >&5
2488 echo "${ECHO_T}no" >&6
2493 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2494 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2496 # Check whether --enable-monolithic or --disable-monolithic was given.
2497 if test "${enable_monolithic+set}" = set; then
2498 enableval
="$enable_monolithic"
2500 if test "$enableval" = yes; then
2501 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2503 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2508 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2509 if test "x$LINE" != x
; then
2510 eval "DEFAULT_$LINE"
2515 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2519 eval "$ac_cv_use_monolithic"
2520 if test "$no_cache" != 1; then
2521 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2524 if test "$wxUSE_MONOLITHIC" = yes; then
2525 echo "$as_me:$LINENO: result: yes" >&5
2526 echo "${ECHO_T}yes" >&6
2528 echo "$as_me:$LINENO: result: no" >&5
2529 echo "${ECHO_T}no" >&6
2534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2535 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2537 # Check whether --enable-plugins or --disable-plugins was given.
2538 if test "${enable_plugins+set}" = set; then
2539 enableval
="$enable_plugins"
2541 if test "$enableval" = yes; then
2542 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2544 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2549 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2550 if test "x$LINE" != x
; then
2551 eval "DEFAULT_$LINE"
2556 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2560 eval "$ac_cv_use_plugins"
2561 if test "$no_cache" != 1; then
2562 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2565 if test "$wxUSE_PLUGINS" = yes; then
2566 echo "$as_me:$LINENO: result: yes" >&5
2567 echo "${ECHO_T}yes" >&6
2569 echo "$as_me:$LINENO: result: no" >&5
2570 echo "${ECHO_T}no" >&6
2574 if test "$wxUSE_GUI" = "yes"; then
2578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2579 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2581 # Check whether --enable-universal or --disable-universal was given.
2582 if test "${enable_universal+set}" = set; then
2583 enableval
="$enable_universal"
2585 if test "$enableval" = yes; then
2586 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2588 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2593 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2594 if test "x$LINE" != x
; then
2595 eval "DEFAULT_$LINE"
2600 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2604 eval "$ac_cv_use_universal"
2605 if test "$no_cache" != 1; then
2606 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2609 if test "$wxUSE_UNIVERSAL" = yes; then
2610 echo "$as_me:$LINENO: result: yes" >&5
2611 echo "${ECHO_T}yes" >&6
2613 echo "$as_me:$LINENO: result: no" >&5
2614 echo "${ECHO_T}no" >&6
2618 # Check whether --with-gtk or --without-gtk was given.
2619 if test "${with_gtk+set}" = set; then
2621 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2624 # Check whether --with-motif or --without-motif was given.
2625 if test "${with_motif+set}" = set; then
2626 withval
="$with_motif"
2627 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2630 # Check whether --with-mac or --without-mac was given.
2631 if test "${with_mac+set}" = set; then
2633 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2636 # Check whether --with-cocoa or --without-cocoa was given.
2637 if test "${with_cocoa+set}" = set; then
2638 withval
="$with_cocoa"
2639 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2642 # Check whether --with-wine or --without-wine was given.
2643 if test "${with_wine+set}" = set; then
2644 withval
="$with_wine"
2645 wxUSE_WINE
="$withval" CACHE_WINE
=1
2648 # Check whether --with-msw or --without-msw was given.
2649 if test "${with_msw+set}" = set; then
2651 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2654 # Check whether --with-pm or --without-pm was given.
2655 if test "${with_pm+set}" = set; then
2657 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2660 # Check whether --with-mgl or --without-mgl was given.
2661 if test "${with_mgl+set}" = set; then
2663 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2666 # Check whether --with-microwin or --without-microwin was given.
2667 if test "${with_microwin+set}" = set; then
2668 withval
="$with_microwin"
2669 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2672 # Check whether --with-x11 or --without-x11 was given.
2673 if test "${with_x11+set}" = set; then
2675 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2680 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2682 # Check whether --enable-nanox or --disable-nanox was given.
2683 if test "${enable_nanox+set}" = set; then
2684 enableval
="$enable_nanox"
2686 if test "$enableval" = yes; then
2687 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2689 ac_cv_use_nanox
='wxUSE_NANOX=no'
2694 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2695 if test "x$LINE" != x
; then
2696 eval "DEFAULT_$LINE"
2701 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2705 eval "$ac_cv_use_nanox"
2706 if test "$no_cache" != 1; then
2707 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2710 if test "$wxUSE_NANOX" = yes; then
2711 echo "$as_me:$LINENO: result: yes" >&5
2712 echo "${ECHO_T}yes" >&6
2714 echo "$as_me:$LINENO: result: no" >&5
2715 echo "${ECHO_T}no" >&6
2719 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2720 if test "${enable_gtk2+set}" = set; then
2721 enableval
="$enable_gtk2"
2722 wxUSE_GTK2
="$enableval"
2726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2727 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2729 # Check whether --enable-gpe or --disable-gpe was given.
2730 if test "${enable_gpe+set}" = set; then
2731 enableval
="$enable_gpe"
2733 if test "$enableval" = yes; then
2734 ac_cv_use_gpe
='wxUSE_GPE=yes'
2736 ac_cv_use_gpe
='wxUSE_GPE=no'
2741 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2742 if test "x$LINE" != x
; then
2743 eval "DEFAULT_$LINE"
2748 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2752 eval "$ac_cv_use_gpe"
2753 if test "$no_cache" != 1; then
2754 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2757 if test "$wxUSE_GPE" = yes; then
2758 echo "$as_me:$LINENO: result: yes" >&5
2759 echo "${ECHO_T}yes" >&6
2761 echo "$as_me:$LINENO: result: no" >&5
2762 echo "${ECHO_T}no" >&6
2767 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2768 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2771 # Check whether --with-libpng or --without-libpng was given.
2772 if test "${with_libpng+set}" = set; then
2773 withval
="$with_libpng"
2775 if test "$withval" = yes; then
2776 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2777 elif test "$withval" = no
; then
2778 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2779 elif test "$withval" = sys
; then
2780 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2781 elif test "$withval" = builtin; then
2782 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2784 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2785 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2786 { (exit 1); exit 1; }; }
2791 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2792 if test "x$LINE" != x
; then
2793 eval "DEFAULT_$LINE"
2798 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2802 eval "$ac_cv_use_libpng"
2803 if test "$no_cache" != 1; then
2804 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2807 if test "$wxUSE_LIBPNG" = yes; then
2808 echo "$as_me:$LINENO: result: yes" >&5
2809 echo "${ECHO_T}yes" >&6
2810 elif test "$wxUSE_LIBPNG" = no
; then
2811 echo "$as_me:$LINENO: result: no" >&5
2812 echo "${ECHO_T}no" >&6
2813 elif test "$wxUSE_LIBPNG" = sys
; then
2814 echo "$as_me:$LINENO: result: system version" >&5
2815 echo "${ECHO_T}system version" >&6
2816 elif test "$wxUSE_LIBPNG" = builtin; then
2817 echo "$as_me:$LINENO: result: builtin version" >&5
2818 echo "${ECHO_T}builtin version" >&6
2820 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2821 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2822 { (exit 1); exit 1; }; }
2826 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2827 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2830 # Check whether --with-libjpeg or --without-libjpeg was given.
2831 if test "${with_libjpeg+set}" = set; then
2832 withval
="$with_libjpeg"
2834 if test "$withval" = yes; then
2835 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2836 elif test "$withval" = no
; then
2837 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2838 elif test "$withval" = sys
; then
2839 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2840 elif test "$withval" = builtin; then
2841 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2843 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2844 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2845 { (exit 1); exit 1; }; }
2850 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2851 if test "x$LINE" != x
; then
2852 eval "DEFAULT_$LINE"
2857 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2861 eval "$ac_cv_use_libjpeg"
2862 if test "$no_cache" != 1; then
2863 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2866 if test "$wxUSE_LIBJPEG" = yes; then
2867 echo "$as_me:$LINENO: result: yes" >&5
2868 echo "${ECHO_T}yes" >&6
2869 elif test "$wxUSE_LIBJPEG" = no
; then
2870 echo "$as_me:$LINENO: result: no" >&5
2871 echo "${ECHO_T}no" >&6
2872 elif test "$wxUSE_LIBJPEG" = sys
; then
2873 echo "$as_me:$LINENO: result: system version" >&5
2874 echo "${ECHO_T}system version" >&6
2875 elif test "$wxUSE_LIBJPEG" = builtin; then
2876 echo "$as_me:$LINENO: result: builtin version" >&5
2877 echo "${ECHO_T}builtin version" >&6
2879 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2880 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2881 { (exit 1); exit 1; }; }
2885 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2886 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2889 # Check whether --with-libtiff or --without-libtiff was given.
2890 if test "${with_libtiff+set}" = set; then
2891 withval
="$with_libtiff"
2893 if test "$withval" = yes; then
2894 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2895 elif test "$withval" = no
; then
2896 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2897 elif test "$withval" = sys
; then
2898 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2899 elif test "$withval" = builtin; then
2900 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2902 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2903 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2904 { (exit 1); exit 1; }; }
2909 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2910 if test "x$LINE" != x
; then
2911 eval "DEFAULT_$LINE"
2916 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2920 eval "$ac_cv_use_libtiff"
2921 if test "$no_cache" != 1; then
2922 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2925 if test "$wxUSE_LIBTIFF" = yes; then
2926 echo "$as_me:$LINENO: result: yes" >&5
2927 echo "${ECHO_T}yes" >&6
2928 elif test "$wxUSE_LIBTIFF" = no
; then
2929 echo "$as_me:$LINENO: result: no" >&5
2930 echo "${ECHO_T}no" >&6
2931 elif test "$wxUSE_LIBTIFF" = sys
; then
2932 echo "$as_me:$LINENO: result: system version" >&5
2933 echo "${ECHO_T}system version" >&6
2934 elif test "$wxUSE_LIBTIFF" = builtin; then
2935 echo "$as_me:$LINENO: result: builtin version" >&5
2936 echo "${ECHO_T}builtin version" >&6
2938 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2939 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2940 { (exit 1); exit 1; }; }
2944 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2945 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2948 # Check whether --with-libxpm or --without-libxpm was given.
2949 if test "${with_libxpm+set}" = set; then
2950 withval
="$with_libxpm"
2952 if test "$withval" = yes; then
2953 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2954 elif test "$withval" = no
; then
2955 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2956 elif test "$withval" = sys
; then
2957 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2958 elif test "$withval" = builtin; then
2959 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2961 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2962 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2963 { (exit 1); exit 1; }; }
2968 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2969 if test "x$LINE" != x
; then
2970 eval "DEFAULT_$LINE"
2975 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2979 eval "$ac_cv_use_libxpm"
2980 if test "$no_cache" != 1; then
2981 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2984 if test "$wxUSE_LIBXPM" = yes; then
2985 echo "$as_me:$LINENO: result: yes" >&5
2986 echo "${ECHO_T}yes" >&6
2987 elif test "$wxUSE_LIBXPM" = no
; then
2988 echo "$as_me:$LINENO: result: no" >&5
2989 echo "${ECHO_T}no" >&6
2990 elif test "$wxUSE_LIBXPM" = sys
; then
2991 echo "$as_me:$LINENO: result: system version" >&5
2992 echo "${ECHO_T}system version" >&6
2993 elif test "$wxUSE_LIBXPM" = builtin; then
2994 echo "$as_me:$LINENO: result: builtin version" >&5
2995 echo "${ECHO_T}builtin version" >&6
2997 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2998 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2999 { (exit 1); exit 1; }; }
3003 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3004 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3007 # Check whether --with-libmspack or --without-libmspack was given.
3008 if test "${with_libmspack+set}" = set; then
3009 withval
="$with_libmspack"
3011 if test "$withval" = yes; then
3012 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3014 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3019 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3020 if test "x$LINE" != x
; then
3021 eval "DEFAULT_$LINE"
3026 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3030 eval "$ac_cv_use_libmspack"
3031 if test "$no_cache" != 1; then
3032 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3035 if test "$wxUSE_LIBMSPACK" = yes; then
3036 echo "$as_me:$LINENO: result: yes" >&5
3037 echo "${ECHO_T}yes" >&6
3039 echo "$as_me:$LINENO: result: no" >&5
3040 echo "${ECHO_T}no" >&6
3044 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3045 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3048 # Check whether --with-sdl or --without-sdl was given.
3049 if test "${with_sdl+set}" = set; then
3052 if test "$withval" = yes; then
3053 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3055 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3060 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3061 if test "x$LINE" != x
; then
3062 eval "DEFAULT_$LINE"
3067 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3071 eval "$ac_cv_use_sdl"
3072 if test "$no_cache" != 1; then
3073 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3076 if test "$wxUSE_LIBSDL" = yes; then
3077 echo "$as_me:$LINENO: result: yes" >&5
3078 echo "${ECHO_T}yes" >&6
3080 echo "$as_me:$LINENO: result: no" >&5
3081 echo "${ECHO_T}no" >&6
3085 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3086 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3089 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3090 if test "${with_gnomeprint+set}" = set; then
3091 withval
="$with_gnomeprint"
3093 if test "$withval" = yes; then
3094 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3096 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3101 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3102 if test "x$LINE" != x
; then
3103 eval "DEFAULT_$LINE"
3108 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3112 eval "$ac_cv_use_gnomeprint"
3113 if test "$no_cache" != 1; then
3114 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3117 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3118 echo "$as_me:$LINENO: result: yes" >&5
3119 echo "${ECHO_T}yes" >&6
3121 echo "$as_me:$LINENO: result: no" >&5
3122 echo "${ECHO_T}no" >&6
3126 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3127 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3130 # Check whether --with-opengl or --without-opengl was given.
3131 if test "${with_opengl+set}" = set; then
3132 withval
="$with_opengl"
3134 if test "$withval" = yes; then
3135 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3137 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3142 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3143 if test "x$LINE" != x
; then
3144 eval "DEFAULT_$LINE"
3149 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3153 eval "$ac_cv_use_opengl"
3154 if test "$no_cache" != 1; then
3155 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3158 if test "$wxUSE_OPENGL" = yes; then
3159 echo "$as_me:$LINENO: result: yes" >&5
3160 echo "${ECHO_T}yes" >&6
3162 echo "$as_me:$LINENO: result: no" >&5
3163 echo "${ECHO_T}no" >&6
3170 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3171 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3174 # Check whether --with-dmalloc or --without-dmalloc was given.
3175 if test "${with_dmalloc+set}" = set; then
3176 withval
="$with_dmalloc"
3178 if test "$withval" = yes; then
3179 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3181 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3186 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3187 if test "x$LINE" != x
; then
3188 eval "DEFAULT_$LINE"
3193 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3197 eval "$ac_cv_use_dmalloc"
3198 if test "$no_cache" != 1; then
3199 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3202 if test "$wxUSE_DMALLOC" = yes; then
3203 echo "$as_me:$LINENO: result: yes" >&5
3204 echo "${ECHO_T}yes" >&6
3206 echo "$as_me:$LINENO: result: no" >&5
3207 echo "${ECHO_T}no" >&6
3211 echo "$as_me:$LINENO: checking for --with-regex" >&5
3212 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3215 # Check whether --with-regex or --without-regex was given.
3216 if test "${with_regex+set}" = set; then
3217 withval
="$with_regex"
3219 if test "$withval" = yes; then
3220 ac_cv_use_regex
='wxUSE_REGEX=yes'
3221 elif test "$withval" = no
; then
3222 ac_cv_use_regex
='wxUSE_REGEX=no'
3223 elif test "$withval" = sys
; then
3224 ac_cv_use_regex
='wxUSE_REGEX=sys'
3225 elif test "$withval" = builtin; then
3226 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3228 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3229 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3230 { (exit 1); exit 1; }; }
3235 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3236 if test "x$LINE" != x
; then
3237 eval "DEFAULT_$LINE"
3242 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3246 eval "$ac_cv_use_regex"
3247 if test "$no_cache" != 1; then
3248 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3251 if test "$wxUSE_REGEX" = yes; then
3252 echo "$as_me:$LINENO: result: yes" >&5
3253 echo "${ECHO_T}yes" >&6
3254 elif test "$wxUSE_REGEX" = no
; then
3255 echo "$as_me:$LINENO: result: no" >&5
3256 echo "${ECHO_T}no" >&6
3257 elif test "$wxUSE_REGEX" = sys
; then
3258 echo "$as_me:$LINENO: result: system version" >&5
3259 echo "${ECHO_T}system version" >&6
3260 elif test "$wxUSE_REGEX" = builtin; then
3261 echo "$as_me:$LINENO: result: builtin version" >&5
3262 echo "${ECHO_T}builtin version" >&6
3264 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3265 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3266 { (exit 1); exit 1; }; }
3270 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3271 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3274 # Check whether --with-zlib or --without-zlib was given.
3275 if test "${with_zlib+set}" = set; then
3276 withval
="$with_zlib"
3278 if test "$withval" = yes; then
3279 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3280 elif test "$withval" = no
; then
3281 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3282 elif test "$withval" = sys
; then
3283 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3284 elif test "$withval" = builtin; then
3285 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3287 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3288 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3289 { (exit 1); exit 1; }; }
3294 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3295 if test "x$LINE" != x
; then
3296 eval "DEFAULT_$LINE"
3301 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3305 eval "$ac_cv_use_zlib"
3306 if test "$no_cache" != 1; then
3307 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3310 if test "$wxUSE_ZLIB" = yes; then
3311 echo "$as_me:$LINENO: result: yes" >&5
3312 echo "${ECHO_T}yes" >&6
3313 elif test "$wxUSE_ZLIB" = no
; then
3314 echo "$as_me:$LINENO: result: no" >&5
3315 echo "${ECHO_T}no" >&6
3316 elif test "$wxUSE_ZLIB" = sys
; then
3317 echo "$as_me:$LINENO: result: system version" >&5
3318 echo "${ECHO_T}system version" >&6
3319 elif test "$wxUSE_ZLIB" = builtin; then
3320 echo "$as_me:$LINENO: result: builtin version" >&5
3321 echo "${ECHO_T}builtin version" >&6
3323 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3324 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3325 { (exit 1); exit 1; }; }
3329 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3330 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3333 # Check whether --with-odbc or --without-odbc was given.
3334 if test "${with_odbc+set}" = set; then
3335 withval
="$with_odbc"
3337 if test "$withval" = yes; then
3338 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3339 elif test "$withval" = no
; then
3340 ac_cv_use_odbc
='wxUSE_ODBC=no'
3341 elif test "$withval" = sys
; then
3342 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3343 elif test "$withval" = builtin; then
3344 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3346 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3347 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3348 { (exit 1); exit 1; }; }
3353 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3354 if test "x$LINE" != x
; then
3355 eval "DEFAULT_$LINE"
3360 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3364 eval "$ac_cv_use_odbc"
3365 if test "$no_cache" != 1; then
3366 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3369 if test "$wxUSE_ODBC" = yes; then
3370 echo "$as_me:$LINENO: result: yes" >&5
3371 echo "${ECHO_T}yes" >&6
3372 elif test "$wxUSE_ODBC" = no
; then
3373 echo "$as_me:$LINENO: result: no" >&5
3374 echo "${ECHO_T}no" >&6
3375 elif test "$wxUSE_ODBC" = sys
; then
3376 echo "$as_me:$LINENO: result: system version" >&5
3377 echo "${ECHO_T}system version" >&6
3378 elif test "$wxUSE_ODBC" = builtin; then
3379 echo "$as_me:$LINENO: result: builtin version" >&5
3380 echo "${ECHO_T}builtin version" >&6
3382 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3383 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3384 { (exit 1); exit 1; }; }
3388 echo "$as_me:$LINENO: checking for --with-expat" >&5
3389 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3392 # Check whether --with-expat or --without-expat was given.
3393 if test "${with_expat+set}" = set; then
3394 withval
="$with_expat"
3396 if test "$withval" = yes; then
3397 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3398 elif test "$withval" = no
; then
3399 ac_cv_use_expat
='wxUSE_EXPAT=no'
3400 elif test "$withval" = sys
; then
3401 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3402 elif test "$withval" = builtin; then
3403 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3405 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3406 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3407 { (exit 1); exit 1; }; }
3412 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3413 if test "x$LINE" != x
; then
3414 eval "DEFAULT_$LINE"
3419 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3423 eval "$ac_cv_use_expat"
3424 if test "$no_cache" != 1; then
3425 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3428 if test "$wxUSE_EXPAT" = yes; then
3429 echo "$as_me:$LINENO: result: yes" >&5
3430 echo "${ECHO_T}yes" >&6
3431 elif test "$wxUSE_EXPAT" = no
; then
3432 echo "$as_me:$LINENO: result: no" >&5
3433 echo "${ECHO_T}no" >&6
3434 elif test "$wxUSE_EXPAT" = sys
; then
3435 echo "$as_me:$LINENO: result: system version" >&5
3436 echo "${ECHO_T}system version" >&6
3437 elif test "$wxUSE_EXPAT" = builtin; then
3438 echo "$as_me:$LINENO: result: builtin version" >&5
3439 echo "${ECHO_T}builtin version" >&6
3441 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3442 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3443 { (exit 1); exit 1; }; }
3450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3451 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3453 # Check whether --enable-shared or --disable-shared was given.
3454 if test "${enable_shared+set}" = set; then
3455 enableval
="$enable_shared"
3457 if test "$enableval" = yes; then
3458 ac_cv_use_shared
='wxUSE_SHARED=yes'
3460 ac_cv_use_shared
='wxUSE_SHARED=no'
3465 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3466 if test "x$LINE" != x
; then
3467 eval "DEFAULT_$LINE"
3472 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3476 eval "$ac_cv_use_shared"
3477 if test "$no_cache" != 1; then
3478 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3481 if test "$wxUSE_SHARED" = yes; then
3482 echo "$as_me:$LINENO: result: yes" >&5
3483 echo "${ECHO_T}yes" >&6
3485 echo "$as_me:$LINENO: result: no" >&5
3486 echo "${ECHO_T}no" >&6
3491 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3492 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3494 # Check whether --enable-optimise or --disable-optimise was given.
3495 if test "${enable_optimise+set}" = set; then
3496 enableval
="$enable_optimise"
3498 if test "$enableval" = yes; then
3499 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3501 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3506 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3507 if test "x$LINE" != x
; then
3508 eval "DEFAULT_$LINE"
3513 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3517 eval "$ac_cv_use_optimise"
3518 if test "$no_cache" != 1; then
3519 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3522 if test "$wxUSE_OPTIMISE" = yes; then
3523 echo "$as_me:$LINENO: result: yes" >&5
3524 echo "${ECHO_T}yes" >&6
3526 echo "$as_me:$LINENO: result: no" >&5
3527 echo "${ECHO_T}no" >&6
3532 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3533 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3535 # Check whether --enable-debug or --disable-debug was given.
3536 if test "${enable_debug+set}" = set; then
3537 enableval
="$enable_debug"
3539 if test "$enableval" = yes; then
3540 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3542 ac_cv_use_debug
='wxUSE_DEBUG=no'
3547 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3548 if test "x$LINE" != x
; then
3549 eval "DEFAULT_$LINE"
3554 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3558 eval "$ac_cv_use_debug"
3559 if test "$no_cache" != 1; then
3560 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3563 if test "$wxUSE_DEBUG" = yes; then
3564 echo "$as_me:$LINENO: result: yes" >&5
3565 echo "${ECHO_T}yes" >&6
3567 echo "$as_me:$LINENO: result: no" >&5
3568 echo "${ECHO_T}no" >&6
3573 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3574 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3576 # Check whether --enable-stl or --disable-stl was given.
3577 if test "${enable_stl+set}" = set; then
3578 enableval
="$enable_stl"
3580 if test "$enableval" = yes; then
3581 ac_cv_use_stl
='wxUSE_STL=yes'
3583 ac_cv_use_stl
='wxUSE_STL=no'
3588 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3589 if test "x$LINE" != x
; then
3590 eval "DEFAULT_$LINE"
3595 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3599 eval "$ac_cv_use_stl"
3600 if test "$no_cache" != 1; then
3601 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3604 if test "$wxUSE_STL" = yes; then
3605 echo "$as_me:$LINENO: result: yes" >&5
3606 echo "${ECHO_T}yes" >&6
3608 echo "$as_me:$LINENO: result: no" >&5
3609 echo "${ECHO_T}no" >&6
3612 if test "$USE_OS2" = "1"; then
3613 DEFAULT_wxUSE_OMF
=no
3616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3617 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3619 # Check whether --enable-omf or --disable-omf was given.
3620 if test "${enable_omf+set}" = set; then
3621 enableval
="$enable_omf"
3623 if test "$enableval" = yes; then
3624 ac_cv_use_omf
='wxUSE_OMF=yes'
3626 ac_cv_use_omf
='wxUSE_OMF=no'
3631 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3632 if test "x$LINE" != x
; then
3633 eval "DEFAULT_$LINE"
3638 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3642 eval "$ac_cv_use_omf"
3643 if test "$no_cache" != 1; then
3644 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3647 if test "$wxUSE_OMF" = yes; then
3648 echo "$as_me:$LINENO: result: yes" >&5
3649 echo "${ECHO_T}yes" >&6
3651 echo "$as_me:$LINENO: result: no" >&5
3652 echo "${ECHO_T}no" >&6
3657 if test "$wxUSE_DEBUG" = "yes"; then
3658 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3659 DEFAULT_wxUSE_DEBUG_INFO
=yes
3661 elif test "$wxUSE_DEBUG" = "no"; then
3662 DEFAULT_wxUSE_DEBUG_FLAG
=no
3663 DEFAULT_wxUSE_DEBUG_INFO
=no
3669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3670 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3672 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3673 if test "${enable_debug_flag+set}" = set; then
3674 enableval
="$enable_debug_flag"
3676 if test "$enableval" = yes; then
3677 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3679 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3684 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3685 if test "x$LINE" != x
; then
3686 eval "DEFAULT_$LINE"
3691 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3695 eval "$ac_cv_use_debug_flag"
3696 if test "$no_cache" != 1; then
3697 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3700 if test "$wxUSE_DEBUG_FLAG" = yes; then
3701 echo "$as_me:$LINENO: result: yes" >&5
3702 echo "${ECHO_T}yes" >&6
3704 echo "$as_me:$LINENO: result: no" >&5
3705 echo "${ECHO_T}no" >&6
3710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3711 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3713 # Check whether --enable-debug_info or --disable-debug_info was given.
3714 if test "${enable_debug_info+set}" = set; then
3715 enableval
="$enable_debug_info"
3717 if test "$enableval" = yes; then
3718 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3720 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3725 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3726 if test "x$LINE" != x
; then
3727 eval "DEFAULT_$LINE"
3732 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3736 eval "$ac_cv_use_debug_info"
3737 if test "$no_cache" != 1; then
3738 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3741 if test "$wxUSE_DEBUG_INFO" = yes; then
3742 echo "$as_me:$LINENO: result: yes" >&5
3743 echo "${ECHO_T}yes" >&6
3745 echo "$as_me:$LINENO: result: no" >&5
3746 echo "${ECHO_T}no" >&6
3751 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3752 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3754 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3755 if test "${enable_debug_gdb+set}" = set; then
3756 enableval
="$enable_debug_gdb"
3758 if test "$enableval" = yes; then
3759 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3761 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3766 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3767 if test "x$LINE" != x
; then
3768 eval "DEFAULT_$LINE"
3773 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3777 eval "$ac_cv_use_debug_gdb"
3778 if test "$no_cache" != 1; then
3779 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3782 if test "$wxUSE_DEBUG_GDB" = yes; then
3783 echo "$as_me:$LINENO: result: yes" >&5
3784 echo "${ECHO_T}yes" >&6
3786 echo "$as_me:$LINENO: result: no" >&5
3787 echo "${ECHO_T}no" >&6
3792 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3793 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3795 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3796 if test "${enable_debug_cntxt+set}" = set; then
3797 enableval
="$enable_debug_cntxt"
3799 if test "$enableval" = yes; then
3800 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3802 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3807 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3808 if test "x$LINE" != x
; then
3809 eval "DEFAULT_$LINE"
3814 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3818 eval "$ac_cv_use_debug_cntxt"
3819 if test "$no_cache" != 1; then
3820 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3823 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3824 echo "$as_me:$LINENO: result: yes" >&5
3825 echo "${ECHO_T}yes" >&6
3827 echo "$as_me:$LINENO: result: no" >&5
3828 echo "${ECHO_T}no" >&6
3833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3834 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3836 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3837 if test "${enable_mem_tracing+set}" = set; then
3838 enableval
="$enable_mem_tracing"
3840 if test "$enableval" = yes; then
3841 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3843 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3848 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3849 if test "x$LINE" != x
; then
3850 eval "DEFAULT_$LINE"
3855 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3859 eval "$ac_cv_use_mem_tracing"
3860 if test "$no_cache" != 1; then
3861 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3864 if test "$wxUSE_MEM_TRACING" = yes; then
3865 echo "$as_me:$LINENO: result: yes" >&5
3866 echo "${ECHO_T}yes" >&6
3868 echo "$as_me:$LINENO: result: no" >&5
3869 echo "${ECHO_T}no" >&6
3874 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3875 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3877 # Check whether --enable-profile or --disable-profile was given.
3878 if test "${enable_profile+set}" = set; then
3879 enableval
="$enable_profile"
3881 if test "$enableval" = yes; then
3882 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3884 ac_cv_use_profile
='wxUSE_PROFILE=no'
3889 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3890 if test "x$LINE" != x
; then
3891 eval "DEFAULT_$LINE"
3896 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3900 eval "$ac_cv_use_profile"
3901 if test "$no_cache" != 1; then
3902 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3905 if test "$wxUSE_PROFILE" = yes; then
3906 echo "$as_me:$LINENO: result: yes" >&5
3907 echo "${ECHO_T}yes" >&6
3909 echo "$as_me:$LINENO: result: no" >&5
3910 echo "${ECHO_T}no" >&6
3915 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3916 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3918 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3919 if test "${enable_no_rtti+set}" = set; then
3920 enableval
="$enable_no_rtti"
3922 if test "$enableval" = yes; then
3923 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3925 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3930 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3931 if test "x$LINE" != x
; then
3932 eval "DEFAULT_$LINE"
3937 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3941 eval "$ac_cv_use_no_rtti"
3942 if test "$no_cache" != 1; then
3943 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3946 if test "$wxUSE_NO_RTTI" = yes; then
3947 echo "$as_me:$LINENO: result: yes" >&5
3948 echo "${ECHO_T}yes" >&6
3950 echo "$as_me:$LINENO: result: no" >&5
3951 echo "${ECHO_T}no" >&6
3956 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3957 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3959 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3960 if test "${enable_no_exceptions+set}" = set; then
3961 enableval
="$enable_no_exceptions"
3963 if test "$enableval" = yes; then
3964 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3966 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3971 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3972 if test "x$LINE" != x
; then
3973 eval "DEFAULT_$LINE"
3978 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3982 eval "$ac_cv_use_no_exceptions"
3983 if test "$no_cache" != 1; then
3984 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3987 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3988 echo "$as_me:$LINENO: result: yes" >&5
3989 echo "${ECHO_T}yes" >&6
3991 echo "$as_me:$LINENO: result: no" >&5
3992 echo "${ECHO_T}no" >&6
3997 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3998 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4000 # Check whether --enable-permissive or --disable-permissive was given.
4001 if test "${enable_permissive+set}" = set; then
4002 enableval
="$enable_permissive"
4004 if test "$enableval" = yes; then
4005 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4007 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4012 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4013 if test "x$LINE" != x
; then
4014 eval "DEFAULT_$LINE"
4019 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4023 eval "$ac_cv_use_permissive"
4024 if test "$no_cache" != 1; then
4025 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4028 if test "$wxUSE_PERMISSIVE" = yes; then
4029 echo "$as_me:$LINENO: result: yes" >&5
4030 echo "${ECHO_T}yes" >&6
4032 echo "$as_me:$LINENO: result: no" >&5
4033 echo "${ECHO_T}no" >&6
4038 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4039 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4041 # Check whether --enable-no_deps or --disable-no_deps was given.
4042 if test "${enable_no_deps+set}" = set; then
4043 enableval
="$enable_no_deps"
4045 if test "$enableval" = yes; then
4046 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4048 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4053 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4054 if test "x$LINE" != x
; then
4055 eval "DEFAULT_$LINE"
4060 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4064 eval "$ac_cv_use_no_deps"
4065 if test "$no_cache" != 1; then
4066 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4069 if test "$wxUSE_NO_DEPS" = yes; then
4070 echo "$as_me:$LINENO: result: yes" >&5
4071 echo "${ECHO_T}yes" >&6
4073 echo "$as_me:$LINENO: result: no" >&5
4074 echo "${ECHO_T}no" >&6
4080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4081 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4083 # Check whether --enable-compat22 or --disable-compat22 was given.
4084 if test "${enable_compat22+set}" = set; then
4085 enableval
="$enable_compat22"
4087 if test "$enableval" = yes; then
4088 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4090 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4095 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4096 if test "x$LINE" != x
; then
4097 eval "DEFAULT_$LINE"
4102 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4106 eval "$ac_cv_use_compat22"
4107 if test "$no_cache" != 1; then
4108 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4111 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4112 echo "$as_me:$LINENO: result: yes" >&5
4113 echo "${ECHO_T}yes" >&6
4115 echo "$as_me:$LINENO: result: no" >&5
4116 echo "${ECHO_T}no" >&6
4120 enablestring
=disable
4121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4122 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4124 # Check whether --enable-compat24 or --disable-compat24 was given.
4125 if test "${enable_compat24+set}" = set; then
4126 enableval
="$enable_compat24"
4128 if test "$enableval" = yes; then
4129 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4131 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4136 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4137 if test "x$LINE" != x
; then
4138 eval "DEFAULT_$LINE"
4143 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4147 eval "$ac_cv_use_compat24"
4148 if test "$no_cache" != 1; then
4149 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4152 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4153 echo "$as_me:$LINENO: result: yes" >&5
4154 echo "${ECHO_T}yes" >&6
4156 echo "$as_me:$LINENO: result: no" >&5
4157 echo "${ECHO_T}no" >&6
4163 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4164 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4166 # Check whether --enable-rpath or --disable-rpath was given.
4167 if test "${enable_rpath+set}" = set; then
4168 enableval
="$enable_rpath"
4170 if test "$enableval" = yes; then
4171 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4173 ac_cv_use_rpath
='wxUSE_RPATH=no'
4178 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4179 if test "x$LINE" != x
; then
4180 eval "DEFAULT_$LINE"
4185 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4189 eval "$ac_cv_use_rpath"
4190 if test "$no_cache" != 1; then
4191 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4194 if test "$wxUSE_RPATH" = yes; then
4195 echo "$as_me:$LINENO: result: yes" >&5
4196 echo "${ECHO_T}yes" >&6
4198 echo "$as_me:$LINENO: result: no" >&5
4199 echo "${ECHO_T}no" >&6
4207 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4208 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4210 # Check whether --enable-intl or --disable-intl was given.
4211 if test "${enable_intl+set}" = set; then
4212 enableval
="$enable_intl"
4214 if test "$enableval" = yes; then
4215 ac_cv_use_intl
='wxUSE_INTL=yes'
4217 ac_cv_use_intl
='wxUSE_INTL=no'
4222 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4223 if test "x$LINE" != x
; then
4224 eval "DEFAULT_$LINE"
4229 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4233 eval "$ac_cv_use_intl"
4234 if test "$no_cache" != 1; then
4235 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4238 if test "$wxUSE_INTL" = yes; then
4239 echo "$as_me:$LINENO: result: yes" >&5
4240 echo "${ECHO_T}yes" >&6
4242 echo "$as_me:$LINENO: result: no" >&5
4243 echo "${ECHO_T}no" >&6
4248 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4249 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4251 # Check whether --enable-config or --disable-config was given.
4252 if test "${enable_config+set}" = set; then
4253 enableval
="$enable_config"
4255 if test "$enableval" = yes; then
4256 ac_cv_use_config
='wxUSE_CONFIG=yes'
4258 ac_cv_use_config
='wxUSE_CONFIG=no'
4263 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4264 if test "x$LINE" != x
; then
4265 eval "DEFAULT_$LINE"
4270 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4274 eval "$ac_cv_use_config"
4275 if test "$no_cache" != 1; then
4276 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4279 if test "$wxUSE_CONFIG" = yes; then
4280 echo "$as_me:$LINENO: result: yes" >&5
4281 echo "${ECHO_T}yes" >&6
4283 echo "$as_me:$LINENO: result: no" >&5
4284 echo "${ECHO_T}no" >&6
4290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4291 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4293 # Check whether --enable-protocols or --disable-protocols was given.
4294 if test "${enable_protocols+set}" = set; then
4295 enableval
="$enable_protocols"
4297 if test "$enableval" = yes; then
4298 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4300 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4305 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4306 if test "x$LINE" != x
; then
4307 eval "DEFAULT_$LINE"
4312 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4316 eval "$ac_cv_use_protocols"
4317 if test "$no_cache" != 1; then
4318 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4321 if test "$wxUSE_PROTOCOL" = yes; then
4322 echo "$as_me:$LINENO: result: yes" >&5
4323 echo "${ECHO_T}yes" >&6
4325 echo "$as_me:$LINENO: result: no" >&5
4326 echo "${ECHO_T}no" >&6
4331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4332 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4334 # Check whether --enable-ftp or --disable-ftp was given.
4335 if test "${enable_ftp+set}" = set; then
4336 enableval
="$enable_ftp"
4338 if test "$enableval" = yes; then
4339 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4341 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4346 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4347 if test "x$LINE" != x
; then
4348 eval "DEFAULT_$LINE"
4353 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4357 eval "$ac_cv_use_ftp"
4358 if test "$no_cache" != 1; then
4359 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4362 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4363 echo "$as_me:$LINENO: result: yes" >&5
4364 echo "${ECHO_T}yes" >&6
4366 echo "$as_me:$LINENO: result: no" >&5
4367 echo "${ECHO_T}no" >&6
4372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4373 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4375 # Check whether --enable-http or --disable-http was given.
4376 if test "${enable_http+set}" = set; then
4377 enableval
="$enable_http"
4379 if test "$enableval" = yes; then
4380 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4382 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4387 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4388 if test "x$LINE" != x
; then
4389 eval "DEFAULT_$LINE"
4394 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4398 eval "$ac_cv_use_http"
4399 if test "$no_cache" != 1; then
4400 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4403 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4404 echo "$as_me:$LINENO: result: yes" >&5
4405 echo "${ECHO_T}yes" >&6
4407 echo "$as_me:$LINENO: result: no" >&5
4408 echo "${ECHO_T}no" >&6
4413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4414 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4416 # Check whether --enable-fileproto or --disable-fileproto was given.
4417 if test "${enable_fileproto+set}" = set; then
4418 enableval
="$enable_fileproto"
4420 if test "$enableval" = yes; then
4421 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4423 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4428 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4429 if test "x$LINE" != x
; then
4430 eval "DEFAULT_$LINE"
4435 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4439 eval "$ac_cv_use_fileproto"
4440 if test "$no_cache" != 1; then
4441 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4444 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4445 echo "$as_me:$LINENO: result: yes" >&5
4446 echo "${ECHO_T}yes" >&6
4448 echo "$as_me:$LINENO: result: no" >&5
4449 echo "${ECHO_T}no" >&6
4454 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4455 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4457 # Check whether --enable-sockets or --disable-sockets was given.
4458 if test "${enable_sockets+set}" = set; then
4459 enableval
="$enable_sockets"
4461 if test "$enableval" = yes; then
4462 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4464 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4469 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4470 if test "x$LINE" != x
; then
4471 eval "DEFAULT_$LINE"
4476 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4480 eval "$ac_cv_use_sockets"
4481 if test "$no_cache" != 1; then
4482 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4485 if test "$wxUSE_SOCKETS" = yes; then
4486 echo "$as_me:$LINENO: result: yes" >&5
4487 echo "${ECHO_T}yes" >&6
4489 echo "$as_me:$LINENO: result: no" >&5
4490 echo "${ECHO_T}no" >&6
4495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4496 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4498 # Check whether --enable-ole or --disable-ole was given.
4499 if test "${enable_ole+set}" = set; then
4500 enableval
="$enable_ole"
4502 if test "$enableval" = yes; then
4503 ac_cv_use_ole
='wxUSE_OLE=yes'
4505 ac_cv_use_ole
='wxUSE_OLE=no'
4510 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4511 if test "x$LINE" != x
; then
4512 eval "DEFAULT_$LINE"
4517 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4521 eval "$ac_cv_use_ole"
4522 if test "$no_cache" != 1; then
4523 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4526 if test "$wxUSE_OLE" = yes; then
4527 echo "$as_me:$LINENO: result: yes" >&5
4528 echo "${ECHO_T}yes" >&6
4530 echo "$as_me:$LINENO: result: no" >&5
4531 echo "${ECHO_T}no" >&6
4536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4537 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4539 # Check whether --enable-dataobj or --disable-dataobj was given.
4540 if test "${enable_dataobj+set}" = set; then
4541 enableval
="$enable_dataobj"
4543 if test "$enableval" = yes; then
4544 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4546 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4551 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4552 if test "x$LINE" != x
; then
4553 eval "DEFAULT_$LINE"
4558 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4562 eval "$ac_cv_use_dataobj"
4563 if test "$no_cache" != 1; then
4564 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4567 if test "$wxUSE_DATAOBJ" = yes; then
4568 echo "$as_me:$LINENO: result: yes" >&5
4569 echo "${ECHO_T}yes" >&6
4571 echo "$as_me:$LINENO: result: no" >&5
4572 echo "${ECHO_T}no" >&6
4578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4579 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4581 # Check whether --enable-ipc or --disable-ipc was given.
4582 if test "${enable_ipc+set}" = set; then
4583 enableval
="$enable_ipc"
4585 if test "$enableval" = yes; then
4586 ac_cv_use_ipc
='wxUSE_IPC=yes'
4588 ac_cv_use_ipc
='wxUSE_IPC=no'
4593 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4594 if test "x$LINE" != x
; then
4595 eval "DEFAULT_$LINE"
4600 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4604 eval "$ac_cv_use_ipc"
4605 if test "$no_cache" != 1; then
4606 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4609 if test "$wxUSE_IPC" = yes; then
4610 echo "$as_me:$LINENO: result: yes" >&5
4611 echo "${ECHO_T}yes" >&6
4613 echo "$as_me:$LINENO: result: no" >&5
4614 echo "${ECHO_T}no" >&6
4620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4621 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4623 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4624 if test "${enable_apple_ieee+set}" = set; then
4625 enableval
="$enable_apple_ieee"
4627 if test "$enableval" = yes; then
4628 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4630 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4635 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4636 if test "x$LINE" != x
; then
4637 eval "DEFAULT_$LINE"
4642 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4646 eval "$ac_cv_use_apple_ieee"
4647 if test "$no_cache" != 1; then
4648 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4651 if test "$wxUSE_APPLE_IEEE" = yes; then
4652 echo "$as_me:$LINENO: result: yes" >&5
4653 echo "${ECHO_T}yes" >&6
4655 echo "$as_me:$LINENO: result: no" >&5
4656 echo "${ECHO_T}no" >&6
4661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4662 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4664 # Check whether --enable-arcstream or --disable-arcstream was given.
4665 if test "${enable_arcstream+set}" = set; then
4666 enableval
="$enable_arcstream"
4668 if test "$enableval" = yes; then
4669 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
4671 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
4676 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4677 if test "x$LINE" != x
; then
4678 eval "DEFAULT_$LINE"
4683 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4687 eval "$ac_cv_use_arcstream"
4688 if test "$no_cache" != 1; then
4689 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4692 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4693 echo "$as_me:$LINENO: result: yes" >&5
4694 echo "${ECHO_T}yes" >&6
4696 echo "$as_me:$LINENO: result: no" >&5
4697 echo "${ECHO_T}no" >&6
4702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4703 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4705 # Check whether --enable-backtrace or --disable-backtrace was given.
4706 if test "${enable_backtrace+set}" = set; then
4707 enableval
="$enable_backtrace"
4709 if test "$enableval" = yes; then
4710 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
4712 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
4717 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4718 if test "x$LINE" != x
; then
4719 eval "DEFAULT_$LINE"
4724 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4728 eval "$ac_cv_use_backtrace"
4729 if test "$no_cache" != 1; then
4730 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4733 if test "$wxUSE_STACKWALKER" = yes; then
4734 echo "$as_me:$LINENO: result: yes" >&5
4735 echo "${ECHO_T}yes" >&6
4737 echo "$as_me:$LINENO: result: no" >&5
4738 echo "${ECHO_T}no" >&6
4743 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4744 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4746 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4747 if test "${enable_catch_segvs+set}" = set; then
4748 enableval
="$enable_catch_segvs"
4750 if test "$enableval" = yes; then
4751 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4753 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4758 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4759 if test "x$LINE" != x
; then
4760 eval "DEFAULT_$LINE"
4765 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4769 eval "$ac_cv_use_catch_segvs"
4770 if test "$no_cache" != 1; then
4771 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4774 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4775 echo "$as_me:$LINENO: result: yes" >&5
4776 echo "${ECHO_T}yes" >&6
4778 echo "$as_me:$LINENO: result: no" >&5
4779 echo "${ECHO_T}no" >&6
4784 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4785 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4787 # Check whether --enable-cmdline or --disable-cmdline was given.
4788 if test "${enable_cmdline+set}" = set; then
4789 enableval
="$enable_cmdline"
4791 if test "$enableval" = yes; then
4792 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4794 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4799 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4800 if test "x$LINE" != x
; then
4801 eval "DEFAULT_$LINE"
4806 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4810 eval "$ac_cv_use_cmdline"
4811 if test "$no_cache" != 1; then
4812 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4815 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4816 echo "$as_me:$LINENO: result: yes" >&5
4817 echo "${ECHO_T}yes" >&6
4819 echo "$as_me:$LINENO: result: no" >&5
4820 echo "${ECHO_T}no" >&6
4825 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4826 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4828 # Check whether --enable-datetime or --disable-datetime was given.
4829 if test "${enable_datetime+set}" = set; then
4830 enableval
="$enable_datetime"
4832 if test "$enableval" = yes; then
4833 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4835 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4840 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4841 if test "x$LINE" != x
; then
4842 eval "DEFAULT_$LINE"
4847 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4851 eval "$ac_cv_use_datetime"
4852 if test "$no_cache" != 1; then
4853 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4856 if test "$wxUSE_DATETIME" = yes; then
4857 echo "$as_me:$LINENO: result: yes" >&5
4858 echo "${ECHO_T}yes" >&6
4860 echo "$as_me:$LINENO: result: no" >&5
4861 echo "${ECHO_T}no" >&6
4866 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4867 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4869 # Check whether --enable-debugreport or --disable-debugreport was given.
4870 if test "${enable_debugreport+set}" = set; then
4871 enableval
="$enable_debugreport"
4873 if test "$enableval" = yes; then
4874 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
4876 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
4881 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4882 if test "x$LINE" != x
; then
4883 eval "DEFAULT_$LINE"
4888 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
4892 eval "$ac_cv_use_debugreport"
4893 if test "$no_cache" != 1; then
4894 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4897 if test "$wxUSE_DEBUGREPORT" = yes; then
4898 echo "$as_me:$LINENO: result: yes" >&5
4899 echo "${ECHO_T}yes" >&6
4901 echo "$as_me:$LINENO: result: no" >&5
4902 echo "${ECHO_T}no" >&6
4907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4908 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4910 # Check whether --enable-dialupman or --disable-dialupman was given.
4911 if test "${enable_dialupman+set}" = set; then
4912 enableval
="$enable_dialupman"
4914 if test "$enableval" = yes; then
4915 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4917 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4922 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4923 if test "x$LINE" != x
; then
4924 eval "DEFAULT_$LINE"
4929 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4933 eval "$ac_cv_use_dialupman"
4934 if test "$no_cache" != 1; then
4935 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4938 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4939 echo "$as_me:$LINENO: result: yes" >&5
4940 echo "${ECHO_T}yes" >&6
4942 echo "$as_me:$LINENO: result: no" >&5
4943 echo "${ECHO_T}no" >&6
4948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4949 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4951 # Check whether --enable-dynlib or --disable-dynlib was given.
4952 if test "${enable_dynlib+set}" = set; then
4953 enableval
="$enable_dynlib"
4955 if test "$enableval" = yes; then
4956 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4958 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4963 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4964 if test "x$LINE" != x
; then
4965 eval "DEFAULT_$LINE"
4970 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4974 eval "$ac_cv_use_dynlib"
4975 if test "$no_cache" != 1; then
4976 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4979 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4980 echo "$as_me:$LINENO: result: yes" >&5
4981 echo "${ECHO_T}yes" >&6
4983 echo "$as_me:$LINENO: result: no" >&5
4984 echo "${ECHO_T}no" >&6
4989 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4990 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4992 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4993 if test "${enable_dynamicloader+set}" = set; then
4994 enableval
="$enable_dynamicloader"
4996 if test "$enableval" = yes; then
4997 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4999 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5004 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5005 if test "x$LINE" != x
; then
5006 eval "DEFAULT_$LINE"
5011 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5015 eval "$ac_cv_use_dynamicloader"
5016 if test "$no_cache" != 1; then
5017 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5020 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5021 echo "$as_me:$LINENO: result: yes" >&5
5022 echo "${ECHO_T}yes" >&6
5024 echo "$as_me:$LINENO: result: no" >&5
5025 echo "${ECHO_T}no" >&6
5030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5031 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5033 # Check whether --enable-exceptions or --disable-exceptions was given.
5034 if test "${enable_exceptions+set}" = set; then
5035 enableval
="$enable_exceptions"
5037 if test "$enableval" = yes; then
5038 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5040 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5045 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5046 if test "x$LINE" != x
; then
5047 eval "DEFAULT_$LINE"
5052 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5056 eval "$ac_cv_use_exceptions"
5057 if test "$no_cache" != 1; then
5058 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5061 if test "$wxUSE_EXCEPTIONS" = yes; then
5062 echo "$as_me:$LINENO: result: yes" >&5
5063 echo "${ECHO_T}yes" >&6
5065 echo "$as_me:$LINENO: result: no" >&5
5066 echo "${ECHO_T}no" >&6
5071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5072 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5074 # Check whether --enable-ffile or --disable-ffile was given.
5075 if test "${enable_ffile+set}" = set; then
5076 enableval
="$enable_ffile"
5078 if test "$enableval" = yes; then
5079 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5081 ac_cv_use_ffile
='wxUSE_FFILE=no'
5086 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5087 if test "x$LINE" != x
; then
5088 eval "DEFAULT_$LINE"
5093 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5097 eval "$ac_cv_use_ffile"
5098 if test "$no_cache" != 1; then
5099 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5102 if test "$wxUSE_FFILE" = yes; then
5103 echo "$as_me:$LINENO: result: yes" >&5
5104 echo "${ECHO_T}yes" >&6
5106 echo "$as_me:$LINENO: result: no" >&5
5107 echo "${ECHO_T}no" >&6
5112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5113 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5115 # Check whether --enable-file or --disable-file was given.
5116 if test "${enable_file+set}" = set; then
5117 enableval
="$enable_file"
5119 if test "$enableval" = yes; then
5120 ac_cv_use_file
='wxUSE_FILE=yes'
5122 ac_cv_use_file
='wxUSE_FILE=no'
5127 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5128 if test "x$LINE" != x
; then
5129 eval "DEFAULT_$LINE"
5134 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5138 eval "$ac_cv_use_file"
5139 if test "$no_cache" != 1; then
5140 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5143 if test "$wxUSE_FILE" = yes; then
5144 echo "$as_me:$LINENO: result: yes" >&5
5145 echo "${ECHO_T}yes" >&6
5147 echo "$as_me:$LINENO: result: no" >&5
5148 echo "${ECHO_T}no" >&6
5153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5154 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5156 # Check whether --enable-filesystem or --disable-filesystem was given.
5157 if test "${enable_filesystem+set}" = set; then
5158 enableval
="$enable_filesystem"
5160 if test "$enableval" = yes; then
5161 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5163 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5168 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5169 if test "x$LINE" != x
; then
5170 eval "DEFAULT_$LINE"
5175 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5179 eval "$ac_cv_use_filesystem"
5180 if test "$no_cache" != 1; then
5181 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5184 if test "$wxUSE_FILESYSTEM" = yes; then
5185 echo "$as_me:$LINENO: result: yes" >&5
5186 echo "${ECHO_T}yes" >&6
5188 echo "$as_me:$LINENO: result: no" >&5
5189 echo "${ECHO_T}no" >&6
5194 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5195 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5197 # Check whether --enable-fontmap or --disable-fontmap was given.
5198 if test "${enable_fontmap+set}" = set; then
5199 enableval
="$enable_fontmap"
5201 if test "$enableval" = yes; then
5202 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5204 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5209 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5210 if test "x$LINE" != x
; then
5211 eval "DEFAULT_$LINE"
5216 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5220 eval "$ac_cv_use_fontmap"
5221 if test "$no_cache" != 1; then
5222 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5225 if test "$wxUSE_FONTMAP" = yes; then
5226 echo "$as_me:$LINENO: result: yes" >&5
5227 echo "${ECHO_T}yes" >&6
5229 echo "$as_me:$LINENO: result: no" >&5
5230 echo "${ECHO_T}no" >&6
5235 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5236 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5238 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5239 if test "${enable_fs_inet+set}" = set; then
5240 enableval
="$enable_fs_inet"
5242 if test "$enableval" = yes; then
5243 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5245 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5250 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5251 if test "x$LINE" != x
; then
5252 eval "DEFAULT_$LINE"
5257 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5261 eval "$ac_cv_use_fs_inet"
5262 if test "$no_cache" != 1; then
5263 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5266 if test "$wxUSE_FS_INET" = yes; then
5267 echo "$as_me:$LINENO: result: yes" >&5
5268 echo "${ECHO_T}yes" >&6
5270 echo "$as_me:$LINENO: result: no" >&5
5271 echo "${ECHO_T}no" >&6
5276 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5277 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5279 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5280 if test "${enable_fs_zip+set}" = set; then
5281 enableval
="$enable_fs_zip"
5283 if test "$enableval" = yes; then
5284 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5286 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5291 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5292 if test "x$LINE" != x
; then
5293 eval "DEFAULT_$LINE"
5298 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5302 eval "$ac_cv_use_fs_zip"
5303 if test "$no_cache" != 1; then
5304 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5307 if test "$wxUSE_FS_ZIP" = yes; then
5308 echo "$as_me:$LINENO: result: yes" >&5
5309 echo "${ECHO_T}yes" >&6
5311 echo "$as_me:$LINENO: result: no" >&5
5312 echo "${ECHO_T}no" >&6
5317 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5318 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5320 # Check whether --enable-geometry or --disable-geometry was given.
5321 if test "${enable_geometry+set}" = set; then
5322 enableval
="$enable_geometry"
5324 if test "$enableval" = yes; then
5325 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5327 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5332 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5333 if test "x$LINE" != x
; then
5334 eval "DEFAULT_$LINE"
5339 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5343 eval "$ac_cv_use_geometry"
5344 if test "$no_cache" != 1; then
5345 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5348 if test "$wxUSE_GEOMETRY" = yes; then
5349 echo "$as_me:$LINENO: result: yes" >&5
5350 echo "${ECHO_T}yes" >&6
5352 echo "$as_me:$LINENO: result: no" >&5
5353 echo "${ECHO_T}no" >&6
5358 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5359 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5361 # Check whether --enable-log or --disable-log was given.
5362 if test "${enable_log+set}" = set; then
5363 enableval
="$enable_log"
5365 if test "$enableval" = yes; then
5366 ac_cv_use_log
='wxUSE_LOG=yes'
5368 ac_cv_use_log
='wxUSE_LOG=no'
5373 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5374 if test "x$LINE" != x
; then
5375 eval "DEFAULT_$LINE"
5380 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5384 eval "$ac_cv_use_log"
5385 if test "$no_cache" != 1; then
5386 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5389 if test "$wxUSE_LOG" = yes; then
5390 echo "$as_me:$LINENO: result: yes" >&5
5391 echo "${ECHO_T}yes" >&6
5393 echo "$as_me:$LINENO: result: no" >&5
5394 echo "${ECHO_T}no" >&6
5399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5400 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5402 # Check whether --enable-longlong or --disable-longlong was given.
5403 if test "${enable_longlong+set}" = set; then
5404 enableval
="$enable_longlong"
5406 if test "$enableval" = yes; then
5407 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5409 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5414 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5415 if test "x$LINE" != x
; then
5416 eval "DEFAULT_$LINE"
5421 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5425 eval "$ac_cv_use_longlong"
5426 if test "$no_cache" != 1; then
5427 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5430 if test "$wxUSE_LONGLONG" = yes; then
5431 echo "$as_me:$LINENO: result: yes" >&5
5432 echo "${ECHO_T}yes" >&6
5434 echo "$as_me:$LINENO: result: no" >&5
5435 echo "${ECHO_T}no" >&6
5440 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5441 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5443 # Check whether --enable-mimetype or --disable-mimetype was given.
5444 if test "${enable_mimetype+set}" = set; then
5445 enableval
="$enable_mimetype"
5447 if test "$enableval" = yes; then
5448 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5450 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5455 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5456 if test "x$LINE" != x
; then
5457 eval "DEFAULT_$LINE"
5462 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5466 eval "$ac_cv_use_mimetype"
5467 if test "$no_cache" != 1; then
5468 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5471 if test "$wxUSE_MIMETYPE" = yes; then
5472 echo "$as_me:$LINENO: result: yes" >&5
5473 echo "${ECHO_T}yes" >&6
5475 echo "$as_me:$LINENO: result: no" >&5
5476 echo "${ECHO_T}no" >&6
5481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5482 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5484 # Check whether --enable-mslu or --disable-mslu was given.
5485 if test "${enable_mslu+set}" = set; then
5486 enableval
="$enable_mslu"
5488 if test "$enableval" = yes; then
5489 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5491 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5496 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5497 if test "x$LINE" != x
; then
5498 eval "DEFAULT_$LINE"
5503 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5507 eval "$ac_cv_use_mslu"
5508 if test "$no_cache" != 1; then
5509 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5512 if test "$wxUSE_UNICODE_MSLU" = yes; then
5513 echo "$as_me:$LINENO: result: yes" >&5
5514 echo "${ECHO_T}yes" >&6
5516 echo "$as_me:$LINENO: result: no" >&5
5517 echo "${ECHO_T}no" >&6
5522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5523 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5525 # Check whether --enable-snglinst or --disable-snglinst was given.
5526 if test "${enable_snglinst+set}" = set; then
5527 enableval
="$enable_snglinst"
5529 if test "$enableval" = yes; then
5530 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5532 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5537 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5538 if test "x$LINE" != x
; then
5539 eval "DEFAULT_$LINE"
5544 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5548 eval "$ac_cv_use_snglinst"
5549 if test "$no_cache" != 1; then
5550 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5553 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5554 echo "$as_me:$LINENO: result: yes" >&5
5555 echo "${ECHO_T}yes" >&6
5557 echo "$as_me:$LINENO: result: no" >&5
5558 echo "${ECHO_T}no" >&6
5563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5564 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5566 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5567 if test "${enable_std_iostreams+set}" = set; then
5568 enableval
="$enable_std_iostreams"
5570 if test "$enableval" = yes; then
5571 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5573 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5578 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5579 if test "x$LINE" != x
; then
5580 eval "DEFAULT_$LINE"
5585 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5589 eval "$ac_cv_use_std_iostreams"
5590 if test "$no_cache" != 1; then
5591 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5594 if test "$wxUSE_STD_IOSTREAM" = yes; then
5595 echo "$as_me:$LINENO: result: yes" >&5
5596 echo "${ECHO_T}yes" >&6
5598 echo "$as_me:$LINENO: result: no" >&5
5599 echo "${ECHO_T}no" >&6
5604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5605 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5607 # Check whether --enable-std_string or --disable-std_string was given.
5608 if test "${enable_std_string+set}" = set; then
5609 enableval
="$enable_std_string"
5611 if test "$enableval" = yes; then
5612 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
5614 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
5619 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5620 if test "x$LINE" != x
; then
5621 eval "DEFAULT_$LINE"
5626 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5630 eval "$ac_cv_use_std_string"
5631 if test "$no_cache" != 1; then
5632 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5635 if test "$wxUSE_STD_STRING" = yes; then
5636 echo "$as_me:$LINENO: result: yes" >&5
5637 echo "${ECHO_T}yes" >&6
5639 echo "$as_me:$LINENO: result: no" >&5
5640 echo "${ECHO_T}no" >&6
5645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5646 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5648 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5649 if test "${enable_stdpaths+set}" = set; then
5650 enableval
="$enable_stdpaths"
5652 if test "$enableval" = yes; then
5653 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
5655 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
5660 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5661 if test "x$LINE" != x
; then
5662 eval "DEFAULT_$LINE"
5667 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5671 eval "$ac_cv_use_stdpaths"
5672 if test "$no_cache" != 1; then
5673 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5676 if test "$wxUSE_STDPATHS" = yes; then
5677 echo "$as_me:$LINENO: result: yes" >&5
5678 echo "${ECHO_T}yes" >&6
5680 echo "$as_me:$LINENO: result: no" >&5
5681 echo "${ECHO_T}no" >&6
5686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5687 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5689 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5690 if test "${enable_stopwatch+set}" = set; then
5691 enableval
="$enable_stopwatch"
5693 if test "$enableval" = yes; then
5694 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5696 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5701 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5702 if test "x$LINE" != x
; then
5703 eval "DEFAULT_$LINE"
5708 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5712 eval "$ac_cv_use_stopwatch"
5713 if test "$no_cache" != 1; then
5714 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5717 if test "$wxUSE_STOPWATCH" = yes; then
5718 echo "$as_me:$LINENO: result: yes" >&5
5719 echo "${ECHO_T}yes" >&6
5721 echo "$as_me:$LINENO: result: no" >&5
5722 echo "${ECHO_T}no" >&6
5727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5728 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5730 # Check whether --enable-streams or --disable-streams was given.
5731 if test "${enable_streams+set}" = set; then
5732 enableval
="$enable_streams"
5734 if test "$enableval" = yes; then
5735 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5737 ac_cv_use_streams
='wxUSE_STREAMS=no'
5742 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5743 if test "x$LINE" != x
; then
5744 eval "DEFAULT_$LINE"
5749 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5753 eval "$ac_cv_use_streams"
5754 if test "$no_cache" != 1; then
5755 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5758 if test "$wxUSE_STREAMS" = yes; then
5759 echo "$as_me:$LINENO: result: yes" >&5
5760 echo "${ECHO_T}yes" >&6
5762 echo "$as_me:$LINENO: result: no" >&5
5763 echo "${ECHO_T}no" >&6
5768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5769 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5771 # Check whether --enable-system_options or --disable-system_options was given.
5772 if test "${enable_system_options+set}" = set; then
5773 enableval
="$enable_system_options"
5775 if test "$enableval" = yes; then
5776 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5778 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5783 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5784 if test "x$LINE" != x
; then
5785 eval "DEFAULT_$LINE"
5790 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5794 eval "$ac_cv_use_system_options"
5795 if test "$no_cache" != 1; then
5796 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5799 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5800 echo "$as_me:$LINENO: result: yes" >&5
5801 echo "${ECHO_T}yes" >&6
5803 echo "$as_me:$LINENO: result: no" >&5
5804 echo "${ECHO_T}no" >&6
5809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5810 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5812 # Check whether --enable-textbuf or --disable-textbuf was given.
5813 if test "${enable_textbuf+set}" = set; then
5814 enableval
="$enable_textbuf"
5816 if test "$enableval" = yes; then
5817 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5819 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5824 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5825 if test "x$LINE" != x
; then
5826 eval "DEFAULT_$LINE"
5831 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5835 eval "$ac_cv_use_textbuf"
5836 if test "$no_cache" != 1; then
5837 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5840 if test "$wxUSE_TEXTBUFFER" = yes; then
5841 echo "$as_me:$LINENO: result: yes" >&5
5842 echo "${ECHO_T}yes" >&6
5844 echo "$as_me:$LINENO: result: no" >&5
5845 echo "${ECHO_T}no" >&6
5850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5851 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5853 # Check whether --enable-textfile or --disable-textfile was given.
5854 if test "${enable_textfile+set}" = set; then
5855 enableval
="$enable_textfile"
5857 if test "$enableval" = yes; then
5858 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5860 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5865 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5866 if test "x$LINE" != x
; then
5867 eval "DEFAULT_$LINE"
5872 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5876 eval "$ac_cv_use_textfile"
5877 if test "$no_cache" != 1; then
5878 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5881 if test "$wxUSE_TEXTFILE" = yes; then
5882 echo "$as_me:$LINENO: result: yes" >&5
5883 echo "${ECHO_T}yes" >&6
5885 echo "$as_me:$LINENO: result: no" >&5
5886 echo "${ECHO_T}no" >&6
5891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5892 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5894 # Check whether --enable-timer or --disable-timer was given.
5895 if test "${enable_timer+set}" = set; then
5896 enableval
="$enable_timer"
5898 if test "$enableval" = yes; then
5899 ac_cv_use_timer
='wxUSE_TIMER=yes'
5901 ac_cv_use_timer
='wxUSE_TIMER=no'
5906 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5907 if test "x$LINE" != x
; then
5908 eval "DEFAULT_$LINE"
5913 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5917 eval "$ac_cv_use_timer"
5918 if test "$no_cache" != 1; then
5919 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5922 if test "$wxUSE_TIMER" = yes; then
5923 echo "$as_me:$LINENO: result: yes" >&5
5924 echo "${ECHO_T}yes" >&6
5926 echo "$as_me:$LINENO: result: no" >&5
5927 echo "${ECHO_T}no" >&6
5932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5933 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5935 # Check whether --enable-unicode or --disable-unicode was given.
5936 if test "${enable_unicode+set}" = set; then
5937 enableval
="$enable_unicode"
5939 if test "$enableval" = yes; then
5940 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5942 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5947 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5948 if test "x$LINE" != x
; then
5949 eval "DEFAULT_$LINE"
5954 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5958 eval "$ac_cv_use_unicode"
5959 if test "$no_cache" != 1; then
5960 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5963 if test "$wxUSE_UNICODE" = yes; then
5964 echo "$as_me:$LINENO: result: yes" >&5
5965 echo "${ECHO_T}yes" >&6
5967 echo "$as_me:$LINENO: result: no" >&5
5968 echo "${ECHO_T}no" >&6
5973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5974 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5976 # Check whether --enable-sound or --disable-sound was given.
5977 if test "${enable_sound+set}" = set; then
5978 enableval
="$enable_sound"
5980 if test "$enableval" = yes; then
5981 ac_cv_use_sound
='wxUSE_SOUND=yes'
5983 ac_cv_use_sound
='wxUSE_SOUND=no'
5988 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5989 if test "x$LINE" != x
; then
5990 eval "DEFAULT_$LINE"
5995 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5999 eval "$ac_cv_use_sound"
6000 if test "$no_cache" != 1; then
6001 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6004 if test "$wxUSE_SOUND" = yes; then
6005 echo "$as_me:$LINENO: result: yes" >&5
6006 echo "${ECHO_T}yes" >&6
6008 echo "$as_me:$LINENO: result: no" >&5
6009 echo "${ECHO_T}no" >&6
6014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6015 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6017 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6018 if test "${enable_mediactrl+set}" = set; then
6019 enableval
="$enable_mediactrl"
6021 if test "$enableval" = yes; then
6022 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6024 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6029 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6030 if test "x$LINE" != x
; then
6031 eval "DEFAULT_$LINE"
6036 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6040 eval "$ac_cv_use_mediactrl"
6041 if test "$no_cache" != 1; then
6042 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6045 if test "$wxUSE_MEDIACTRL" = yes; then
6046 echo "$as_me:$LINENO: result: yes" >&5
6047 echo "${ECHO_T}yes" >&6
6049 echo "$as_me:$LINENO: result: no" >&5
6050 echo "${ECHO_T}no" >&6
6055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6056 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6058 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6059 if test "${enable_wxprintfv+set}" = set; then
6060 enableval
="$enable_wxprintfv"
6062 if test "$enableval" = yes; then
6063 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
6065 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
6070 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6071 if test "x$LINE" != x
; then
6072 eval "DEFAULT_$LINE"
6077 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6081 eval "$ac_cv_use_wxprintfv"
6082 if test "$no_cache" != 1; then
6083 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6086 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6087 echo "$as_me:$LINENO: result: yes" >&5
6088 echo "${ECHO_T}yes" >&6
6090 echo "$as_me:$LINENO: result: no" >&5
6091 echo "${ECHO_T}no" >&6
6096 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6097 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6099 # Check whether --enable-zipstream or --disable-zipstream was given.
6100 if test "${enable_zipstream+set}" = set; then
6101 enableval
="$enable_zipstream"
6103 if test "$enableval" = yes; then
6104 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6106 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6111 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6112 if test "x$LINE" != x
; then
6113 eval "DEFAULT_$LINE"
6118 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6122 eval "$ac_cv_use_zipstream"
6123 if test "$no_cache" != 1; then
6124 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6127 if test "$wxUSE_ZIPSTREAM" = yes; then
6128 echo "$as_me:$LINENO: result: yes" >&5
6129 echo "${ECHO_T}yes" >&6
6131 echo "$as_me:$LINENO: result: no" >&5
6132 echo "${ECHO_T}no" >&6
6138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6139 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6141 # Check whether --enable-url or --disable-url was given.
6142 if test "${enable_url+set}" = set; then
6143 enableval
="$enable_url"
6145 if test "$enableval" = yes; then
6146 ac_cv_use_url
='wxUSE_URL=yes'
6148 ac_cv_use_url
='wxUSE_URL=no'
6153 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6154 if test "x$LINE" != x
; then
6155 eval "DEFAULT_$LINE"
6160 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6164 eval "$ac_cv_use_url"
6165 if test "$no_cache" != 1; then
6166 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6169 if test "$wxUSE_URL" = yes; then
6170 echo "$as_me:$LINENO: result: yes" >&5
6171 echo "${ECHO_T}yes" >&6
6173 echo "$as_me:$LINENO: result: no" >&5
6174 echo "${ECHO_T}no" >&6
6179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6180 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6182 # Check whether --enable-protocol or --disable-protocol was given.
6183 if test "${enable_protocol+set}" = set; then
6184 enableval
="$enable_protocol"
6186 if test "$enableval" = yes; then
6187 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6189 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6194 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6195 if test "x$LINE" != x
; then
6196 eval "DEFAULT_$LINE"
6201 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6205 eval "$ac_cv_use_protocol"
6206 if test "$no_cache" != 1; then
6207 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6210 if test "$wxUSE_PROTOCOL" = yes; then
6211 echo "$as_me:$LINENO: result: yes" >&5
6212 echo "${ECHO_T}yes" >&6
6214 echo "$as_me:$LINENO: result: no" >&5
6215 echo "${ECHO_T}no" >&6
6220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6221 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6223 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6224 if test "${enable_protocol_http+set}" = set; then
6225 enableval
="$enable_protocol_http"
6227 if test "$enableval" = yes; then
6228 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6230 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6235 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6236 if test "x$LINE" != x
; then
6237 eval "DEFAULT_$LINE"
6242 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6246 eval "$ac_cv_use_protocol_http"
6247 if test "$no_cache" != 1; then
6248 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6251 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6252 echo "$as_me:$LINENO: result: yes" >&5
6253 echo "${ECHO_T}yes" >&6
6255 echo "$as_me:$LINENO: result: no" >&5
6256 echo "${ECHO_T}no" >&6
6261 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6262 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6264 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6265 if test "${enable_protocol_ftp+set}" = set; then
6266 enableval
="$enable_protocol_ftp"
6268 if test "$enableval" = yes; then
6269 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6271 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6276 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6277 if test "x$LINE" != x
; then
6278 eval "DEFAULT_$LINE"
6283 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6287 eval "$ac_cv_use_protocol_ftp"
6288 if test "$no_cache" != 1; then
6289 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6292 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6293 echo "$as_me:$LINENO: result: yes" >&5
6294 echo "${ECHO_T}yes" >&6
6296 echo "$as_me:$LINENO: result: no" >&5
6297 echo "${ECHO_T}no" >&6
6302 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6303 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6305 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6306 if test "${enable_protocol_file+set}" = set; then
6307 enableval
="$enable_protocol_file"
6309 if test "$enableval" = yes; then
6310 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6312 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6317 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6318 if test "x$LINE" != x
; then
6319 eval "DEFAULT_$LINE"
6324 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6328 eval "$ac_cv_use_protocol_file"
6329 if test "$no_cache" != 1; then
6330 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6333 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6334 echo "$as_me:$LINENO: result: yes" >&5
6335 echo "${ECHO_T}yes" >&6
6337 echo "$as_me:$LINENO: result: no" >&5
6338 echo "${ECHO_T}no" >&6
6346 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6347 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6349 # Check whether --enable-threads or --disable-threads was given.
6350 if test "${enable_threads+set}" = set; then
6351 enableval
="$enable_threads"
6353 if test "$enableval" = yes; then
6354 ac_cv_use_threads
='wxUSE_THREADS=yes'
6356 ac_cv_use_threads
='wxUSE_THREADS=no'
6361 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6362 if test "x$LINE" != x
; then
6363 eval "DEFAULT_$LINE"
6368 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6372 eval "$ac_cv_use_threads"
6373 if test "$no_cache" != 1; then
6374 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6377 if test "$wxUSE_THREADS" = yes; then
6378 echo "$as_me:$LINENO: result: yes" >&5
6379 echo "${ECHO_T}yes" >&6
6381 echo "$as_me:$LINENO: result: no" >&5
6382 echo "${ECHO_T}no" >&6
6386 if test "$wxUSE_GUI" = "yes"; then
6391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6392 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6394 # Check whether --enable-docview or --disable-docview was given.
6395 if test "${enable_docview+set}" = set; then
6396 enableval
="$enable_docview"
6398 if test "$enableval" = yes; then
6399 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6401 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6406 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6407 if test "x$LINE" != x
; then
6408 eval "DEFAULT_$LINE"
6413 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6417 eval "$ac_cv_use_docview"
6418 if test "$no_cache" != 1; then
6419 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6422 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6423 echo "$as_me:$LINENO: result: yes" >&5
6424 echo "${ECHO_T}yes" >&6
6426 echo "$as_me:$LINENO: result: no" >&5
6427 echo "${ECHO_T}no" >&6
6432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6433 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6435 # Check whether --enable-help or --disable-help was given.
6436 if test "${enable_help+set}" = set; then
6437 enableval
="$enable_help"
6439 if test "$enableval" = yes; then
6440 ac_cv_use_help
='wxUSE_HELP=yes'
6442 ac_cv_use_help
='wxUSE_HELP=no'
6447 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6448 if test "x$LINE" != x
; then
6449 eval "DEFAULT_$LINE"
6454 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6458 eval "$ac_cv_use_help"
6459 if test "$no_cache" != 1; then
6460 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6463 if test "$wxUSE_HELP" = yes; then
6464 echo "$as_me:$LINENO: result: yes" >&5
6465 echo "${ECHO_T}yes" >&6
6467 echo "$as_me:$LINENO: result: no" >&5
6468 echo "${ECHO_T}no" >&6
6473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6474 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6476 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6477 if test "${enable_mshtmlhelp+set}" = set; then
6478 enableval
="$enable_mshtmlhelp"
6480 if test "$enableval" = yes; then
6481 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6483 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6488 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6489 if test "x$LINE" != x
; then
6490 eval "DEFAULT_$LINE"
6495 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6499 eval "$ac_cv_use_mshtmlhelp"
6500 if test "$no_cache" != 1; then
6501 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6504 if test "$wxUSE_MS_HTML_HELP" = yes; then
6505 echo "$as_me:$LINENO: result: yes" >&5
6506 echo "${ECHO_T}yes" >&6
6508 echo "$as_me:$LINENO: result: no" >&5
6509 echo "${ECHO_T}no" >&6
6514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6515 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6517 # Check whether --enable-html or --disable-html was given.
6518 if test "${enable_html+set}" = set; then
6519 enableval
="$enable_html"
6521 if test "$enableval" = yes; then
6522 ac_cv_use_html
='wxUSE_HTML=yes'
6524 ac_cv_use_html
='wxUSE_HTML=no'
6529 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6530 if test "x$LINE" != x
; then
6531 eval "DEFAULT_$LINE"
6536 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6540 eval "$ac_cv_use_html"
6541 if test "$no_cache" != 1; then
6542 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6545 if test "$wxUSE_HTML" = yes; then
6546 echo "$as_me:$LINENO: result: yes" >&5
6547 echo "${ECHO_T}yes" >&6
6549 echo "$as_me:$LINENO: result: no" >&5
6550 echo "${ECHO_T}no" >&6
6555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6556 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6558 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6559 if test "${enable_htmlhelp+set}" = set; then
6560 enableval
="$enable_htmlhelp"
6562 if test "$enableval" = yes; then
6563 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6565 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6570 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6571 if test "x$LINE" != x
; then
6572 eval "DEFAULT_$LINE"
6577 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6581 eval "$ac_cv_use_htmlhelp"
6582 if test "$no_cache" != 1; then
6583 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6586 if test "$wxUSE_WXHTML_HELP" = yes; then
6587 echo "$as_me:$LINENO: result: yes" >&5
6588 echo "${ECHO_T}yes" >&6
6590 echo "$as_me:$LINENO: result: no" >&5
6591 echo "${ECHO_T}no" >&6
6596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6597 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6599 # Check whether --enable-xrc or --disable-xrc was given.
6600 if test "${enable_xrc+set}" = set; then
6601 enableval
="$enable_xrc"
6603 if test "$enableval" = yes; then
6604 ac_cv_use_xrc
='wxUSE_XRC=yes'
6606 ac_cv_use_xrc
='wxUSE_XRC=no'
6611 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6612 if test "x$LINE" != x
; then
6613 eval "DEFAULT_$LINE"
6618 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6622 eval "$ac_cv_use_xrc"
6623 if test "$no_cache" != 1; then
6624 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6627 if test "$wxUSE_XRC" = yes; then
6628 echo "$as_me:$LINENO: result: yes" >&5
6629 echo "${ECHO_T}yes" >&6
6631 echo "$as_me:$LINENO: result: no" >&5
6632 echo "${ECHO_T}no" >&6
6637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6638 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6640 # Check whether --enable-constraints or --disable-constraints was given.
6641 if test "${enable_constraints+set}" = set; then
6642 enableval
="$enable_constraints"
6644 if test "$enableval" = yes; then
6645 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6647 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6652 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6653 if test "x$LINE" != x
; then
6654 eval "DEFAULT_$LINE"
6659 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6663 eval "$ac_cv_use_constraints"
6664 if test "$no_cache" != 1; then
6665 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6668 if test "$wxUSE_CONSTRAINTS" = yes; then
6669 echo "$as_me:$LINENO: result: yes" >&5
6670 echo "${ECHO_T}yes" >&6
6672 echo "$as_me:$LINENO: result: no" >&5
6673 echo "${ECHO_T}no" >&6
6678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6679 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6681 # Check whether --enable-printarch or --disable-printarch was given.
6682 if test "${enable_printarch+set}" = set; then
6683 enableval
="$enable_printarch"
6685 if test "$enableval" = yes; then
6686 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6688 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6693 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6694 if test "x$LINE" != x
; then
6695 eval "DEFAULT_$LINE"
6700 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6704 eval "$ac_cv_use_printarch"
6705 if test "$no_cache" != 1; then
6706 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6709 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6710 echo "$as_me:$LINENO: result: yes" >&5
6711 echo "${ECHO_T}yes" >&6
6713 echo "$as_me:$LINENO: result: no" >&5
6714 echo "${ECHO_T}no" >&6
6719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6720 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6722 # Check whether --enable-mdi or --disable-mdi was given.
6723 if test "${enable_mdi+set}" = set; then
6724 enableval
="$enable_mdi"
6726 if test "$enableval" = yes; then
6727 ac_cv_use_mdi
='wxUSE_MDI=yes'
6729 ac_cv_use_mdi
='wxUSE_MDI=no'
6734 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6735 if test "x$LINE" != x
; then
6736 eval "DEFAULT_$LINE"
6741 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6745 eval "$ac_cv_use_mdi"
6746 if test "$no_cache" != 1; then
6747 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6750 if test "$wxUSE_MDI" = yes; then
6751 echo "$as_me:$LINENO: result: yes" >&5
6752 echo "${ECHO_T}yes" >&6
6754 echo "$as_me:$LINENO: result: no" >&5
6755 echo "${ECHO_T}no" >&6
6760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6761 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6763 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6764 if test "${enable_mdidoc+set}" = set; then
6765 enableval
="$enable_mdidoc"
6767 if test "$enableval" = yes; then
6768 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6770 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6775 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6776 if test "x$LINE" != x
; then
6777 eval "DEFAULT_$LINE"
6782 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6786 eval "$ac_cv_use_mdidoc"
6787 if test "$no_cache" != 1; then
6788 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6791 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6792 echo "$as_me:$LINENO: result: yes" >&5
6793 echo "${ECHO_T}yes" >&6
6795 echo "$as_me:$LINENO: result: no" >&5
6796 echo "${ECHO_T}no" >&6
6801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6802 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6804 # Check whether --enable-loggui or --disable-loggui was given.
6805 if test "${enable_loggui+set}" = set; then
6806 enableval
="$enable_loggui"
6808 if test "$enableval" = yes; then
6809 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6811 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6816 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6817 if test "x$LINE" != x
; then
6818 eval "DEFAULT_$LINE"
6823 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6827 eval "$ac_cv_use_loggui"
6828 if test "$no_cache" != 1; then
6829 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6832 if test "$wxUSE_LOGGUI" = yes; then
6833 echo "$as_me:$LINENO: result: yes" >&5
6834 echo "${ECHO_T}yes" >&6
6836 echo "$as_me:$LINENO: result: no" >&5
6837 echo "${ECHO_T}no" >&6
6842 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6843 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6845 # Check whether --enable-logwin or --disable-logwin was given.
6846 if test "${enable_logwin+set}" = set; then
6847 enableval
="$enable_logwin"
6849 if test "$enableval" = yes; then
6850 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6852 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6857 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6858 if test "x$LINE" != x
; then
6859 eval "DEFAULT_$LINE"
6864 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6868 eval "$ac_cv_use_logwin"
6869 if test "$no_cache" != 1; then
6870 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6873 if test "$wxUSE_LOGWINDOW" = yes; then
6874 echo "$as_me:$LINENO: result: yes" >&5
6875 echo "${ECHO_T}yes" >&6
6877 echo "$as_me:$LINENO: result: no" >&5
6878 echo "${ECHO_T}no" >&6
6883 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6884 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6886 # Check whether --enable-logdialog or --disable-logdialog was given.
6887 if test "${enable_logdialog+set}" = set; then
6888 enableval
="$enable_logdialog"
6890 if test "$enableval" = yes; then
6891 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6893 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6898 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6899 if test "x$LINE" != x
; then
6900 eval "DEFAULT_$LINE"
6905 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6909 eval "$ac_cv_use_logdialog"
6910 if test "$no_cache" != 1; then
6911 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6914 if test "$wxUSE_LOGDIALOG" = yes; then
6915 echo "$as_me:$LINENO: result: yes" >&5
6916 echo "${ECHO_T}yes" >&6
6918 echo "$as_me:$LINENO: result: no" >&5
6919 echo "${ECHO_T}no" >&6
6924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6925 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6927 # Check whether --enable-webkit or --disable-webkit was given.
6928 if test "${enable_webkit+set}" = set; then
6929 enableval
="$enable_webkit"
6931 if test "$enableval" = yes; then
6932 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6934 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6939 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6940 if test "x$LINE" != x
; then
6941 eval "DEFAULT_$LINE"
6946 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6950 eval "$ac_cv_use_webkit"
6951 if test "$no_cache" != 1; then
6952 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6955 if test "$wxUSE_WEBKIT" = yes; then
6956 echo "$as_me:$LINENO: result: yes" >&5
6957 echo "${ECHO_T}yes" >&6
6959 echo "$as_me:$LINENO: result: no" >&5
6960 echo "${ECHO_T}no" >&6
6966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6967 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6969 # Check whether --enable-postscript or --disable-postscript was given.
6970 if test "${enable_postscript+set}" = set; then
6971 enableval
="$enable_postscript"
6973 if test "$enableval" = yes; then
6974 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6976 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6981 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6982 if test "x$LINE" != x
; then
6983 eval "DEFAULT_$LINE"
6988 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6992 eval "$ac_cv_use_postscript"
6993 if test "$no_cache" != 1; then
6994 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6997 if test "$wxUSE_POSTSCRIPT" = yes; then
6998 echo "$as_me:$LINENO: result: yes" >&5
6999 echo "${ECHO_T}yes" >&6
7001 echo "$as_me:$LINENO: result: no" >&5
7002 echo "${ECHO_T}no" >&6
7010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7011 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7013 # Check whether --enable-prologio or --disable-prologio was given.
7014 if test "${enable_prologio+set}" = set; then
7015 enableval
="$enable_prologio"
7017 if test "$enableval" = yes; then
7018 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7020 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7025 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7026 if test "x$LINE" != x
; then
7027 eval "DEFAULT_$LINE"
7032 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7036 eval "$ac_cv_use_prologio"
7037 if test "$no_cache" != 1; then
7038 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7041 if test "$wxUSE_PROLOGIO" = yes; then
7042 echo "$as_me:$LINENO: result: yes" >&5
7043 echo "${ECHO_T}yes" >&6
7045 echo "$as_me:$LINENO: result: no" >&5
7046 echo "${ECHO_T}no" >&6
7051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7052 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7054 # Check whether --enable-resources or --disable-resources was given.
7055 if test "${enable_resources+set}" = set; then
7056 enableval
="$enable_resources"
7058 if test "$enableval" = yes; then
7059 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7061 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7066 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7067 if test "x$LINE" != x
; then
7068 eval "DEFAULT_$LINE"
7073 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7077 eval "$ac_cv_use_resources"
7078 if test "$no_cache" != 1; then
7079 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7082 if test "$wxUSE_RESOURCES" = yes; then
7083 echo "$as_me:$LINENO: result: yes" >&5
7084 echo "${ECHO_T}yes" >&6
7086 echo "$as_me:$LINENO: result: no" >&5
7087 echo "${ECHO_T}no" >&6
7094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7095 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7097 # Check whether --enable-clipboard or --disable-clipboard was given.
7098 if test "${enable_clipboard+set}" = set; then
7099 enableval
="$enable_clipboard"
7101 if test "$enableval" = yes; then
7102 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7104 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7109 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7110 if test "x$LINE" != x
; then
7111 eval "DEFAULT_$LINE"
7116 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7120 eval "$ac_cv_use_clipboard"
7121 if test "$no_cache" != 1; then
7122 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7125 if test "$wxUSE_CLIPBOARD" = yes; then
7126 echo "$as_me:$LINENO: result: yes" >&5
7127 echo "${ECHO_T}yes" >&6
7129 echo "$as_me:$LINENO: result: no" >&5
7130 echo "${ECHO_T}no" >&6
7135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7136 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7138 # Check whether --enable-dnd or --disable-dnd was given.
7139 if test "${enable_dnd+set}" = set; then
7140 enableval
="$enable_dnd"
7142 if test "$enableval" = yes; then
7143 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7145 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7150 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7151 if test "x$LINE" != x
; then
7152 eval "DEFAULT_$LINE"
7157 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7161 eval "$ac_cv_use_dnd"
7162 if test "$no_cache" != 1; then
7163 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7166 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7167 echo "$as_me:$LINENO: result: yes" >&5
7168 echo "${ECHO_T}yes" >&6
7170 echo "$as_me:$LINENO: result: no" >&5
7171 echo "${ECHO_T}no" >&6
7176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7177 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7179 # Check whether --enable-metafile or --disable-metafile was given.
7180 if test "${enable_metafile+set}" = set; then
7181 enableval
="$enable_metafile"
7183 if test "$enableval" = yes; then
7184 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7186 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7191 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7192 if test "x$LINE" != x
; then
7193 eval "DEFAULT_$LINE"
7198 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7202 eval "$ac_cv_use_metafile"
7203 if test "$no_cache" != 1; then
7204 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7207 if test "$wxUSE_METAFILE" = yes; then
7208 echo "$as_me:$LINENO: result: yes" >&5
7209 echo "${ECHO_T}yes" >&6
7211 echo "$as_me:$LINENO: result: no" >&5
7212 echo "${ECHO_T}no" >&6
7220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7221 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7223 # Check whether --enable-controls or --disable-controls was given.
7224 if test "${enable_controls+set}" = set; then
7225 enableval
="$enable_controls"
7227 if test "$enableval" = yes; then
7228 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7230 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7235 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7236 if test "x$LINE" != x
; then
7237 eval "DEFAULT_$LINE"
7242 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7246 eval "$ac_cv_use_controls"
7247 if test "$no_cache" != 1; then
7248 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7251 if test "$wxUSE_CONTROLS" = yes; then
7252 echo "$as_me:$LINENO: result: yes" >&5
7253 echo "${ECHO_T}yes" >&6
7255 echo "$as_me:$LINENO: result: no" >&5
7256 echo "${ECHO_T}no" >&6
7260 if test "$wxUSE_CONTROLS" = "yes"; then
7261 DEFAULT_wxUSE_ACCEL
=yes
7262 DEFAULT_wxUSE_BMPBUTTON
=yes
7263 DEFAULT_wxUSE_BUTTON
=yes
7264 DEFAULT_wxUSE_CALCTRL
=yes
7265 DEFAULT_wxUSE_CARET
=yes
7266 DEFAULT_wxUSE_COMBOBOX
=yes
7267 DEFAULT_wxUSE_CHECKBOX
=yes
7268 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7269 DEFAULT_wxUSE_CHOICE
=yes
7270 DEFAULT_wxUSE_CHOICEBOOK
=yes
7271 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7272 DEFAULT_wxUSE_GAUGE
=yes
7273 DEFAULT_wxUSE_GRID
=yes
7274 DEFAULT_wxUSE_IMAGLIST
=yes
7275 DEFAULT_wxUSE_LISTBOOK
=yes
7276 DEFAULT_wxUSE_LISTBOX
=yes
7277 DEFAULT_wxUSE_LISTCTRL
=yes
7278 DEFAULT_wxUSE_NOTEBOOK
=yes
7279 DEFAULT_wxUSE_RADIOBOX
=yes
7280 DEFAULT_wxUSE_RADIOBTN
=yes
7281 DEFAULT_wxUSE_SASH
=yes
7282 DEFAULT_wxUSE_SCROLLBAR
=yes
7283 DEFAULT_wxUSE_SLIDER
=yes
7284 DEFAULT_wxUSE_SPINBTN
=yes
7285 DEFAULT_wxUSE_SPINCTRL
=yes
7286 DEFAULT_wxUSE_SPLITTER
=yes
7287 DEFAULT_wxUSE_STATBMP
=yes
7288 DEFAULT_wxUSE_STATBOX
=yes
7289 DEFAULT_wxUSE_STATLINE
=yes
7290 DEFAULT_wxUSE_STATUSBAR
=yes
7291 DEFAULT_wxUSE_TAB_DIALOG
=yes
7292 DEFAULT_wxUSE_TOGGLEBTN
=yes
7293 DEFAULT_wxUSE_TOOLBAR
=yes
7294 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7295 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7296 DEFAULT_wxUSE_TOOLTIPS
=yes
7297 DEFAULT_wxUSE_TREECTRL
=yes
7298 DEFAULT_wxUSE_POPUPWIN
=yes
7299 DEFAULT_wxUSE_TIPWINDOW
=yes
7300 elif test "$wxUSE_CONTROLS" = "no"; then
7301 DEFAULT_wxUSE_ACCEL
=no
7302 DEFAULT_wxUSE_BMPBUTTON
=no
7303 DEFAULT_wxUSE_BUTTON
=no
7304 DEFAULT_wxUSE_CALCTRL
=no
7305 DEFAULT_wxUSE_CARET
=no
7306 DEFAULT_wxUSE_COMBOBOX
=no
7307 DEFAULT_wxUSE_CHECKBOX
=no
7308 DEFAULT_wxUSE_CHECKLISTBOX
=no
7309 DEFAULT_wxUSE_CHOICE
=no
7310 DEFAULT_wxUSE_CHOICEBOOK
=no
7311 DEFAULT_wxUSE_DATEPICKCTRL
=no
7312 DEFAULT_wxUSE_GAUGE
=no
7313 DEFAULT_wxUSE_GRID
=no
7314 DEFAULT_wxUSE_IMAGLIST
=no
7315 DEFAULT_wxUSE_LISTBOOK
=no
7316 DEFAULT_wxUSE_LISTBOX
=no
7317 DEFAULT_wxUSE_LISTCTRL
=no
7318 DEFAULT_wxUSE_NOTEBOOK
=no
7319 DEFAULT_wxUSE_RADIOBOX
=no
7320 DEFAULT_wxUSE_RADIOBTN
=no
7321 DEFAULT_wxUSE_SASH
=no
7322 DEFAULT_wxUSE_SCROLLBAR
=no
7323 DEFAULT_wxUSE_SLIDER
=no
7324 DEFAULT_wxUSE_SPINBTN
=no
7325 DEFAULT_wxUSE_SPINCTRL
=no
7326 DEFAULT_wxUSE_SPLITTER
=no
7327 DEFAULT_wxUSE_STATBMP
=no
7328 DEFAULT_wxUSE_STATBOX
=no
7329 DEFAULT_wxUSE_STATLINE
=no
7330 DEFAULT_wxUSE_STATUSBAR
=no
7331 DEFAULT_wxUSE_TAB_DIALOG
=no
7332 DEFAULT_wxUSE_TOGGLEBTN
=no
7333 DEFAULT_wxUSE_TOOLBAR
=no
7334 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7335 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7336 DEFAULT_wxUSE_TOOLTIPS
=no
7337 DEFAULT_wxUSE_TREECTRL
=no
7338 DEFAULT_wxUSE_POPUPWIN
=no
7339 DEFAULT_wxUSE_TIPWINDOW
=no
7344 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7345 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7347 # Check whether --enable-accel or --disable-accel was given.
7348 if test "${enable_accel+set}" = set; then
7349 enableval
="$enable_accel"
7351 if test "$enableval" = yes; then
7352 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7354 ac_cv_use_accel
='wxUSE_ACCEL=no'
7359 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7360 if test "x$LINE" != x
; then
7361 eval "DEFAULT_$LINE"
7366 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7370 eval "$ac_cv_use_accel"
7371 if test "$no_cache" != 1; then
7372 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7375 if test "$wxUSE_ACCEL" = yes; then
7376 echo "$as_me:$LINENO: result: yes" >&5
7377 echo "${ECHO_T}yes" >&6
7379 echo "$as_me:$LINENO: result: no" >&5
7380 echo "${ECHO_T}no" >&6
7385 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7386 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7388 # Check whether --enable-button or --disable-button was given.
7389 if test "${enable_button+set}" = set; then
7390 enableval
="$enable_button"
7392 if test "$enableval" = yes; then
7393 ac_cv_use_button
='wxUSE_BUTTON=yes'
7395 ac_cv_use_button
='wxUSE_BUTTON=no'
7400 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7401 if test "x$LINE" != x
; then
7402 eval "DEFAULT_$LINE"
7407 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7411 eval "$ac_cv_use_button"
7412 if test "$no_cache" != 1; then
7413 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7416 if test "$wxUSE_BUTTON" = yes; then
7417 echo "$as_me:$LINENO: result: yes" >&5
7418 echo "${ECHO_T}yes" >&6
7420 echo "$as_me:$LINENO: result: no" >&5
7421 echo "${ECHO_T}no" >&6
7426 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7427 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7429 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7430 if test "${enable_bmpbutton+set}" = set; then
7431 enableval
="$enable_bmpbutton"
7433 if test "$enableval" = yes; then
7434 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7436 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7441 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7442 if test "x$LINE" != x
; then
7443 eval "DEFAULT_$LINE"
7448 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7452 eval "$ac_cv_use_bmpbutton"
7453 if test "$no_cache" != 1; then
7454 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7457 if test "$wxUSE_BMPBUTTON" = yes; then
7458 echo "$as_me:$LINENO: result: yes" >&5
7459 echo "${ECHO_T}yes" >&6
7461 echo "$as_me:$LINENO: result: no" >&5
7462 echo "${ECHO_T}no" >&6
7467 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7468 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7470 # Check whether --enable-calendar or --disable-calendar was given.
7471 if test "${enable_calendar+set}" = set; then
7472 enableval
="$enable_calendar"
7474 if test "$enableval" = yes; then
7475 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7477 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7482 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7483 if test "x$LINE" != x
; then
7484 eval "DEFAULT_$LINE"
7489 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7493 eval "$ac_cv_use_calendar"
7494 if test "$no_cache" != 1; then
7495 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7498 if test "$wxUSE_CALCTRL" = yes; then
7499 echo "$as_me:$LINENO: result: yes" >&5
7500 echo "${ECHO_T}yes" >&6
7502 echo "$as_me:$LINENO: result: no" >&5
7503 echo "${ECHO_T}no" >&6
7508 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7509 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7511 # Check whether --enable-caret or --disable-caret was given.
7512 if test "${enable_caret+set}" = set; then
7513 enableval
="$enable_caret"
7515 if test "$enableval" = yes; then
7516 ac_cv_use_caret
='wxUSE_CARET=yes'
7518 ac_cv_use_caret
='wxUSE_CARET=no'
7523 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7524 if test "x$LINE" != x
; then
7525 eval "DEFAULT_$LINE"
7530 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7534 eval "$ac_cv_use_caret"
7535 if test "$no_cache" != 1; then
7536 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7539 if test "$wxUSE_CARET" = yes; then
7540 echo "$as_me:$LINENO: result: yes" >&5
7541 echo "${ECHO_T}yes" >&6
7543 echo "$as_me:$LINENO: result: no" >&5
7544 echo "${ECHO_T}no" >&6
7549 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7550 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7552 # Check whether --enable-checkbox or --disable-checkbox was given.
7553 if test "${enable_checkbox+set}" = set; then
7554 enableval
="$enable_checkbox"
7556 if test "$enableval" = yes; then
7557 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7559 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7564 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7565 if test "x$LINE" != x
; then
7566 eval "DEFAULT_$LINE"
7571 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7575 eval "$ac_cv_use_checkbox"
7576 if test "$no_cache" != 1; then
7577 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7580 if test "$wxUSE_CHECKBOX" = yes; then
7581 echo "$as_me:$LINENO: result: yes" >&5
7582 echo "${ECHO_T}yes" >&6
7584 echo "$as_me:$LINENO: result: no" >&5
7585 echo "${ECHO_T}no" >&6
7590 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7591 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7593 # Check whether --enable-checklst or --disable-checklst was given.
7594 if test "${enable_checklst+set}" = set; then
7595 enableval
="$enable_checklst"
7597 if test "$enableval" = yes; then
7598 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7600 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7605 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7606 if test "x$LINE" != x
; then
7607 eval "DEFAULT_$LINE"
7612 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7616 eval "$ac_cv_use_checklst"
7617 if test "$no_cache" != 1; then
7618 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7621 if test "$wxUSE_CHECKLST" = yes; then
7622 echo "$as_me:$LINENO: result: yes" >&5
7623 echo "${ECHO_T}yes" >&6
7625 echo "$as_me:$LINENO: result: no" >&5
7626 echo "${ECHO_T}no" >&6
7631 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7632 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7634 # Check whether --enable-choice or --disable-choice was given.
7635 if test "${enable_choice+set}" = set; then
7636 enableval
="$enable_choice"
7638 if test "$enableval" = yes; then
7639 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7641 ac_cv_use_choice
='wxUSE_CHOICE=no'
7646 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7647 if test "x$LINE" != x
; then
7648 eval "DEFAULT_$LINE"
7653 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7657 eval "$ac_cv_use_choice"
7658 if test "$no_cache" != 1; then
7659 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7662 if test "$wxUSE_CHOICE" = yes; then
7663 echo "$as_me:$LINENO: result: yes" >&5
7664 echo "${ECHO_T}yes" >&6
7666 echo "$as_me:$LINENO: result: no" >&5
7667 echo "${ECHO_T}no" >&6
7672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7673 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7675 # Check whether --enable-choicebook or --disable-choicebook was given.
7676 if test "${enable_choicebook+set}" = set; then
7677 enableval
="$enable_choicebook"
7679 if test "$enableval" = yes; then
7680 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7682 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7687 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7688 if test "x$LINE" != x
; then
7689 eval "DEFAULT_$LINE"
7694 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7698 eval "$ac_cv_use_choicebook"
7699 if test "$no_cache" != 1; then
7700 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7703 if test "$wxUSE_CHOICEBOOK" = yes; then
7704 echo "$as_me:$LINENO: result: yes" >&5
7705 echo "${ECHO_T}yes" >&6
7707 echo "$as_me:$LINENO: result: no" >&5
7708 echo "${ECHO_T}no" >&6
7713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7714 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7716 # Check whether --enable-combobox or --disable-combobox was given.
7717 if test "${enable_combobox+set}" = set; then
7718 enableval
="$enable_combobox"
7720 if test "$enableval" = yes; then
7721 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7723 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7728 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7729 if test "x$LINE" != x
; then
7730 eval "DEFAULT_$LINE"
7735 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7739 eval "$ac_cv_use_combobox"
7740 if test "$no_cache" != 1; then
7741 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7744 if test "$wxUSE_COMBOBOX" = yes; then
7745 echo "$as_me:$LINENO: result: yes" >&5
7746 echo "${ECHO_T}yes" >&6
7748 echo "$as_me:$LINENO: result: no" >&5
7749 echo "${ECHO_T}no" >&6
7754 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7755 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7757 # Check whether --enable-datepick or --disable-datepick was given.
7758 if test "${enable_datepick+set}" = set; then
7759 enableval
="$enable_datepick"
7761 if test "$enableval" = yes; then
7762 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
7764 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
7769 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7770 if test "x$LINE" != x
; then
7771 eval "DEFAULT_$LINE"
7776 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7780 eval "$ac_cv_use_datepick"
7781 if test "$no_cache" != 1; then
7782 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7785 if test "$wxUSE_DATEPICKCTRL" = yes; then
7786 echo "$as_me:$LINENO: result: yes" >&5
7787 echo "${ECHO_T}yes" >&6
7789 echo "$as_me:$LINENO: result: no" >&5
7790 echo "${ECHO_T}no" >&6
7795 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7796 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7798 # Check whether --enable-display or --disable-display was given.
7799 if test "${enable_display+set}" = set; then
7800 enableval
="$enable_display"
7802 if test "$enableval" = yes; then
7803 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7805 ac_cv_use_display
='wxUSE_DISPLAY=no'
7810 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7811 if test "x$LINE" != x
; then
7812 eval "DEFAULT_$LINE"
7817 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7821 eval "$ac_cv_use_display"
7822 if test "$no_cache" != 1; then
7823 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7826 if test "$wxUSE_DISPLAY" = yes; then
7827 echo "$as_me:$LINENO: result: yes" >&5
7828 echo "${ECHO_T}yes" >&6
7830 echo "$as_me:$LINENO: result: no" >&5
7831 echo "${ECHO_T}no" >&6
7836 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7837 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7839 # Check whether --enable-gauge or --disable-gauge was given.
7840 if test "${enable_gauge+set}" = set; then
7841 enableval
="$enable_gauge"
7843 if test "$enableval" = yes; then
7844 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7846 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7851 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7852 if test "x$LINE" != x
; then
7853 eval "DEFAULT_$LINE"
7858 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7862 eval "$ac_cv_use_gauge"
7863 if test "$no_cache" != 1; then
7864 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7867 if test "$wxUSE_GAUGE" = yes; then
7868 echo "$as_me:$LINENO: result: yes" >&5
7869 echo "${ECHO_T}yes" >&6
7871 echo "$as_me:$LINENO: result: no" >&5
7872 echo "${ECHO_T}no" >&6
7877 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7878 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7880 # Check whether --enable-grid or --disable-grid was given.
7881 if test "${enable_grid+set}" = set; then
7882 enableval
="$enable_grid"
7884 if test "$enableval" = yes; then
7885 ac_cv_use_grid
='wxUSE_GRID=yes'
7887 ac_cv_use_grid
='wxUSE_GRID=no'
7892 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7893 if test "x$LINE" != x
; then
7894 eval "DEFAULT_$LINE"
7899 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7903 eval "$ac_cv_use_grid"
7904 if test "$no_cache" != 1; then
7905 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7908 if test "$wxUSE_GRID" = yes; then
7909 echo "$as_me:$LINENO: result: yes" >&5
7910 echo "${ECHO_T}yes" >&6
7912 echo "$as_me:$LINENO: result: no" >&5
7913 echo "${ECHO_T}no" >&6
7918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7919 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7921 # Check whether --enable-imaglist or --disable-imaglist was given.
7922 if test "${enable_imaglist+set}" = set; then
7923 enableval
="$enable_imaglist"
7925 if test "$enableval" = yes; then
7926 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7928 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7933 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7934 if test "x$LINE" != x
; then
7935 eval "DEFAULT_$LINE"
7940 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7944 eval "$ac_cv_use_imaglist"
7945 if test "$no_cache" != 1; then
7946 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7949 if test "$wxUSE_IMAGLIST" = yes; then
7950 echo "$as_me:$LINENO: result: yes" >&5
7951 echo "${ECHO_T}yes" >&6
7953 echo "$as_me:$LINENO: result: no" >&5
7954 echo "${ECHO_T}no" >&6
7959 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7960 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7962 # Check whether --enable-listbook or --disable-listbook was given.
7963 if test "${enable_listbook+set}" = set; then
7964 enableval
="$enable_listbook"
7966 if test "$enableval" = yes; then
7967 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7969 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7974 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7975 if test "x$LINE" != x
; then
7976 eval "DEFAULT_$LINE"
7981 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7985 eval "$ac_cv_use_listbook"
7986 if test "$no_cache" != 1; then
7987 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7990 if test "$wxUSE_LISTBOOK" = yes; then
7991 echo "$as_me:$LINENO: result: yes" >&5
7992 echo "${ECHO_T}yes" >&6
7994 echo "$as_me:$LINENO: result: no" >&5
7995 echo "${ECHO_T}no" >&6
8000 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8001 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8003 # Check whether --enable-listbox or --disable-listbox was given.
8004 if test "${enable_listbox+set}" = set; then
8005 enableval
="$enable_listbox"
8007 if test "$enableval" = yes; then
8008 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
8010 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
8015 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8016 if test "x$LINE" != x
; then
8017 eval "DEFAULT_$LINE"
8022 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8026 eval "$ac_cv_use_listbox"
8027 if test "$no_cache" != 1; then
8028 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8031 if test "$wxUSE_LISTBOX" = yes; then
8032 echo "$as_me:$LINENO: result: yes" >&5
8033 echo "${ECHO_T}yes" >&6
8035 echo "$as_me:$LINENO: result: no" >&5
8036 echo "${ECHO_T}no" >&6
8041 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8042 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8044 # Check whether --enable-listctrl or --disable-listctrl was given.
8045 if test "${enable_listctrl+set}" = set; then
8046 enableval
="$enable_listctrl"
8048 if test "$enableval" = yes; then
8049 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
8051 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
8056 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8057 if test "x$LINE" != x
; then
8058 eval "DEFAULT_$LINE"
8063 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8067 eval "$ac_cv_use_listctrl"
8068 if test "$no_cache" != 1; then
8069 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8072 if test "$wxUSE_LISTCTRL" = yes; then
8073 echo "$as_me:$LINENO: result: yes" >&5
8074 echo "${ECHO_T}yes" >&6
8076 echo "$as_me:$LINENO: result: no" >&5
8077 echo "${ECHO_T}no" >&6
8082 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8083 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8085 # Check whether --enable-notebook or --disable-notebook was given.
8086 if test "${enable_notebook+set}" = set; then
8087 enableval
="$enable_notebook"
8089 if test "$enableval" = yes; then
8090 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
8092 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
8097 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8098 if test "x$LINE" != x
; then
8099 eval "DEFAULT_$LINE"
8104 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8108 eval "$ac_cv_use_notebook"
8109 if test "$no_cache" != 1; then
8110 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8113 if test "$wxUSE_NOTEBOOK" = yes; then
8114 echo "$as_me:$LINENO: result: yes" >&5
8115 echo "${ECHO_T}yes" >&6
8117 echo "$as_me:$LINENO: result: no" >&5
8118 echo "${ECHO_T}no" >&6
8123 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8124 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8126 # Check whether --enable-radiobox or --disable-radiobox was given.
8127 if test "${enable_radiobox+set}" = set; then
8128 enableval
="$enable_radiobox"
8130 if test "$enableval" = yes; then
8131 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
8133 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
8138 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8139 if test "x$LINE" != x
; then
8140 eval "DEFAULT_$LINE"
8145 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8149 eval "$ac_cv_use_radiobox"
8150 if test "$no_cache" != 1; then
8151 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8154 if test "$wxUSE_RADIOBOX" = yes; then
8155 echo "$as_me:$LINENO: result: yes" >&5
8156 echo "${ECHO_T}yes" >&6
8158 echo "$as_me:$LINENO: result: no" >&5
8159 echo "${ECHO_T}no" >&6
8164 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8165 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8167 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8168 if test "${enable_radiobtn+set}" = set; then
8169 enableval
="$enable_radiobtn"
8171 if test "$enableval" = yes; then
8172 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
8174 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
8179 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8180 if test "x$LINE" != x
; then
8181 eval "DEFAULT_$LINE"
8186 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8190 eval "$ac_cv_use_radiobtn"
8191 if test "$no_cache" != 1; then
8192 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8195 if test "$wxUSE_RADIOBTN" = yes; then
8196 echo "$as_me:$LINENO: result: yes" >&5
8197 echo "${ECHO_T}yes" >&6
8199 echo "$as_me:$LINENO: result: no" >&5
8200 echo "${ECHO_T}no" >&6
8205 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8206 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8208 # Check whether --enable-sash or --disable-sash was given.
8209 if test "${enable_sash+set}" = set; then
8210 enableval
="$enable_sash"
8212 if test "$enableval" = yes; then
8213 ac_cv_use_sash
='wxUSE_SASH=yes'
8215 ac_cv_use_sash
='wxUSE_SASH=no'
8220 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8221 if test "x$LINE" != x
; then
8222 eval "DEFAULT_$LINE"
8227 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8231 eval "$ac_cv_use_sash"
8232 if test "$no_cache" != 1; then
8233 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8236 if test "$wxUSE_SASH" = yes; then
8237 echo "$as_me:$LINENO: result: yes" >&5
8238 echo "${ECHO_T}yes" >&6
8240 echo "$as_me:$LINENO: result: no" >&5
8241 echo "${ECHO_T}no" >&6
8246 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8247 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8249 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8250 if test "${enable_scrollbar+set}" = set; then
8251 enableval
="$enable_scrollbar"
8253 if test "$enableval" = yes; then
8254 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
8256 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
8261 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8262 if test "x$LINE" != x
; then
8263 eval "DEFAULT_$LINE"
8268 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8272 eval "$ac_cv_use_scrollbar"
8273 if test "$no_cache" != 1; then
8274 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8277 if test "$wxUSE_SCROLLBAR" = yes; then
8278 echo "$as_me:$LINENO: result: yes" >&5
8279 echo "${ECHO_T}yes" >&6
8281 echo "$as_me:$LINENO: result: no" >&5
8282 echo "${ECHO_T}no" >&6
8287 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8288 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8290 # Check whether --enable-slider or --disable-slider was given.
8291 if test "${enable_slider+set}" = set; then
8292 enableval
="$enable_slider"
8294 if test "$enableval" = yes; then
8295 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8297 ac_cv_use_slider
='wxUSE_SLIDER=no'
8302 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8303 if test "x$LINE" != x
; then
8304 eval "DEFAULT_$LINE"
8309 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8313 eval "$ac_cv_use_slider"
8314 if test "$no_cache" != 1; then
8315 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8318 if test "$wxUSE_SLIDER" = yes; then
8319 echo "$as_me:$LINENO: result: yes" >&5
8320 echo "${ECHO_T}yes" >&6
8322 echo "$as_me:$LINENO: result: no" >&5
8323 echo "${ECHO_T}no" >&6
8328 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8329 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8331 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8332 if test "${enable_spinbtn+set}" = set; then
8333 enableval
="$enable_spinbtn"
8335 if test "$enableval" = yes; then
8336 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8338 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8343 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8344 if test "x$LINE" != x
; then
8345 eval "DEFAULT_$LINE"
8350 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8354 eval "$ac_cv_use_spinbtn"
8355 if test "$no_cache" != 1; then
8356 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8359 if test "$wxUSE_SPINBTN" = yes; then
8360 echo "$as_me:$LINENO: result: yes" >&5
8361 echo "${ECHO_T}yes" >&6
8363 echo "$as_me:$LINENO: result: no" >&5
8364 echo "${ECHO_T}no" >&6
8369 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8370 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8372 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8373 if test "${enable_spinctrl+set}" = set; then
8374 enableval
="$enable_spinctrl"
8376 if test "$enableval" = yes; then
8377 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8379 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8384 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8385 if test "x$LINE" != x
; then
8386 eval "DEFAULT_$LINE"
8391 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8395 eval "$ac_cv_use_spinctrl"
8396 if test "$no_cache" != 1; then
8397 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8400 if test "$wxUSE_SPINCTRL" = yes; then
8401 echo "$as_me:$LINENO: result: yes" >&5
8402 echo "${ECHO_T}yes" >&6
8404 echo "$as_me:$LINENO: result: no" >&5
8405 echo "${ECHO_T}no" >&6
8410 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8411 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8413 # Check whether --enable-splitter or --disable-splitter was given.
8414 if test "${enable_splitter+set}" = set; then
8415 enableval
="$enable_splitter"
8417 if test "$enableval" = yes; then
8418 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8420 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8425 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8426 if test "x$LINE" != x
; then
8427 eval "DEFAULT_$LINE"
8432 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8436 eval "$ac_cv_use_splitter"
8437 if test "$no_cache" != 1; then
8438 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8441 if test "$wxUSE_SPLITTER" = yes; then
8442 echo "$as_me:$LINENO: result: yes" >&5
8443 echo "${ECHO_T}yes" >&6
8445 echo "$as_me:$LINENO: result: no" >&5
8446 echo "${ECHO_T}no" >&6
8451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8452 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8454 # Check whether --enable-statbmp or --disable-statbmp was given.
8455 if test "${enable_statbmp+set}" = set; then
8456 enableval
="$enable_statbmp"
8458 if test "$enableval" = yes; then
8459 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8461 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8466 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8467 if test "x$LINE" != x
; then
8468 eval "DEFAULT_$LINE"
8473 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8477 eval "$ac_cv_use_statbmp"
8478 if test "$no_cache" != 1; then
8479 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8482 if test "$wxUSE_STATBMP" = yes; then
8483 echo "$as_me:$LINENO: result: yes" >&5
8484 echo "${ECHO_T}yes" >&6
8486 echo "$as_me:$LINENO: result: no" >&5
8487 echo "${ECHO_T}no" >&6
8492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8493 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8495 # Check whether --enable-statbox or --disable-statbox was given.
8496 if test "${enable_statbox+set}" = set; then
8497 enableval
="$enable_statbox"
8499 if test "$enableval" = yes; then
8500 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8502 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8507 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8508 if test "x$LINE" != x
; then
8509 eval "DEFAULT_$LINE"
8514 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8518 eval "$ac_cv_use_statbox"
8519 if test "$no_cache" != 1; then
8520 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8523 if test "$wxUSE_STATBOX" = yes; then
8524 echo "$as_me:$LINENO: result: yes" >&5
8525 echo "${ECHO_T}yes" >&6
8527 echo "$as_me:$LINENO: result: no" >&5
8528 echo "${ECHO_T}no" >&6
8533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8534 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8536 # Check whether --enable-statline or --disable-statline was given.
8537 if test "${enable_statline+set}" = set; then
8538 enableval
="$enable_statline"
8540 if test "$enableval" = yes; then
8541 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8543 ac_cv_use_statline
='wxUSE_STATLINE=no'
8548 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8549 if test "x$LINE" != x
; then
8550 eval "DEFAULT_$LINE"
8555 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8559 eval "$ac_cv_use_statline"
8560 if test "$no_cache" != 1; then
8561 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8564 if test "$wxUSE_STATLINE" = yes; then
8565 echo "$as_me:$LINENO: result: yes" >&5
8566 echo "${ECHO_T}yes" >&6
8568 echo "$as_me:$LINENO: result: no" >&5
8569 echo "${ECHO_T}no" >&6
8574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8575 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8577 # Check whether --enable-stattext or --disable-stattext was given.
8578 if test "${enable_stattext+set}" = set; then
8579 enableval
="$enable_stattext"
8581 if test "$enableval" = yes; then
8582 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8584 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8589 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8590 if test "x$LINE" != x
; then
8591 eval "DEFAULT_$LINE"
8596 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8600 eval "$ac_cv_use_stattext"
8601 if test "$no_cache" != 1; then
8602 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8605 if test "$wxUSE_STATTEXT" = yes; then
8606 echo "$as_me:$LINENO: result: yes" >&5
8607 echo "${ECHO_T}yes" >&6
8609 echo "$as_me:$LINENO: result: no" >&5
8610 echo "${ECHO_T}no" >&6
8615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8616 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8618 # Check whether --enable-statusbar or --disable-statusbar was given.
8619 if test "${enable_statusbar+set}" = set; then
8620 enableval
="$enable_statusbar"
8622 if test "$enableval" = yes; then
8623 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8625 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8630 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8631 if test "x$LINE" != x
; then
8632 eval "DEFAULT_$LINE"
8637 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8641 eval "$ac_cv_use_statusbar"
8642 if test "$no_cache" != 1; then
8643 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8646 if test "$wxUSE_STATUSBAR" = yes; then
8647 echo "$as_me:$LINENO: result: yes" >&5
8648 echo "${ECHO_T}yes" >&6
8650 echo "$as_me:$LINENO: result: no" >&5
8651 echo "${ECHO_T}no" >&6
8656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8657 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8659 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8660 if test "${enable_tabdialog+set}" = set; then
8661 enableval
="$enable_tabdialog"
8663 if test "$enableval" = yes; then
8664 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8666 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8671 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8672 if test "x$LINE" != x
; then
8673 eval "DEFAULT_$LINE"
8678 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8682 eval "$ac_cv_use_tabdialog"
8683 if test "$no_cache" != 1; then
8684 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8687 if test "$wxUSE_TABDIALOG" = yes; then
8688 echo "$as_me:$LINENO: result: yes" >&5
8689 echo "${ECHO_T}yes" >&6
8691 echo "$as_me:$LINENO: result: no" >&5
8692 echo "${ECHO_T}no" >&6
8697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8698 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8700 # Check whether --enable-textctrl or --disable-textctrl was given.
8701 if test "${enable_textctrl+set}" = set; then
8702 enableval
="$enable_textctrl"
8704 if test "$enableval" = yes; then
8705 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8707 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8712 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8713 if test "x$LINE" != x
; then
8714 eval "DEFAULT_$LINE"
8719 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8723 eval "$ac_cv_use_textctrl"
8724 if test "$no_cache" != 1; then
8725 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8728 if test "$wxUSE_TEXTCTRL" = yes; then
8729 echo "$as_me:$LINENO: result: yes" >&5
8730 echo "${ECHO_T}yes" >&6
8732 echo "$as_me:$LINENO: result: no" >&5
8733 echo "${ECHO_T}no" >&6
8738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8739 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8741 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8742 if test "${enable_togglebtn+set}" = set; then
8743 enableval
="$enable_togglebtn"
8745 if test "$enableval" = yes; then
8746 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8748 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8753 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8754 if test "x$LINE" != x
; then
8755 eval "DEFAULT_$LINE"
8760 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8764 eval "$ac_cv_use_togglebtn"
8765 if test "$no_cache" != 1; then
8766 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8769 if test "$wxUSE_TOGGLEBTN" = yes; then
8770 echo "$as_me:$LINENO: result: yes" >&5
8771 echo "${ECHO_T}yes" >&6
8773 echo "$as_me:$LINENO: result: no" >&5
8774 echo "${ECHO_T}no" >&6
8779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8780 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8782 # Check whether --enable-toolbar or --disable-toolbar was given.
8783 if test "${enable_toolbar+set}" = set; then
8784 enableval
="$enable_toolbar"
8786 if test "$enableval" = yes; then
8787 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8789 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8794 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8795 if test "x$LINE" != x
; then
8796 eval "DEFAULT_$LINE"
8801 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8805 eval "$ac_cv_use_toolbar"
8806 if test "$no_cache" != 1; then
8807 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8810 if test "$wxUSE_TOOLBAR" = yes; then
8811 echo "$as_me:$LINENO: result: yes" >&5
8812 echo "${ECHO_T}yes" >&6
8814 echo "$as_me:$LINENO: result: no" >&5
8815 echo "${ECHO_T}no" >&6
8820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8821 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8823 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8824 if test "${enable_tbarnative+set}" = set; then
8825 enableval
="$enable_tbarnative"
8827 if test "$enableval" = yes; then
8828 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8830 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8835 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8836 if test "x$LINE" != x
; then
8837 eval "DEFAULT_$LINE"
8842 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8846 eval "$ac_cv_use_tbarnative"
8847 if test "$no_cache" != 1; then
8848 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8851 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8852 echo "$as_me:$LINENO: result: yes" >&5
8853 echo "${ECHO_T}yes" >&6
8855 echo "$as_me:$LINENO: result: no" >&5
8856 echo "${ECHO_T}no" >&6
8861 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8862 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8864 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8865 if test "${enable_tbarsmpl+set}" = set; then
8866 enableval
="$enable_tbarsmpl"
8868 if test "$enableval" = yes; then
8869 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8871 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8876 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8877 if test "x$LINE" != x
; then
8878 eval "DEFAULT_$LINE"
8883 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8887 eval "$ac_cv_use_tbarsmpl"
8888 if test "$no_cache" != 1; then
8889 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8892 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8893 echo "$as_me:$LINENO: result: yes" >&5
8894 echo "${ECHO_T}yes" >&6
8896 echo "$as_me:$LINENO: result: no" >&5
8897 echo "${ECHO_T}no" >&6
8902 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8903 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8905 # Check whether --enable-treectrl or --disable-treectrl was given.
8906 if test "${enable_treectrl+set}" = set; then
8907 enableval
="$enable_treectrl"
8909 if test "$enableval" = yes; then
8910 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8912 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8917 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8918 if test "x$LINE" != x
; then
8919 eval "DEFAULT_$LINE"
8924 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8928 eval "$ac_cv_use_treectrl"
8929 if test "$no_cache" != 1; then
8930 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8933 if test "$wxUSE_TREECTRL" = yes; then
8934 echo "$as_me:$LINENO: result: yes" >&5
8935 echo "${ECHO_T}yes" >&6
8937 echo "$as_me:$LINENO: result: no" >&5
8938 echo "${ECHO_T}no" >&6
8943 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8944 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8946 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8947 if test "${enable_tipwindow+set}" = set; then
8948 enableval
="$enable_tipwindow"
8950 if test "$enableval" = yes; then
8951 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8953 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8958 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8959 if test "x$LINE" != x
; then
8960 eval "DEFAULT_$LINE"
8965 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8969 eval "$ac_cv_use_tipwindow"
8970 if test "$no_cache" != 1; then
8971 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8974 if test "$wxUSE_TIPWINDOW" = yes; then
8975 echo "$as_me:$LINENO: result: yes" >&5
8976 echo "${ECHO_T}yes" >&6
8978 echo "$as_me:$LINENO: result: no" >&5
8979 echo "${ECHO_T}no" >&6
8984 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8985 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8987 # Check whether --enable-popupwin or --disable-popupwin was given.
8988 if test "${enable_popupwin+set}" = set; then
8989 enableval
="$enable_popupwin"
8991 if test "$enableval" = yes; then
8992 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8994 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8999 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9000 if test "x$LINE" != x
; then
9001 eval "DEFAULT_$LINE"
9006 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9010 eval "$ac_cv_use_popupwin"
9011 if test "$no_cache" != 1; then
9012 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9015 if test "$wxUSE_POPUPWIN" = yes; then
9016 echo "$as_me:$LINENO: result: yes" >&5
9017 echo "${ECHO_T}yes" >&6
9019 echo "$as_me:$LINENO: result: no" >&5
9020 echo "${ECHO_T}no" >&6
9027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9028 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9030 # Check whether --enable-commondlg or --disable-commondlg was given.
9031 if test "${enable_commondlg+set}" = set; then
9032 enableval
="$enable_commondlg"
9034 if test "$enableval" = yes; then
9035 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
9037 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
9042 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9043 if test "x$LINE" != x
; then
9044 eval "DEFAULT_$LINE"
9049 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9053 eval "$ac_cv_use_commondlg"
9054 if test "$no_cache" != 1; then
9055 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9058 if test "$wxUSE_COMMONDLGS" = yes; then
9059 echo "$as_me:$LINENO: result: yes" >&5
9060 echo "${ECHO_T}yes" >&6
9062 echo "$as_me:$LINENO: result: no" >&5
9063 echo "${ECHO_T}no" >&6
9068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9069 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9071 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9072 if test "${enable_choicedlg+set}" = set; then
9073 enableval
="$enable_choicedlg"
9075 if test "$enableval" = yes; then
9076 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
9078 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
9083 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9084 if test "x$LINE" != x
; then
9085 eval "DEFAULT_$LINE"
9090 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9094 eval "$ac_cv_use_choicedlg"
9095 if test "$no_cache" != 1; then
9096 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9099 if test "$wxUSE_CHOICEDLG" = yes; then
9100 echo "$as_me:$LINENO: result: yes" >&5
9101 echo "${ECHO_T}yes" >&6
9103 echo "$as_me:$LINENO: result: no" >&5
9104 echo "${ECHO_T}no" >&6
9109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9110 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9112 # Check whether --enable-coldlg or --disable-coldlg was given.
9113 if test "${enable_coldlg+set}" = set; then
9114 enableval
="$enable_coldlg"
9116 if test "$enableval" = yes; then
9117 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
9119 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
9124 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9125 if test "x$LINE" != x
; then
9126 eval "DEFAULT_$LINE"
9131 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9135 eval "$ac_cv_use_coldlg"
9136 if test "$no_cache" != 1; then
9137 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9140 if test "$wxUSE_COLOURDLG" = yes; then
9141 echo "$as_me:$LINENO: result: yes" >&5
9142 echo "${ECHO_T}yes" >&6
9144 echo "$as_me:$LINENO: result: no" >&5
9145 echo "${ECHO_T}no" >&6
9150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9151 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9153 # Check whether --enable-filedlg or --disable-filedlg was given.
9154 if test "${enable_filedlg+set}" = set; then
9155 enableval
="$enable_filedlg"
9157 if test "$enableval" = yes; then
9158 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
9160 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
9165 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9166 if test "x$LINE" != x
; then
9167 eval "DEFAULT_$LINE"
9172 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9176 eval "$ac_cv_use_filedlg"
9177 if test "$no_cache" != 1; then
9178 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9181 if test "$wxUSE_FILEDLG" = yes; then
9182 echo "$as_me:$LINENO: result: yes" >&5
9183 echo "${ECHO_T}yes" >&6
9185 echo "$as_me:$LINENO: result: no" >&5
9186 echo "${ECHO_T}no" >&6
9191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9192 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9194 # Check whether --enable-finddlg or --disable-finddlg was given.
9195 if test "${enable_finddlg+set}" = set; then
9196 enableval
="$enable_finddlg"
9198 if test "$enableval" = yes; then
9199 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
9201 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
9206 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9207 if test "x$LINE" != x
; then
9208 eval "DEFAULT_$LINE"
9213 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9217 eval "$ac_cv_use_finddlg"
9218 if test "$no_cache" != 1; then
9219 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9222 if test "$wxUSE_FINDREPLDLG" = yes; then
9223 echo "$as_me:$LINENO: result: yes" >&5
9224 echo "${ECHO_T}yes" >&6
9226 echo "$as_me:$LINENO: result: no" >&5
9227 echo "${ECHO_T}no" >&6
9232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9233 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9235 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9236 if test "${enable_fontdlg+set}" = set; then
9237 enableval
="$enable_fontdlg"
9239 if test "$enableval" = yes; then
9240 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
9242 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
9247 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9248 if test "x$LINE" != x
; then
9249 eval "DEFAULT_$LINE"
9254 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9258 eval "$ac_cv_use_fontdlg"
9259 if test "$no_cache" != 1; then
9260 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9263 if test "$wxUSE_FONTDLG" = yes; then
9264 echo "$as_me:$LINENO: result: yes" >&5
9265 echo "${ECHO_T}yes" >&6
9267 echo "$as_me:$LINENO: result: no" >&5
9268 echo "${ECHO_T}no" >&6
9273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9274 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9276 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9277 if test "${enable_dirdlg+set}" = set; then
9278 enableval
="$enable_dirdlg"
9280 if test "$enableval" = yes; then
9281 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
9283 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
9288 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9289 if test "x$LINE" != x
; then
9290 eval "DEFAULT_$LINE"
9295 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9299 eval "$ac_cv_use_dirdlg"
9300 if test "$no_cache" != 1; then
9301 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9304 if test "$wxUSE_DIRDLG" = yes; then
9305 echo "$as_me:$LINENO: result: yes" >&5
9306 echo "${ECHO_T}yes" >&6
9308 echo "$as_me:$LINENO: result: no" >&5
9309 echo "${ECHO_T}no" >&6
9314 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9315 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9317 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9318 if test "${enable_msgdlg+set}" = set; then
9319 enableval
="$enable_msgdlg"
9321 if test "$enableval" = yes; then
9322 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
9324 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
9329 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9330 if test "x$LINE" != x
; then
9331 eval "DEFAULT_$LINE"
9336 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9340 eval "$ac_cv_use_msgdlg"
9341 if test "$no_cache" != 1; then
9342 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9345 if test "$wxUSE_MSGDLG" = yes; then
9346 echo "$as_me:$LINENO: result: yes" >&5
9347 echo "${ECHO_T}yes" >&6
9349 echo "$as_me:$LINENO: result: no" >&5
9350 echo "${ECHO_T}no" >&6
9355 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9356 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9358 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9359 if test "${enable_numberdlg+set}" = set; then
9360 enableval
="$enable_numberdlg"
9362 if test "$enableval" = yes; then
9363 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9365 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9370 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9371 if test "x$LINE" != x
; then
9372 eval "DEFAULT_$LINE"
9377 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9381 eval "$ac_cv_use_numberdlg"
9382 if test "$no_cache" != 1; then
9383 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9386 if test "$wxUSE_NUMBERDLG" = yes; then
9387 echo "$as_me:$LINENO: result: yes" >&5
9388 echo "${ECHO_T}yes" >&6
9390 echo "$as_me:$LINENO: result: no" >&5
9391 echo "${ECHO_T}no" >&6
9396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9397 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9399 # Check whether --enable-splash or --disable-splash was given.
9400 if test "${enable_splash+set}" = set; then
9401 enableval
="$enable_splash"
9403 if test "$enableval" = yes; then
9404 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9406 ac_cv_use_splash
='wxUSE_SPLASH=no'
9411 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9412 if test "x$LINE" != x
; then
9413 eval "DEFAULT_$LINE"
9418 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9422 eval "$ac_cv_use_splash"
9423 if test "$no_cache" != 1; then
9424 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9427 if test "$wxUSE_SPLASH" = yes; then
9428 echo "$as_me:$LINENO: result: yes" >&5
9429 echo "${ECHO_T}yes" >&6
9431 echo "$as_me:$LINENO: result: no" >&5
9432 echo "${ECHO_T}no" >&6
9437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9438 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9440 # Check whether --enable-textdlg or --disable-textdlg was given.
9441 if test "${enable_textdlg+set}" = set; then
9442 enableval
="$enable_textdlg"
9444 if test "$enableval" = yes; then
9445 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9447 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9452 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9453 if test "x$LINE" != x
; then
9454 eval "DEFAULT_$LINE"
9459 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9463 eval "$ac_cv_use_textdlg"
9464 if test "$no_cache" != 1; then
9465 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9468 if test "$wxUSE_TEXTDLG" = yes; then
9469 echo "$as_me:$LINENO: result: yes" >&5
9470 echo "${ECHO_T}yes" >&6
9472 echo "$as_me:$LINENO: result: no" >&5
9473 echo "${ECHO_T}no" >&6
9478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9479 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9481 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9482 if test "${enable_tipdlg+set}" = set; then
9483 enableval
="$enable_tipdlg"
9485 if test "$enableval" = yes; then
9486 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9488 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9493 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9494 if test "x$LINE" != x
; then
9495 eval "DEFAULT_$LINE"
9500 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9504 eval "$ac_cv_use_tipdlg"
9505 if test "$no_cache" != 1; then
9506 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9509 if test "$wxUSE_STARTUP_TIPS" = yes; then
9510 echo "$as_me:$LINENO: result: yes" >&5
9511 echo "${ECHO_T}yes" >&6
9513 echo "$as_me:$LINENO: result: no" >&5
9514 echo "${ECHO_T}no" >&6
9519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9520 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9522 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9523 if test "${enable_progressdlg+set}" = set; then
9524 enableval
="$enable_progressdlg"
9526 if test "$enableval" = yes; then
9527 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9529 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9534 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9535 if test "x$LINE" != x
; then
9536 eval "DEFAULT_$LINE"
9541 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9545 eval "$ac_cv_use_progressdlg"
9546 if test "$no_cache" != 1; then
9547 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9550 if test "$wxUSE_PROGRESSDLG" = yes; then
9551 echo "$as_me:$LINENO: result: yes" >&5
9552 echo "${ECHO_T}yes" >&6
9554 echo "$as_me:$LINENO: result: no" >&5
9555 echo "${ECHO_T}no" >&6
9560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9561 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9563 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9564 if test "${enable_wizarddlg+set}" = set; then
9565 enableval
="$enable_wizarddlg"
9567 if test "$enableval" = yes; then
9568 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9570 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9575 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9576 if test "x$LINE" != x
; then
9577 eval "DEFAULT_$LINE"
9582 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9586 eval "$ac_cv_use_wizarddlg"
9587 if test "$no_cache" != 1; then
9588 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9591 if test "$wxUSE_WIZARDDLG" = yes; then
9592 echo "$as_me:$LINENO: result: yes" >&5
9593 echo "${ECHO_T}yes" >&6
9595 echo "$as_me:$LINENO: result: no" >&5
9596 echo "${ECHO_T}no" >&6
9603 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9604 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9606 # Check whether --enable-menus or --disable-menus was given.
9607 if test "${enable_menus+set}" = set; then
9608 enableval
="$enable_menus"
9610 if test "$enableval" = yes; then
9611 ac_cv_use_menus
='wxUSE_MENUS=yes'
9613 ac_cv_use_menus
='wxUSE_MENUS=no'
9618 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9619 if test "x$LINE" != x
; then
9620 eval "DEFAULT_$LINE"
9625 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9629 eval "$ac_cv_use_menus"
9630 if test "$no_cache" != 1; then
9631 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9634 if test "$wxUSE_MENUS" = yes; then
9635 echo "$as_me:$LINENO: result: yes" >&5
9636 echo "${ECHO_T}yes" >&6
9638 echo "$as_me:$LINENO: result: no" >&5
9639 echo "${ECHO_T}no" >&6
9644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9645 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9647 # Check whether --enable-miniframe or --disable-miniframe was given.
9648 if test "${enable_miniframe+set}" = set; then
9649 enableval
="$enable_miniframe"
9651 if test "$enableval" = yes; then
9652 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9654 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9659 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9660 if test "x$LINE" != x
; then
9661 eval "DEFAULT_$LINE"
9666 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9670 eval "$ac_cv_use_miniframe"
9671 if test "$no_cache" != 1; then
9672 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9675 if test "$wxUSE_MINIFRAME" = yes; then
9676 echo "$as_me:$LINENO: result: yes" >&5
9677 echo "${ECHO_T}yes" >&6
9679 echo "$as_me:$LINENO: result: no" >&5
9680 echo "${ECHO_T}no" >&6
9685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9686 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9688 # Check whether --enable-tooltips or --disable-tooltips was given.
9689 if test "${enable_tooltips+set}" = set; then
9690 enableval
="$enable_tooltips"
9692 if test "$enableval" = yes; then
9693 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9695 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9700 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9701 if test "x$LINE" != x
; then
9702 eval "DEFAULT_$LINE"
9707 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9711 eval "$ac_cv_use_tooltips"
9712 if test "$no_cache" != 1; then
9713 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9716 if test "$wxUSE_TOOLTIPS" = yes; then
9717 echo "$as_me:$LINENO: result: yes" >&5
9718 echo "${ECHO_T}yes" >&6
9720 echo "$as_me:$LINENO: result: no" >&5
9721 echo "${ECHO_T}no" >&6
9726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9727 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9729 # Check whether --enable-splines or --disable-splines was given.
9730 if test "${enable_splines+set}" = set; then
9731 enableval
="$enable_splines"
9733 if test "$enableval" = yes; then
9734 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9736 ac_cv_use_splines
='wxUSE_SPLINES=no'
9741 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9742 if test "x$LINE" != x
; then
9743 eval "DEFAULT_$LINE"
9748 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9752 eval "$ac_cv_use_splines"
9753 if test "$no_cache" != 1; then
9754 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9757 if test "$wxUSE_SPLINES" = yes; then
9758 echo "$as_me:$LINENO: result: yes" >&5
9759 echo "${ECHO_T}yes" >&6
9761 echo "$as_me:$LINENO: result: no" >&5
9762 echo "${ECHO_T}no" >&6
9767 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
9768 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
9770 # Check whether --enable-mousewheel or --disable-mousewheel was given.
9771 if test "${enable_mousewheel+set}" = set; then
9772 enableval
="$enable_mousewheel"
9774 if test "$enableval" = yes; then
9775 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
9777 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
9782 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
9783 if test "x$LINE" != x
; then
9784 eval "DEFAULT_$LINE"
9789 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
9793 eval "$ac_cv_use_mousewheel"
9794 if test "$no_cache" != 1; then
9795 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
9798 if test "$wxUSE_MOUSEWHEEL" = yes; then
9799 echo "$as_me:$LINENO: result: yes" >&5
9800 echo "${ECHO_T}yes" >&6
9802 echo "$as_me:$LINENO: result: no" >&5
9803 echo "${ECHO_T}no" >&6
9808 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9809 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9811 # Check whether --enable-validators or --disable-validators was given.
9812 if test "${enable_validators+set}" = set; then
9813 enableval
="$enable_validators"
9815 if test "$enableval" = yes; then
9816 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9818 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9823 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9824 if test "x$LINE" != x
; then
9825 eval "DEFAULT_$LINE"
9830 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9834 eval "$ac_cv_use_validators"
9835 if test "$no_cache" != 1; then
9836 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9839 if test "$wxUSE_VALIDATORS" = yes; then
9840 echo "$as_me:$LINENO: result: yes" >&5
9841 echo "${ECHO_T}yes" >&6
9843 echo "$as_me:$LINENO: result: no" >&5
9844 echo "${ECHO_T}no" >&6
9849 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9850 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9852 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9853 if test "${enable_busyinfo+set}" = set; then
9854 enableval
="$enable_busyinfo"
9856 if test "$enableval" = yes; then
9857 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9859 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9864 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9865 if test "x$LINE" != x
; then
9866 eval "DEFAULT_$LINE"
9871 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9875 eval "$ac_cv_use_busyinfo"
9876 if test "$no_cache" != 1; then
9877 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9880 if test "$wxUSE_BUSYINFO" = yes; then
9881 echo "$as_me:$LINENO: result: yes" >&5
9882 echo "${ECHO_T}yes" >&6
9884 echo "$as_me:$LINENO: result: no" >&5
9885 echo "${ECHO_T}no" >&6
9890 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9891 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9893 # Check whether --enable-joystick or --disable-joystick was given.
9894 if test "${enable_joystick+set}" = set; then
9895 enableval
="$enable_joystick"
9897 if test "$enableval" = yes; then
9898 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9900 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9905 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9906 if test "x$LINE" != x
; then
9907 eval "DEFAULT_$LINE"
9912 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9916 eval "$ac_cv_use_joystick"
9917 if test "$no_cache" != 1; then
9918 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9921 if test "$wxUSE_JOYSTICK" = yes; then
9922 echo "$as_me:$LINENO: result: yes" >&5
9923 echo "${ECHO_T}yes" >&6
9925 echo "$as_me:$LINENO: result: no" >&5
9926 echo "${ECHO_T}no" >&6
9931 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9932 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9934 # Check whether --enable-metafile or --disable-metafile was given.
9935 if test "${enable_metafile+set}" = set; then
9936 enableval
="$enable_metafile"
9938 if test "$enableval" = yes; then
9939 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9941 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9946 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9947 if test "x$LINE" != x
; then
9948 eval "DEFAULT_$LINE"
9953 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9957 eval "$ac_cv_use_metafile"
9958 if test "$no_cache" != 1; then
9959 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9962 if test "$wxUSE_METAFILE" = yes; then
9963 echo "$as_me:$LINENO: result: yes" >&5
9964 echo "${ECHO_T}yes" >&6
9966 echo "$as_me:$LINENO: result: no" >&5
9967 echo "${ECHO_T}no" >&6
9972 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9973 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9975 # Check whether --enable-dragimage or --disable-dragimage was given.
9976 if test "${enable_dragimage+set}" = set; then
9977 enableval
="$enable_dragimage"
9979 if test "$enableval" = yes; then
9980 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9982 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9987 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9988 if test "x$LINE" != x
; then
9989 eval "DEFAULT_$LINE"
9994 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9998 eval "$ac_cv_use_dragimage"
9999 if test "$no_cache" != 1; then
10000 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10003 if test "$wxUSE_DRAGIMAGE" = yes; then
10004 echo "$as_me:$LINENO: result: yes" >&5
10005 echo "${ECHO_T}yes" >&6
10007 echo "$as_me:$LINENO: result: no" >&5
10008 echo "${ECHO_T}no" >&6
10013 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10014 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10016 # Check whether --enable-accessibility or --disable-accessibility was given.
10017 if test "${enable_accessibility+set}" = set; then
10018 enableval
="$enable_accessibility"
10020 if test "$enableval" = yes; then
10021 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
10023 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
10028 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10029 if test "x$LINE" != x
; then
10030 eval "DEFAULT_$LINE"
10035 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10039 eval "$ac_cv_use_accessibility"
10040 if test "$no_cache" != 1; then
10041 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10044 if test "$wxUSE_ACCESSIBILITY" = yes; then
10045 echo "$as_me:$LINENO: result: yes" >&5
10046 echo "${ECHO_T}yes" >&6
10048 echo "$as_me:$LINENO: result: no" >&5
10049 echo "${ECHO_T}no" >&6
10056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10057 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10059 # Check whether --enable-palette or --disable-palette was given.
10060 if test "${enable_palette+set}" = set; then
10061 enableval
="$enable_palette"
10063 if test "$enableval" = yes; then
10064 ac_cv_use_palette
='wxUSE_PALETTE=yes'
10066 ac_cv_use_palette
='wxUSE_PALETTE=no'
10071 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10072 if test "x$LINE" != x
; then
10073 eval "DEFAULT_$LINE"
10078 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10082 eval "$ac_cv_use_palette"
10083 if test "$no_cache" != 1; then
10084 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10087 if test "$wxUSE_PALETTE" = yes; then
10088 echo "$as_me:$LINENO: result: yes" >&5
10089 echo "${ECHO_T}yes" >&6
10091 echo "$as_me:$LINENO: result: no" >&5
10092 echo "${ECHO_T}no" >&6
10097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10098 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10100 # Check whether --enable-image or --disable-image was given.
10101 if test "${enable_image+set}" = set; then
10102 enableval
="$enable_image"
10104 if test "$enableval" = yes; then
10105 ac_cv_use_image
='wxUSE_IMAGE=yes'
10107 ac_cv_use_image
='wxUSE_IMAGE=no'
10112 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10113 if test "x$LINE" != x
; then
10114 eval "DEFAULT_$LINE"
10119 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10123 eval "$ac_cv_use_image"
10124 if test "$no_cache" != 1; then
10125 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10128 if test "$wxUSE_IMAGE" = yes; then
10129 echo "$as_me:$LINENO: result: yes" >&5
10130 echo "${ECHO_T}yes" >&6
10132 echo "$as_me:$LINENO: result: no" >&5
10133 echo "${ECHO_T}no" >&6
10138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10139 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10141 # Check whether --enable-gif or --disable-gif was given.
10142 if test "${enable_gif+set}" = set; then
10143 enableval
="$enable_gif"
10145 if test "$enableval" = yes; then
10146 ac_cv_use_gif
='wxUSE_GIF=yes'
10148 ac_cv_use_gif
='wxUSE_GIF=no'
10153 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10154 if test "x$LINE" != x
; then
10155 eval "DEFAULT_$LINE"
10160 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10164 eval "$ac_cv_use_gif"
10165 if test "$no_cache" != 1; then
10166 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10169 if test "$wxUSE_GIF" = yes; then
10170 echo "$as_me:$LINENO: result: yes" >&5
10171 echo "${ECHO_T}yes" >&6
10173 echo "$as_me:$LINENO: result: no" >&5
10174 echo "${ECHO_T}no" >&6
10179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10180 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10182 # Check whether --enable-pcx or --disable-pcx was given.
10183 if test "${enable_pcx+set}" = set; then
10184 enableval
="$enable_pcx"
10186 if test "$enableval" = yes; then
10187 ac_cv_use_pcx
='wxUSE_PCX=yes'
10189 ac_cv_use_pcx
='wxUSE_PCX=no'
10194 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10195 if test "x$LINE" != x
; then
10196 eval "DEFAULT_$LINE"
10201 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10205 eval "$ac_cv_use_pcx"
10206 if test "$no_cache" != 1; then
10207 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10210 if test "$wxUSE_PCX" = yes; then
10211 echo "$as_me:$LINENO: result: yes" >&5
10212 echo "${ECHO_T}yes" >&6
10214 echo "$as_me:$LINENO: result: no" >&5
10215 echo "${ECHO_T}no" >&6
10220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10221 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10223 # Check whether --enable-iff or --disable-iff was given.
10224 if test "${enable_iff+set}" = set; then
10225 enableval
="$enable_iff"
10227 if test "$enableval" = yes; then
10228 ac_cv_use_iff
='wxUSE_IFF=yes'
10230 ac_cv_use_iff
='wxUSE_IFF=no'
10235 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10236 if test "x$LINE" != x
; then
10237 eval "DEFAULT_$LINE"
10242 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10246 eval "$ac_cv_use_iff"
10247 if test "$no_cache" != 1; then
10248 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10251 if test "$wxUSE_IFF" = yes; then
10252 echo "$as_me:$LINENO: result: yes" >&5
10253 echo "${ECHO_T}yes" >&6
10255 echo "$as_me:$LINENO: result: no" >&5
10256 echo "${ECHO_T}no" >&6
10261 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10262 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10264 # Check whether --enable-pnm or --disable-pnm was given.
10265 if test "${enable_pnm+set}" = set; then
10266 enableval
="$enable_pnm"
10268 if test "$enableval" = yes; then
10269 ac_cv_use_pnm
='wxUSE_PNM=yes'
10271 ac_cv_use_pnm
='wxUSE_PNM=no'
10276 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10277 if test "x$LINE" != x
; then
10278 eval "DEFAULT_$LINE"
10283 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10287 eval "$ac_cv_use_pnm"
10288 if test "$no_cache" != 1; then
10289 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10292 if test "$wxUSE_PNM" = yes; then
10293 echo "$as_me:$LINENO: result: yes" >&5
10294 echo "${ECHO_T}yes" >&6
10296 echo "$as_me:$LINENO: result: no" >&5
10297 echo "${ECHO_T}no" >&6
10302 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10303 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10305 # Check whether --enable-xpm or --disable-xpm was given.
10306 if test "${enable_xpm+set}" = set; then
10307 enableval
="$enable_xpm"
10309 if test "$enableval" = yes; then
10310 ac_cv_use_xpm
='wxUSE_XPM=yes'
10312 ac_cv_use_xpm
='wxUSE_XPM=no'
10317 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10318 if test "x$LINE" != x
; then
10319 eval "DEFAULT_$LINE"
10324 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10328 eval "$ac_cv_use_xpm"
10329 if test "$no_cache" != 1; then
10330 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10333 if test "$wxUSE_XPM" = yes; then
10334 echo "$as_me:$LINENO: result: yes" >&5
10335 echo "${ECHO_T}yes" >&6
10337 echo "$as_me:$LINENO: result: no" >&5
10338 echo "${ECHO_T}no" >&6
10343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10344 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10346 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10347 if test "${enable_ico_cur+set}" = set; then
10348 enableval
="$enable_ico_cur"
10350 if test "$enableval" = yes; then
10351 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
10353 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
10358 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10359 if test "x$LINE" != x
; then
10360 eval "DEFAULT_$LINE"
10365 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10369 eval "$ac_cv_use_ico_cur"
10370 if test "$no_cache" != 1; then
10371 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10374 if test "$wxUSE_ICO_CUR" = yes; then
10375 echo "$as_me:$LINENO: result: yes" >&5
10376 echo "${ECHO_T}yes" >&6
10378 echo "$as_me:$LINENO: result: no" >&5
10379 echo "${ECHO_T}no" >&6
10387 # Check whether --with-flavour or --without-flavour was given.
10388 if test "${with_flavour+set}" = set; then
10389 withval
="$with_flavour"
10390 WX_FLAVOUR
="$withval"
10396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10397 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10399 # Check whether --enable-official_build or --disable-official_build was given.
10400 if test "${enable_official_build+set}" = set; then
10401 enableval
="$enable_official_build"
10403 if test "$enableval" = yes; then
10404 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10406 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10411 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10412 if test "x$LINE" != x
; then
10413 eval "DEFAULT_$LINE"
10418 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10422 eval "$ac_cv_use_official_build"
10423 if test "$no_cache" != 1; then
10424 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10427 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10428 echo "$as_me:$LINENO: result: yes" >&5
10429 echo "${ECHO_T}yes" >&6
10431 echo "$as_me:$LINENO: result: no" >&5
10432 echo "${ECHO_T}no" >&6
10435 # Check whether --enable-vendor or --disable-vendor was given.
10436 if test "${enable_vendor+set}" = set; then
10437 enableval
="$enable_vendor"
10438 VENDOR
="$enableval"
10440 if test "x$VENDOR" = "x"; then
10447 echo "saving argument cache $wx_arg_cache_file"
10448 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10452 echo "$as_me:$LINENO: checking for toolkit" >&5
10453 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10455 # In Wine, we need to default to MSW, not GTK or MOTIF
10456 if test "$wxUSE_WINE" = "yes"; then
10457 DEFAULT_DEFAULT_wxUSE_GTK
=0
10458 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10459 DEFAULT_DEFAULT_wxUSE_MSW
=1
10464 if test "$wxUSE_GUI" = "yes"; then
10466 if test "$USE_BEOS" = 1; then
10467 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10468 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10469 { (exit 1); exit 1; }; }
10472 if test "$TOOLKIT_GIVEN" = 1; then
10473 for toolkit
in `echo $ALL_TOOLKITS`; do
10475 eval "value=\$${var}"
10476 if test "x$value" = "xno"; then
10478 elif test "x$value" != "x"; then
10482 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10483 eval "wx${toolkit}_VERSION=$value"
10487 for toolkit
in `echo $ALL_TOOLKITS`; do
10488 if test "$has_toolkit_in_cache" != 1; then
10489 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10491 var
=DEFAULT_wxUSE_
$toolkit
10493 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10494 if test "x$version" != "x"; then
10495 eval "wx${toolkit}_VERSION=$version"
10498 eval "wxUSE_$toolkit=\$${var}"
10502 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10503 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10504 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10507 *-pc-os2_emx | *-pc-os2-emx )
10508 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10511 case "$NUM_TOOLKITS" in
10515 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10516 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10517 { (exit 1); exit 1; }; }
10520 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10521 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10522 { (exit 1); exit 1; }; }
10525 # to be removed when --disable-gtk2 isn't needed
10526 if test "x$wxUSE_GTK2" = "xyes"; then
10528 elif test "x$wxUSE_GTK2" = "xno"; then
10532 for toolkit
in `echo $ALL_TOOLKITS`; do
10534 eval "value=\$${var}"
10535 if test "x$value" != x
; then
10536 cache_var
=CACHE_
$toolkit
10537 eval "cache=\$${cache_var}"
10538 if test "$cache" = 1; then
10539 echo "$var=$value" >> ${wx_arg_cache_file}
10540 eval "version=\$wx${toolkit}_VERSION"
10541 if test "x$version" != "x"; then
10542 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10545 if test "$value" = 1; then
10546 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10547 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10548 echo "${ECHO_T}$toolkit_echo" >&6
10553 if test "x$host_alias" != "x"; then
10554 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10555 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10557 echo "$as_me:$LINENO: result: base only" >&5
10558 echo "${ECHO_T}base only" >&6
10563 doesnt_want_win32
=0
10566 if test "$wxUSE_MSW" = 1 ; then
10569 doesnt_want_win32
=1
10577 if test "$wxUSE_WINE" = "yes"; then
10582 LDFLAGS_GUI
="-mwindows"
10585 if test "$wants_win32" = 1 ; then
10588 cat >>confdefs.h
<<\_ACEOF
10589 #define __WIN32__ 1
10592 cat >>confdefs.h
<<\_ACEOF
10593 #define __WIN95__ 1
10596 cat >>confdefs.h
<<\_ACEOF
10597 #define __WINDOWS__ 1
10600 cat >>confdefs.h
<<\_ACEOF
10601 #define __GNUWIN32__ 1
10604 cat >>confdefs.h
<<\_ACEOF
10608 cat >>confdefs.h
<<\_ACEOF
10609 #define WINVER 0x0400
10613 if test "$doesnt_want_win32" = 1 ; then
10618 if test "$USE_UNIX" = 1 ; then
10620 cat >>confdefs.h
<<\_ACEOF
10627 cat >confcache
<<\_ACEOF
10628 # This file is a shell script that caches the results of configure
10629 # tests run on this system so they can be shared between configure
10630 # scripts and configure runs, see configure's option --config-cache.
10631 # It is not useful on other systems. If it contains results you don't
10632 # want to keep, you may remove or edit it.
10634 # config.status only pays attention to the cache file if you give it
10635 # the --recheck option to rerun configure.
10637 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10638 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10639 # following values.
10643 # The following way of writing the cache mishandles newlines in values,
10644 # but we know of no workaround that is simple, portable, and efficient.
10645 # So, don't put newlines in cache variables' values.
10646 # Ultrix sh set writes to stderr and can't be redirected directly,
10647 # and sets the high bit in the cache file unless we assign to the vars.
10650 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10652 # `set' does not quote correctly, so add quotes (double-quote
10653 # substitution turns \\\\ into \\, and sed turns \\ into \).
10656 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10659 # `set' quotes correctly as required by POSIX, so do not add quotes.
10661 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10668 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10670 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10672 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10673 if test -w $cache_file; then
10674 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10675 cat confcache
>$cache_file
10677 echo "not updating unwritable cache $cache_file"
10682 if test "$build" != "$host" ; then
10683 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10685 CXX
=$host_alias-c++
10687 RANLIB
=$host_alias-ranlib
10688 DLLTOOL
=$host_alias-dlltool
10689 RESCOMP
=$host_alias-windres
10690 STRIP
=$host_alias-strip
10691 elif test "x$CC" '!=' "x"; then
10692 echo "You set CC, I assume you know what you are doing."
10694 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10695 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10696 { (exit 1); exit 1; }; }
10704 ac_cpp
='$CPP $CPPFLAGS'
10705 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10706 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10707 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10708 if test -n "$ac_tool_prefix"; then
10709 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10710 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10711 echo "$as_me:$LINENO: checking for $ac_word" >&5
10712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10713 if test "${ac_cv_prog_CC+set}" = set; then
10714 echo $ECHO_N "(cached) $ECHO_C" >&6
10716 if test -n "$CC"; then
10717 ac_cv_prog_CC
="$CC" # Let the user override the test.
10719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10720 for as_dir
in $PATH
10723 test -z "$as_dir" && as_dir
=.
10724 for ac_exec_ext
in '' $ac_executable_extensions; do
10725 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10726 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10736 if test -n "$CC"; then
10737 echo "$as_me:$LINENO: result: $CC" >&5
10738 echo "${ECHO_T}$CC" >&6
10740 echo "$as_me:$LINENO: result: no" >&5
10741 echo "${ECHO_T}no" >&6
10745 if test -z "$ac_cv_prog_CC"; then
10747 # Extract the first word of "gcc", so it can be a program name with args.
10748 set dummy gcc
; ac_word
=$2
10749 echo "$as_me:$LINENO: checking for $ac_word" >&5
10750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10751 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10752 echo $ECHO_N "(cached) $ECHO_C" >&6
10754 if test -n "$ac_ct_CC"; then
10755 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10758 for as_dir
in $PATH
10761 test -z "$as_dir" && as_dir
=.
10762 for ac_exec_ext
in '' $ac_executable_extensions; do
10763 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10764 ac_cv_prog_ac_ct_CC
="gcc"
10765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10773 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10774 if test -n "$ac_ct_CC"; then
10775 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10776 echo "${ECHO_T}$ac_ct_CC" >&6
10778 echo "$as_me:$LINENO: result: no" >&5
10779 echo "${ECHO_T}no" >&6
10784 CC
="$ac_cv_prog_CC"
10787 if test -z "$CC"; then
10788 if test -n "$ac_tool_prefix"; then
10789 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10790 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10791 echo "$as_me:$LINENO: checking for $ac_word" >&5
10792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10793 if test "${ac_cv_prog_CC+set}" = set; then
10794 echo $ECHO_N "(cached) $ECHO_C" >&6
10796 if test -n "$CC"; then
10797 ac_cv_prog_CC
="$CC" # Let the user override the test.
10799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10800 for as_dir
in $PATH
10803 test -z "$as_dir" && as_dir
=.
10804 for ac_exec_ext
in '' $ac_executable_extensions; do
10805 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10806 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10816 if test -n "$CC"; then
10817 echo "$as_me:$LINENO: result: $CC" >&5
10818 echo "${ECHO_T}$CC" >&6
10820 echo "$as_me:$LINENO: result: no" >&5
10821 echo "${ECHO_T}no" >&6
10825 if test -z "$ac_cv_prog_CC"; then
10827 # Extract the first word of "cc", so it can be a program name with args.
10828 set dummy cc
; ac_word
=$2
10829 echo "$as_me:$LINENO: checking for $ac_word" >&5
10830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10831 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10832 echo $ECHO_N "(cached) $ECHO_C" >&6
10834 if test -n "$ac_ct_CC"; then
10835 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10838 for as_dir
in $PATH
10841 test -z "$as_dir" && as_dir
=.
10842 for ac_exec_ext
in '' $ac_executable_extensions; do
10843 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10844 ac_cv_prog_ac_ct_CC
="cc"
10845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10853 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10854 if test -n "$ac_ct_CC"; then
10855 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10856 echo "${ECHO_T}$ac_ct_CC" >&6
10858 echo "$as_me:$LINENO: result: no" >&5
10859 echo "${ECHO_T}no" >&6
10864 CC
="$ac_cv_prog_CC"
10868 if test -z "$CC"; then
10869 # Extract the first word of "cc", so it can be a program name with args.
10870 set dummy cc
; ac_word
=$2
10871 echo "$as_me:$LINENO: checking for $ac_word" >&5
10872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10873 if test "${ac_cv_prog_CC+set}" = set; then
10874 echo $ECHO_N "(cached) $ECHO_C" >&6
10876 if test -n "$CC"; then
10877 ac_cv_prog_CC
="$CC" # Let the user override the test.
10879 ac_prog_rejected
=no
10880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10881 for as_dir
in $PATH
10884 test -z "$as_dir" && as_dir
=.
10885 for ac_exec_ext
in '' $ac_executable_extensions; do
10886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10887 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10888 ac_prog_rejected
=yes
10892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10898 if test $ac_prog_rejected = yes; then
10899 # We found a bogon in the path, so make sure we never use it.
10900 set dummy
$ac_cv_prog_CC
10902 if test $# != 0; then
10903 # We chose a different compiler from the bogus one.
10904 # However, it has the same basename, so the bogon will be chosen
10905 # first if we set CC to just the basename; use the full file name.
10907 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10913 if test -n "$CC"; then
10914 echo "$as_me:$LINENO: result: $CC" >&5
10915 echo "${ECHO_T}$CC" >&6
10917 echo "$as_me:$LINENO: result: no" >&5
10918 echo "${ECHO_T}no" >&6
10922 if test -z "$CC"; then
10923 if test -n "$ac_tool_prefix"; then
10926 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10927 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10928 echo "$as_me:$LINENO: checking for $ac_word" >&5
10929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10930 if test "${ac_cv_prog_CC+set}" = set; then
10931 echo $ECHO_N "(cached) $ECHO_C" >&6
10933 if test -n "$CC"; then
10934 ac_cv_prog_CC
="$CC" # Let the user override the test.
10936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10937 for as_dir
in $PATH
10940 test -z "$as_dir" && as_dir
=.
10941 for ac_exec_ext
in '' $ac_executable_extensions; do
10942 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10943 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10953 if test -n "$CC"; then
10954 echo "$as_me:$LINENO: result: $CC" >&5
10955 echo "${ECHO_T}$CC" >&6
10957 echo "$as_me:$LINENO: result: no" >&5
10958 echo "${ECHO_T}no" >&6
10961 test -n "$CC" && break
10964 if test -z "$CC"; then
10968 # Extract the first word of "$ac_prog", so it can be a program name with args.
10969 set dummy
$ac_prog; ac_word
=$2
10970 echo "$as_me:$LINENO: checking for $ac_word" >&5
10971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10972 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10973 echo $ECHO_N "(cached) $ECHO_C" >&6
10975 if test -n "$ac_ct_CC"; then
10976 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10979 for as_dir
in $PATH
10982 test -z "$as_dir" && as_dir
=.
10983 for ac_exec_ext
in '' $ac_executable_extensions; do
10984 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10985 ac_cv_prog_ac_ct_CC
="$ac_prog"
10986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10994 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10995 if test -n "$ac_ct_CC"; then
10996 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10997 echo "${ECHO_T}$ac_ct_CC" >&6
10999 echo "$as_me:$LINENO: result: no" >&5
11000 echo "${ECHO_T}no" >&6
11003 test -n "$ac_ct_CC" && break
11012 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11013 See \`config.log' for more details." >&5
11014 echo "$as_me: error: no acceptable C compiler found in \$PATH
11015 See \`config.log' for more details." >&2;}
11016 { (exit 1); exit 1; }; }
11018 # Provide some information about the compiler.
11019 echo "$as_me:$LINENO:" \
11020 "checking for C compiler version" >&5
11021 ac_compiler
=`set X $ac_compile; echo $2`
11022 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11023 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11026 (exit $ac_status); }
11027 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11028 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11031 (exit $ac_status); }
11032 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11033 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11036 (exit $ac_status); }
11038 cat >conftest.
$ac_ext <<_ACEOF
11041 cat confdefs.h
>>conftest.
$ac_ext
11042 cat >>conftest.
$ac_ext <<_ACEOF
11043 /* end confdefs.h. */
11053 ac_clean_files_save
=$ac_clean_files
11054 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
11055 # Try to create an executable without -o first, disregard a.out.
11056 # It will help us diagnose broken compilers, and finding out an intuition
11058 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11059 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11060 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11061 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11062 (eval $ac_link_default) 2>&5
11064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11065 (exit $ac_status); }; then
11066 # Find the output, starting from the most likely. This scheme is
11067 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11070 # Be careful to initialize this variable, since it used to be cached.
11071 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11073 # b.out is created by i960 compilers.
11074 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
11076 test -f "$ac_file" || continue
11078 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
11081 # This is the source file.
11084 # We found the default executable, but exeext='' is most
11088 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11089 # FIXME: I believe we export ac_cv_exeext for Libtool,
11090 # but it would be cool to find out if it's true. Does anybody
11091 # maintain Libtool? --akim.
11092 export ac_cv_exeext
11099 echo "$as_me: failed program was:" >&5
11100 sed 's/^/| /' conftest.
$ac_ext >&5
11102 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11103 See \`config.log' for more details." >&5
11104 echo "$as_me: error: C compiler cannot create executables
11105 See \`config.log' for more details." >&2;}
11106 { (exit 77); exit 77; }; }
11109 ac_exeext
=$ac_cv_exeext
11110 echo "$as_me:$LINENO: result: $ac_file" >&5
11111 echo "${ECHO_T}$ac_file" >&6
11113 # Check the compiler produces executables we can run. If not, either
11114 # the compiler is broken, or we cross compile.
11115 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11116 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11117 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11118 # If not cross compiling, check that we can run a simple program.
11119 if test "$cross_compiling" != yes; then
11120 if { ac_try
='./$ac_file'
11121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11122 (eval $ac_try) 2>&5
11124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11125 (exit $ac_status); }; }; then
11128 if test "$cross_compiling" = maybe
; then
11129 cross_compiling
=yes
11131 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11132 If you meant to cross compile, use \`--host'.
11133 See \`config.log' for more details." >&5
11134 echo "$as_me: error: cannot run C compiled programs.
11135 If you meant to cross compile, use \`--host'.
11136 See \`config.log' for more details." >&2;}
11137 { (exit 1); exit 1; }; }
11141 echo "$as_me:$LINENO: result: yes" >&5
11142 echo "${ECHO_T}yes" >&6
11144 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11145 ac_clean_files
=$ac_clean_files_save
11146 # Check the compiler produces executables we can run. If not, either
11147 # the compiler is broken, or we cross compile.
11148 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11149 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11150 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11151 echo "${ECHO_T}$cross_compiling" >&6
11153 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11154 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11156 (eval $ac_link) 2>&5
11158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11159 (exit $ac_status); }; then
11160 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11161 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11162 # work properly (i.e., refer to `conftest.exe'), while it won't with
11164 for ac_file
in conftest.exe conftest conftest.
*; do
11165 test -f "$ac_file" || continue
11167 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11168 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11169 export ac_cv_exeext
11175 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11176 See \`config.log' for more details." >&5
11177 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11178 See \`config.log' for more details." >&2;}
11179 { (exit 1); exit 1; }; }
11182 rm -f conftest
$ac_cv_exeext
11183 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11184 echo "${ECHO_T}$ac_cv_exeext" >&6
11186 rm -f conftest.
$ac_ext
11187 EXEEXT
=$ac_cv_exeext
11189 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11190 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11191 if test "${ac_cv_objext+set}" = set; then
11192 echo $ECHO_N "(cached) $ECHO_C" >&6
11194 cat >conftest.
$ac_ext <<_ACEOF
11197 cat confdefs.h
>>conftest.
$ac_ext
11198 cat >>conftest.
$ac_ext <<_ACEOF
11199 /* end confdefs.h. */
11209 rm -f conftest.o conftest.obj
11210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11211 (eval $ac_compile) 2>&5
11213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11214 (exit $ac_status); }; then
11215 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11217 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
11218 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11223 echo "$as_me: failed program was:" >&5
11224 sed 's/^/| /' conftest.
$ac_ext >&5
11226 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11227 See \`config.log' for more details." >&5
11228 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11229 See \`config.log' for more details." >&2;}
11230 { (exit 1); exit 1; }; }
11233 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11235 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11236 echo "${ECHO_T}$ac_cv_objext" >&6
11237 OBJEXT
=$ac_cv_objext
11239 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11240 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11241 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11242 echo $ECHO_N "(cached) $ECHO_C" >&6
11244 cat >conftest.
$ac_ext <<_ACEOF
11247 cat confdefs.h
>>conftest.
$ac_ext
11248 cat >>conftest.
$ac_ext <<_ACEOF
11249 /* end confdefs.h. */
11262 rm -f conftest.
$ac_objext
11263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11264 (eval $ac_compile) 2>conftest.er1
11266 grep -v '^ *+' conftest.er1
>conftest.err
11268 cat conftest.err
>&5
11269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11270 (exit $ac_status); } &&
11271 { ac_try
='test -z "$ac_c_werror_flag" || 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" || test ! -s conftest.err'
11330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11331 (eval $ac_try) 2>&5
11333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11334 (exit $ac_status); }; } &&
11335 { ac_try
='test -s conftest.$ac_objext'
11336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11337 (eval $ac_try) 2>&5
11339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11340 (exit $ac_status); }; }; then
11341 ac_cv_prog_cc_g
=yes
11343 echo "$as_me: failed program was:" >&5
11344 sed 's/^/| /' conftest.
$ac_ext >&5
11348 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11350 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11351 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11352 if test "$ac_test_CFLAGS" = set; then
11353 CFLAGS
=$ac_save_CFLAGS
11354 elif test $ac_cv_prog_cc_g = yes; then
11355 if test "$GCC" = yes; then
11361 if test "$GCC" = yes; then
11367 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11368 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11369 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11370 echo $ECHO_N "(cached) $ECHO_C" >&6
11372 ac_cv_prog_cc_stdc
=no
11374 cat >conftest.
$ac_ext <<_ACEOF
11377 cat confdefs.h
>>conftest.
$ac_ext
11378 cat >>conftest.
$ac_ext <<_ACEOF
11379 /* end confdefs.h. */
11380 #include <stdarg.h>
11382 #include <sys/types.h>
11383 #include <sys/stat.h>
11384 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11385 struct buf { int x; };
11386 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11387 static char *e (p, i)
11393 static char *f (char * (*g) (char **, int), char **p, ...)
11398 s = g (p, va_arg (v,int));
11403 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11404 function prototypes and stuff, but not '\xHH' hex character constants.
11405 These don't provoke an error unfortunately, instead are silently treated
11406 as 'x'. The following induces an error, until -std1 is added to get
11407 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11408 array size at least. It's necessary to write '\x00'==0 to get something
11409 that's true only with -std1. */
11410 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11412 int test (int i, double x);
11413 struct s1 {int (*f) (int a);};
11414 struct s2 {int (*f) (double a);};
11415 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11421 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11426 # Don't try gcc -ansi; that turns off useful extensions and
11427 # breaks some systems' header files.
11428 # AIX -qlanglvl=ansi
11429 # Ultrix and OSF/1 -std1
11430 # HP-UX 10.20 and later -Ae
11431 # HP-UX older versions -Aa -D_HPUX_SOURCE
11432 # SVR4 -Xc -D__EXTENSIONS__
11433 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11435 CC
="$ac_save_CC $ac_arg"
11436 rm -f conftest.
$ac_objext
11437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11438 (eval $ac_compile) 2>conftest.er1
11440 grep -v '^ *+' conftest.er1
>conftest.err
11442 cat conftest.err
>&5
11443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11444 (exit $ac_status); } &&
11445 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11447 (eval $ac_try) 2>&5
11449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11450 (exit $ac_status); }; } &&
11451 { ac_try
='test -s conftest.$ac_objext'
11452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11453 (eval $ac_try) 2>&5
11455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11456 (exit $ac_status); }; }; then
11457 ac_cv_prog_cc_stdc
=$ac_arg
11460 echo "$as_me: failed program was:" >&5
11461 sed 's/^/| /' conftest.
$ac_ext >&5
11464 rm -f conftest.err conftest.
$ac_objext
11466 rm -f conftest.
$ac_ext conftest.
$ac_objext
11471 case "x$ac_cv_prog_cc_stdc" in
11473 echo "$as_me:$LINENO: result: none needed" >&5
11474 echo "${ECHO_T}none needed" >&6 ;;
11476 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11477 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11478 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11481 # Some people use a C++ compiler to compile C. Since we use `exit',
11482 # in C++ we need to declare it. In case someone uses the same compiler
11483 # for both compiling C and C++ we need to have the C++ compiler decide
11484 # the declaration of exit, since it's the most demanding environment.
11485 cat >conftest.
$ac_ext <<_ACEOF
11486 #ifndef __cplusplus
11490 rm -f conftest.
$ac_objext
11491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11492 (eval $ac_compile) 2>conftest.er1
11494 grep -v '^ *+' conftest.er1
>conftest.err
11496 cat conftest.err
>&5
11497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11498 (exit $ac_status); } &&
11499 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11501 (eval $ac_try) 2>&5
11503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11504 (exit $ac_status); }; } &&
11505 { ac_try
='test -s conftest.$ac_objext'
11506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11507 (eval $ac_try) 2>&5
11509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11510 (exit $ac_status); }; }; then
11511 for ac_declaration
in \
11513 'extern "C" void std::exit (int) throw (); using std::exit;' \
11514 'extern "C" void std::exit (int); using std::exit;' \
11515 'extern "C" void exit (int) throw ();' \
11516 'extern "C" void exit (int);' \
11519 cat >conftest.
$ac_ext <<_ACEOF
11522 cat confdefs.h
>>conftest.
$ac_ext
11523 cat >>conftest.
$ac_ext <<_ACEOF
11524 /* end confdefs.h. */
11526 #include <stdlib.h>
11535 rm -f conftest.
$ac_objext
11536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11537 (eval $ac_compile) 2>conftest.er1
11539 grep -v '^ *+' conftest.er1
>conftest.err
11541 cat conftest.err
>&5
11542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11543 (exit $ac_status); } &&
11544 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11546 (eval $ac_try) 2>&5
11548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11549 (exit $ac_status); }; } &&
11550 { ac_try
='test -s conftest.$ac_objext'
11551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11552 (eval $ac_try) 2>&5
11554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11555 (exit $ac_status); }; }; then
11558 echo "$as_me: failed program was:" >&5
11559 sed 's/^/| /' conftest.
$ac_ext >&5
11563 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11564 cat >conftest.
$ac_ext <<_ACEOF
11567 cat confdefs.h
>>conftest.
$ac_ext
11568 cat >>conftest.
$ac_ext <<_ACEOF
11569 /* end confdefs.h. */
11579 rm -f conftest.
$ac_objext
11580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11581 (eval $ac_compile) 2>conftest.er1
11583 grep -v '^ *+' conftest.er1
>conftest.err
11585 cat conftest.err
>&5
11586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11587 (exit $ac_status); } &&
11588 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11590 (eval $ac_try) 2>&5
11592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11593 (exit $ac_status); }; } &&
11594 { ac_try
='test -s conftest.$ac_objext'
11595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11596 (eval $ac_try) 2>&5
11598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11599 (exit $ac_status); }; }; then
11602 echo "$as_me: failed program was:" >&5
11603 sed 's/^/| /' conftest.
$ac_ext >&5
11606 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11609 if test -n "$ac_declaration"; then
11610 echo '#ifdef __cplusplus' >>confdefs.h
11611 echo $ac_declaration >>confdefs.h
11612 echo '#endif' >>confdefs.h
11616 echo "$as_me: failed program was:" >&5
11617 sed 's/^/| /' conftest.
$ac_ext >&5
11620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11622 ac_cpp
='$CPP $CPPFLAGS'
11623 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11624 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11625 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11627 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11628 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11629 if test "${wx_cv_c_exto+set}" = set; then
11630 echo $ECHO_N "(cached) $ECHO_C" >&6
11632 cat >conftest.
$ac_ext <<_ACEOF
11635 cat confdefs.h
>>conftest.
$ac_ext
11636 cat >>conftest.
$ac_ext <<_ACEOF
11637 /* end confdefs.h. */
11647 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
11648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11649 (eval $ac_compile) 2>&5
11651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11652 (exit $ac_status); }; then
11653 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
11655 conftest.
$ac_ext.o
)
11656 wx_cv_c_exto
="-ext o"
11663 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11664 See \`config.log' for more details." >&5
11665 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11666 See \`config.log' for more details." >&2;}
11667 { (exit 1); exit 1; }; }
11671 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
11674 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5
11675 echo "${ECHO_T}$wx_cv_c_exto" >&6
11676 if test "x$wx_cv_c_exto" '!=' "x"; then
11677 if test "c" = "c"; then
11678 CFLAGS
="$wx_cv_c_exto $CFLAGS"
11680 if test "c" = "cxx"; then
11681 CXXFLAGS
="$wx_cv_c_exto $CXXFLAGS"
11685 if test "x$wx_cv_c_exto" '!=' "x"; then
11686 unset ac_cv_prog_cc_g
11687 ac_test_CFLAGS
=${CFLAGS+set}
11688 ac_save_CFLAGS
=$CFLAGS
11690 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11691 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11692 if test "${ac_cv_prog_cc_g+set}" = set; then
11693 echo $ECHO_N "(cached) $ECHO_C" >&6
11695 cat >conftest.
$ac_ext <<_ACEOF
11698 cat confdefs.h
>>conftest.
$ac_ext
11699 cat >>conftest.
$ac_ext <<_ACEOF
11700 /* end confdefs.h. */
11710 rm -f conftest.
$ac_objext
11711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11712 (eval $ac_compile) 2>conftest.er1
11714 grep -v '^ *+' conftest.er1
>conftest.err
11716 cat conftest.err
>&5
11717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11718 (exit $ac_status); } &&
11719 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11721 (eval $ac_try) 2>&5
11723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11724 (exit $ac_status); }; } &&
11725 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
11731 ac_cv_prog_cc_g
=yes
11733 echo "$as_me: failed program was:" >&5
11734 sed 's/^/| /' conftest.
$ac_ext >&5
11738 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11740 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11741 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11742 if test "$ac_test_CFLAGS" = set; then
11743 CFLAGS
=$ac_save_CFLAGS
11744 elif test $ac_cv_prog_cc_g = yes; then
11745 if test "$GCC" = yes; then
11751 if test "$GCC" = yes; then
11759 ac_cpp
='$CPP $CPPFLAGS'
11760 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11761 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11762 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11764 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11765 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11766 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11767 echo $ECHO_N "(cached) $ECHO_C" >&6
11769 cat >conftest.
$ac_ext <<_ACEOF
11772 cat confdefs.h
>>conftest.
$ac_ext
11773 cat >>conftest.
$ac_ext <<_ACEOF
11774 /* end confdefs.h. */
11787 rm -f conftest.
$ac_objext
11788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11789 (eval $ac_compile) 2>conftest.er1
11791 grep -v '^ *+' conftest.er1
>conftest.err
11793 cat conftest.err
>&5
11794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11795 (exit $ac_status); } &&
11796 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11798 (eval $ac_try) 2>&5
11800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11801 (exit $ac_status); }; } &&
11802 { ac_try
='test -s conftest.$ac_objext'
11803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11804 (eval $ac_try) 2>&5
11806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11807 (exit $ac_status); }; }; then
11808 bakefile_compiler_mwerks
=yes
11810 echo "$as_me: failed program was:" >&5
11811 sed 's/^/| /' conftest.
$ac_ext >&5
11813 bakefile_compiler_mwerks
=no
11815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11816 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
11819 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11820 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11822 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
11824 ac_cpp
='$CPP $CPPFLAGS'
11825 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11826 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11827 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
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
11836 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11837 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11838 if test "${wx_cv_c_compiler_xlc+set}" = set; then
11839 echo $ECHO_N "(cached) $ECHO_C" >&6
11841 cat >conftest.
$ac_ext <<_ACEOF
11844 cat confdefs.h
>>conftest.
$ac_ext
11845 cat >>conftest.
$ac_ext <<_ACEOF
11846 /* end confdefs.h. */
11859 rm -f conftest.
$ac_objext
11860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11861 (eval $ac_compile) 2>conftest.er1
11863 grep -v '^ *+' conftest.er1
>conftest.err
11865 cat conftest.err
>&5
11866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11867 (exit $ac_status); } &&
11868 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11870 (eval $ac_try) 2>&5
11872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11873 (exit $ac_status); }; } &&
11874 { ac_try
='test -s conftest.$ac_objext'
11875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11876 (eval $ac_try) 2>&5
11878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11879 (exit $ac_status); }; }; then
11880 wx_compiler_xlc
=yes
11882 echo "$as_me: failed program was:" >&5
11883 sed 's/^/| /' conftest.
$ac_ext >&5
11887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11888 wx_cv_c_compiler_xlc
=$wx_compiler_xlc
11891 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
11892 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
11894 XLCC
=`test $wx_cv_c_compiler_xlc = yes && echo yes`
11896 ac_cpp
='$CPP $CPPFLAGS'
11897 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11898 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11899 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11905 ac_cpp
='$CPP $CPPFLAGS'
11906 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11907 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11908 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11909 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11910 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11911 # On Suns, sometimes $CPP names a directory.
11912 if test -n "$CPP" && test -d "$CPP"; then
11915 if test -z "$CPP"; then
11916 if test "${ac_cv_prog_CPP+set}" = set; then
11917 echo $ECHO_N "(cached) $ECHO_C" >&6
11919 # Double quotes because CPP needs to be expanded
11920 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11922 ac_preproc_ok
=false
11923 for ac_c_preproc_warn_flag
in '' yes
11925 # Use a header file that comes with gcc, so configuring glibc
11926 # with a fresh cross-compiler works.
11927 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11928 # <limits.h> exists even on freestanding compilers.
11929 # On the NeXT, cc -E runs the code through the compiler's parser,
11930 # not just through cpp. "Syntax error" is here to catch this case.
11931 cat >conftest.
$ac_ext <<_ACEOF
11934 cat confdefs.h
>>conftest.
$ac_ext
11935 cat >>conftest.
$ac_ext <<_ACEOF
11936 /* end confdefs.h. */
11938 # include <limits.h>
11940 # include <assert.h>
11944 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11945 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11947 grep -v '^ *+' conftest.er1
>conftest.err
11949 cat conftest.err
>&5
11950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11951 (exit $ac_status); } >/dev
/null
; then
11952 if test -s conftest.err
; then
11953 ac_cpp_err
=$ac_c_preproc_warn_flag
11954 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11961 if test -z "$ac_cpp_err"; then
11964 echo "$as_me: failed program was:" >&5
11965 sed 's/^/| /' conftest.
$ac_ext >&5
11967 # Broken: fails on valid input.
11970 rm -f conftest.err conftest.
$ac_ext
11972 # OK, works on sane cases. Now check whether non-existent headers
11973 # can be detected and how.
11974 cat >conftest.
$ac_ext <<_ACEOF
11977 cat confdefs.h
>>conftest.
$ac_ext
11978 cat >>conftest.
$ac_ext <<_ACEOF
11979 /* end confdefs.h. */
11980 #include <ac_nonexistent.h>
11982 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11983 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11985 grep -v '^ *+' conftest.er1
>conftest.err
11987 cat conftest.err
>&5
11988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11989 (exit $ac_status); } >/dev
/null
; then
11990 if test -s conftest.err
; then
11991 ac_cpp_err
=$ac_c_preproc_warn_flag
11992 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11999 if test -z "$ac_cpp_err"; then
12000 # Broken: success on invalid input.
12003 echo "$as_me: failed program was:" >&5
12004 sed 's/^/| /' conftest.
$ac_ext >&5
12006 # Passes both tests.
12010 rm -f conftest.err conftest.
$ac_ext
12013 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12014 rm -f conftest.err conftest.
$ac_ext
12015 if $ac_preproc_ok; then
12020 ac_cv_prog_CPP
=$CPP
12023 CPP
=$ac_cv_prog_CPP
12025 ac_cv_prog_CPP
=$CPP
12027 echo "$as_me:$LINENO: result: $CPP" >&5
12028 echo "${ECHO_T}$CPP" >&6
12029 ac_preproc_ok
=false
12030 for ac_c_preproc_warn_flag
in '' yes
12032 # Use a header file that comes with gcc, so configuring glibc
12033 # with a fresh cross-compiler works.
12034 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12035 # <limits.h> exists even on freestanding compilers.
12036 # On the NeXT, cc -E runs the code through the compiler's parser,
12037 # not just through cpp. "Syntax error" is here to catch this case.
12038 cat >conftest.
$ac_ext <<_ACEOF
12041 cat confdefs.h
>>conftest.
$ac_ext
12042 cat >>conftest.
$ac_ext <<_ACEOF
12043 /* end confdefs.h. */
12045 # include <limits.h>
12047 # include <assert.h>
12051 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12052 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12054 grep -v '^ *+' conftest.er1
>conftest.err
12056 cat conftest.err
>&5
12057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12058 (exit $ac_status); } >/dev
/null
; then
12059 if test -s conftest.err
; then
12060 ac_cpp_err
=$ac_c_preproc_warn_flag
12061 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12068 if test -z "$ac_cpp_err"; then
12071 echo "$as_me: failed program was:" >&5
12072 sed 's/^/| /' conftest.
$ac_ext >&5
12074 # Broken: fails on valid input.
12077 rm -f conftest.err conftest.
$ac_ext
12079 # OK, works on sane cases. Now check whether non-existent headers
12080 # can be detected and how.
12081 cat >conftest.
$ac_ext <<_ACEOF
12084 cat confdefs.h
>>conftest.
$ac_ext
12085 cat >>conftest.
$ac_ext <<_ACEOF
12086 /* end confdefs.h. */
12087 #include <ac_nonexistent.h>
12089 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12090 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12092 grep -v '^ *+' conftest.er1
>conftest.err
12094 cat conftest.err
>&5
12095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12096 (exit $ac_status); } >/dev
/null
; then
12097 if test -s conftest.err
; then
12098 ac_cpp_err
=$ac_c_preproc_warn_flag
12099 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12106 if test -z "$ac_cpp_err"; then
12107 # Broken: success on invalid input.
12110 echo "$as_me: failed program was:" >&5
12111 sed 's/^/| /' conftest.
$ac_ext >&5
12113 # Passes both tests.
12117 rm -f conftest.err conftest.
$ac_ext
12120 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12121 rm -f conftest.err conftest.
$ac_ext
12122 if $ac_preproc_ok; then
12125 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12126 See \`config.log' for more details." >&5
12127 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12128 See \`config.log' for more details." >&2;}
12129 { (exit 1); exit 1; }; }
12133 ac_cpp
='$CPP $CPPFLAGS'
12134 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12135 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12136 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12139 echo "$as_me:$LINENO: checking for egrep" >&5
12140 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12141 if test "${ac_cv_prog_egrep+set}" = set; then
12142 echo $ECHO_N "(cached) $ECHO_C" >&6
12144 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
12145 then ac_cv_prog_egrep
='grep -E'
12146 else ac_cv_prog_egrep
='egrep'
12149 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12150 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12151 EGREP
=$ac_cv_prog_egrep
12154 if test $ac_cv_c_compiler_gnu = yes; then
12155 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12156 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12157 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12158 echo $ECHO_N "(cached) $ECHO_C" >&6
12160 ac_pattern
="Autoconf.*'x'"
12161 cat >conftest.
$ac_ext <<_ACEOF
12164 cat confdefs.h
>>conftest.
$ac_ext
12165 cat >>conftest.
$ac_ext <<_ACEOF
12166 /* end confdefs.h. */
12170 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12171 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12172 ac_cv_prog_gcc_traditional
=yes
12174 ac_cv_prog_gcc_traditional
=no
12179 if test $ac_cv_prog_gcc_traditional = no
; then
12180 cat >conftest.
$ac_ext <<_ACEOF
12183 cat confdefs.h
>>conftest.
$ac_ext
12184 cat >>conftest.
$ac_ext <<_ACEOF
12185 /* end confdefs.h. */
12186 #include <termio.h>
12189 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12190 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12191 ac_cv_prog_gcc_traditional
=yes
12197 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12198 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12199 if test $ac_cv_prog_gcc_traditional = yes; then
12200 CC
="$CC -traditional"
12208 ac_cpp
='$CXXCPP $CPPFLAGS'
12209 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12210 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12211 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12214 CXXFLAGS
=${CXXFLAGS:=}
12218 ac_cpp
='$CXXCPP $CPPFLAGS'
12219 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12220 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12221 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12222 if test -n "$ac_tool_prefix"; then
12223 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12225 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12226 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12227 echo "$as_me:$LINENO: checking for $ac_word" >&5
12228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12229 if test "${ac_cv_prog_CXX+set}" = set; then
12230 echo $ECHO_N "(cached) $ECHO_C" >&6
12232 if test -n "$CXX"; then
12233 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
12235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12236 for as_dir
in $PATH
12239 test -z "$as_dir" && as_dir
=.
12240 for ac_exec_ext
in '' $ac_executable_extensions; do
12241 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12242 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
12243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12251 CXX
=$ac_cv_prog_CXX
12252 if test -n "$CXX"; then
12253 echo "$as_me:$LINENO: result: $CXX" >&5
12254 echo "${ECHO_T}$CXX" >&6
12256 echo "$as_me:$LINENO: result: no" >&5
12257 echo "${ECHO_T}no" >&6
12260 test -n "$CXX" && break
12263 if test -z "$CXX"; then
12265 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12267 # Extract the first word of "$ac_prog", so it can be a program name with args.
12268 set dummy
$ac_prog; ac_word
=$2
12269 echo "$as_me:$LINENO: checking for $ac_word" >&5
12270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12271 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12272 echo $ECHO_N "(cached) $ECHO_C" >&6
12274 if test -n "$ac_ct_CXX"; then
12275 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
12277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12278 for as_dir
in $PATH
12281 test -z "$as_dir" && as_dir
=.
12282 for ac_exec_ext
in '' $ac_executable_extensions; do
12283 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12284 ac_cv_prog_ac_ct_CXX
="$ac_prog"
12285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12293 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
12294 if test -n "$ac_ct_CXX"; then
12295 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12296 echo "${ECHO_T}$ac_ct_CXX" >&6
12298 echo "$as_me:$LINENO: result: no" >&5
12299 echo "${ECHO_T}no" >&6
12302 test -n "$ac_ct_CXX" && break
12304 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
12310 # Provide some information about the compiler.
12311 echo "$as_me:$LINENO:" \
12312 "checking for C++ compiler version" >&5
12313 ac_compiler
=`set X $ac_compile; echo $2`
12314 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12315 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12318 (exit $ac_status); }
12319 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12320 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12323 (exit $ac_status); }
12324 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12325 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12328 (exit $ac_status); }
12330 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12331 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12332 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12333 echo $ECHO_N "(cached) $ECHO_C" >&6
12335 cat >conftest.
$ac_ext <<_ACEOF
12338 cat confdefs.h
>>conftest.
$ac_ext
12339 cat >>conftest.
$ac_ext <<_ACEOF
12340 /* end confdefs.h. */
12353 rm -f conftest.
$ac_objext
12354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12355 (eval $ac_compile) 2>conftest.er1
12357 grep -v '^ *+' conftest.er1
>conftest.err
12359 cat conftest.err
>&5
12360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12361 (exit $ac_status); } &&
12362 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12364 (eval $ac_try) 2>&5
12366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12367 (exit $ac_status); }; } &&
12368 { ac_try
='test -s conftest.$ac_objext'
12369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12370 (eval $ac_try) 2>&5
12372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12373 (exit $ac_status); }; }; then
12374 ac_compiler_gnu
=yes
12376 echo "$as_me: failed program was:" >&5
12377 sed 's/^/| /' conftest.
$ac_ext >&5
12381 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12382 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
12385 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12386 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12387 GXX
=`test $ac_compiler_gnu = yes && echo yes`
12388 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12389 ac_save_CXXFLAGS
=$CXXFLAGS
12391 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12392 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12393 if test "${ac_cv_prog_cxx_g+set}" = set; then
12394 echo $ECHO_N "(cached) $ECHO_C" >&6
12396 cat >conftest.
$ac_ext <<_ACEOF
12399 cat confdefs.h
>>conftest.
$ac_ext
12400 cat >>conftest.
$ac_ext <<_ACEOF
12401 /* end confdefs.h. */
12411 rm -f conftest.
$ac_objext
12412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12413 (eval $ac_compile) 2>conftest.er1
12415 grep -v '^ *+' conftest.er1
>conftest.err
12417 cat conftest.err
>&5
12418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12419 (exit $ac_status); } &&
12420 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12422 (eval $ac_try) 2>&5
12424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12425 (exit $ac_status); }; } &&
12426 { ac_try
='test -s conftest.$ac_objext'
12427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12428 (eval $ac_try) 2>&5
12430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12431 (exit $ac_status); }; }; then
12432 ac_cv_prog_cxx_g
=yes
12434 echo "$as_me: failed program was:" >&5
12435 sed 's/^/| /' conftest.
$ac_ext >&5
12437 ac_cv_prog_cxx_g
=no
12439 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12441 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12442 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12443 if test "$ac_test_CXXFLAGS" = set; then
12444 CXXFLAGS
=$ac_save_CXXFLAGS
12445 elif test $ac_cv_prog_cxx_g = yes; then
12446 if test "$GXX" = yes; then
12452 if test "$GXX" = yes; then
12458 for ac_declaration
in \
12460 'extern "C" void std::exit (int) throw (); using std::exit;' \
12461 'extern "C" void std::exit (int); using std::exit;' \
12462 'extern "C" void exit (int) throw ();' \
12463 'extern "C" void exit (int);' \
12466 cat >conftest.
$ac_ext <<_ACEOF
12469 cat confdefs.h
>>conftest.
$ac_ext
12470 cat >>conftest.
$ac_ext <<_ACEOF
12471 /* end confdefs.h. */
12473 #include <stdlib.h>
12482 rm -f conftest.
$ac_objext
12483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12484 (eval $ac_compile) 2>conftest.er1
12486 grep -v '^ *+' conftest.er1
>conftest.err
12488 cat conftest.err
>&5
12489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12490 (exit $ac_status); } &&
12491 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12493 (eval $ac_try) 2>&5
12495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12496 (exit $ac_status); }; } &&
12497 { ac_try
='test -s conftest.$ac_objext'
12498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12499 (eval $ac_try) 2>&5
12501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12502 (exit $ac_status); }; }; then
12505 echo "$as_me: failed program was:" >&5
12506 sed 's/^/| /' conftest.
$ac_ext >&5
12510 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12511 cat >conftest.
$ac_ext <<_ACEOF
12514 cat confdefs.h
>>conftest.
$ac_ext
12515 cat >>conftest.
$ac_ext <<_ACEOF
12516 /* end confdefs.h. */
12526 rm -f conftest.
$ac_objext
12527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12528 (eval $ac_compile) 2>conftest.er1
12530 grep -v '^ *+' conftest.er1
>conftest.err
12532 cat conftest.err
>&5
12533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12534 (exit $ac_status); } &&
12535 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12537 (eval $ac_try) 2>&5
12539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12540 (exit $ac_status); }; } &&
12541 { ac_try
='test -s conftest.$ac_objext'
12542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12543 (eval $ac_try) 2>&5
12545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12546 (exit $ac_status); }; }; then
12549 echo "$as_me: failed program was:" >&5
12550 sed 's/^/| /' conftest.
$ac_ext >&5
12553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12556 if test -n "$ac_declaration"; then
12557 echo '#ifdef __cplusplus' >>confdefs.h
12558 echo $ac_declaration >>confdefs.h
12559 echo '#endif' >>confdefs.h
12563 ac_cpp
='$CXXCPP $CPPFLAGS'
12564 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12565 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12566 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12568 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
12569 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
12570 if test "${wx_cv_cxx_exto+set}" = set; then
12571 echo $ECHO_N "(cached) $ECHO_C" >&6
12573 cat >conftest.
$ac_ext <<_ACEOF
12576 cat confdefs.h
>>conftest.
$ac_ext
12577 cat >>conftest.
$ac_ext <<_ACEOF
12578 /* end confdefs.h. */
12588 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12590 (eval $ac_compile) 2>&5
12592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12593 (exit $ac_status); }; then
12594 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12596 conftest.
$ac_ext.o
)
12597 wx_cv_cxx_exto
="-ext o"
12604 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12605 See \`config.log' for more details." >&5
12606 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12607 See \`config.log' for more details." >&2;}
12608 { (exit 1); exit 1; }; }
12612 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12615 echo "$as_me:$LINENO: result: $wx_cv_cxx_exto" >&5
12616 echo "${ECHO_T}$wx_cv_cxx_exto" >&6
12617 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12618 if test "cxx" = "c"; then
12619 CFLAGS
="$wx_cv_cxx_exto $CFLAGS"
12621 if test "cxx" = "cxx"; then
12622 CXXFLAGS
="$wx_cv_cxx_exto $CXXFLAGS"
12626 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12627 unset ac_cv_prog_cxx_g
12628 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12629 ac_save_CXXFLAGS
=$CXXFLAGS
12631 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12632 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12633 if test "${ac_cv_prog_cxx_g+set}" = set; then
12634 echo $ECHO_N "(cached) $ECHO_C" >&6
12636 cat >conftest.
$ac_ext <<_ACEOF
12639 cat confdefs.h
>>conftest.
$ac_ext
12640 cat >>conftest.
$ac_ext <<_ACEOF
12641 /* end confdefs.h. */
12651 rm -f conftest.
$ac_objext
12652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12653 (eval $ac_compile) 2>conftest.er1
12655 grep -v '^ *+' conftest.er1
>conftest.err
12657 cat conftest.err
>&5
12658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12659 (exit $ac_status); } &&
12660 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12662 (eval $ac_try) 2>&5
12664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12665 (exit $ac_status); }; } &&
12666 { ac_try
='test -s conftest.$ac_objext'
12667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12668 (eval $ac_try) 2>&5
12670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12671 (exit $ac_status); }; }; then
12672 ac_cv_prog_cxx_g
=yes
12674 echo "$as_me: failed program was:" >&5
12675 sed 's/^/| /' conftest.
$ac_ext >&5
12677 ac_cv_prog_cxx_g
=no
12679 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12681 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12682 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12683 if test "$ac_test_CXXFLAGS" = set; then
12684 CXXFLAGS
=$ac_save_CXXFLAGS
12685 elif test $ac_cv_prog_cxx_g = yes; then
12686 if test "$GXX" = yes; then
12692 if test "$GXX" = yes; then
12700 ac_cpp
='$CXXCPP $CPPFLAGS'
12701 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12702 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12703 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12705 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12706 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12707 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12708 echo $ECHO_N "(cached) $ECHO_C" >&6
12710 cat >conftest.
$ac_ext <<_ACEOF
12713 cat confdefs.h
>>conftest.
$ac_ext
12714 cat >>conftest.
$ac_ext <<_ACEOF
12715 /* end confdefs.h. */
12728 rm -f conftest.
$ac_objext
12729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12730 (eval $ac_compile) 2>conftest.er1
12732 grep -v '^ *+' conftest.er1
>conftest.err
12734 cat conftest.err
>&5
12735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12736 (exit $ac_status); } &&
12737 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12739 (eval $ac_try) 2>&5
12741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12742 (exit $ac_status); }; } &&
12743 { ac_try
='test -s conftest.$ac_objext'
12744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12745 (eval $ac_try) 2>&5
12747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12748 (exit $ac_status); }; }; then
12749 bakefile_compiler_mwerks
=yes
12751 echo "$as_me: failed program was:" >&5
12752 sed 's/^/| /' conftest.
$ac_ext >&5
12754 bakefile_compiler_mwerks
=no
12756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12757 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
12760 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12761 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12763 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
12765 ac_cpp
='$CXXCPP $CPPFLAGS'
12766 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12767 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12768 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12772 ac_cpp
='$CXXCPP $CPPFLAGS'
12773 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12774 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12775 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12777 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
12778 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
12779 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
12780 echo $ECHO_N "(cached) $ECHO_C" >&6
12782 cat >conftest.
$ac_ext <<_ACEOF
12785 cat confdefs.h
>>conftest.
$ac_ext
12786 cat >>conftest.
$ac_ext <<_ACEOF
12787 /* end confdefs.h. */
12800 rm -f conftest.
$ac_objext
12801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12802 (eval $ac_compile) 2>conftest.er1
12804 grep -v '^ *+' conftest.er1
>conftest.err
12806 cat conftest.err
>&5
12807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12808 (exit $ac_status); } &&
12809 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12811 (eval $ac_try) 2>&5
12813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12814 (exit $ac_status); }; } &&
12815 { ac_try
='test -s conftest.$ac_objext'
12816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12817 (eval $ac_try) 2>&5
12819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12820 (exit $ac_status); }; }; then
12821 wx_compiler_xlc
=yes
12823 echo "$as_me: failed program was:" >&5
12824 sed 's/^/| /' conftest.
$ac_ext >&5
12828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12829 wx_cv_cxx_compiler_xlc
=$wx_compiler_xlc
12832 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
12833 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
12835 XLCXX
=`test $wx_cv_cxx_compiler_xlc = yes && echo yes`
12837 ac_cpp
='$CXXCPP $CPPFLAGS'
12838 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12839 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12840 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12846 ac_cpp
='$CPP $CPPFLAGS'
12847 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12848 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12849 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12852 if test -n "$ac_tool_prefix"; then
12853 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12854 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
12855 echo "$as_me:$LINENO: checking for $ac_word" >&5
12856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12857 if test "${ac_cv_prog_RANLIB+set}" = set; then
12858 echo $ECHO_N "(cached) $ECHO_C" >&6
12860 if test -n "$RANLIB"; then
12861 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
12863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12864 for as_dir
in $PATH
12867 test -z "$as_dir" && as_dir
=.
12868 for ac_exec_ext
in '' $ac_executable_extensions; do
12869 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12870 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
12871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12879 RANLIB
=$ac_cv_prog_RANLIB
12880 if test -n "$RANLIB"; then
12881 echo "$as_me:$LINENO: result: $RANLIB" >&5
12882 echo "${ECHO_T}$RANLIB" >&6
12884 echo "$as_me:$LINENO: result: no" >&5
12885 echo "${ECHO_T}no" >&6
12889 if test -z "$ac_cv_prog_RANLIB"; then
12890 ac_ct_RANLIB
=$RANLIB
12891 # Extract the first word of "ranlib", so it can be a program name with args.
12892 set dummy ranlib
; ac_word
=$2
12893 echo "$as_me:$LINENO: checking for $ac_word" >&5
12894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12895 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12896 echo $ECHO_N "(cached) $ECHO_C" >&6
12898 if test -n "$ac_ct_RANLIB"; then
12899 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
12901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12902 for as_dir
in $PATH
12905 test -z "$as_dir" && as_dir
=.
12906 for ac_exec_ext
in '' $ac_executable_extensions; do
12907 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12908 ac_cv_prog_ac_ct_RANLIB
="ranlib"
12909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12915 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
12918 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
12919 if test -n "$ac_ct_RANLIB"; then
12920 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12921 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12923 echo "$as_me:$LINENO: result: no" >&5
12924 echo "${ECHO_T}no" >&6
12927 RANLIB
=$ac_ct_RANLIB
12929 RANLIB
="$ac_cv_prog_RANLIB"
12933 # Extract the first word of "ar", so it can be a program name with args.
12934 set dummy
ar; ac_word
=$2
12935 echo "$as_me:$LINENO: checking for $ac_word" >&5
12936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12937 if test "${ac_cv_prog_AR+set}" = set; then
12938 echo $ECHO_N "(cached) $ECHO_C" >&6
12940 if test -n "$AR"; then
12941 ac_cv_prog_AR
="$AR" # Let the user override the test.
12943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12944 for as_dir
in $PATH
12947 test -z "$as_dir" && as_dir
=.
12948 for ac_exec_ext
in '' $ac_executable_extensions; do
12949 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12960 if test -n "$AR"; then
12961 echo "$as_me:$LINENO: result: $AR" >&5
12962 echo "${ECHO_T}$AR" >&6
12964 echo "$as_me:$LINENO: result: no" >&5
12965 echo "${ECHO_T}no" >&6
12968 if test "x$AR" = "x" ; then
12969 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12970 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12971 { (exit 1); exit 1; }; }
12974 # Find a good install program. We prefer a C program (faster),
12975 # so one script is as good as another. But avoid the broken or
12976 # incompatible versions:
12977 # SysV /etc/install, /usr/sbin/install
12978 # SunOS /usr/etc/install
12979 # IRIX /sbin/install
12981 # AmigaOS /C/install, which installs bootblocks on floppy discs
12982 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12983 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12984 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12985 # OS/2's system install, which has a completely different semantic
12986 # ./install, which can be erroneously created by make from ./install.sh.
12987 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12988 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12989 if test -z "$INSTALL"; then
12990 if test "${ac_cv_path_install+set}" = set; then
12991 echo $ECHO_N "(cached) $ECHO_C" >&6
12993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12994 for as_dir
in $PATH
12997 test -z "$as_dir" && as_dir
=.
12998 # Account for people who put trailing slashes in PATH elements.
13000 .
/ | .
// | /cC
/* | \
13001 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
13002 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
13005 # OSF1 and SCO ODT 3.0 have their own names for install.
13006 # Don't use installbsd from OSF since it installs stuff as root
13008 for ac_prog
in ginstall scoinst
install; do
13009 for ac_exec_ext
in '' $ac_executable_extensions; do
13010 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
13011 if test $ac_prog = install &&
13012 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
13013 # AIX install. It has an incompatible calling convention.
13015 elif test $ac_prog = install &&
13016 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
13017 # program-specific install script used by HP pwplus--don't use.
13020 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
13032 if test "${ac_cv_path_install+set}" = set; then
13033 INSTALL
=$ac_cv_path_install
13035 # As a last resort, use the slow shell script. We don't cache a
13036 # path for INSTALL within a source directory, because that will
13037 # break other packages using the cache if that directory is
13038 # removed, or if the path is relative.
13039 INSTALL
=$ac_install_sh
13042 echo "$as_me:$LINENO: result: $INSTALL" >&5
13043 echo "${ECHO_T}$INSTALL" >&6
13045 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
13046 # It thinks the first close brace ends the variable substitution.
13047 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
13049 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
13051 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
13057 ?
:* ) # Drive letter, considered as absolute.
13060 INSTALL
=`pwd`/${INSTALL} ;;
13066 powerpc
-*-darwin* )
13067 INSTALL_PROGRAM
="cp -fp"
13068 INSTALL_DATA
="cp -fp"
13074 # Extract the first word of "strip", so it can be a program name with args.
13075 set dummy strip
; ac_word
=$2
13076 echo "$as_me:$LINENO: checking for $ac_word" >&5
13077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13078 if test "${ac_cv_prog_STRIP+set}" = set; then
13079 echo $ECHO_N "(cached) $ECHO_C" >&6
13081 if test -n "$STRIP"; then
13082 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
13084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13085 for as_dir
in $PATH
13088 test -z "$as_dir" && as_dir
=.
13089 for ac_exec_ext
in '' $ac_executable_extensions; do
13090 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13091 ac_cv_prog_STRIP
="strip"
13092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13098 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
13101 STRIP
=$ac_cv_prog_STRIP
13102 if test -n "$STRIP"; then
13103 echo "$as_me:$LINENO: result: $STRIP" >&5
13104 echo "${ECHO_T}$STRIP" >&6
13106 echo "$as_me:$LINENO: result: no" >&5
13107 echo "${ECHO_T}no" >&6
13111 echo "$as_me:$LINENO: checking if make is GNU make" >&5
13112 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
13113 if test "${wx_cv_prog_makeisgnu+set}" = set; then
13114 echo $ECHO_N "(cached) $ECHO_C" >&6
13117 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
13118 egrep -s GNU
> /dev
/null
); then
13119 wx_cv_prog_makeisgnu
="yes"
13121 wx_cv_prog_makeisgnu
="no"
13125 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
13126 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
13128 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
13136 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
13137 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
13138 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
13139 if test "${wx_cv_prog_makevpath+set}" = set; then
13140 echo $ECHO_N "(cached) $ECHO_C" >&6
13143 cat - << EOF > confMake
13149 if test ! -d sub
; then
13152 echo dummy
> sub
/file
13153 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
13155 rm -f sub
/file check final_file confMake
13157 if test "$RESULT" = 0; then
13158 wx_cv_prog_makevpath
="yes"
13160 wx_cv_prog_makevpath
="no"
13164 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
13165 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
13167 if test "x$wx_cv_prog_makevpath" != "xyes"; then
13168 { { echo "$as_me:$LINENO: error:
13169 You need a make-utility that is able to use the variable
13171 If your version of make does not support VPATH correctly,
13172 please install GNU-make (possibly as gmake), and start
13173 configure with the following command:
13174 export MAKE=gmake; ./configure for sh-type shells
13175 setenv MAKE gmake; ./configure for csh-type shells
13176 Also please do remember to use gmake in this case every time
13177 you are trying to compile.
13179 echo "$as_me: error:
13180 You need a make-utility that is able to use the variable
13182 If your version of make does not support VPATH correctly,
13183 please install GNU-make (possibly as gmake), and start
13184 configure with the following command:
13185 export MAKE=gmake; ./configure for sh-type shells
13186 setenv MAKE gmake; ./configure for csh-type shells
13187 Also please do remember to use gmake in this case every time
13188 you are trying to compile.
13190 { (exit 1); exit 1; }; }
13192 echo "$as_me:$LINENO: checking whether ln -s works" >&5
13193 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
13195 if test "$LN_S" = "ln -s"; then
13196 echo "$as_me:$LINENO: result: yes" >&5
13197 echo "${ECHO_T}yes" >&6
13199 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13200 echo "${ECHO_T}no, using $LN_S" >&6
13205 if test "x$XLCXX" = "xyes"; then
13206 CXXFLAGS
="$CXXFLAGS -qunique"
13211 powerpc
-*-darwin* )
13212 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
13213 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
13214 cat >conftest.
$ac_ext <<_ACEOF
13217 cat confdefs.h
>>conftest.
$ac_ext
13218 cat >>conftest.
$ac_ext <<_ACEOF
13219 /* end confdefs.h. */
13224 #ifndef __POWERPC__
13225 choke me for lack of PowerPC
13232 rm -f conftest.
$ac_objext
13233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13234 (eval $ac_compile) 2>conftest.er1
13236 grep -v '^ *+' conftest.er1
>conftest.err
13238 cat conftest.err
>&5
13239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13240 (exit $ac_status); } &&
13241 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13243 (eval $ac_try) 2>&5
13245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13246 (exit $ac_status); }; } &&
13247 { ac_try
='test -s conftest.$ac_objext'
13248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13249 (eval $ac_try) 2>&5
13251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13252 (exit $ac_status); }; }; then
13253 echo "$as_me:$LINENO: result: yes" >&5
13254 echo "${ECHO_T}yes" >&6
13256 echo "$as_me: failed program was:" >&5
13257 sed 's/^/| /' conftest.
$ac_ext >&5
13259 echo "$as_me:$LINENO: result: no" >&5
13260 echo "${ECHO_T}no" >&6
13261 cat >>confdefs.h
<<\_ACEOF
13262 #define __POWERPC__ 1
13267 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13268 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
13269 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
13270 cat >conftest.
$ac_ext <<_ACEOF
13273 cat confdefs.h
>>conftest.
$ac_ext
13274 cat >>conftest.
$ac_ext <<_ACEOF
13275 /* end confdefs.h. */
13276 #include <CoreFoundation/CFBase.h>
13286 rm -f conftest.
$ac_objext
13287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13288 (eval $ac_compile) 2>conftest.er1
13290 grep -v '^ *+' conftest.er1
>conftest.err
13292 cat conftest.err
>&5
13293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13294 (exit $ac_status); } &&
13295 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13297 (eval $ac_try) 2>&5
13299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13300 (exit $ac_status); }; } &&
13301 { ac_try
='test -s conftest.$ac_objext'
13302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13303 (eval $ac_try) 2>&5
13305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13306 (exit $ac_status); }; }; then
13307 echo "$as_me:$LINENO: result: yes" >&5
13308 echo "${ECHO_T}yes" >&6
13310 echo "$as_me: failed program was:" >&5
13311 sed 's/^/| /' conftest.
$ac_ext >&5
13313 echo "$as_me:$LINENO: result: no" >&5
13314 echo "${ECHO_T}no" >&6
13315 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
13316 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
13317 cat >conftest.
$ac_ext <<_ACEOF
13320 cat confdefs.h
>>conftest.
$ac_ext
13321 cat >>conftest.
$ac_ext <<_ACEOF
13322 /* end confdefs.h. */
13323 #define __CF_USE_FRAMEWORK_INCLUDES__
13324 #include <CoreFoundation/CFBase.h>
13334 rm -f conftest.
$ac_objext
13335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13336 (eval $ac_compile) 2>conftest.er1
13338 grep -v '^ *+' conftest.er1
>conftest.err
13340 cat conftest.err
>&5
13341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13342 (exit $ac_status); } &&
13343 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13345 (eval $ac_try) 2>&5
13347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13348 (exit $ac_status); }; } &&
13349 { ac_try
='test -s conftest.$ac_objext'
13350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13351 (eval $ac_try) 2>&5
13353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13354 (exit $ac_status); }; }; then
13355 echo "$as_me:$LINENO: result: yes" >&5
13356 echo "${ECHO_T}yes" >&6
13357 CPPFLAGS
="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
13359 echo "$as_me: failed program was:" >&5
13360 sed 's/^/| /' conftest.
$ac_ext >&5
13362 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
13363 See \`config.log' for more details." >&5
13364 echo "$as_me: error: no. CoreFoundation not available.
13365 See \`config.log' for more details." >&2;}
13366 { (exit 1); exit 1; }; }
13369 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13378 *-pc-os2_emx | *-pc-os2-emx )
13379 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
13380 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
13381 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
13382 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
13383 echo $ECHO_N "(cached) $ECHO_C" >&6
13385 ac_check_lib_save_LIBS
=$LIBS
13386 LIBS
="-lcExt $LIBS"
13387 cat >conftest.
$ac_ext <<_ACEOF
13390 cat confdefs.h
>>conftest.
$ac_ext
13391 cat >>conftest.
$ac_ext <<_ACEOF
13392 /* end confdefs.h. */
13394 /* Override any gcc2 internal prototype to avoid an error. */
13398 /* We use char because int might match the return type of a gcc2
13399 builtin and then its argument prototype would still apply. */
13409 rm -f conftest.
$ac_objext conftest
$ac_exeext
13410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13411 (eval $ac_link) 2>conftest.er1
13413 grep -v '^ *+' conftest.er1
>conftest.err
13415 cat conftest.err
>&5
13416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13417 (exit $ac_status); } &&
13418 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13420 (eval $ac_try) 2>&5
13422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13423 (exit $ac_status); }; } &&
13424 { ac_try
='test -s conftest$ac_exeext'
13425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13426 (eval $ac_try) 2>&5
13428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13429 (exit $ac_status); }; }; then
13430 ac_cv_lib_cExt_drand48
=yes
13432 echo "$as_me: failed program was:" >&5
13433 sed 's/^/| /' conftest.
$ac_ext >&5
13435 ac_cv_lib_cExt_drand48
=no
13437 rm -f conftest.err conftest.
$ac_objext \
13438 conftest
$ac_exeext conftest.
$ac_ext
13439 LIBS
=$ac_check_lib_save_LIBS
13441 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
13442 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
13443 if test $ac_cv_lib_cExt_drand48 = yes; then
13444 LIBS
="$LIBS -lcExt"
13448 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
13450 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
13451 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
13452 if test "${wx_cv_gccversion+set}" = set; then
13453 echo $ECHO_N "(cached) $ECHO_C" >&6
13456 if test "$cross_compiling" = yes; then
13457 wx_cv_gccversion
="EMX2"
13460 cat >conftest.
$ac_ext <<_ACEOF
13463 cat confdefs.h
>>conftest.
$ac_ext
13464 cat >>conftest.
$ac_ext <<_ACEOF
13465 /* end confdefs.h. */
13471 FILE *f=fopen("conftestval", "w");
13476 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
13478 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
13488 rm -f conftest
$ac_exeext
13489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13490 (eval $ac_link) 2>&5
13492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13493 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13495 (eval $ac_try) 2>&5
13497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13498 (exit $ac_status); }; }; then
13499 wx_cv_gccversion
=`cat conftestval`
13501 echo "$as_me: program exited with status $ac_status" >&5
13502 echo "$as_me: failed program was:" >&5
13503 sed 's/^/| /' conftest.
$ac_ext >&5
13505 ( exit $ac_status )
13506 wx_cv_gccversion
="EMX2"
13508 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13512 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
13513 echo "${ECHO_T}$wx_cv_gccversion" >&6
13514 if test "$wx_cv_gccversion" = "EMX2"; then
13515 LIBS
="$LIBS -lstdcpp"
13516 LDFLAGS
="$LDFLAGS -Zsysv-signals"
13518 if test "$wx_cv_gccversion" = "EMX3"; then
13519 LIBS
="$LIBS -lstdcxx"
13520 LDFLAGS
="$LDFLAGS -Zsysv-signals"
13522 LIBS
="$LIBS -lstdc++"
13525 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
13526 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
13527 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
13537 ac_cpp
='$CXXCPP $CPPFLAGS'
13538 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13539 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13540 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13543 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
13544 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
13545 if test "${ac_cv_string_strcasecmp+set}" = set; then
13546 echo $ECHO_N "(cached) $ECHO_C" >&6
13549 cat >conftest.
$ac_ext <<_ACEOF
13552 cat confdefs.h
>>conftest.
$ac_ext
13553 cat >>conftest.
$ac_ext <<_ACEOF
13554 /* end confdefs.h. */
13556 #include <string.h>
13562 strcasecmp("foo", "bar");
13568 rm -f conftest.
$ac_objext conftest
$ac_exeext
13569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13570 (eval $ac_link) 2>conftest.er1
13572 grep -v '^ *+' conftest.er1
>conftest.err
13574 cat conftest.err
>&5
13575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13576 (exit $ac_status); } &&
13577 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13579 (eval $ac_try) 2>&5
13581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13582 (exit $ac_status); }; } &&
13583 { ac_try
='test -s conftest$ac_exeext'
13584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13585 (eval $ac_try) 2>&5
13587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13588 (exit $ac_status); }; }; then
13589 ac_cv_string_strcasecmp
=yes
13591 echo "$as_me: failed program was:" >&5
13592 sed 's/^/| /' conftest.
$ac_ext >&5
13594 ac_cv_string_strcasecmp
=no
13597 rm -f conftest.err conftest.
$ac_objext \
13598 conftest
$ac_exeext conftest.
$ac_ext
13601 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
13602 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
13604 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
13605 cat >>confdefs.h
<<\_ACEOF
13606 #define HAVE_STRCASECMP_IN_STRING_H 1
13610 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
13611 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
13612 if test "${ac_cv_strings_strcasecmp+set}" = set; then
13613 echo $ECHO_N "(cached) $ECHO_C" >&6
13616 cat >conftest.
$ac_ext <<_ACEOF
13619 cat confdefs.h
>>conftest.
$ac_ext
13620 cat >>conftest.
$ac_ext <<_ACEOF
13621 /* end confdefs.h. */
13623 #include <strings.h>
13629 strcasecmp("foo", "bar");
13635 rm -f conftest.
$ac_objext conftest
$ac_exeext
13636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13637 (eval $ac_link) 2>conftest.er1
13639 grep -v '^ *+' conftest.er1
>conftest.err
13641 cat conftest.err
>&5
13642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13643 (exit $ac_status); } &&
13644 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13646 (eval $ac_try) 2>&5
13648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13649 (exit $ac_status); }; } &&
13650 { ac_try
='test -s conftest$ac_exeext'
13651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13652 (eval $ac_try) 2>&5
13654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13655 (exit $ac_status); }; }; then
13656 ac_cv_strings_strcasecmp
=yes
13658 echo "$as_me: failed program was:" >&5
13659 sed 's/^/| /' conftest.
$ac_ext >&5
13661 ac_cv_strings_strcasecmp
=no
13664 rm -f conftest.err conftest.
$ac_objext \
13665 conftest
$ac_exeext conftest.
$ac_ext
13668 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
13669 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
13671 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
13672 cat >>confdefs.h
<<\_ACEOF
13673 #define HAVE_STRCASECMP_IN_STRINGS_H 1
13677 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
13678 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
13679 { (exit 1); exit 1; }; }
13684 ac_cpp
='$CPP $CPPFLAGS'
13685 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13686 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13687 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13693 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13694 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13695 if test "${ac_cv_header_stdc+set}" = set; then
13696 echo $ECHO_N "(cached) $ECHO_C" >&6
13698 cat >conftest.
$ac_ext <<_ACEOF
13701 cat confdefs.h
>>conftest.
$ac_ext
13702 cat >>conftest.
$ac_ext <<_ACEOF
13703 /* end confdefs.h. */
13704 #include <stdlib.h>
13705 #include <stdarg.h>
13706 #include <string.h>
13717 rm -f conftest.
$ac_objext
13718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13719 (eval $ac_compile) 2>conftest.er1
13721 grep -v '^ *+' conftest.er1
>conftest.err
13723 cat conftest.err
>&5
13724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13725 (exit $ac_status); } &&
13726 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13728 (eval $ac_try) 2>&5
13730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13731 (exit $ac_status); }; } &&
13732 { ac_try
='test -s conftest.$ac_objext'
13733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13734 (eval $ac_try) 2>&5
13736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13737 (exit $ac_status); }; }; then
13738 ac_cv_header_stdc
=yes
13740 echo "$as_me: failed program was:" >&5
13741 sed 's/^/| /' conftest.
$ac_ext >&5
13743 ac_cv_header_stdc
=no
13745 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13747 if test $ac_cv_header_stdc = yes; then
13748 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13749 cat >conftest.
$ac_ext <<_ACEOF
13752 cat confdefs.h
>>conftest.
$ac_ext
13753 cat >>conftest.
$ac_ext <<_ACEOF
13754 /* end confdefs.h. */
13755 #include <string.h>
13758 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13759 $EGREP "memchr" >/dev
/null
2>&1; then
13762 ac_cv_header_stdc
=no
13768 if test $ac_cv_header_stdc = yes; then
13769 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13770 cat >conftest.
$ac_ext <<_ACEOF
13773 cat confdefs.h
>>conftest.
$ac_ext
13774 cat >>conftest.
$ac_ext <<_ACEOF
13775 /* end confdefs.h. */
13776 #include <stdlib.h>
13779 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13780 $EGREP "free" >/dev
/null
2>&1; then
13783 ac_cv_header_stdc
=no
13789 if test $ac_cv_header_stdc = yes; then
13790 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13791 if test "$cross_compiling" = yes; then
13794 cat >conftest.
$ac_ext <<_ACEOF
13797 cat confdefs.h
>>conftest.
$ac_ext
13798 cat >>conftest.
$ac_ext <<_ACEOF
13799 /* end confdefs.h. */
13801 #if ((' ' & 0x0FF) == 0x020)
13802 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13803 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13805 # define ISLOWER(c) \
13806 (('a' <= (c) && (c) <= 'i') \
13807 || ('j' <= (c) && (c) <= 'r') \
13808 || ('s' <= (c) && (c) <= 'z'))
13809 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13812 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13817 for (i = 0; i < 256; i++)
13818 if (XOR (islower (i), ISLOWER (i))
13819 || toupper (i) != TOUPPER (i))
13824 rm -f conftest
$ac_exeext
13825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13826 (eval $ac_link) 2>&5
13828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13829 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13831 (eval $ac_try) 2>&5
13833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13834 (exit $ac_status); }; }; then
13837 echo "$as_me: program exited with status $ac_status" >&5
13838 echo "$as_me: failed program was:" >&5
13839 sed 's/^/| /' conftest.
$ac_ext >&5
13841 ( exit $ac_status )
13842 ac_cv_header_stdc
=no
13844 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13848 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13849 echo "${ECHO_T}$ac_cv_header_stdc" >&6
13850 if test $ac_cv_header_stdc = yes; then
13852 cat >>confdefs.h
<<\_ACEOF
13853 #define STDC_HEADERS 1
13858 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
13868 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
13869 inttypes.h stdint.h unistd.h
13871 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13872 echo "$as_me:$LINENO: checking for $ac_header" >&5
13873 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13874 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13875 echo $ECHO_N "(cached) $ECHO_C" >&6
13877 cat >conftest.
$ac_ext <<_ACEOF
13880 cat confdefs.h
>>conftest.
$ac_ext
13881 cat >>conftest.
$ac_ext <<_ACEOF
13882 /* end confdefs.h. */
13883 $ac_includes_default
13885 #include <$ac_header>
13887 rm -f conftest.
$ac_objext
13888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13889 (eval $ac_compile) 2>conftest.er1
13891 grep -v '^ *+' conftest.er1
>conftest.err
13893 cat conftest.err
>&5
13894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13895 (exit $ac_status); } &&
13896 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13898 (eval $ac_try) 2>&5
13900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13901 (exit $ac_status); }; } &&
13902 { ac_try
='test -s conftest.$ac_objext'
13903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13904 (eval $ac_try) 2>&5
13906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13907 (exit $ac_status); }; }; then
13908 eval "$as_ac_Header=yes"
13910 echo "$as_me: failed program was:" >&5
13911 sed 's/^/| /' conftest.
$ac_ext >&5
13913 eval "$as_ac_Header=no"
13915 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13918 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13919 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13920 cat >>confdefs.h
<<_ACEOF
13921 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13930 for ac_header
in stdlib.h
13932 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13933 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13934 echo "$as_me:$LINENO: checking for $ac_header" >&5
13935 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13936 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13937 echo $ECHO_N "(cached) $ECHO_C" >&6
13939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13940 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13942 # Is the header compilable?
13943 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13944 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13945 cat >conftest.
$ac_ext <<_ACEOF
13948 cat confdefs.h
>>conftest.
$ac_ext
13949 cat >>conftest.
$ac_ext <<_ACEOF
13950 /* end confdefs.h. */
13951 $ac_includes_default
13952 #include <$ac_header>
13954 rm -f conftest.
$ac_objext
13955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13956 (eval $ac_compile) 2>conftest.er1
13958 grep -v '^ *+' conftest.er1
>conftest.err
13960 cat conftest.err
>&5
13961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13962 (exit $ac_status); } &&
13963 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13965 (eval $ac_try) 2>&5
13967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13968 (exit $ac_status); }; } &&
13969 { ac_try
='test -s conftest.$ac_objext'
13970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13971 (eval $ac_try) 2>&5
13973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13974 (exit $ac_status); }; }; then
13975 ac_header_compiler
=yes
13977 echo "$as_me: failed program was:" >&5
13978 sed 's/^/| /' conftest.
$ac_ext >&5
13980 ac_header_compiler
=no
13982 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13983 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13984 echo "${ECHO_T}$ac_header_compiler" >&6
13986 # Is the header present?
13987 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13988 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13989 cat >conftest.
$ac_ext <<_ACEOF
13992 cat confdefs.h
>>conftest.
$ac_ext
13993 cat >>conftest.
$ac_ext <<_ACEOF
13994 /* end confdefs.h. */
13995 #include <$ac_header>
13997 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13998 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14000 grep -v '^ *+' conftest.er1
>conftest.err
14002 cat conftest.err
>&5
14003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14004 (exit $ac_status); } >/dev
/null
; then
14005 if test -s conftest.err
; then
14006 ac_cpp_err
=$ac_c_preproc_warn_flag
14007 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14014 if test -z "$ac_cpp_err"; then
14015 ac_header_preproc
=yes
14017 echo "$as_me: failed program was:" >&5
14018 sed 's/^/| /' conftest.
$ac_ext >&5
14020 ac_header_preproc
=no
14022 rm -f conftest.err conftest.
$ac_ext
14023 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14024 echo "${ECHO_T}$ac_header_preproc" >&6
14026 # So? What about this header?
14027 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14029 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14030 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14031 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14032 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14033 ac_header_preproc
=yes
14036 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14037 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14038 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14039 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14040 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14041 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14042 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14043 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14044 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14045 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14046 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14047 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14050 ## ----------------------------------------- ##
14051 ## Report this to wx-dev@lists.wxwidgets.org ##
14052 ## ----------------------------------------- ##
14055 sed "s/^/$as_me: WARNING: /" >&2
14058 echo "$as_me:$LINENO: checking for $ac_header" >&5
14059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14060 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14061 echo $ECHO_N "(cached) $ECHO_C" >&6
14063 eval "$as_ac_Header=\$ac_header_preproc"
14065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14066 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14069 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14070 cat >>confdefs.h
<<_ACEOF
14071 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14079 for ac_header
in malloc.h
14081 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14083 echo "$as_me:$LINENO: checking for $ac_header" >&5
14084 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14086 echo $ECHO_N "(cached) $ECHO_C" >&6
14088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14089 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14091 # Is the header compilable?
14092 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14093 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14094 cat >conftest.
$ac_ext <<_ACEOF
14097 cat confdefs.h
>>conftest.
$ac_ext
14098 cat >>conftest.
$ac_ext <<_ACEOF
14099 /* end confdefs.h. */
14100 $ac_includes_default
14101 #include <$ac_header>
14103 rm -f conftest.
$ac_objext
14104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14105 (eval $ac_compile) 2>conftest.er1
14107 grep -v '^ *+' conftest.er1
>conftest.err
14109 cat conftest.err
>&5
14110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14111 (exit $ac_status); } &&
14112 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14114 (eval $ac_try) 2>&5
14116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14117 (exit $ac_status); }; } &&
14118 { ac_try
='test -s conftest.$ac_objext'
14119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14120 (eval $ac_try) 2>&5
14122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14123 (exit $ac_status); }; }; then
14124 ac_header_compiler
=yes
14126 echo "$as_me: failed program was:" >&5
14127 sed 's/^/| /' conftest.
$ac_ext >&5
14129 ac_header_compiler
=no
14131 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14132 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14133 echo "${ECHO_T}$ac_header_compiler" >&6
14135 # Is the header present?
14136 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14137 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14138 cat >conftest.
$ac_ext <<_ACEOF
14141 cat confdefs.h
>>conftest.
$ac_ext
14142 cat >>conftest.
$ac_ext <<_ACEOF
14143 /* end confdefs.h. */
14144 #include <$ac_header>
14146 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14147 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14149 grep -v '^ *+' conftest.er1
>conftest.err
14151 cat conftest.err
>&5
14152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14153 (exit $ac_status); } >/dev
/null
; then
14154 if test -s conftest.err
; then
14155 ac_cpp_err
=$ac_c_preproc_warn_flag
14156 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14163 if test -z "$ac_cpp_err"; then
14164 ac_header_preproc
=yes
14166 echo "$as_me: failed program was:" >&5
14167 sed 's/^/| /' conftest.
$ac_ext >&5
14169 ac_header_preproc
=no
14171 rm -f conftest.err conftest.
$ac_ext
14172 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14173 echo "${ECHO_T}$ac_header_preproc" >&6
14175 # So? What about this header?
14176 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14178 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14179 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14180 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14181 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14182 ac_header_preproc
=yes
14185 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14186 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14187 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14188 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14189 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14190 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14191 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14192 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14193 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14194 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14195 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14196 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14199 ## ----------------------------------------- ##
14200 ## Report this to wx-dev@lists.wxwidgets.org ##
14201 ## ----------------------------------------- ##
14204 sed "s/^/$as_me: WARNING: /" >&2
14207 echo "$as_me:$LINENO: checking for $ac_header" >&5
14208 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14209 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14210 echo $ECHO_N "(cached) $ECHO_C" >&6
14212 eval "$as_ac_Header=\$ac_header_preproc"
14214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14215 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14218 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14219 cat >>confdefs.h
<<_ACEOF
14220 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14228 for ac_header
in unistd.h
14230 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14231 if eval "test \"\${$as_ac_Header+set}\" = set"; then
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 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14238 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14240 # Is the header compilable?
14241 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14242 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14243 cat >conftest.
$ac_ext <<_ACEOF
14246 cat confdefs.h
>>conftest.
$ac_ext
14247 cat >>conftest.
$ac_ext <<_ACEOF
14248 /* end confdefs.h. */
14249 $ac_includes_default
14250 #include <$ac_header>
14252 rm -f conftest.
$ac_objext
14253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14254 (eval $ac_compile) 2>conftest.er1
14256 grep -v '^ *+' conftest.er1
>conftest.err
14258 cat conftest.err
>&5
14259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14260 (exit $ac_status); } &&
14261 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14263 (eval $ac_try) 2>&5
14265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14266 (exit $ac_status); }; } &&
14267 { ac_try
='test -s conftest.$ac_objext'
14268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14269 (eval $ac_try) 2>&5
14271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14272 (exit $ac_status); }; }; then
14273 ac_header_compiler
=yes
14275 echo "$as_me: failed program was:" >&5
14276 sed 's/^/| /' conftest.
$ac_ext >&5
14278 ac_header_compiler
=no
14280 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14281 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14282 echo "${ECHO_T}$ac_header_compiler" >&6
14284 # Is the header present?
14285 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14286 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14287 cat >conftest.
$ac_ext <<_ACEOF
14290 cat confdefs.h
>>conftest.
$ac_ext
14291 cat >>conftest.
$ac_ext <<_ACEOF
14292 /* end confdefs.h. */
14293 #include <$ac_header>
14295 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14296 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14298 grep -v '^ *+' conftest.er1
>conftest.err
14300 cat conftest.err
>&5
14301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14302 (exit $ac_status); } >/dev
/null
; then
14303 if test -s conftest.err
; then
14304 ac_cpp_err
=$ac_c_preproc_warn_flag
14305 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14312 if test -z "$ac_cpp_err"; then
14313 ac_header_preproc
=yes
14315 echo "$as_me: failed program was:" >&5
14316 sed 's/^/| /' conftest.
$ac_ext >&5
14318 ac_header_preproc
=no
14320 rm -f conftest.err conftest.
$ac_ext
14321 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14322 echo "${ECHO_T}$ac_header_preproc" >&6
14324 # So? What about this header?
14325 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14327 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14328 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14329 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14330 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14331 ac_header_preproc
=yes
14334 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14335 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14336 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14337 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14338 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14339 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14340 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14341 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14342 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14343 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14344 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14345 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14348 ## ----------------------------------------- ##
14349 ## Report this to wx-dev@lists.wxwidgets.org ##
14350 ## ----------------------------------------- ##
14353 sed "s/^/$as_me: WARNING: /" >&2
14356 echo "$as_me:$LINENO: checking for $ac_header" >&5
14357 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14358 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14359 echo $ECHO_N "(cached) $ECHO_C" >&6
14361 eval "$as_ac_Header=\$ac_header_preproc"
14363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14364 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14367 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14368 cat >>confdefs.h
<<_ACEOF
14369 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14377 for ac_header
in wchar.h
14379 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14380 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14381 echo "$as_me:$LINENO: checking for $ac_header" >&5
14382 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14383 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14384 echo $ECHO_N "(cached) $ECHO_C" >&6
14386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14387 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14389 # Is the header compilable?
14390 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14391 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14392 cat >conftest.
$ac_ext <<_ACEOF
14395 cat confdefs.h
>>conftest.
$ac_ext
14396 cat >>conftest.
$ac_ext <<_ACEOF
14397 /* end confdefs.h. */
14398 $ac_includes_default
14399 #include <$ac_header>
14401 rm -f conftest.
$ac_objext
14402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14403 (eval $ac_compile) 2>conftest.er1
14405 grep -v '^ *+' conftest.er1
>conftest.err
14407 cat conftest.err
>&5
14408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14409 (exit $ac_status); } &&
14410 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14412 (eval $ac_try) 2>&5
14414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14415 (exit $ac_status); }; } &&
14416 { ac_try
='test -s conftest.$ac_objext'
14417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14418 (eval $ac_try) 2>&5
14420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14421 (exit $ac_status); }; }; then
14422 ac_header_compiler
=yes
14424 echo "$as_me: failed program was:" >&5
14425 sed 's/^/| /' conftest.
$ac_ext >&5
14427 ac_header_compiler
=no
14429 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14430 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14431 echo "${ECHO_T}$ac_header_compiler" >&6
14433 # Is the header present?
14434 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14435 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14436 cat >conftest.
$ac_ext <<_ACEOF
14439 cat confdefs.h
>>conftest.
$ac_ext
14440 cat >>conftest.
$ac_ext <<_ACEOF
14441 /* end confdefs.h. */
14442 #include <$ac_header>
14444 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14445 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14447 grep -v '^ *+' conftest.er1
>conftest.err
14449 cat conftest.err
>&5
14450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14451 (exit $ac_status); } >/dev
/null
; then
14452 if test -s conftest.err
; then
14453 ac_cpp_err
=$ac_c_preproc_warn_flag
14454 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14461 if test -z "$ac_cpp_err"; then
14462 ac_header_preproc
=yes
14464 echo "$as_me: failed program was:" >&5
14465 sed 's/^/| /' conftest.
$ac_ext >&5
14467 ac_header_preproc
=no
14469 rm -f conftest.err conftest.
$ac_ext
14470 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14471 echo "${ECHO_T}$ac_header_preproc" >&6
14473 # So? What about this header?
14474 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14476 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14477 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14478 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14479 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14480 ac_header_preproc
=yes
14483 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14484 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14485 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14486 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14487 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14488 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14489 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14490 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14491 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14492 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14493 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14494 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14497 ## ----------------------------------------- ##
14498 ## Report this to wx-dev@lists.wxwidgets.org ##
14499 ## ----------------------------------------- ##
14502 sed "s/^/$as_me: WARNING: /" >&2
14505 echo "$as_me:$LINENO: checking for $ac_header" >&5
14506 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14507 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14508 echo $ECHO_N "(cached) $ECHO_C" >&6
14510 eval "$as_ac_Header=\$ac_header_preproc"
14512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14513 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14516 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14517 cat >>confdefs.h
<<_ACEOF
14518 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14526 if test "$ac_cv_header_wchar_h" != "yes"; then
14528 for ac_header
in wcstr.h
14530 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14531 if eval "test \"\${$as_ac_Header+set}\" = set"; then
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 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14538 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14540 # Is the header compilable?
14541 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14542 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14543 cat >conftest.
$ac_ext <<_ACEOF
14546 cat confdefs.h
>>conftest.
$ac_ext
14547 cat >>conftest.
$ac_ext <<_ACEOF
14548 /* end confdefs.h. */
14549 $ac_includes_default
14550 #include <$ac_header>
14552 rm -f conftest.
$ac_objext
14553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14554 (eval $ac_compile) 2>conftest.er1
14556 grep -v '^ *+' conftest.er1
>conftest.err
14558 cat conftest.err
>&5
14559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14560 (exit $ac_status); } &&
14561 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14563 (eval $ac_try) 2>&5
14565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14566 (exit $ac_status); }; } &&
14567 { ac_try
='test -s conftest.$ac_objext'
14568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14569 (eval $ac_try) 2>&5
14571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14572 (exit $ac_status); }; }; then
14573 ac_header_compiler
=yes
14575 echo "$as_me: failed program was:" >&5
14576 sed 's/^/| /' conftest.
$ac_ext >&5
14578 ac_header_compiler
=no
14580 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14581 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14582 echo "${ECHO_T}$ac_header_compiler" >&6
14584 # Is the header present?
14585 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14586 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14587 cat >conftest.
$ac_ext <<_ACEOF
14590 cat confdefs.h
>>conftest.
$ac_ext
14591 cat >>conftest.
$ac_ext <<_ACEOF
14592 /* end confdefs.h. */
14593 #include <$ac_header>
14595 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14596 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14598 grep -v '^ *+' conftest.er1
>conftest.err
14600 cat conftest.err
>&5
14601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14602 (exit $ac_status); } >/dev
/null
; then
14603 if test -s conftest.err
; then
14604 ac_cpp_err
=$ac_c_preproc_warn_flag
14605 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14612 if test -z "$ac_cpp_err"; then
14613 ac_header_preproc
=yes
14615 echo "$as_me: failed program was:" >&5
14616 sed 's/^/| /' conftest.
$ac_ext >&5
14618 ac_header_preproc
=no
14620 rm -f conftest.err conftest.
$ac_ext
14621 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14622 echo "${ECHO_T}$ac_header_preproc" >&6
14624 # So? What about this header?
14625 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14627 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14628 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14629 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14630 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14631 ac_header_preproc
=yes
14634 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14635 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14636 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14637 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14638 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14639 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14640 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14641 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14642 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14643 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14644 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14645 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14648 ## ----------------------------------------- ##
14649 ## Report this to wx-dev@lists.wxwidgets.org ##
14650 ## ----------------------------------------- ##
14653 sed "s/^/$as_me: WARNING: /" >&2
14656 echo "$as_me:$LINENO: checking for $ac_header" >&5
14657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14659 echo $ECHO_N "(cached) $ECHO_C" >&6
14661 eval "$as_ac_Header=\$ac_header_preproc"
14663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14664 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14667 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14668 cat >>confdefs.h
<<_ACEOF
14669 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14679 for ac_header
in fnmatch.h
14681 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14682 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14683 echo "$as_me:$LINENO: checking for $ac_header" >&5
14684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14685 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14686 echo $ECHO_N "(cached) $ECHO_C" >&6
14688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14689 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14691 # Is the header compilable?
14692 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14693 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14694 cat >conftest.
$ac_ext <<_ACEOF
14697 cat confdefs.h
>>conftest.
$ac_ext
14698 cat >>conftest.
$ac_ext <<_ACEOF
14699 /* end confdefs.h. */
14700 $ac_includes_default
14701 #include <$ac_header>
14703 rm -f conftest.
$ac_objext
14704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14705 (eval $ac_compile) 2>conftest.er1
14707 grep -v '^ *+' conftest.er1
>conftest.err
14709 cat conftest.err
>&5
14710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14711 (exit $ac_status); } &&
14712 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14714 (eval $ac_try) 2>&5
14716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14717 (exit $ac_status); }; } &&
14718 { ac_try
='test -s conftest.$ac_objext'
14719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14720 (eval $ac_try) 2>&5
14722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14723 (exit $ac_status); }; }; then
14724 ac_header_compiler
=yes
14726 echo "$as_me: failed program was:" >&5
14727 sed 's/^/| /' conftest.
$ac_ext >&5
14729 ac_header_compiler
=no
14731 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14732 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14733 echo "${ECHO_T}$ac_header_compiler" >&6
14735 # Is the header present?
14736 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14737 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14738 cat >conftest.
$ac_ext <<_ACEOF
14741 cat confdefs.h
>>conftest.
$ac_ext
14742 cat >>conftest.
$ac_ext <<_ACEOF
14743 /* end confdefs.h. */
14744 #include <$ac_header>
14746 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14747 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14749 grep -v '^ *+' conftest.er1
>conftest.err
14751 cat conftest.err
>&5
14752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14753 (exit $ac_status); } >/dev
/null
; then
14754 if test -s conftest.err
; then
14755 ac_cpp_err
=$ac_c_preproc_warn_flag
14756 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14763 if test -z "$ac_cpp_err"; then
14764 ac_header_preproc
=yes
14766 echo "$as_me: failed program was:" >&5
14767 sed 's/^/| /' conftest.
$ac_ext >&5
14769 ac_header_preproc
=no
14771 rm -f conftest.err conftest.
$ac_ext
14772 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14773 echo "${ECHO_T}$ac_header_preproc" >&6
14775 # So? What about this header?
14776 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14778 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14779 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14780 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14781 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14782 ac_header_preproc
=yes
14785 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14786 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14787 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14788 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14789 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14790 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14791 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14792 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14793 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14794 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14795 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14796 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14799 ## ----------------------------------------- ##
14800 ## Report this to wx-dev@lists.wxwidgets.org ##
14801 ## ----------------------------------------- ##
14804 sed "s/^/$as_me: WARNING: /" >&2
14807 echo "$as_me:$LINENO: checking for $ac_header" >&5
14808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14810 echo $ECHO_N "(cached) $ECHO_C" >&6
14812 eval "$as_ac_Header=\$ac_header_preproc"
14814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14815 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14818 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14819 cat >>confdefs.h
<<_ACEOF
14820 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14828 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
14830 for ac_func
in fnmatch
14832 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14833 echo "$as_me:$LINENO: checking for $ac_func" >&5
14834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14835 if eval "test \"\${$as_ac_var+set}\" = set"; then
14836 echo $ECHO_N "(cached) $ECHO_C" >&6
14838 cat >conftest.
$ac_ext <<_ACEOF
14841 cat confdefs.h
>>conftest.
$ac_ext
14842 cat >>conftest.
$ac_ext <<_ACEOF
14843 /* end confdefs.h. */
14844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14846 #define $ac_func innocuous_$ac_func
14848 /* System header to define __stub macros and hopefully few prototypes,
14849 which can conflict with char $ac_func (); below.
14850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14851 <limits.h> exists even on freestanding compilers. */
14854 # include <limits.h>
14856 # include <assert.h>
14861 /* Override any gcc2 internal prototype to avoid an error. */
14866 /* We use char because int might match the return type of a gcc2
14867 builtin and then its argument prototype would still apply. */
14869 /* The GNU C library defines this for functions which it implements
14870 to always fail with ENOSYS. Some functions are actually named
14871 something starting with __ and the normal name is an alias. */
14872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14875 char (*f) () = $ac_func;
14884 return f != $ac_func;
14889 rm -f conftest.
$ac_objext conftest
$ac_exeext
14890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14891 (eval $ac_link) 2>conftest.er1
14893 grep -v '^ *+' conftest.er1
>conftest.err
14895 cat conftest.err
>&5
14896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14897 (exit $ac_status); } &&
14898 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14900 (eval $ac_try) 2>&5
14902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14903 (exit $ac_status); }; } &&
14904 { ac_try
='test -s conftest$ac_exeext'
14905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14906 (eval $ac_try) 2>&5
14908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14909 (exit $ac_status); }; }; then
14910 eval "$as_ac_var=yes"
14912 echo "$as_me: failed program was:" >&5
14913 sed 's/^/| /' conftest.
$ac_ext >&5
14915 eval "$as_ac_var=no"
14917 rm -f conftest.err conftest.
$ac_objext \
14918 conftest
$ac_exeext conftest.
$ac_ext
14920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14922 if test `eval echo '${'$as_ac_var'}'` = yes; then
14923 cat >>confdefs.h
<<_ACEOF
14924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14933 for ac_header
in langinfo.h
14935 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14936 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14937 echo "$as_me:$LINENO: checking for $ac_header" >&5
14938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14940 echo $ECHO_N "(cached) $ECHO_C" >&6
14942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14943 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14945 # Is the header compilable?
14946 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14947 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14948 cat >conftest.
$ac_ext <<_ACEOF
14951 cat confdefs.h
>>conftest.
$ac_ext
14952 cat >>conftest.
$ac_ext <<_ACEOF
14953 /* end confdefs.h. */
14954 $ac_includes_default
14955 #include <$ac_header>
14957 rm -f conftest.
$ac_objext
14958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14959 (eval $ac_compile) 2>conftest.er1
14961 grep -v '^ *+' conftest.er1
>conftest.err
14963 cat conftest.err
>&5
14964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14965 (exit $ac_status); } &&
14966 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14968 (eval $ac_try) 2>&5
14970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14971 (exit $ac_status); }; } &&
14972 { ac_try
='test -s conftest.$ac_objext'
14973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14974 (eval $ac_try) 2>&5
14976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14977 (exit $ac_status); }; }; then
14978 ac_header_compiler
=yes
14980 echo "$as_me: failed program was:" >&5
14981 sed 's/^/| /' conftest.
$ac_ext >&5
14983 ac_header_compiler
=no
14985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14986 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14987 echo "${ECHO_T}$ac_header_compiler" >&6
14989 # Is the header present?
14990 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14991 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14992 cat >conftest.
$ac_ext <<_ACEOF
14995 cat confdefs.h
>>conftest.
$ac_ext
14996 cat >>conftest.
$ac_ext <<_ACEOF
14997 /* end confdefs.h. */
14998 #include <$ac_header>
15000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15001 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15003 grep -v '^ *+' conftest.er1
>conftest.err
15005 cat conftest.err
>&5
15006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15007 (exit $ac_status); } >/dev
/null
; then
15008 if test -s conftest.err
; then
15009 ac_cpp_err
=$ac_c_preproc_warn_flag
15010 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15017 if test -z "$ac_cpp_err"; then
15018 ac_header_preproc
=yes
15020 echo "$as_me: failed program was:" >&5
15021 sed 's/^/| /' conftest.
$ac_ext >&5
15023 ac_header_preproc
=no
15025 rm -f conftest.err conftest.
$ac_ext
15026 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15027 echo "${ECHO_T}$ac_header_preproc" >&6
15029 # So? What about this header?
15030 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15032 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15033 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15034 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15035 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15036 ac_header_preproc
=yes
15039 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15040 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15041 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15042 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15043 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15044 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15045 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15046 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15047 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15048 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15049 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15050 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15053 ## ----------------------------------------- ##
15054 ## Report this to wx-dev@lists.wxwidgets.org ##
15055 ## ----------------------------------------- ##
15058 sed "s/^/$as_me: WARNING: /" >&2
15061 echo "$as_me:$LINENO: checking for $ac_header" >&5
15062 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15063 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15064 echo $ECHO_N "(cached) $ECHO_C" >&6
15066 eval "$as_ac_Header=\$ac_header_preproc"
15068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15069 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15072 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15073 cat >>confdefs.h
<<_ACEOF
15074 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15083 *-pc-os2_emx | *-pc-os2-emx )
15084 if test $ac_cv_header_langinfo_h = "yes" \
15085 -a \
( "$wx_cv_gccversion" = "EMX2" \
15086 -o "$wx_cv_gccversion" = "EMX3" \
15087 -o "$wx_cv_gccversion" = "Innotek5" \
); then
15088 LIBS
="$LIBS -lintl"
15093 if test "$wxUSE_GUI" = "yes"; then
15094 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
15096 for ac_header
in X
11/Xlib.h
15098 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15099 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15100 echo "$as_me:$LINENO: checking for $ac_header" >&5
15101 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15102 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15103 echo $ECHO_N "(cached) $ECHO_C" >&6
15105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15106 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15108 # Is the header compilable?
15109 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15110 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15111 cat >conftest.
$ac_ext <<_ACEOF
15114 cat confdefs.h
>>conftest.
$ac_ext
15115 cat >>conftest.
$ac_ext <<_ACEOF
15116 /* end confdefs.h. */
15117 $ac_includes_default
15118 #include <$ac_header>
15120 rm -f conftest.
$ac_objext
15121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15122 (eval $ac_compile) 2>conftest.er1
15124 grep -v '^ *+' conftest.er1
>conftest.err
15126 cat conftest.err
>&5
15127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15128 (exit $ac_status); } &&
15129 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15131 (eval $ac_try) 2>&5
15133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15134 (exit $ac_status); }; } &&
15135 { ac_try
='test -s conftest.$ac_objext'
15136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15137 (eval $ac_try) 2>&5
15139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15140 (exit $ac_status); }; }; then
15141 ac_header_compiler
=yes
15143 echo "$as_me: failed program was:" >&5
15144 sed 's/^/| /' conftest.
$ac_ext >&5
15146 ac_header_compiler
=no
15148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15149 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15150 echo "${ECHO_T}$ac_header_compiler" >&6
15152 # Is the header present?
15153 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15154 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15155 cat >conftest.
$ac_ext <<_ACEOF
15158 cat confdefs.h
>>conftest.
$ac_ext
15159 cat >>conftest.
$ac_ext <<_ACEOF
15160 /* end confdefs.h. */
15161 #include <$ac_header>
15163 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15164 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15166 grep -v '^ *+' conftest.er1
>conftest.err
15168 cat conftest.err
>&5
15169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15170 (exit $ac_status); } >/dev
/null
; then
15171 if test -s conftest.err
; then
15172 ac_cpp_err
=$ac_c_preproc_warn_flag
15173 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15180 if test -z "$ac_cpp_err"; then
15181 ac_header_preproc
=yes
15183 echo "$as_me: failed program was:" >&5
15184 sed 's/^/| /' conftest.
$ac_ext >&5
15186 ac_header_preproc
=no
15188 rm -f conftest.err conftest.
$ac_ext
15189 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15190 echo "${ECHO_T}$ac_header_preproc" >&6
15192 # So? What about this header?
15193 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15195 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15196 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15197 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15198 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15199 ac_header_preproc
=yes
15202 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15203 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15204 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15205 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15206 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15207 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15208 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15209 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15210 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15211 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15212 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15213 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15216 ## ----------------------------------------- ##
15217 ## Report this to wx-dev@lists.wxwidgets.org ##
15218 ## ----------------------------------------- ##
15221 sed "s/^/$as_me: WARNING: /" >&2
15224 echo "$as_me:$LINENO: checking for $ac_header" >&5
15225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15226 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15227 echo $ECHO_N "(cached) $ECHO_C" >&6
15229 eval "$as_ac_Header=\$ac_header_preproc"
15231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15232 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15235 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15236 cat >>confdefs.h
<<_ACEOF
15237 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15245 for ac_header
in X
11/XKBlib.h
15247 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15248 echo "$as_me:$LINENO: checking for $ac_header" >&5
15249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15251 echo $ECHO_N "(cached) $ECHO_C" >&6
15253 cat >conftest.
$ac_ext <<_ACEOF
15256 cat confdefs.h
>>conftest.
$ac_ext
15257 cat >>conftest.
$ac_ext <<_ACEOF
15258 /* end confdefs.h. */
15260 #if HAVE_X11_XLIB_H
15261 #include <X11/Xlib.h>
15265 #include <$ac_header>
15267 rm -f conftest.
$ac_objext
15268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15269 (eval $ac_compile) 2>conftest.er1
15271 grep -v '^ *+' conftest.er1
>conftest.err
15273 cat conftest.err
>&5
15274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15275 (exit $ac_status); } &&
15276 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15278 (eval $ac_try) 2>&5
15280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15281 (exit $ac_status); }; } &&
15282 { ac_try
='test -s conftest.$ac_objext'
15283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15284 (eval $ac_try) 2>&5
15286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15287 (exit $ac_status); }; }; then
15288 eval "$as_ac_Header=yes"
15290 echo "$as_me: failed program was:" >&5
15291 sed 's/^/| /' conftest.
$ac_ext >&5
15293 eval "$as_ac_Header=no"
15295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15298 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15299 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15300 cat >>confdefs.h
<<_ACEOF
15301 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15312 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15313 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15314 if test "${ac_cv_c_const+set}" = set; then
15315 echo $ECHO_N "(cached) $ECHO_C" >&6
15317 cat >conftest.
$ac_ext <<_ACEOF
15320 cat confdefs.h
>>conftest.
$ac_ext
15321 cat >>conftest.
$ac_ext <<_ACEOF
15322 /* end confdefs.h. */
15327 /* FIXME: Include the comments suggested by Paul. */
15328 #ifndef __cplusplus
15329 /* Ultrix mips cc rejects this. */
15330 typedef int charset[2];
15332 /* SunOS 4.1.1 cc rejects this. */
15333 char const *const *ccp;
15335 /* NEC SVR4.0.2 mips cc rejects this. */
15336 struct point {int x, y;};
15337 static struct point const zero = {0,0};
15338 /* AIX XL C 1.02.0.0 rejects this.
15339 It does not let you subtract one const X* pointer from another in
15340 an arm of an if-expression whose if-part is not a constant
15342 const char *g = "string";
15343 ccp = &g + (g ? g-g : 0);
15344 /* HPUX 7.0 cc rejects these. */
15347 ccp = (char const *const *) p;
15348 { /* SCO 3.2v4 cc rejects this. */
15350 char const *s = 0 ? (char *) 0 : (char const *) 0;
15354 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15355 int x[] = {25, 17};
15356 const int *foo = &x[0];
15359 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15360 typedef const int *iptr;
15364 { /* AIX XL C 1.02.0.0 rejects this saying
15365 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15366 struct s { int j; const int *ap[3]; };
15367 struct s *b; b->j = 5;
15369 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15370 const int foo = 10;
15378 rm -f conftest.
$ac_objext
15379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15380 (eval $ac_compile) 2>conftest.er1
15382 grep -v '^ *+' conftest.er1
>conftest.err
15384 cat conftest.err
>&5
15385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15386 (exit $ac_status); } &&
15387 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15389 (eval $ac_try) 2>&5
15391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15392 (exit $ac_status); }; } &&
15393 { ac_try
='test -s conftest.$ac_objext'
15394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15395 (eval $ac_try) 2>&5
15397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15398 (exit $ac_status); }; }; then
15401 echo "$as_me: failed program was:" >&5
15402 sed 's/^/| /' conftest.
$ac_ext >&5
15406 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15408 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15409 echo "${ECHO_T}$ac_cv_c_const" >&6
15410 if test $ac_cv_c_const = no
; then
15412 cat >>confdefs.h
<<\_ACEOF
15418 echo "$as_me:$LINENO: checking for inline" >&5
15419 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15420 if test "${ac_cv_c_inline+set}" = set; then
15421 echo $ECHO_N "(cached) $ECHO_C" >&6
15424 for ac_kw
in inline __inline__ __inline
; do
15425 cat >conftest.
$ac_ext <<_ACEOF
15428 cat confdefs.h
>>conftest.
$ac_ext
15429 cat >>conftest.
$ac_ext <<_ACEOF
15430 /* end confdefs.h. */
15431 #ifndef __cplusplus
15433 static $ac_kw foo_t static_foo () {return 0; }
15434 $ac_kw foo_t foo () {return 0; }
15438 rm -f conftest.
$ac_objext
15439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15440 (eval $ac_compile) 2>conftest.er1
15442 grep -v '^ *+' conftest.er1
>conftest.err
15444 cat conftest.err
>&5
15445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15446 (exit $ac_status); } &&
15447 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15449 (eval $ac_try) 2>&5
15451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15452 (exit $ac_status); }; } &&
15453 { ac_try
='test -s conftest.$ac_objext'
15454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15455 (eval $ac_try) 2>&5
15457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15458 (exit $ac_status); }; }; then
15459 ac_cv_c_inline
=$ac_kw; break
15461 echo "$as_me: failed program was:" >&5
15462 sed 's/^/| /' conftest.
$ac_ext >&5
15465 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15469 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15470 echo "${ECHO_T}$ac_cv_c_inline" >&6
15473 case $ac_cv_c_inline in
15476 case $ac_cv_c_inline in
15478 *) ac_val
=$ac_cv_c_inline;;
15480 cat >>confdefs.h
<<_ACEOF
15481 #ifndef __cplusplus
15482 #define inline $ac_val
15489 echo "$as_me:$LINENO: checking for char" >&5
15490 echo $ECHO_N "checking for char... $ECHO_C" >&6
15491 if test "${ac_cv_type_char+set}" = set; then
15492 echo $ECHO_N "(cached) $ECHO_C" >&6
15494 cat >conftest.
$ac_ext <<_ACEOF
15497 cat confdefs.h
>>conftest.
$ac_ext
15498 cat >>conftest.
$ac_ext <<_ACEOF
15499 /* end confdefs.h. */
15500 $ac_includes_default
15512 rm -f conftest.
$ac_objext
15513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15514 (eval $ac_compile) 2>conftest.er1
15516 grep -v '^ *+' conftest.er1
>conftest.err
15518 cat conftest.err
>&5
15519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15520 (exit $ac_status); } &&
15521 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15523 (eval $ac_try) 2>&5
15525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15526 (exit $ac_status); }; } &&
15527 { ac_try
='test -s conftest.$ac_objext'
15528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15529 (eval $ac_try) 2>&5
15531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15532 (exit $ac_status); }; }; then
15533 ac_cv_type_char
=yes
15535 echo "$as_me: failed program was:" >&5
15536 sed 's/^/| /' conftest.
$ac_ext >&5
15540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15542 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15543 echo "${ECHO_T}$ac_cv_type_char" >&6
15545 echo "$as_me:$LINENO: checking size of char" >&5
15546 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15547 if test "${ac_cv_sizeof_char+set}" = set; then
15548 echo $ECHO_N "(cached) $ECHO_C" >&6
15550 if test "$ac_cv_type_char" = yes; then
15551 # The cast to unsigned long works around a bug in the HP C Compiler
15552 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15553 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15554 # This bug is HP SR number 8606223364.
15555 if test "$cross_compiling" = yes; then
15556 # Depending upon the size, compute the lo and hi bounds.
15557 cat >conftest.
$ac_ext <<_ACEOF
15560 cat confdefs.h
>>conftest.
$ac_ext
15561 cat >>conftest.
$ac_ext <<_ACEOF
15562 /* end confdefs.h. */
15563 $ac_includes_default
15567 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15574 rm -f conftest.
$ac_objext
15575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15576 (eval $ac_compile) 2>conftest.er1
15578 grep -v '^ *+' conftest.er1
>conftest.err
15580 cat conftest.err
>&5
15581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15582 (exit $ac_status); } &&
15583 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15585 (eval $ac_try) 2>&5
15587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15588 (exit $ac_status); }; } &&
15589 { ac_try
='test -s conftest.$ac_objext'
15590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15591 (eval $ac_try) 2>&5
15593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15594 (exit $ac_status); }; }; then
15597 cat >conftest.
$ac_ext <<_ACEOF
15600 cat confdefs.h
>>conftest.
$ac_ext
15601 cat >>conftest.
$ac_ext <<_ACEOF
15602 /* end confdefs.h. */
15603 $ac_includes_default
15607 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15614 rm -f conftest.
$ac_objext
15615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15616 (eval $ac_compile) 2>conftest.er1
15618 grep -v '^ *+' conftest.er1
>conftest.err
15620 cat conftest.err
>&5
15621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15622 (exit $ac_status); } &&
15623 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15625 (eval $ac_try) 2>&5
15627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15628 (exit $ac_status); }; } &&
15629 { ac_try
='test -s conftest.$ac_objext'
15630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15631 (eval $ac_try) 2>&5
15633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15634 (exit $ac_status); }; }; then
15635 ac_hi
=$ac_mid; break
15637 echo "$as_me: failed program was:" >&5
15638 sed 's/^/| /' conftest.
$ac_ext >&5
15640 ac_lo
=`expr $ac_mid + 1`
15641 if test $ac_lo -le $ac_mid; then
15645 ac_mid
=`expr 2 '*' $ac_mid + 1`
15647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15650 echo "$as_me: failed program was:" >&5
15651 sed 's/^/| /' conftest.
$ac_ext >&5
15653 cat >conftest.
$ac_ext <<_ACEOF
15656 cat confdefs.h
>>conftest.
$ac_ext
15657 cat >>conftest.
$ac_ext <<_ACEOF
15658 /* end confdefs.h. */
15659 $ac_includes_default
15663 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15670 rm -f conftest.
$ac_objext
15671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15672 (eval $ac_compile) 2>conftest.er1
15674 grep -v '^ *+' conftest.er1
>conftest.err
15676 cat conftest.err
>&5
15677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15678 (exit $ac_status); } &&
15679 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15681 (eval $ac_try) 2>&5
15683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684 (exit $ac_status); }; } &&
15685 { ac_try
='test -s conftest.$ac_objext'
15686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15687 (eval $ac_try) 2>&5
15689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15690 (exit $ac_status); }; }; then
15693 cat >conftest.
$ac_ext <<_ACEOF
15696 cat confdefs.h
>>conftest.
$ac_ext
15697 cat >>conftest.
$ac_ext <<_ACEOF
15698 /* end confdefs.h. */
15699 $ac_includes_default
15703 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15710 rm -f conftest.
$ac_objext
15711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15712 (eval $ac_compile) 2>conftest.er1
15714 grep -v '^ *+' conftest.er1
>conftest.err
15716 cat conftest.err
>&5
15717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15718 (exit $ac_status); } &&
15719 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15721 (eval $ac_try) 2>&5
15723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15724 (exit $ac_status); }; } &&
15725 { ac_try
='test -s conftest.$ac_objext'
15726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15727 (eval $ac_try) 2>&5
15729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15730 (exit $ac_status); }; }; then
15731 ac_lo
=$ac_mid; break
15733 echo "$as_me: failed program was:" >&5
15734 sed 's/^/| /' conftest.
$ac_ext >&5
15736 ac_hi
=`expr '(' $ac_mid ')' - 1`
15737 if test $ac_mid -le $ac_hi; then
15741 ac_mid
=`expr 2 '*' $ac_mid`
15743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15746 echo "$as_me: failed program was:" >&5
15747 sed 's/^/| /' conftest.
$ac_ext >&5
15751 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15753 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15754 # Binary search between lo and hi bounds.
15755 while test "x$ac_lo" != "x$ac_hi"; do
15756 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15757 cat >conftest.
$ac_ext <<_ACEOF
15760 cat confdefs.h
>>conftest.
$ac_ext
15761 cat >>conftest.
$ac_ext <<_ACEOF
15762 /* end confdefs.h. */
15763 $ac_includes_default
15767 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15774 rm -f conftest.
$ac_objext
15775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15776 (eval $ac_compile) 2>conftest.er1
15778 grep -v '^ *+' conftest.er1
>conftest.err
15780 cat conftest.err
>&5
15781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15782 (exit $ac_status); } &&
15783 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15785 (eval $ac_try) 2>&5
15787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15788 (exit $ac_status); }; } &&
15789 { ac_try
='test -s conftest.$ac_objext'
15790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15791 (eval $ac_try) 2>&5
15793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15794 (exit $ac_status); }; }; then
15797 echo "$as_me: failed program was:" >&5
15798 sed 's/^/| /' conftest.
$ac_ext >&5
15800 ac_lo
=`expr '(' $ac_mid ')' + 1`
15802 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15805 ?
*) ac_cv_sizeof_char
=$ac_lo;;
15806 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15807 See \`config.log' for more details." >&5
15808 echo "$as_me: error: cannot compute sizeof (char), 77
15809 See \`config.log' for more details." >&2;}
15810 { (exit 1); exit 1; }; } ;;
15813 if test "$cross_compiling" = yes; then
15814 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15815 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15816 { (exit 1); exit 1; }; }
15818 cat >conftest.
$ac_ext <<_ACEOF
15821 cat confdefs.h
>>conftest.
$ac_ext
15822 cat >>conftest.
$ac_ext <<_ACEOF
15823 /* end confdefs.h. */
15824 $ac_includes_default
15825 long longval () { return (long) (sizeof (char)); }
15826 unsigned long ulongval () { return (long) (sizeof (char)); }
15828 #include <stdlib.h>
15833 FILE *f = fopen ("conftest.val", "w");
15836 if (((long) (sizeof (char))) < 0)
15838 long i = longval ();
15839 if (i != ((long) (sizeof (char))))
15841 fprintf (f, "%ld\n", i);
15845 unsigned long i = ulongval ();
15846 if (i != ((long) (sizeof (char))))
15848 fprintf (f, "%lu\n", i);
15850 exit (ferror (f) || fclose (f) != 0);
15856 rm -f conftest
$ac_exeext
15857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15858 (eval $ac_link) 2>&5
15860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15861 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15863 (eval $ac_try) 2>&5
15865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15866 (exit $ac_status); }; }; then
15867 ac_cv_sizeof_char
=`cat conftest.val`
15869 echo "$as_me: program exited with status $ac_status" >&5
15870 echo "$as_me: failed program was:" >&5
15871 sed 's/^/| /' conftest.
$ac_ext >&5
15873 ( exit $ac_status )
15874 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15875 See \`config.log' for more details." >&5
15876 echo "$as_me: error: cannot compute sizeof (char), 77
15877 See \`config.log' for more details." >&2;}
15878 { (exit 1); exit 1; }; }
15880 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15885 ac_cv_sizeof_char
=0
15888 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15889 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15890 cat >>confdefs.h
<<_ACEOF
15891 #define SIZEOF_CHAR $ac_cv_sizeof_char
15895 echo "$as_me:$LINENO: checking for short" >&5
15896 echo $ECHO_N "checking for short... $ECHO_C" >&6
15897 if test "${ac_cv_type_short+set}" = set; then
15898 echo $ECHO_N "(cached) $ECHO_C" >&6
15900 cat >conftest.
$ac_ext <<_ACEOF
15903 cat confdefs.h
>>conftest.
$ac_ext
15904 cat >>conftest.
$ac_ext <<_ACEOF
15905 /* end confdefs.h. */
15906 $ac_includes_default
15912 if (sizeof (short))
15918 rm -f conftest.
$ac_objext
15919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15920 (eval $ac_compile) 2>conftest.er1
15922 grep -v '^ *+' conftest.er1
>conftest.err
15924 cat conftest.err
>&5
15925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15926 (exit $ac_status); } &&
15927 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15929 (eval $ac_try) 2>&5
15931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15932 (exit $ac_status); }; } &&
15933 { ac_try
='test -s conftest.$ac_objext'
15934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15935 (eval $ac_try) 2>&5
15937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15938 (exit $ac_status); }; }; then
15939 ac_cv_type_short
=yes
15941 echo "$as_me: failed program was:" >&5
15942 sed 's/^/| /' conftest.
$ac_ext >&5
15944 ac_cv_type_short
=no
15946 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15948 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15949 echo "${ECHO_T}$ac_cv_type_short" >&6
15951 echo "$as_me:$LINENO: checking size of short" >&5
15952 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15953 if test "${ac_cv_sizeof_short+set}" = set; then
15954 echo $ECHO_N "(cached) $ECHO_C" >&6
15956 if test "$ac_cv_type_short" = yes; then
15957 # The cast to unsigned long works around a bug in the HP C Compiler
15958 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15959 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15960 # This bug is HP SR number 8606223364.
15961 if test "$cross_compiling" = yes; then
15962 # Depending upon the size, compute the lo and hi bounds.
15963 cat >conftest.
$ac_ext <<_ACEOF
15966 cat confdefs.h
>>conftest.
$ac_ext
15967 cat >>conftest.
$ac_ext <<_ACEOF
15968 /* end confdefs.h. */
15969 $ac_includes_default
15973 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15980 rm -f conftest.
$ac_objext
15981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15982 (eval $ac_compile) 2>conftest.er1
15984 grep -v '^ *+' conftest.er1
>conftest.err
15986 cat conftest.err
>&5
15987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15988 (exit $ac_status); } &&
15989 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15991 (eval $ac_try) 2>&5
15993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15994 (exit $ac_status); }; } &&
15995 { ac_try
='test -s conftest.$ac_objext'
15996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15997 (eval $ac_try) 2>&5
15999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16000 (exit $ac_status); }; }; then
16003 cat >conftest.
$ac_ext <<_ACEOF
16006 cat confdefs.h
>>conftest.
$ac_ext
16007 cat >>conftest.
$ac_ext <<_ACEOF
16008 /* end confdefs.h. */
16009 $ac_includes_default
16013 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16020 rm -f conftest.
$ac_objext
16021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16022 (eval $ac_compile) 2>conftest.er1
16024 grep -v '^ *+' conftest.er1
>conftest.err
16026 cat conftest.err
>&5
16027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16028 (exit $ac_status); } &&
16029 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16031 (eval $ac_try) 2>&5
16033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16034 (exit $ac_status); }; } &&
16035 { ac_try
='test -s conftest.$ac_objext'
16036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16037 (eval $ac_try) 2>&5
16039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16040 (exit $ac_status); }; }; then
16041 ac_hi
=$ac_mid; break
16043 echo "$as_me: failed program was:" >&5
16044 sed 's/^/| /' conftest.
$ac_ext >&5
16046 ac_lo
=`expr $ac_mid + 1`
16047 if test $ac_lo -le $ac_mid; then
16051 ac_mid
=`expr 2 '*' $ac_mid + 1`
16053 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16056 echo "$as_me: failed program was:" >&5
16057 sed 's/^/| /' conftest.
$ac_ext >&5
16059 cat >conftest.
$ac_ext <<_ACEOF
16062 cat confdefs.h
>>conftest.
$ac_ext
16063 cat >>conftest.
$ac_ext <<_ACEOF
16064 /* end confdefs.h. */
16065 $ac_includes_default
16069 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
16076 rm -f conftest.
$ac_objext
16077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16078 (eval $ac_compile) 2>conftest.er1
16080 grep -v '^ *+' conftest.er1
>conftest.err
16082 cat conftest.err
>&5
16083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16084 (exit $ac_status); } &&
16085 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16087 (eval $ac_try) 2>&5
16089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16090 (exit $ac_status); }; } &&
16091 { ac_try
='test -s conftest.$ac_objext'
16092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16093 (eval $ac_try) 2>&5
16095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096 (exit $ac_status); }; }; then
16099 cat >conftest.
$ac_ext <<_ACEOF
16102 cat confdefs.h
>>conftest.
$ac_ext
16103 cat >>conftest.
$ac_ext <<_ACEOF
16104 /* end confdefs.h. */
16105 $ac_includes_default
16109 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16116 rm -f conftest.
$ac_objext
16117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16118 (eval $ac_compile) 2>conftest.er1
16120 grep -v '^ *+' conftest.er1
>conftest.err
16122 cat conftest.err
>&5
16123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16124 (exit $ac_status); } &&
16125 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16127 (eval $ac_try) 2>&5
16129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16130 (exit $ac_status); }; } &&
16131 { ac_try
='test -s conftest.$ac_objext'
16132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16133 (eval $ac_try) 2>&5
16135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16136 (exit $ac_status); }; }; then
16137 ac_lo
=$ac_mid; break
16139 echo "$as_me: failed program was:" >&5
16140 sed 's/^/| /' conftest.
$ac_ext >&5
16142 ac_hi
=`expr '(' $ac_mid ')' - 1`
16143 if test $ac_mid -le $ac_hi; then
16147 ac_mid
=`expr 2 '*' $ac_mid`
16149 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16152 echo "$as_me: failed program was:" >&5
16153 sed 's/^/| /' conftest.
$ac_ext >&5
16157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16160 # Binary search between lo and hi bounds.
16161 while test "x$ac_lo" != "x$ac_hi"; do
16162 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16163 cat >conftest.
$ac_ext <<_ACEOF
16166 cat confdefs.h
>>conftest.
$ac_ext
16167 cat >>conftest.
$ac_ext <<_ACEOF
16168 /* end confdefs.h. */
16169 $ac_includes_default
16173 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16180 rm -f conftest.
$ac_objext
16181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16182 (eval $ac_compile) 2>conftest.er1
16184 grep -v '^ *+' conftest.er1
>conftest.err
16186 cat conftest.err
>&5
16187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16188 (exit $ac_status); } &&
16189 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16191 (eval $ac_try) 2>&5
16193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16194 (exit $ac_status); }; } &&
16195 { ac_try
='test -s conftest.$ac_objext'
16196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16197 (eval $ac_try) 2>&5
16199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16200 (exit $ac_status); }; }; then
16203 echo "$as_me: failed program was:" >&5
16204 sed 's/^/| /' conftest.
$ac_ext >&5
16206 ac_lo
=`expr '(' $ac_mid ')' + 1`
16208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16211 ?
*) ac_cv_sizeof_short
=$ac_lo;;
16212 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16213 See \`config.log' for more details." >&5
16214 echo "$as_me: error: cannot compute sizeof (short), 77
16215 See \`config.log' for more details." >&2;}
16216 { (exit 1); exit 1; }; } ;;
16219 if test "$cross_compiling" = yes; then
16220 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16221 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16222 { (exit 1); exit 1; }; }
16224 cat >conftest.
$ac_ext <<_ACEOF
16227 cat confdefs.h
>>conftest.
$ac_ext
16228 cat >>conftest.
$ac_ext <<_ACEOF
16229 /* end confdefs.h. */
16230 $ac_includes_default
16231 long longval () { return (long) (sizeof (short)); }
16232 unsigned long ulongval () { return (long) (sizeof (short)); }
16234 #include <stdlib.h>
16239 FILE *f = fopen ("conftest.val", "w");
16242 if (((long) (sizeof (short))) < 0)
16244 long i = longval ();
16245 if (i != ((long) (sizeof (short))))
16247 fprintf (f, "%ld\n", i);
16251 unsigned long i = ulongval ();
16252 if (i != ((long) (sizeof (short))))
16254 fprintf (f, "%lu\n", i);
16256 exit (ferror (f) || fclose (f) != 0);
16262 rm -f conftest
$ac_exeext
16263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16264 (eval $ac_link) 2>&5
16266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16267 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16269 (eval $ac_try) 2>&5
16271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16272 (exit $ac_status); }; }; then
16273 ac_cv_sizeof_short
=`cat conftest.val`
16275 echo "$as_me: program exited with status $ac_status" >&5
16276 echo "$as_me: failed program was:" >&5
16277 sed 's/^/| /' conftest.
$ac_ext >&5
16279 ( exit $ac_status )
16280 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16281 See \`config.log' for more details." >&5
16282 echo "$as_me: error: cannot compute sizeof (short), 77
16283 See \`config.log' for more details." >&2;}
16284 { (exit 1); exit 1; }; }
16286 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16291 ac_cv_sizeof_short
=0
16294 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16295 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16296 cat >>confdefs.h
<<_ACEOF
16297 #define SIZEOF_SHORT $ac_cv_sizeof_short
16301 echo "$as_me:$LINENO: checking for void *" >&5
16302 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16303 if test "${ac_cv_type_void_p+set}" = set; then
16304 echo $ECHO_N "(cached) $ECHO_C" >&6
16306 cat >conftest.
$ac_ext <<_ACEOF
16309 cat confdefs.h
>>conftest.
$ac_ext
16310 cat >>conftest.
$ac_ext <<_ACEOF
16311 /* end confdefs.h. */
16312 $ac_includes_default
16318 if (sizeof (void *))
16324 rm -f conftest.
$ac_objext
16325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16326 (eval $ac_compile) 2>conftest.er1
16328 grep -v '^ *+' conftest.er1
>conftest.err
16330 cat conftest.err
>&5
16331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16332 (exit $ac_status); } &&
16333 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16335 (eval $ac_try) 2>&5
16337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16338 (exit $ac_status); }; } &&
16339 { ac_try
='test -s conftest.$ac_objext'
16340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16341 (eval $ac_try) 2>&5
16343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16344 (exit $ac_status); }; }; then
16345 ac_cv_type_void_p
=yes
16347 echo "$as_me: failed program was:" >&5
16348 sed 's/^/| /' conftest.
$ac_ext >&5
16350 ac_cv_type_void_p
=no
16352 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16354 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16355 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16357 echo "$as_me:$LINENO: checking size of void *" >&5
16358 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16359 if test "${ac_cv_sizeof_void_p+set}" = set; then
16360 echo $ECHO_N "(cached) $ECHO_C" >&6
16362 if test "$ac_cv_type_void_p" = yes; then
16363 # The cast to unsigned long works around a bug in the HP C Compiler
16364 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16365 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16366 # This bug is HP SR number 8606223364.
16367 if test "$cross_compiling" = yes; then
16368 # Depending upon the size, compute the lo and hi bounds.
16369 cat >conftest.
$ac_ext <<_ACEOF
16372 cat confdefs.h
>>conftest.
$ac_ext
16373 cat >>conftest.
$ac_ext <<_ACEOF
16374 /* end confdefs.h. */
16375 $ac_includes_default
16379 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16386 rm -f conftest.
$ac_objext
16387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16388 (eval $ac_compile) 2>conftest.er1
16390 grep -v '^ *+' conftest.er1
>conftest.err
16392 cat conftest.err
>&5
16393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16394 (exit $ac_status); } &&
16395 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16397 (eval $ac_try) 2>&5
16399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16400 (exit $ac_status); }; } &&
16401 { ac_try
='test -s conftest.$ac_objext'
16402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16403 (eval $ac_try) 2>&5
16405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16406 (exit $ac_status); }; }; then
16409 cat >conftest.
$ac_ext <<_ACEOF
16412 cat confdefs.h
>>conftest.
$ac_ext
16413 cat >>conftest.
$ac_ext <<_ACEOF
16414 /* end confdefs.h. */
16415 $ac_includes_default
16419 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16426 rm -f conftest.
$ac_objext
16427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16428 (eval $ac_compile) 2>conftest.er1
16430 grep -v '^ *+' conftest.er1
>conftest.err
16432 cat conftest.err
>&5
16433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16434 (exit $ac_status); } &&
16435 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16437 (eval $ac_try) 2>&5
16439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16440 (exit $ac_status); }; } &&
16441 { ac_try
='test -s conftest.$ac_objext'
16442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16443 (eval $ac_try) 2>&5
16445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16446 (exit $ac_status); }; }; then
16447 ac_hi
=$ac_mid; break
16449 echo "$as_me: failed program was:" >&5
16450 sed 's/^/| /' conftest.
$ac_ext >&5
16452 ac_lo
=`expr $ac_mid + 1`
16453 if test $ac_lo -le $ac_mid; then
16457 ac_mid
=`expr 2 '*' $ac_mid + 1`
16459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16462 echo "$as_me: failed program was:" >&5
16463 sed 's/^/| /' conftest.
$ac_ext >&5
16465 cat >conftest.
$ac_ext <<_ACEOF
16468 cat confdefs.h
>>conftest.
$ac_ext
16469 cat >>conftest.
$ac_ext <<_ACEOF
16470 /* end confdefs.h. */
16471 $ac_includes_default
16475 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16482 rm -f conftest.
$ac_objext
16483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16484 (eval $ac_compile) 2>conftest.er1
16486 grep -v '^ *+' conftest.er1
>conftest.err
16488 cat conftest.err
>&5
16489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16490 (exit $ac_status); } &&
16491 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16493 (eval $ac_try) 2>&5
16495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16496 (exit $ac_status); }; } &&
16497 { ac_try
='test -s conftest.$ac_objext'
16498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16499 (eval $ac_try) 2>&5
16501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16502 (exit $ac_status); }; }; then
16505 cat >conftest.
$ac_ext <<_ACEOF
16508 cat confdefs.h
>>conftest.
$ac_ext
16509 cat >>conftest.
$ac_ext <<_ACEOF
16510 /* end confdefs.h. */
16511 $ac_includes_default
16515 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16522 rm -f conftest.
$ac_objext
16523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16524 (eval $ac_compile) 2>conftest.er1
16526 grep -v '^ *+' conftest.er1
>conftest.err
16528 cat conftest.err
>&5
16529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16530 (exit $ac_status); } &&
16531 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16533 (eval $ac_try) 2>&5
16535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16536 (exit $ac_status); }; } &&
16537 { ac_try
='test -s conftest.$ac_objext'
16538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16539 (eval $ac_try) 2>&5
16541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16542 (exit $ac_status); }; }; then
16543 ac_lo
=$ac_mid; break
16545 echo "$as_me: failed program was:" >&5
16546 sed 's/^/| /' conftest.
$ac_ext >&5
16548 ac_hi
=`expr '(' $ac_mid ')' - 1`
16549 if test $ac_mid -le $ac_hi; then
16553 ac_mid
=`expr 2 '*' $ac_mid`
16555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16558 echo "$as_me: failed program was:" >&5
16559 sed 's/^/| /' conftest.
$ac_ext >&5
16563 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16565 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16566 # Binary search between lo and hi bounds.
16567 while test "x$ac_lo" != "x$ac_hi"; do
16568 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16569 cat >conftest.
$ac_ext <<_ACEOF
16572 cat confdefs.h
>>conftest.
$ac_ext
16573 cat >>conftest.
$ac_ext <<_ACEOF
16574 /* end confdefs.h. */
16575 $ac_includes_default
16579 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16586 rm -f conftest.
$ac_objext
16587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16588 (eval $ac_compile) 2>conftest.er1
16590 grep -v '^ *+' conftest.er1
>conftest.err
16592 cat conftest.err
>&5
16593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16594 (exit $ac_status); } &&
16595 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16597 (eval $ac_try) 2>&5
16599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16600 (exit $ac_status); }; } &&
16601 { ac_try
='test -s conftest.$ac_objext'
16602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16603 (eval $ac_try) 2>&5
16605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16606 (exit $ac_status); }; }; then
16609 echo "$as_me: failed program was:" >&5
16610 sed 's/^/| /' conftest.
$ac_ext >&5
16612 ac_lo
=`expr '(' $ac_mid ')' + 1`
16614 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16617 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
16618 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16619 See \`config.log' for more details." >&5
16620 echo "$as_me: error: cannot compute sizeof (void *), 77
16621 See \`config.log' for more details." >&2;}
16622 { (exit 1); exit 1; }; } ;;
16625 if test "$cross_compiling" = yes; then
16626 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16627 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16628 { (exit 1); exit 1; }; }
16630 cat >conftest.
$ac_ext <<_ACEOF
16633 cat confdefs.h
>>conftest.
$ac_ext
16634 cat >>conftest.
$ac_ext <<_ACEOF
16635 /* end confdefs.h. */
16636 $ac_includes_default
16637 long longval () { return (long) (sizeof (void *)); }
16638 unsigned long ulongval () { return (long) (sizeof (void *)); }
16640 #include <stdlib.h>
16645 FILE *f = fopen ("conftest.val", "w");
16648 if (((long) (sizeof (void *))) < 0)
16650 long i = longval ();
16651 if (i != ((long) (sizeof (void *))))
16653 fprintf (f, "%ld\n", i);
16657 unsigned long i = ulongval ();
16658 if (i != ((long) (sizeof (void *))))
16660 fprintf (f, "%lu\n", i);
16662 exit (ferror (f) || fclose (f) != 0);
16668 rm -f conftest
$ac_exeext
16669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16670 (eval $ac_link) 2>&5
16672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16673 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16675 (eval $ac_try) 2>&5
16677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16678 (exit $ac_status); }; }; then
16679 ac_cv_sizeof_void_p
=`cat conftest.val`
16681 echo "$as_me: program exited with status $ac_status" >&5
16682 echo "$as_me: failed program was:" >&5
16683 sed 's/^/| /' conftest.
$ac_ext >&5
16685 ( exit $ac_status )
16686 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16687 See \`config.log' for more details." >&5
16688 echo "$as_me: error: cannot compute sizeof (void *), 77
16689 See \`config.log' for more details." >&2;}
16690 { (exit 1); exit 1; }; }
16692 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16697 ac_cv_sizeof_void_p
=0
16700 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16701 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16702 cat >>confdefs.h
<<_ACEOF
16703 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16707 echo "$as_me:$LINENO: checking for int" >&5
16708 echo $ECHO_N "checking for int... $ECHO_C" >&6
16709 if test "${ac_cv_type_int+set}" = set; then
16710 echo $ECHO_N "(cached) $ECHO_C" >&6
16712 cat >conftest.
$ac_ext <<_ACEOF
16715 cat confdefs.h
>>conftest.
$ac_ext
16716 cat >>conftest.
$ac_ext <<_ACEOF
16717 /* end confdefs.h. */
16718 $ac_includes_default
16730 rm -f conftest.
$ac_objext
16731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16732 (eval $ac_compile) 2>conftest.er1
16734 grep -v '^ *+' conftest.er1
>conftest.err
16736 cat conftest.err
>&5
16737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16738 (exit $ac_status); } &&
16739 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16741 (eval $ac_try) 2>&5
16743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16744 (exit $ac_status); }; } &&
16745 { ac_try
='test -s conftest.$ac_objext'
16746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16747 (eval $ac_try) 2>&5
16749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16750 (exit $ac_status); }; }; then
16753 echo "$as_me: failed program was:" >&5
16754 sed 's/^/| /' conftest.
$ac_ext >&5
16758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16760 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16761 echo "${ECHO_T}$ac_cv_type_int" >&6
16763 echo "$as_me:$LINENO: checking size of int" >&5
16764 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16765 if test "${ac_cv_sizeof_int+set}" = set; then
16766 echo $ECHO_N "(cached) $ECHO_C" >&6
16768 if test "$ac_cv_type_int" = yes; then
16769 # The cast to unsigned long works around a bug in the HP C Compiler
16770 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16771 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16772 # This bug is HP SR number 8606223364.
16773 if test "$cross_compiling" = yes; then
16774 # Depending upon the size, compute the lo and hi bounds.
16775 cat >conftest.
$ac_ext <<_ACEOF
16778 cat confdefs.h
>>conftest.
$ac_ext
16779 cat >>conftest.
$ac_ext <<_ACEOF
16780 /* end confdefs.h. */
16781 $ac_includes_default
16785 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16792 rm -f conftest.
$ac_objext
16793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16794 (eval $ac_compile) 2>conftest.er1
16796 grep -v '^ *+' conftest.er1
>conftest.err
16798 cat conftest.err
>&5
16799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16800 (exit $ac_status); } &&
16801 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16803 (eval $ac_try) 2>&5
16805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16806 (exit $ac_status); }; } &&
16807 { ac_try
='test -s conftest.$ac_objext'
16808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16809 (eval $ac_try) 2>&5
16811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16812 (exit $ac_status); }; }; then
16815 cat >conftest.
$ac_ext <<_ACEOF
16818 cat confdefs.h
>>conftest.
$ac_ext
16819 cat >>conftest.
$ac_ext <<_ACEOF
16820 /* end confdefs.h. */
16821 $ac_includes_default
16825 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16832 rm -f conftest.
$ac_objext
16833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16834 (eval $ac_compile) 2>conftest.er1
16836 grep -v '^ *+' conftest.er1
>conftest.err
16838 cat conftest.err
>&5
16839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16840 (exit $ac_status); } &&
16841 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16843 (eval $ac_try) 2>&5
16845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16846 (exit $ac_status); }; } &&
16847 { ac_try
='test -s conftest.$ac_objext'
16848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16849 (eval $ac_try) 2>&5
16851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16852 (exit $ac_status); }; }; then
16853 ac_hi
=$ac_mid; break
16855 echo "$as_me: failed program was:" >&5
16856 sed 's/^/| /' conftest.
$ac_ext >&5
16858 ac_lo
=`expr $ac_mid + 1`
16859 if test $ac_lo -le $ac_mid; then
16863 ac_mid
=`expr 2 '*' $ac_mid + 1`
16865 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16868 echo "$as_me: failed program was:" >&5
16869 sed 's/^/| /' conftest.
$ac_ext >&5
16871 cat >conftest.
$ac_ext <<_ACEOF
16874 cat confdefs.h
>>conftest.
$ac_ext
16875 cat >>conftest.
$ac_ext <<_ACEOF
16876 /* end confdefs.h. */
16877 $ac_includes_default
16881 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16888 rm -f conftest.
$ac_objext
16889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16890 (eval $ac_compile) 2>conftest.er1
16892 grep -v '^ *+' conftest.er1
>conftest.err
16894 cat conftest.err
>&5
16895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16896 (exit $ac_status); } &&
16897 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16899 (eval $ac_try) 2>&5
16901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16902 (exit $ac_status); }; } &&
16903 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
16911 cat >conftest.
$ac_ext <<_ACEOF
16914 cat confdefs.h
>>conftest.
$ac_ext
16915 cat >>conftest.
$ac_ext <<_ACEOF
16916 /* end confdefs.h. */
16917 $ac_includes_default
16921 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16928 rm -f conftest.
$ac_objext
16929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16930 (eval $ac_compile) 2>conftest.er1
16932 grep -v '^ *+' conftest.er1
>conftest.err
16934 cat conftest.err
>&5
16935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16936 (exit $ac_status); } &&
16937 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16939 (eval $ac_try) 2>&5
16941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16942 (exit $ac_status); }; } &&
16943 { ac_try
='test -s conftest.$ac_objext'
16944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16945 (eval $ac_try) 2>&5
16947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16948 (exit $ac_status); }; }; then
16949 ac_lo
=$ac_mid; break
16951 echo "$as_me: failed program was:" >&5
16952 sed 's/^/| /' conftest.
$ac_ext >&5
16954 ac_hi
=`expr '(' $ac_mid ')' - 1`
16955 if test $ac_mid -le $ac_hi; then
16959 ac_mid
=`expr 2 '*' $ac_mid`
16961 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16964 echo "$as_me: failed program was:" >&5
16965 sed 's/^/| /' conftest.
$ac_ext >&5
16969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16971 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16972 # Binary search between lo and hi bounds.
16973 while test "x$ac_lo" != "x$ac_hi"; do
16974 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16975 cat >conftest.
$ac_ext <<_ACEOF
16978 cat confdefs.h
>>conftest.
$ac_ext
16979 cat >>conftest.
$ac_ext <<_ACEOF
16980 /* end confdefs.h. */
16981 $ac_includes_default
16985 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16992 rm -f conftest.
$ac_objext
16993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16994 (eval $ac_compile) 2>conftest.er1
16996 grep -v '^ *+' conftest.er1
>conftest.err
16998 cat conftest.err
>&5
16999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17000 (exit $ac_status); } &&
17001 { ac_try
='test -z "$ac_c_werror_flag" || 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
17015 echo "$as_me: failed program was:" >&5
17016 sed 's/^/| /' conftest.
$ac_ext >&5
17018 ac_lo
=`expr '(' $ac_mid ')' + 1`
17020 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17023 ?
*) ac_cv_sizeof_int
=$ac_lo;;
17024 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17025 See \`config.log' for more details." >&5
17026 echo "$as_me: error: cannot compute sizeof (int), 77
17027 See \`config.log' for more details." >&2;}
17028 { (exit 1); exit 1; }; } ;;
17031 if test "$cross_compiling" = yes; then
17032 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17033 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17034 { (exit 1); exit 1; }; }
17036 cat >conftest.
$ac_ext <<_ACEOF
17039 cat confdefs.h
>>conftest.
$ac_ext
17040 cat >>conftest.
$ac_ext <<_ACEOF
17041 /* end confdefs.h. */
17042 $ac_includes_default
17043 long longval () { return (long) (sizeof (int)); }
17044 unsigned long ulongval () { return (long) (sizeof (int)); }
17046 #include <stdlib.h>
17051 FILE *f = fopen ("conftest.val", "w");
17054 if (((long) (sizeof (int))) < 0)
17056 long i = longval ();
17057 if (i != ((long) (sizeof (int))))
17059 fprintf (f, "%ld\n", i);
17063 unsigned long i = ulongval ();
17064 if (i != ((long) (sizeof (int))))
17066 fprintf (f, "%lu\n", i);
17068 exit (ferror (f) || fclose (f) != 0);
17074 rm -f conftest
$ac_exeext
17075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17076 (eval $ac_link) 2>&5
17078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17079 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17081 (eval $ac_try) 2>&5
17083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17084 (exit $ac_status); }; }; then
17085 ac_cv_sizeof_int
=`cat conftest.val`
17087 echo "$as_me: program exited with status $ac_status" >&5
17088 echo "$as_me: failed program was:" >&5
17089 sed 's/^/| /' conftest.
$ac_ext >&5
17091 ( exit $ac_status )
17092 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17093 See \`config.log' for more details." >&5
17094 echo "$as_me: error: cannot compute sizeof (int), 77
17095 See \`config.log' for more details." >&2;}
17096 { (exit 1); exit 1; }; }
17098 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17106 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17107 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17108 cat >>confdefs.h
<<_ACEOF
17109 #define SIZEOF_INT $ac_cv_sizeof_int
17113 echo "$as_me:$LINENO: checking for long" >&5
17114 echo $ECHO_N "checking for long... $ECHO_C" >&6
17115 if test "${ac_cv_type_long+set}" = set; then
17116 echo $ECHO_N "(cached) $ECHO_C" >&6
17118 cat >conftest.
$ac_ext <<_ACEOF
17121 cat confdefs.h
>>conftest.
$ac_ext
17122 cat >>conftest.
$ac_ext <<_ACEOF
17123 /* end confdefs.h. */
17124 $ac_includes_default
17136 rm -f conftest.
$ac_objext
17137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17138 (eval $ac_compile) 2>conftest.er1
17140 grep -v '^ *+' conftest.er1
>conftest.err
17142 cat conftest.err
>&5
17143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17144 (exit $ac_status); } &&
17145 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17147 (eval $ac_try) 2>&5
17149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17150 (exit $ac_status); }; } &&
17151 { ac_try
='test -s conftest.$ac_objext'
17152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17153 (eval $ac_try) 2>&5
17155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17156 (exit $ac_status); }; }; then
17157 ac_cv_type_long
=yes
17159 echo "$as_me: failed program was:" >&5
17160 sed 's/^/| /' conftest.
$ac_ext >&5
17164 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17166 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17167 echo "${ECHO_T}$ac_cv_type_long" >&6
17169 echo "$as_me:$LINENO: checking size of long" >&5
17170 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17171 if test "${ac_cv_sizeof_long+set}" = set; then
17172 echo $ECHO_N "(cached) $ECHO_C" >&6
17174 if test "$ac_cv_type_long" = yes; then
17175 # The cast to unsigned long works around a bug in the HP C Compiler
17176 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17177 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17178 # This bug is HP SR number 8606223364.
17179 if test "$cross_compiling" = yes; then
17180 # Depending upon the size, compute the lo and hi bounds.
17181 cat >conftest.
$ac_ext <<_ACEOF
17184 cat confdefs.h
>>conftest.
$ac_ext
17185 cat >>conftest.
$ac_ext <<_ACEOF
17186 /* end confdefs.h. */
17187 $ac_includes_default
17191 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17198 rm -f conftest.
$ac_objext
17199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17200 (eval $ac_compile) 2>conftest.er1
17202 grep -v '^ *+' conftest.er1
>conftest.err
17204 cat conftest.err
>&5
17205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17206 (exit $ac_status); } &&
17207 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17209 (eval $ac_try) 2>&5
17211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17212 (exit $ac_status); }; } &&
17213 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
17221 cat >conftest.
$ac_ext <<_ACEOF
17224 cat confdefs.h
>>conftest.
$ac_ext
17225 cat >>conftest.
$ac_ext <<_ACEOF
17226 /* end confdefs.h. */
17227 $ac_includes_default
17231 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17238 rm -f conftest.
$ac_objext
17239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17240 (eval $ac_compile) 2>conftest.er1
17242 grep -v '^ *+' conftest.er1
>conftest.err
17244 cat conftest.err
>&5
17245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17246 (exit $ac_status); } &&
17247 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17249 (eval $ac_try) 2>&5
17251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17252 (exit $ac_status); }; } &&
17253 { ac_try
='test -s conftest.$ac_objext'
17254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17255 (eval $ac_try) 2>&5
17257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17258 (exit $ac_status); }; }; then
17259 ac_hi
=$ac_mid; break
17261 echo "$as_me: failed program was:" >&5
17262 sed 's/^/| /' conftest.
$ac_ext >&5
17264 ac_lo
=`expr $ac_mid + 1`
17265 if test $ac_lo -le $ac_mid; then
17269 ac_mid
=`expr 2 '*' $ac_mid + 1`
17271 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17274 echo "$as_me: failed program was:" >&5
17275 sed 's/^/| /' conftest.
$ac_ext >&5
17277 cat >conftest.
$ac_ext <<_ACEOF
17280 cat confdefs.h
>>conftest.
$ac_ext
17281 cat >>conftest.
$ac_ext <<_ACEOF
17282 /* end confdefs.h. */
17283 $ac_includes_default
17287 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17294 rm -f conftest.
$ac_objext
17295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17296 (eval $ac_compile) 2>conftest.er1
17298 grep -v '^ *+' conftest.er1
>conftest.err
17300 cat conftest.err
>&5
17301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17302 (exit $ac_status); } &&
17303 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17305 (eval $ac_try) 2>&5
17307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17308 (exit $ac_status); }; } &&
17309 { ac_try
='test -s conftest.$ac_objext'
17310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17311 (eval $ac_try) 2>&5
17313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17314 (exit $ac_status); }; }; then
17317 cat >conftest.
$ac_ext <<_ACEOF
17320 cat confdefs.h
>>conftest.
$ac_ext
17321 cat >>conftest.
$ac_ext <<_ACEOF
17322 /* end confdefs.h. */
17323 $ac_includes_default
17327 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17334 rm -f conftest.
$ac_objext
17335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17336 (eval $ac_compile) 2>conftest.er1
17338 grep -v '^ *+' conftest.er1
>conftest.err
17340 cat conftest.err
>&5
17341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17342 (exit $ac_status); } &&
17343 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17345 (eval $ac_try) 2>&5
17347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17348 (exit $ac_status); }; } &&
17349 { ac_try
='test -s conftest.$ac_objext'
17350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17351 (eval $ac_try) 2>&5
17353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17354 (exit $ac_status); }; }; then
17355 ac_lo
=$ac_mid; break
17357 echo "$as_me: failed program was:" >&5
17358 sed 's/^/| /' conftest.
$ac_ext >&5
17360 ac_hi
=`expr '(' $ac_mid ')' - 1`
17361 if test $ac_mid -le $ac_hi; then
17365 ac_mid
=`expr 2 '*' $ac_mid`
17367 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17370 echo "$as_me: failed program was:" >&5
17371 sed 's/^/| /' conftest.
$ac_ext >&5
17375 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17377 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17378 # Binary search between lo and hi bounds.
17379 while test "x$ac_lo" != "x$ac_hi"; do
17380 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17381 cat >conftest.
$ac_ext <<_ACEOF
17384 cat confdefs.h
>>conftest.
$ac_ext
17385 cat >>conftest.
$ac_ext <<_ACEOF
17386 /* end confdefs.h. */
17387 $ac_includes_default
17391 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17398 rm -f conftest.
$ac_objext
17399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17400 (eval $ac_compile) 2>conftest.er1
17402 grep -v '^ *+' conftest.er1
>conftest.err
17404 cat conftest.err
>&5
17405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17406 (exit $ac_status); } &&
17407 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17409 (eval $ac_try) 2>&5
17411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17412 (exit $ac_status); }; } &&
17413 { ac_try
='test -s conftest.$ac_objext'
17414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17415 (eval $ac_try) 2>&5
17417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17418 (exit $ac_status); }; }; then
17421 echo "$as_me: failed program was:" >&5
17422 sed 's/^/| /' conftest.
$ac_ext >&5
17424 ac_lo
=`expr '(' $ac_mid ')' + 1`
17426 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17429 ?
*) ac_cv_sizeof_long
=$ac_lo;;
17430 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17431 See \`config.log' for more details." >&5
17432 echo "$as_me: error: cannot compute sizeof (long), 77
17433 See \`config.log' for more details." >&2;}
17434 { (exit 1); exit 1; }; } ;;
17437 if test "$cross_compiling" = yes; then
17438 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17439 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17440 { (exit 1); exit 1; }; }
17442 cat >conftest.
$ac_ext <<_ACEOF
17445 cat confdefs.h
>>conftest.
$ac_ext
17446 cat >>conftest.
$ac_ext <<_ACEOF
17447 /* end confdefs.h. */
17448 $ac_includes_default
17449 long longval () { return (long) (sizeof (long)); }
17450 unsigned long ulongval () { return (long) (sizeof (long)); }
17452 #include <stdlib.h>
17457 FILE *f = fopen ("conftest.val", "w");
17460 if (((long) (sizeof (long))) < 0)
17462 long i = longval ();
17463 if (i != ((long) (sizeof (long))))
17465 fprintf (f, "%ld\n", i);
17469 unsigned long i = ulongval ();
17470 if (i != ((long) (sizeof (long))))
17472 fprintf (f, "%lu\n", i);
17474 exit (ferror (f) || fclose (f) != 0);
17480 rm -f conftest
$ac_exeext
17481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17482 (eval $ac_link) 2>&5
17484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17485 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17487 (eval $ac_try) 2>&5
17489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17490 (exit $ac_status); }; }; then
17491 ac_cv_sizeof_long
=`cat conftest.val`
17493 echo "$as_me: program exited with status $ac_status" >&5
17494 echo "$as_me: failed program was:" >&5
17495 sed 's/^/| /' conftest.
$ac_ext >&5
17497 ( exit $ac_status )
17498 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17499 See \`config.log' for more details." >&5
17500 echo "$as_me: error: cannot compute sizeof (long), 77
17501 See \`config.log' for more details." >&2;}
17502 { (exit 1); exit 1; }; }
17504 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17509 ac_cv_sizeof_long
=0
17512 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17513 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17514 cat >>confdefs.h
<<_ACEOF
17515 #define SIZEOF_LONG $ac_cv_sizeof_long
17519 echo "$as_me:$LINENO: checking for size_t" >&5
17520 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17521 if test "${ac_cv_type_size_t+set}" = set; then
17522 echo $ECHO_N "(cached) $ECHO_C" >&6
17524 cat >conftest.
$ac_ext <<_ACEOF
17527 cat confdefs.h
>>conftest.
$ac_ext
17528 cat >>conftest.
$ac_ext <<_ACEOF
17529 /* end confdefs.h. */
17530 $ac_includes_default
17536 if (sizeof (size_t))
17542 rm -f conftest.
$ac_objext
17543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17544 (eval $ac_compile) 2>conftest.er1
17546 grep -v '^ *+' conftest.er1
>conftest.err
17548 cat conftest.err
>&5
17549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17550 (exit $ac_status); } &&
17551 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17553 (eval $ac_try) 2>&5
17555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17556 (exit $ac_status); }; } &&
17557 { ac_try
='test -s conftest.$ac_objext'
17558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17559 (eval $ac_try) 2>&5
17561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17562 (exit $ac_status); }; }; then
17563 ac_cv_type_size_t
=yes
17565 echo "$as_me: failed program was:" >&5
17566 sed 's/^/| /' conftest.
$ac_ext >&5
17568 ac_cv_type_size_t
=no
17570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17572 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17573 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17575 echo "$as_me:$LINENO: checking size of size_t" >&5
17576 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
17577 if test "${ac_cv_sizeof_size_t+set}" = set; then
17578 echo $ECHO_N "(cached) $ECHO_C" >&6
17580 if test "$ac_cv_type_size_t" = yes; then
17581 # The cast to unsigned long works around a bug in the HP C Compiler
17582 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17583 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17584 # This bug is HP SR number 8606223364.
17585 if test "$cross_compiling" = yes; then
17586 # Depending upon the size, compute the lo and hi bounds.
17587 cat >conftest.
$ac_ext <<_ACEOF
17590 cat confdefs.h
>>conftest.
$ac_ext
17591 cat >>conftest.
$ac_ext <<_ACEOF
17592 /* end confdefs.h. */
17593 $ac_includes_default
17597 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
17604 rm -f conftest.
$ac_objext
17605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17606 (eval $ac_compile) 2>conftest.er1
17608 grep -v '^ *+' conftest.er1
>conftest.err
17610 cat conftest.err
>&5
17611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17612 (exit $ac_status); } &&
17613 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17615 (eval $ac_try) 2>&5
17617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17618 (exit $ac_status); }; } &&
17619 { ac_try
='test -s conftest.$ac_objext'
17620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17621 (eval $ac_try) 2>&5
17623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17624 (exit $ac_status); }; }; then
17627 cat >conftest.
$ac_ext <<_ACEOF
17630 cat confdefs.h
>>conftest.
$ac_ext
17631 cat >>conftest.
$ac_ext <<_ACEOF
17632 /* end confdefs.h. */
17633 $ac_includes_default
17637 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17644 rm -f conftest.
$ac_objext
17645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17646 (eval $ac_compile) 2>conftest.er1
17648 grep -v '^ *+' conftest.er1
>conftest.err
17650 cat conftest.err
>&5
17651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17652 (exit $ac_status); } &&
17653 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17655 (eval $ac_try) 2>&5
17657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17658 (exit $ac_status); }; } &&
17659 { ac_try
='test -s conftest.$ac_objext'
17660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17661 (eval $ac_try) 2>&5
17663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17664 (exit $ac_status); }; }; then
17665 ac_hi
=$ac_mid; break
17667 echo "$as_me: failed program was:" >&5
17668 sed 's/^/| /' conftest.
$ac_ext >&5
17670 ac_lo
=`expr $ac_mid + 1`
17671 if test $ac_lo -le $ac_mid; then
17675 ac_mid
=`expr 2 '*' $ac_mid + 1`
17677 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17680 echo "$as_me: failed program was:" >&5
17681 sed 's/^/| /' conftest.
$ac_ext >&5
17683 cat >conftest.
$ac_ext <<_ACEOF
17686 cat confdefs.h
>>conftest.
$ac_ext
17687 cat >>conftest.
$ac_ext <<_ACEOF
17688 /* end confdefs.h. */
17689 $ac_includes_default
17693 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
17700 rm -f conftest.
$ac_objext
17701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17702 (eval $ac_compile) 2>conftest.er1
17704 grep -v '^ *+' conftest.er1
>conftest.err
17706 cat conftest.err
>&5
17707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17708 (exit $ac_status); } &&
17709 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17711 (eval $ac_try) 2>&5
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); }; } &&
17715 { ac_try
='test -s conftest.$ac_objext'
17716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17717 (eval $ac_try) 2>&5
17719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17720 (exit $ac_status); }; }; then
17723 cat >conftest.
$ac_ext <<_ACEOF
17726 cat confdefs.h
>>conftest.
$ac_ext
17727 cat >>conftest.
$ac_ext <<_ACEOF
17728 /* end confdefs.h. */
17729 $ac_includes_default
17733 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17740 rm -f conftest.
$ac_objext
17741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17742 (eval $ac_compile) 2>conftest.er1
17744 grep -v '^ *+' conftest.er1
>conftest.err
17746 cat conftest.err
>&5
17747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17748 (exit $ac_status); } &&
17749 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17751 (eval $ac_try) 2>&5
17753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17754 (exit $ac_status); }; } &&
17755 { ac_try
='test -s conftest.$ac_objext'
17756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17757 (eval $ac_try) 2>&5
17759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17760 (exit $ac_status); }; }; then
17761 ac_lo
=$ac_mid; break
17763 echo "$as_me: failed program was:" >&5
17764 sed 's/^/| /' conftest.
$ac_ext >&5
17766 ac_hi
=`expr '(' $ac_mid ')' - 1`
17767 if test $ac_mid -le $ac_hi; then
17771 ac_mid
=`expr 2 '*' $ac_mid`
17773 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17776 echo "$as_me: failed program was:" >&5
17777 sed 's/^/| /' conftest.
$ac_ext >&5
17781 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17783 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17784 # Binary search between lo and hi bounds.
17785 while test "x$ac_lo" != "x$ac_hi"; do
17786 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17787 cat >conftest.
$ac_ext <<_ACEOF
17790 cat confdefs.h
>>conftest.
$ac_ext
17791 cat >>conftest.
$ac_ext <<_ACEOF
17792 /* end confdefs.h. */
17793 $ac_includes_default
17797 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17804 rm -f conftest.
$ac_objext
17805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17806 (eval $ac_compile) 2>conftest.er1
17808 grep -v '^ *+' conftest.er1
>conftest.err
17810 cat conftest.err
>&5
17811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17812 (exit $ac_status); } &&
17813 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17815 (eval $ac_try) 2>&5
17817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17818 (exit $ac_status); }; } &&
17819 { ac_try
='test -s conftest.$ac_objext'
17820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17821 (eval $ac_try) 2>&5
17823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17824 (exit $ac_status); }; }; then
17827 echo "$as_me: failed program was:" >&5
17828 sed 's/^/| /' conftest.
$ac_ext >&5
17830 ac_lo
=`expr '(' $ac_mid ')' + 1`
17832 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17835 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
17836 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17837 See \`config.log' for more details." >&5
17838 echo "$as_me: error: cannot compute sizeof (size_t), 77
17839 See \`config.log' for more details." >&2;}
17840 { (exit 1); exit 1; }; } ;;
17843 if test "$cross_compiling" = yes; then
17844 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17845 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17846 { (exit 1); exit 1; }; }
17848 cat >conftest.
$ac_ext <<_ACEOF
17851 cat confdefs.h
>>conftest.
$ac_ext
17852 cat >>conftest.
$ac_ext <<_ACEOF
17853 /* end confdefs.h. */
17854 $ac_includes_default
17855 long longval () { return (long) (sizeof (size_t)); }
17856 unsigned long ulongval () { return (long) (sizeof (size_t)); }
17858 #include <stdlib.h>
17863 FILE *f = fopen ("conftest.val", "w");
17866 if (((long) (sizeof (size_t))) < 0)
17868 long i = longval ();
17869 if (i != ((long) (sizeof (size_t))))
17871 fprintf (f, "%ld\n", i);
17875 unsigned long i = ulongval ();
17876 if (i != ((long) (sizeof (size_t))))
17878 fprintf (f, "%lu\n", i);
17880 exit (ferror (f) || fclose (f) != 0);
17886 rm -f conftest
$ac_exeext
17887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17888 (eval $ac_link) 2>&5
17890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17891 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17893 (eval $ac_try) 2>&5
17895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17896 (exit $ac_status); }; }; then
17897 ac_cv_sizeof_size_t
=`cat conftest.val`
17899 echo "$as_me: program exited with status $ac_status" >&5
17900 echo "$as_me: failed program was:" >&5
17901 sed 's/^/| /' conftest.
$ac_ext >&5
17903 ( exit $ac_status )
17904 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17905 See \`config.log' for more details." >&5
17906 echo "$as_me: error: cannot compute sizeof (size_t), 77
17907 See \`config.log' for more details." >&2;}
17908 { (exit 1); exit 1; }; }
17910 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17915 ac_cv_sizeof_size_t
=0
17918 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
17919 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
17920 cat >>confdefs.h
<<_ACEOF
17921 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
17928 echo "$as_me:$LINENO: checking for long long" >&5
17929 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17930 if test "${ac_cv_type_long_long+set}" = set; then
17931 echo $ECHO_N "(cached) $ECHO_C" >&6
17933 cat >conftest.
$ac_ext <<_ACEOF
17936 cat confdefs.h
>>conftest.
$ac_ext
17937 cat >>conftest.
$ac_ext <<_ACEOF
17938 /* end confdefs.h. */
17939 $ac_includes_default
17943 if ((long long *) 0)
17945 if (sizeof (long long))
17951 rm -f conftest.
$ac_objext
17952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17953 (eval $ac_compile) 2>conftest.er1
17955 grep -v '^ *+' conftest.er1
>conftest.err
17957 cat conftest.err
>&5
17958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17959 (exit $ac_status); } &&
17960 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17962 (eval $ac_try) 2>&5
17964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17965 (exit $ac_status); }; } &&
17966 { ac_try
='test -s conftest.$ac_objext'
17967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17968 (eval $ac_try) 2>&5
17970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17971 (exit $ac_status); }; }; then
17972 ac_cv_type_long_long
=yes
17974 echo "$as_me: failed program was:" >&5
17975 sed 's/^/| /' conftest.
$ac_ext >&5
17977 ac_cv_type_long_long
=no
17979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17981 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17982 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17984 echo "$as_me:$LINENO: checking size of long long" >&5
17985 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17986 if test "${ac_cv_sizeof_long_long+set}" = set; then
17987 echo $ECHO_N "(cached) $ECHO_C" >&6
17989 if test "$ac_cv_type_long_long" = yes; then
17990 # The cast to unsigned long works around a bug in the HP C Compiler
17991 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17992 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17993 # This bug is HP SR number 8606223364.
17994 if test "$cross_compiling" = yes; then
17995 # Depending upon the size, compute the lo and hi bounds.
17996 cat >conftest.
$ac_ext <<_ACEOF
17999 cat confdefs.h
>>conftest.
$ac_ext
18000 cat >>conftest.
$ac_ext <<_ACEOF
18001 /* end confdefs.h. */
18002 $ac_includes_default
18006 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18013 rm -f conftest.
$ac_objext
18014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18015 (eval $ac_compile) 2>conftest.er1
18017 grep -v '^ *+' conftest.er1
>conftest.err
18019 cat conftest.err
>&5
18020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18021 (exit $ac_status); } &&
18022 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18024 (eval $ac_try) 2>&5
18026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18027 (exit $ac_status); }; } &&
18028 { ac_try
='test -s conftest.$ac_objext'
18029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18030 (eval $ac_try) 2>&5
18032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18033 (exit $ac_status); }; }; then
18036 cat >conftest.
$ac_ext <<_ACEOF
18039 cat confdefs.h
>>conftest.
$ac_ext
18040 cat >>conftest.
$ac_ext <<_ACEOF
18041 /* end confdefs.h. */
18042 $ac_includes_default
18046 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18053 rm -f conftest.
$ac_objext
18054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18055 (eval $ac_compile) 2>conftest.er1
18057 grep -v '^ *+' conftest.er1
>conftest.err
18059 cat conftest.err
>&5
18060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18061 (exit $ac_status); } &&
18062 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18064 (eval $ac_try) 2>&5
18066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18067 (exit $ac_status); }; } &&
18068 { ac_try
='test -s conftest.$ac_objext'
18069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18070 (eval $ac_try) 2>&5
18072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18073 (exit $ac_status); }; }; then
18074 ac_hi
=$ac_mid; break
18076 echo "$as_me: failed program was:" >&5
18077 sed 's/^/| /' conftest.
$ac_ext >&5
18079 ac_lo
=`expr $ac_mid + 1`
18080 if test $ac_lo -le $ac_mid; then
18084 ac_mid
=`expr 2 '*' $ac_mid + 1`
18086 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18089 echo "$as_me: failed program was:" >&5
18090 sed 's/^/| /' conftest.
$ac_ext >&5
18092 cat >conftest.
$ac_ext <<_ACEOF
18095 cat confdefs.h
>>conftest.
$ac_ext
18096 cat >>conftest.
$ac_ext <<_ACEOF
18097 /* end confdefs.h. */
18098 $ac_includes_default
18102 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18109 rm -f conftest.
$ac_objext
18110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18111 (eval $ac_compile) 2>conftest.er1
18113 grep -v '^ *+' conftest.er1
>conftest.err
18115 cat conftest.err
>&5
18116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18117 (exit $ac_status); } &&
18118 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18120 (eval $ac_try) 2>&5
18122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18123 (exit $ac_status); }; } &&
18124 { ac_try
='test -s conftest.$ac_objext'
18125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18126 (eval $ac_try) 2>&5
18128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18129 (exit $ac_status); }; }; then
18132 cat >conftest.
$ac_ext <<_ACEOF
18135 cat confdefs.h
>>conftest.
$ac_ext
18136 cat >>conftest.
$ac_ext <<_ACEOF
18137 /* end confdefs.h. */
18138 $ac_includes_default
18142 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18149 rm -f conftest.
$ac_objext
18150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18151 (eval $ac_compile) 2>conftest.er1
18153 grep -v '^ *+' conftest.er1
>conftest.err
18155 cat conftest.err
>&5
18156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18157 (exit $ac_status); } &&
18158 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18160 (eval $ac_try) 2>&5
18162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18163 (exit $ac_status); }; } &&
18164 { ac_try
='test -s conftest.$ac_objext'
18165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18166 (eval $ac_try) 2>&5
18168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18169 (exit $ac_status); }; }; then
18170 ac_lo
=$ac_mid; break
18172 echo "$as_me: failed program was:" >&5
18173 sed 's/^/| /' conftest.
$ac_ext >&5
18175 ac_hi
=`expr '(' $ac_mid ')' - 1`
18176 if test $ac_mid -le $ac_hi; then
18180 ac_mid
=`expr 2 '*' $ac_mid`
18182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18185 echo "$as_me: failed program was:" >&5
18186 sed 's/^/| /' conftest.
$ac_ext >&5
18190 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18193 # Binary search between lo and hi bounds.
18194 while test "x$ac_lo" != "x$ac_hi"; do
18195 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18196 cat >conftest.
$ac_ext <<_ACEOF
18199 cat confdefs.h
>>conftest.
$ac_ext
18200 cat >>conftest.
$ac_ext <<_ACEOF
18201 /* end confdefs.h. */
18202 $ac_includes_default
18206 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18213 rm -f conftest.
$ac_objext
18214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18215 (eval $ac_compile) 2>conftest.er1
18217 grep -v '^ *+' conftest.er1
>conftest.err
18219 cat conftest.err
>&5
18220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18221 (exit $ac_status); } &&
18222 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18224 (eval $ac_try) 2>&5
18226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18227 (exit $ac_status); }; } &&
18228 { ac_try
='test -s conftest.$ac_objext'
18229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18230 (eval $ac_try) 2>&5
18232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18233 (exit $ac_status); }; }; then
18236 echo "$as_me: failed program was:" >&5
18237 sed 's/^/| /' conftest.
$ac_ext >&5
18239 ac_lo
=`expr '(' $ac_mid ')' + 1`
18241 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18244 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18245 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18246 See \`config.log' for more details." >&5
18247 echo "$as_me: error: cannot compute sizeof (long long), 77
18248 See \`config.log' for more details." >&2;}
18249 { (exit 1); exit 1; }; } ;;
18252 if test "$cross_compiling" = yes; then
18253 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18254 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18255 { (exit 1); exit 1; }; }
18257 cat >conftest.
$ac_ext <<_ACEOF
18260 cat confdefs.h
>>conftest.
$ac_ext
18261 cat >>conftest.
$ac_ext <<_ACEOF
18262 /* end confdefs.h. */
18263 $ac_includes_default
18264 long longval () { return (long) (sizeof (long long)); }
18265 unsigned long ulongval () { return (long) (sizeof (long long)); }
18267 #include <stdlib.h>
18272 FILE *f = fopen ("conftest.val", "w");
18275 if (((long) (sizeof (long long))) < 0)
18277 long i = longval ();
18278 if (i != ((long) (sizeof (long long))))
18280 fprintf (f, "%ld\n", i);
18284 unsigned long i = ulongval ();
18285 if (i != ((long) (sizeof (long long))))
18287 fprintf (f, "%lu\n", i);
18289 exit (ferror (f) || fclose (f) != 0);
18295 rm -f conftest
$ac_exeext
18296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18297 (eval $ac_link) 2>&5
18299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18300 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18302 (eval $ac_try) 2>&5
18304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18305 (exit $ac_status); }; }; then
18306 ac_cv_sizeof_long_long
=`cat conftest.val`
18308 echo "$as_me: program exited with status $ac_status" >&5
18309 echo "$as_me: failed program was:" >&5
18310 sed 's/^/| /' conftest.
$ac_ext >&5
18312 ( exit $ac_status )
18313 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18314 See \`config.log' for more details." >&5
18315 echo "$as_me: error: cannot compute sizeof (long long), 77
18316 See \`config.log' for more details." >&2;}
18317 { (exit 1); exit 1; }; }
18319 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18324 ac_cv_sizeof_long_long
=0
18327 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18328 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18329 cat >>confdefs.h
<<_ACEOF
18330 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18336 echo "$as_me:$LINENO: checking for long long" >&5
18337 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18338 if test "${ac_cv_type_long_long+set}" = set; then
18339 echo $ECHO_N "(cached) $ECHO_C" >&6
18341 cat >conftest.
$ac_ext <<_ACEOF
18344 cat confdefs.h
>>conftest.
$ac_ext
18345 cat >>conftest.
$ac_ext <<_ACEOF
18346 /* end confdefs.h. */
18347 $ac_includes_default
18351 if ((long long *) 0)
18353 if (sizeof (long long))
18359 rm -f conftest.
$ac_objext
18360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18361 (eval $ac_compile) 2>conftest.er1
18363 grep -v '^ *+' conftest.er1
>conftest.err
18365 cat conftest.err
>&5
18366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18367 (exit $ac_status); } &&
18368 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18370 (eval $ac_try) 2>&5
18372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18373 (exit $ac_status); }; } &&
18374 { ac_try
='test -s conftest.$ac_objext'
18375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18376 (eval $ac_try) 2>&5
18378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18379 (exit $ac_status); }; }; then
18380 ac_cv_type_long_long
=yes
18382 echo "$as_me: failed program was:" >&5
18383 sed 's/^/| /' conftest.
$ac_ext >&5
18385 ac_cv_type_long_long
=no
18387 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18389 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18390 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18392 echo "$as_me:$LINENO: checking size of long long" >&5
18393 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18394 if test "${ac_cv_sizeof_long_long+set}" = set; then
18395 echo $ECHO_N "(cached) $ECHO_C" >&6
18397 if test "$ac_cv_type_long_long" = yes; then
18398 # The cast to unsigned long works around a bug in the HP C Compiler
18399 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18400 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18401 # This bug is HP SR number 8606223364.
18402 if test "$cross_compiling" = yes; then
18403 # Depending upon the size, compute the lo and hi bounds.
18404 cat >conftest.
$ac_ext <<_ACEOF
18407 cat confdefs.h
>>conftest.
$ac_ext
18408 cat >>conftest.
$ac_ext <<_ACEOF
18409 /* end confdefs.h. */
18410 $ac_includes_default
18414 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18421 rm -f conftest.
$ac_objext
18422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18423 (eval $ac_compile) 2>conftest.er1
18425 grep -v '^ *+' conftest.er1
>conftest.err
18427 cat conftest.err
>&5
18428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18429 (exit $ac_status); } &&
18430 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18432 (eval $ac_try) 2>&5
18434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18435 (exit $ac_status); }; } &&
18436 { ac_try
='test -s conftest.$ac_objext'
18437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18438 (eval $ac_try) 2>&5
18440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18441 (exit $ac_status); }; }; then
18444 cat >conftest.
$ac_ext <<_ACEOF
18447 cat confdefs.h
>>conftest.
$ac_ext
18448 cat >>conftest.
$ac_ext <<_ACEOF
18449 /* end confdefs.h. */
18450 $ac_includes_default
18454 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18461 rm -f conftest.
$ac_objext
18462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18463 (eval $ac_compile) 2>conftest.er1
18465 grep -v '^ *+' conftest.er1
>conftest.err
18467 cat conftest.err
>&5
18468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18469 (exit $ac_status); } &&
18470 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18472 (eval $ac_try) 2>&5
18474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18475 (exit $ac_status); }; } &&
18476 { ac_try
='test -s conftest.$ac_objext'
18477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18478 (eval $ac_try) 2>&5
18480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18481 (exit $ac_status); }; }; then
18482 ac_hi
=$ac_mid; break
18484 echo "$as_me: failed program was:" >&5
18485 sed 's/^/| /' conftest.
$ac_ext >&5
18487 ac_lo
=`expr $ac_mid + 1`
18488 if test $ac_lo -le $ac_mid; then
18492 ac_mid
=`expr 2 '*' $ac_mid + 1`
18494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18497 echo "$as_me: failed program was:" >&5
18498 sed 's/^/| /' conftest.
$ac_ext >&5
18500 cat >conftest.
$ac_ext <<_ACEOF
18503 cat confdefs.h
>>conftest.
$ac_ext
18504 cat >>conftest.
$ac_ext <<_ACEOF
18505 /* end confdefs.h. */
18506 $ac_includes_default
18510 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18517 rm -f conftest.
$ac_objext
18518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18519 (eval $ac_compile) 2>conftest.er1
18521 grep -v '^ *+' conftest.er1
>conftest.err
18523 cat conftest.err
>&5
18524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525 (exit $ac_status); } &&
18526 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18528 (eval $ac_try) 2>&5
18530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18531 (exit $ac_status); }; } &&
18532 { ac_try
='test -s conftest.$ac_objext'
18533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18534 (eval $ac_try) 2>&5
18536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18537 (exit $ac_status); }; }; then
18540 cat >conftest.
$ac_ext <<_ACEOF
18543 cat confdefs.h
>>conftest.
$ac_ext
18544 cat >>conftest.
$ac_ext <<_ACEOF
18545 /* end confdefs.h. */
18546 $ac_includes_default
18550 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18557 rm -f conftest.
$ac_objext
18558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18559 (eval $ac_compile) 2>conftest.er1
18561 grep -v '^ *+' conftest.er1
>conftest.err
18563 cat conftest.err
>&5
18564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18565 (exit $ac_status); } &&
18566 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18568 (eval $ac_try) 2>&5
18570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18571 (exit $ac_status); }; } &&
18572 { ac_try
='test -s conftest.$ac_objext'
18573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18574 (eval $ac_try) 2>&5
18576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18577 (exit $ac_status); }; }; then
18578 ac_lo
=$ac_mid; break
18580 echo "$as_me: failed program was:" >&5
18581 sed 's/^/| /' conftest.
$ac_ext >&5
18583 ac_hi
=`expr '(' $ac_mid ')' - 1`
18584 if test $ac_mid -le $ac_hi; then
18588 ac_mid
=`expr 2 '*' $ac_mid`
18590 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18593 echo "$as_me: failed program was:" >&5
18594 sed 's/^/| /' conftest.
$ac_ext >&5
18598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18601 # Binary search between lo and hi bounds.
18602 while test "x$ac_lo" != "x$ac_hi"; do
18603 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18604 cat >conftest.
$ac_ext <<_ACEOF
18607 cat confdefs.h
>>conftest.
$ac_ext
18608 cat >>conftest.
$ac_ext <<_ACEOF
18609 /* end confdefs.h. */
18610 $ac_includes_default
18614 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18621 rm -f conftest.
$ac_objext
18622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18623 (eval $ac_compile) 2>conftest.er1
18625 grep -v '^ *+' conftest.er1
>conftest.err
18627 cat conftest.err
>&5
18628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18629 (exit $ac_status); } &&
18630 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18632 (eval $ac_try) 2>&5
18634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18635 (exit $ac_status); }; } &&
18636 { ac_try
='test -s conftest.$ac_objext'
18637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18638 (eval $ac_try) 2>&5
18640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18641 (exit $ac_status); }; }; then
18644 echo "$as_me: failed program was:" >&5
18645 sed 's/^/| /' conftest.
$ac_ext >&5
18647 ac_lo
=`expr '(' $ac_mid ')' + 1`
18649 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18652 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18653 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18654 See \`config.log' for more details." >&5
18655 echo "$as_me: error: cannot compute sizeof (long long), 77
18656 See \`config.log' for more details." >&2;}
18657 { (exit 1); exit 1; }; } ;;
18660 if test "$cross_compiling" = yes; then
18661 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18662 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18663 { (exit 1); exit 1; }; }
18665 cat >conftest.
$ac_ext <<_ACEOF
18668 cat confdefs.h
>>conftest.
$ac_ext
18669 cat >>conftest.
$ac_ext <<_ACEOF
18670 /* end confdefs.h. */
18671 $ac_includes_default
18672 long longval () { return (long) (sizeof (long long)); }
18673 unsigned long ulongval () { return (long) (sizeof (long long)); }
18675 #include <stdlib.h>
18680 FILE *f = fopen ("conftest.val", "w");
18683 if (((long) (sizeof (long long))) < 0)
18685 long i = longval ();
18686 if (i != ((long) (sizeof (long long))))
18688 fprintf (f, "%ld\n", i);
18692 unsigned long i = ulongval ();
18693 if (i != ((long) (sizeof (long long))))
18695 fprintf (f, "%lu\n", i);
18697 exit (ferror (f) || fclose (f) != 0);
18703 rm -f conftest
$ac_exeext
18704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18705 (eval $ac_link) 2>&5
18707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18708 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18710 (eval $ac_try) 2>&5
18712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18713 (exit $ac_status); }; }; then
18714 ac_cv_sizeof_long_long
=`cat conftest.val`
18716 echo "$as_me: program exited with status $ac_status" >&5
18717 echo "$as_me: failed program was:" >&5
18718 sed 's/^/| /' conftest.
$ac_ext >&5
18720 ( exit $ac_status )
18721 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18722 See \`config.log' for more details." >&5
18723 echo "$as_me: error: cannot compute sizeof (long long), 77
18724 See \`config.log' for more details." >&2;}
18725 { (exit 1); exit 1; }; }
18727 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18732 ac_cv_sizeof_long_long
=0
18735 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18736 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18737 cat >>confdefs.h
<<_ACEOF
18738 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18742 if test "$ac_cv_sizeof_long_long" != "0"; then
18743 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
18747 echo "$as_me:$LINENO: checking for long long" >&5
18748 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18749 if test "${ac_cv_type_long_long+set}" = set; then
18750 echo $ECHO_N "(cached) $ECHO_C" >&6
18752 cat >conftest.
$ac_ext <<_ACEOF
18755 cat confdefs.h
>>conftest.
$ac_ext
18756 cat >>conftest.
$ac_ext <<_ACEOF
18757 /* end confdefs.h. */
18758 $ac_includes_default
18762 if ((long long *) 0)
18764 if (sizeof (long long))
18770 rm -f conftest.
$ac_objext
18771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18772 (eval $ac_compile) 2>conftest.er1
18774 grep -v '^ *+' conftest.er1
>conftest.err
18776 cat conftest.err
>&5
18777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18778 (exit $ac_status); } &&
18779 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18781 (eval $ac_try) 2>&5
18783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18784 (exit $ac_status); }; } &&
18785 { ac_try
='test -s conftest.$ac_objext'
18786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18787 (eval $ac_try) 2>&5
18789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18790 (exit $ac_status); }; }; then
18791 ac_cv_type_long_long
=yes
18793 echo "$as_me: failed program was:" >&5
18794 sed 's/^/| /' conftest.
$ac_ext >&5
18796 ac_cv_type_long_long
=no
18798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18800 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18801 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18803 echo "$as_me:$LINENO: checking size of long long" >&5
18804 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18805 if test "${ac_cv_sizeof_long_long+set}" = set; then
18806 echo $ECHO_N "(cached) $ECHO_C" >&6
18808 if test "$ac_cv_type_long_long" = yes; then
18809 # The cast to unsigned long works around a bug in the HP C Compiler
18810 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18811 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18812 # This bug is HP SR number 8606223364.
18813 if test "$cross_compiling" = yes; then
18814 # Depending upon the size, compute the lo and hi bounds.
18815 cat >conftest.
$ac_ext <<_ACEOF
18818 cat confdefs.h
>>conftest.
$ac_ext
18819 cat >>conftest.
$ac_ext <<_ACEOF
18820 /* end confdefs.h. */
18821 $ac_includes_default
18825 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18832 rm -f conftest.
$ac_objext
18833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18834 (eval $ac_compile) 2>conftest.er1
18836 grep -v '^ *+' conftest.er1
>conftest.err
18838 cat conftest.err
>&5
18839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18840 (exit $ac_status); } &&
18841 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18843 (eval $ac_try) 2>&5
18845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18846 (exit $ac_status); }; } &&
18847 { ac_try
='test -s conftest.$ac_objext'
18848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18849 (eval $ac_try) 2>&5
18851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18852 (exit $ac_status); }; }; then
18855 cat >conftest.
$ac_ext <<_ACEOF
18858 cat confdefs.h
>>conftest.
$ac_ext
18859 cat >>conftest.
$ac_ext <<_ACEOF
18860 /* end confdefs.h. */
18861 $ac_includes_default
18865 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18872 rm -f conftest.
$ac_objext
18873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18874 (eval $ac_compile) 2>conftest.er1
18876 grep -v '^ *+' conftest.er1
>conftest.err
18878 cat conftest.err
>&5
18879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18880 (exit $ac_status); } &&
18881 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18883 (eval $ac_try) 2>&5
18885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18886 (exit $ac_status); }; } &&
18887 { ac_try
='test -s conftest.$ac_objext'
18888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18889 (eval $ac_try) 2>&5
18891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18892 (exit $ac_status); }; }; then
18893 ac_hi
=$ac_mid; break
18895 echo "$as_me: failed program was:" >&5
18896 sed 's/^/| /' conftest.
$ac_ext >&5
18898 ac_lo
=`expr $ac_mid + 1`
18899 if test $ac_lo -le $ac_mid; then
18903 ac_mid
=`expr 2 '*' $ac_mid + 1`
18905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18908 echo "$as_me: failed program was:" >&5
18909 sed 's/^/| /' conftest.
$ac_ext >&5
18911 cat >conftest.
$ac_ext <<_ACEOF
18914 cat confdefs.h
>>conftest.
$ac_ext
18915 cat >>conftest.
$ac_ext <<_ACEOF
18916 /* end confdefs.h. */
18917 $ac_includes_default
18921 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18928 rm -f conftest.
$ac_objext
18929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18930 (eval $ac_compile) 2>conftest.er1
18932 grep -v '^ *+' conftest.er1
>conftest.err
18934 cat conftest.err
>&5
18935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18936 (exit $ac_status); } &&
18937 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18939 (eval $ac_try) 2>&5
18941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18942 (exit $ac_status); }; } &&
18943 { ac_try
='test -s conftest.$ac_objext'
18944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18945 (eval $ac_try) 2>&5
18947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18948 (exit $ac_status); }; }; then
18951 cat >conftest.
$ac_ext <<_ACEOF
18954 cat confdefs.h
>>conftest.
$ac_ext
18955 cat >>conftest.
$ac_ext <<_ACEOF
18956 /* end confdefs.h. */
18957 $ac_includes_default
18961 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18968 rm -f conftest.
$ac_objext
18969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18970 (eval $ac_compile) 2>conftest.er1
18972 grep -v '^ *+' conftest.er1
>conftest.err
18974 cat conftest.err
>&5
18975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18976 (exit $ac_status); } &&
18977 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18979 (eval $ac_try) 2>&5
18981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18982 (exit $ac_status); }; } &&
18983 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
18989 ac_lo
=$ac_mid; break
18991 echo "$as_me: failed program was:" >&5
18992 sed 's/^/| /' conftest.
$ac_ext >&5
18994 ac_hi
=`expr '(' $ac_mid ')' - 1`
18995 if test $ac_mid -le $ac_hi; then
18999 ac_mid
=`expr 2 '*' $ac_mid`
19001 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19004 echo "$as_me: failed program was:" >&5
19005 sed 's/^/| /' conftest.
$ac_ext >&5
19009 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19011 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19012 # Binary search between lo and hi bounds.
19013 while test "x$ac_lo" != "x$ac_hi"; do
19014 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19015 cat >conftest.
$ac_ext <<_ACEOF
19018 cat confdefs.h
>>conftest.
$ac_ext
19019 cat >>conftest.
$ac_ext <<_ACEOF
19020 /* end confdefs.h. */
19021 $ac_includes_default
19025 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19032 rm -f conftest.
$ac_objext
19033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19034 (eval $ac_compile) 2>conftest.er1
19036 grep -v '^ *+' conftest.er1
>conftest.err
19038 cat conftest.err
>&5
19039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19040 (exit $ac_status); } &&
19041 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19043 (eval $ac_try) 2>&5
19045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19046 (exit $ac_status); }; } &&
19047 { ac_try
='test -s conftest.$ac_objext'
19048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19049 (eval $ac_try) 2>&5
19051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19052 (exit $ac_status); }; }; then
19055 echo "$as_me: failed program was:" >&5
19056 sed 's/^/| /' conftest.
$ac_ext >&5
19058 ac_lo
=`expr '(' $ac_mid ')' + 1`
19060 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19063 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19064 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19065 See \`config.log' for more details." >&5
19066 echo "$as_me: error: cannot compute sizeof (long long), 77
19067 See \`config.log' for more details." >&2;}
19068 { (exit 1); exit 1; }; } ;;
19071 if test "$cross_compiling" = yes; then
19072 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19073 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19074 { (exit 1); exit 1; }; }
19076 cat >conftest.
$ac_ext <<_ACEOF
19079 cat confdefs.h
>>conftest.
$ac_ext
19080 cat >>conftest.
$ac_ext <<_ACEOF
19081 /* end confdefs.h. */
19082 $ac_includes_default
19083 long longval () { return (long) (sizeof (long long)); }
19084 unsigned long ulongval () { return (long) (sizeof (long long)); }
19086 #include <stdlib.h>
19091 FILE *f = fopen ("conftest.val", "w");
19094 if (((long) (sizeof (long long))) < 0)
19096 long i = longval ();
19097 if (i != ((long) (sizeof (long long))))
19099 fprintf (f, "%ld\n", i);
19103 unsigned long i = ulongval ();
19104 if (i != ((long) (sizeof (long long))))
19106 fprintf (f, "%lu\n", i);
19108 exit (ferror (f) || fclose (f) != 0);
19114 rm -f conftest
$ac_exeext
19115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19116 (eval $ac_link) 2>&5
19118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19119 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19121 (eval $ac_try) 2>&5
19123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19124 (exit $ac_status); }; }; then
19125 ac_cv_sizeof_long_long
=`cat conftest.val`
19127 echo "$as_me: program exited with status $ac_status" >&5
19128 echo "$as_me: failed program was:" >&5
19129 sed 's/^/| /' conftest.
$ac_ext >&5
19131 ( exit $ac_status )
19132 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19133 See \`config.log' for more details." >&5
19134 echo "$as_me: error: cannot compute sizeof (long long), 77
19135 See \`config.log' for more details." >&2;}
19136 { (exit 1); exit 1; }; }
19138 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19143 ac_cv_sizeof_long_long
=0
19146 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19147 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19148 cat >>confdefs.h
<<_ACEOF
19149 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19155 echo "$as_me:$LINENO: checking for wchar_t" >&5
19156 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
19157 if test "${ac_cv_type_wchar_t+set}" = set; then
19158 echo $ECHO_N "(cached) $ECHO_C" >&6
19160 cat >conftest.
$ac_ext <<_ACEOF
19163 cat confdefs.h
>>conftest.
$ac_ext
19164 cat >>conftest.
$ac_ext <<_ACEOF
19165 /* end confdefs.h. */
19167 /* DJGPP only has fake wchar_t: */
19169 # error "fake wchar_t"
19171 #ifdef HAVE_WCHAR_H
19173 # include <stddef.h>
19175 # include <wchar.h>
19177 #ifdef HAVE_STDLIB_H
19178 # include <stdlib.h>
19189 if (sizeof (wchar_t))
19195 rm -f conftest.
$ac_objext
19196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19197 (eval $ac_compile) 2>conftest.er1
19199 grep -v '^ *+' conftest.er1
>conftest.err
19201 cat conftest.err
>&5
19202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19203 (exit $ac_status); } &&
19204 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19206 (eval $ac_try) 2>&5
19208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19209 (exit $ac_status); }; } &&
19210 { ac_try
='test -s conftest.$ac_objext'
19211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19212 (eval $ac_try) 2>&5
19214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19215 (exit $ac_status); }; }; then
19216 ac_cv_type_wchar_t
=yes
19218 echo "$as_me: failed program was:" >&5
19219 sed 's/^/| /' conftest.
$ac_ext >&5
19221 ac_cv_type_wchar_t
=no
19223 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19225 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
19226 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
19228 echo "$as_me:$LINENO: checking size of wchar_t" >&5
19229 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
19230 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
19231 echo $ECHO_N "(cached) $ECHO_C" >&6
19233 if test "$ac_cv_type_wchar_t" = yes; then
19234 # The cast to unsigned long works around a bug in the HP C Compiler
19235 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19236 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19237 # This bug is HP SR number 8606223364.
19238 if test "$cross_compiling" = yes; then
19239 # Depending upon the size, compute the lo and hi bounds.
19240 cat >conftest.
$ac_ext <<_ACEOF
19243 cat confdefs.h
>>conftest.
$ac_ext
19244 cat >>conftest.
$ac_ext <<_ACEOF
19245 /* end confdefs.h. */
19247 /* DJGPP only has fake wchar_t: */
19249 # error "fake wchar_t"
19251 #ifdef HAVE_WCHAR_H
19253 # include <stddef.h>
19255 # include <wchar.h>
19257 #ifdef HAVE_STDLIB_H
19258 # include <stdlib.h>
19267 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
19274 rm -f conftest.
$ac_objext
19275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19276 (eval $ac_compile) 2>conftest.er1
19278 grep -v '^ *+' conftest.er1
>conftest.err
19280 cat conftest.err
>&5
19281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19282 (exit $ac_status); } &&
19283 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19285 (eval $ac_try) 2>&5
19287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19288 (exit $ac_status); }; } &&
19289 { ac_try
='test -s conftest.$ac_objext'
19290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19291 (eval $ac_try) 2>&5
19293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19294 (exit $ac_status); }; }; then
19297 cat >conftest.
$ac_ext <<_ACEOF
19300 cat confdefs.h
>>conftest.
$ac_ext
19301 cat >>conftest.
$ac_ext <<_ACEOF
19302 /* end confdefs.h. */
19304 /* DJGPP only has fake wchar_t: */
19306 # error "fake wchar_t"
19308 #ifdef HAVE_WCHAR_H
19310 # include <stddef.h>
19312 # include <wchar.h>
19314 #ifdef HAVE_STDLIB_H
19315 # include <stdlib.h>
19324 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19331 rm -f conftest.
$ac_objext
19332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19333 (eval $ac_compile) 2>conftest.er1
19335 grep -v '^ *+' conftest.er1
>conftest.err
19337 cat conftest.err
>&5
19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 (exit $ac_status); } &&
19340 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19342 (eval $ac_try) 2>&5
19344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 (exit $ac_status); }; } &&
19346 { ac_try
='test -s conftest.$ac_objext'
19347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19348 (eval $ac_try) 2>&5
19350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19351 (exit $ac_status); }; }; then
19352 ac_hi
=$ac_mid; break
19354 echo "$as_me: failed program was:" >&5
19355 sed 's/^/| /' conftest.
$ac_ext >&5
19357 ac_lo
=`expr $ac_mid + 1`
19358 if test $ac_lo -le $ac_mid; then
19362 ac_mid
=`expr 2 '*' $ac_mid + 1`
19364 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19367 echo "$as_me: failed program was:" >&5
19368 sed 's/^/| /' conftest.
$ac_ext >&5
19370 cat >conftest.
$ac_ext <<_ACEOF
19373 cat confdefs.h
>>conftest.
$ac_ext
19374 cat >>conftest.
$ac_ext <<_ACEOF
19375 /* end confdefs.h. */
19377 /* DJGPP only has fake wchar_t: */
19379 # error "fake wchar_t"
19381 #ifdef HAVE_WCHAR_H
19383 # include <stddef.h>
19385 # include <wchar.h>
19387 #ifdef HAVE_STDLIB_H
19388 # include <stdlib.h>
19397 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
19404 rm -f conftest.
$ac_objext
19405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19406 (eval $ac_compile) 2>conftest.er1
19408 grep -v '^ *+' conftest.er1
>conftest.err
19410 cat conftest.err
>&5
19411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19412 (exit $ac_status); } &&
19413 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19415 (eval $ac_try) 2>&5
19417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19418 (exit $ac_status); }; } &&
19419 { ac_try
='test -s conftest.$ac_objext'
19420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19421 (eval $ac_try) 2>&5
19423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19424 (exit $ac_status); }; }; then
19427 cat >conftest.
$ac_ext <<_ACEOF
19430 cat confdefs.h
>>conftest.
$ac_ext
19431 cat >>conftest.
$ac_ext <<_ACEOF
19432 /* end confdefs.h. */
19434 /* DJGPP only has fake wchar_t: */
19436 # error "fake wchar_t"
19438 #ifdef HAVE_WCHAR_H
19440 # include <stddef.h>
19442 # include <wchar.h>
19444 #ifdef HAVE_STDLIB_H
19445 # include <stdlib.h>
19454 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
19461 rm -f conftest.
$ac_objext
19462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19463 (eval $ac_compile) 2>conftest.er1
19465 grep -v '^ *+' conftest.er1
>conftest.err
19467 cat conftest.err
>&5
19468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19469 (exit $ac_status); } &&
19470 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19472 (eval $ac_try) 2>&5
19474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19475 (exit $ac_status); }; } &&
19476 { ac_try
='test -s conftest.$ac_objext'
19477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19478 (eval $ac_try) 2>&5
19480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19481 (exit $ac_status); }; }; then
19482 ac_lo
=$ac_mid; break
19484 echo "$as_me: failed program was:" >&5
19485 sed 's/^/| /' conftest.
$ac_ext >&5
19487 ac_hi
=`expr '(' $ac_mid ')' - 1`
19488 if test $ac_mid -le $ac_hi; then
19492 ac_mid
=`expr 2 '*' $ac_mid`
19494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19497 echo "$as_me: failed program was:" >&5
19498 sed 's/^/| /' conftest.
$ac_ext >&5
19502 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19504 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19505 # Binary search between lo and hi bounds.
19506 while test "x$ac_lo" != "x$ac_hi"; do
19507 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19508 cat >conftest.
$ac_ext <<_ACEOF
19511 cat confdefs.h
>>conftest.
$ac_ext
19512 cat >>conftest.
$ac_ext <<_ACEOF
19513 /* end confdefs.h. */
19515 /* DJGPP only has fake wchar_t: */
19517 # error "fake wchar_t"
19519 #ifdef HAVE_WCHAR_H
19521 # include <stddef.h>
19523 # include <wchar.h>
19525 #ifdef HAVE_STDLIB_H
19526 # include <stdlib.h>
19535 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19542 rm -f conftest.
$ac_objext
19543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19544 (eval $ac_compile) 2>conftest.er1
19546 grep -v '^ *+' conftest.er1
>conftest.err
19548 cat conftest.err
>&5
19549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19550 (exit $ac_status); } &&
19551 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19553 (eval $ac_try) 2>&5
19555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19556 (exit $ac_status); }; } &&
19557 { ac_try
='test -s conftest.$ac_objext'
19558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19559 (eval $ac_try) 2>&5
19561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19562 (exit $ac_status); }; }; then
19565 echo "$as_me: failed program was:" >&5
19566 sed 's/^/| /' conftest.
$ac_ext >&5
19568 ac_lo
=`expr '(' $ac_mid ')' + 1`
19570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19573 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
19574 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19575 See \`config.log' for more details." >&5
19576 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19577 See \`config.log' for more details." >&2;}
19578 { (exit 1); exit 1; }; } ;;
19581 if test "$cross_compiling" = yes; then
19582 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19583 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19584 { (exit 1); exit 1; }; }
19586 cat >conftest.
$ac_ext <<_ACEOF
19589 cat confdefs.h
>>conftest.
$ac_ext
19590 cat >>conftest.
$ac_ext <<_ACEOF
19591 /* end confdefs.h. */
19593 /* DJGPP only has fake wchar_t: */
19595 # error "fake wchar_t"
19597 #ifdef HAVE_WCHAR_H
19599 # include <stddef.h>
19601 # include <wchar.h>
19603 #ifdef HAVE_STDLIB_H
19604 # include <stdlib.h>
19610 long longval () { return (long) (sizeof (wchar_t)); }
19611 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
19613 #include <stdlib.h>
19618 FILE *f = fopen ("conftest.val", "w");
19621 if (((long) (sizeof (wchar_t))) < 0)
19623 long i = longval ();
19624 if (i != ((long) (sizeof (wchar_t))))
19626 fprintf (f, "%ld\n", i);
19630 unsigned long i = ulongval ();
19631 if (i != ((long) (sizeof (wchar_t))))
19633 fprintf (f, "%lu\n", i);
19635 exit (ferror (f) || fclose (f) != 0);
19641 rm -f conftest
$ac_exeext
19642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19643 (eval $ac_link) 2>&5
19645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19646 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19648 (eval $ac_try) 2>&5
19650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19651 (exit $ac_status); }; }; then
19652 ac_cv_sizeof_wchar_t
=`cat conftest.val`
19654 echo "$as_me: program exited with status $ac_status" >&5
19655 echo "$as_me: failed program was:" >&5
19656 sed 's/^/| /' conftest.
$ac_ext >&5
19658 ( exit $ac_status )
19659 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19660 See \`config.log' for more details." >&5
19661 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19662 See \`config.log' for more details." >&2;}
19663 { (exit 1); exit 1; }; }
19665 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19670 ac_cv_sizeof_wchar_t
=0
19673 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
19674 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
19675 cat >>confdefs.h
<<_ACEOF
19676 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
19680 if test "$ac_cv_sizeof_wchar_t" != "0"; then
19686 echo "$as_me:$LINENO: checking for va_copy" >&5
19687 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
19688 if test "${wx_cv_func_va_copy+set}" = set; then
19689 echo $ECHO_N "(cached) $ECHO_C" >&6
19692 cat >conftest.
$ac_ext <<_ACEOF
19694 #include <stdarg.h>
19695 void foo(char *f, ...)
19709 rm -f conftest.
$ac_objext conftest
$ac_exeext
19710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19711 (eval $ac_link) 2>conftest.er1
19713 grep -v '^ *+' conftest.er1
>conftest.err
19715 cat conftest.err
>&5
19716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19717 (exit $ac_status); } &&
19718 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19720 (eval $ac_try) 2>&5
19722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19723 (exit $ac_status); }; } &&
19724 { ac_try
='test -s conftest$ac_exeext'
19725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19726 (eval $ac_try) 2>&5
19728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19729 (exit $ac_status); }; }; then
19730 wx_cv_func_va_copy
=yes
19732 echo "$as_me: failed program was:" >&5
19733 sed 's/^/| /' conftest.
$ac_ext >&5
19735 wx_cv_func_va_copy
=no
19738 rm -f conftest.err conftest.
$ac_objext \
19739 conftest
$ac_exeext conftest.
$ac_ext
19743 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
19744 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
19746 if test $wx_cv_func_va_copy = "yes"; then
19747 cat >>confdefs.h
<<\_ACEOF
19748 #define HAVE_VA_COPY 1
19752 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
19753 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
19754 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
19755 echo $ECHO_N "(cached) $ECHO_C" >&6
19758 if test "$cross_compiling" = yes; then
19759 wx_cv_type_va_list_lvalue
=yes
19762 cat >conftest.
$ac_ext <<_ACEOF
19764 #include <stdarg.h>
19765 int foo(char *f, ...)
19770 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
19778 return foo("hi", 17);
19781 rm -f conftest
$ac_exeext
19782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19783 (eval $ac_link) 2>&5
19785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19786 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19788 (eval $ac_try) 2>&5
19790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19791 (exit $ac_status); }; }; then
19792 wx_cv_type_va_list_lvalue
=yes
19794 echo "$as_me: program exited with status $ac_status" >&5
19795 echo "$as_me: failed program was:" >&5
19796 sed 's/^/| /' conftest.
$ac_ext >&5
19798 ( exit $ac_status )
19799 wx_cv_type_va_list_lvalue
=no
19801 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19806 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
19807 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
19809 if test $wx_cv_type_va_list_lvalue != "yes"; then
19810 cat >>confdefs.h
<<\_ACEOF
19811 #define VA_LIST_IS_ARRAY 1
19817 # Check whether --enable-largefile or --disable-largefile was given.
19818 if test "${enable_largefile+set}" = set; then
19819 enableval
="$enable_largefile"
19822 if test "$enable_largefile" != no
; then
19825 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
19826 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
19827 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
19828 echo $ECHO_N "(cached) $ECHO_C" >&6
19831 cat >conftest.
$ac_ext <<_ACEOF
19834 cat confdefs.h
>>conftest.
$ac_ext
19835 cat >>conftest.
$ac_ext <<_ACEOF
19836 /* end confdefs.h. */
19837 #define _FILE_OFFSET_BITS 64
19838 #include <sys/types.h>
19843 unsigned int field: sizeof(off_t) == 8;
19850 rm -f conftest.
$ac_objext
19851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19852 (eval $ac_compile) 2>conftest.er1
19854 grep -v '^ *+' conftest.er1
>conftest.err
19856 cat conftest.err
>&5
19857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19858 (exit $ac_status); } &&
19859 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19861 (eval $ac_try) 2>&5
19863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19864 (exit $ac_status); }; } &&
19865 { ac_try
='test -s conftest.$ac_objext'
19866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19867 (eval $ac_try) 2>&5
19869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19870 (exit $ac_status); }; }; then
19871 ac_cv_sys_file_offset_bits
=64
19873 echo "$as_me: failed program was:" >&5
19874 sed 's/^/| /' conftest.
$ac_ext >&5
19876 ac_cv_sys_file_offset_bits
=no
19878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19882 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
19883 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
19885 if test "$ac_cv_sys_file_offset_bits" != no
; then
19887 cat >>confdefs.h
<<_ACEOF
19888 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
19893 if test "x$wx_largefile" != "xyes"; then
19895 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
19896 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
19897 if test "${ac_cv_sys_large_files+set}" = set; then
19898 echo $ECHO_N "(cached) $ECHO_C" >&6
19901 cat >conftest.
$ac_ext <<_ACEOF
19904 cat confdefs.h
>>conftest.
$ac_ext
19905 cat >>conftest.
$ac_ext <<_ACEOF
19906 /* end confdefs.h. */
19907 #define _LARGE_FILES 1
19908 #include <sys/types.h>
19913 unsigned int field: sizeof(off_t) == 8;
19920 rm -f conftest.
$ac_objext
19921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19922 (eval $ac_compile) 2>conftest.er1
19924 grep -v '^ *+' conftest.er1
>conftest.err
19926 cat conftest.err
>&5
19927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19928 (exit $ac_status); } &&
19929 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19931 (eval $ac_try) 2>&5
19933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19934 (exit $ac_status); }; } &&
19935 { ac_try
='test -s conftest.$ac_objext'
19936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19937 (eval $ac_try) 2>&5
19939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19940 (exit $ac_status); }; }; then
19941 ac_cv_sys_large_files
=1
19943 echo "$as_me: failed program was:" >&5
19944 sed 's/^/| /' conftest.
$ac_ext >&5
19946 ac_cv_sys_large_files
=no
19948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19952 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
19953 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
19955 if test "$ac_cv_sys_large_files" != no
; then
19957 cat >>confdefs.h
<<_ACEOF
19958 #define _LARGE_FILES $ac_cv_sys_large_files
19965 echo "$as_me:$LINENO: checking if large file support is available" >&5
19966 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
19967 if test "x$wx_largefile" = "xyes"; then
19968 cat >>confdefs.h
<<\_ACEOF
19969 #define HAVE_LARGEFILE_SUPPORT 1
19973 echo "$as_me:$LINENO: result: $wx_largefile" >&5
19974 echo "${ECHO_T}$wx_largefile" >&6
19978 if test "x$wx_largefile" = "xyes"; then
19979 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
19980 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
19982 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
19984 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
19985 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
19986 if test "${ac_cv_sys_largefile_source+set}" = set; then
19987 echo $ECHO_N "(cached) $ECHO_C" >&6
19990 ac_cv_sys_largefile_source
=no
19991 cat >conftest.
$ac_ext <<_ACEOF
19994 cat confdefs.h
>>conftest.
$ac_ext
19995 cat >>conftest.
$ac_ext <<_ACEOF
19996 /* end confdefs.h. */
20006 rm -f conftest.
$ac_objext
20007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20008 (eval $ac_compile) 2>conftest.er1
20010 grep -v '^ *+' conftest.er1
>conftest.err
20012 cat conftest.err
>&5
20013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20014 (exit $ac_status); } &&
20015 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20017 (eval $ac_try) 2>&5
20019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20020 (exit $ac_status); }; } &&
20021 { ac_try
='test -s conftest.$ac_objext'
20022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20023 (eval $ac_try) 2>&5
20025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20026 (exit $ac_status); }; }; then
20029 echo "$as_me: failed program was:" >&5
20030 sed 's/^/| /' conftest.
$ac_ext >&5
20033 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20034 cat >conftest.
$ac_ext <<_ACEOF
20037 cat confdefs.h
>>conftest.
$ac_ext
20038 cat >>conftest.
$ac_ext <<_ACEOF
20039 /* end confdefs.h. */
20040 #define _LARGEFILE_SOURCE 1
20050 rm -f conftest.
$ac_objext
20051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20052 (eval $ac_compile) 2>conftest.er1
20054 grep -v '^ *+' conftest.er1
>conftest.err
20056 cat conftest.err
>&5
20057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20058 (exit $ac_status); } &&
20059 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20061 (eval $ac_try) 2>&5
20063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20064 (exit $ac_status); }; } &&
20065 { ac_try
='test -s conftest.$ac_objext'
20066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20067 (eval $ac_try) 2>&5
20069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20070 (exit $ac_status); }; }; then
20071 ac_cv_sys_largefile_source
=1; break
20073 echo "$as_me: failed program was:" >&5
20074 sed 's/^/| /' conftest.
$ac_ext >&5
20077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20081 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
20082 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
20083 if test "$ac_cv_sys_largefile_source" != no
; then
20085 cat >>confdefs.h
<<_ACEOF
20086 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20092 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20093 # in glibc 2.1.3, but that breaks too many other things.
20094 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20095 echo "$as_me:$LINENO: checking for fseeko" >&5
20096 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
20097 if test "${ac_cv_func_fseeko+set}" = set; then
20098 echo $ECHO_N "(cached) $ECHO_C" >&6
20100 cat >conftest.
$ac_ext <<_ACEOF
20103 cat confdefs.h
>>conftest.
$ac_ext
20104 cat >>conftest.
$ac_ext <<_ACEOF
20105 /* end confdefs.h. */
20110 return fseeko && fseeko (stdin, 0, 0);
20115 rm -f conftest.
$ac_objext conftest
$ac_exeext
20116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20117 (eval $ac_link) 2>conftest.er1
20119 grep -v '^ *+' conftest.er1
>conftest.err
20121 cat conftest.err
>&5
20122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20123 (exit $ac_status); } &&
20124 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20126 (eval $ac_try) 2>&5
20128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20129 (exit $ac_status); }; } &&
20130 { ac_try
='test -s conftest$ac_exeext'
20131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20132 (eval $ac_try) 2>&5
20134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20135 (exit $ac_status); }; }; then
20136 ac_cv_func_fseeko
=yes
20138 echo "$as_me: failed program was:" >&5
20139 sed 's/^/| /' conftest.
$ac_ext >&5
20141 ac_cv_func_fseeko
=no
20143 rm -f conftest.err conftest.
$ac_objext \
20144 conftest
$ac_exeext conftest.
$ac_ext
20146 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
20147 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
20148 if test $ac_cv_func_fseeko = yes; then
20150 cat >>confdefs.h
<<\_ACEOF
20151 #define HAVE_FSEEKO 1
20156 if test "$ac_cv_sys_largefile_source" != no
; then
20157 WX_LARGEFILE_FLAGS
="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20159 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
20162 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20163 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20164 if test "${ac_cv_c_bigendian+set}" = set; then
20165 echo $ECHO_N "(cached) $ECHO_C" >&6
20167 ac_cv_c_bigendian
=unknown
20168 # See if sys/param.h defines the BYTE_ORDER macro.
20169 cat >conftest.
$ac_ext <<_ACEOF
20172 cat confdefs.h
>>conftest.
$ac_ext
20173 cat >>conftest.
$ac_ext <<_ACEOF
20174 /* end confdefs.h. */
20175 #include <sys/types.h>
20176 #include <sys/param.h>
20181 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20182 bogus endian macros
20188 rm -f conftest.
$ac_objext
20189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20190 (eval $ac_compile) 2>conftest.er1
20192 grep -v '^ *+' conftest.er1
>conftest.err
20194 cat conftest.err
>&5
20195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20196 (exit $ac_status); } &&
20197 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20199 (eval $ac_try) 2>&5
20201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20202 (exit $ac_status); }; } &&
20203 { ac_try
='test -s conftest.$ac_objext'
20204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20205 (eval $ac_try) 2>&5
20207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20208 (exit $ac_status); }; }; then
20209 # It does; now see whether it defined to BIG_ENDIAN or not.
20210 cat >conftest.
$ac_ext <<_ACEOF
20213 cat confdefs.h
>>conftest.
$ac_ext
20214 cat >>conftest.
$ac_ext <<_ACEOF
20215 /* end confdefs.h. */
20216 #include <sys/types.h>
20217 #include <sys/param.h>
20222 #if BYTE_ORDER != BIG_ENDIAN
20229 rm -f conftest.
$ac_objext
20230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20231 (eval $ac_compile) 2>conftest.er1
20233 grep -v '^ *+' conftest.er1
>conftest.err
20235 cat conftest.err
>&5
20236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20237 (exit $ac_status); } &&
20238 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20240 (eval $ac_try) 2>&5
20242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20243 (exit $ac_status); }; } &&
20244 { ac_try
='test -s conftest.$ac_objext'
20245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20246 (eval $ac_try) 2>&5
20248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20249 (exit $ac_status); }; }; then
20250 ac_cv_c_bigendian
=yes
20252 echo "$as_me: failed program was:" >&5
20253 sed 's/^/| /' conftest.
$ac_ext >&5
20255 ac_cv_c_bigendian
=no
20257 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20259 echo "$as_me: failed program was:" >&5
20260 sed 's/^/| /' conftest.
$ac_ext >&5
20263 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20264 if test $ac_cv_c_bigendian = unknown
; then
20265 if test "$cross_compiling" = yes; then
20266 ac_cv_c_bigendian
=unknown
20268 cat >conftest.
$ac_ext <<_ACEOF
20271 cat confdefs.h
>>conftest.
$ac_ext
20272 cat >>conftest.
$ac_ext <<_ACEOF
20273 /* end confdefs.h. */
20275 /* Are we little or big endian? From Harbison&Steele. */
20279 char c[sizeof (long)];
20282 exit (u.c[sizeof (long) - 1] == 1);
20285 rm -f conftest
$ac_exeext
20286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20287 (eval $ac_link) 2>&5
20289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20290 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20292 (eval $ac_try) 2>&5
20294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20295 (exit $ac_status); }; }; then
20296 ac_cv_c_bigendian
=no
20298 echo "$as_me: program exited with status $ac_status" >&5
20299 echo "$as_me: failed program was:" >&5
20300 sed 's/^/| /' conftest.
$ac_ext >&5
20302 ( exit $ac_status )
20303 ac_cv_c_bigendian
=yes
20305 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20309 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20310 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20311 if test $ac_cv_c_bigendian = unknown
; then
20312 { 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
20313 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;}
20315 if test $ac_cv_c_bigendian = yes; then
20316 cat >>confdefs.h
<<\_ACEOF
20317 #define WORDS_BIGENDIAN 1
20324 ac_cpp
='$CXXCPP $CPPFLAGS'
20325 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20326 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20327 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20328 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
20329 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
20330 if test -z "$CXXCPP"; then
20331 if test "${ac_cv_prog_CXXCPP+set}" = set; then
20332 echo $ECHO_N "(cached) $ECHO_C" >&6
20334 # Double quotes because CXXCPP needs to be expanded
20335 for CXXCPP
in "$CXX -E" "/lib/cpp"
20337 ac_preproc_ok
=false
20338 for ac_cxx_preproc_warn_flag
in '' yes
20340 # Use a header file that comes with gcc, so configuring glibc
20341 # with a fresh cross-compiler works.
20342 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20343 # <limits.h> exists even on freestanding compilers.
20344 # On the NeXT, cc -E runs the code through the compiler's parser,
20345 # not just through cpp. "Syntax error" is here to catch this case.
20346 cat >conftest.
$ac_ext <<_ACEOF
20349 cat confdefs.h
>>conftest.
$ac_ext
20350 cat >>conftest.
$ac_ext <<_ACEOF
20351 /* end confdefs.h. */
20353 # include <limits.h>
20355 # include <assert.h>
20359 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20360 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20362 grep -v '^ *+' conftest.er1
>conftest.err
20364 cat conftest.err
>&5
20365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20366 (exit $ac_status); } >/dev
/null
; then
20367 if test -s conftest.err
; then
20368 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20369 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20376 if test -z "$ac_cpp_err"; then
20379 echo "$as_me: failed program was:" >&5
20380 sed 's/^/| /' conftest.
$ac_ext >&5
20382 # Broken: fails on valid input.
20385 rm -f conftest.err conftest.
$ac_ext
20387 # OK, works on sane cases. Now check whether non-existent headers
20388 # can be detected and how.
20389 cat >conftest.
$ac_ext <<_ACEOF
20392 cat confdefs.h
>>conftest.
$ac_ext
20393 cat >>conftest.
$ac_ext <<_ACEOF
20394 /* end confdefs.h. */
20395 #include <ac_nonexistent.h>
20397 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20398 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20400 grep -v '^ *+' conftest.er1
>conftest.err
20402 cat conftest.err
>&5
20403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20404 (exit $ac_status); } >/dev
/null
; then
20405 if test -s conftest.err
; then
20406 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20407 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20414 if test -z "$ac_cpp_err"; then
20415 # Broken: success on invalid input.
20418 echo "$as_me: failed program was:" >&5
20419 sed 's/^/| /' conftest.
$ac_ext >&5
20421 # Passes both tests.
20425 rm -f conftest.err conftest.
$ac_ext
20428 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20429 rm -f conftest.err conftest.
$ac_ext
20430 if $ac_preproc_ok; then
20435 ac_cv_prog_CXXCPP
=$CXXCPP
20438 CXXCPP
=$ac_cv_prog_CXXCPP
20440 ac_cv_prog_CXXCPP
=$CXXCPP
20442 echo "$as_me:$LINENO: result: $CXXCPP" >&5
20443 echo "${ECHO_T}$CXXCPP" >&6
20444 ac_preproc_ok
=false
20445 for ac_cxx_preproc_warn_flag
in '' yes
20447 # Use a header file that comes with gcc, so configuring glibc
20448 # with a fresh cross-compiler works.
20449 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20450 # <limits.h> exists even on freestanding compilers.
20451 # On the NeXT, cc -E runs the code through the compiler's parser,
20452 # not just through cpp. "Syntax error" is here to catch this case.
20453 cat >conftest.
$ac_ext <<_ACEOF
20456 cat confdefs.h
>>conftest.
$ac_ext
20457 cat >>conftest.
$ac_ext <<_ACEOF
20458 /* end confdefs.h. */
20460 # include <limits.h>
20462 # include <assert.h>
20466 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20467 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20469 grep -v '^ *+' conftest.er1
>conftest.err
20471 cat conftest.err
>&5
20472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20473 (exit $ac_status); } >/dev
/null
; then
20474 if test -s conftest.err
; then
20475 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20476 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20483 if test -z "$ac_cpp_err"; then
20486 echo "$as_me: failed program was:" >&5
20487 sed 's/^/| /' conftest.
$ac_ext >&5
20489 # Broken: fails on valid input.
20492 rm -f conftest.err conftest.
$ac_ext
20494 # OK, works on sane cases. Now check whether non-existent headers
20495 # can be detected and how.
20496 cat >conftest.
$ac_ext <<_ACEOF
20499 cat confdefs.h
>>conftest.
$ac_ext
20500 cat >>conftest.
$ac_ext <<_ACEOF
20501 /* end confdefs.h. */
20502 #include <ac_nonexistent.h>
20504 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20505 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20507 grep -v '^ *+' conftest.er1
>conftest.err
20509 cat conftest.err
>&5
20510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20511 (exit $ac_status); } >/dev
/null
; then
20512 if test -s conftest.err
; then
20513 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20514 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20521 if test -z "$ac_cpp_err"; then
20522 # Broken: success on invalid input.
20525 echo "$as_me: failed program was:" >&5
20526 sed 's/^/| /' conftest.
$ac_ext >&5
20528 # Passes both tests.
20532 rm -f conftest.err conftest.
$ac_ext
20535 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20536 rm -f conftest.err conftest.
$ac_ext
20537 if $ac_preproc_ok; then
20540 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20541 See \`config.log' for more details." >&5
20542 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20543 See \`config.log' for more details." >&2;}
20544 { (exit 1); exit 1; }; }
20548 ac_cpp
='$CXXCPP $CPPFLAGS'
20549 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20550 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20551 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20558 ac_cpp
='$CXXCPP $CPPFLAGS'
20559 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20560 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20561 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20565 for ac_header
in iostream
20567 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20568 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20569 echo "$as_me:$LINENO: checking for $ac_header" >&5
20570 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20571 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20572 echo $ECHO_N "(cached) $ECHO_C" >&6
20574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20575 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20577 # Is the header compilable?
20578 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20579 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20580 cat >conftest.
$ac_ext <<_ACEOF
20583 cat confdefs.h
>>conftest.
$ac_ext
20584 cat >>conftest.
$ac_ext <<_ACEOF
20585 /* end confdefs.h. */
20586 $ac_includes_default
20587 #include <$ac_header>
20589 rm -f conftest.
$ac_objext
20590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20591 (eval $ac_compile) 2>conftest.er1
20593 grep -v '^ *+' conftest.er1
>conftest.err
20595 cat conftest.err
>&5
20596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20597 (exit $ac_status); } &&
20598 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20600 (eval $ac_try) 2>&5
20602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20603 (exit $ac_status); }; } &&
20604 { ac_try
='test -s conftest.$ac_objext'
20605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20606 (eval $ac_try) 2>&5
20608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20609 (exit $ac_status); }; }; then
20610 ac_header_compiler
=yes
20612 echo "$as_me: failed program was:" >&5
20613 sed 's/^/| /' conftest.
$ac_ext >&5
20615 ac_header_compiler
=no
20617 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20618 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20619 echo "${ECHO_T}$ac_header_compiler" >&6
20621 # Is the header present?
20622 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20623 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20624 cat >conftest.
$ac_ext <<_ACEOF
20627 cat confdefs.h
>>conftest.
$ac_ext
20628 cat >>conftest.
$ac_ext <<_ACEOF
20629 /* end confdefs.h. */
20630 #include <$ac_header>
20632 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20633 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20635 grep -v '^ *+' conftest.er1
>conftest.err
20637 cat conftest.err
>&5
20638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20639 (exit $ac_status); } >/dev
/null
; then
20640 if test -s conftest.err
; then
20641 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20642 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20649 if test -z "$ac_cpp_err"; then
20650 ac_header_preproc
=yes
20652 echo "$as_me: failed program was:" >&5
20653 sed 's/^/| /' conftest.
$ac_ext >&5
20655 ac_header_preproc
=no
20657 rm -f conftest.err conftest.
$ac_ext
20658 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20659 echo "${ECHO_T}$ac_header_preproc" >&6
20661 # So? What about this header?
20662 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20664 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20665 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20666 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20667 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20668 ac_header_preproc
=yes
20671 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20672 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20673 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20674 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20675 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20676 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20677 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20678 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20679 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20680 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20681 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20682 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20685 ## ----------------------------------------- ##
20686 ## Report this to wx-dev@lists.wxwidgets.org ##
20687 ## ----------------------------------------- ##
20690 sed "s/^/$as_me: WARNING: /" >&2
20693 echo "$as_me:$LINENO: checking for $ac_header" >&5
20694 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20695 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20696 echo $ECHO_N "(cached) $ECHO_C" >&6
20698 eval "$as_ac_Header=\$ac_header_preproc"
20700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20701 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20705 cat >>confdefs.h
<<_ACEOF
20706 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20714 if test "$ac_cv_header_iostream" = "yes" ; then
20717 cat >>confdefs.h
<<\_ACEOF
20718 #define wxUSE_IOSTREAMH 1
20724 ac_cpp
='$CPP $CPPFLAGS'
20725 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20726 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20727 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20732 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
20733 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
20734 if test "${wx_cv_cpp_bool+set}" = set; then
20735 echo $ECHO_N "(cached) $ECHO_C" >&6
20741 ac_cpp
='$CXXCPP $CPPFLAGS'
20742 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20743 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20744 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20747 cat >conftest.
$ac_ext <<_ACEOF
20750 cat confdefs.h
>>conftest.
$ac_ext
20751 cat >>conftest.
$ac_ext <<_ACEOF
20752 /* end confdefs.h. */
20767 rm -f conftest.
$ac_objext
20768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20769 (eval $ac_compile) 2>conftest.er1
20771 grep -v '^ *+' conftest.er1
>conftest.err
20773 cat conftest.err
>&5
20774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20775 (exit $ac_status); } &&
20776 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20778 (eval $ac_try) 2>&5
20780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20781 (exit $ac_status); }; } &&
20782 { ac_try
='test -s conftest.$ac_objext'
20783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20784 (eval $ac_try) 2>&5
20786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787 (exit $ac_status); }; }; then
20792 echo "$as_me: failed program was:" >&5
20793 sed 's/^/| /' conftest.
$ac_ext >&5
20800 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20803 ac_cpp
='$CPP $CPPFLAGS'
20804 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20805 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20806 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20810 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
20811 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
20813 if test "$wx_cv_cpp_bool" = "yes"; then
20814 cat >>confdefs.h
<<\_ACEOF
20815 #define HAVE_BOOL 1
20822 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
20823 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
20824 if test "${wx_cv_explicit+set}" = set; then
20825 echo $ECHO_N "(cached) $ECHO_C" >&6
20831 ac_cpp
='$CXXCPP $CPPFLAGS'
20832 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20833 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20834 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20837 cat >conftest.
$ac_ext <<_ACEOF
20840 cat confdefs.h
>>conftest.
$ac_ext
20841 cat >>conftest.
$ac_ext <<_ACEOF
20842 /* end confdefs.h. */
20844 class Foo { public: explicit Foo(int) {} };
20856 rm -f conftest.
$ac_objext
20857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20858 (eval $ac_compile) 2>conftest.er1
20860 grep -v '^ *+' conftest.er1
>conftest.err
20862 cat conftest.err
>&5
20863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20864 (exit $ac_status); } &&
20865 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20867 (eval $ac_try) 2>&5
20869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20870 (exit $ac_status); }; } &&
20871 { ac_try
='test -s conftest.$ac_objext'
20872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20873 (eval $ac_try) 2>&5
20875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20876 (exit $ac_status); }; }; then
20878 cat >conftest.
$ac_ext <<_ACEOF
20881 cat confdefs.h
>>conftest.
$ac_ext
20882 cat >>conftest.
$ac_ext <<_ACEOF
20883 /* end confdefs.h. */
20885 class Foo { public: explicit Foo(int) {} };
20886 static void TakeFoo(const Foo& foo) { }
20899 rm -f conftest.
$ac_objext
20900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20901 (eval $ac_compile) 2>conftest.er1
20903 grep -v '^ *+' conftest.er1
>conftest.err
20905 cat conftest.err
>&5
20906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20907 (exit $ac_status); } &&
20908 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20910 (eval $ac_try) 2>&5
20912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20913 (exit $ac_status); }; } &&
20914 { ac_try
='test -s conftest.$ac_objext'
20915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20916 (eval $ac_try) 2>&5
20918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20919 (exit $ac_status); }; }; then
20922 echo "$as_me: failed program was:" >&5
20923 sed 's/^/| /' conftest.
$ac_ext >&5
20928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20931 echo "$as_me: failed program was:" >&5
20932 sed 's/^/| /' conftest.
$ac_ext >&5
20937 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20940 ac_cpp
='$CPP $CPPFLAGS'
20941 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20942 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20943 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20947 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
20948 echo "${ECHO_T}$wx_cv_explicit" >&6
20950 if test "$wx_cv_explicit" = "yes"; then
20951 cat >>confdefs.h
<<\_ACEOF
20952 #define HAVE_EXPLICIT 1
20958 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
20959 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
20960 if test "${ac_cv_cxx_const_cast+set}" = set; then
20961 echo $ECHO_N "(cached) $ECHO_C" >&6
20966 ac_cpp
='$CXXCPP $CPPFLAGS'
20967 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20968 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20969 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20971 cat >conftest.
$ac_ext <<_ACEOF
20974 cat confdefs.h
>>conftest.
$ac_ext
20975 cat >>conftest.
$ac_ext <<_ACEOF
20976 /* end confdefs.h. */
20981 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
20986 rm -f conftest.
$ac_objext
20987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20988 (eval $ac_compile) 2>conftest.er1
20990 grep -v '^ *+' conftest.er1
>conftest.err
20992 cat conftest.err
>&5
20993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20994 (exit $ac_status); } &&
20995 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20997 (eval $ac_try) 2>&5
20999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21000 (exit $ac_status); }; } &&
21001 { ac_try
='test -s conftest.$ac_objext'
21002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21003 (eval $ac_try) 2>&5
21005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21006 (exit $ac_status); }; }; then
21007 ac_cv_cxx_const_cast
=yes
21009 echo "$as_me: failed program was:" >&5
21010 sed 's/^/| /' conftest.
$ac_ext >&5
21012 ac_cv_cxx_const_cast
=no
21014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21016 ac_cpp
='$CPP $CPPFLAGS'
21017 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21018 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21019 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21023 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
21024 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
21025 if test "$ac_cv_cxx_const_cast" = yes; then
21027 cat >>confdefs.h
<<\_ACEOF
21028 #define HAVE_CONST_CAST
21033 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
21034 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
21035 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
21036 echo $ECHO_N "(cached) $ECHO_C" >&6
21041 ac_cpp
='$CXXCPP $CPPFLAGS'
21042 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21043 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21044 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21046 cat >conftest.
$ac_ext <<_ACEOF
21049 cat confdefs.h
>>conftest.
$ac_ext
21050 cat >>conftest.
$ac_ext <<_ACEOF
21051 /* end confdefs.h. */
21052 #include <typeinfo>
21053 class Base { public : Base () {} virtual void f () = 0;};
21054 class Derived : public Base { public : Derived () {} virtual void f () {} };
21055 class Unrelated { public : Unrelated () {} };
21056 int g (Unrelated&) { return 0; }
21061 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
21066 rm -f conftest.
$ac_objext
21067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21068 (eval $ac_compile) 2>conftest.er1
21070 grep -v '^ *+' conftest.er1
>conftest.err
21072 cat conftest.err
>&5
21073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21074 (exit $ac_status); } &&
21075 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21077 (eval $ac_try) 2>&5
21079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21080 (exit $ac_status); }; } &&
21081 { ac_try
='test -s conftest.$ac_objext'
21082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21083 (eval $ac_try) 2>&5
21085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21086 (exit $ac_status); }; }; then
21087 ac_cv_cxx_reinterpret_cast
=yes
21089 echo "$as_me: failed program was:" >&5
21090 sed 's/^/| /' conftest.
$ac_ext >&5
21092 ac_cv_cxx_reinterpret_cast
=no
21094 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21096 ac_cpp
='$CPP $CPPFLAGS'
21097 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21098 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21099 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21103 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
21104 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
21105 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
21107 cat >>confdefs.h
<<\_ACEOF
21108 #define HAVE_REINTERPRET_CAST
21113 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
21114 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
21115 if test "${ac_cv_cxx_static_cast+set}" = set; then
21116 echo $ECHO_N "(cached) $ECHO_C" >&6
21121 ac_cpp
='$CXXCPP $CPPFLAGS'
21122 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21123 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21124 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21126 cat >conftest.
$ac_ext <<_ACEOF
21129 cat confdefs.h
>>conftest.
$ac_ext
21130 cat >>conftest.
$ac_ext <<_ACEOF
21131 /* end confdefs.h. */
21132 #include <typeinfo>
21133 class Base { public : Base () {} virtual void f () = 0; };
21134 class Derived : public Base { public : Derived () {} virtual void f () {} };
21135 int g (Derived&) { return 0; }
21140 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
21145 rm -f conftest.
$ac_objext
21146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21147 (eval $ac_compile) 2>conftest.er1
21149 grep -v '^ *+' conftest.er1
>conftest.err
21151 cat conftest.err
>&5
21152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21153 (exit $ac_status); } &&
21154 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21156 (eval $ac_try) 2>&5
21158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21159 (exit $ac_status); }; } &&
21160 { ac_try
='test -s conftest.$ac_objext'
21161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21162 (eval $ac_try) 2>&5
21164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21165 (exit $ac_status); }; }; then
21166 ac_cv_cxx_static_cast
=yes
21168 echo "$as_me: failed program was:" >&5
21169 sed 's/^/| /' conftest.
$ac_ext >&5
21171 ac_cv_cxx_static_cast
=no
21173 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21175 ac_cpp
='$CPP $CPPFLAGS'
21176 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21177 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21178 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21182 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
21183 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
21184 if test "$ac_cv_cxx_static_cast" = yes; then
21186 cat >>confdefs.h
<<\_ACEOF
21187 #define HAVE_STATIC_CAST
21193 if test "$wxUSE_UNICODE" = "yes" -a \
21194 \
( "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes" \
); then
21196 ac_cpp
='$CXXCPP $CPPFLAGS'
21197 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21198 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21199 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21202 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
21203 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
21204 cat >conftest.
$ac_ext <<_ACEOF
21207 cat confdefs.h
>>conftest.
$ac_ext
21208 cat >>conftest.
$ac_ext <<_ACEOF
21209 /* end confdefs.h. */
21219 rm -f conftest.
$ac_objext
21220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21221 (eval $ac_compile) 2>conftest.er1
21223 grep -v '^ *+' conftest.er1
>conftest.err
21225 cat conftest.err
>&5
21226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21227 (exit $ac_status); } &&
21228 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21230 (eval $ac_try) 2>&5
21232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21233 (exit $ac_status); }; } &&
21234 { ac_try
='test -s conftest.$ac_objext'
21235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21236 (eval $ac_try) 2>&5
21238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21239 (exit $ac_status); }; }; then
21240 echo "$as_me:$LINENO: result: yes" >&5
21241 echo "${ECHO_T}yes" >&6
21242 cat >>confdefs.h
<<\_ACEOF
21243 #define HAVE_STD_WSTRING 1
21247 echo "$as_me: failed program was:" >&5
21248 sed 's/^/| /' conftest.
$ac_ext >&5
21250 echo "$as_me:$LINENO: result: no" >&5
21251 echo "${ECHO_T}no" >&6
21252 echo "$as_me:$LINENO: checking if std::basic_string<wchar_t> works" >&5
21253 echo $ECHO_N "checking if std::basic_string<wchar_t> works... $ECHO_C" >&6
21254 cat >conftest.
$ac_ext <<_ACEOF
21257 cat confdefs.h
>>conftest.
$ac_ext
21258 cat >>conftest.
$ac_ext <<_ACEOF
21259 /* end confdefs.h. */
21261 #ifdef HAVE_WCHAR_H
21263 # include <stddef.h>
21265 # include <wchar.h>
21267 #ifdef HAVE_STDLIB_H
21268 # include <stdlib.h>
21276 std::basic_string<wchar_t> foo;
21277 const wchar_t* dummy = foo.c_str();
21282 rm -f conftest.
$ac_objext
21283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21284 (eval $ac_compile) 2>conftest.er1
21286 grep -v '^ *+' conftest.er1
>conftest.err
21288 cat conftest.err
>&5
21289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21290 (exit $ac_status); } &&
21291 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21293 (eval $ac_try) 2>&5
21295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21296 (exit $ac_status); }; } &&
21297 { ac_try
='test -s conftest.$ac_objext'
21298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21299 (eval $ac_try) 2>&5
21301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21302 (exit $ac_status); }; }; then
21303 echo "$as_me:$LINENO: result: yes" >&5
21304 echo "${ECHO_T}yes" >&6
21306 echo "$as_me: failed program was:" >&5
21307 sed 's/^/| /' conftest.
$ac_ext >&5
21309 echo "$as_me:$LINENO: result: no" >&5
21310 echo "${ECHO_T}no" >&6
21311 { { echo "$as_me:$LINENO: error: Can't compile without unicode string class" >&5
21312 echo "$as_me: error: Can't compile without unicode string class" >&2;}
21313 { (exit 1); exit 1; }; }
21316 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21319 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21322 ac_cpp
='$CPP $CPPFLAGS'
21323 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21324 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21325 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21329 if test "$wxUSE_STL" = "yes"; then
21331 ac_cpp
='$CXXCPP $CPPFLAGS'
21332 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21333 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21334 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21337 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
21338 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
21339 cat >conftest.
$ac_ext <<_ACEOF
21342 cat confdefs.h
>>conftest.
$ac_ext
21343 cat >>conftest.
$ac_ext <<_ACEOF
21344 /* end confdefs.h. */
21346 #include <functional>
21347 #include <algorithm>
21353 std::vector<int> moo;
21354 std::list<int> foo;
21355 std::vector<int>::iterator it =
21356 std::find_if(moo.begin(), moo.end(),
21357 std::bind2nd(std::less<int>(), 3));
21362 rm -f conftest.
$ac_objext
21363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21364 (eval $ac_compile) 2>conftest.er1
21366 grep -v '^ *+' conftest.er1
>conftest.err
21368 cat conftest.err
>&5
21369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21370 (exit $ac_status); } &&
21371 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21373 (eval $ac_try) 2>&5
21375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21376 (exit $ac_status); }; } &&
21377 { ac_try
='test -s conftest.$ac_objext'
21378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21379 (eval $ac_try) 2>&5
21381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21382 (exit $ac_status); }; }; then
21383 echo "$as_me:$LINENO: result: yes" >&5
21384 echo "${ECHO_T}yes" >&6
21386 echo "$as_me: failed program was:" >&5
21387 sed 's/^/| /' conftest.
$ac_ext >&5
21389 echo "$as_me:$LINENO: result: no" >&5
21390 echo "${ECHO_T}no" >&6
21391 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
21392 echo "$as_me: error: Basic STL functionality missing" >&2;}
21393 { (exit 1); exit 1; }; }
21395 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21397 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
21398 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
21399 cat >conftest.
$ac_ext <<_ACEOF
21402 cat confdefs.h
>>conftest.
$ac_ext
21403 cat >>conftest.
$ac_ext <<_ACEOF
21404 /* end confdefs.h. */
21409 std::string foo, bar;
21411 foo.compare(1, 1, bar);
21412 foo.compare(1, 1, bar, 1, 1);
21414 foo.compare(1, 1, "");
21415 foo.compare(1, 1, "", 2);
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" || test ! -s conftest.err'
21430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21431 (eval $ac_try) 2>&5
21433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21434 (exit $ac_status); }; } &&
21435 { ac_try
='test -s conftest.$ac_objext'
21436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21437 (eval $ac_try) 2>&5
21439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21440 (exit $ac_status); }; }; then
21441 echo "$as_me:$LINENO: result: yes" >&5
21442 echo "${ECHO_T}yes" >&6
21443 cat >>confdefs.h
<<\_ACEOF
21444 #define HAVE_STD_STRING_COMPARE 1
21448 echo "$as_me: failed program was:" >&5
21449 sed 's/^/| /' conftest.
$ac_ext >&5
21451 echo "$as_me:$LINENO: result: no" >&5
21452 echo "${ECHO_T}no" >&6
21454 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21456 if test "${ac_cv_header_hash_map+set}" = set; then
21457 echo "$as_me:$LINENO: checking for hash_map" >&5
21458 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21459 if test "${ac_cv_header_hash_map+set}" = set; then
21460 echo $ECHO_N "(cached) $ECHO_C" >&6
21462 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21463 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21465 # Is the header compilable?
21466 echo "$as_me:$LINENO: checking hash_map usability" >&5
21467 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
21468 cat >conftest.
$ac_ext <<_ACEOF
21471 cat confdefs.h
>>conftest.
$ac_ext
21472 cat >>conftest.
$ac_ext <<_ACEOF
21473 /* end confdefs.h. */
21474 $ac_includes_default
21475 #include <hash_map>
21477 rm -f conftest.
$ac_objext
21478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21479 (eval $ac_compile) 2>conftest.er1
21481 grep -v '^ *+' conftest.er1
>conftest.err
21483 cat conftest.err
>&5
21484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21485 (exit $ac_status); } &&
21486 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21488 (eval $ac_try) 2>&5
21490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21491 (exit $ac_status); }; } &&
21492 { ac_try
='test -s conftest.$ac_objext'
21493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21494 (eval $ac_try) 2>&5
21496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21497 (exit $ac_status); }; }; then
21498 ac_header_compiler
=yes
21500 echo "$as_me: failed program was:" >&5
21501 sed 's/^/| /' conftest.
$ac_ext >&5
21503 ac_header_compiler
=no
21505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21506 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21507 echo "${ECHO_T}$ac_header_compiler" >&6
21509 # Is the header present?
21510 echo "$as_me:$LINENO: checking hash_map presence" >&5
21511 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
21512 cat >conftest.
$ac_ext <<_ACEOF
21515 cat confdefs.h
>>conftest.
$ac_ext
21516 cat >>conftest.
$ac_ext <<_ACEOF
21517 /* end confdefs.h. */
21518 #include <hash_map>
21520 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21521 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21523 grep -v '^ *+' conftest.er1
>conftest.err
21525 cat conftest.err
>&5
21526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21527 (exit $ac_status); } >/dev
/null
; then
21528 if test -s conftest.err
; then
21529 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21530 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21537 if test -z "$ac_cpp_err"; then
21538 ac_header_preproc
=yes
21540 echo "$as_me: failed program was:" >&5
21541 sed 's/^/| /' conftest.
$ac_ext >&5
21543 ac_header_preproc
=no
21545 rm -f conftest.err conftest.
$ac_ext
21546 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21547 echo "${ECHO_T}$ac_header_preproc" >&6
21549 # So? What about this header?
21550 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21552 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21553 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21554 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
21555 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
21556 ac_header_preproc
=yes
21559 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
21560 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
21561 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
21562 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
21563 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
21564 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
21565 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
21566 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21567 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
21568 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
21569 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
21570 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
21573 ## ----------------------------------------- ##
21574 ## Report this to wx-dev@lists.wxwidgets.org ##
21575 ## ----------------------------------------- ##
21578 sed "s/^/$as_me: WARNING: /" >&2
21581 echo "$as_me:$LINENO: checking for hash_map" >&5
21582 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21583 if test "${ac_cv_header_hash_map+set}" = set; then
21584 echo $ECHO_N "(cached) $ECHO_C" >&6
21586 ac_cv_header_hash_map
=$ac_header_preproc
21588 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21589 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21592 if test $ac_cv_header_hash_map = yes; then
21593 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21594 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21595 cat >conftest.
$ac_ext <<_ACEOF
21598 cat confdefs.h
>>conftest.
$ac_ext
21599 cat >>conftest.
$ac_ext <<_ACEOF
21600 /* end confdefs.h. */
21601 #include <hash_map>
21602 #include <hash_set>
21606 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21607 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21612 rm -f conftest.
$ac_objext
21613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21614 (eval $ac_compile) 2>conftest.er1
21616 grep -v '^ *+' conftest.er1
>conftest.err
21618 cat conftest.err
>&5
21619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21620 (exit $ac_status); } &&
21621 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21623 (eval $ac_try) 2>&5
21625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21626 (exit $ac_status); }; } &&
21627 { ac_try
='test -s conftest.$ac_objext'
21628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21629 (eval $ac_try) 2>&5
21631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21632 (exit $ac_status); }; }; then
21633 echo "$as_me:$LINENO: result: yes" >&5
21634 echo "${ECHO_T}yes" >&6
21635 cat >>confdefs.h
<<\_ACEOF
21636 #define HAVE_HASH_MAP 1
21639 cat >>confdefs.h
<<\_ACEOF
21640 #define HAVE_STD_HASH_MAP 1
21644 echo "$as_me: failed program was:" >&5
21645 sed 's/^/| /' conftest.
$ac_ext >&5
21647 echo "$as_me:$LINENO: result: no" >&5
21648 echo "${ECHO_T}no" >&6
21650 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21656 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21657 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21658 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21659 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21660 echo $ECHO_N "(cached) $ECHO_C" >&6
21662 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21663 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21665 # Is the header compilable?
21666 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
21667 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
21668 cat >conftest.
$ac_ext <<_ACEOF
21671 cat confdefs.h
>>conftest.
$ac_ext
21672 cat >>conftest.
$ac_ext <<_ACEOF
21673 /* end confdefs.h. */
21674 $ac_includes_default
21675 #include <ext/hash_map>
21677 rm -f conftest.
$ac_objext
21678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21679 (eval $ac_compile) 2>conftest.er1
21681 grep -v '^ *+' conftest.er1
>conftest.err
21683 cat conftest.err
>&5
21684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21685 (exit $ac_status); } &&
21686 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21688 (eval $ac_try) 2>&5
21690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21691 (exit $ac_status); }; } &&
21692 { ac_try
='test -s conftest.$ac_objext'
21693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21694 (eval $ac_try) 2>&5
21696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21697 (exit $ac_status); }; }; then
21698 ac_header_compiler
=yes
21700 echo "$as_me: failed program was:" >&5
21701 sed 's/^/| /' conftest.
$ac_ext >&5
21703 ac_header_compiler
=no
21705 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21706 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21707 echo "${ECHO_T}$ac_header_compiler" >&6
21709 # Is the header present?
21710 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
21711 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
21712 cat >conftest.
$ac_ext <<_ACEOF
21715 cat confdefs.h
>>conftest.
$ac_ext
21716 cat >>conftest.
$ac_ext <<_ACEOF
21717 /* end confdefs.h. */
21718 #include <ext/hash_map>
21720 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21721 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21723 grep -v '^ *+' conftest.er1
>conftest.err
21725 cat conftest.err
>&5
21726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21727 (exit $ac_status); } >/dev
/null
; then
21728 if test -s conftest.err
; then
21729 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21730 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21737 if test -z "$ac_cpp_err"; then
21738 ac_header_preproc
=yes
21740 echo "$as_me: failed program was:" >&5
21741 sed 's/^/| /' conftest.
$ac_ext >&5
21743 ac_header_preproc
=no
21745 rm -f conftest.err conftest.
$ac_ext
21746 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21747 echo "${ECHO_T}$ac_header_preproc" >&6
21749 # So? What about this header?
21750 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21752 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21753 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21754 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
21755 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
21756 ac_header_preproc
=yes
21759 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
21760 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
21761 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
21762 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
21763 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
21764 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
21765 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
21766 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21767 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
21768 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
21769 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
21770 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
21773 ## ----------------------------------------- ##
21774 ## Report this to wx-dev@lists.wxwidgets.org ##
21775 ## ----------------------------------------- ##
21778 sed "s/^/$as_me: WARNING: /" >&2
21781 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21782 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21783 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21784 echo $ECHO_N "(cached) $ECHO_C" >&6
21786 ac_cv_header_ext_hash_map
=$ac_header_preproc
21788 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21789 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21792 if test $ac_cv_header_ext_hash_map = yes; then
21793 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21794 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21795 cat >conftest.
$ac_ext <<_ACEOF
21798 cat confdefs.h
>>conftest.
$ac_ext
21799 cat >>conftest.
$ac_ext <<_ACEOF
21800 /* end confdefs.h. */
21801 #include <ext/hash_map>
21802 #include <ext/hash_set>
21806 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21807 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21812 rm -f conftest.
$ac_objext
21813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21814 (eval $ac_compile) 2>conftest.er1
21816 grep -v '^ *+' conftest.er1
>conftest.err
21818 cat conftest.err
>&5
21819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21820 (exit $ac_status); } &&
21821 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21823 (eval $ac_try) 2>&5
21825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21826 (exit $ac_status); }; } &&
21827 { ac_try
='test -s conftest.$ac_objext'
21828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21829 (eval $ac_try) 2>&5
21831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21832 (exit $ac_status); }; }; then
21833 echo "$as_me:$LINENO: result: yes" >&5
21834 echo "${ECHO_T}yes" >&6
21835 cat >>confdefs.h
<<\_ACEOF
21836 #define HAVE_EXT_HASH_MAP 1
21839 cat >>confdefs.h
<<\_ACEOF
21840 #define HAVE_GNU_CXX_HASH_MAP 1
21844 echo "$as_me: failed program was:" >&5
21845 sed 's/^/| /' conftest.
$ac_ext >&5
21847 echo "$as_me:$LINENO: result: no" >&5
21848 echo "${ECHO_T}no" >&6
21850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21857 ac_cpp
='$CPP $CPPFLAGS'
21858 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21859 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21860 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21866 /usr/local/include \
21868 /usr/Motif-2.1/include \
21869 /usr/Motif-1.2/include \
21870 /usr/include/Motif1.2 \
21871 /opt/xpm/include/X11 \
21872 /opt/GBxpm/include/ \
21873 /opt/GBxpm/X11/include/ \
21876 /usr/openwin/include \
21880 /usr/X11R6/include \
21881 /usr/X11R6.4/include \
21882 /usr/X11R5/include \
21883 /usr/X11R4/include \
21885 /usr/include/X11R6 \
21886 /usr/include/X11R5 \
21887 /usr/include/X11R4 \
21889 /usr/local/X11R6/include \
21890 /usr/local/X11R5/include \
21891 /usr/local/X11R4/include \
21893 /usr/local/include/X11R6 \
21894 /usr/local/include/X11R5 \
21895 /usr/local/include/X11R4 \
21899 /usr/local/X11/include \
21900 /usr/local/include/X11 \
21902 /usr/X386/include \
21903 /usr/x386/include \
21904 /usr/XFree86/include/X11 \
21906 X:/XFree86/include \
21907 X:/XFree86/include/X11 \
21910 /usr/local/include/gtk \
21911 /usr/include/glib \
21912 /usr/local/include/glib \
21915 /usr/local/include/qt \
21917 /usr/local/arm/3.3.2/include \
21919 /usr/include/windows \
21920 /usr/include/wine \
21921 /usr/local/include/wine \
21923 /usr/unsupported/include \
21924 /usr/athena/include \
21925 /usr/local/x11r5/include \
21926 /usr/lpp/Xamples/include \
21928 /usr/openwin/share/include"
21930 SEARCH_LIB
="/usr/lib /usr/lib32 /usr/lib64 /usr/X11R6/lib64 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g`"
21933 cat >confcache
<<\_ACEOF
21934 # This file is a shell script that caches the results of configure
21935 # tests run on this system so they can be shared between configure
21936 # scripts and configure runs, see configure's option --config-cache.
21937 # It is not useful on other systems. If it contains results you don't
21938 # want to keep, you may remove or edit it.
21940 # config.status only pays attention to the cache file if you give it
21941 # the --recheck option to rerun configure.
21943 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21944 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21945 # following values.
21949 # The following way of writing the cache mishandles newlines in values,
21950 # but we know of no workaround that is simple, portable, and efficient.
21951 # So, don't put newlines in cache variables' values.
21952 # Ultrix sh set writes to stderr and can't be redirected directly,
21953 # and sets the high bit in the cache file unless we assign to the vars.
21956 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21958 # `set' does not quote correctly, so add quotes (double-quote
21959 # substitution turns \\\\ into \\, and sed turns \\ into \).
21962 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21965 # `set' quotes correctly as required by POSIX, so do not add quotes.
21967 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
21974 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21976 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21978 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
21979 if test -w $cache_file; then
21980 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
21981 cat confcache
>$cache_file
21983 echo "not updating unwritable cache $cache_file"
21988 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
21989 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
21990 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
21991 if test "${wx_cv_lib_glibc21+set}" = set; then
21992 echo $ECHO_N "(cached) $ECHO_C" >&6
21995 cat >conftest.
$ac_ext <<_ACEOF
21998 cat confdefs.h
>>conftest.
$ac_ext
21999 cat >>conftest.
$ac_ext <<_ACEOF
22000 /* end confdefs.h. */
22001 #include <features.h>
22006 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
22007 #error not glibc2.1
22014 rm -f conftest.
$ac_objext
22015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22016 (eval $ac_compile) 2>conftest.er1
22018 grep -v '^ *+' conftest.er1
>conftest.err
22020 cat conftest.err
>&5
22021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22022 (exit $ac_status); } &&
22023 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22025 (eval $ac_try) 2>&5
22027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22028 (exit $ac_status); }; } &&
22029 { ac_try
='test -s conftest.$ac_objext'
22030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22031 (eval $ac_try) 2>&5
22033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22034 (exit $ac_status); }; }; then
22036 wx_cv_lib_glibc21
=yes
22039 echo "$as_me: failed program was:" >&5
22040 sed 's/^/| /' conftest.
$ac_ext >&5
22043 wx_cv_lib_glibc21
=no
22047 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22050 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
22051 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
22052 if test "$wx_cv_lib_glibc21" = "yes"; then
22053 cat >>confdefs.h
<<\_ACEOF
22054 #define wxHAVE_GLIBC2 1
22060 if test "x$wx_cv_lib_glibc21" = "xyes"; then
22061 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
22062 cat >>confdefs.h
<<\_ACEOF
22063 #define _GNU_SOURCE 1
22071 if test "$wxUSE_REGEX" != "no"; then
22072 cat >>confdefs.h
<<\_ACEOF
22073 #define wxUSE_REGEX 1
22077 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22078 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
22079 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
22080 wxUSE_REGEX
=builtin
22083 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22084 if test "${ac_cv_header_regex_h+set}" = set; then
22085 echo "$as_me:$LINENO: checking for regex.h" >&5
22086 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22087 if test "${ac_cv_header_regex_h+set}" = set; then
22088 echo $ECHO_N "(cached) $ECHO_C" >&6
22090 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22091 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22093 # Is the header compilable?
22094 echo "$as_me:$LINENO: checking regex.h usability" >&5
22095 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
22096 cat >conftest.
$ac_ext <<_ACEOF
22099 cat confdefs.h
>>conftest.
$ac_ext
22100 cat >>conftest.
$ac_ext <<_ACEOF
22101 /* end confdefs.h. */
22102 $ac_includes_default
22105 rm -f conftest.
$ac_objext
22106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22107 (eval $ac_compile) 2>conftest.er1
22109 grep -v '^ *+' conftest.er1
>conftest.err
22111 cat conftest.err
>&5
22112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22113 (exit $ac_status); } &&
22114 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22116 (eval $ac_try) 2>&5
22118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22119 (exit $ac_status); }; } &&
22120 { ac_try
='test -s conftest.$ac_objext'
22121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22122 (eval $ac_try) 2>&5
22124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22125 (exit $ac_status); }; }; then
22126 ac_header_compiler
=yes
22128 echo "$as_me: failed program was:" >&5
22129 sed 's/^/| /' conftest.
$ac_ext >&5
22131 ac_header_compiler
=no
22133 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22134 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22135 echo "${ECHO_T}$ac_header_compiler" >&6
22137 # Is the header present?
22138 echo "$as_me:$LINENO: checking regex.h presence" >&5
22139 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
22140 cat >conftest.
$ac_ext <<_ACEOF
22143 cat confdefs.h
>>conftest.
$ac_ext
22144 cat >>conftest.
$ac_ext <<_ACEOF
22145 /* end confdefs.h. */
22148 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22149 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22151 grep -v '^ *+' conftest.er1
>conftest.err
22153 cat conftest.err
>&5
22154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22155 (exit $ac_status); } >/dev
/null
; then
22156 if test -s conftest.err
; then
22157 ac_cpp_err
=$ac_c_preproc_warn_flag
22158 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22165 if test -z "$ac_cpp_err"; then
22166 ac_header_preproc
=yes
22168 echo "$as_me: failed program was:" >&5
22169 sed 's/^/| /' conftest.
$ac_ext >&5
22171 ac_header_preproc
=no
22173 rm -f conftest.err conftest.
$ac_ext
22174 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22175 echo "${ECHO_T}$ac_header_preproc" >&6
22177 # So? What about this header?
22178 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22180 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
22181 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22182 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
22183 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
22184 ac_header_preproc
=yes
22187 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
22188 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
22189 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
22190 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
22191 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
22192 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
22193 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
22194 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
22195 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
22196 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
22197 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
22198 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
22201 ## ----------------------------------------- ##
22202 ## Report this to wx-dev@lists.wxwidgets.org ##
22203 ## ----------------------------------------- ##
22206 sed "s/^/$as_me: WARNING: /" >&2
22209 echo "$as_me:$LINENO: checking for regex.h" >&5
22210 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22211 if test "${ac_cv_header_regex_h+set}" = set; then
22212 echo $ECHO_N "(cached) $ECHO_C" >&6
22214 ac_cv_header_regex_h
=$ac_header_preproc
22216 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22217 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22220 if test $ac_cv_header_regex_h = yes; then
22222 for ac_func
in regcomp
22224 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22225 echo "$as_me:$LINENO: checking for $ac_func" >&5
22226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22227 if eval "test \"\${$as_ac_var+set}\" = set"; then
22228 echo $ECHO_N "(cached) $ECHO_C" >&6
22230 cat >conftest.
$ac_ext <<_ACEOF
22233 cat confdefs.h
>>conftest.
$ac_ext
22234 cat >>conftest.
$ac_ext <<_ACEOF
22235 /* end confdefs.h. */
22236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22238 #define $ac_func innocuous_$ac_func
22240 /* System header to define __stub macros and hopefully few prototypes,
22241 which can conflict with char $ac_func (); below.
22242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22243 <limits.h> exists even on freestanding compilers. */
22246 # include <limits.h>
22248 # include <assert.h>
22253 /* Override any gcc2 internal prototype to avoid an error. */
22258 /* We use char because int might match the return type of a gcc2
22259 builtin and then its argument prototype would still apply. */
22261 /* The GNU C library defines this for functions which it implements
22262 to always fail with ENOSYS. Some functions are actually named
22263 something starting with __ and the normal name is an alias. */
22264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22267 char (*f) () = $ac_func;
22276 return f != $ac_func;
22281 rm -f conftest.
$ac_objext conftest
$ac_exeext
22282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22283 (eval $ac_link) 2>conftest.er1
22285 grep -v '^ *+' conftest.er1
>conftest.err
22287 cat conftest.err
>&5
22288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22289 (exit $ac_status); } &&
22290 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22292 (eval $ac_try) 2>&5
22294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22295 (exit $ac_status); }; } &&
22296 { ac_try
='test -s conftest$ac_exeext'
22297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22298 (eval $ac_try) 2>&5
22300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22301 (exit $ac_status); }; }; then
22302 eval "$as_ac_var=yes"
22304 echo "$as_me: failed program was:" >&5
22305 sed 's/^/| /' conftest.
$ac_ext >&5
22307 eval "$as_ac_var=no"
22309 rm -f conftest.err conftest.
$ac_objext \
22310 conftest
$ac_exeext conftest.
$ac_ext
22312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22314 if test `eval echo '${'$as_ac_var'}'` = yes; then
22315 cat >>confdefs.h
<<_ACEOF
22316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22326 if test "x$ac_cv_func_regcomp" != "xyes"; then
22327 if test "$wxUSE_REGEX" = "sys" ; then
22328 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
22329 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
22330 { (exit 1); exit 1; }; }
22332 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
22333 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22334 wxUSE_REGEX
=builtin
22338 cat >>confdefs.h
<<\_ACEOF
22339 #define WX_NO_REGEX_ADVANCED 1
22348 if test "$wxUSE_ZLIB" != "no" ; then
22349 cat >>confdefs.h
<<\_ACEOF
22350 #define wxUSE_ZLIB 1
22354 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22355 if test "$USE_DARWIN" = 1; then
22356 system_zlib_h_ok
="yes"
22358 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
22359 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
22360 if test "${ac_cv_header_zlib_h+set}" = set; then
22361 echo $ECHO_N "(cached) $ECHO_C" >&6
22363 if test "$cross_compiling" = yes; then
22364 unset ac_cv_header_zlib_h
22367 cat >conftest.
$ac_ext <<_ACEOF
22370 cat confdefs.h
>>conftest.
$ac_ext
22371 cat >>conftest.
$ac_ext <<_ACEOF
22372 /* end confdefs.h. */
22379 FILE *f=fopen("conftestval", "w");
22382 ZLIB_VERSION[0] == '1' &&
22383 (ZLIB_VERSION[2] > '1' ||
22384 (ZLIB_VERSION[2] == '1' &&
22385 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22390 rm -f conftest
$ac_exeext
22391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22392 (eval $ac_link) 2>&5
22394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22395 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22397 (eval $ac_try) 2>&5
22399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22400 (exit $ac_status); }; }; then
22401 ac_cv_header_zlib_h
=`cat conftestval`
22403 echo "$as_me: program exited with status $ac_status" >&5
22404 echo "$as_me: failed program was:" >&5
22405 sed 's/^/| /' conftest.
$ac_ext >&5
22407 ( exit $ac_status )
22408 ac_cv_header_zlib_h
=no
22410 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22414 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22415 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22416 if test "${ac_cv_header_zlib_h+set}" = set; then
22417 echo "$as_me:$LINENO: checking for zlib.h" >&5
22418 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22419 if test "${ac_cv_header_zlib_h+set}" = set; then
22420 echo $ECHO_N "(cached) $ECHO_C" >&6
22422 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22423 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22425 # Is the header compilable?
22426 echo "$as_me:$LINENO: checking zlib.h usability" >&5
22427 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
22428 cat >conftest.
$ac_ext <<_ACEOF
22431 cat confdefs.h
>>conftest.
$ac_ext
22432 cat >>conftest.
$ac_ext <<_ACEOF
22433 /* end confdefs.h. */
22434 $ac_includes_default
22437 rm -f conftest.
$ac_objext
22438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22439 (eval $ac_compile) 2>conftest.er1
22441 grep -v '^ *+' conftest.er1
>conftest.err
22443 cat conftest.err
>&5
22444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22445 (exit $ac_status); } &&
22446 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22448 (eval $ac_try) 2>&5
22450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22451 (exit $ac_status); }; } &&
22452 { ac_try
='test -s conftest.$ac_objext'
22453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22454 (eval $ac_try) 2>&5
22456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22457 (exit $ac_status); }; }; then
22458 ac_header_compiler
=yes
22460 echo "$as_me: failed program was:" >&5
22461 sed 's/^/| /' conftest.
$ac_ext >&5
22463 ac_header_compiler
=no
22465 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22466 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22467 echo "${ECHO_T}$ac_header_compiler" >&6
22469 # Is the header present?
22470 echo "$as_me:$LINENO: checking zlib.h presence" >&5
22471 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
22472 cat >conftest.
$ac_ext <<_ACEOF
22475 cat confdefs.h
>>conftest.
$ac_ext
22476 cat >>conftest.
$ac_ext <<_ACEOF
22477 /* end confdefs.h. */
22480 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22481 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22483 grep -v '^ *+' conftest.er1
>conftest.err
22485 cat conftest.err
>&5
22486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22487 (exit $ac_status); } >/dev
/null
; then
22488 if test -s conftest.err
; then
22489 ac_cpp_err
=$ac_c_preproc_warn_flag
22490 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22497 if test -z "$ac_cpp_err"; then
22498 ac_header_preproc
=yes
22500 echo "$as_me: failed program was:" >&5
22501 sed 's/^/| /' conftest.
$ac_ext >&5
22503 ac_header_preproc
=no
22505 rm -f conftest.err conftest.
$ac_ext
22506 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22507 echo "${ECHO_T}$ac_header_preproc" >&6
22509 # So? What about this header?
22510 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22512 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
22513 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22514 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
22515 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
22516 ac_header_preproc
=yes
22519 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
22520 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
22521 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
22522 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
22523 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
22524 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
22525 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
22526 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
22527 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
22528 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
22529 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
22530 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
22533 ## ----------------------------------------- ##
22534 ## Report this to wx-dev@lists.wxwidgets.org ##
22535 ## ----------------------------------------- ##
22538 sed "s/^/$as_me: WARNING: /" >&2
22541 echo "$as_me:$LINENO: checking for zlib.h" >&5
22542 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22543 if test "${ac_cv_header_zlib_h+set}" = set; then
22544 echo $ECHO_N "(cached) $ECHO_C" >&6
22546 ac_cv_header_zlib_h
=$ac_header_preproc
22548 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22549 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22555 system_zlib_h_ok
=$ac_cv_header_zlib_h
22558 if test "$system_zlib_h_ok" = "yes"; then
22559 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
22560 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
22561 if test "${ac_cv_lib_z_deflate+set}" = set; then
22562 echo $ECHO_N "(cached) $ECHO_C" >&6
22564 ac_check_lib_save_LIBS
=$LIBS
22566 cat >conftest.
$ac_ext <<_ACEOF
22569 cat confdefs.h
>>conftest.
$ac_ext
22570 cat >>conftest.
$ac_ext <<_ACEOF
22571 /* end confdefs.h. */
22573 /* Override any gcc2 internal prototype to avoid an error. */
22577 /* We use char because int might match the return type of a gcc2
22578 builtin and then its argument prototype would still apply. */
22588 rm -f conftest.
$ac_objext conftest
$ac_exeext
22589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22590 (eval $ac_link) 2>conftest.er1
22592 grep -v '^ *+' conftest.er1
>conftest.err
22594 cat conftest.err
>&5
22595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22596 (exit $ac_status); } &&
22597 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22599 (eval $ac_try) 2>&5
22601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22602 (exit $ac_status); }; } &&
22603 { ac_try
='test -s conftest$ac_exeext'
22604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22605 (eval $ac_try) 2>&5
22607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22608 (exit $ac_status); }; }; then
22609 ac_cv_lib_z_deflate
=yes
22611 echo "$as_me: failed program was:" >&5
22612 sed 's/^/| /' conftest.
$ac_ext >&5
22614 ac_cv_lib_z_deflate
=no
22616 rm -f conftest.err conftest.
$ac_objext \
22617 conftest
$ac_exeext conftest.
$ac_ext
22618 LIBS
=$ac_check_lib_save_LIBS
22620 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
22621 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
22622 if test $ac_cv_lib_z_deflate = yes; then
22628 if test "x$ZLIB_LINK" = "x" ; then
22629 if test "$wxUSE_ZLIB" = "sys" ; then
22630 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
22631 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
22632 { (exit 1); exit 1; }; }
22634 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
22635 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22646 if test "$wxUSE_LIBPNG" != "no" ; then
22647 cat >>confdefs.h
<<\_ACEOF
22648 #define wxUSE_LIBPNG 1
22652 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
22653 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
22654 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
22658 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22659 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22660 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22661 wxUSE_LIBPNG
=builtin
22664 if test "$wxUSE_MGL" != 1 ; then
22665 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22666 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
22667 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
22668 if test "${ac_cv_header_png_h+set}" = set; then
22669 echo $ECHO_N "(cached) $ECHO_C" >&6
22671 if test "$cross_compiling" = yes; then
22672 unset ac_cv_header_png_h
22675 cat >conftest.
$ac_ext <<_ACEOF
22678 cat confdefs.h
>>conftest.
$ac_ext
22679 cat >>conftest.
$ac_ext <<_ACEOF
22680 /* end confdefs.h. */
22687 FILE *f=fopen("conftestval", "w");
22690 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22695 rm -f conftest
$ac_exeext
22696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22697 (eval $ac_link) 2>&5
22699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22700 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22702 (eval $ac_try) 2>&5
22704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22705 (exit $ac_status); }; }; then
22706 ac_cv_header_png_h
=`cat conftestval`
22708 echo "$as_me: program exited with status $ac_status" >&5
22709 echo "$as_me: failed program was:" >&5
22710 sed 's/^/| /' conftest.
$ac_ext >&5
22712 ( exit $ac_status )
22713 ac_cv_header_png_h
=no
22715 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22719 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22720 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22721 if test "${ac_cv_header_png_h+set}" = set; then
22722 echo "$as_me:$LINENO: checking for png.h" >&5
22723 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
22724 if test "${ac_cv_header_png_h+set}" = set; then
22725 echo $ECHO_N "(cached) $ECHO_C" >&6
22727 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22728 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22730 # Is the header compilable?
22731 echo "$as_me:$LINENO: checking png.h usability" >&5
22732 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
22733 cat >conftest.
$ac_ext <<_ACEOF
22736 cat confdefs.h
>>conftest.
$ac_ext
22737 cat >>conftest.
$ac_ext <<_ACEOF
22738 /* end confdefs.h. */
22739 $ac_includes_default
22742 rm -f conftest.
$ac_objext
22743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22744 (eval $ac_compile) 2>conftest.er1
22746 grep -v '^ *+' conftest.er1
>conftest.err
22748 cat conftest.err
>&5
22749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22750 (exit $ac_status); } &&
22751 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22753 (eval $ac_try) 2>&5
22755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22756 (exit $ac_status); }; } &&
22757 { ac_try
='test -s conftest.$ac_objext'
22758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22759 (eval $ac_try) 2>&5
22761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22762 (exit $ac_status); }; }; then
22763 ac_header_compiler
=yes
22765 echo "$as_me: failed program was:" >&5
22766 sed 's/^/| /' conftest.
$ac_ext >&5
22768 ac_header_compiler
=no
22770 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22771 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22772 echo "${ECHO_T}$ac_header_compiler" >&6
22774 # Is the header present?
22775 echo "$as_me:$LINENO: checking png.h presence" >&5
22776 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
22777 cat >conftest.
$ac_ext <<_ACEOF
22780 cat confdefs.h
>>conftest.
$ac_ext
22781 cat >>conftest.
$ac_ext <<_ACEOF
22782 /* end confdefs.h. */
22785 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22786 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22788 grep -v '^ *+' conftest.er1
>conftest.err
22790 cat conftest.err
>&5
22791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22792 (exit $ac_status); } >/dev
/null
; then
22793 if test -s conftest.err
; then
22794 ac_cpp_err
=$ac_c_preproc_warn_flag
22795 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22802 if test -z "$ac_cpp_err"; then
22803 ac_header_preproc
=yes
22805 echo "$as_me: failed program was:" >&5
22806 sed 's/^/| /' conftest.
$ac_ext >&5
22808 ac_header_preproc
=no
22810 rm -f conftest.err conftest.
$ac_ext
22811 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22812 echo "${ECHO_T}$ac_header_preproc" >&6
22814 # So? What about this header?
22815 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22817 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
22818 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22819 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
22820 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
22821 ac_header_preproc
=yes
22824 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
22825 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
22826 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
22827 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
22828 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
22829 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
22830 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
22831 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
22832 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
22833 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
22834 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
22835 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
22838 ## ----------------------------------------- ##
22839 ## Report this to wx-dev@lists.wxwidgets.org ##
22840 ## ----------------------------------------- ##
22843 sed "s/^/$as_me: WARNING: /" >&2
22846 echo "$as_me:$LINENO: checking for png.h" >&5
22847 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
22848 if test "${ac_cv_header_png_h+set}" = set; then
22849 echo $ECHO_N "(cached) $ECHO_C" >&6
22851 ac_cv_header_png_h
=$ac_header_preproc
22853 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22854 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22860 if test "$ac_cv_header_png_h" = "yes"; then
22861 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
22862 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
22863 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
22864 echo $ECHO_N "(cached) $ECHO_C" >&6
22866 ac_check_lib_save_LIBS
=$LIBS
22867 LIBS
="-lpng -lz -lm $LIBS"
22868 cat >conftest.
$ac_ext <<_ACEOF
22871 cat confdefs.h
>>conftest.
$ac_ext
22872 cat >>conftest.
$ac_ext <<_ACEOF
22873 /* end confdefs.h. */
22875 /* Override any gcc2 internal prototype to avoid an error. */
22879 /* We use char because int might match the return type of a gcc2
22880 builtin and then its argument prototype would still apply. */
22881 char png_check_sig ();
22890 rm -f conftest.
$ac_objext conftest
$ac_exeext
22891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22892 (eval $ac_link) 2>conftest.er1
22894 grep -v '^ *+' conftest.er1
>conftest.err
22896 cat conftest.err
>&5
22897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22898 (exit $ac_status); } &&
22899 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22901 (eval $ac_try) 2>&5
22903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22904 (exit $ac_status); }; } &&
22905 { ac_try
='test -s conftest$ac_exeext'
22906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22907 (eval $ac_try) 2>&5
22909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22910 (exit $ac_status); }; }; then
22911 ac_cv_lib_png_png_check_sig
=yes
22913 echo "$as_me: failed program was:" >&5
22914 sed 's/^/| /' conftest.
$ac_ext >&5
22916 ac_cv_lib_png_png_check_sig
=no
22918 rm -f conftest.err conftest.
$ac_objext \
22919 conftest
$ac_exeext conftest.
$ac_ext
22920 LIBS
=$ac_check_lib_save_LIBS
22922 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
22923 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
22924 if test $ac_cv_lib_png_png_check_sig = yes; then
22925 PNG_LINK
=" -lpng -lz"
22930 if test "x$PNG_LINK" = "x" ; then
22931 if test "$wxUSE_LIBPNG" = "sys" ; then
22932 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
22933 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
22934 { (exit 1); exit 1; }; }
22936 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
22937 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22938 wxUSE_LIBPNG
=builtin
22946 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
22951 if test "$wxUSE_LIBJPEG" != "no" ; then
22952 cat >>confdefs.h
<<\_ACEOF
22953 #define wxUSE_LIBJPEG 1
22957 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
22958 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
22959 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
22963 if test "$wxUSE_MGL" != 1 ; then
22964 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22965 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
22966 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
22967 if test "${ac_cv_header_jpeglib_h+set}" = set; then
22968 echo $ECHO_N "(cached) $ECHO_C" >&6
22970 cat >conftest.
$ac_ext <<_ACEOF
22973 cat confdefs.h
>>conftest.
$ac_ext
22974 cat >>conftest.
$ac_ext <<_ACEOF
22975 /* end confdefs.h. */
22977 #undef HAVE_STDLIB_H
22979 #include <jpeglib.h>
22990 rm -f conftest.
$ac_objext
22991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22992 (eval $ac_compile) 2>conftest.er1
22994 grep -v '^ *+' conftest.er1
>conftest.err
22996 cat conftest.err
>&5
22997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22998 (exit $ac_status); } &&
22999 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23001 (eval $ac_try) 2>&5
23003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23004 (exit $ac_status); }; } &&
23005 { ac_try
='test -s conftest.$ac_objext'
23006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23007 (eval $ac_try) 2>&5
23009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23010 (exit $ac_status); }; }; then
23011 ac_cv_header_jpeglib_h
=yes
23013 echo "$as_me: failed program was:" >&5
23014 sed 's/^/| /' conftest.
$ac_ext >&5
23016 ac_cv_header_jpeglib_h
=no
23019 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23023 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
23024 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
23026 if test "$ac_cv_header_jpeglib_h" = "yes"; then
23027 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
23028 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
23029 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
23030 echo $ECHO_N "(cached) $ECHO_C" >&6
23032 ac_check_lib_save_LIBS
=$LIBS
23033 LIBS
="-ljpeg $LIBS"
23034 cat >conftest.
$ac_ext <<_ACEOF
23037 cat confdefs.h
>>conftest.
$ac_ext
23038 cat >>conftest.
$ac_ext <<_ACEOF
23039 /* end confdefs.h. */
23041 /* Override any gcc2 internal prototype to avoid an error. */
23045 /* We use char because int might match the return type of a gcc2
23046 builtin and then its argument prototype would still apply. */
23047 char jpeg_read_header ();
23051 jpeg_read_header ();
23056 rm -f conftest.
$ac_objext conftest
$ac_exeext
23057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23058 (eval $ac_link) 2>conftest.er1
23060 grep -v '^ *+' conftest.er1
>conftest.err
23062 cat conftest.err
>&5
23063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23064 (exit $ac_status); } &&
23065 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23067 (eval $ac_try) 2>&5
23069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23070 (exit $ac_status); }; } &&
23071 { ac_try
='test -s conftest$ac_exeext'
23072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23073 (eval $ac_try) 2>&5
23075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23076 (exit $ac_status); }; }; then
23077 ac_cv_lib_jpeg_jpeg_read_header
=yes
23079 echo "$as_me: failed program was:" >&5
23080 sed 's/^/| /' conftest.
$ac_ext >&5
23082 ac_cv_lib_jpeg_jpeg_read_header
=no
23084 rm -f conftest.err conftest.
$ac_objext \
23085 conftest
$ac_exeext conftest.
$ac_ext
23086 LIBS
=$ac_check_lib_save_LIBS
23088 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
23089 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
23090 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
23091 JPEG_LINK
=" -ljpeg"
23096 if test "x$JPEG_LINK" = "x" ; then
23097 if test "$wxUSE_LIBJPEG" = "sys" ; then
23098 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
23099 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
23100 { (exit 1); exit 1; }; }
23102 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
23103 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
23104 wxUSE_LIBJPEG
=builtin
23115 TIFF_PREREQ_LINKS
=-lm
23116 if test "$wxUSE_LIBTIFF" != "no" ; then
23117 cat >>confdefs.h
<<\_ACEOF
23118 #define wxUSE_LIBTIFF 1
23122 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
23123 if test "$wxUSE_LIBJPEG" = "sys"; then
23124 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
23126 if test "$wxUSE_ZLIB" = "sys"; then
23127 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
23129 if test "${ac_cv_header_tiffio_h+set}" = set; then
23130 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23131 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23132 if test "${ac_cv_header_tiffio_h+set}" = set; then
23133 echo $ECHO_N "(cached) $ECHO_C" >&6
23135 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23136 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23138 # Is the header compilable?
23139 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
23140 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
23141 cat >conftest.
$ac_ext <<_ACEOF
23144 cat confdefs.h
>>conftest.
$ac_ext
23145 cat >>conftest.
$ac_ext <<_ACEOF
23146 /* end confdefs.h. */
23147 $ac_includes_default
23148 #include <tiffio.h>
23150 rm -f conftest.
$ac_objext
23151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23152 (eval $ac_compile) 2>conftest.er1
23154 grep -v '^ *+' conftest.er1
>conftest.err
23156 cat conftest.err
>&5
23157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23158 (exit $ac_status); } &&
23159 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23161 (eval $ac_try) 2>&5
23163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23164 (exit $ac_status); }; } &&
23165 { ac_try
='test -s conftest.$ac_objext'
23166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23167 (eval $ac_try) 2>&5
23169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23170 (exit $ac_status); }; }; then
23171 ac_header_compiler
=yes
23173 echo "$as_me: failed program was:" >&5
23174 sed 's/^/| /' conftest.
$ac_ext >&5
23176 ac_header_compiler
=no
23178 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23179 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23180 echo "${ECHO_T}$ac_header_compiler" >&6
23182 # Is the header present?
23183 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
23184 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
23185 cat >conftest.
$ac_ext <<_ACEOF
23188 cat confdefs.h
>>conftest.
$ac_ext
23189 cat >>conftest.
$ac_ext <<_ACEOF
23190 /* end confdefs.h. */
23191 #include <tiffio.h>
23193 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23194 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23196 grep -v '^ *+' conftest.er1
>conftest.err
23198 cat conftest.err
>&5
23199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23200 (exit $ac_status); } >/dev
/null
; then
23201 if test -s conftest.err
; then
23202 ac_cpp_err
=$ac_c_preproc_warn_flag
23203 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23210 if test -z "$ac_cpp_err"; then
23211 ac_header_preproc
=yes
23213 echo "$as_me: failed program was:" >&5
23214 sed 's/^/| /' conftest.
$ac_ext >&5
23216 ac_header_preproc
=no
23218 rm -f conftest.err conftest.
$ac_ext
23219 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23220 echo "${ECHO_T}$ac_header_preproc" >&6
23222 # So? What about this header?
23223 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23225 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
23226 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23227 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
23228 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
23229 ac_header_preproc
=yes
23232 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
23233 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
23234 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
23235 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
23236 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
23237 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
23238 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
23239 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
23240 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
23241 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
23242 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
23243 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
23246 ## ----------------------------------------- ##
23247 ## Report this to wx-dev@lists.wxwidgets.org ##
23248 ## ----------------------------------------- ##
23251 sed "s/^/$as_me: WARNING: /" >&2
23254 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23255 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23256 if test "${ac_cv_header_tiffio_h+set}" = set; then
23257 echo $ECHO_N "(cached) $ECHO_C" >&6
23259 ac_cv_header_tiffio_h
=$ac_header_preproc
23261 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23262 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23265 if test $ac_cv_header_tiffio_h = yes; then
23267 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
23268 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
23269 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
23270 echo $ECHO_N "(cached) $ECHO_C" >&6
23272 ac_check_lib_save_LIBS
=$LIBS
23273 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
23274 cat >conftest.
$ac_ext <<_ACEOF
23277 cat confdefs.h
>>conftest.
$ac_ext
23278 cat >>conftest.
$ac_ext <<_ACEOF
23279 /* end confdefs.h. */
23281 /* Override any gcc2 internal prototype to avoid an error. */
23285 /* We use char because int might match the return type of a gcc2
23286 builtin and then its argument prototype would still apply. */
23296 rm -f conftest.
$ac_objext conftest
$ac_exeext
23297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23298 (eval $ac_link) 2>conftest.er1
23300 grep -v '^ *+' conftest.er1
>conftest.err
23302 cat conftest.err
>&5
23303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23304 (exit $ac_status); } &&
23305 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23307 (eval $ac_try) 2>&5
23309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23310 (exit $ac_status); }; } &&
23311 { ac_try
='test -s conftest$ac_exeext'
23312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23313 (eval $ac_try) 2>&5
23315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23316 (exit $ac_status); }; }; then
23317 ac_cv_lib_tiff_TIFFError
=yes
23319 echo "$as_me: failed program was:" >&5
23320 sed 's/^/| /' conftest.
$ac_ext >&5
23322 ac_cv_lib_tiff_TIFFError
=no
23324 rm -f conftest.err conftest.
$ac_objext \
23325 conftest
$ac_exeext conftest.
$ac_ext
23326 LIBS
=$ac_check_lib_save_LIBS
23328 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
23329 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
23330 if test $ac_cv_lib_tiff_TIFFError = yes; then
23331 TIFF_LINK
=" -ltiff"
23340 if test "x$TIFF_LINK" = "x" ; then
23341 if test "$wxUSE_LIBTIFF" = "sys" ; then
23342 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
23343 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
23344 { (exit 1); exit 1; }; }
23346 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
23347 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
23348 wxUSE_LIBTIFF
=builtin
23357 if test "$wxUSE_WCHAR_T" != "yes"; then
23358 if test "$wxUSE_EXPAT" != "no"; then
23359 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
23360 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
23363 if test "$wxUSE_XML" != "no"; then
23364 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
23365 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
23370 if test "$wxUSE_EXPAT" != "no"; then
23372 cat >>confdefs.h
<<\_ACEOF
23373 #define wxUSE_EXPAT 1
23376 cat >>confdefs.h
<<\_ACEOF
23377 #define wxUSE_XML 1
23381 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23382 if test "${ac_cv_header_expat_h+set}" = set; then
23383 echo "$as_me:$LINENO: checking for expat.h" >&5
23384 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23385 if test "${ac_cv_header_expat_h+set}" = set; then
23386 echo $ECHO_N "(cached) $ECHO_C" >&6
23388 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23389 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23391 # Is the header compilable?
23392 echo "$as_me:$LINENO: checking expat.h usability" >&5
23393 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
23394 cat >conftest.
$ac_ext <<_ACEOF
23397 cat confdefs.h
>>conftest.
$ac_ext
23398 cat >>conftest.
$ac_ext <<_ACEOF
23399 /* end confdefs.h. */
23400 $ac_includes_default
23403 rm -f conftest.
$ac_objext
23404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23405 (eval $ac_compile) 2>conftest.er1
23407 grep -v '^ *+' conftest.er1
>conftest.err
23409 cat conftest.err
>&5
23410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23411 (exit $ac_status); } &&
23412 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23414 (eval $ac_try) 2>&5
23416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23417 (exit $ac_status); }; } &&
23418 { ac_try
='test -s conftest.$ac_objext'
23419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23420 (eval $ac_try) 2>&5
23422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23423 (exit $ac_status); }; }; then
23424 ac_header_compiler
=yes
23426 echo "$as_me: failed program was:" >&5
23427 sed 's/^/| /' conftest.
$ac_ext >&5
23429 ac_header_compiler
=no
23431 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23432 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23433 echo "${ECHO_T}$ac_header_compiler" >&6
23435 # Is the header present?
23436 echo "$as_me:$LINENO: checking expat.h presence" >&5
23437 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
23438 cat >conftest.
$ac_ext <<_ACEOF
23441 cat confdefs.h
>>conftest.
$ac_ext
23442 cat >>conftest.
$ac_ext <<_ACEOF
23443 /* end confdefs.h. */
23446 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23447 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23449 grep -v '^ *+' conftest.er1
>conftest.err
23451 cat conftest.err
>&5
23452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23453 (exit $ac_status); } >/dev
/null
; then
23454 if test -s conftest.err
; then
23455 ac_cpp_err
=$ac_c_preproc_warn_flag
23456 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23463 if test -z "$ac_cpp_err"; then
23464 ac_header_preproc
=yes
23466 echo "$as_me: failed program was:" >&5
23467 sed 's/^/| /' conftest.
$ac_ext >&5
23469 ac_header_preproc
=no
23471 rm -f conftest.err conftest.
$ac_ext
23472 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23473 echo "${ECHO_T}$ac_header_preproc" >&6
23475 # So? What about this header?
23476 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23478 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
23479 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23480 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
23481 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
23482 ac_header_preproc
=yes
23485 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
23486 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
23487 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
23488 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
23489 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
23490 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
23491 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
23492 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
23493 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
23494 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
23495 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
23496 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
23499 ## ----------------------------------------- ##
23500 ## Report this to wx-dev@lists.wxwidgets.org ##
23501 ## ----------------------------------------- ##
23504 sed "s/^/$as_me: WARNING: /" >&2
23507 echo "$as_me:$LINENO: checking for expat.h" >&5
23508 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23509 if test "${ac_cv_header_expat_h+set}" = set; then
23510 echo $ECHO_N "(cached) $ECHO_C" >&6
23512 ac_cv_header_expat_h
=$ac_header_preproc
23514 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23515 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23518 if test $ac_cv_header_expat_h = yes; then
23523 if test "x$found_expat_h" = "x1"; then
23524 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
23525 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
23526 if test "${wx_cv_expat_is_not_broken+set}" = set; then
23527 echo $ECHO_N "(cached) $ECHO_C" >&6
23533 ac_cpp
='$CXXCPP $CPPFLAGS'
23534 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23535 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23536 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23538 cat >conftest.
$ac_ext <<_ACEOF
23541 cat confdefs.h
>>conftest.
$ac_ext
23542 cat >>conftest.
$ac_ext <<_ACEOF
23543 /* end confdefs.h. */
23553 rm -f conftest.
$ac_objext
23554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23555 (eval $ac_compile) 2>conftest.er1
23557 grep -v '^ *+' conftest.er1
>conftest.err
23559 cat conftest.err
>&5
23560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23561 (exit $ac_status); } &&
23562 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23564 (eval $ac_try) 2>&5
23566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23567 (exit $ac_status); }; } &&
23568 { ac_try
='test -s conftest.$ac_objext'
23569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23570 (eval $ac_try) 2>&5
23572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23573 (exit $ac_status); }; }; then
23574 wx_cv_expat_is_not_broken
=yes
23576 echo "$as_me: failed program was:" >&5
23577 sed 's/^/| /' conftest.
$ac_ext >&5
23579 wx_cv_expat_is_not_broken
=no
23582 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23584 ac_cpp
='$CPP $CPPFLAGS'
23585 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23586 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23587 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23592 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
23593 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
23594 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23595 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
23596 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
23597 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
23598 echo $ECHO_N "(cached) $ECHO_C" >&6
23600 ac_check_lib_save_LIBS
=$LIBS
23601 LIBS
="-lexpat $LIBS"
23602 cat >conftest.
$ac_ext <<_ACEOF
23605 cat confdefs.h
>>conftest.
$ac_ext
23606 cat >>conftest.
$ac_ext <<_ACEOF
23607 /* end confdefs.h. */
23609 /* Override any gcc2 internal prototype to avoid an error. */
23613 /* We use char because int might match the return type of a gcc2
23614 builtin and then its argument prototype would still apply. */
23615 char XML_ParserCreate ();
23619 XML_ParserCreate ();
23624 rm -f conftest.
$ac_objext conftest
$ac_exeext
23625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23626 (eval $ac_link) 2>conftest.er1
23628 grep -v '^ *+' conftest.er1
>conftest.err
23630 cat conftest.err
>&5
23631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23632 (exit $ac_status); } &&
23633 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23635 (eval $ac_try) 2>&5
23637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23638 (exit $ac_status); }; } &&
23639 { ac_try
='test -s conftest$ac_exeext'
23640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23641 (eval $ac_try) 2>&5
23643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23644 (exit $ac_status); }; }; then
23645 ac_cv_lib_expat_XML_ParserCreate
=yes
23647 echo "$as_me: failed program was:" >&5
23648 sed 's/^/| /' conftest.
$ac_ext >&5
23650 ac_cv_lib_expat_XML_ParserCreate
=no
23652 rm -f conftest.err conftest.
$ac_objext \
23653 conftest
$ac_exeext conftest.
$ac_ext
23654 LIBS
=$ac_check_lib_save_LIBS
23656 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23657 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
23658 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
23659 EXPAT_LINK
=" -lexpat"
23664 if test "x$EXPAT_LINK" = "x" ; then
23665 if test "$wxUSE_EXPAT" = "sys" ; then
23666 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
23667 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
23668 { (exit 1); exit 1; }; }
23670 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
23671 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
23672 wxUSE_EXPAT
=builtin
23678 if test "$wxUSE_EXPAT" = "builtin" ; then
23681 subdirs
="$subdirs src/expat"
23688 if test "$wxUSE_LIBMSPACK" != "no"; then
23689 if test "${ac_cv_header_mspack_h+set}" = set; then
23690 echo "$as_me:$LINENO: checking for mspack.h" >&5
23691 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
23692 if test "${ac_cv_header_mspack_h+set}" = set; then
23693 echo $ECHO_N "(cached) $ECHO_C" >&6
23695 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
23696 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
23698 # Is the header compilable?
23699 echo "$as_me:$LINENO: checking mspack.h usability" >&5
23700 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
23701 cat >conftest.
$ac_ext <<_ACEOF
23704 cat confdefs.h
>>conftest.
$ac_ext
23705 cat >>conftest.
$ac_ext <<_ACEOF
23706 /* end confdefs.h. */
23707 $ac_includes_default
23708 #include <mspack.h>
23710 rm -f conftest.
$ac_objext
23711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23712 (eval $ac_compile) 2>conftest.er1
23714 grep -v '^ *+' conftest.er1
>conftest.err
23716 cat conftest.err
>&5
23717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23718 (exit $ac_status); } &&
23719 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23721 (eval $ac_try) 2>&5
23723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23724 (exit $ac_status); }; } &&
23725 { ac_try
='test -s conftest.$ac_objext'
23726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23727 (eval $ac_try) 2>&5
23729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23730 (exit $ac_status); }; }; then
23731 ac_header_compiler
=yes
23733 echo "$as_me: failed program was:" >&5
23734 sed 's/^/| /' conftest.
$ac_ext >&5
23736 ac_header_compiler
=no
23738 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23739 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23740 echo "${ECHO_T}$ac_header_compiler" >&6
23742 # Is the header present?
23743 echo "$as_me:$LINENO: checking mspack.h presence" >&5
23744 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
23745 cat >conftest.
$ac_ext <<_ACEOF
23748 cat confdefs.h
>>conftest.
$ac_ext
23749 cat >>conftest.
$ac_ext <<_ACEOF
23750 /* end confdefs.h. */
23751 #include <mspack.h>
23753 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23754 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23756 grep -v '^ *+' conftest.er1
>conftest.err
23758 cat conftest.err
>&5
23759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23760 (exit $ac_status); } >/dev
/null
; then
23761 if test -s conftest.err
; then
23762 ac_cpp_err
=$ac_c_preproc_warn_flag
23763 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23770 if test -z "$ac_cpp_err"; then
23771 ac_header_preproc
=yes
23773 echo "$as_me: failed program was:" >&5
23774 sed 's/^/| /' conftest.
$ac_ext >&5
23776 ac_header_preproc
=no
23778 rm -f conftest.err conftest.
$ac_ext
23779 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23780 echo "${ECHO_T}$ac_header_preproc" >&6
23782 # So? What about this header?
23783 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23785 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
23786 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23787 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
23788 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
23789 ac_header_preproc
=yes
23792 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
23793 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
23794 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
23795 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
23796 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
23797 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
23798 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
23799 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
23800 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
23801 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
23802 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
23803 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
23806 ## ----------------------------------------- ##
23807 ## Report this to wx-dev@lists.wxwidgets.org ##
23808 ## ----------------------------------------- ##
23811 sed "s/^/$as_me: WARNING: /" >&2
23814 echo "$as_me:$LINENO: checking for mspack.h" >&5
23815 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
23816 if test "${ac_cv_header_mspack_h+set}" = set; then
23817 echo $ECHO_N "(cached) $ECHO_C" >&6
23819 ac_cv_header_mspack_h
=$ac_header_preproc
23821 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
23822 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
23825 if test $ac_cv_header_mspack_h = yes; then
23830 if test "x$found_mspack_h" = "x1"; then
23831 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
23832 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
23833 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
23834 echo $ECHO_N "(cached) $ECHO_C" >&6
23836 ac_check_lib_save_LIBS
=$LIBS
23837 LIBS
="-lmspack $LIBS"
23838 cat >conftest.
$ac_ext <<_ACEOF
23841 cat confdefs.h
>>conftest.
$ac_ext
23842 cat >>conftest.
$ac_ext <<_ACEOF
23843 /* end confdefs.h. */
23845 /* Override any gcc2 internal prototype to avoid an error. */
23849 /* We use char because int might match the return type of a gcc2
23850 builtin and then its argument prototype would still apply. */
23851 char mspack_create_chm_decompressor ();
23855 mspack_create_chm_decompressor ();
23860 rm -f conftest.
$ac_objext conftest
$ac_exeext
23861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23862 (eval $ac_link) 2>conftest.er1
23864 grep -v '^ *+' conftest.er1
>conftest.err
23866 cat conftest.err
>&5
23867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23868 (exit $ac_status); } &&
23869 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23871 (eval $ac_try) 2>&5
23873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23874 (exit $ac_status); }; } &&
23875 { ac_try
='test -s conftest$ac_exeext'
23876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23877 (eval $ac_try) 2>&5
23879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23880 (exit $ac_status); }; }; then
23881 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
23883 echo "$as_me: failed program was:" >&5
23884 sed 's/^/| /' conftest.
$ac_ext >&5
23886 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
23888 rm -f conftest.err conftest.
$ac_objext \
23889 conftest
$ac_exeext conftest.
$ac_ext
23890 LIBS
=$ac_check_lib_save_LIBS
23892 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23893 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
23894 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
23895 MSPACK_LINK
=" -lmspack"
23899 if test "x$MSPACK_LINK" = "x" ; then
23904 if test "$wxUSE_LIBMSPACK" != "no"; then
23905 cat >>confdefs.h
<<\_ACEOF
23906 #define wxUSE_LIBMSPACK 1
23920 if test "$USE_WIN32" = 1 ; then
23922 for ac_header
in w32api.h
23924 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23925 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23926 echo "$as_me:$LINENO: checking for $ac_header" >&5
23927 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23928 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23929 echo $ECHO_N "(cached) $ECHO_C" >&6
23931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23932 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23934 # Is the header compilable?
23935 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23936 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23937 cat >conftest.
$ac_ext <<_ACEOF
23940 cat confdefs.h
>>conftest.
$ac_ext
23941 cat >>conftest.
$ac_ext <<_ACEOF
23942 /* end confdefs.h. */
23943 $ac_includes_default
23944 #include <$ac_header>
23946 rm -f conftest.
$ac_objext
23947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23948 (eval $ac_compile) 2>conftest.er1
23950 grep -v '^ *+' conftest.er1
>conftest.err
23952 cat conftest.err
>&5
23953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23954 (exit $ac_status); } &&
23955 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23957 (eval $ac_try) 2>&5
23959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23960 (exit $ac_status); }; } &&
23961 { ac_try
='test -s conftest.$ac_objext'
23962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23963 (eval $ac_try) 2>&5
23965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23966 (exit $ac_status); }; }; then
23967 ac_header_compiler
=yes
23969 echo "$as_me: failed program was:" >&5
23970 sed 's/^/| /' conftest.
$ac_ext >&5
23972 ac_header_compiler
=no
23974 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23975 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23976 echo "${ECHO_T}$ac_header_compiler" >&6
23978 # Is the header present?
23979 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23980 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23981 cat >conftest.
$ac_ext <<_ACEOF
23984 cat confdefs.h
>>conftest.
$ac_ext
23985 cat >>conftest.
$ac_ext <<_ACEOF
23986 /* end confdefs.h. */
23987 #include <$ac_header>
23989 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23990 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23992 grep -v '^ *+' conftest.er1
>conftest.err
23994 cat conftest.err
>&5
23995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23996 (exit $ac_status); } >/dev
/null
; then
23997 if test -s conftest.err
; then
23998 ac_cpp_err
=$ac_c_preproc_warn_flag
23999 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24006 if test -z "$ac_cpp_err"; then
24007 ac_header_preproc
=yes
24009 echo "$as_me: failed program was:" >&5
24010 sed 's/^/| /' conftest.
$ac_ext >&5
24012 ac_header_preproc
=no
24014 rm -f conftest.err conftest.
$ac_ext
24015 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24016 echo "${ECHO_T}$ac_header_preproc" >&6
24018 # So? What about this header?
24019 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24021 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24022 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24023 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24024 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24025 ac_header_preproc
=yes
24028 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24029 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24030 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24031 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24032 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24033 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24034 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24035 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24036 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24037 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24038 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24039 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24042 ## ----------------------------------------- ##
24043 ## Report this to wx-dev@lists.wxwidgets.org ##
24044 ## ----------------------------------------- ##
24047 sed "s/^/$as_me: WARNING: /" >&2
24050 echo "$as_me:$LINENO: checking for $ac_header" >&5
24051 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24052 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24053 echo $ECHO_N "(cached) $ECHO_C" >&6
24055 eval "$as_ac_Header=\$ac_header_preproc"
24057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24058 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24061 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24062 cat >>confdefs.h
<<_ACEOF
24063 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24070 if test "${ac_cv_header_windows_h+set}" = set; then
24071 echo "$as_me:$LINENO: checking for windows.h" >&5
24072 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24073 if test "${ac_cv_header_windows_h+set}" = set; then
24074 echo $ECHO_N "(cached) $ECHO_C" >&6
24076 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24077 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24079 # Is the header compilable?
24080 echo "$as_me:$LINENO: checking windows.h usability" >&5
24081 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
24082 cat >conftest.
$ac_ext <<_ACEOF
24085 cat confdefs.h
>>conftest.
$ac_ext
24086 cat >>conftest.
$ac_ext <<_ACEOF
24087 /* end confdefs.h. */
24088 $ac_includes_default
24089 #include <windows.h>
24091 rm -f conftest.
$ac_objext
24092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24093 (eval $ac_compile) 2>conftest.er1
24095 grep -v '^ *+' conftest.er1
>conftest.err
24097 cat conftest.err
>&5
24098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24099 (exit $ac_status); } &&
24100 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24102 (eval $ac_try) 2>&5
24104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24105 (exit $ac_status); }; } &&
24106 { ac_try
='test -s conftest.$ac_objext'
24107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24108 (eval $ac_try) 2>&5
24110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24111 (exit $ac_status); }; }; then
24112 ac_header_compiler
=yes
24114 echo "$as_me: failed program was:" >&5
24115 sed 's/^/| /' conftest.
$ac_ext >&5
24117 ac_header_compiler
=no
24119 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24120 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24121 echo "${ECHO_T}$ac_header_compiler" >&6
24123 # Is the header present?
24124 echo "$as_me:$LINENO: checking windows.h presence" >&5
24125 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
24126 cat >conftest.
$ac_ext <<_ACEOF
24129 cat confdefs.h
>>conftest.
$ac_ext
24130 cat >>conftest.
$ac_ext <<_ACEOF
24131 /* end confdefs.h. */
24132 #include <windows.h>
24134 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24135 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24137 grep -v '^ *+' conftest.er1
>conftest.err
24139 cat conftest.err
>&5
24140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24141 (exit $ac_status); } >/dev
/null
; then
24142 if test -s conftest.err
; then
24143 ac_cpp_err
=$ac_c_preproc_warn_flag
24144 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24151 if test -z "$ac_cpp_err"; then
24152 ac_header_preproc
=yes
24154 echo "$as_me: failed program was:" >&5
24155 sed 's/^/| /' conftest.
$ac_ext >&5
24157 ac_header_preproc
=no
24159 rm -f conftest.err conftest.
$ac_ext
24160 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24161 echo "${ECHO_T}$ac_header_preproc" >&6
24163 # So? What about this header?
24164 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24166 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
24167 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24168 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
24169 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
24170 ac_header_preproc
=yes
24173 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
24174 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
24175 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
24176 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
24177 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
24178 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
24179 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
24180 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
24181 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
24182 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
24183 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
24184 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
24187 ## ----------------------------------------- ##
24188 ## Report this to wx-dev@lists.wxwidgets.org ##
24189 ## ----------------------------------------- ##
24192 sed "s/^/$as_me: WARNING: /" >&2
24195 echo "$as_me:$LINENO: checking for windows.h" >&5
24196 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24197 if test "${ac_cv_header_windows_h+set}" = set; then
24198 echo $ECHO_N "(cached) $ECHO_C" >&6
24200 ac_cv_header_windows_h
=$ac_header_preproc
24202 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24203 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24206 if test $ac_cv_header_windows_h = yes; then
24210 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
24211 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
24212 { (exit 1); exit 1; }; }
24218 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
24220 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
24221 LIBS
="$LIBS -loleacc"
24226 LIBS
="$LIBS -lkernel32 -luser32"
24227 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
24230 if test "$wxUSE_ODBC" = "sys" ; then
24233 if test "$wxUSE_ODBC" = "yes" ; then
24234 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
24235 cat >>confdefs.h
<<\_ACEOF
24236 #define wxUSE_ODBC 1
24241 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
24242 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
24244 WIN32INSTALL
=win32install
24247 if test "$wxUSE_GUI" = "yes"; then
24257 if test "$wxUSE_COCOA" = 1 ; then
24258 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
24259 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
24260 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
24261 wxUSE_PRINTING_ARCHITECTURE
=no
24263 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
24264 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
24265 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
24266 wxUSE_DRAG_AND_DROP
=no
24268 if test "$wxUSE_DRAGIMAGE" = "yes"; then
24269 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
24270 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
24275 if test "$wxUSE_MSW" = 1 ; then
24281 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
24285 if test "$wxUSE_GTK" = 1; then
24286 echo "$as_me:$LINENO: checking for GTK+ version" >&5
24287 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
24289 gtk_version_cached
=1
24290 if test "${wx_cv_lib_gtk+set}" = set; then
24291 echo $ECHO_N "(cached) $ECHO_C" >&6
24294 gtk_version_cached
=0
24295 echo "$as_me:$LINENO: result: " >&5
24296 echo "${ECHO_T}" >&6
24299 if test "$wxUSE_THREADS" = "yes"; then
24300 GTK_MODULES
=gthread
24304 if test "x$wxGTK_VERSION" != "x1"; then
24305 # Check whether --enable-gtktest or --disable-gtktest was given.
24306 if test "${enable_gtktest+set}" = set; then
24307 enableval
="$enable_gtktest"
24313 pkg_config_args
=gtk
+-2.0
24314 for module
in .
$GTK_MODULES
24318 pkg_config_args
="$pkg_config_args gthread-2.0"
24325 # Extract the first word of "pkg-config", so it can be a program name with args.
24326 set dummy pkg
-config; ac_word
=$2
24327 echo "$as_me:$LINENO: checking for $ac_word" >&5
24328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24329 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24330 echo $ECHO_N "(cached) $ECHO_C" >&6
24332 case $PKG_CONFIG in
24334 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24338 for as_dir
in $PATH
24341 test -z "$as_dir" && as_dir
=.
24342 for ac_exec_ext
in '' $ac_executable_extensions; do
24343 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24344 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24351 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24355 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24357 if test -n "$PKG_CONFIG"; then
24358 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24359 echo "${ECHO_T}$PKG_CONFIG" >&6
24361 echo "$as_me:$LINENO: result: no" >&5
24362 echo "${ECHO_T}no" >&6
24366 if test x
$PKG_CONFIG != xno
; then
24367 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
24370 echo "*** pkg-config too old; version 0.7 or better required."
24378 min_gtk_version
=2.0.0
24379 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
24380 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
24382 if test x
$PKG_CONFIG != xno
; then
24383 ## don't try to run the test against uninstalled libtool libs
24384 if $PKG_CONFIG --uninstalled $pkg_config_args; then
24385 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
24389 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
24396 if test x
"$no_gtk" = x
; then
24397 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
24398 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
24399 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24400 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24401 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24402 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24403 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24404 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24405 if test "x$enable_gtktest" = "xyes" ; then
24406 ac_save_CFLAGS
="$CFLAGS"
24407 ac_save_LIBS
="$LIBS"
24408 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24409 LIBS
="$GTK_LIBS $LIBS"
24411 if test "$cross_compiling" = yes; then
24412 echo $ac_n "cross compiling; assumed OK... $ac_c"
24414 cat >conftest.
$ac_ext <<_ACEOF
24417 cat confdefs.h
>>conftest.
$ac_ext
24418 cat >>conftest.
$ac_ext <<_ACEOF
24419 /* end confdefs.h. */
24421 #include <gtk/gtk.h>
24423 #include <stdlib.h>
24428 int major, minor, micro;
24431 system ("touch conf.gtktest");
24433 /* HP/UX 9 (%@#!) writes to sscanf strings */
24434 tmp_version = g_strdup("$min_gtk_version");
24435 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24436 printf("%s, bad version string\n", "$min_gtk_version");
24440 if ((gtk_major_version != $gtk_config_major_version) ||
24441 (gtk_minor_version != $gtk_config_minor_version) ||
24442 (gtk_micro_version != $gtk_config_micro_version))
24444 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24445 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24446 gtk_major_version, gtk_minor_version, gtk_micro_version);
24447 printf ("*** was found! If pkg-config was correct, then it is best\n");
24448 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24449 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24450 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24451 printf("*** required on your system.\n");
24452 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
24453 printf("*** to point to the correct configuration files\n");
24455 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24456 (gtk_minor_version != GTK_MINOR_VERSION) ||
24457 (gtk_micro_version != GTK_MICRO_VERSION))
24459 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24460 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24461 printf("*** library (version %d.%d.%d)\n",
24462 gtk_major_version, gtk_minor_version, gtk_micro_version);
24466 if ((gtk_major_version > major) ||
24467 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24468 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24474 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24475 gtk_major_version, gtk_minor_version, gtk_micro_version);
24476 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24477 major, minor, micro);
24478 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24480 printf("*** If you have already installed a sufficiently new version, this error\n");
24481 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
24482 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24483 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
24484 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
24485 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24486 printf("*** so that the correct libraries are found at run-time))\n");
24493 rm -f conftest
$ac_exeext
24494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24495 (eval $ac_link) 2>&5
24497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24498 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24500 (eval $ac_try) 2>&5
24502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24503 (exit $ac_status); }; }; then
24506 echo "$as_me: program exited with status $ac_status" >&5
24507 echo "$as_me: failed program was:" >&5
24508 sed 's/^/| /' conftest.
$ac_ext >&5
24510 ( exit $ac_status )
24513 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24515 CFLAGS
="$ac_save_CFLAGS"
24516 LIBS
="$ac_save_LIBS"
24519 if test "x$no_gtk" = x
; then
24520 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
24521 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
24524 echo "$as_me:$LINENO: result: no" >&5
24525 echo "${ECHO_T}no" >&6
24526 if test "$PKG_CONFIG" = "no" ; then
24527 echo "*** A new enough version of pkg-config was not found."
24528 echo "*** See http://pkgconfig.sourceforge.net"
24530 if test -f conf.gtktest
; then
24533 echo "*** Could not run GTK+ test program, checking why..."
24534 ac_save_CFLAGS
="$CFLAGS"
24535 ac_save_LIBS
="$LIBS"
24536 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24537 LIBS
="$LIBS $GTK_LIBS"
24538 cat >conftest.
$ac_ext <<_ACEOF
24541 cat confdefs.h
>>conftest.
$ac_ext
24542 cat >>conftest.
$ac_ext <<_ACEOF
24543 /* end confdefs.h. */
24545 #include <gtk/gtk.h>
24551 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24556 rm -f conftest.
$ac_objext conftest
$ac_exeext
24557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24558 (eval $ac_link) 2>conftest.er1
24560 grep -v '^ *+' conftest.er1
>conftest.err
24562 cat conftest.err
>&5
24563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24564 (exit $ac_status); } &&
24565 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24567 (eval $ac_try) 2>&5
24569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24570 (exit $ac_status); }; } &&
24571 { ac_try
='test -s conftest$ac_exeext'
24572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24573 (eval $ac_try) 2>&5
24575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24576 (exit $ac_status); }; }; then
24577 echo "*** The test program compiled, but did not run. This usually means"
24578 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
24579 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
24580 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24581 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24582 echo "*** is required on your system"
24584 echo "*** If you have an old version installed, it is best to remove it, although"
24585 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24587 echo "$as_me: failed program was:" >&5
24588 sed 's/^/| /' conftest.
$ac_ext >&5
24590 echo "*** The test program failed to compile or link. See the file config.log for the"
24591 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
24593 rm -f conftest.err conftest.
$ac_objext \
24594 conftest
$ac_exeext conftest.
$ac_ext
24595 CFLAGS
="$ac_save_CFLAGS"
24596 LIBS
="$ac_save_LIBS"
24609 if test -z "$wx_cv_lib_gtk"; then
24610 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
24612 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24613 if test "${with_gtk_prefix+set}" = set; then
24614 withval
="$with_gtk_prefix"
24615 gtk_config_prefix
="$withval"
24617 gtk_config_prefix
=""
24620 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24621 if test "${with_gtk_exec_prefix+set}" = set; then
24622 withval
="$with_gtk_exec_prefix"
24623 gtk_config_exec_prefix
="$withval"
24625 gtk_config_exec_prefix
=""
24627 # Check whether --enable-gtktest or --disable-gtktest was given.
24628 if test "${enable_gtktest+set}" = set; then
24629 enableval
="$enable_gtktest"
24635 for module
in .
$GTK_MODULES
24639 gtk_config_args
="$gtk_config_args gthread"
24644 if test x
$gtk_config_exec_prefix != x
; then
24645 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24646 if test x
${GTK_CONFIG+set} != xset
; then
24647 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
24650 if test x
$gtk_config_prefix != x
; then
24651 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
24652 if test x
${GTK_CONFIG+set} != xset
; then
24653 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
24657 # Extract the first word of "gtk-config", so it can be a program name with args.
24658 set dummy gtk
-config; ac_word
=$2
24659 echo "$as_me:$LINENO: checking for $ac_word" >&5
24660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24661 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24662 echo $ECHO_N "(cached) $ECHO_C" >&6
24664 case $GTK_CONFIG in
24666 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
24669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24670 for as_dir
in $PATH
24673 test -z "$as_dir" && as_dir
=.
24674 for ac_exec_ext
in '' $ac_executable_extensions; do
24675 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24676 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24683 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
24687 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
24689 if test -n "$GTK_CONFIG"; then
24690 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
24691 echo "${ECHO_T}$GTK_CONFIG" >&6
24693 echo "$as_me:$LINENO: result: no" >&5
24694 echo "${ECHO_T}no" >&6
24697 min_gtk_version
=1.2.7
24698 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
24699 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
24701 if test "$GTK_CONFIG" = "no" ; then
24704 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
24705 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
24706 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
24707 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24708 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
24709 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24710 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
24711 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24712 if test "x$enable_gtktest" = "xyes" ; then
24713 ac_save_CFLAGS
="$CFLAGS"
24714 ac_save_LIBS
="$LIBS"
24715 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24716 LIBS
="$GTK_LIBS $LIBS"
24718 if test "$cross_compiling" = yes; then
24719 echo $ac_n "cross compiling; assumed OK... $ac_c"
24721 cat >conftest.
$ac_ext <<_ACEOF
24724 cat confdefs.h
>>conftest.
$ac_ext
24725 cat >>conftest.
$ac_ext <<_ACEOF
24726 /* end confdefs.h. */
24728 #include <gtk/gtk.h>
24730 #include <stdlib.h>
24735 int major, minor, micro;
24738 system ("touch conf.gtktest");
24740 /* HP/UX 9 (%@#!) writes to sscanf strings */
24741 tmp_version = g_strdup("$min_gtk_version");
24742 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24743 printf("%s, bad version string\n", "$min_gtk_version");
24747 if ((gtk_major_version != $gtk_config_major_version) ||
24748 (gtk_minor_version != $gtk_config_minor_version) ||
24749 (gtk_micro_version != $gtk_config_micro_version))
24751 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24752 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24753 gtk_major_version, gtk_minor_version, gtk_micro_version);
24754 printf ("*** was found! If gtk-config was correct, then it is best\n");
24755 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24756 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24757 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24758 printf("*** required on your system.\n");
24759 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24760 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24761 printf("*** before re-running configure\n");
24763 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24764 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24765 (gtk_minor_version != GTK_MINOR_VERSION) ||
24766 (gtk_micro_version != GTK_MICRO_VERSION))
24768 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24769 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24770 printf("*** library (version %d.%d.%d)\n",
24771 gtk_major_version, gtk_minor_version, gtk_micro_version);
24773 #endif /* defined (GTK_MAJOR_VERSION) ... */
24776 if ((gtk_major_version > major) ||
24777 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24778 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24784 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24785 gtk_major_version, gtk_minor_version, gtk_micro_version);
24786 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24787 major, minor, micro);
24788 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24790 printf("*** If you have already installed a sufficiently new version, this error\n");
24791 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24792 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24793 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24794 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24795 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24796 printf("*** so that the correct libraries are found at run-time))\n");
24803 rm -f conftest
$ac_exeext
24804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24805 (eval $ac_link) 2>&5
24807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24808 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24810 (eval $ac_try) 2>&5
24812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24813 (exit $ac_status); }; }; then
24816 echo "$as_me: program exited with status $ac_status" >&5
24817 echo "$as_me: failed program was:" >&5
24818 sed 's/^/| /' conftest.
$ac_ext >&5
24820 ( exit $ac_status )
24823 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24825 CFLAGS
="$ac_save_CFLAGS"
24826 LIBS
="$ac_save_LIBS"
24829 if test "x$no_gtk" = x
; then
24830 echo "$as_me:$LINENO: result: yes" >&5
24831 echo "${ECHO_T}yes" >&6
24832 wx_cv_lib_gtk
=1.2.7
24834 echo "$as_me:$LINENO: result: no" >&5
24835 echo "${ECHO_T}no" >&6
24836 if test "$GTK_CONFIG" = "no" ; then
24837 echo "*** The gtk-config script installed by GTK could not be found"
24838 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24839 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24840 echo "*** full path to gtk-config."
24842 if test -f conf.gtktest
; then
24845 echo "*** Could not run GTK test program, checking why..."
24846 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24847 LIBS
="$LIBS $GTK_LIBS"
24848 cat >conftest.
$ac_ext <<_ACEOF
24851 cat confdefs.h
>>conftest.
$ac_ext
24852 cat >>conftest.
$ac_ext <<_ACEOF
24853 /* end confdefs.h. */
24855 #include <gtk/gtk.h>
24861 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24866 rm -f conftest.
$ac_objext conftest
$ac_exeext
24867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24868 (eval $ac_link) 2>conftest.er1
24870 grep -v '^ *+' conftest.er1
>conftest.err
24872 cat conftest.err
>&5
24873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24874 (exit $ac_status); } &&
24875 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24877 (eval $ac_try) 2>&5
24879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24880 (exit $ac_status); }; } &&
24881 { ac_try
='test -s conftest$ac_exeext'
24882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24883 (eval $ac_try) 2>&5
24885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24886 (exit $ac_status); }; }; then
24887 echo "*** The test program compiled, but did not run. This usually means"
24888 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24889 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24890 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24891 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24892 echo "*** is required on your system"
24894 echo "*** If you have an old version installed, it is best to remove it, although"
24895 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24897 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24898 echo "*** came with the system with the command"
24900 echo "*** rpm --erase --nodeps gtk gtk-devel"
24902 echo "$as_me: failed program was:" >&5
24903 sed 's/^/| /' conftest.
$ac_ext >&5
24905 echo "*** The test program failed to compile or link. See the file config.log for the"
24906 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
24907 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24908 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24910 rm -f conftest.err conftest.
$ac_objext \
24911 conftest
$ac_exeext conftest.
$ac_ext
24912 CFLAGS
="$ac_save_CFLAGS"
24913 LIBS
="$ac_save_LIBS"
24925 if test -z "$wx_cv_lib_gtk"; then
24927 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24928 if test "${with_gtk_prefix+set}" = set; then
24929 withval
="$with_gtk_prefix"
24930 gtk_config_prefix
="$withval"
24932 gtk_config_prefix
=""
24935 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24936 if test "${with_gtk_exec_prefix+set}" = set; then
24937 withval
="$with_gtk_exec_prefix"
24938 gtk_config_exec_prefix
="$withval"
24940 gtk_config_exec_prefix
=""
24942 # Check whether --enable-gtktest or --disable-gtktest was given.
24943 if test "${enable_gtktest+set}" = set; then
24944 enableval
="$enable_gtktest"
24950 for module
in .
$GTK_MODULES
24954 gtk_config_args
="$gtk_config_args gthread"
24959 if test x
$gtk_config_exec_prefix != x
; then
24960 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24961 if test x
${GTK_CONFIG+set} != xset
; then
24962 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
24965 if test x
$gtk_config_prefix != x
; then
24966 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
24967 if test x
${GTK_CONFIG+set} != xset
; then
24968 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
24972 # Extract the first word of "gtk-config", so it can be a program name with args.
24973 set dummy gtk
-config; ac_word
=$2
24974 echo "$as_me:$LINENO: checking for $ac_word" >&5
24975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24976 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24977 echo $ECHO_N "(cached) $ECHO_C" >&6
24979 case $GTK_CONFIG in
24981 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
24984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24985 for as_dir
in $PATH
24988 test -z "$as_dir" && as_dir
=.
24989 for ac_exec_ext
in '' $ac_executable_extensions; do
24990 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24991 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24998 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
25002 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
25004 if test -n "$GTK_CONFIG"; then
25005 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25006 echo "${ECHO_T}$GTK_CONFIG" >&6
25008 echo "$as_me:$LINENO: result: no" >&5
25009 echo "${ECHO_T}no" >&6
25012 min_gtk_version
=1.2.3
25013 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25014 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25016 if test "$GTK_CONFIG" = "no" ; then
25019 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
25020 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
25021 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
25022 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25023 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
25024 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25025 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
25026 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25027 if test "x$enable_gtktest" = "xyes" ; then
25028 ac_save_CFLAGS
="$CFLAGS"
25029 ac_save_LIBS
="$LIBS"
25030 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25031 LIBS
="$GTK_LIBS $LIBS"
25033 if test "$cross_compiling" = yes; then
25034 echo $ac_n "cross compiling; assumed OK... $ac_c"
25036 cat >conftest.
$ac_ext <<_ACEOF
25039 cat confdefs.h
>>conftest.
$ac_ext
25040 cat >>conftest.
$ac_ext <<_ACEOF
25041 /* end confdefs.h. */
25043 #include <gtk/gtk.h>
25045 #include <stdlib.h>
25050 int major, minor, micro;
25053 system ("touch conf.gtktest");
25055 /* HP/UX 9 (%@#!) writes to sscanf strings */
25056 tmp_version = g_strdup("$min_gtk_version");
25057 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
25058 printf("%s, bad version string\n", "$min_gtk_version");
25062 if ((gtk_major_version != $gtk_config_major_version) ||
25063 (gtk_minor_version != $gtk_config_minor_version) ||
25064 (gtk_micro_version != $gtk_config_micro_version))
25066 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25067 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25068 gtk_major_version, gtk_minor_version, gtk_micro_version);
25069 printf ("*** was found! If gtk-config was correct, then it is best\n");
25070 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25071 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25072 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25073 printf("*** required on your system.\n");
25074 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25075 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25076 printf("*** before re-running configure\n");
25078 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25079 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25080 (gtk_minor_version != GTK_MINOR_VERSION) ||
25081 (gtk_micro_version != GTK_MICRO_VERSION))
25083 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25084 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25085 printf("*** library (version %d.%d.%d)\n",
25086 gtk_major_version, gtk_minor_version, gtk_micro_version);
25088 #endif /* defined (GTK_MAJOR_VERSION) ... */
25091 if ((gtk_major_version > major) ||
25092 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25093 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25099 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25100 gtk_major_version, gtk_minor_version, gtk_micro_version);
25101 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25102 major, minor, micro);
25103 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25105 printf("*** If you have already installed a sufficiently new version, this error\n");
25106 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25107 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25108 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25109 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25110 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25111 printf("*** so that the correct libraries are found at run-time))\n");
25118 rm -f conftest
$ac_exeext
25119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25120 (eval $ac_link) 2>&5
25122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25123 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25125 (eval $ac_try) 2>&5
25127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25128 (exit $ac_status); }; }; then
25131 echo "$as_me: program exited with status $ac_status" >&5
25132 echo "$as_me: failed program was:" >&5
25133 sed 's/^/| /' conftest.
$ac_ext >&5
25135 ( exit $ac_status )
25138 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25140 CFLAGS
="$ac_save_CFLAGS"
25141 LIBS
="$ac_save_LIBS"
25144 if test "x$no_gtk" = x
; then
25145 echo "$as_me:$LINENO: result: yes" >&5
25146 echo "${ECHO_T}yes" >&6
25147 wx_cv_lib_gtk
=1.2.3
25149 echo "$as_me:$LINENO: result: no" >&5
25150 echo "${ECHO_T}no" >&6
25151 if test "$GTK_CONFIG" = "no" ; then
25152 echo "*** The gtk-config script installed by GTK could not be found"
25153 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25154 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25155 echo "*** full path to gtk-config."
25157 if test -f conf.gtktest
; then
25160 echo "*** Could not run GTK test program, checking why..."
25161 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25162 LIBS
="$LIBS $GTK_LIBS"
25163 cat >conftest.
$ac_ext <<_ACEOF
25166 cat confdefs.h
>>conftest.
$ac_ext
25167 cat >>conftest.
$ac_ext <<_ACEOF
25168 /* end confdefs.h. */
25170 #include <gtk/gtk.h>
25176 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25181 rm -f conftest.
$ac_objext conftest
$ac_exeext
25182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25183 (eval $ac_link) 2>conftest.er1
25185 grep -v '^ *+' conftest.er1
>conftest.err
25187 cat conftest.err
>&5
25188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25189 (exit $ac_status); } &&
25190 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25192 (eval $ac_try) 2>&5
25194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25195 (exit $ac_status); }; } &&
25196 { ac_try
='test -s conftest$ac_exeext'
25197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25198 (eval $ac_try) 2>&5
25200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25201 (exit $ac_status); }; }; then
25202 echo "*** The test program compiled, but did not run. This usually means"
25203 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25204 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25205 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25206 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25207 echo "*** is required on your system"
25209 echo "*** If you have an old version installed, it is best to remove it, although"
25210 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25212 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25213 echo "*** came with the system with the command"
25215 echo "*** rpm --erase --nodeps gtk gtk-devel"
25217 echo "$as_me: failed program was:" >&5
25218 sed 's/^/| /' conftest.
$ac_ext >&5
25220 echo "*** The test program failed to compile or link. See the file config.log for the"
25221 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25222 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25223 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25225 rm -f conftest.err conftest.
$ac_objext \
25226 conftest
$ac_exeext conftest.
$ac_ext
25227 CFLAGS
="$ac_save_CFLAGS"
25228 LIBS
="$ac_save_LIBS"
25243 if test -z "$wx_cv_lib_gtk"; then
25246 wx_cv_cflags_gtk
=$GTK_CFLAGS
25247 wx_cv_libs_gtk
=$GTK_LIBS
25254 if test "$gtk_version_cached" = 1; then
25255 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
25256 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
25259 case "$wx_cv_lib_gtk" in
25268 *) { { echo "$as_me:$LINENO: error:
25269 The development files for GTK+ were not found. For GTK+ 2, please
25270 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25271 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25272 and that the version is 1.2.3 or above. Also check that the
25273 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25274 --libs' are in the LD_LIBRARY_PATH or equivalent.
25276 echo "$as_me: error:
25277 The development files for GTK+ were not found. For GTK+ 2, please
25278 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25279 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25280 and that the version is 1.2.3 or above. Also check that the
25281 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25282 --libs' are in the LD_LIBRARY_PATH or equivalent.
25284 { (exit 1); exit 1; }; }
25288 if test "$WXGTK20" = 1; then
25289 save_CFLAGS
="$CFLAGS"
25291 CFLAGS
="$CFLAGS $wx_cv_cflags_gtk"
25292 LIBS
="$LIBS $wx_cv_lib_gtk"
25295 for ac_func
in pango_font_family_is_monospace
25297 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25298 echo "$as_me:$LINENO: checking for $ac_func" >&5
25299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25300 if eval "test \"\${$as_ac_var+set}\" = set"; then
25301 echo $ECHO_N "(cached) $ECHO_C" >&6
25303 cat >conftest.
$ac_ext <<_ACEOF
25306 cat confdefs.h
>>conftest.
$ac_ext
25307 cat >>conftest.
$ac_ext <<_ACEOF
25308 /* end confdefs.h. */
25309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25311 #define $ac_func innocuous_$ac_func
25313 /* System header to define __stub macros and hopefully few prototypes,
25314 which can conflict with char $ac_func (); below.
25315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25316 <limits.h> exists even on freestanding compilers. */
25319 # include <limits.h>
25321 # include <assert.h>
25326 /* Override any gcc2 internal prototype to avoid an error. */
25331 /* We use char because int might match the return type of a gcc2
25332 builtin and then its argument prototype would still apply. */
25334 /* The GNU C library defines this for functions which it implements
25335 to always fail with ENOSYS. Some functions are actually named
25336 something starting with __ and the normal name is an alias. */
25337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25340 char (*f) () = $ac_func;
25349 return f != $ac_func;
25354 rm -f conftest.
$ac_objext conftest
$ac_exeext
25355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25356 (eval $ac_link) 2>conftest.er1
25358 grep -v '^ *+' conftest.er1
>conftest.err
25360 cat conftest.err
>&5
25361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25362 (exit $ac_status); } &&
25363 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25365 (eval $ac_try) 2>&5
25367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25368 (exit $ac_status); }; } &&
25369 { ac_try
='test -s conftest$ac_exeext'
25370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25371 (eval $ac_try) 2>&5
25373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25374 (exit $ac_status); }; }; then
25375 eval "$as_ac_var=yes"
25377 echo "$as_me: failed program was:" >&5
25378 sed 's/^/| /' conftest.
$ac_ext >&5
25380 eval "$as_ac_var=no"
25382 rm -f conftest.err conftest.
$ac_objext \
25383 conftest
$ac_exeext conftest.
$ac_ext
25385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25387 if test `eval echo '${'$as_ac_var'}'` = yes; then
25388 cat >>confdefs.h
<<_ACEOF
25389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25396 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
25397 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
25398 cat >conftest.
$ac_ext <<_ACEOF
25401 cat confdefs.h
>>conftest.
$ac_ext
25402 cat >>conftest.
$ac_ext <<_ACEOF
25403 /* end confdefs.h. */
25405 #include <gtk/gtk.h>
25411 #if !GTK_CHECK_VERSION(2,4,0)
25412 #error "Not GTK+ 2.4"
25419 rm -f conftest.
$ac_objext
25420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25421 (eval $ac_compile) 2>conftest.er1
25423 grep -v '^ *+' conftest.er1
>conftest.err
25425 cat conftest.err
>&5
25426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25427 (exit $ac_status); } &&
25428 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25430 (eval $ac_try) 2>&5
25432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25433 (exit $ac_status); }; } &&
25434 { ac_try
='test -s conftest.$ac_objext'
25435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25436 (eval $ac_try) 2>&5
25438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25439 (exit $ac_status); }; }; then
25441 cat >>confdefs.h
<<\_ACEOF
25442 #define __WXGTK24__ 1
25445 echo "$as_me:$LINENO: result: yes" >&5
25446 echo "${ECHO_T}yes" >&6
25449 echo "$as_me: failed program was:" >&5
25450 sed 's/^/| /' conftest.
$ac_ext >&5
25453 echo "$as_me:$LINENO: result: no" >&5
25454 echo "${ECHO_T}no" >&6
25457 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25459 CFLAGS
="$save_CFLAGS"
25462 if test "$wxUSE_UNICODE" = "yes"; then
25463 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
25464 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
25469 if test "$USE_DARWIN" != 1; then
25471 for ac_func
in poll
25473 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25474 echo "$as_me:$LINENO: checking for $ac_func" >&5
25475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25476 if eval "test \"\${$as_ac_var+set}\" = set"; then
25477 echo $ECHO_N "(cached) $ECHO_C" >&6
25479 cat >conftest.
$ac_ext <<_ACEOF
25482 cat confdefs.h
>>conftest.
$ac_ext
25483 cat >>conftest.
$ac_ext <<_ACEOF
25484 /* end confdefs.h. */
25485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25487 #define $ac_func innocuous_$ac_func
25489 /* System header to define __stub macros and hopefully few prototypes,
25490 which can conflict with char $ac_func (); below.
25491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25492 <limits.h> exists even on freestanding compilers. */
25495 # include <limits.h>
25497 # include <assert.h>
25502 /* Override any gcc2 internal prototype to avoid an error. */
25507 /* We use char because int might match the return type of a gcc2
25508 builtin and then its argument prototype would still apply. */
25510 /* The GNU C library defines this for functions which it implements
25511 to always fail with ENOSYS. Some functions are actually named
25512 something starting with __ and the normal name is an alias. */
25513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25516 char (*f) () = $ac_func;
25525 return f != $ac_func;
25530 rm -f conftest.
$ac_objext conftest
$ac_exeext
25531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25532 (eval $ac_link) 2>conftest.er1
25534 grep -v '^ *+' conftest.er1
>conftest.err
25536 cat conftest.err
>&5
25537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25538 (exit $ac_status); } &&
25539 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25541 (eval $ac_try) 2>&5
25543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25544 (exit $ac_status); }; } &&
25545 { ac_try
='test -s conftest$ac_exeext'
25546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25547 (eval $ac_try) 2>&5
25549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25550 (exit $ac_status); }; }; then
25551 eval "$as_ac_var=yes"
25553 echo "$as_me: failed program was:" >&5
25554 sed 's/^/| /' conftest.
$ac_ext >&5
25556 eval "$as_ac_var=no"
25558 rm -f conftest.err conftest.
$ac_objext \
25559 conftest
$ac_exeext conftest.
$ac_ext
25561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25563 if test `eval echo '${'$as_ac_var'}'` = yes; then
25564 cat >>confdefs.h
<<_ACEOF
25565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25573 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
25574 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
25576 AFMINSTALL
=afminstall
25580 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
25581 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
25582 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
25583 echo $ECHO_N "(cached) $ECHO_C" >&6
25585 ac_check_lib_save_LIBS
=$LIBS
25587 cat >conftest.
$ac_ext <<_ACEOF
25590 cat confdefs.h
>>conftest.
$ac_ext
25591 cat >>conftest.
$ac_ext <<_ACEOF
25592 /* end confdefs.h. */
25594 /* Override any gcc2 internal prototype to avoid an error. */
25598 /* We use char because int might match the return type of a gcc2
25599 builtin and then its argument prototype would still apply. */
25600 char gdk_im_open ();
25609 rm -f conftest.
$ac_objext conftest
$ac_exeext
25610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25611 (eval $ac_link) 2>conftest.er1
25613 grep -v '^ *+' conftest.er1
>conftest.err
25615 cat conftest.err
>&5
25616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25617 (exit $ac_status); } &&
25618 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25620 (eval $ac_try) 2>&5
25622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25623 (exit $ac_status); }; } &&
25624 { ac_try
='test -s conftest$ac_exeext'
25625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25626 (eval $ac_try) 2>&5
25628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25629 (exit $ac_status); }; }; then
25630 ac_cv_lib_gdk_gdk_im_open
=yes
25632 echo "$as_me: failed program was:" >&5
25633 sed 's/^/| /' conftest.
$ac_ext >&5
25635 ac_cv_lib_gdk_gdk_im_open
=no
25637 rm -f conftest.err conftest.
$ac_objext \
25638 conftest
$ac_exeext conftest.
$ac_ext
25639 LIBS
=$ac_check_lib_save_LIBS
25641 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
25642 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
25643 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
25644 cat >>confdefs.h
<<\_ACEOF
25652 if test "$wxUSE_GPE" = "yes"; then
25653 echo "$as_me:$LINENO: checking for gpewidget library" >&5
25654 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
25657 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25659 for ac_extension
in a so sl dylib
; do
25660 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
25661 ac_find_libraries
=$ac_dir
25667 if test "$ac_find_libraries" != "" ; then
25669 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
25671 if test $result = 0; then
25674 ac_path_to_link
=" -L$ac_find_libraries"
25677 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
25679 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25680 echo "${ECHO_T}found at $ac_find_libraries" >&6
25682 echo "$as_me:$LINENO: result: not found" >&5
25683 echo "${ECHO_T}not found" >&6
25689 if test "$wxUSE_MGL" = 1; then
25690 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
25691 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
25692 if test "x$MGL_ROOT" = x
; then
25693 echo "$as_me:$LINENO: result: not found" >&5
25694 echo "${ECHO_T}not found" >&6
25695 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
25696 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
25697 { (exit 1); exit 1; }; }
25699 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
25700 echo "${ECHO_T}$MGL_ROOT" >&6
25703 echo "$as_me:$LINENO: checking for libmgl location" >&5
25704 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
25707 if test "x$wxUSE_SHARED" = xyes
; then
25708 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
25710 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
25714 mgl_os_candidates
="dos32/dj2"
25717 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
25718 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
25719 { (exit 1); exit 1; }; }
25725 for mgl_os_i
in $mgl_os_candidates ; do
25726 if test "x$mgl_os" = x
; then
25727 if test "$wxUSE_DEBUG_FLAG" = yes ; then
25728 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
25729 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
25734 if test "x$mgl_lib_type" = x
; then
25735 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
25736 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
25737 mgl_lib_type
=release
25744 if test "x$mgl_os" = x
; then
25745 echo "$as_me:$LINENO: result: not found" >&5
25746 echo "${ECHO_T}not found" >&6
25747 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
25748 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
25749 { (exit 1); exit 1; }; }
25751 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
25752 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
25754 wxUSE_UNIVERSAL
="yes"
25756 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
25757 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
25759 AFMINSTALL
=afminstall
25764 if test "$wxUSE_MICROWIN" = 1; then
25765 echo "$as_me:$LINENO: checking for MicroWindows" >&5
25766 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
25767 if test "x$MICROWINDOWS" = x
; then
25768 echo "$as_me:$LINENO: result: not found" >&5
25769 echo "${ECHO_T}not found" >&6
25770 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
25771 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
25772 { (exit 1); exit 1; }; }
25774 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
25775 echo "${ECHO_T}$MICROWINDOWS" >&6
25778 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
25779 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
25780 echo "${ECHO_T}MicroWindows' libraries found." >&6
25782 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
25783 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
25784 { (exit 1); exit 1; }; }
25787 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
25788 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
25790 wxUSE_UNIVERSAL
="yes"
25792 AFMINSTALL
=afminstall
25794 GUIDIST
=MICROWIN_DIST
25796 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
25799 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
25801 if test "x$ac_path_x_has_been_run" != xyes
; then
25802 echo "$as_me:$LINENO: checking for X" >&5
25803 echo $ECHO_N "checking for X... $ECHO_C" >&6
25805 ac_path_x_has_been_run
=yes
25807 # Check whether --with-x or --without-x was given.
25808 if test "${with_x+set}" = set; then
25812 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
25813 if test "x$with_x" = xno
; then
25814 # The user explicitly disabled X.
25817 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
25818 # Both variables are already set.
25821 if test "${ac_cv_have_x+set}" = set; then
25822 echo $ECHO_N "(cached) $ECHO_C" >&6
25824 # One or both of the vars are not set, and there is no cached value.
25825 ac_x_includes
=no ac_x_libraries
=no
25826 rm -fr conftest.dir
25827 if mkdir conftest.dir
; then
25829 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
25830 cat >Imakefile
<<'_ACEOF'
25832 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
25834 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
25835 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
25836 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
25837 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
25838 for ac_extension
in a so sl
; do
25839 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
25840 test -f $ac_im_libdir/libX11.
$ac_extension; then
25841 ac_im_usrlibdir
=$ac_im_libdir; break
25844 # Screen out bogus values from the imake configuration. They are
25845 # bogus both because they are the default anyway, and because
25846 # using them would break gcc on systems where it needs fixed includes.
25847 case $ac_im_incroot in
25849 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
25851 case $ac_im_usrlibdir in
25852 /usr
/lib
| /lib
) ;;
25853 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
25857 rm -fr conftest.dir
25860 # Standard set of common directories for X headers.
25861 # Check X11 before X11Rn because it is often a symlink to the current release.
25873 /usr/local/X11/include
25874 /usr/local/X11R6/include
25875 /usr/local/X11R5/include
25876 /usr/local/X11R4/include
25878 /usr/local/include/X11
25879 /usr/local/include/X11R6
25880 /usr/local/include/X11R5
25881 /usr/local/include/X11R4
25885 /usr/XFree86/include/X11
25889 /usr/unsupported/include
25890 /usr/athena/include
25891 /usr/local/x11r5/include
25892 /usr/lpp/Xamples/include
25894 /usr/openwin/include
25895 /usr/openwin/share/include'
25897 if test "$ac_x_includes" = no
; then
25898 # Guess where to find include files, by looking for a specified header file.
25899 # First, try using that file with no special directory specified.
25900 cat >conftest.
$ac_ext <<_ACEOF
25903 cat confdefs.h
>>conftest.
$ac_ext
25904 cat >>conftest.
$ac_ext <<_ACEOF
25905 /* end confdefs.h. */
25906 #include <X11/Intrinsic.h>
25908 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25909 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25911 grep -v '^ *+' conftest.er1
>conftest.err
25913 cat conftest.err
>&5
25914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25915 (exit $ac_status); } >/dev
/null
; then
25916 if test -s conftest.err
; then
25917 ac_cpp_err
=$ac_c_preproc_warn_flag
25918 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25925 if test -z "$ac_cpp_err"; then
25926 # We can compile using X headers with no special include directory.
25929 echo "$as_me: failed program was:" >&5
25930 sed 's/^/| /' conftest.
$ac_ext >&5
25932 for ac_dir
in $ac_x_header_dirs; do
25933 if test -r "$ac_dir/X11/Intrinsic.h"; then
25934 ac_x_includes
=$ac_dir
25939 rm -f conftest.err conftest.
$ac_ext
25940 fi # $ac_x_includes = no
25942 if test "$ac_x_libraries" = no
; then
25943 # Check for the libraries.
25944 # See if we find them without any special options.
25945 # Don't add to $LIBS permanently.
25948 cat >conftest.
$ac_ext <<_ACEOF
25951 cat confdefs.h
>>conftest.
$ac_ext
25952 cat >>conftest.
$ac_ext <<_ACEOF
25953 /* end confdefs.h. */
25954 #include <X11/Intrinsic.h>
25963 rm -f conftest.
$ac_objext conftest
$ac_exeext
25964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25965 (eval $ac_link) 2>conftest.er1
25967 grep -v '^ *+' conftest.er1
>conftest.err
25969 cat conftest.err
>&5
25970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25971 (exit $ac_status); } &&
25972 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25974 (eval $ac_try) 2>&5
25976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25977 (exit $ac_status); }; } &&
25978 { ac_try
='test -s conftest$ac_exeext'
25979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25980 (eval $ac_try) 2>&5
25982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25983 (exit $ac_status); }; }; then
25985 # We can link X programs with no special library path.
25988 echo "$as_me: failed program was:" >&5
25989 sed 's/^/| /' conftest.
$ac_ext >&5
25992 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25994 # Don't even attempt the hair of trying to link an X program!
25995 for ac_extension
in a so sl
; do
25996 if test -r $ac_dir/libXt.
$ac_extension; then
25997 ac_x_libraries
=$ac_dir
26003 rm -f conftest.err conftest.
$ac_objext \
26004 conftest
$ac_exeext conftest.
$ac_ext
26005 fi # $ac_x_libraries = no
26007 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
26008 # Didn't find X anywhere. Cache the known absence of X.
26009 ac_cv_have_x
="have_x=no"
26011 # Record where we found X for the cache.
26012 ac_cv_have_x
="have_x=yes \
26013 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
26018 eval "$ac_cv_have_x"
26021 if test "$have_x" != yes; then
26022 echo "$as_me:$LINENO: result: $have_x" >&5
26023 echo "${ECHO_T}$have_x" >&6
26026 # If each of the values was on the command line, it overrides each guess.
26027 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
26028 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
26029 # Update the cache value to reflect the command line values.
26030 ac_cv_have_x
="have_x=yes \
26031 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
26032 # It might be that x_includes is empty (headers are found in the
26033 # standard search path. Then output the corresponding message
26034 ac_out_x_includes
=$x_includes
26035 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
26036 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
26037 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
26041 if test "$no_x" = yes; then
26042 # Not all programs may use this symbol, but it does not hurt to define it.
26044 cat >>confdefs.h
<<\_ACEOF
26045 #define X_DISPLAY_MISSING 1
26048 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
26050 if test -n "$x_includes"; then
26051 X_CFLAGS
="$X_CFLAGS -I$x_includes"
26054 # It would also be nice to do this for all -L options, not just this one.
26055 if test -n "$x_libraries"; then
26056 X_LIBS
="$X_LIBS -L$x_libraries"
26057 # For Solaris; some versions of Sun CC require a space after -R and
26058 # others require no space. Words are not sufficient . . . .
26059 case `(uname -sr) 2>/dev/null` in
26061 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
26062 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
26063 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
26064 cat >conftest.
$ac_ext <<_ACEOF
26067 cat confdefs.h
>>conftest.
$ac_ext
26068 cat >>conftest.
$ac_ext <<_ACEOF
26069 /* end confdefs.h. */
26079 rm -f conftest.
$ac_objext conftest
$ac_exeext
26080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26081 (eval $ac_link) 2>conftest.er1
26083 grep -v '^ *+' conftest.er1
>conftest.err
26085 cat conftest.err
>&5
26086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26087 (exit $ac_status); } &&
26088 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26090 (eval $ac_try) 2>&5
26092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26093 (exit $ac_status); }; } &&
26094 { ac_try
='test -s conftest$ac_exeext'
26095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26096 (eval $ac_try) 2>&5
26098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26099 (exit $ac_status); }; }; then
26102 echo "$as_me: failed program was:" >&5
26103 sed 's/^/| /' conftest.
$ac_ext >&5
26107 rm -f conftest.err conftest.
$ac_objext \
26108 conftest
$ac_exeext conftest.
$ac_ext
26109 if test $ac_R_nospace = yes; then
26110 echo "$as_me:$LINENO: result: no" >&5
26111 echo "${ECHO_T}no" >&6
26112 X_LIBS
="$X_LIBS -R$x_libraries"
26114 LIBS
="$ac_xsave_LIBS -R $x_libraries"
26115 cat >conftest.
$ac_ext <<_ACEOF
26118 cat confdefs.h
>>conftest.
$ac_ext
26119 cat >>conftest.
$ac_ext <<_ACEOF
26120 /* end confdefs.h. */
26130 rm -f conftest.
$ac_objext conftest
$ac_exeext
26131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26132 (eval $ac_link) 2>conftest.er1
26134 grep -v '^ *+' conftest.er1
>conftest.err
26136 cat conftest.err
>&5
26137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26138 (exit $ac_status); } &&
26139 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26141 (eval $ac_try) 2>&5
26143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26144 (exit $ac_status); }; } &&
26145 { ac_try
='test -s conftest$ac_exeext'
26146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26147 (eval $ac_try) 2>&5
26149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26150 (exit $ac_status); }; }; then
26153 echo "$as_me: failed program was:" >&5
26154 sed 's/^/| /' conftest.
$ac_ext >&5
26158 rm -f conftest.err conftest.
$ac_objext \
26159 conftest
$ac_exeext conftest.
$ac_ext
26160 if test $ac_R_space = yes; then
26161 echo "$as_me:$LINENO: result: yes" >&5
26162 echo "${ECHO_T}yes" >&6
26163 X_LIBS
="$X_LIBS -R $x_libraries"
26165 echo "$as_me:$LINENO: result: neither works" >&5
26166 echo "${ECHO_T}neither works" >&6
26169 LIBS
=$ac_xsave_LIBS
26173 # Check for system-dependent libraries X programs must link with.
26174 # Do this before checking for the system-independent R6 libraries
26175 # (-lICE), since we may need -lsocket or whatever for X linking.
26177 if test "$ISC" = yes; then
26178 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
26180 # Martyn Johnson says this is needed for Ultrix, if the X
26181 # libraries were built with DECnet support. And Karl Berry says
26182 # the Alpha needs dnet_stub (dnet does not exist).
26183 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
26184 cat >conftest.
$ac_ext <<_ACEOF
26187 cat confdefs.h
>>conftest.
$ac_ext
26188 cat >>conftest.
$ac_ext <<_ACEOF
26189 /* end confdefs.h. */
26191 /* Override any gcc2 internal prototype to avoid an error. */
26195 /* We use char because int might match the return type of a gcc2
26196 builtin and then its argument prototype would still apply. */
26197 char XOpenDisplay ();
26206 rm -f conftest.
$ac_objext conftest
$ac_exeext
26207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26208 (eval $ac_link) 2>conftest.er1
26210 grep -v '^ *+' conftest.er1
>conftest.err
26212 cat conftest.err
>&5
26213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26214 (exit $ac_status); } &&
26215 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26217 (eval $ac_try) 2>&5
26219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26220 (exit $ac_status); }; } &&
26221 { ac_try
='test -s conftest$ac_exeext'
26222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26223 (eval $ac_try) 2>&5
26225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26226 (exit $ac_status); }; }; then
26229 echo "$as_me: failed program was:" >&5
26230 sed 's/^/| /' conftest.
$ac_ext >&5
26232 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
26233 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
26234 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
26235 echo $ECHO_N "(cached) $ECHO_C" >&6
26237 ac_check_lib_save_LIBS
=$LIBS
26238 LIBS
="-ldnet $LIBS"
26239 cat >conftest.
$ac_ext <<_ACEOF
26242 cat confdefs.h
>>conftest.
$ac_ext
26243 cat >>conftest.
$ac_ext <<_ACEOF
26244 /* end confdefs.h. */
26246 /* Override any gcc2 internal prototype to avoid an error. */
26250 /* We use char because int might match the return type of a gcc2
26251 builtin and then its argument prototype would still apply. */
26261 rm -f conftest.
$ac_objext conftest
$ac_exeext
26262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26263 (eval $ac_link) 2>conftest.er1
26265 grep -v '^ *+' conftest.er1
>conftest.err
26267 cat conftest.err
>&5
26268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26269 (exit $ac_status); } &&
26270 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26272 (eval $ac_try) 2>&5
26274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26275 (exit $ac_status); }; } &&
26276 { ac_try
='test -s conftest$ac_exeext'
26277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26278 (eval $ac_try) 2>&5
26280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26281 (exit $ac_status); }; }; then
26282 ac_cv_lib_dnet_dnet_ntoa
=yes
26284 echo "$as_me: failed program was:" >&5
26285 sed 's/^/| /' conftest.
$ac_ext >&5
26287 ac_cv_lib_dnet_dnet_ntoa
=no
26289 rm -f conftest.err conftest.
$ac_objext \
26290 conftest
$ac_exeext conftest.
$ac_ext
26291 LIBS
=$ac_check_lib_save_LIBS
26293 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
26294 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
26295 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
26296 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
26299 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
26300 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
26301 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
26302 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
26303 echo $ECHO_N "(cached) $ECHO_C" >&6
26305 ac_check_lib_save_LIBS
=$LIBS
26306 LIBS
="-ldnet_stub $LIBS"
26307 cat >conftest.
$ac_ext <<_ACEOF
26310 cat confdefs.h
>>conftest.
$ac_ext
26311 cat >>conftest.
$ac_ext <<_ACEOF
26312 /* end confdefs.h. */
26314 /* Override any gcc2 internal prototype to avoid an error. */
26318 /* We use char because int might match the return type of a gcc2
26319 builtin and then its argument prototype would still apply. */
26329 rm -f conftest.
$ac_objext conftest
$ac_exeext
26330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26331 (eval $ac_link) 2>conftest.er1
26333 grep -v '^ *+' conftest.er1
>conftest.err
26335 cat conftest.err
>&5
26336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26337 (exit $ac_status); } &&
26338 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26340 (eval $ac_try) 2>&5
26342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26343 (exit $ac_status); }; } &&
26344 { ac_try
='test -s conftest$ac_exeext'
26345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26346 (eval $ac_try) 2>&5
26348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26349 (exit $ac_status); }; }; then
26350 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
26352 echo "$as_me: failed program was:" >&5
26353 sed 's/^/| /' conftest.
$ac_ext >&5
26355 ac_cv_lib_dnet_stub_dnet_ntoa
=no
26357 rm -f conftest.err conftest.
$ac_objext \
26358 conftest
$ac_exeext conftest.
$ac_ext
26359 LIBS
=$ac_check_lib_save_LIBS
26361 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26362 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
26363 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
26364 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
26369 rm -f conftest.err conftest.
$ac_objext \
26370 conftest
$ac_exeext conftest.
$ac_ext
26371 LIBS
="$ac_xsave_LIBS"
26373 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26374 # to get the SysV transport functions.
26375 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26377 # The nsl library prevents programs from opening the X display
26378 # on Irix 5.2, according to T.E. Dickey.
26379 # The functions gethostbyname, getservbyname, and inet_addr are
26380 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26381 echo "$as_me:$LINENO: checking for gethostbyname" >&5
26382 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
26383 if test "${ac_cv_func_gethostbyname+set}" = set; then
26384 echo $ECHO_N "(cached) $ECHO_C" >&6
26386 cat >conftest.
$ac_ext <<_ACEOF
26389 cat confdefs.h
>>conftest.
$ac_ext
26390 cat >>conftest.
$ac_ext <<_ACEOF
26391 /* end confdefs.h. */
26392 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26394 #define gethostbyname innocuous_gethostbyname
26396 /* System header to define __stub macros and hopefully few prototypes,
26397 which can conflict with char gethostbyname (); below.
26398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26399 <limits.h> exists even on freestanding compilers. */
26402 # include <limits.h>
26404 # include <assert.h>
26407 #undef gethostbyname
26409 /* Override any gcc2 internal prototype to avoid an error. */
26414 /* We use char because int might match the return type of a gcc2
26415 builtin and then its argument prototype would still apply. */
26416 char gethostbyname ();
26417 /* The GNU C library defines this for functions which it implements
26418 to always fail with ENOSYS. Some functions are actually named
26419 something starting with __ and the normal name is an alias. */
26420 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
26423 char (*f) () = gethostbyname;
26432 return f != gethostbyname;
26437 rm -f conftest.
$ac_objext conftest
$ac_exeext
26438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26439 (eval $ac_link) 2>conftest.er1
26441 grep -v '^ *+' conftest.er1
>conftest.err
26443 cat conftest.err
>&5
26444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26445 (exit $ac_status); } &&
26446 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26448 (eval $ac_try) 2>&5
26450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26451 (exit $ac_status); }; } &&
26452 { ac_try
='test -s conftest$ac_exeext'
26453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26454 (eval $ac_try) 2>&5
26456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26457 (exit $ac_status); }; }; then
26458 ac_cv_func_gethostbyname
=yes
26460 echo "$as_me: failed program was:" >&5
26461 sed 's/^/| /' conftest.
$ac_ext >&5
26463 ac_cv_func_gethostbyname
=no
26465 rm -f conftest.err conftest.
$ac_objext \
26466 conftest
$ac_exeext conftest.
$ac_ext
26468 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
26469 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
26471 if test $ac_cv_func_gethostbyname = no
; then
26472 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
26473 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
26474 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
26475 echo $ECHO_N "(cached) $ECHO_C" >&6
26477 ac_check_lib_save_LIBS
=$LIBS
26479 cat >conftest.
$ac_ext <<_ACEOF
26482 cat confdefs.h
>>conftest.
$ac_ext
26483 cat >>conftest.
$ac_ext <<_ACEOF
26484 /* end confdefs.h. */
26486 /* Override any gcc2 internal prototype to avoid an error. */
26490 /* We use char because int might match the return type of a gcc2
26491 builtin and then its argument prototype would still apply. */
26492 char gethostbyname ();
26501 rm -f conftest.
$ac_objext conftest
$ac_exeext
26502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26503 (eval $ac_link) 2>conftest.er1
26505 grep -v '^ *+' conftest.er1
>conftest.err
26507 cat conftest.err
>&5
26508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26509 (exit $ac_status); } &&
26510 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26512 (eval $ac_try) 2>&5
26514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26515 (exit $ac_status); }; } &&
26516 { ac_try
='test -s conftest$ac_exeext'
26517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26518 (eval $ac_try) 2>&5
26520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26521 (exit $ac_status); }; }; then
26522 ac_cv_lib_nsl_gethostbyname
=yes
26524 echo "$as_me: failed program was:" >&5
26525 sed 's/^/| /' conftest.
$ac_ext >&5
26527 ac_cv_lib_nsl_gethostbyname
=no
26529 rm -f conftest.err conftest.
$ac_objext \
26530 conftest
$ac_exeext conftest.
$ac_ext
26531 LIBS
=$ac_check_lib_save_LIBS
26533 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
26534 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
26535 if test $ac_cv_lib_nsl_gethostbyname = yes; then
26536 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
26539 if test $ac_cv_lib_nsl_gethostbyname = no
; then
26540 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
26541 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
26542 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
26543 echo $ECHO_N "(cached) $ECHO_C" >&6
26545 ac_check_lib_save_LIBS
=$LIBS
26547 cat >conftest.
$ac_ext <<_ACEOF
26550 cat confdefs.h
>>conftest.
$ac_ext
26551 cat >>conftest.
$ac_ext <<_ACEOF
26552 /* end confdefs.h. */
26554 /* Override any gcc2 internal prototype to avoid an error. */
26558 /* We use char because int might match the return type of a gcc2
26559 builtin and then its argument prototype would still apply. */
26560 char gethostbyname ();
26569 rm -f conftest.
$ac_objext conftest
$ac_exeext
26570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26571 (eval $ac_link) 2>conftest.er1
26573 grep -v '^ *+' conftest.er1
>conftest.err
26575 cat conftest.err
>&5
26576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26577 (exit $ac_status); } &&
26578 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26580 (eval $ac_try) 2>&5
26582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26583 (exit $ac_status); }; } &&
26584 { ac_try
='test -s conftest$ac_exeext'
26585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26586 (eval $ac_try) 2>&5
26588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26589 (exit $ac_status); }; }; then
26590 ac_cv_lib_bsd_gethostbyname
=yes
26592 echo "$as_me: failed program was:" >&5
26593 sed 's/^/| /' conftest.
$ac_ext >&5
26595 ac_cv_lib_bsd_gethostbyname
=no
26597 rm -f conftest.err conftest.
$ac_objext \
26598 conftest
$ac_exeext conftest.
$ac_ext
26599 LIBS
=$ac_check_lib_save_LIBS
26601 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
26602 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
26603 if test $ac_cv_lib_bsd_gethostbyname = yes; then
26604 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
26610 # lieder@skyler.mavd.honeywell.com says without -lsocket,
26611 # socket/setsockopt and other routines are undefined under SCO ODT
26612 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
26613 # on later versions), says Simon Leinen: it contains gethostby*
26614 # variants that don't use the name server (or something). -lsocket
26615 # must be given before -lnsl if both are needed. We assume that
26616 # if connect needs -lnsl, so does gethostbyname.
26617 echo "$as_me:$LINENO: checking for connect" >&5
26618 echo $ECHO_N "checking for connect... $ECHO_C" >&6
26619 if test "${ac_cv_func_connect+set}" = set; then
26620 echo $ECHO_N "(cached) $ECHO_C" >&6
26622 cat >conftest.
$ac_ext <<_ACEOF
26625 cat confdefs.h
>>conftest.
$ac_ext
26626 cat >>conftest.
$ac_ext <<_ACEOF
26627 /* end confdefs.h. */
26628 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
26629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26630 #define connect innocuous_connect
26632 /* System header to define __stub macros and hopefully few prototypes,
26633 which can conflict with char connect (); below.
26634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26635 <limits.h> exists even on freestanding compilers. */
26638 # include <limits.h>
26640 # include <assert.h>
26645 /* Override any gcc2 internal prototype to avoid an error. */
26650 /* We use char because int might match the return type of a gcc2
26651 builtin and then its argument prototype would still apply. */
26653 /* The GNU C library defines this for functions which it implements
26654 to always fail with ENOSYS. Some functions are actually named
26655 something starting with __ and the normal name is an alias. */
26656 #if defined (__stub_connect) || defined (__stub___connect)
26659 char (*f) () = connect;
26668 return f != connect;
26673 rm -f conftest.
$ac_objext conftest
$ac_exeext
26674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26675 (eval $ac_link) 2>conftest.er1
26677 grep -v '^ *+' conftest.er1
>conftest.err
26679 cat conftest.err
>&5
26680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26681 (exit $ac_status); } &&
26682 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26684 (eval $ac_try) 2>&5
26686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26687 (exit $ac_status); }; } &&
26688 { ac_try
='test -s conftest$ac_exeext'
26689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26690 (eval $ac_try) 2>&5
26692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26693 (exit $ac_status); }; }; then
26694 ac_cv_func_connect
=yes
26696 echo "$as_me: failed program was:" >&5
26697 sed 's/^/| /' conftest.
$ac_ext >&5
26699 ac_cv_func_connect
=no
26701 rm -f conftest.err conftest.
$ac_objext \
26702 conftest
$ac_exeext conftest.
$ac_ext
26704 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
26705 echo "${ECHO_T}$ac_cv_func_connect" >&6
26707 if test $ac_cv_func_connect = no
; then
26708 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
26709 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
26710 if test "${ac_cv_lib_socket_connect+set}" = set; then
26711 echo $ECHO_N "(cached) $ECHO_C" >&6
26713 ac_check_lib_save_LIBS
=$LIBS
26714 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
26715 cat >conftest.
$ac_ext <<_ACEOF
26718 cat confdefs.h
>>conftest.
$ac_ext
26719 cat >>conftest.
$ac_ext <<_ACEOF
26720 /* end confdefs.h. */
26722 /* Override any gcc2 internal prototype to avoid an error. */
26726 /* We use char because int might match the return type of a gcc2
26727 builtin and then its argument prototype would still apply. */
26737 rm -f conftest.
$ac_objext conftest
$ac_exeext
26738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26739 (eval $ac_link) 2>conftest.er1
26741 grep -v '^ *+' conftest.er1
>conftest.err
26743 cat conftest.err
>&5
26744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26745 (exit $ac_status); } &&
26746 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26748 (eval $ac_try) 2>&5
26750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26751 (exit $ac_status); }; } &&
26752 { ac_try
='test -s conftest$ac_exeext'
26753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26754 (eval $ac_try) 2>&5
26756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26757 (exit $ac_status); }; }; then
26758 ac_cv_lib_socket_connect
=yes
26760 echo "$as_me: failed program was:" >&5
26761 sed 's/^/| /' conftest.
$ac_ext >&5
26763 ac_cv_lib_socket_connect
=no
26765 rm -f conftest.err conftest.
$ac_objext \
26766 conftest
$ac_exeext conftest.
$ac_ext
26767 LIBS
=$ac_check_lib_save_LIBS
26769 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
26770 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
26771 if test $ac_cv_lib_socket_connect = yes; then
26772 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
26777 # Guillermo Gomez says -lposix is necessary on A/UX.
26778 echo "$as_me:$LINENO: checking for remove" >&5
26779 echo $ECHO_N "checking for remove... $ECHO_C" >&6
26780 if test "${ac_cv_func_remove+set}" = set; then
26781 echo $ECHO_N "(cached) $ECHO_C" >&6
26783 cat >conftest.
$ac_ext <<_ACEOF
26786 cat confdefs.h
>>conftest.
$ac_ext
26787 cat >>conftest.
$ac_ext <<_ACEOF
26788 /* end confdefs.h. */
26789 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
26790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26791 #define remove innocuous_remove
26793 /* System header to define __stub macros and hopefully few prototypes,
26794 which can conflict with char remove (); below.
26795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26796 <limits.h> exists even on freestanding compilers. */
26799 # include <limits.h>
26801 # include <assert.h>
26806 /* Override any gcc2 internal prototype to avoid an error. */
26811 /* We use char because int might match the return type of a gcc2
26812 builtin and then its argument prototype would still apply. */
26814 /* The GNU C library defines this for functions which it implements
26815 to always fail with ENOSYS. Some functions are actually named
26816 something starting with __ and the normal name is an alias. */
26817 #if defined (__stub_remove) || defined (__stub___remove)
26820 char (*f) () = remove;
26829 return f != remove;
26834 rm -f conftest.
$ac_objext conftest
$ac_exeext
26835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26836 (eval $ac_link) 2>conftest.er1
26838 grep -v '^ *+' conftest.er1
>conftest.err
26840 cat conftest.err
>&5
26841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26842 (exit $ac_status); } &&
26843 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26845 (eval $ac_try) 2>&5
26847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26848 (exit $ac_status); }; } &&
26849 { ac_try
='test -s conftest$ac_exeext'
26850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26851 (eval $ac_try) 2>&5
26853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26854 (exit $ac_status); }; }; then
26855 ac_cv_func_remove
=yes
26857 echo "$as_me: failed program was:" >&5
26858 sed 's/^/| /' conftest.
$ac_ext >&5
26860 ac_cv_func_remove
=no
26862 rm -f conftest.err conftest.
$ac_objext \
26863 conftest
$ac_exeext conftest.
$ac_ext
26865 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
26866 echo "${ECHO_T}$ac_cv_func_remove" >&6
26868 if test $ac_cv_func_remove = no
; then
26869 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
26870 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
26871 if test "${ac_cv_lib_posix_remove+set}" = set; then
26872 echo $ECHO_N "(cached) $ECHO_C" >&6
26874 ac_check_lib_save_LIBS
=$LIBS
26875 LIBS
="-lposix $LIBS"
26876 cat >conftest.
$ac_ext <<_ACEOF
26879 cat confdefs.h
>>conftest.
$ac_ext
26880 cat >>conftest.
$ac_ext <<_ACEOF
26881 /* end confdefs.h. */
26883 /* Override any gcc2 internal prototype to avoid an error. */
26887 /* We use char because int might match the return type of a gcc2
26888 builtin and then its argument prototype would still apply. */
26898 rm -f conftest.
$ac_objext conftest
$ac_exeext
26899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26900 (eval $ac_link) 2>conftest.er1
26902 grep -v '^ *+' conftest.er1
>conftest.err
26904 cat conftest.err
>&5
26905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26906 (exit $ac_status); } &&
26907 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26909 (eval $ac_try) 2>&5
26911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26912 (exit $ac_status); }; } &&
26913 { ac_try
='test -s conftest$ac_exeext'
26914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26915 (eval $ac_try) 2>&5
26917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26918 (exit $ac_status); }; }; then
26919 ac_cv_lib_posix_remove
=yes
26921 echo "$as_me: failed program was:" >&5
26922 sed 's/^/| /' conftest.
$ac_ext >&5
26924 ac_cv_lib_posix_remove
=no
26926 rm -f conftest.err conftest.
$ac_objext \
26927 conftest
$ac_exeext conftest.
$ac_ext
26928 LIBS
=$ac_check_lib_save_LIBS
26930 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
26931 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
26932 if test $ac_cv_lib_posix_remove = yes; then
26933 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
26938 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
26939 echo "$as_me:$LINENO: checking for shmat" >&5
26940 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
26941 if test "${ac_cv_func_shmat+set}" = set; then
26942 echo $ECHO_N "(cached) $ECHO_C" >&6
26944 cat >conftest.
$ac_ext <<_ACEOF
26947 cat confdefs.h
>>conftest.
$ac_ext
26948 cat >>conftest.
$ac_ext <<_ACEOF
26949 /* end confdefs.h. */
26950 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
26951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26952 #define shmat innocuous_shmat
26954 /* System header to define __stub macros and hopefully few prototypes,
26955 which can conflict with char shmat (); below.
26956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26957 <limits.h> exists even on freestanding compilers. */
26960 # include <limits.h>
26962 # include <assert.h>
26967 /* Override any gcc2 internal prototype to avoid an error. */
26972 /* We use char because int might match the return type of a gcc2
26973 builtin and then its argument prototype would still apply. */
26975 /* The GNU C library defines this for functions which it implements
26976 to always fail with ENOSYS. Some functions are actually named
26977 something starting with __ and the normal name is an alias. */
26978 #if defined (__stub_shmat) || defined (__stub___shmat)
26981 char (*f) () = shmat;
26995 rm -f conftest.
$ac_objext conftest
$ac_exeext
26996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26997 (eval $ac_link) 2>conftest.er1
26999 grep -v '^ *+' conftest.er1
>conftest.err
27001 cat conftest.err
>&5
27002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27003 (exit $ac_status); } &&
27004 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27006 (eval $ac_try) 2>&5
27008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27009 (exit $ac_status); }; } &&
27010 { ac_try
='test -s conftest$ac_exeext'
27011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27012 (eval $ac_try) 2>&5
27014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27015 (exit $ac_status); }; }; then
27016 ac_cv_func_shmat
=yes
27018 echo "$as_me: failed program was:" >&5
27019 sed 's/^/| /' conftest.
$ac_ext >&5
27021 ac_cv_func_shmat
=no
27023 rm -f conftest.err conftest.
$ac_objext \
27024 conftest
$ac_exeext conftest.
$ac_ext
27026 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
27027 echo "${ECHO_T}$ac_cv_func_shmat" >&6
27029 if test $ac_cv_func_shmat = no
; then
27030 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
27031 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
27032 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
27033 echo $ECHO_N "(cached) $ECHO_C" >&6
27035 ac_check_lib_save_LIBS
=$LIBS
27037 cat >conftest.
$ac_ext <<_ACEOF
27040 cat confdefs.h
>>conftest.
$ac_ext
27041 cat >>conftest.
$ac_ext <<_ACEOF
27042 /* end confdefs.h. */
27044 /* Override any gcc2 internal prototype to avoid an error. */
27048 /* We use char because int might match the return type of a gcc2
27049 builtin and then its argument prototype would still apply. */
27059 rm -f conftest.
$ac_objext conftest
$ac_exeext
27060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27061 (eval $ac_link) 2>conftest.er1
27063 grep -v '^ *+' conftest.er1
>conftest.err
27065 cat conftest.err
>&5
27066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27067 (exit $ac_status); } &&
27068 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27070 (eval $ac_try) 2>&5
27072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27073 (exit $ac_status); }; } &&
27074 { ac_try
='test -s conftest$ac_exeext'
27075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27076 (eval $ac_try) 2>&5
27078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27079 (exit $ac_status); }; }; then
27080 ac_cv_lib_ipc_shmat
=yes
27082 echo "$as_me: failed program was:" >&5
27083 sed 's/^/| /' conftest.
$ac_ext >&5
27085 ac_cv_lib_ipc_shmat
=no
27087 rm -f conftest.err conftest.
$ac_objext \
27088 conftest
$ac_exeext conftest.
$ac_ext
27089 LIBS
=$ac_check_lib_save_LIBS
27091 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
27092 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
27093 if test $ac_cv_lib_ipc_shmat = yes; then
27094 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
27100 # Check for libraries that X11R6 Xt/Xaw programs need.
27101 ac_save_LDFLAGS
=$LDFLAGS
27102 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
27103 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
27104 # check for ICE first), but we must link in the order -lSM -lICE or
27105 # we get undefined symbols. So assume we have SM if we have ICE.
27106 # These have to be linked with before -lX11, unlike the other
27107 # libraries we check for below, so use a different variable.
27108 # John Interrante, Karl Berry
27109 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
27110 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
27111 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
27112 echo $ECHO_N "(cached) $ECHO_C" >&6
27114 ac_check_lib_save_LIBS
=$LIBS
27115 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
27116 cat >conftest.
$ac_ext <<_ACEOF
27119 cat confdefs.h
>>conftest.
$ac_ext
27120 cat >>conftest.
$ac_ext <<_ACEOF
27121 /* end confdefs.h. */
27123 /* Override any gcc2 internal prototype to avoid an error. */
27127 /* We use char because int might match the return type of a gcc2
27128 builtin and then its argument prototype would still apply. */
27129 char IceConnectionNumber ();
27133 IceConnectionNumber ();
27138 rm -f conftest.
$ac_objext conftest
$ac_exeext
27139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27140 (eval $ac_link) 2>conftest.er1
27142 grep -v '^ *+' conftest.er1
>conftest.err
27144 cat conftest.err
>&5
27145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27146 (exit $ac_status); } &&
27147 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27149 (eval $ac_try) 2>&5
27151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27152 (exit $ac_status); }; } &&
27153 { ac_try
='test -s conftest$ac_exeext'
27154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27155 (eval $ac_try) 2>&5
27157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27158 (exit $ac_status); }; }; then
27159 ac_cv_lib_ICE_IceConnectionNumber
=yes
27161 echo "$as_me: failed program was:" >&5
27162 sed 's/^/| /' conftest.
$ac_ext >&5
27164 ac_cv_lib_ICE_IceConnectionNumber
=no
27166 rm -f conftest.err conftest.
$ac_objext \
27167 conftest
$ac_exeext conftest.
$ac_ext
27168 LIBS
=$ac_check_lib_save_LIBS
27170 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
27171 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
27172 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
27173 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
27176 LDFLAGS
=$ac_save_LDFLAGS
27181 if test "$no_x" = "yes"; then
27182 { { echo "$as_me:$LINENO: error: X11 not found" >&5
27183 echo "$as_me: error: X11 not found" >&2;}
27184 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
27187 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
27188 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
27189 AFMINSTALL
=afminstall
27190 COMPILED_X_PROGRAM
=0
27194 if test "$wxUSE_X11" = 1; then
27195 if test "$wxUSE_NANOX" = "yes"; then
27196 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
27197 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
27198 if test "x$MICROWIN" = x
; then
27199 echo "$as_me:$LINENO: result: not found" >&5
27200 echo "${ECHO_T}not found" >&6
27201 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
27202 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
27203 { (exit 1); exit 1; }; }
27205 echo "$as_me:$LINENO: result: $MICROWIN" >&5
27206 echo "${ECHO_T}$MICROWIN" >&6
27207 cat >>confdefs.h
<<\_ACEOF
27208 #define wxUSE_NANOX 1
27214 if test "$wxUSE_UNICODE" = "yes"; then
27218 if test -z "$PKG_CONFIG"; then
27219 # Extract the first word of "pkg-config", so it can be a program name with args.
27220 set dummy pkg
-config; ac_word
=$2
27221 echo "$as_me:$LINENO: checking for $ac_word" >&5
27222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27223 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27224 echo $ECHO_N "(cached) $ECHO_C" >&6
27226 case $PKG_CONFIG in
27228 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27232 for as_dir
in $PATH
27235 test -z "$as_dir" && as_dir
=.
27236 for ac_exec_ext
in '' $ac_executable_extensions; do
27237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27238 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27245 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27249 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27251 if test -n "$PKG_CONFIG"; then
27252 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27253 echo "${ECHO_T}$PKG_CONFIG" >&6
27255 echo "$as_me:$LINENO: result: no" >&5
27256 echo "${ECHO_T}no" >&6
27261 if test "$PKG_CONFIG" = "no" ; then
27262 echo "*** The pkg-config script could not be found. Make sure it is"
27263 echo "*** in your path, or set the PKG_CONFIG environment variable"
27264 echo "*** to the full path to pkg-config."
27265 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27267 PKG_CONFIG_MIN_VERSION
=0.9.0
27268 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27269 echo "$as_me:$LINENO: checking for pangox" >&5
27270 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
27272 if $PKG_CONFIG --exists "pangox" ; then
27273 echo "$as_me:$LINENO: result: yes" >&5
27274 echo "${ECHO_T}yes" >&6
27277 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
27278 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
27279 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
27280 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
27281 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
27283 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
27284 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
27285 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
27286 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
27287 echo "${ECHO_T}$PANGOX_LIBS" >&6
27291 ## If we have a custom action on failure, don't print errors, but
27292 ## do set a variable so people can do so.
27293 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
27300 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27301 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27305 if test $succeeded = yes; then
27307 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
27308 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
27312 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
27313 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
27314 { (exit 1); exit 1; }; }
27322 if test -z "$PKG_CONFIG"; then
27323 # Extract the first word of "pkg-config", so it can be a program name with args.
27324 set dummy pkg
-config; ac_word
=$2
27325 echo "$as_me:$LINENO: checking for $ac_word" >&5
27326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27327 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27328 echo $ECHO_N "(cached) $ECHO_C" >&6
27330 case $PKG_CONFIG in
27332 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27336 for as_dir
in $PATH
27339 test -z "$as_dir" && as_dir
=.
27340 for ac_exec_ext
in '' $ac_executable_extensions; do
27341 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27342 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27349 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27353 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27355 if test -n "$PKG_CONFIG"; then
27356 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27357 echo "${ECHO_T}$PKG_CONFIG" >&6
27359 echo "$as_me:$LINENO: result: no" >&5
27360 echo "${ECHO_T}no" >&6
27365 if test "$PKG_CONFIG" = "no" ; then
27366 echo "*** The pkg-config script could not be found. Make sure it is"
27367 echo "*** in your path, or set the PKG_CONFIG environment variable"
27368 echo "*** to the full path to pkg-config."
27369 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27371 PKG_CONFIG_MIN_VERSION
=0.9.0
27372 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27373 echo "$as_me:$LINENO: checking for pangoft2" >&5
27374 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
27376 if $PKG_CONFIG --exists "pangoft2" ; then
27377 echo "$as_me:$LINENO: result: yes" >&5
27378 echo "${ECHO_T}yes" >&6
27381 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
27382 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
27383 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
27384 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
27385 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
27387 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
27388 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
27389 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
27390 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
27391 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
27395 ## If we have a custom action on failure, don't print errors, but
27396 ## do set a variable so people can do so.
27397 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
27404 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27405 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27409 if test $succeeded = yes; then
27411 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
27412 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
27416 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
27417 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
27418 wxUSE_PRINTING_ARCHITECTURE
="no"
27426 if test -z "$PKG_CONFIG"; then
27427 # Extract the first word of "pkg-config", so it can be a program name with args.
27428 set dummy pkg
-config; ac_word
=$2
27429 echo "$as_me:$LINENO: checking for $ac_word" >&5
27430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27431 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27432 echo $ECHO_N "(cached) $ECHO_C" >&6
27434 case $PKG_CONFIG in
27436 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27440 for as_dir
in $PATH
27443 test -z "$as_dir" && as_dir
=.
27444 for ac_exec_ext
in '' $ac_executable_extensions; do
27445 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27446 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27453 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27457 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27459 if test -n "$PKG_CONFIG"; then
27460 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27461 echo "${ECHO_T}$PKG_CONFIG" >&6
27463 echo "$as_me:$LINENO: result: no" >&5
27464 echo "${ECHO_T}no" >&6
27469 if test "$PKG_CONFIG" = "no" ; then
27470 echo "*** The pkg-config script could not be found. Make sure it is"
27471 echo "*** in your path, or set the PKG_CONFIG environment variable"
27472 echo "*** to the full path to pkg-config."
27473 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27475 PKG_CONFIG_MIN_VERSION
=0.9.0
27476 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27477 echo "$as_me:$LINENO: checking for pangoxft" >&5
27478 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
27480 if $PKG_CONFIG --exists "pangoxft" ; then
27481 echo "$as_me:$LINENO: result: yes" >&5
27482 echo "${ECHO_T}yes" >&6
27485 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
27486 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
27487 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
27488 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
27489 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
27491 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
27492 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
27493 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
27494 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
27495 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
27499 ## If we have a custom action on failure, don't print errors, but
27500 ## do set a variable so people can do so.
27501 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
27508 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27509 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27513 if test $succeeded = yes; then
27515 cat >>confdefs.h
<<\_ACEOF
27516 #define HAVE_PANGO_XFT 1
27519 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
27520 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
27524 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
27525 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
27530 save_CFLAGS
="$CFLAGS"
27532 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
27533 LIBS
="$LIBS $PANGOX_LIBS"
27535 for ac_func
in pango_font_family_is_monospace
27537 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27538 echo "$as_me:$LINENO: checking for $ac_func" >&5
27539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27540 if eval "test \"\${$as_ac_var+set}\" = set"; then
27541 echo $ECHO_N "(cached) $ECHO_C" >&6
27543 cat >conftest.
$ac_ext <<_ACEOF
27546 cat confdefs.h
>>conftest.
$ac_ext
27547 cat >>conftest.
$ac_ext <<_ACEOF
27548 /* end confdefs.h. */
27549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27550 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27551 #define $ac_func innocuous_$ac_func
27553 /* System header to define __stub macros and hopefully few prototypes,
27554 which can conflict with char $ac_func (); below.
27555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27556 <limits.h> exists even on freestanding compilers. */
27559 # include <limits.h>
27561 # include <assert.h>
27566 /* Override any gcc2 internal prototype to avoid an error. */
27571 /* We use char because int might match the return type of a gcc2
27572 builtin and then its argument prototype would still apply. */
27574 /* The GNU C library defines this for functions which it implements
27575 to always fail with ENOSYS. Some functions are actually named
27576 something starting with __ and the normal name is an alias. */
27577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27580 char (*f) () = $ac_func;
27589 return f != $ac_func;
27594 rm -f conftest.
$ac_objext conftest
$ac_exeext
27595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27596 (eval $ac_link) 2>conftest.er1
27598 grep -v '^ *+' conftest.er1
>conftest.err
27600 cat conftest.err
>&5
27601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27602 (exit $ac_status); } &&
27603 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27605 (eval $ac_try) 2>&5
27607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27608 (exit $ac_status); }; } &&
27609 { ac_try
='test -s conftest$ac_exeext'
27610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27611 (eval $ac_try) 2>&5
27613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27614 (exit $ac_status); }; }; then
27615 eval "$as_ac_var=yes"
27617 echo "$as_me: failed program was:" >&5
27618 sed 's/^/| /' conftest.
$ac_ext >&5
27620 eval "$as_ac_var=no"
27622 rm -f conftest.err conftest.
$ac_objext \
27623 conftest
$ac_exeext conftest.
$ac_ext
27625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27627 if test `eval echo '${'$as_ac_var'}'` = yes; then
27628 cat >>confdefs.h
<<_ACEOF
27629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27635 CFLAGS
="$save_CFLAGS"
27639 wxUSE_UNIVERSAL
="yes"
27641 if test "$wxUSE_NANOX" = "yes"; then
27642 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
27643 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"
27644 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
27646 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
27653 if test "$wxUSE_MOTIF" = 1; then
27654 if test "$wxUSE_UNICODE" = "yes"; then
27655 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
27656 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
27657 { (exit 1); exit 1; }; }
27660 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
27661 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
27664 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27666 if test -f "$ac_dir/Xm/Xm.h"; then
27667 ac_find_includes
=$ac_dir
27672 if test "$ac_find_includes" != "" ; then
27673 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27674 echo "${ECHO_T}found in $ac_find_includes" >&6
27676 if test "x$ac_find_includes" = "x/usr/include"; then
27677 ac_path_to_include
=""
27679 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
27681 if test $result = 0; then
27682 ac_path_to_include
=""
27684 ac_path_to_include
=" -I$ac_find_includes"
27688 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
27690 cat >conftest.
$ac_ext <<_ACEOF
27693 cat confdefs.h
>>conftest.
$ac_ext
27694 cat >>conftest.
$ac_ext <<_ACEOF
27695 /* end confdefs.h. */
27704 version = xmUseVersion;
27710 rm -f conftest.
$ac_objext
27711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27712 (eval $ac_compile) 2>conftest.er1
27714 grep -v '^ *+' conftest.er1
>conftest.err
27716 cat conftest.err
>&5
27717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27718 (exit $ac_status); } &&
27719 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27721 (eval $ac_try) 2>&5
27723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27724 (exit $ac_status); }; } &&
27725 { ac_try
='test -s conftest.$ac_objext'
27726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27727 (eval $ac_try) 2>&5
27729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27730 (exit $ac_status); }; }; then
27732 echo "$as_me:$LINENO: result: found in default search path" >&5
27733 echo "${ECHO_T}found in default search path" >&6
27734 COMPILED_X_PROGRAM
=1
27737 echo "$as_me: failed program was:" >&5
27738 sed 's/^/| /' conftest.
$ac_ext >&5
27741 echo "$as_me:$LINENO: result: no" >&5
27742 echo "${ECHO_T}no" >&6
27743 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
27744 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
27745 { (exit 1); exit 1; }; }
27749 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27752 if test "$COMPILED_X_PROGRAM" = 0; then
27753 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
27754 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
27757 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27759 for ac_extension
in a so sl dylib
; do
27760 if test -f "$ac_dir/libXm.$ac_extension"; then
27761 ac_find_libraries
=$ac_dir
27767 if test "$ac_find_libraries" != "" ; then
27768 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
27769 echo "${ECHO_T}found at $ac_find_libraries" >&6
27772 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27774 if test $result = 0; then
27777 ac_path_to_link
=" -L$ac_find_libraries"
27780 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
27782 save_CFLAGS
=$CFLAGS
27783 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27785 cat >conftest.
$ac_ext <<_ACEOF
27788 cat confdefs.h
>>conftest.
$ac_ext
27789 cat >>conftest.
$ac_ext <<_ACEOF
27790 /* end confdefs.h. */
27799 version = xmUseVersion;
27805 rm -f conftest.
$ac_objext
27806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27807 (eval $ac_compile) 2>conftest.er1
27809 grep -v '^ *+' conftest.er1
>conftest.err
27811 cat conftest.err
>&5
27812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27813 (exit $ac_status); } &&
27814 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27816 (eval $ac_try) 2>&5
27818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27819 (exit $ac_status); }; } &&
27820 { ac_try
='test -s conftest.$ac_objext'
27821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27822 (eval $ac_try) 2>&5
27824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27825 (exit $ac_status); }; }; then
27827 echo "$as_me:$LINENO: result: found in default search path" >&5
27828 echo "${ECHO_T}found in default search path" >&6
27829 COMPILED_X_PROGRAM
=1
27832 echo "$as_me: failed program was:" >&5
27833 sed 's/^/| /' conftest.
$ac_ext >&5
27836 echo "$as_me:$LINENO: result: no" >&5
27837 echo "${ECHO_T}no" >&6
27838 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
27839 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
27840 { (exit 1); exit 1; }; }
27844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27846 CFLAGS
=$save_CFLAGS
27850 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
27851 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
27855 for libp
in "" " -lXp"; do
27856 if test "$libs_found" = "0"; then
27857 for libsm_ice
in "" " -lSM -lICE"; do
27858 if test "$libs_found" = "0"; then
27860 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
27861 save_CFLAGS
=$CFLAGS
27862 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27864 cat >conftest.
$ac_ext <<_ACEOF
27867 cat confdefs.h
>>conftest.
$ac_ext
27868 cat >>conftest.
$ac_ext <<_ACEOF
27869 /* end confdefs.h. */
27872 #include <Xm/List.h>
27878 XmString string = NULL;
27881 XmListAddItem(w, string, position);
27887 rm -f conftest.
$ac_objext conftest
$ac_exeext
27888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27889 (eval $ac_link) 2>conftest.er1
27891 grep -v '^ *+' conftest.er1
>conftest.err
27893 cat conftest.err
>&5
27894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27895 (exit $ac_status); } &&
27896 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27898 (eval $ac_try) 2>&5
27900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27901 (exit $ac_status); }; } &&
27902 { ac_try
='test -s conftest$ac_exeext'
27903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27904 (eval $ac_try) 2>&5
27906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27907 (exit $ac_status); }; }; then
27910 libsm_ice_link
="$libsm_ice"
27911 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
27912 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
27916 echo "$as_me: failed program was:" >&5
27917 sed 's/^/| /' conftest.
$ac_ext >&5
27922 rm -f conftest.err conftest.
$ac_objext \
27923 conftest
$ac_exeext conftest.
$ac_ext
27926 CFLAGS
=$save_CFLAGS
27932 if test "$libs_found" = "0"; then
27933 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
27934 echo "${ECHO_T}can't find the right libraries" >&6
27935 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
27936 echo "$as_me: error: can't link a simple motif program" >&2;}
27937 { (exit 1); exit 1; }; }
27940 save_CFLAGS
=$CFLAGS
27941 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27942 echo "$as_me:$LINENO: checking for Motif 2" >&5
27943 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
27944 cat >conftest.
$ac_ext <<_ACEOF
27947 cat confdefs.h
>>conftest.
$ac_ext
27948 cat >>conftest.
$ac_ext <<_ACEOF
27949 /* end confdefs.h. */
27957 #if XmVersion < 2000
27958 #error "Not Motif 2"
27965 rm -f conftest.
$ac_objext
27966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27967 (eval $ac_compile) 2>conftest.er1
27969 grep -v '^ *+' conftest.er1
>conftest.err
27971 cat conftest.err
>&5
27972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27973 (exit $ac_status); } &&
27974 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27976 (eval $ac_try) 2>&5
27978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27979 (exit $ac_status); }; } &&
27980 { ac_try
='test -s conftest.$ac_objext'
27981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27982 (eval $ac_try) 2>&5
27984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27985 (exit $ac_status); }; }; then
27987 cat >>confdefs.h
<<\_ACEOF
27988 #define __WXMOTIF20__ 1
27991 echo "$as_me:$LINENO: result: found" >&5
27992 echo "${ECHO_T}found" >&6
27995 echo "$as_me: failed program was:" >&5
27996 sed 's/^/| /' conftest.
$ac_ext >&5
27999 cat >>confdefs.h
<<\_ACEOF
28000 #define __WXMOTIF20__ 0
28003 echo "$as_me:$LINENO: result: not found" >&5
28004 echo "${ECHO_T}not found" >&6
28007 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28008 CFLAGS
=$save_CFLAGS
28010 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
28015 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28016 if test "$wxUSE_LIBXPM" = "sys"; then
28017 echo "$as_me:$LINENO: checking for Xpm library" >&5
28018 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
28021 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28023 for ac_extension
in a so sl dylib
; do
28024 if test -f "$ac_dir/libXpm.$ac_extension"; then
28025 ac_find_libraries
=$ac_dir
28031 if test "$ac_find_libraries" != "" ; then
28033 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
28035 if test $result = 0; then
28038 ac_path_to_link
=" -L$ac_find_libraries"
28041 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
28042 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
28043 echo "${ECHO_T}found at $ac_find_libraries" >&6
28045 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
28046 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
28047 if test "${wx_cv_x11_xpm_h+set}" = set; then
28048 echo $ECHO_N "(cached) $ECHO_C" >&6
28051 save_CFLAGS
=$CFLAGS
28052 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28054 cat >conftest.
$ac_ext <<_ACEOF
28057 cat confdefs.h
>>conftest.
$ac_ext
28058 cat >>conftest.
$ac_ext <<_ACEOF
28059 /* end confdefs.h. */
28061 #include <X11/xpm.h>
28068 version = XpmLibraryVersion();
28074 rm -f conftest.
$ac_objext
28075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28076 (eval $ac_compile) 2>conftest.er1
28078 grep -v '^ *+' conftest.er1
>conftest.err
28080 cat conftest.err
>&5
28081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28082 (exit $ac_status); } &&
28083 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28085 (eval $ac_try) 2>&5
28087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28088 (exit $ac_status); }; } &&
28089 { ac_try
='test -s conftest.$ac_objext'
28090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28091 (eval $ac_try) 2>&5
28093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28094 (exit $ac_status); }; }; then
28095 wx_cv_x11_xpm_h
=yes
28097 echo "$as_me: failed program was:" >&5
28098 sed 's/^/| /' conftest.
$ac_ext >&5
28103 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28105 CFLAGS
=$save_CFLAGS
28109 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
28110 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
28112 if test $wx_cv_x11_xpm_h = "yes"; then
28113 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
28114 cat >>confdefs.h
<<\_ACEOF
28115 #define wxHAVE_LIB_XPM 1
28119 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
28120 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
28126 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
28127 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
28128 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
28129 echo $ECHO_N "(cached) $ECHO_C" >&6
28131 ac_check_lib_save_LIBS
=$LIBS
28132 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
28133 cat >conftest.
$ac_ext <<_ACEOF
28136 cat confdefs.h
>>conftest.
$ac_ext
28137 cat >>conftest.
$ac_ext <<_ACEOF
28138 /* end confdefs.h. */
28140 /* Override any gcc2 internal prototype to avoid an error. */
28144 /* We use char because int might match the return type of a gcc2
28145 builtin and then its argument prototype would still apply. */
28146 char XShapeQueryExtension ();
28150 XShapeQueryExtension ();
28155 rm -f conftest.
$ac_objext conftest
$ac_exeext
28156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28157 (eval $ac_link) 2>conftest.er1
28159 grep -v '^ *+' conftest.er1
>conftest.err
28161 cat conftest.err
>&5
28162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28163 (exit $ac_status); } &&
28164 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28166 (eval $ac_try) 2>&5
28168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28169 (exit $ac_status); }; } &&
28170 { ac_try
='test -s conftest$ac_exeext'
28171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28172 (eval $ac_try) 2>&5
28174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28175 (exit $ac_status); }; }; then
28176 ac_cv_lib_Xext_XShapeQueryExtension
=yes
28178 echo "$as_me: failed program was:" >&5
28179 sed 's/^/| /' conftest.
$ac_ext >&5
28181 ac_cv_lib_Xext_XShapeQueryExtension
=no
28183 rm -f conftest.err conftest.
$ac_objext \
28184 conftest
$ac_exeext conftest.
$ac_ext
28185 LIBS
=$ac_check_lib_save_LIBS
28187 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
28188 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
28189 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
28191 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
28197 if test "$wxHAVE_XEXT_LIB" = 1; then
28198 save_CFLAGS
="$CFLAGS"
28199 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28201 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
28202 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
28203 cat >conftest.
$ac_ext <<_ACEOF
28206 cat confdefs.h
>>conftest.
$ac_ext
28207 cat >>conftest.
$ac_ext <<_ACEOF
28208 /* end confdefs.h. */
28210 #include <X11/Xlib.h>
28211 #include <X11/extensions/shape.h>
28217 int dummy1, dummy2;
28218 XShapeQueryExtension((Display*)NULL,
28219 (int*)NULL, (int*)NULL);
28225 rm -f conftest.
$ac_objext
28226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28227 (eval $ac_compile) 2>conftest.er1
28229 grep -v '^ *+' conftest.er1
>conftest.err
28231 cat conftest.err
>&5
28232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28233 (exit $ac_status); } &&
28234 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28236 (eval $ac_try) 2>&5
28238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28239 (exit $ac_status); }; } &&
28240 { ac_try
='test -s conftest.$ac_objext'
28241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28242 (eval $ac_try) 2>&5
28244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28245 (exit $ac_status); }; }; then
28247 cat >>confdefs.h
<<\_ACEOF
28248 #define HAVE_XSHAPE 1
28251 echo "$as_me:$LINENO: result: found" >&5
28252 echo "${ECHO_T}found" >&6
28255 echo "$as_me: failed program was:" >&5
28256 sed 's/^/| /' conftest.
$ac_ext >&5
28259 echo "$as_me:$LINENO: result: not found" >&5
28260 echo "${ECHO_T}not found" >&6
28263 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28264 CFLAGS
="$save_CFLAGS"
28269 if test "$wxUSE_MAC" = 1; then
28270 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
28271 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
28272 if test "$GCC" = yes; then
28273 echo "$as_me:$LINENO: result: gcc" >&5
28274 echo "${ECHO_T}gcc" >&6
28275 CPPFLAGS_PASCAL
="-fpascal-strings"
28276 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
28277 echo "$as_me:$LINENO: result: xlc" >&5
28278 echo "${ECHO_T}xlc" >&6
28279 CPPFLAGS_PASCAL
="-qmacpstr"
28281 echo "$as_me:$LINENO: result: none" >&5
28282 echo "${ECHO_T}none" >&6
28285 if test "x$wxUSE_UNIX" = "xyes"; then
28286 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
28288 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
28293 WXBASEPORT
="_carbon"
28296 if test "$wxUSE_COCOA" = 1; then
28301 if test "$wxUSE_PM" = 1; then
28304 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
28305 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
28306 if test "${wx_cv_spbcdata+set}" = set; then
28307 echo $ECHO_N "(cached) $ECHO_C" >&6
28310 cat >conftest.
$ac_ext <<_ACEOF
28313 cat confdefs.h
>>conftest.
$ac_ext
28314 cat >>conftest.
$ac_ext <<_ACEOF
28315 /* end confdefs.h. */
28330 rm -f conftest.
$ac_objext
28331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28332 (eval $ac_compile) 2>conftest.er1
28334 grep -v '^ *+' conftest.er1
>conftest.err
28336 cat conftest.err
>&5
28337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28338 (exit $ac_status); } &&
28339 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28341 (eval $ac_try) 2>&5
28343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28344 (exit $ac_status); }; } &&
28345 { ac_try
='test -s conftest.$ac_objext'
28346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28347 (eval $ac_try) 2>&5
28349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28350 (exit $ac_status); }; }; then
28353 echo "$as_me: failed program was:" >&5
28354 sed 's/^/| /' conftest.
$ac_ext >&5
28359 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28363 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
28364 echo "${ECHO_T}$wx_cv_spbcdata" >&6
28366 if test $wx_cv_spbcdata = "yes"; then
28367 cat >>confdefs.h
<<\_ACEOF
28368 #define HAVE_SPBCDATA 1
28374 if test "$TOOLKIT" = "PM" ; then
28377 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
28380 if test "$wxUSE_UNIVERSAL" = "yes"; then
28381 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
28385 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
28386 DISTDIR
="wx\$(TOOLKIT)"
28392 if test "$USE_WIN32" = 1 ; then
28396 GUIDIST
="BASE_DIST"
28406 if test "$TOOLKIT" != "MSW" ; then
28408 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
28410 if test "${ac_cv_header_sql_h+set}" = set; then
28411 echo "$as_me:$LINENO: checking for sql.h" >&5
28412 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28413 if test "${ac_cv_header_sql_h+set}" = set; then
28414 echo $ECHO_N "(cached) $ECHO_C" >&6
28416 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28417 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28419 # Is the header compilable?
28420 echo "$as_me:$LINENO: checking sql.h usability" >&5
28421 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
28422 cat >conftest.
$ac_ext <<_ACEOF
28425 cat confdefs.h
>>conftest.
$ac_ext
28426 cat >>conftest.
$ac_ext <<_ACEOF
28427 /* end confdefs.h. */
28428 $ac_includes_default
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" || test ! -s conftest.err'
28441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28442 (eval $ac_try) 2>&5
28444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28445 (exit $ac_status); }; } &&
28446 { ac_try
='test -s conftest.$ac_objext'
28447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28448 (eval $ac_try) 2>&5
28450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28451 (exit $ac_status); }; }; then
28452 ac_header_compiler
=yes
28454 echo "$as_me: failed program was:" >&5
28455 sed 's/^/| /' conftest.
$ac_ext >&5
28457 ac_header_compiler
=no
28459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28460 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28461 echo "${ECHO_T}$ac_header_compiler" >&6
28463 # Is the header present?
28464 echo "$as_me:$LINENO: checking sql.h presence" >&5
28465 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
28466 cat >conftest.
$ac_ext <<_ACEOF
28469 cat confdefs.h
>>conftest.
$ac_ext
28470 cat >>conftest.
$ac_ext <<_ACEOF
28471 /* end confdefs.h. */
28474 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28475 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28477 grep -v '^ *+' conftest.er1
>conftest.err
28479 cat conftest.err
>&5
28480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28481 (exit $ac_status); } >/dev
/null
; then
28482 if test -s conftest.err
; then
28483 ac_cpp_err
=$ac_c_preproc_warn_flag
28484 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28491 if test -z "$ac_cpp_err"; then
28492 ac_header_preproc
=yes
28494 echo "$as_me: failed program was:" >&5
28495 sed 's/^/| /' conftest.
$ac_ext >&5
28497 ac_header_preproc
=no
28499 rm -f conftest.err conftest.
$ac_ext
28500 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28501 echo "${ECHO_T}$ac_header_preproc" >&6
28503 # So? What about this header?
28504 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28506 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
28507 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28508 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
28509 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
28510 ac_header_preproc
=yes
28513 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
28514 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
28515 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
28516 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
28517 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
28518 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
28519 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
28520 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
28521 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
28522 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
28523 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
28524 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
28527 ## ----------------------------------------- ##
28528 ## Report this to wx-dev@lists.wxwidgets.org ##
28529 ## ----------------------------------------- ##
28532 sed "s/^/$as_me: WARNING: /" >&2
28535 echo "$as_me:$LINENO: checking for sql.h" >&5
28536 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28537 if test "${ac_cv_header_sql_h+set}" = set; then
28538 echo $ECHO_N "(cached) $ECHO_C" >&6
28540 ac_cv_header_sql_h
=$ac_header_preproc
28542 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28543 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28546 if test $ac_cv_header_sql_h = yes; then
28551 if test "x$found_sql_h" = "x1" ; then
28552 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
28553 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
28554 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
28555 echo $ECHO_N "(cached) $ECHO_C" >&6
28557 ac_check_lib_save_LIBS
=$LIBS
28558 LIBS
="-liodbc $LIBS"
28559 cat >conftest.
$ac_ext <<_ACEOF
28562 cat confdefs.h
>>conftest.
$ac_ext
28563 cat >>conftest.
$ac_ext <<_ACEOF
28564 /* end confdefs.h. */
28566 /* Override any gcc2 internal prototype to avoid an error. */
28570 /* We use char because int might match the return type of a gcc2
28571 builtin and then its argument prototype would still apply. */
28572 char SQLAllocEnv ();
28581 rm -f conftest.
$ac_objext conftest
$ac_exeext
28582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28583 (eval $ac_link) 2>conftest.er1
28585 grep -v '^ *+' conftest.er1
>conftest.err
28587 cat conftest.err
>&5
28588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28589 (exit $ac_status); } &&
28590 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28592 (eval $ac_try) 2>&5
28594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28595 (exit $ac_status); }; } &&
28596 { ac_try
='test -s conftest$ac_exeext'
28597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28598 (eval $ac_try) 2>&5
28600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28601 (exit $ac_status); }; }; then
28602 ac_cv_lib_iodbc_SQLAllocEnv
=yes
28604 echo "$as_me: failed program was:" >&5
28605 sed 's/^/| /' conftest.
$ac_ext >&5
28607 ac_cv_lib_iodbc_SQLAllocEnv
=no
28609 rm -f conftest.err conftest.
$ac_objext \
28610 conftest
$ac_exeext conftest.
$ac_ext
28611 LIBS
=$ac_check_lib_save_LIBS
28613 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
28614 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
28615 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
28616 ODBC_LINK
=" -liodbc"
28619 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
28620 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
28621 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
28622 echo $ECHO_N "(cached) $ECHO_C" >&6
28624 ac_check_lib_save_LIBS
=$LIBS
28625 LIBS
="-lunixodbc $LIBS"
28626 cat >conftest.
$ac_ext <<_ACEOF
28629 cat confdefs.h
>>conftest.
$ac_ext
28630 cat >>conftest.
$ac_ext <<_ACEOF
28631 /* end confdefs.h. */
28633 /* Override any gcc2 internal prototype to avoid an error. */
28637 /* We use char because int might match the return type of a gcc2
28638 builtin and then its argument prototype would still apply. */
28639 char SQLAllocEnv ();
28648 rm -f conftest.
$ac_objext conftest
$ac_exeext
28649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28650 (eval $ac_link) 2>conftest.er1
28652 grep -v '^ *+' conftest.er1
>conftest.err
28654 cat conftest.err
>&5
28655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28656 (exit $ac_status); } &&
28657 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28659 (eval $ac_try) 2>&5
28661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28662 (exit $ac_status); }; } &&
28663 { ac_try
='test -s conftest$ac_exeext'
28664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28665 (eval $ac_try) 2>&5
28667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28668 (exit $ac_status); }; }; then
28669 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
28671 echo "$as_me: failed program was:" >&5
28672 sed 's/^/| /' conftest.
$ac_ext >&5
28674 ac_cv_lib_unixodbc_SQLAllocEnv
=no
28676 rm -f conftest.err conftest.
$ac_objext \
28677 conftest
$ac_exeext conftest.
$ac_ext
28678 LIBS
=$ac_check_lib_save_LIBS
28680 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
28681 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
28682 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
28683 ODBC_LINK
=" -lunixodbc"
28686 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
28687 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
28688 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
28689 echo $ECHO_N "(cached) $ECHO_C" >&6
28691 ac_check_lib_save_LIBS
=$LIBS
28692 LIBS
="-lodbc $LIBS"
28693 cat >conftest.
$ac_ext <<_ACEOF
28696 cat confdefs.h
>>conftest.
$ac_ext
28697 cat >>conftest.
$ac_ext <<_ACEOF
28698 /* end confdefs.h. */
28700 /* Override any gcc2 internal prototype to avoid an error. */
28704 /* We use char because int might match the return type of a gcc2
28705 builtin and then its argument prototype would still apply. */
28706 char SQLAllocEnv ();
28715 rm -f conftest.
$ac_objext conftest
$ac_exeext
28716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28717 (eval $ac_link) 2>conftest.er1
28719 grep -v '^ *+' conftest.er1
>conftest.err
28721 cat conftest.err
>&5
28722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28723 (exit $ac_status); } &&
28724 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28726 (eval $ac_try) 2>&5
28728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28729 (exit $ac_status); }; } &&
28730 { ac_try
='test -s conftest$ac_exeext'
28731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28732 (eval $ac_try) 2>&5
28734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28735 (exit $ac_status); }; }; then
28736 ac_cv_lib_odbc_SQLAllocEnv
=yes
28738 echo "$as_me: failed program was:" >&5
28739 sed 's/^/| /' conftest.
$ac_ext >&5
28741 ac_cv_lib_odbc_SQLAllocEnv
=no
28743 rm -f conftest.err conftest.
$ac_objext \
28744 conftest
$ac_exeext conftest.
$ac_ext
28745 LIBS
=$ac_check_lib_save_LIBS
28747 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
28748 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
28749 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
28750 ODBC_LINK
=" -lodbc"
28760 if test "x$ODBC_LINK" = "x" ; then
28761 if test "$wxUSE_ODBC" = "sys" ; then
28762 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
28763 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
28764 { (exit 1); exit 1; }; }
28766 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
28767 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
28775 if test "$wxUSE_ODBC" = "builtin" ; then
28776 cat >>confdefs.h
<<\_ACEOF
28777 #define wxUSE_BUILTIN_IODBC 1
28783 if test "$wxUSE_ODBC" != "no" ; then
28784 cat >>confdefs.h
<<\_ACEOF
28785 #define wxUSE_ODBC 1
28788 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
28790 WXODBCFLAG
="-D_IODBC_"
28794 if test "$wxUSE_DISPLAY" = "yes"; then
28795 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
28796 echo "$as_me:$LINENO: checking for Xinerama" >&5
28797 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
28800 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28802 for ac_extension
in a so sl dylib
; do
28803 if test -f "$ac_dir/libXinerama.$ac_extension"; then
28804 ac_find_libraries
=$ac_dir
28810 if test "$ac_find_libraries" != "" ; then
28812 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28814 if test $result = 0; then
28817 ac_path_to_link
=" -L$ac_find_libraries"
28820 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28821 LDFLAGS
="$LDFLAGS $ac_path_to_link"
28823 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
28824 echo "$as_me:$LINENO: result: yes" >&5
28825 echo "${ECHO_T}yes" >&6
28827 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
28828 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
28831 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28833 for ac_extension
in a so sl dylib
; do
28834 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
28835 ac_find_libraries
=$ac_dir
28841 if test "$ac_find_libraries" != "" ; then
28842 echo "$as_me:$LINENO: result: yes" >&5
28843 echo "${ECHO_T}yes" >&6
28845 for ac_header
in X
11/extensions
/xf86vmode.h
28847 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28848 echo "$as_me:$LINENO: checking for $ac_header" >&5
28849 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28850 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28851 echo $ECHO_N "(cached) $ECHO_C" >&6
28853 cat >conftest.
$ac_ext <<_ACEOF
28856 cat confdefs.h
>>conftest.
$ac_ext
28857 cat >>conftest.
$ac_ext <<_ACEOF
28858 /* end confdefs.h. */
28860 #if HAVE_X11_XLIB_H
28861 #include <X11/Xlib.h>
28865 #include <$ac_header>
28867 rm -f conftest.
$ac_objext
28868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28869 (eval $ac_compile) 2>conftest.er1
28871 grep -v '^ *+' conftest.er1
>conftest.err
28873 cat conftest.err
>&5
28874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28875 (exit $ac_status); } &&
28876 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28878 (eval $ac_try) 2>&5
28880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28881 (exit $ac_status); }; } &&
28882 { ac_try
='test -s conftest.$ac_objext'
28883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28884 (eval $ac_try) 2>&5
28886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28887 (exit $ac_status); }; }; then
28888 eval "$as_ac_Header=yes"
28890 echo "$as_me: failed program was:" >&5
28891 sed 's/^/| /' conftest.
$ac_ext >&5
28893 eval "$as_ac_Header=no"
28895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28898 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28899 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28900 cat >>confdefs.h
<<_ACEOF
28901 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28904 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
28911 echo "$as_me:$LINENO: result: no" >&5
28912 echo "${ECHO_T}no" >&6
28916 echo "$as_me:$LINENO: result: no" >&5
28917 echo "${ECHO_T}no" >&6
28918 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
28919 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
28922 elif test "$wxUSE_MSW" = 1; then
28925 for ac_header
in multimon.h ddraw.h
28927 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28928 echo "$as_me:$LINENO: checking for $ac_header" >&5
28929 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28930 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28931 echo $ECHO_N "(cached) $ECHO_C" >&6
28933 cat >conftest.
$ac_ext <<_ACEOF
28936 cat confdefs.h
>>conftest.
$ac_ext
28937 cat >>conftest.
$ac_ext <<_ACEOF
28938 /* end confdefs.h. */
28939 #include <windows.h>
28941 #include <$ac_header>
28943 rm -f conftest.
$ac_objext
28944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28945 (eval $ac_compile) 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" || test ! -s conftest.err'
28953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28954 (eval $ac_try) 2>&5
28956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28957 (exit $ac_status); }; } &&
28958 { ac_try
='test -s conftest.$ac_objext'
28959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28960 (eval $ac_try) 2>&5
28962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28963 (exit $ac_status); }; }; then
28964 eval "$as_ac_Header=yes"
28966 echo "$as_me: failed program was:" >&5
28967 sed 's/^/| /' conftest.
$ac_ext >&5
28969 eval "$as_ac_Header=no"
28971 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28974 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28975 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28976 cat >>confdefs.h
<<_ACEOF
28977 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28983 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
28984 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
28995 if test "$wxUSE_OPENGL" = "yes"; then
28996 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
28997 OPENGL_LIBS
="-framework OpenGL -framework AGL"
28998 elif test "$wxUSE_MSW" = 1; then
28999 OPENGL_LIBS
="-lopengl32 -lglu32"
29004 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
29006 if test -f "$ac_dir/GL/gl.h"; then
29007 ac_find_includes
=$ac_dir
29012 if test "$ac_find_includes" != "" ; then
29013 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29014 echo "${ECHO_T}found in $ac_find_includes" >&6
29016 if test "x$ac_find_includes" = "x/usr/include"; then
29017 ac_path_to_include
=""
29019 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
29021 if test $result = 0; then
29022 ac_path_to_include
=""
29024 ac_path_to_include
=" -I$ac_find_includes"
29028 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
29031 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29032 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29033 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29034 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29035 echo $ECHO_N "(cached) $ECHO_C" >&6
29037 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29038 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29040 # Is the header compilable?
29041 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
29042 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
29043 cat >conftest.
$ac_ext <<_ACEOF
29046 cat confdefs.h
>>conftest.
$ac_ext
29047 cat >>conftest.
$ac_ext <<_ACEOF
29048 /* end confdefs.h. */
29049 $ac_includes_default
29052 rm -f conftest.
$ac_objext
29053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29054 (eval $ac_compile) 2>conftest.er1
29056 grep -v '^ *+' conftest.er1
>conftest.err
29058 cat conftest.err
>&5
29059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29060 (exit $ac_status); } &&
29061 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29063 (eval $ac_try) 2>&5
29065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29066 (exit $ac_status); }; } &&
29067 { ac_try
='test -s conftest.$ac_objext'
29068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29069 (eval $ac_try) 2>&5
29071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29072 (exit $ac_status); }; }; then
29073 ac_header_compiler
=yes
29075 echo "$as_me: failed program was:" >&5
29076 sed 's/^/| /' conftest.
$ac_ext >&5
29078 ac_header_compiler
=no
29080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29081 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29082 echo "${ECHO_T}$ac_header_compiler" >&6
29084 # Is the header present?
29085 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
29086 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
29087 cat >conftest.
$ac_ext <<_ACEOF
29090 cat confdefs.h
>>conftest.
$ac_ext
29091 cat >>conftest.
$ac_ext <<_ACEOF
29092 /* end confdefs.h. */
29095 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29096 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29098 grep -v '^ *+' conftest.er1
>conftest.err
29100 cat conftest.err
>&5
29101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29102 (exit $ac_status); } >/dev
/null
; then
29103 if test -s conftest.err
; then
29104 ac_cpp_err
=$ac_c_preproc_warn_flag
29105 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29112 if test -z "$ac_cpp_err"; then
29113 ac_header_preproc
=yes
29115 echo "$as_me: failed program was:" >&5
29116 sed 's/^/| /' conftest.
$ac_ext >&5
29118 ac_header_preproc
=no
29120 rm -f conftest.err conftest.
$ac_ext
29121 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29122 echo "${ECHO_T}$ac_header_preproc" >&6
29124 # So? What about this header?
29125 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29127 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
29128 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29129 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
29130 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
29131 ac_header_preproc
=yes
29134 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
29135 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
29136 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
29137 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
29138 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
29139 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
29140 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
29141 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
29142 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
29143 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
29144 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
29145 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
29148 ## ----------------------------------------- ##
29149 ## Report this to wx-dev@lists.wxwidgets.org ##
29150 ## ----------------------------------------- ##
29153 sed "s/^/$as_me: WARNING: /" >&2
29156 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29157 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29158 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29159 echo $ECHO_N "(cached) $ECHO_C" >&6
29161 ac_cv_header_GL_gl_h
=$ac_header_preproc
29163 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29164 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29167 if test $ac_cv_header_GL_gl_h = yes; then
29171 echo "$as_me:$LINENO: checking for -lGL" >&5
29172 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
29175 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29177 for ac_extension
in a so sl dylib
; do
29178 if test -f "$ac_dir/libGL.$ac_extension"; then
29179 ac_find_libraries
=$ac_dir
29185 if test "$ac_find_libraries" != "" ; then
29186 echo "$as_me:$LINENO: result: yes" >&5
29187 echo "${ECHO_T}yes" >&6
29190 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29192 if test $result = 0; then
29195 ac_path_to_link
=" -L$ac_find_libraries"
29198 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29199 LDFLAGS_GL
="$ac_path_to_link"
29202 echo "$as_me:$LINENO: checking for -lGLU" >&5
29203 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
29206 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29208 for ac_extension
in a so sl dylib
; do
29209 if test -f "$ac_dir/libGLU.$ac_extension"; then
29210 ac_find_libraries
=$ac_dir
29216 if test "$ac_find_libraries" != "" ; then
29218 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29220 if test $result = 0; then
29223 ac_path_to_link
=" -L$ac_find_libraries"
29226 if test "$ac_path_to_link" != " -L/usr/lib" -a \
29227 "$ac_path_to_link" != "$LDFLAGS_GL"; then
29228 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
29232 OPENGL_LIBS
="-lGL -lGLU"
29233 echo "$as_me:$LINENO: result: yes" >&5
29234 echo "${ECHO_T}yes" >&6
29236 echo "$as_me:$LINENO: result: no" >&5
29237 echo "${ECHO_T}no" >&6
29240 echo "$as_me:$LINENO: result: no" >&5
29241 echo "${ECHO_T}no" >&6
29244 if test "$found_gl" != 1; then
29245 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
29246 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
29249 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29251 for ac_extension
in a so sl dylib
; do
29252 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
29253 ac_find_libraries
=$ac_dir
29259 if test "$ac_find_libraries" != "" ; then
29261 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29263 if test $result = 0; then
29266 ac_path_to_link
=" -L$ac_find_libraries"
29269 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
29270 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
29271 echo "$as_me:$LINENO: result: yes" >&5
29272 echo "${ECHO_T}yes" >&6
29274 echo "$as_me:$LINENO: result: no" >&5
29275 echo "${ECHO_T}no" >&6
29283 if test "x$OPENGL_LIBS" = "x"; then
29284 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
29285 echo "$as_me: error: OpenGL libraries not available" >&2;}
29286 { (exit 1); exit 1; }; }
29290 if test "$wxUSE_OPENGL" = "yes"; then
29292 cat >>confdefs.h
<<\_ACEOF
29293 #define wxUSE_OPENGL 1
29296 cat >>confdefs.h
<<\_ACEOF
29297 #define wxUSE_GLCANVAS 1
29300 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
29305 if test -n "$TOOLKIT" ; then
29306 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
29311 if test "$wxUSE_SHARED" = "yes"; then
29315 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
29316 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
29321 if test "$wxUSE_SHARED" = "yes"; then
29324 found_versioning
=no
29327 if test $found_versioning = no
; then
29328 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
29329 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
29330 if test "${wx_cv_version_script+set}" = set; then
29331 echo $ECHO_N "(cached) $ECHO_C" >&6
29334 echo "VER_1 { *; };" >conftest.sym
29335 echo "int main() { return 0; }" >conftest.cpp
29338 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29339 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29341 (eval $ac_try) 2>&5
29343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29344 (exit $ac_status); }; } ; then
29345 if test -s conftest.stderr
; then
29346 wx_cv_version_script
=no
29348 wx_cv_version_script
=yes
29351 wx_cv_version_script
=no
29354 if test $wx_cv_version_script = yes
29356 echo "struct B { virtual ~B() { } }; \
29357 struct D : public B { }; \
29358 void F() { D d; }" > conftest.cpp
29361 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29362 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
29363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29364 (eval $ac_try) 2>&5
29366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29367 (exit $ac_status); }; } &&
29369 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29370 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
29371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29372 (eval $ac_try) 2>&5
29374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29375 (exit $ac_status); }; }
29378 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29379 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
29380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29381 (eval $ac_try) 2>&5
29383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29384 (exit $ac_status); }; }
29386 wx_cv_version_script
=yes
29388 wx_cv_version_script
=no
29393 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29394 rm -f conftest1.output conftest2.output conftest3.output
29397 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
29398 echo "${ECHO_T}$wx_cv_version_script" >&6
29399 if test $wx_cv_version_script = yes ; then
29400 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
29406 *-*-linux* | *-*-gnu* )
29407 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
29408 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29412 if test "$GCC" = yes ; then
29413 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
29415 saveLdflags
="$LDFLAGS"
29416 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
29417 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
29418 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
29419 cat >conftest.
$ac_ext <<_ACEOF
29422 cat confdefs.h
>>conftest.
$ac_ext
29423 cat >>conftest.
$ac_ext <<_ACEOF
29424 /* end confdefs.h. */
29434 rm -f conftest.
$ac_objext conftest
$ac_exeext
29435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29436 (eval $ac_link) 2>conftest.er1
29438 grep -v '^ *+' conftest.er1
>conftest.err
29440 cat conftest.err
>&5
29441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29442 (exit $ac_status); } &&
29443 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29445 (eval $ac_try) 2>&5
29447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29448 (exit $ac_status); }; } &&
29449 { ac_try
='test -s conftest$ac_exeext'
29450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29451 (eval $ac_try) 2>&5
29453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29454 (exit $ac_status); }; }; then
29456 echo "$as_me:$LINENO: result: yes" >&5
29457 echo "${ECHO_T}yes" >&6
29458 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
29459 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29462 echo "$as_me: failed program was:" >&5
29463 sed 's/^/| /' conftest.
$ac_ext >&5
29466 echo "$as_me:$LINENO: result: no" >&5
29467 echo "${ECHO_T}no" >&6
29468 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
29469 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
29470 LDFLAGS
="$saveLdflags -Wl,-R,/"
29471 cat >conftest.
$ac_ext <<_ACEOF
29474 cat confdefs.h
>>conftest.
$ac_ext
29475 cat >>conftest.
$ac_ext <<_ACEOF
29476 /* end confdefs.h. */
29486 rm -f conftest.
$ac_objext conftest
$ac_exeext
29487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29488 (eval $ac_link) 2>conftest.er1
29490 grep -v '^ *+' conftest.er1
>conftest.err
29492 cat conftest.err
>&5
29493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29494 (exit $ac_status); } &&
29495 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29497 (eval $ac_try) 2>&5
29499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29500 (exit $ac_status); }; } &&
29501 { ac_try
='test -s conftest$ac_exeext'
29502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29503 (eval $ac_try) 2>&5
29505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29506 (exit $ac_status); }; }; then
29508 echo "$as_me:$LINENO: result: yes" >&5
29509 echo "${ECHO_T}yes" >&6
29510 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
29511 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
29514 echo "$as_me: failed program was:" >&5
29515 sed 's/^/| /' conftest.
$ac_ext >&5
29518 echo "$as_me:$LINENO: result: no" >&5
29519 echo "${ECHO_T}no" >&6
29522 rm -f conftest.err conftest.
$ac_objext \
29523 conftest
$ac_exeext conftest.
$ac_ext
29526 rm -f conftest.err conftest.
$ac_objext \
29527 conftest
$ac_exeext conftest.
$ac_ext
29528 LDFLAGS
="$saveLdflags"
29530 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
29531 WXCONFIG_RPATH
="-R\$libdir"
29535 powerpc
-*-darwin* )
29536 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
29537 cat <<EOF >change-install-names
29539 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29540 inst_cmd="install_name_tool "
29541 for i in \${libnames} ; do
29542 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
29546 chmod +x change
-install-names
29549 *-*-cygwin* | *-*-mingw32* )
29550 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
29554 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
29555 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
29560 if test $wxUSE_RPATH = "no"; then
29561 SAMPLES_RPATH_FLAG
=''
29562 SAMPLES_RPATH_POSTLINK
=''
29570 config_linkage_component
="-static"
29577 lib_unicode_suffix
=
29579 if test "$wxUSE_UNICODE" = "yes"; then
29580 lib_unicode_suffix
=u
29581 WX_CHARTYPE
="unicode"
29586 WX_DEBUGTYPE
="release"
29588 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
29590 WX_DEBUGTYPE
="debug"
29594 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
29595 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
29598 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29602 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
29604 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
29606 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29608 if test "$cross_compiling" = "yes"; then
29609 HOST_SUFFIX
="-$host_alias"
29610 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
29611 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
29614 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
29615 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
29619 if test "$wxUSE_COCOA" = 1; then
29623 ac_cpp
='$CPP $CPPFLAGS'
29624 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29625 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29626 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29630 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29631 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
29632 cat >conftest.
$ac_ext <<_ACEOF
29635 cat confdefs.h
>>conftest.
$ac_ext
29636 cat >>conftest.
$ac_ext <<_ACEOF
29637 /* end confdefs.h. */
29638 #include <AppKit/NSEvent.h>
29639 #include <CoreFoundation/CoreFoundation.h>
29649 rm -f conftest.
$ac_objext
29650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29651 (eval $ac_compile) 2>conftest.er1
29653 grep -v '^ *+' conftest.er1
>conftest.err
29655 cat conftest.err
>&5
29656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29657 (exit $ac_status); } &&
29658 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29660 (eval $ac_try) 2>&5
29662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29663 (exit $ac_status); }; } &&
29664 { ac_try
='test -s conftest.$ac_objext'
29665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29666 (eval $ac_try) 2>&5
29668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29669 (exit $ac_status); }; }; then
29670 echo "$as_me:$LINENO: result: no" >&5
29671 echo "${ECHO_T}no" >&6
29673 echo "$as_me: failed program was:" >&5
29674 sed 's/^/| /' conftest.
$ac_ext >&5
29676 echo "$as_me:$LINENO: result: yes" >&5
29677 echo "${ECHO_T}yes" >&6
29678 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
29679 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
29680 cat >conftest.
$ac_ext <<_ACEOF
29683 cat confdefs.h
>>conftest.
$ac_ext
29684 cat >>conftest.
$ac_ext <<_ACEOF
29685 /* end confdefs.h. */
29686 #define __Point__ 1
29687 #include <AppKit/NSEvent.h>
29688 #include <CoreFoundation/CoreFoundation.h>
29698 rm -f conftest.
$ac_objext
29699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29700 (eval $ac_compile) 2>conftest.er1
29702 grep -v '^ *+' conftest.er1
>conftest.err
29704 cat conftest.err
>&5
29705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29706 (exit $ac_status); } &&
29707 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
29713 { ac_try
='test -s conftest.$ac_objext'
29714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29715 (eval $ac_try) 2>&5
29717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29718 (exit $ac_status); }; }; then
29719 echo "$as_me:$LINENO: result: yes" >&5
29720 echo "${ECHO_T}yes" >&6
29721 cat >>confdefs.h
<<\_ACEOF
29722 #define __Point__ 1
29727 echo "$as_me: failed program was:" >&5
29728 sed 's/^/| /' conftest.
$ac_ext >&5
29730 { { echo "$as_me:$LINENO: error: no
29731 See \`config.log' for more details." >&5
29732 echo "$as_me: error: no
29733 See \`config.log' for more details." >&2;}
29734 { (exit 1); exit 1; }; }
29737 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29740 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29742 ac_cpp
='$CPP $CPPFLAGS'
29743 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29744 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29745 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29749 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
29750 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
29751 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
29753 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
29755 # Extract the first word of "Rez", so it can be a program name with args.
29756 set dummy Rez
; ac_word
=$2
29757 echo "$as_me:$LINENO: checking for $ac_word" >&5
29758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29759 if test "${ac_cv_prog_RESCOMP+set}" = set; then
29760 echo $ECHO_N "(cached) $ECHO_C" >&6
29762 if test -n "$RESCOMP"; then
29763 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
29765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29766 for as_dir
in $PATH
29769 test -z "$as_dir" && as_dir
=.
29770 for ac_exec_ext
in '' $ac_executable_extensions; do
29771 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29772 ac_cv_prog_RESCOMP
="Rez"
29773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29779 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
29782 RESCOMP
=$ac_cv_prog_RESCOMP
29783 if test -n "$RESCOMP"; then
29784 echo "$as_me:$LINENO: result: $RESCOMP" >&5
29785 echo "${ECHO_T}$RESCOMP" >&6
29787 echo "$as_me:$LINENO: result: no" >&5
29788 echo "${ECHO_T}no" >&6
29791 # Extract the first word of "DeRez", so it can be a program name with args.
29792 set dummy DeRez
; ac_word
=$2
29793 echo "$as_me:$LINENO: checking for $ac_word" >&5
29794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29795 if test "${ac_cv_prog_DEREZ+set}" = set; then
29796 echo $ECHO_N "(cached) $ECHO_C" >&6
29798 if test -n "$DEREZ"; then
29799 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
29801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29802 for as_dir
in $PATH
29805 test -z "$as_dir" && as_dir
=.
29806 for ac_exec_ext
in '' $ac_executable_extensions; do
29807 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29808 ac_cv_prog_DEREZ
="DeRez"
29809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29815 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
29818 DEREZ
=$ac_cv_prog_DEREZ
29819 if test -n "$DEREZ"; then
29820 echo "$as_me:$LINENO: result: $DEREZ" >&5
29821 echo "${ECHO_T}$DEREZ" >&6
29823 echo "$as_me:$LINENO: result: no" >&5
29824 echo "${ECHO_T}no" >&6
29827 # Extract the first word of "SetFile", so it can be a program name with args.
29828 set dummy SetFile
; ac_word
=$2
29829 echo "$as_me:$LINENO: checking for $ac_word" >&5
29830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29831 if test "${ac_cv_prog_SETFILE+set}" = set; then
29832 echo $ECHO_N "(cached) $ECHO_C" >&6
29834 if test -n "$SETFILE"; then
29835 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
29837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29838 for as_dir
in $PATH
29841 test -z "$as_dir" && as_dir
=.
29842 for ac_exec_ext
in '' $ac_executable_extensions; do
29843 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29844 ac_cv_prog_SETFILE
="SetFile"
29845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29851 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
29854 SETFILE
=$ac_cv_prog_SETFILE
29855 if test -n "$SETFILE"; then
29856 echo "$as_me:$LINENO: result: $SETFILE" >&5
29857 echo "${ECHO_T}$SETFILE" >&6
29859 echo "$as_me:$LINENO: result: no" >&5
29860 echo "${ECHO_T}no" >&6
29864 MACSETFILE
="\$(SETFILE)"
29866 if test "$wxUSE_MAC" = 1; then
29867 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r -o"
29869 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r -o"
29871 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
29872 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29876 MACRESWXCONFIG
="@true"
29878 if test "$wxUSE_PM" = 1; then
29879 MACRESCOMP
="emxbind -ep"
29887 echo "$as_me:$LINENO: checking for mode_t" >&5
29888 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
29889 if test "${ac_cv_type_mode_t+set}" = set; then
29890 echo $ECHO_N "(cached) $ECHO_C" >&6
29892 cat >conftest.
$ac_ext <<_ACEOF
29895 cat confdefs.h
>>conftest.
$ac_ext
29896 cat >>conftest.
$ac_ext <<_ACEOF
29897 /* end confdefs.h. */
29898 $ac_includes_default
29904 if (sizeof (mode_t))
29910 rm -f conftest.
$ac_objext
29911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29912 (eval $ac_compile) 2>conftest.er1
29914 grep -v '^ *+' conftest.er1
>conftest.err
29916 cat conftest.err
>&5
29917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29918 (exit $ac_status); } &&
29919 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29921 (eval $ac_try) 2>&5
29923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29924 (exit $ac_status); }; } &&
29925 { ac_try
='test -s conftest.$ac_objext'
29926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29927 (eval $ac_try) 2>&5
29929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29930 (exit $ac_status); }; }; then
29931 ac_cv_type_mode_t
=yes
29933 echo "$as_me: failed program was:" >&5
29934 sed 's/^/| /' conftest.
$ac_ext >&5
29936 ac_cv_type_mode_t
=no
29938 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29940 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
29941 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
29942 if test $ac_cv_type_mode_t = yes; then
29946 cat >>confdefs.h
<<_ACEOF
29952 echo "$as_me:$LINENO: checking for off_t" >&5
29953 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
29954 if test "${ac_cv_type_off_t+set}" = set; then
29955 echo $ECHO_N "(cached) $ECHO_C" >&6
29957 cat >conftest.
$ac_ext <<_ACEOF
29960 cat confdefs.h
>>conftest.
$ac_ext
29961 cat >>conftest.
$ac_ext <<_ACEOF
29962 /* end confdefs.h. */
29963 $ac_includes_default
29969 if (sizeof (off_t))
29975 rm -f conftest.
$ac_objext
29976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29977 (eval $ac_compile) 2>conftest.er1
29979 grep -v '^ *+' conftest.er1
>conftest.err
29981 cat conftest.err
>&5
29982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29983 (exit $ac_status); } &&
29984 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29986 (eval $ac_try) 2>&5
29988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29989 (exit $ac_status); }; } &&
29990 { ac_try
='test -s conftest.$ac_objext'
29991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29992 (eval $ac_try) 2>&5
29994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29995 (exit $ac_status); }; }; then
29996 ac_cv_type_off_t
=yes
29998 echo "$as_me: failed program was:" >&5
29999 sed 's/^/| /' conftest.
$ac_ext >&5
30001 ac_cv_type_off_t
=no
30003 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30005 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
30006 echo "${ECHO_T}$ac_cv_type_off_t" >&6
30007 if test $ac_cv_type_off_t = yes; then
30011 cat >>confdefs.h
<<_ACEOF
30017 echo "$as_me:$LINENO: checking for pid_t" >&5
30018 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
30019 if test "${ac_cv_type_pid_t+set}" = set; then
30020 echo $ECHO_N "(cached) $ECHO_C" >&6
30022 cat >conftest.
$ac_ext <<_ACEOF
30025 cat confdefs.h
>>conftest.
$ac_ext
30026 cat >>conftest.
$ac_ext <<_ACEOF
30027 /* end confdefs.h. */
30028 $ac_includes_default
30034 if (sizeof (pid_t))
30040 rm -f conftest.
$ac_objext
30041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30042 (eval $ac_compile) 2>conftest.er1
30044 grep -v '^ *+' conftest.er1
>conftest.err
30046 cat conftest.err
>&5
30047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30048 (exit $ac_status); } &&
30049 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30051 (eval $ac_try) 2>&5
30053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30054 (exit $ac_status); }; } &&
30055 { ac_try
='test -s conftest.$ac_objext'
30056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30057 (eval $ac_try) 2>&5
30059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30060 (exit $ac_status); }; }; then
30061 ac_cv_type_pid_t
=yes
30063 echo "$as_me: failed program was:" >&5
30064 sed 's/^/| /' conftest.
$ac_ext >&5
30066 ac_cv_type_pid_t
=no
30068 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30070 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
30071 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
30072 if test $ac_cv_type_pid_t = yes; then
30076 cat >>confdefs.h
<<_ACEOF
30082 echo "$as_me:$LINENO: checking for size_t" >&5
30083 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
30084 if test "${ac_cv_type_size_t+set}" = set; then
30085 echo $ECHO_N "(cached) $ECHO_C" >&6
30087 cat >conftest.
$ac_ext <<_ACEOF
30090 cat confdefs.h
>>conftest.
$ac_ext
30091 cat >>conftest.
$ac_ext <<_ACEOF
30092 /* end confdefs.h. */
30093 $ac_includes_default
30099 if (sizeof (size_t))
30105 rm -f conftest.
$ac_objext
30106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30107 (eval $ac_compile) 2>conftest.er1
30109 grep -v '^ *+' conftest.er1
>conftest.err
30111 cat conftest.err
>&5
30112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30113 (exit $ac_status); } &&
30114 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30116 (eval $ac_try) 2>&5
30118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30119 (exit $ac_status); }; } &&
30120 { ac_try
='test -s conftest.$ac_objext'
30121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30122 (eval $ac_try) 2>&5
30124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30125 (exit $ac_status); }; }; then
30126 ac_cv_type_size_t
=yes
30128 echo "$as_me: failed program was:" >&5
30129 sed 's/^/| /' conftest.
$ac_ext >&5
30131 ac_cv_type_size_t
=no
30133 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30135 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
30136 echo "${ECHO_T}$ac_cv_type_size_t" >&6
30137 if test $ac_cv_type_size_t = yes; then
30141 cat >>confdefs.h
<<_ACEOF
30142 #define size_t unsigned
30147 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
30148 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
30149 if test "${ac_cv_type_uid_t+set}" = set; then
30150 echo $ECHO_N "(cached) $ECHO_C" >&6
30152 cat >conftest.
$ac_ext <<_ACEOF
30155 cat confdefs.h
>>conftest.
$ac_ext
30156 cat >>conftest.
$ac_ext <<_ACEOF
30157 /* end confdefs.h. */
30158 #include <sys/types.h>
30161 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
30162 $EGREP "uid_t" >/dev
/null
2>&1; then
30163 ac_cv_type_uid_t
=yes
30165 ac_cv_type_uid_t
=no
30170 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
30171 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
30172 if test $ac_cv_type_uid_t = no
; then
30174 cat >>confdefs.h
<<\_ACEOF
30179 cat >>confdefs.h
<<\_ACEOF
30186 echo "$as_me:$LINENO: checking for ssize_t" >&5
30187 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
30188 if test "${ac_cv_type_ssize_t+set}" = set; then
30189 echo $ECHO_N "(cached) $ECHO_C" >&6
30191 cat >conftest.
$ac_ext <<_ACEOF
30194 cat confdefs.h
>>conftest.
$ac_ext
30195 cat >>conftest.
$ac_ext <<_ACEOF
30196 /* end confdefs.h. */
30197 $ac_includes_default
30203 if (sizeof (ssize_t))
30209 rm -f conftest.
$ac_objext
30210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30211 (eval $ac_compile) 2>conftest.er1
30213 grep -v '^ *+' conftest.er1
>conftest.err
30215 cat conftest.err
>&5
30216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30217 (exit $ac_status); } &&
30218 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30220 (eval $ac_try) 2>&5
30222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30223 (exit $ac_status); }; } &&
30224 { ac_try
='test -s conftest.$ac_objext'
30225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30226 (eval $ac_try) 2>&5
30228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30229 (exit $ac_status); }; }; then
30230 ac_cv_type_ssize_t
=yes
30232 echo "$as_me: failed program was:" >&5
30233 sed 's/^/| /' conftest.
$ac_ext >&5
30235 ac_cv_type_ssize_t
=no
30237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30239 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
30240 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
30241 if test $ac_cv_type_ssize_t = yes; then
30243 cat >>confdefs.h
<<_ACEOF
30244 #define HAVE_SSIZE_T 1
30254 ac_cpp
='$CXXCPP $CPPFLAGS'
30255 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30256 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30257 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30259 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
30260 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
30261 if test "${wx_cv_size_t_is_uint+set}" = set; then
30262 echo $ECHO_N "(cached) $ECHO_C" >&6
30265 cat >conftest.
$ac_ext <<_ACEOF
30268 cat confdefs.h
>>conftest.
$ac_ext
30269 cat >>conftest.
$ac_ext <<_ACEOF
30270 /* end confdefs.h. */
30271 #include <stddef.h>
30278 struct Foo { void foo(size_t); void foo(unsigned int); };
30286 rm -f conftest.
$ac_objext
30287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30288 (eval $ac_compile) 2>conftest.er1
30290 grep -v '^ *+' conftest.er1
>conftest.err
30292 cat conftest.err
>&5
30293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30294 (exit $ac_status); } &&
30295 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30297 (eval $ac_try) 2>&5
30299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30300 (exit $ac_status); }; } &&
30301 { ac_try
='test -s conftest.$ac_objext'
30302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30303 (eval $ac_try) 2>&5
30305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30306 (exit $ac_status); }; }; then
30307 wx_cv_size_t_is_uint
=no
30309 echo "$as_me: failed program was:" >&5
30310 sed 's/^/| /' conftest.
$ac_ext >&5
30312 wx_cv_size_t_is_uint
=yes
30315 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30319 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
30320 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
30322 if test "$wx_cv_size_t_is_uint" = "yes"; then
30323 cat >>confdefs.h
<<\_ACEOF
30324 #define wxSIZE_T_IS_UINT 1
30328 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
30329 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
30330 if test "${wx_cv_size_t_is_ulong+set}" = set; then
30331 echo $ECHO_N "(cached) $ECHO_C" >&6
30333 cat >conftest.
$ac_ext <<_ACEOF
30336 cat confdefs.h
>>conftest.
$ac_ext
30337 cat >>conftest.
$ac_ext <<_ACEOF
30338 /* end confdefs.h. */
30339 #include <stddef.h>
30346 struct Foo { void foo(size_t); void foo(unsigned long); };
30354 rm -f conftest.
$ac_objext
30355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30356 (eval $ac_compile) 2>conftest.er1
30358 grep -v '^ *+' conftest.er1
>conftest.err
30360 cat conftest.err
>&5
30361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30362 (exit $ac_status); } &&
30363 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30365 (eval $ac_try) 2>&5
30367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30368 (exit $ac_status); }; } &&
30369 { ac_try
='test -s conftest.$ac_objext'
30370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30371 (eval $ac_try) 2>&5
30373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30374 (exit $ac_status); }; }; then
30375 wx_cv_size_t_is_ulong
=no
30377 echo "$as_me: failed program was:" >&5
30378 sed 's/^/| /' conftest.
$ac_ext >&5
30380 wx_cv_size_t_is_ulong
=yes
30383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30386 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
30387 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
30389 if test "$wx_cv_size_t_is_ulong" = "yes"; then
30390 cat >>confdefs.h
<<\_ACEOF
30391 #define wxSIZE_T_IS_ULONG 1
30398 ac_cpp
='$CPP $CPPFLAGS'
30399 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30400 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30401 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30405 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
30406 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
30407 if test "${wx_cv_struct_pw_gecos+set}" = set; then
30408 echo $ECHO_N "(cached) $ECHO_C" >&6
30411 cat >conftest.
$ac_ext <<_ACEOF
30414 cat confdefs.h
>>conftest.
$ac_ext
30415 cat >>conftest.
$ac_ext <<_ACEOF
30416 /* end confdefs.h. */
30430 rm -f conftest.
$ac_objext
30431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30432 (eval $ac_compile) 2>conftest.er1
30434 grep -v '^ *+' conftest.er1
>conftest.err
30436 cat conftest.err
>&5
30437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30438 (exit $ac_status); } &&
30439 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30441 (eval $ac_try) 2>&5
30443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30444 (exit $ac_status); }; } &&
30445 { ac_try
='test -s conftest.$ac_objext'
30446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30447 (eval $ac_try) 2>&5
30449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30450 (exit $ac_status); }; }; then
30452 wx_cv_struct_pw_gecos
=yes
30455 echo "$as_me: failed program was:" >&5
30456 sed 's/^/| /' conftest.
$ac_ext >&5
30459 wx_cv_struct_pw_gecos
=no
30463 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30467 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
30468 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
30470 if test "$wx_cv_struct_pw_gecos" = "yes"; then
30471 cat >>confdefs.h
<<\_ACEOF
30472 #define HAVE_PW_GECOS 1
30478 if test "$wxUSE_WCHAR_T" = "yes"; then
30479 cat >>confdefs.h
<<\_ACEOF
30480 #define wxUSE_WCHAR_T 1
30487 for ac_func
in wcslen
30489 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30490 echo "$as_me:$LINENO: checking for $ac_func" >&5
30491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30492 if eval "test \"\${$as_ac_var+set}\" = set"; then
30493 echo $ECHO_N "(cached) $ECHO_C" >&6
30495 cat >conftest.
$ac_ext <<_ACEOF
30498 cat confdefs.h
>>conftest.
$ac_ext
30499 cat >>conftest.
$ac_ext <<_ACEOF
30500 /* end confdefs.h. */
30501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30503 #define $ac_func innocuous_$ac_func
30505 /* System header to define __stub macros and hopefully few prototypes,
30506 which can conflict with char $ac_func (); below.
30507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30508 <limits.h> exists even on freestanding compilers. */
30511 # include <limits.h>
30513 # include <assert.h>
30518 /* Override any gcc2 internal prototype to avoid an error. */
30523 /* We use char because int might match the return type of a gcc2
30524 builtin and then its argument prototype would still apply. */
30526 /* The GNU C library defines this for functions which it implements
30527 to always fail with ENOSYS. Some functions are actually named
30528 something starting with __ and the normal name is an alias. */
30529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30532 char (*f) () = $ac_func;
30541 return f != $ac_func;
30546 rm -f conftest.
$ac_objext conftest
$ac_exeext
30547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30548 (eval $ac_link) 2>conftest.er1
30550 grep -v '^ *+' conftest.er1
>conftest.err
30552 cat conftest.err
>&5
30553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30554 (exit $ac_status); } &&
30555 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30557 (eval $ac_try) 2>&5
30559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30560 (exit $ac_status); }; } &&
30561 { ac_try
='test -s conftest$ac_exeext'
30562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30563 (eval $ac_try) 2>&5
30565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30566 (exit $ac_status); }; }; then
30567 eval "$as_ac_var=yes"
30569 echo "$as_me: failed program was:" >&5
30570 sed 's/^/| /' conftest.
$ac_ext >&5
30572 eval "$as_ac_var=no"
30574 rm -f conftest.err conftest.
$ac_objext \
30575 conftest
$ac_exeext conftest.
$ac_ext
30577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30579 if test `eval echo '${'$as_ac_var'}'` = yes; then
30580 cat >>confdefs.h
<<_ACEOF
30581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30588 if test "$WCSLEN_FOUND" = 0; then
30589 if test "$TOOLKIT" = "MSW"; then
30590 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
30591 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
30592 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
30593 echo $ECHO_N "(cached) $ECHO_C" >&6
30595 ac_check_lib_save_LIBS
=$LIBS
30596 LIBS
="-lmsvcrt $LIBS"
30597 cat >conftest.
$ac_ext <<_ACEOF
30600 cat confdefs.h
>>conftest.
$ac_ext
30601 cat >>conftest.
$ac_ext <<_ACEOF
30602 /* end confdefs.h. */
30604 /* Override any gcc2 internal prototype to avoid an error. */
30608 /* We use char because int might match the return type of a gcc2
30609 builtin and then its argument prototype would still apply. */
30619 rm -f conftest.
$ac_objext conftest
$ac_exeext
30620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30621 (eval $ac_link) 2>conftest.er1
30623 grep -v '^ *+' conftest.er1
>conftest.err
30625 cat conftest.err
>&5
30626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30627 (exit $ac_status); } &&
30628 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30630 (eval $ac_try) 2>&5
30632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30633 (exit $ac_status); }; } &&
30634 { ac_try
='test -s conftest$ac_exeext'
30635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30636 (eval $ac_try) 2>&5
30638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30639 (exit $ac_status); }; }; then
30640 ac_cv_lib_msvcrt_wcslen
=yes
30642 echo "$as_me: failed program was:" >&5
30643 sed 's/^/| /' conftest.
$ac_ext >&5
30645 ac_cv_lib_msvcrt_wcslen
=no
30647 rm -f conftest.err conftest.
$ac_objext \
30648 conftest
$ac_exeext conftest.
$ac_ext
30649 LIBS
=$ac_check_lib_save_LIBS
30651 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
30652 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
30653 if test $ac_cv_lib_msvcrt_wcslen = yes; then
30658 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
30659 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
30660 if test "${ac_cv_lib_w_wcslen+set}" = set; then
30661 echo $ECHO_N "(cached) $ECHO_C" >&6
30663 ac_check_lib_save_LIBS
=$LIBS
30665 cat >conftest.
$ac_ext <<_ACEOF
30668 cat confdefs.h
>>conftest.
$ac_ext
30669 cat >>conftest.
$ac_ext <<_ACEOF
30670 /* end confdefs.h. */
30672 /* Override any gcc2 internal prototype to avoid an error. */
30676 /* We use char because int might match the return type of a gcc2
30677 builtin and then its argument prototype would still apply. */
30687 rm -f conftest.
$ac_objext conftest
$ac_exeext
30688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30689 (eval $ac_link) 2>conftest.er1
30691 grep -v '^ *+' conftest.er1
>conftest.err
30693 cat conftest.err
>&5
30694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30695 (exit $ac_status); } &&
30696 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30698 (eval $ac_try) 2>&5
30700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30701 (exit $ac_status); }; } &&
30702 { ac_try
='test -s conftest$ac_exeext'
30703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30704 (eval $ac_try) 2>&5
30706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30707 (exit $ac_status); }; }; then
30708 ac_cv_lib_w_wcslen
=yes
30710 echo "$as_me: failed program was:" >&5
30711 sed 's/^/| /' conftest.
$ac_ext >&5
30713 ac_cv_lib_w_wcslen
=no
30715 rm -f conftest.err conftest.
$ac_objext \
30716 conftest
$ac_exeext conftest.
$ac_ext
30717 LIBS
=$ac_check_lib_save_LIBS
30719 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
30720 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
30721 if test $ac_cv_lib_w_wcslen = yes; then
30731 if test "$WCSLEN_FOUND" = 1; then
30732 cat >>confdefs.h
<<\_ACEOF
30733 #define HAVE_WCSLEN 1
30738 if test "$USE_HPUX" = 1; then
30739 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
30743 for ac_func
in wcsrtombs
30745 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30746 echo "$as_me:$LINENO: checking for $ac_func" >&5
30747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30748 if eval "test \"\${$as_ac_var+set}\" = set"; then
30749 echo $ECHO_N "(cached) $ECHO_C" >&6
30751 cat >conftest.
$ac_ext <<_ACEOF
30754 cat confdefs.h
>>conftest.
$ac_ext
30755 cat >>conftest.
$ac_ext <<_ACEOF
30756 /* end confdefs.h. */
30757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30759 #define $ac_func innocuous_$ac_func
30761 /* System header to define __stub macros and hopefully few prototypes,
30762 which can conflict with char $ac_func (); below.
30763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30764 <limits.h> exists even on freestanding compilers. */
30767 # include <limits.h>
30769 # include <assert.h>
30774 /* Override any gcc2 internal prototype to avoid an error. */
30779 /* We use char because int might match the return type of a gcc2
30780 builtin and then its argument prototype would still apply. */
30782 /* The GNU C library defines this for functions which it implements
30783 to always fail with ENOSYS. Some functions are actually named
30784 something starting with __ and the normal name is an alias. */
30785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30788 char (*f) () = $ac_func;
30797 return f != $ac_func;
30802 rm -f conftest.
$ac_objext conftest
$ac_exeext
30803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30804 (eval $ac_link) 2>conftest.er1
30806 grep -v '^ *+' conftest.er1
>conftest.err
30808 cat conftest.err
>&5
30809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30810 (exit $ac_status); } &&
30811 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30813 (eval $ac_try) 2>&5
30815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30816 (exit $ac_status); }; } &&
30817 { ac_try
='test -s conftest$ac_exeext'
30818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30819 (eval $ac_try) 2>&5
30821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30822 (exit $ac_status); }; }; then
30823 eval "$as_ac_var=yes"
30825 echo "$as_me: failed program was:" >&5
30826 sed 's/^/| /' conftest.
$ac_ext >&5
30828 eval "$as_ac_var=no"
30830 rm -f conftest.err conftest.
$ac_objext \
30831 conftest
$ac_exeext conftest.
$ac_ext
30833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30835 if test `eval echo '${'$as_ac_var'}'` = yes; then
30836 cat >>confdefs.h
<<_ACEOF
30837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30844 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
30845 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
30851 ac_cpp
='$CXXCPP $CPPFLAGS'
30852 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30853 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30854 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30858 for ac_func
in vsnprintf
30860 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30861 echo "$as_me:$LINENO: checking for $ac_func" >&5
30862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30863 if eval "test \"\${$as_ac_var+set}\" = set"; then
30864 echo $ECHO_N "(cached) $ECHO_C" >&6
30866 cat >conftest.
$ac_ext <<_ACEOF
30869 cat confdefs.h
>>conftest.
$ac_ext
30870 cat >>conftest.
$ac_ext <<_ACEOF
30871 /* end confdefs.h. */
30872 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30874 #define $ac_func innocuous_$ac_func
30876 /* System header to define __stub macros and hopefully few prototypes,
30877 which can conflict with char $ac_func (); below.
30878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30879 <limits.h> exists even on freestanding compilers. */
30882 # include <limits.h>
30884 # include <assert.h>
30889 /* Override any gcc2 internal prototype to avoid an error. */
30894 /* We use char because int might match the return type of a gcc2
30895 builtin and then its argument prototype would still apply. */
30897 /* The GNU C library defines this for functions which it implements
30898 to always fail with ENOSYS. Some functions are actually named
30899 something starting with __ and the normal name is an alias. */
30900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30903 char (*f) () = $ac_func;
30912 return f != $ac_func;
30917 rm -f conftest.
$ac_objext conftest
$ac_exeext
30918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30919 (eval $ac_link) 2>conftest.er1
30921 grep -v '^ *+' conftest.er1
>conftest.err
30923 cat conftest.err
>&5
30924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30925 (exit $ac_status); } &&
30926 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30928 (eval $ac_try) 2>&5
30930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30931 (exit $ac_status); }; } &&
30932 { ac_try
='test -s conftest$ac_exeext'
30933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30934 (eval $ac_try) 2>&5
30936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30937 (exit $ac_status); }; }; then
30938 eval "$as_ac_var=yes"
30940 echo "$as_me: failed program was:" >&5
30941 sed 's/^/| /' conftest.
$ac_ext >&5
30943 eval "$as_ac_var=no"
30945 rm -f conftest.err conftest.
$ac_objext \
30946 conftest
$ac_exeext conftest.
$ac_ext
30948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30950 if test `eval echo '${'$as_ac_var'}'` = yes; then
30951 cat >>confdefs.h
<<_ACEOF
30952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30959 if test "$ac_cv_func_vsnprintf" = "yes"; then
30960 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
30961 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
30962 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
30963 echo $ECHO_N "(cached) $ECHO_C" >&6
30966 cat >conftest.
$ac_ext <<_ACEOF
30969 cat confdefs.h
>>conftest.
$ac_ext
30970 cat >>conftest.
$ac_ext <<_ACEOF
30971 /* end confdefs.h. */
30974 #include <stdarg.h>
30982 vsnprintf(buf, 10u, "%s", ap);
30988 rm -f conftest.
$ac_objext
30989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30990 (eval $ac_compile) 2>conftest.er1
30992 grep -v '^ *+' conftest.er1
>conftest.err
30994 cat conftest.err
>&5
30995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30996 (exit $ac_status); } &&
30997 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30999 (eval $ac_try) 2>&5
31001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31002 (exit $ac_status); }; } &&
31003 { ac_try
='test -s conftest.$ac_objext'
31004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31005 (eval $ac_try) 2>&5
31007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31008 (exit $ac_status); }; }; then
31009 wx_cv_func_vsnprintf_decl
=yes
31011 echo "$as_me: failed program was:" >&5
31012 sed 's/^/| /' conftest.
$ac_ext >&5
31015 cat >conftest.
$ac_ext <<_ACEOF
31018 cat confdefs.h
>>conftest.
$ac_ext
31019 cat >>conftest.
$ac_ext <<_ACEOF
31020 /* end confdefs.h. */
31023 #include <stdarg.h>
31024 using namespace std;
31032 vsnprintf(buf, 10u, "%s", ap);
31038 rm -f conftest.
$ac_objext
31039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31040 (eval $ac_compile) 2>conftest.er1
31042 grep -v '^ *+' conftest.er1
>conftest.err
31044 cat conftest.err
>&5
31045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31046 (exit $ac_status); } &&
31047 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31049 (eval $ac_try) 2>&5
31051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31052 (exit $ac_status); }; } &&
31053 { ac_try
='test -s conftest.$ac_objext'
31054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31055 (eval $ac_try) 2>&5
31057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31058 (exit $ac_status); }; }; then
31059 wx_cv_func_vsnprintf_decl
=yes
31061 echo "$as_me: failed program was:" >&5
31062 sed 's/^/| /' conftest.
$ac_ext >&5
31064 wx_cv_func_vsnprintf_decl
=no
31067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31071 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31075 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
31076 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
31078 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
31079 cat >>confdefs.h
<<\_ACEOF
31080 #define HAVE_VSNPRINTF_DECL 1
31086 if test "$wxUSE_UNICODE" = yes; then
31093 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
31095 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31096 echo "$as_me:$LINENO: checking for $ac_func" >&5
31097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31098 if eval "test \"\${$as_ac_var+set}\" = set"; then
31099 echo $ECHO_N "(cached) $ECHO_C" >&6
31101 cat >conftest.
$ac_ext <<_ACEOF
31104 cat confdefs.h
>>conftest.
$ac_ext
31105 cat >>conftest.
$ac_ext <<_ACEOF
31106 /* end confdefs.h. */
31107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31109 #define $ac_func innocuous_$ac_func
31111 /* System header to define __stub macros and hopefully few prototypes,
31112 which can conflict with char $ac_func (); below.
31113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31114 <limits.h> exists even on freestanding compilers. */
31117 # include <limits.h>
31119 # include <assert.h>
31124 /* Override any gcc2 internal prototype to avoid an error. */
31129 /* We use char because int might match the return type of a gcc2
31130 builtin and then its argument prototype would still apply. */
31132 /* The GNU C library defines this for functions which it implements
31133 to always fail with ENOSYS. Some functions are actually named
31134 something starting with __ and the normal name is an alias. */
31135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31138 char (*f) () = $ac_func;
31147 return f != $ac_func;
31152 rm -f conftest.
$ac_objext conftest
$ac_exeext
31153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31154 (eval $ac_link) 2>conftest.er1
31156 grep -v '^ *+' conftest.er1
>conftest.err
31158 cat conftest.err
>&5
31159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31160 (exit $ac_status); } &&
31161 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31163 (eval $ac_try) 2>&5
31165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31166 (exit $ac_status); }; } &&
31167 { ac_try
='test -s conftest$ac_exeext'
31168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31169 (eval $ac_try) 2>&5
31171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31172 (exit $ac_status); }; }; then
31173 eval "$as_ac_var=yes"
31175 echo "$as_me: failed program was:" >&5
31176 sed 's/^/| /' conftest.
$ac_ext >&5
31178 eval "$as_ac_var=no"
31180 rm -f conftest.err conftest.
$ac_objext \
31181 conftest
$ac_exeext conftest.
$ac_ext
31183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31185 if test `eval echo '${'$as_ac_var'}'` = yes; then
31186 cat >>confdefs.h
<<_ACEOF
31187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31194 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
31195 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
31196 cat >conftest.
$ac_ext <<_ACEOF
31199 cat confdefs.h
>>conftest.
$ac_ext
31200 cat >>conftest.
$ac_ext <<_ACEOF
31201 /* end confdefs.h. */
31211 rm -f conftest.
$ac_objext
31212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31213 (eval $ac_compile) 2>conftest.er1
31215 grep -v '^ *+' conftest.er1
>conftest.err
31217 cat conftest.err
>&5
31218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31219 (exit $ac_status); } &&
31220 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31222 (eval $ac_try) 2>&5
31224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31225 (exit $ac_status); }; } &&
31226 { ac_try
='test -s conftest.$ac_objext'
31227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31228 (eval $ac_try) 2>&5
31230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31231 (exit $ac_status); }; }; then
31232 echo "$as_me:$LINENO: result: yes" >&5
31233 echo "${ECHO_T}yes" >&6
31234 cat >>confdefs.h
<<\_ACEOF
31235 #define HAVE__VSNWPRINTF 1
31239 echo "$as_me: failed program was:" >&5
31240 sed 's/^/| /' conftest.
$ac_ext >&5
31242 echo "$as_me:$LINENO: result: no" >&5
31243 echo "${ECHO_T}no" >&6
31245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
31249 ac_cpp
='$CPP $CPPFLAGS'
31250 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31251 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31252 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31257 if test "$TOOLKIT" != "MSW"; then
31263 ac_cpp
='$CXXCPP $CPPFLAGS'
31264 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31265 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31266 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31271 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
31272 if test "${with_libiconv_prefix+set}" = set; then
31273 withval
="$with_libiconv_prefix"
31275 for dir
in `echo "$withval" | tr : ' '`; do
31276 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
31277 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
31282 echo "$as_me:$LINENO: checking for iconv" >&5
31283 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
31284 if test "${am_cv_func_iconv+set}" = set; then
31285 echo $ECHO_N "(cached) $ECHO_C" >&6
31288 am_cv_func_iconv
="no, consider installing GNU libiconv"
31290 cat >conftest.
$ac_ext <<_ACEOF
31293 cat confdefs.h
>>conftest.
$ac_ext
31294 cat >>conftest.
$ac_ext <<_ACEOF
31295 /* end confdefs.h. */
31296 #include <stdlib.h>
31301 iconv_t cd = iconv_open("","");
31302 iconv(cd,NULL,NULL,NULL,NULL);
31308 rm -f conftest.
$ac_objext conftest
$ac_exeext
31309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31310 (eval $ac_link) 2>conftest.er1
31312 grep -v '^ *+' conftest.er1
>conftest.err
31314 cat conftest.err
>&5
31315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31316 (exit $ac_status); } &&
31317 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
31323 { ac_try
='test -s conftest$ac_exeext'
31324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31325 (eval $ac_try) 2>&5
31327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31328 (exit $ac_status); }; }; then
31329 am_cv_func_iconv
=yes
31331 echo "$as_me: failed program was:" >&5
31332 sed 's/^/| /' conftest.
$ac_ext >&5
31335 rm -f conftest.err conftest.
$ac_objext \
31336 conftest
$ac_exeext conftest.
$ac_ext
31337 if test "$am_cv_func_iconv" != yes; then
31338 am_save_LIBS
="$LIBS"
31339 LIBS
="$LIBS -liconv"
31340 cat >conftest.
$ac_ext <<_ACEOF
31343 cat confdefs.h
>>conftest.
$ac_ext
31344 cat >>conftest.
$ac_ext <<_ACEOF
31345 /* end confdefs.h. */
31346 #include <stdlib.h>
31351 iconv_t cd = iconv_open("","");
31352 iconv(cd,NULL,NULL,NULL,NULL);
31358 rm -f conftest.
$ac_objext conftest
$ac_exeext
31359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31360 (eval $ac_link) 2>conftest.er1
31362 grep -v '^ *+' conftest.er1
>conftest.err
31364 cat conftest.err
>&5
31365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31366 (exit $ac_status); } &&
31367 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31369 (eval $ac_try) 2>&5
31371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31372 (exit $ac_status); }; } &&
31373 { ac_try
='test -s conftest$ac_exeext'
31374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31375 (eval $ac_try) 2>&5
31377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31378 (exit $ac_status); }; }; then
31379 am_cv_lib_iconv
=yes
31380 am_cv_func_iconv
=yes
31382 echo "$as_me: failed program was:" >&5
31383 sed 's/^/| /' conftest.
$ac_ext >&5
31386 rm -f conftest.err conftest.
$ac_objext \
31387 conftest
$ac_exeext conftest.
$ac_ext
31388 LIBS
="$am_save_LIBS"
31392 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
31393 echo "${ECHO_T}$am_cv_func_iconv" >&6
31394 if test "$am_cv_func_iconv" = yes; then
31396 cat >>confdefs.h
<<\_ACEOF
31397 #define HAVE_ICONV 1
31400 echo "$as_me:$LINENO: checking if iconv needs const" >&5
31401 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
31402 if test "${wx_cv_func_iconv_const+set}" = set; then
31403 echo $ECHO_N "(cached) $ECHO_C" >&6
31405 cat >conftest.
$ac_ext <<_ACEOF
31408 cat confdefs.h
>>conftest.
$ac_ext
31409 cat >>conftest.
$ac_ext <<_ACEOF
31410 /* end confdefs.h. */
31412 #include <stdlib.h>
31418 #if defined(__STDC__) || defined(__cplusplus)
31419 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
31432 rm -f conftest.
$ac_objext
31433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31434 (eval $ac_compile) 2>conftest.er1
31436 grep -v '^ *+' conftest.er1
>conftest.err
31438 cat conftest.err
>&5
31439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31440 (exit $ac_status); } &&
31441 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31443 (eval $ac_try) 2>&5
31445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31446 (exit $ac_status); }; } &&
31447 { ac_try
='test -s conftest.$ac_objext'
31448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31449 (eval $ac_try) 2>&5
31451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31452 (exit $ac_status); }; }; then
31453 wx_cv_func_iconv_const
="no"
31455 echo "$as_me: failed program was:" >&5
31456 sed 's/^/| /' conftest.
$ac_ext >&5
31458 wx_cv_func_iconv_const
="yes"
31461 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31464 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
31465 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
31468 if test "x$wx_cv_func_iconv_const" = "xyes"; then
31469 iconv_const
="const"
31473 cat >>confdefs.h
<<_ACEOF
31474 #define ICONV_CONST $iconv_const
31479 if test "$am_cv_lib_iconv" = yes; then
31484 LIBS
="$LIBICONV $LIBS"
31486 ac_cpp
='$CPP $CPPFLAGS'
31487 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31488 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31489 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31492 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
31494 for ac_func
in sigaction
31496 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31497 echo "$as_me:$LINENO: checking for $ac_func" >&5
31498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31499 if eval "test \"\${$as_ac_var+set}\" = set"; then
31500 echo $ECHO_N "(cached) $ECHO_C" >&6
31502 cat >conftest.
$ac_ext <<_ACEOF
31505 cat confdefs.h
>>conftest.
$ac_ext
31506 cat >>conftest.
$ac_ext <<_ACEOF
31507 /* end confdefs.h. */
31508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31510 #define $ac_func innocuous_$ac_func
31512 /* System header to define __stub macros and hopefully few prototypes,
31513 which can conflict with char $ac_func (); below.
31514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31515 <limits.h> exists even on freestanding compilers. */
31518 # include <limits.h>
31520 # include <assert.h>
31525 /* Override any gcc2 internal prototype to avoid an error. */
31530 /* We use char because int might match the return type of a gcc2
31531 builtin and then its argument prototype would still apply. */
31533 /* The GNU C library defines this for functions which it implements
31534 to always fail with ENOSYS. Some functions are actually named
31535 something starting with __ and the normal name is an alias. */
31536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31539 char (*f) () = $ac_func;
31548 return f != $ac_func;
31553 rm -f conftest.
$ac_objext conftest
$ac_exeext
31554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31555 (eval $ac_link) 2>conftest.er1
31557 grep -v '^ *+' conftest.er1
>conftest.err
31559 cat conftest.err
>&5
31560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31561 (exit $ac_status); } &&
31562 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31564 (eval $ac_try) 2>&5
31566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31567 (exit $ac_status); }; } &&
31568 { ac_try
='test -s conftest$ac_exeext'
31569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31570 (eval $ac_try) 2>&5
31572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31573 (exit $ac_status); }; }; then
31574 eval "$as_ac_var=yes"
31576 echo "$as_me: failed program was:" >&5
31577 sed 's/^/| /' conftest.
$ac_ext >&5
31579 eval "$as_ac_var=no"
31581 rm -f conftest.err conftest.
$ac_objext \
31582 conftest
$ac_exeext conftest.
$ac_ext
31584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31585 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31586 if test `eval echo '${'$as_ac_var'}'` = yes; then
31587 cat >>confdefs.h
<<_ACEOF
31588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31595 if test "$ac_cv_func_sigaction" = "no"; then
31596 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
31597 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
31598 wxUSE_ON_FATAL_EXCEPTION
=no
31601 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
31605 ac_cpp
='$CXXCPP $CPPFLAGS'
31606 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31607 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31608 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31611 echo "$as_me:$LINENO: checking for sa_handler type" >&5
31612 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
31613 if test "${wx_cv_type_sa_handler+set}" = set; then
31614 echo $ECHO_N "(cached) $ECHO_C" >&6
31617 cat >conftest.
$ac_ext <<_ACEOF
31620 cat confdefs.h
>>conftest.
$ac_ext
31621 cat >>conftest.
$ac_ext <<_ACEOF
31622 /* end confdefs.h. */
31623 #include <signal.h>
31628 extern void testSigHandler(int);
31630 struct sigaction sa;
31631 sa.sa_handler = testSigHandler;
31637 rm -f conftest.
$ac_objext
31638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31639 (eval $ac_compile) 2>conftest.er1
31641 grep -v '^ *+' conftest.er1
>conftest.err
31643 cat conftest.err
>&5
31644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31645 (exit $ac_status); } &&
31646 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31648 (eval $ac_try) 2>&5
31650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31651 (exit $ac_status); }; } &&
31652 { ac_try
='test -s conftest.$ac_objext'
31653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31654 (eval $ac_try) 2>&5
31656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31657 (exit $ac_status); }; }; then
31659 wx_cv_type_sa_handler
=int
31662 echo "$as_me: failed program was:" >&5
31663 sed 's/^/| /' conftest.
$ac_ext >&5
31666 wx_cv_type_sa_handler
=void
31669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31672 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
31673 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
31676 ac_cpp
='$CPP $CPPFLAGS'
31677 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31678 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31679 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31682 cat >>confdefs.h
<<_ACEOF
31683 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
31689 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
31693 ac_cpp
='$CXXCPP $CPPFLAGS'
31694 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31695 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31696 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31699 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
31700 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
31701 if test "${wx_cv_func_backtrace+set}" = set; then
31702 echo $ECHO_N "(cached) $ECHO_C" >&6
31705 cat >conftest.
$ac_ext <<_ACEOF
31708 cat confdefs.h
>>conftest.
$ac_ext
31709 cat >>conftest.
$ac_ext <<_ACEOF
31710 /* end confdefs.h. */
31711 #include <execinfo.h>
31719 backtrace(trace, 1);
31720 messages = backtrace_symbols(trace, 1);
31726 rm -f conftest.
$ac_objext
31727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31728 (eval $ac_compile) 2>conftest.er1
31730 grep -v '^ *+' conftest.er1
>conftest.err
31732 cat conftest.err
>&5
31733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31734 (exit $ac_status); } &&
31735 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31737 (eval $ac_try) 2>&5
31739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31740 (exit $ac_status); }; } &&
31741 { ac_try
='test -s conftest.$ac_objext'
31742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31743 (eval $ac_try) 2>&5
31745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31746 (exit $ac_status); }; }; then
31747 wx_cv_func_backtrace
=yes
31749 echo "$as_me: failed program was:" >&5
31750 sed 's/^/| /' conftest.
$ac_ext >&5
31752 wx_cv_func_backtrace
=no
31755 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31759 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
31760 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
31763 if test "$wx_cv_func_backtrace" = "no"; then
31764 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
31765 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
31766 wxUSE_STACKWALKER
=no
31768 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
31769 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
31770 if test "${wx_cv_func_cxa_demangle+set}" = set; then
31771 echo $ECHO_N "(cached) $ECHO_C" >&6
31774 cat >conftest.
$ac_ext <<_ACEOF
31777 cat confdefs.h
>>conftest.
$ac_ext
31778 cat >>conftest.
$ac_ext <<_ACEOF
31779 /* end confdefs.h. */
31780 #include <cxxabi.h>
31786 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
31792 rm -f conftest.
$ac_objext conftest
$ac_exeext
31793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31794 (eval $ac_link) 2>conftest.er1
31796 grep -v '^ *+' conftest.er1
>conftest.err
31798 cat conftest.err
>&5
31799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31800 (exit $ac_status); } &&
31801 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31803 (eval $ac_try) 2>&5
31805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31806 (exit $ac_status); }; } &&
31807 { ac_try
='test -s conftest$ac_exeext'
31808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31809 (eval $ac_try) 2>&5
31811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31812 (exit $ac_status); }; }; then
31813 wx_cv_func_cxa_demangle
=yes
31815 echo "$as_me: failed program was:" >&5
31816 sed 's/^/| /' conftest.
$ac_ext >&5
31818 wx_cv_func_cxa_demangle
=no
31821 rm -f conftest.err conftest.
$ac_objext \
31822 conftest
$ac_exeext conftest.
$ac_ext
31826 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
31827 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
31829 if test "$wx_cv_func_cxa_demangle" = "yes"; then
31830 cat >>confdefs.h
<<\_ACEOF
31831 #define HAVE_CXA_DEMANGLE 1
31838 ac_cpp
='$CPP $CPPFLAGS'
31839 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31840 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31841 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31845 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
31846 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
31847 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
31848 wxUSE_STACKWALKER
=no
31854 for ac_func
in mkstemp mktemp
31856 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31857 echo "$as_me:$LINENO: checking for $ac_func" >&5
31858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31859 if eval "test \"\${$as_ac_var+set}\" = set"; then
31860 echo $ECHO_N "(cached) $ECHO_C" >&6
31862 cat >conftest.
$ac_ext <<_ACEOF
31865 cat confdefs.h
>>conftest.
$ac_ext
31866 cat >>conftest.
$ac_ext <<_ACEOF
31867 /* end confdefs.h. */
31868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31870 #define $ac_func innocuous_$ac_func
31872 /* System header to define __stub macros and hopefully few prototypes,
31873 which can conflict with char $ac_func (); below.
31874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31875 <limits.h> exists even on freestanding compilers. */
31878 # include <limits.h>
31880 # include <assert.h>
31885 /* Override any gcc2 internal prototype to avoid an error. */
31890 /* We use char because int might match the return type of a gcc2
31891 builtin and then its argument prototype would still apply. */
31893 /* The GNU C library defines this for functions which it implements
31894 to always fail with ENOSYS. Some functions are actually named
31895 something starting with __ and the normal name is an alias. */
31896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31899 char (*f) () = $ac_func;
31908 return f != $ac_func;
31913 rm -f conftest.
$ac_objext conftest
$ac_exeext
31914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31915 (eval $ac_link) 2>conftest.er1
31917 grep -v '^ *+' conftest.er1
>conftest.err
31919 cat conftest.err
>&5
31920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31921 (exit $ac_status); } &&
31922 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31924 (eval $ac_try) 2>&5
31926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31927 (exit $ac_status); }; } &&
31928 { ac_try
='test -s conftest$ac_exeext'
31929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31930 (eval $ac_try) 2>&5
31932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31933 (exit $ac_status); }; }; then
31934 eval "$as_ac_var=yes"
31936 echo "$as_me: failed program was:" >&5
31937 sed 's/^/| /' conftest.
$ac_ext >&5
31939 eval "$as_ac_var=no"
31941 rm -f conftest.err conftest.
$ac_objext \
31942 conftest
$ac_exeext conftest.
$ac_ext
31944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31946 if test `eval echo '${'$as_ac_var'}'` = yes; then
31947 cat >>confdefs.h
<<_ACEOF
31948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31955 echo "$as_me:$LINENO: checking for statfs" >&5
31956 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
31957 if test "${wx_cv_func_statfs+set}" = set; then
31958 echo $ECHO_N "(cached) $ECHO_C" >&6
31960 cat >conftest.
$ac_ext <<_ACEOF
31963 cat confdefs.h
>>conftest.
$ac_ext
31964 cat >>conftest.
$ac_ext <<_ACEOF
31965 /* end confdefs.h. */
31967 #if defined(__BSD__)
31968 #include <sys/param.h>
31969 #include <sys/mount.h>
31971 #include <sys/vfs.h>
31989 rm -f conftest.
$ac_objext
31990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31991 (eval $ac_compile) 2>conftest.er1
31993 grep -v '^ *+' conftest.er1
>conftest.err
31995 cat conftest.err
>&5
31996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31997 (exit $ac_status); } &&
31998 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32000 (eval $ac_try) 2>&5
32002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32003 (exit $ac_status); }; } &&
32004 { ac_try
='test -s conftest.$ac_objext'
32005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32006 (eval $ac_try) 2>&5
32008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32009 (exit $ac_status); }; }; then
32011 wx_cv_func_statfs
=yes
32014 echo "$as_me: failed program was:" >&5
32015 sed 's/^/| /' conftest.
$ac_ext >&5
32018 wx_cv_func_statfs
=no
32022 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32025 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
32026 echo "${ECHO_T}$wx_cv_func_statfs" >&6
32028 if test "$wx_cv_func_statfs" = "yes"; then
32029 wx_cv_type_statvfs_t
="struct statfs"
32030 cat >>confdefs.h
<<\_ACEOF
32031 #define HAVE_STATFS 1
32035 echo "$as_me:$LINENO: checking for statvfs" >&5
32036 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
32037 if test "${wx_cv_func_statvfs+set}" = set; then
32038 echo $ECHO_N "(cached) $ECHO_C" >&6
32040 cat >conftest.
$ac_ext <<_ACEOF
32043 cat confdefs.h
>>conftest.
$ac_ext
32044 cat >>conftest.
$ac_ext <<_ACEOF
32045 /* end confdefs.h. */
32047 #include <stddef.h>
32048 #include <sys/statvfs.h>
32054 statvfs("/", NULL);
32060 rm -f conftest.
$ac_objext
32061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32062 (eval $ac_compile) 2>conftest.er1
32064 grep -v '^ *+' conftest.er1
>conftest.err
32066 cat conftest.err
>&5
32067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32068 (exit $ac_status); } &&
32069 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32071 (eval $ac_try) 2>&5
32073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32074 (exit $ac_status); }; } &&
32075 { ac_try
='test -s conftest.$ac_objext'
32076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32077 (eval $ac_try) 2>&5
32079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32080 (exit $ac_status); }; }; then
32081 wx_cv_func_statvfs
=yes
32083 echo "$as_me: failed program was:" >&5
32084 sed 's/^/| /' conftest.
$ac_ext >&5
32086 wx_cv_func_statvfs
=no
32089 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32092 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
32093 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
32095 if test "$wx_cv_func_statvfs" = "yes"; then
32099 ac_cpp
='$CXXCPP $CPPFLAGS'
32100 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32101 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32102 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32105 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
32106 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
32107 if test "${wx_cv_type_statvfs_t+set}" = set; then
32108 echo $ECHO_N "(cached) $ECHO_C" >&6
32110 cat >conftest.
$ac_ext <<_ACEOF
32113 cat confdefs.h
>>conftest.
$ac_ext
32114 cat >>conftest.
$ac_ext <<_ACEOF
32115 /* end confdefs.h. */
32117 #include <sys/statvfs.h>
32134 rm -f conftest.
$ac_objext
32135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32136 (eval $ac_compile) 2>conftest.er1
32138 grep -v '^ *+' conftest.er1
>conftest.err
32140 cat conftest.err
>&5
32141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32142 (exit $ac_status); } &&
32143 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32145 (eval $ac_try) 2>&5
32147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32148 (exit $ac_status); }; } &&
32149 { ac_try
='test -s conftest.$ac_objext'
32150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32151 (eval $ac_try) 2>&5
32153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32154 (exit $ac_status); }; }; then
32155 wx_cv_type_statvfs_t
=statvfs_t
32157 echo "$as_me: failed program was:" >&5
32158 sed 's/^/| /' conftest.
$ac_ext >&5
32161 cat >conftest.
$ac_ext <<_ACEOF
32164 cat confdefs.h
>>conftest.
$ac_ext
32165 cat >>conftest.
$ac_ext <<_ACEOF
32166 /* end confdefs.h. */
32168 #include <sys/statvfs.h>
32185 rm -f conftest.
$ac_objext
32186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32187 (eval $ac_compile) 2>conftest.er1
32189 grep -v '^ *+' conftest.er1
>conftest.err
32191 cat conftest.err
>&5
32192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32193 (exit $ac_status); } &&
32194 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32196 (eval $ac_try) 2>&5
32198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32199 (exit $ac_status); }; } &&
32200 { ac_try
='test -s conftest.$ac_objext'
32201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32202 (eval $ac_try) 2>&5
32204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32205 (exit $ac_status); }; }; then
32206 wx_cv_type_statvfs_t
="struct statvfs"
32208 echo "$as_me: failed program was:" >&5
32209 sed 's/^/| /' conftest.
$ac_ext >&5
32211 wx_cv_type_statvfs_t
="unknown"
32214 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32218 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32221 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
32222 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
32225 ac_cpp
='$CPP $CPPFLAGS'
32226 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32227 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32228 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32231 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32232 cat >>confdefs.h
<<\_ACEOF
32233 #define HAVE_STATVFS 1
32238 wx_cv_type_statvfs_t
="unknown"
32242 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32243 cat >>confdefs.h
<<_ACEOF
32244 #define WX_STATFS_T $wx_cv_type_statvfs_t
32248 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
32249 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
32252 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
32255 for ac_func
in fcntl flock
32257 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32258 echo "$as_me:$LINENO: checking for $ac_func" >&5
32259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32260 if eval "test \"\${$as_ac_var+set}\" = set"; then
32261 echo $ECHO_N "(cached) $ECHO_C" >&6
32263 cat >conftest.
$ac_ext <<_ACEOF
32266 cat confdefs.h
>>conftest.
$ac_ext
32267 cat >>conftest.
$ac_ext <<_ACEOF
32268 /* end confdefs.h. */
32269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32271 #define $ac_func innocuous_$ac_func
32273 /* System header to define __stub macros and hopefully few prototypes,
32274 which can conflict with char $ac_func (); below.
32275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32276 <limits.h> exists even on freestanding compilers. */
32279 # include <limits.h>
32281 # include <assert.h>
32286 /* Override any gcc2 internal prototype to avoid an error. */
32291 /* We use char because int might match the return type of a gcc2
32292 builtin and then its argument prototype would still apply. */
32294 /* The GNU C library defines this for functions which it implements
32295 to always fail with ENOSYS. Some functions are actually named
32296 something starting with __ and the normal name is an alias. */
32297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32300 char (*f) () = $ac_func;
32309 return f != $ac_func;
32314 rm -f conftest.
$ac_objext conftest
$ac_exeext
32315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32316 (eval $ac_link) 2>conftest.er1
32318 grep -v '^ *+' conftest.er1
>conftest.err
32320 cat conftest.err
>&5
32321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32322 (exit $ac_status); } &&
32323 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32325 (eval $ac_try) 2>&5
32327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32328 (exit $ac_status); }; } &&
32329 { ac_try
='test -s conftest$ac_exeext'
32330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32331 (eval $ac_try) 2>&5
32333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32334 (exit $ac_status); }; }; then
32335 eval "$as_ac_var=yes"
32337 echo "$as_me: failed program was:" >&5
32338 sed 's/^/| /' conftest.
$ac_ext >&5
32340 eval "$as_ac_var=no"
32342 rm -f conftest.err conftest.
$ac_objext \
32343 conftest
$ac_exeext conftest.
$ac_ext
32345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32346 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32347 if test `eval echo '${'$as_ac_var'}'` = yes; then
32348 cat >>confdefs.h
<<_ACEOF
32349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32356 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
32357 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
32358 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
32359 wxUSE_SNGLINST_CHECKER
=no
32364 for ac_func
in timegm
32366 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32367 echo "$as_me:$LINENO: checking for $ac_func" >&5
32368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32369 if eval "test \"\${$as_ac_var+set}\" = set"; then
32370 echo $ECHO_N "(cached) $ECHO_C" >&6
32372 cat >conftest.
$ac_ext <<_ACEOF
32375 cat confdefs.h
>>conftest.
$ac_ext
32376 cat >>conftest.
$ac_ext <<_ACEOF
32377 /* end confdefs.h. */
32378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32380 #define $ac_func innocuous_$ac_func
32382 /* System header to define __stub macros and hopefully few prototypes,
32383 which can conflict with char $ac_func (); below.
32384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32385 <limits.h> exists even on freestanding compilers. */
32388 # include <limits.h>
32390 # include <assert.h>
32395 /* Override any gcc2 internal prototype to avoid an error. */
32400 /* We use char because int might match the return type of a gcc2
32401 builtin and then its argument prototype would still apply. */
32403 /* The GNU C library defines this for functions which it implements
32404 to always fail with ENOSYS. Some functions are actually named
32405 something starting with __ and the normal name is an alias. */
32406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32409 char (*f) () = $ac_func;
32418 return f != $ac_func;
32423 rm -f conftest.
$ac_objext conftest
$ac_exeext
32424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32425 (eval $ac_link) 2>conftest.er1
32427 grep -v '^ *+' conftest.er1
>conftest.err
32429 cat conftest.err
>&5
32430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32431 (exit $ac_status); } &&
32432 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32434 (eval $ac_try) 2>&5
32436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32437 (exit $ac_status); }; } &&
32438 { ac_try
='test -s conftest$ac_exeext'
32439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32440 (eval $ac_try) 2>&5
32442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32443 (exit $ac_status); }; }; then
32444 eval "$as_ac_var=yes"
32446 echo "$as_me: failed program was:" >&5
32447 sed 's/^/| /' conftest.
$ac_ext >&5
32449 eval "$as_ac_var=no"
32451 rm -f conftest.err conftest.
$ac_objext \
32452 conftest
$ac_exeext conftest.
$ac_ext
32454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32456 if test `eval echo '${'$as_ac_var'}'` = yes; then
32457 cat >>confdefs.h
<<_ACEOF
32458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32467 for ac_func
in putenv setenv
32469 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32470 echo "$as_me:$LINENO: checking for $ac_func" >&5
32471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32472 if eval "test \"\${$as_ac_var+set}\" = set"; then
32473 echo $ECHO_N "(cached) $ECHO_C" >&6
32475 cat >conftest.
$ac_ext <<_ACEOF
32478 cat confdefs.h
>>conftest.
$ac_ext
32479 cat >>conftest.
$ac_ext <<_ACEOF
32480 /* end confdefs.h. */
32481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32483 #define $ac_func innocuous_$ac_func
32485 /* System header to define __stub macros and hopefully few prototypes,
32486 which can conflict with char $ac_func (); below.
32487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32488 <limits.h> exists even on freestanding compilers. */
32491 # include <limits.h>
32493 # include <assert.h>
32498 /* Override any gcc2 internal prototype to avoid an error. */
32503 /* We use char because int might match the return type of a gcc2
32504 builtin and then its argument prototype would still apply. */
32506 /* The GNU C library defines this for functions which it implements
32507 to always fail with ENOSYS. Some functions are actually named
32508 something starting with __ and the normal name is an alias. */
32509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32512 char (*f) () = $ac_func;
32521 return f != $ac_func;
32526 rm -f conftest.
$ac_objext conftest
$ac_exeext
32527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32528 (eval $ac_link) 2>conftest.er1
32530 grep -v '^ *+' conftest.er1
>conftest.err
32532 cat conftest.err
>&5
32533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32534 (exit $ac_status); } &&
32535 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32537 (eval $ac_try) 2>&5
32539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32540 (exit $ac_status); }; } &&
32541 { ac_try
='test -s conftest$ac_exeext'
32542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32543 (eval $ac_try) 2>&5
32545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32546 (exit $ac_status); }; }; then
32547 eval "$as_ac_var=yes"
32549 echo "$as_me: failed program was:" >&5
32550 sed 's/^/| /' conftest.
$ac_ext >&5
32552 eval "$as_ac_var=no"
32554 rm -f conftest.err conftest.
$ac_objext \
32555 conftest
$ac_exeext conftest.
$ac_ext
32557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32559 if test `eval echo '${'$as_ac_var'}'` = yes; then
32560 cat >>confdefs.h
<<_ACEOF
32561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32568 HAVE_SOME_SLEEP_FUNC
=0
32569 if test "$USE_BEOS" = 1; then
32570 cat >>confdefs.h
<<\_ACEOF
32571 #define HAVE_SLEEP 1
32574 HAVE_SOME_SLEEP_FUNC
=1
32577 if test "$USE_DARWIN" = 1; then
32578 cat >>confdefs.h
<<\_ACEOF
32579 #define HAVE_USLEEP 1
32582 HAVE_SOME_SLEEP_FUNC
=1
32585 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
32588 for ac_func
in nanosleep
32590 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32591 echo "$as_me:$LINENO: checking for $ac_func" >&5
32592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32593 if eval "test \"\${$as_ac_var+set}\" = set"; then
32594 echo $ECHO_N "(cached) $ECHO_C" >&6
32596 cat >conftest.
$ac_ext <<_ACEOF
32599 cat confdefs.h
>>conftest.
$ac_ext
32600 cat >>conftest.
$ac_ext <<_ACEOF
32601 /* end confdefs.h. */
32602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32604 #define $ac_func innocuous_$ac_func
32606 /* System header to define __stub macros and hopefully few prototypes,
32607 which can conflict with char $ac_func (); below.
32608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32609 <limits.h> exists even on freestanding compilers. */
32612 # include <limits.h>
32614 # include <assert.h>
32619 /* Override any gcc2 internal prototype to avoid an error. */
32624 /* We use char because int might match the return type of a gcc2
32625 builtin and then its argument prototype would still apply. */
32627 /* The GNU C library defines this for functions which it implements
32628 to always fail with ENOSYS. Some functions are actually named
32629 something starting with __ and the normal name is an alias. */
32630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32633 char (*f) () = $ac_func;
32642 return f != $ac_func;
32647 rm -f conftest.
$ac_objext conftest
$ac_exeext
32648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32649 (eval $ac_link) 2>conftest.er1
32651 grep -v '^ *+' conftest.er1
>conftest.err
32653 cat conftest.err
>&5
32654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32655 (exit $ac_status); } &&
32656 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32658 (eval $ac_try) 2>&5
32660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32661 (exit $ac_status); }; } &&
32662 { ac_try
='test -s conftest$ac_exeext'
32663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32664 (eval $ac_try) 2>&5
32666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32667 (exit $ac_status); }; }; then
32668 eval "$as_ac_var=yes"
32670 echo "$as_me: failed program was:" >&5
32671 sed 's/^/| /' conftest.
$ac_ext >&5
32673 eval "$as_ac_var=no"
32675 rm -f conftest.err conftest.
$ac_objext \
32676 conftest
$ac_exeext conftest.
$ac_ext
32678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32680 if test `eval echo '${'$as_ac_var'}'` = yes; then
32681 cat >>confdefs.h
<<_ACEOF
32682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32684 cat >>confdefs.h
<<\_ACEOF
32685 #define HAVE_NANOSLEEP 1
32690 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
32691 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
32692 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
32693 echo $ECHO_N "(cached) $ECHO_C" >&6
32695 ac_check_lib_save_LIBS
=$LIBS
32696 LIBS
="-lposix4 $LIBS"
32697 cat >conftest.
$ac_ext <<_ACEOF
32700 cat confdefs.h
>>conftest.
$ac_ext
32701 cat >>conftest.
$ac_ext <<_ACEOF
32702 /* end confdefs.h. */
32704 /* Override any gcc2 internal prototype to avoid an error. */
32708 /* We use char because int might match the return type of a gcc2
32709 builtin and then its argument prototype would still apply. */
32719 rm -f conftest.
$ac_objext conftest
$ac_exeext
32720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32721 (eval $ac_link) 2>conftest.er1
32723 grep -v '^ *+' conftest.er1
>conftest.err
32725 cat conftest.err
>&5
32726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32727 (exit $ac_status); } &&
32728 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32730 (eval $ac_try) 2>&5
32732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32733 (exit $ac_status); }; } &&
32734 { ac_try
='test -s conftest$ac_exeext'
32735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32736 (eval $ac_try) 2>&5
32738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32739 (exit $ac_status); }; }; then
32740 ac_cv_lib_posix4_nanosleep
=yes
32742 echo "$as_me: failed program was:" >&5
32743 sed 's/^/| /' conftest.
$ac_ext >&5
32745 ac_cv_lib_posix4_nanosleep
=no
32747 rm -f conftest.err conftest.
$ac_objext \
32748 conftest
$ac_exeext conftest.
$ac_ext
32749 LIBS
=$ac_check_lib_save_LIBS
32751 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
32752 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
32753 if test $ac_cv_lib_posix4_nanosleep = yes; then
32755 cat >>confdefs.h
<<\_ACEOF
32756 #define HAVE_NANOSLEEP 1
32759 POSIX4_LINK
=" -lposix4"
32764 for ac_func
in usleep
32766 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32767 echo "$as_me:$LINENO: checking for $ac_func" >&5
32768 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32769 if eval "test \"\${$as_ac_var+set}\" = set"; then
32770 echo $ECHO_N "(cached) $ECHO_C" >&6
32772 cat >conftest.
$ac_ext <<_ACEOF
32775 cat confdefs.h
>>conftest.
$ac_ext
32776 cat >>conftest.
$ac_ext <<_ACEOF
32777 /* end confdefs.h. */
32778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32780 #define $ac_func innocuous_$ac_func
32782 /* System header to define __stub macros and hopefully few prototypes,
32783 which can conflict with char $ac_func (); below.
32784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32785 <limits.h> exists even on freestanding compilers. */
32788 # include <limits.h>
32790 # include <assert.h>
32795 /* Override any gcc2 internal prototype to avoid an error. */
32800 /* We use char because int might match the return type of a gcc2
32801 builtin and then its argument prototype would still apply. */
32803 /* The GNU C library defines this for functions which it implements
32804 to always fail with ENOSYS. Some functions are actually named
32805 something starting with __ and the normal name is an alias. */
32806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32809 char (*f) () = $ac_func;
32818 return f != $ac_func;
32823 rm -f conftest.
$ac_objext conftest
$ac_exeext
32824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32825 (eval $ac_link) 2>conftest.er1
32827 grep -v '^ *+' conftest.er1
>conftest.err
32829 cat conftest.err
>&5
32830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32831 (exit $ac_status); } &&
32832 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32834 (eval $ac_try) 2>&5
32836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32837 (exit $ac_status); }; } &&
32838 { ac_try
='test -s conftest$ac_exeext'
32839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32840 (eval $ac_try) 2>&5
32842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32843 (exit $ac_status); }; }; then
32844 eval "$as_ac_var=yes"
32846 echo "$as_me: failed program was:" >&5
32847 sed 's/^/| /' conftest.
$ac_ext >&5
32849 eval "$as_ac_var=no"
32851 rm -f conftest.err conftest.
$ac_objext \
32852 conftest
$ac_exeext conftest.
$ac_ext
32854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32855 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32856 if test `eval echo '${'$as_ac_var'}'` = yes; then
32857 cat >>confdefs.h
<<_ACEOF
32858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32860 cat >>confdefs.h
<<\_ACEOF
32861 #define HAVE_USLEEP 1
32865 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
32866 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
32884 for ac_func
in uname gethostname
32886 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32887 echo "$as_me:$LINENO: checking for $ac_func" >&5
32888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32889 if eval "test \"\${$as_ac_var+set}\" = set"; then
32890 echo $ECHO_N "(cached) $ECHO_C" >&6
32892 cat >conftest.
$ac_ext <<_ACEOF
32895 cat confdefs.h
>>conftest.
$ac_ext
32896 cat >>conftest.
$ac_ext <<_ACEOF
32897 /* end confdefs.h. */
32898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32900 #define $ac_func innocuous_$ac_func
32902 /* System header to define __stub macros and hopefully few prototypes,
32903 which can conflict with char $ac_func (); below.
32904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32905 <limits.h> exists even on freestanding compilers. */
32908 # include <limits.h>
32910 # include <assert.h>
32915 /* Override any gcc2 internal prototype to avoid an error. */
32920 /* We use char because int might match the return type of a gcc2
32921 builtin and then its argument prototype would still apply. */
32923 /* The GNU C library defines this for functions which it implements
32924 to always fail with ENOSYS. Some functions are actually named
32925 something starting with __ and the normal name is an alias. */
32926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32929 char (*f) () = $ac_func;
32938 return f != $ac_func;
32943 rm -f conftest.
$ac_objext conftest
$ac_exeext
32944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32945 (eval $ac_link) 2>conftest.er1
32947 grep -v '^ *+' conftest.er1
>conftest.err
32949 cat conftest.err
>&5
32950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32951 (exit $ac_status); } &&
32952 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32954 (eval $ac_try) 2>&5
32956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32957 (exit $ac_status); }; } &&
32958 { ac_try
='test -s conftest$ac_exeext'
32959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32960 (eval $ac_try) 2>&5
32962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32963 (exit $ac_status); }; }; then
32964 eval "$as_ac_var=yes"
32966 echo "$as_me: failed program was:" >&5
32967 sed 's/^/| /' conftest.
$ac_ext >&5
32969 eval "$as_ac_var=no"
32971 rm -f conftest.err conftest.
$ac_objext \
32972 conftest
$ac_exeext conftest.
$ac_ext
32974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32976 if test `eval echo '${'$as_ac_var'}'` = yes; then
32977 cat >>confdefs.h
<<_ACEOF
32978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32988 ac_cpp
='$CXXCPP $CPPFLAGS'
32989 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32990 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32991 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32995 for ac_func
in strtok_r
32997 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32998 echo "$as_me:$LINENO: checking for $ac_func" >&5
32999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33000 if eval "test \"\${$as_ac_var+set}\" = set"; then
33001 echo $ECHO_N "(cached) $ECHO_C" >&6
33003 cat >conftest.
$ac_ext <<_ACEOF
33006 cat confdefs.h
>>conftest.
$ac_ext
33007 cat >>conftest.
$ac_ext <<_ACEOF
33008 /* end confdefs.h. */
33009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33011 #define $ac_func innocuous_$ac_func
33013 /* System header to define __stub macros and hopefully few prototypes,
33014 which can conflict with char $ac_func (); below.
33015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33016 <limits.h> exists even on freestanding compilers. */
33019 # include <limits.h>
33021 # include <assert.h>
33026 /* Override any gcc2 internal prototype to avoid an error. */
33031 /* We use char because int might match the return type of a gcc2
33032 builtin and then its argument prototype would still apply. */
33034 /* The GNU C library defines this for functions which it implements
33035 to always fail with ENOSYS. Some functions are actually named
33036 something starting with __ and the normal name is an alias. */
33037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33040 char (*f) () = $ac_func;
33049 return f != $ac_func;
33054 rm -f conftest.
$ac_objext conftest
$ac_exeext
33055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33056 (eval $ac_link) 2>conftest.er1
33058 grep -v '^ *+' conftest.er1
>conftest.err
33060 cat conftest.err
>&5
33061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33062 (exit $ac_status); } &&
33063 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33065 (eval $ac_try) 2>&5
33067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33068 (exit $ac_status); }; } &&
33069 { ac_try
='test -s conftest$ac_exeext'
33070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33071 (eval $ac_try) 2>&5
33073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33074 (exit $ac_status); }; }; then
33075 eval "$as_ac_var=yes"
33077 echo "$as_me: failed program was:" >&5
33078 sed 's/^/| /' conftest.
$ac_ext >&5
33080 eval "$as_ac_var=no"
33082 rm -f conftest.err conftest.
$ac_objext \
33083 conftest
$ac_exeext conftest.
$ac_ext
33085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33087 if test `eval echo '${'$as_ac_var'}'` = yes; then
33088 cat >>confdefs.h
<<_ACEOF
33089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33097 ac_cpp
='$CPP $CPPFLAGS'
33098 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33099 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33100 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33105 for ac_func
in inet_addr
33107 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33108 echo "$as_me:$LINENO: checking for $ac_func" >&5
33109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33110 if eval "test \"\${$as_ac_var+set}\" = set"; then
33111 echo $ECHO_N "(cached) $ECHO_C" >&6
33113 cat >conftest.
$ac_ext <<_ACEOF
33116 cat confdefs.h
>>conftest.
$ac_ext
33117 cat >>conftest.
$ac_ext <<_ACEOF
33118 /* end confdefs.h. */
33119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33121 #define $ac_func innocuous_$ac_func
33123 /* System header to define __stub macros and hopefully few prototypes,
33124 which can conflict with char $ac_func (); below.
33125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33126 <limits.h> exists even on freestanding compilers. */
33129 # include <limits.h>
33131 # include <assert.h>
33136 /* Override any gcc2 internal prototype to avoid an error. */
33141 /* We use char because int might match the return type of a gcc2
33142 builtin and then its argument prototype would still apply. */
33144 /* The GNU C library defines this for functions which it implements
33145 to always fail with ENOSYS. Some functions are actually named
33146 something starting with __ and the normal name is an alias. */
33147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33150 char (*f) () = $ac_func;
33159 return f != $ac_func;
33164 rm -f conftest.
$ac_objext conftest
$ac_exeext
33165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33166 (eval $ac_link) 2>conftest.er1
33168 grep -v '^ *+' conftest.er1
>conftest.err
33170 cat conftest.err
>&5
33171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33172 (exit $ac_status); } &&
33173 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33175 (eval $ac_try) 2>&5
33177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33178 (exit $ac_status); }; } &&
33179 { ac_try
='test -s conftest$ac_exeext'
33180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33181 (eval $ac_try) 2>&5
33183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33184 (exit $ac_status); }; }; then
33185 eval "$as_ac_var=yes"
33187 echo "$as_me: failed program was:" >&5
33188 sed 's/^/| /' conftest.
$ac_ext >&5
33190 eval "$as_ac_var=no"
33192 rm -f conftest.err conftest.
$ac_objext \
33193 conftest
$ac_exeext conftest.
$ac_ext
33195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33197 if test `eval echo '${'$as_ac_var'}'` = yes; then
33198 cat >>confdefs.h
<<_ACEOF
33199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33201 cat >>confdefs.h
<<\_ACEOF
33202 #define HAVE_INET_ADDR 1
33207 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
33208 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
33209 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
33210 echo $ECHO_N "(cached) $ECHO_C" >&6
33212 ac_check_lib_save_LIBS
=$LIBS
33214 cat >conftest.
$ac_ext <<_ACEOF
33217 cat confdefs.h
>>conftest.
$ac_ext
33218 cat >>conftest.
$ac_ext <<_ACEOF
33219 /* end confdefs.h. */
33221 /* Override any gcc2 internal prototype to avoid an error. */
33225 /* We use char because int might match the return type of a gcc2
33226 builtin and then its argument prototype would still apply. */
33236 rm -f conftest.
$ac_objext conftest
$ac_exeext
33237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33238 (eval $ac_link) 2>conftest.er1
33240 grep -v '^ *+' conftest.er1
>conftest.err
33242 cat conftest.err
>&5
33243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33244 (exit $ac_status); } &&
33245 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
33251 { ac_try
='test -s conftest$ac_exeext'
33252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33253 (eval $ac_try) 2>&5
33255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33256 (exit $ac_status); }; }; then
33257 ac_cv_lib_nsl_inet_addr
=yes
33259 echo "$as_me: failed program was:" >&5
33260 sed 's/^/| /' conftest.
$ac_ext >&5
33262 ac_cv_lib_nsl_inet_addr
=no
33264 rm -f conftest.err conftest.
$ac_objext \
33265 conftest
$ac_exeext conftest.
$ac_ext
33266 LIBS
=$ac_check_lib_save_LIBS
33268 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
33269 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
33270 if test $ac_cv_lib_nsl_inet_addr = yes; then
33274 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
33275 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
33276 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
33277 echo $ECHO_N "(cached) $ECHO_C" >&6
33279 ac_check_lib_save_LIBS
=$LIBS
33280 LIBS
="-lresolv $LIBS"
33281 cat >conftest.
$ac_ext <<_ACEOF
33284 cat confdefs.h
>>conftest.
$ac_ext
33285 cat >>conftest.
$ac_ext <<_ACEOF
33286 /* end confdefs.h. */
33288 /* Override any gcc2 internal prototype to avoid an error. */
33292 /* We use char because int might match the return type of a gcc2
33293 builtin and then its argument prototype would still apply. */
33303 rm -f conftest.
$ac_objext conftest
$ac_exeext
33304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33305 (eval $ac_link) 2>conftest.er1
33307 grep -v '^ *+' conftest.er1
>conftest.err
33309 cat conftest.err
>&5
33310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33311 (exit $ac_status); } &&
33312 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33314 (eval $ac_try) 2>&5
33316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33317 (exit $ac_status); }; } &&
33318 { ac_try
='test -s conftest$ac_exeext'
33319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33320 (eval $ac_try) 2>&5
33322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33323 (exit $ac_status); }; }; then
33324 ac_cv_lib_resolv_inet_addr
=yes
33326 echo "$as_me: failed program was:" >&5
33327 sed 's/^/| /' conftest.
$ac_ext >&5
33329 ac_cv_lib_resolv_inet_addr
=no
33331 rm -f conftest.err conftest.
$ac_objext \
33332 conftest
$ac_exeext conftest.
$ac_ext
33333 LIBS
=$ac_check_lib_save_LIBS
33335 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
33336 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
33337 if test $ac_cv_lib_resolv_inet_addr = yes; then
33341 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
33342 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
33343 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
33344 echo $ECHO_N "(cached) $ECHO_C" >&6
33346 ac_check_lib_save_LIBS
=$LIBS
33347 LIBS
="-lsocket $LIBS"
33348 cat >conftest.
$ac_ext <<_ACEOF
33351 cat confdefs.h
>>conftest.
$ac_ext
33352 cat >>conftest.
$ac_ext <<_ACEOF
33353 /* end confdefs.h. */
33355 /* Override any gcc2 internal prototype to avoid an error. */
33359 /* We use char because int might match the return type of a gcc2
33360 builtin and then its argument prototype would still apply. */
33370 rm -f conftest.
$ac_objext conftest
$ac_exeext
33371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33372 (eval $ac_link) 2>conftest.er1
33374 grep -v '^ *+' conftest.er1
>conftest.err
33376 cat conftest.err
>&5
33377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33378 (exit $ac_status); } &&
33379 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33381 (eval $ac_try) 2>&5
33383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33384 (exit $ac_status); }; } &&
33385 { ac_try
='test -s conftest$ac_exeext'
33386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33387 (eval $ac_try) 2>&5
33389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33390 (exit $ac_status); }; }; then
33391 ac_cv_lib_socket_inet_addr
=yes
33393 echo "$as_me: failed program was:" >&5
33394 sed 's/^/| /' conftest.
$ac_ext >&5
33396 ac_cv_lib_socket_inet_addr
=no
33398 rm -f conftest.err conftest.
$ac_objext \
33399 conftest
$ac_exeext conftest.
$ac_ext
33400 LIBS
=$ac_check_lib_save_LIBS
33402 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
33403 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
33404 if test $ac_cv_lib_socket_inet_addr = yes; then
33424 for ac_func
in inet_aton
33426 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33427 echo "$as_me:$LINENO: checking for $ac_func" >&5
33428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33429 if eval "test \"\${$as_ac_var+set}\" = set"; then
33430 echo $ECHO_N "(cached) $ECHO_C" >&6
33432 cat >conftest.
$ac_ext <<_ACEOF
33435 cat confdefs.h
>>conftest.
$ac_ext
33436 cat >>conftest.
$ac_ext <<_ACEOF
33437 /* end confdefs.h. */
33438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33440 #define $ac_func innocuous_$ac_func
33442 /* System header to define __stub macros and hopefully few prototypes,
33443 which can conflict with char $ac_func (); below.
33444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33445 <limits.h> exists even on freestanding compilers. */
33448 # include <limits.h>
33450 # include <assert.h>
33455 /* Override any gcc2 internal prototype to avoid an error. */
33460 /* We use char because int might match the return type of a gcc2
33461 builtin and then its argument prototype would still apply. */
33463 /* The GNU C library defines this for functions which it implements
33464 to always fail with ENOSYS. Some functions are actually named
33465 something starting with __ and the normal name is an alias. */
33466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33469 char (*f) () = $ac_func;
33478 return f != $ac_func;
33483 rm -f conftest.
$ac_objext conftest
$ac_exeext
33484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33485 (eval $ac_link) 2>conftest.er1
33487 grep -v '^ *+' conftest.er1
>conftest.err
33489 cat conftest.err
>&5
33490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33491 (exit $ac_status); } &&
33492 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33494 (eval $ac_try) 2>&5
33496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33497 (exit $ac_status); }; } &&
33498 { ac_try
='test -s conftest$ac_exeext'
33499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33500 (eval $ac_try) 2>&5
33502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33503 (exit $ac_status); }; }; then
33504 eval "$as_ac_var=yes"
33506 echo "$as_me: failed program was:" >&5
33507 sed 's/^/| /' conftest.
$ac_ext >&5
33509 eval "$as_ac_var=no"
33511 rm -f conftest.err conftest.
$ac_objext \
33512 conftest
$ac_exeext conftest.
$ac_ext
33514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33515 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33516 if test `eval echo '${'$as_ac_var'}'` = yes; then
33517 cat >>confdefs.h
<<_ACEOF
33518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33520 cat >>confdefs.h
<<\_ACEOF
33521 #define HAVE_INET_ATON 1
33526 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
33527 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
33528 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
33529 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
33530 echo $ECHO_N "(cached) $ECHO_C" >&6
33532 ac_check_lib_save_LIBS
=$LIBS
33533 LIBS
="-l$INET_LINK $LIBS"
33534 cat >conftest.
$ac_ext <<_ACEOF
33537 cat confdefs.h
>>conftest.
$ac_ext
33538 cat >>conftest.
$ac_ext <<_ACEOF
33539 /* end confdefs.h. */
33541 /* Override any gcc2 internal prototype to avoid an error. */
33545 /* We use char because int might match the return type of a gcc2
33546 builtin and then its argument prototype would still apply. */
33556 rm -f conftest.
$ac_objext conftest
$ac_exeext
33557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33558 (eval $ac_link) 2>conftest.er1
33560 grep -v '^ *+' conftest.er1
>conftest.err
33562 cat conftest.err
>&5
33563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33564 (exit $ac_status); } &&
33565 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33567 (eval $ac_try) 2>&5
33569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33570 (exit $ac_status); }; } &&
33571 { ac_try
='test -s conftest$ac_exeext'
33572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33573 (eval $ac_try) 2>&5
33575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33576 (exit $ac_status); }; }; then
33577 eval "$as_ac_Lib=yes"
33579 echo "$as_me: failed program was:" >&5
33580 sed 's/^/| /' conftest.
$ac_ext >&5
33582 eval "$as_ac_Lib=no"
33584 rm -f conftest.err conftest.
$ac_objext \
33585 conftest
$ac_exeext conftest.
$ac_ext
33586 LIBS
=$ac_check_lib_save_LIBS
33588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
33589 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
33590 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
33591 cat >>confdefs.h
<<\_ACEOF
33592 #define HAVE_INET_ATON 1
33602 if test "x$INET_LINK" != "x"; then
33603 cat >>confdefs.h
<<\_ACEOF
33604 #define HAVE_INET_ADDR 1
33607 INET_LINK
=" -l$INET_LINK"
33615 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
33616 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
33617 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
33618 echo $ECHO_N "(cached) $ECHO_C" >&6
33620 ac_check_lib_save_LIBS
=$LIBS
33622 cat >conftest.
$ac_ext <<_ACEOF
33625 cat confdefs.h
>>conftest.
$ac_ext
33626 cat >>conftest.
$ac_ext <<_ACEOF
33627 /* end confdefs.h. */
33629 /* Override any gcc2 internal prototype to avoid an error. */
33633 /* We use char because int might match the return type of a gcc2
33634 builtin and then its argument prototype would still apply. */
33644 rm -f conftest.
$ac_objext conftest
$ac_exeext
33645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33646 (eval $ac_link) 2>conftest.er1
33648 grep -v '^ *+' conftest.er1
>conftest.err
33650 cat conftest.err
>&5
33651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33652 (exit $ac_status); } &&
33653 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33655 (eval $ac_try) 2>&5
33657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33658 (exit $ac_status); }; } &&
33659 { ac_try
='test -s conftest$ac_exeext'
33660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33661 (eval $ac_try) 2>&5
33663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33664 (exit $ac_status); }; }; then
33665 ac_cv_lib_esd_esd_close
=yes
33667 echo "$as_me: failed program was:" >&5
33668 sed 's/^/| /' conftest.
$ac_ext >&5
33670 ac_cv_lib_esd_esd_close
=no
33672 rm -f conftest.err conftest.
$ac_objext \
33673 conftest
$ac_exeext conftest.
$ac_ext
33674 LIBS
=$ac_check_lib_save_LIBS
33676 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
33677 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
33678 if test $ac_cv_lib_esd_esd_close = yes; then
33681 for ac_header
in esd.h
33683 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33684 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33685 echo "$as_me:$LINENO: checking for $ac_header" >&5
33686 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33687 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33688 echo $ECHO_N "(cached) $ECHO_C" >&6
33690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33691 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33693 # Is the header compilable?
33694 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33695 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33696 cat >conftest.
$ac_ext <<_ACEOF
33699 cat confdefs.h
>>conftest.
$ac_ext
33700 cat >>conftest.
$ac_ext <<_ACEOF
33701 /* end confdefs.h. */
33702 $ac_includes_default
33703 #include <$ac_header>
33705 rm -f conftest.
$ac_objext
33706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33707 (eval $ac_compile) 2>conftest.er1
33709 grep -v '^ *+' conftest.er1
>conftest.err
33711 cat conftest.err
>&5
33712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33713 (exit $ac_status); } &&
33714 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33716 (eval $ac_try) 2>&5
33718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33719 (exit $ac_status); }; } &&
33720 { ac_try
='test -s conftest.$ac_objext'
33721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33722 (eval $ac_try) 2>&5
33724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33725 (exit $ac_status); }; }; then
33726 ac_header_compiler
=yes
33728 echo "$as_me: failed program was:" >&5
33729 sed 's/^/| /' conftest.
$ac_ext >&5
33731 ac_header_compiler
=no
33733 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33734 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33735 echo "${ECHO_T}$ac_header_compiler" >&6
33737 # Is the header present?
33738 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33739 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33740 cat >conftest.
$ac_ext <<_ACEOF
33743 cat confdefs.h
>>conftest.
$ac_ext
33744 cat >>conftest.
$ac_ext <<_ACEOF
33745 /* end confdefs.h. */
33746 #include <$ac_header>
33748 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33749 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33751 grep -v '^ *+' conftest.er1
>conftest.err
33753 cat conftest.err
>&5
33754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33755 (exit $ac_status); } >/dev
/null
; then
33756 if test -s conftest.err
; then
33757 ac_cpp_err
=$ac_c_preproc_warn_flag
33758 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
33765 if test -z "$ac_cpp_err"; then
33766 ac_header_preproc
=yes
33768 echo "$as_me: failed program was:" >&5
33769 sed 's/^/| /' conftest.
$ac_ext >&5
33771 ac_header_preproc
=no
33773 rm -f conftest.err conftest.
$ac_ext
33774 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33775 echo "${ECHO_T}$ac_header_preproc" >&6
33777 # So? What about this header?
33778 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33780 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33781 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33782 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33783 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33784 ac_header_preproc
=yes
33787 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33788 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33789 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33790 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33791 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33792 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33793 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33794 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33795 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33796 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33797 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33798 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33801 ## ----------------------------------------- ##
33802 ## Report this to wx-dev@lists.wxwidgets.org ##
33803 ## ----------------------------------------- ##
33806 sed "s/^/$as_me: WARNING: /" >&2
33809 echo "$as_me:$LINENO: checking for $ac_header" >&5
33810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33812 echo $ECHO_N "(cached) $ECHO_C" >&6
33814 eval "$as_ac_Header=\$ac_header_preproc"
33816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33817 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33820 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33821 cat >>confdefs.h
<<_ACEOF
33822 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33825 EXTRALIBS_ESD
="-lesd"
33836 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
33837 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
33838 cat >conftest.
$ac_ext <<_ACEOF
33841 cat confdefs.h
>>conftest.
$ac_ext
33842 cat >>conftest.
$ac_ext <<_ACEOF
33843 /* end confdefs.h. */
33845 #include <linux/cdrom.h>
33848 #include <sys/cdio.h>
33854 struct cdrom_tocentry entry, old_entry;
33859 rm -f conftest.
$ac_objext
33860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33861 (eval $ac_compile) 2>conftest.er1
33863 grep -v '^ *+' conftest.er1
>conftest.err
33865 cat conftest.err
>&5
33866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33867 (exit $ac_status); } &&
33868 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33870 (eval $ac_try) 2>&5
33872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33873 (exit $ac_status); }; } &&
33874 { ac_try
='test -s conftest.$ac_objext'
33875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33876 (eval $ac_try) 2>&5
33878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33879 (exit $ac_status); }; }; then
33880 echo "$as_me:$LINENO: result: yes" >&5
33881 echo "${ECHO_T}yes" >&6
33882 cat >>confdefs.h
<<\_ACEOF
33883 #define HAVE_KNOWN_CDROM_INTERFACE 1
33887 echo "$as_me: failed program was:" >&5
33888 sed 's/^/| /' conftest.
$ac_ext >&5
33890 echo "$as_me:$LINENO: result: no" >&5
33891 echo "${ECHO_T}no" >&6
33893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33896 cat >confcache
<<\_ACEOF
33897 # This file is a shell script that caches the results of configure
33898 # tests run on this system so they can be shared between configure
33899 # scripts and configure runs, see configure's option --config-cache.
33900 # It is not useful on other systems. If it contains results you don't
33901 # want to keep, you may remove or edit it.
33903 # config.status only pays attention to the cache file if you give it
33904 # the --recheck option to rerun configure.
33906 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33907 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33908 # following values.
33912 # The following way of writing the cache mishandles newlines in values,
33913 # but we know of no workaround that is simple, portable, and efficient.
33914 # So, don't put newlines in cache variables' values.
33915 # Ultrix sh set writes to stderr and can't be redirected directly,
33916 # and sets the high bit in the cache file unless we assign to the vars.
33919 case `(ac_space=' '; set | grep ac_space) 2>&1` in
33921 # `set' does not quote correctly, so add quotes (double-quote
33922 # substitution turns \\\\ into \\, and sed turns \\ into \).
33925 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33928 # `set' quotes correctly as required by POSIX, so do not add quotes.
33930 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
33937 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33939 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33941 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
33942 if test -w $cache_file; then
33943 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
33944 cat confcache
>$cache_file
33946 echo "not updating unwritable cache $cache_file"
33953 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33959 if test "$wxUSE_THREADS" = "yes" ; then
33960 if test "$USE_BEOS" = 1; then
33961 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
33962 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
33967 if test "$wxUSE_THREADS" = "yes" ; then
33970 THREAD_OPTS
="-pthread"
33972 *-*-solaris2* | *-*-sunos4* )
33973 if test "x$GCC" = "xyes"; then
33974 THREAD_OPTS
="-pthreads $THREAD_OPTS"
33976 THREAD_OPTS
="-mt $THREAD_OPTS"
33980 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
33982 *-*-darwin* | *-*-cygwin* )
33986 THREAD_OPTS
="pthreads"
33989 if test "x$GCC" != "xyes"; then
33995 if test "x$GCC" = "xyes"; then
34001 if test "x$GCC" != "xyes"; then
34002 THREAD_OPTS
="-Ethread"
34007 THREAD_OPTS
="$THREAD_OPTS pthread none"
34010 for flag
in $THREAD_OPTS; do
34013 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
34014 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
34018 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
34019 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
34020 THREADS_CFLAGS
="$flag"
34024 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
34025 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
34026 THREADS_LINK
="-l$flag"
34031 save_CFLAGS
="$CFLAGS"
34032 LIBS
="$THREADS_LINK $LIBS"
34033 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
34035 cat >conftest.
$ac_ext <<_ACEOF
34038 cat confdefs.h
>>conftest.
$ac_ext
34039 cat >>conftest.
$ac_ext <<_ACEOF
34040 /* end confdefs.h. */
34041 #include <pthread.h>
34045 pthread_create(0,0,0,0);
34050 rm -f conftest.
$ac_objext conftest
$ac_exeext
34051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34052 (eval $ac_link) 2>conftest.er1
34054 grep -v '^ *+' conftest.er1
>conftest.err
34056 cat conftest.err
>&5
34057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34058 (exit $ac_status); } &&
34059 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34061 (eval $ac_try) 2>&5
34063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34064 (exit $ac_status); }; } &&
34065 { ac_try
='test -s conftest$ac_exeext'
34066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34067 (eval $ac_try) 2>&5
34069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34070 (exit $ac_status); }; }; then
34073 echo "$as_me: failed program was:" >&5
34074 sed 's/^/| /' conftest.
$ac_ext >&5
34077 rm -f conftest.err conftest.
$ac_objext \
34078 conftest
$ac_exeext conftest.
$ac_ext
34081 CFLAGS
="$save_CFLAGS"
34083 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
34084 echo "${ECHO_T}$THREADS_OK" >&6
34085 if test "x$THREADS_OK" = "xyes"; then
34093 if test "x$THREADS_OK" != "xyes"; then
34095 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
34096 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
34098 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
34099 LIBS
="$THREADS_LINK $LIBS"
34101 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
34102 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
34106 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
34107 flag
="-D_THREAD_SAFE"
34110 flag
="-D_THREAD_SAFE"
34113 flag
="-D_REENTRANT"
34114 if test "x$GCC" != "xyes"; then
34115 flag
="$flag -D_RWSTD_MULTI_THREAD"
34118 *solaris
* | alpha
*-osf*)
34119 flag
="-D_REENTRANT"
34122 echo "$as_me:$LINENO: result: ${flag}" >&5
34123 echo "${ECHO_T}${flag}" >&6
34124 if test "x$flag" != xno
; then
34125 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
34128 if test "x$THREADS_CFLAGS" != "x"; then
34129 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
34130 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
34135 if test "$wxUSE_THREADS" = "yes" ; then
34137 for ac_func
in thr_setconcurrency
34139 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34140 echo "$as_me:$LINENO: checking for $ac_func" >&5
34141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34142 if eval "test \"\${$as_ac_var+set}\" = set"; then
34143 echo $ECHO_N "(cached) $ECHO_C" >&6
34145 cat >conftest.
$ac_ext <<_ACEOF
34148 cat confdefs.h
>>conftest.
$ac_ext
34149 cat >>conftest.
$ac_ext <<_ACEOF
34150 /* end confdefs.h. */
34151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34153 #define $ac_func innocuous_$ac_func
34155 /* System header to define __stub macros and hopefully few prototypes,
34156 which can conflict with char $ac_func (); below.
34157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34158 <limits.h> exists even on freestanding compilers. */
34161 # include <limits.h>
34163 # include <assert.h>
34168 /* Override any gcc2 internal prototype to avoid an error. */
34173 /* We use char because int might match the return type of a gcc2
34174 builtin and then its argument prototype would still apply. */
34176 /* The GNU C library defines this for functions which it implements
34177 to always fail with ENOSYS. Some functions are actually named
34178 something starting with __ and the normal name is an alias. */
34179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34182 char (*f) () = $ac_func;
34191 return f != $ac_func;
34196 rm -f conftest.
$ac_objext conftest
$ac_exeext
34197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34198 (eval $ac_link) 2>conftest.er1
34200 grep -v '^ *+' conftest.er1
>conftest.err
34202 cat conftest.err
>&5
34203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34204 (exit $ac_status); } &&
34205 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34207 (eval $ac_try) 2>&5
34209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34210 (exit $ac_status); }; } &&
34211 { ac_try
='test -s conftest$ac_exeext'
34212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34213 (eval $ac_try) 2>&5
34215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34216 (exit $ac_status); }; }; then
34217 eval "$as_ac_var=yes"
34219 echo "$as_me: failed program was:" >&5
34220 sed 's/^/| /' conftest.
$ac_ext >&5
34222 eval "$as_ac_var=no"
34224 rm -f conftest.err conftest.
$ac_objext \
34225 conftest
$ac_exeext conftest.
$ac_ext
34227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34229 if test `eval echo '${'$as_ac_var'}'` = yes; then
34230 cat >>confdefs.h
<<_ACEOF
34231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34239 for ac_header
in sched.h
34241 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34242 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34243 echo "$as_me:$LINENO: checking for $ac_header" >&5
34244 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34245 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34246 echo $ECHO_N "(cached) $ECHO_C" >&6
34248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34249 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34251 # Is the header compilable?
34252 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34253 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34254 cat >conftest.
$ac_ext <<_ACEOF
34257 cat confdefs.h
>>conftest.
$ac_ext
34258 cat >>conftest.
$ac_ext <<_ACEOF
34259 /* end confdefs.h. */
34260 $ac_includes_default
34261 #include <$ac_header>
34263 rm -f conftest.
$ac_objext
34264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34265 (eval $ac_compile) 2>conftest.er1
34267 grep -v '^ *+' conftest.er1
>conftest.err
34269 cat conftest.err
>&5
34270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34271 (exit $ac_status); } &&
34272 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34274 (eval $ac_try) 2>&5
34276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34277 (exit $ac_status); }; } &&
34278 { ac_try
='test -s conftest.$ac_objext'
34279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34280 (eval $ac_try) 2>&5
34282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34283 (exit $ac_status); }; }; then
34284 ac_header_compiler
=yes
34286 echo "$as_me: failed program was:" >&5
34287 sed 's/^/| /' conftest.
$ac_ext >&5
34289 ac_header_compiler
=no
34291 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34292 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34293 echo "${ECHO_T}$ac_header_compiler" >&6
34295 # Is the header present?
34296 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34297 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34298 cat >conftest.
$ac_ext <<_ACEOF
34301 cat confdefs.h
>>conftest.
$ac_ext
34302 cat >>conftest.
$ac_ext <<_ACEOF
34303 /* end confdefs.h. */
34304 #include <$ac_header>
34306 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34307 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34309 grep -v '^ *+' conftest.er1
>conftest.err
34311 cat conftest.err
>&5
34312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34313 (exit $ac_status); } >/dev
/null
; then
34314 if test -s conftest.err
; then
34315 ac_cpp_err
=$ac_c_preproc_warn_flag
34316 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34323 if test -z "$ac_cpp_err"; then
34324 ac_header_preproc
=yes
34326 echo "$as_me: failed program was:" >&5
34327 sed 's/^/| /' conftest.
$ac_ext >&5
34329 ac_header_preproc
=no
34331 rm -f conftest.err conftest.
$ac_ext
34332 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34333 echo "${ECHO_T}$ac_header_preproc" >&6
34335 # So? What about this header?
34336 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34338 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34339 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34340 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34341 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34342 ac_header_preproc
=yes
34345 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34346 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34347 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34348 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34349 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34350 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34351 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34352 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34353 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34354 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34355 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34356 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34359 ## ----------------------------------------- ##
34360 ## Report this to wx-dev@lists.wxwidgets.org ##
34361 ## ----------------------------------------- ##
34364 sed "s/^/$as_me: WARNING: /" >&2
34367 echo "$as_me:$LINENO: checking for $ac_header" >&5
34368 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34369 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34370 echo $ECHO_N "(cached) $ECHO_C" >&6
34372 eval "$as_ac_Header=\$ac_header_preproc"
34374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34375 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34378 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34379 cat >>confdefs.h
<<_ACEOF
34380 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34387 if test "$ac_cv_header_sched_h" = "yes"; then
34388 echo "$as_me:$LINENO: checking for sched_yield" >&5
34389 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
34390 if test "${ac_cv_func_sched_yield+set}" = set; then
34391 echo $ECHO_N "(cached) $ECHO_C" >&6
34393 cat >conftest.
$ac_ext <<_ACEOF
34396 cat confdefs.h
>>conftest.
$ac_ext
34397 cat >>conftest.
$ac_ext <<_ACEOF
34398 /* end confdefs.h. */
34399 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
34400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34401 #define sched_yield innocuous_sched_yield
34403 /* System header to define __stub macros and hopefully few prototypes,
34404 which can conflict with char sched_yield (); below.
34405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34406 <limits.h> exists even on freestanding compilers. */
34409 # include <limits.h>
34411 # include <assert.h>
34416 /* Override any gcc2 internal prototype to avoid an error. */
34421 /* We use char because int might match the return type of a gcc2
34422 builtin and then its argument prototype would still apply. */
34423 char sched_yield ();
34424 /* The GNU C library defines this for functions which it implements
34425 to always fail with ENOSYS. Some functions are actually named
34426 something starting with __ and the normal name is an alias. */
34427 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
34430 char (*f) () = sched_yield;
34439 return f != sched_yield;
34444 rm -f conftest.
$ac_objext conftest
$ac_exeext
34445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34446 (eval $ac_link) 2>conftest.er1
34448 grep -v '^ *+' conftest.er1
>conftest.err
34450 cat conftest.err
>&5
34451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34452 (exit $ac_status); } &&
34453 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34455 (eval $ac_try) 2>&5
34457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34458 (exit $ac_status); }; } &&
34459 { ac_try
='test -s conftest$ac_exeext'
34460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34461 (eval $ac_try) 2>&5
34463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34464 (exit $ac_status); }; }; then
34465 ac_cv_func_sched_yield
=yes
34467 echo "$as_me: failed program was:" >&5
34468 sed 's/^/| /' conftest.
$ac_ext >&5
34470 ac_cv_func_sched_yield
=no
34472 rm -f conftest.err conftest.
$ac_objext \
34473 conftest
$ac_exeext conftest.
$ac_ext
34475 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
34476 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
34477 if test $ac_cv_func_sched_yield = yes; then
34478 cat >>confdefs.h
<<\_ACEOF
34479 #define HAVE_SCHED_YIELD 1
34484 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
34485 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
34486 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
34487 echo $ECHO_N "(cached) $ECHO_C" >&6
34489 ac_check_lib_save_LIBS
=$LIBS
34490 LIBS
="-lposix4 $LIBS"
34491 cat >conftest.
$ac_ext <<_ACEOF
34494 cat confdefs.h
>>conftest.
$ac_ext
34495 cat >>conftest.
$ac_ext <<_ACEOF
34496 /* end confdefs.h. */
34498 /* Override any gcc2 internal prototype to avoid an error. */
34502 /* We use char because int might match the return type of a gcc2
34503 builtin and then its argument prototype would still apply. */
34504 char sched_yield ();
34513 rm -f conftest.
$ac_objext conftest
$ac_exeext
34514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34515 (eval $ac_link) 2>conftest.er1
34517 grep -v '^ *+' conftest.er1
>conftest.err
34519 cat conftest.err
>&5
34520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34521 (exit $ac_status); } &&
34522 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34524 (eval $ac_try) 2>&5
34526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34527 (exit $ac_status); }; } &&
34528 { ac_try
='test -s conftest$ac_exeext'
34529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34530 (eval $ac_try) 2>&5
34532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34533 (exit $ac_status); }; }; then
34534 ac_cv_lib_posix4_sched_yield
=yes
34536 echo "$as_me: failed program was:" >&5
34537 sed 's/^/| /' conftest.
$ac_ext >&5
34539 ac_cv_lib_posix4_sched_yield
=no
34541 rm -f conftest.err conftest.
$ac_objext \
34542 conftest
$ac_exeext conftest.
$ac_ext
34543 LIBS
=$ac_check_lib_save_LIBS
34545 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
34546 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
34547 if test $ac_cv_lib_posix4_sched_yield = yes; then
34548 cat >>confdefs.h
<<\_ACEOF
34549 #define HAVE_SCHED_YIELD 1
34551 POSIX4_LINK
=" -lposix4"
34553 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
34554 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
34565 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
34566 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
34567 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
34568 echo $ECHO_N "(cached) $ECHO_C" >&6
34570 cat >conftest.
$ac_ext <<_ACEOF
34573 cat confdefs.h
>>conftest.
$ac_ext
34574 cat >>conftest.
$ac_ext <<_ACEOF
34575 /* end confdefs.h. */
34576 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
34577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34578 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
34580 /* System header to define __stub macros and hopefully few prototypes,
34581 which can conflict with char pthread_attr_getschedpolicy (); below.
34582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34583 <limits.h> exists even on freestanding compilers. */
34586 # include <limits.h>
34588 # include <assert.h>
34591 #undef pthread_attr_getschedpolicy
34593 /* Override any gcc2 internal prototype to avoid an error. */
34598 /* We use char because int might match the return type of a gcc2
34599 builtin and then its argument prototype would still apply. */
34600 char pthread_attr_getschedpolicy ();
34601 /* The GNU C library defines this for functions which it implements
34602 to always fail with ENOSYS. Some functions are actually named
34603 something starting with __ and the normal name is an alias. */
34604 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
34607 char (*f) () = pthread_attr_getschedpolicy;
34616 return f != pthread_attr_getschedpolicy;
34621 rm -f conftest.
$ac_objext conftest
$ac_exeext
34622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34623 (eval $ac_link) 2>conftest.er1
34625 grep -v '^ *+' conftest.er1
>conftest.err
34627 cat conftest.err
>&5
34628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34629 (exit $ac_status); } &&
34630 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34632 (eval $ac_try) 2>&5
34634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34635 (exit $ac_status); }; } &&
34636 { ac_try
='test -s conftest$ac_exeext'
34637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34638 (eval $ac_try) 2>&5
34640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34641 (exit $ac_status); }; }; then
34642 ac_cv_func_pthread_attr_getschedpolicy
=yes
34644 echo "$as_me: failed program was:" >&5
34645 sed 's/^/| /' conftest.
$ac_ext >&5
34647 ac_cv_func_pthread_attr_getschedpolicy
=no
34649 rm -f conftest.err conftest.
$ac_objext \
34650 conftest
$ac_exeext conftest.
$ac_ext
34652 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
34653 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
34654 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
34655 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
34656 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
34657 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
34658 echo $ECHO_N "(cached) $ECHO_C" >&6
34660 cat >conftest.
$ac_ext <<_ACEOF
34663 cat confdefs.h
>>conftest.
$ac_ext
34664 cat >>conftest.
$ac_ext <<_ACEOF
34665 /* end confdefs.h. */
34666 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
34667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34668 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
34670 /* System header to define __stub macros and hopefully few prototypes,
34671 which can conflict with char pthread_attr_setschedparam (); below.
34672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34673 <limits.h> exists even on freestanding compilers. */
34676 # include <limits.h>
34678 # include <assert.h>
34681 #undef pthread_attr_setschedparam
34683 /* Override any gcc2 internal prototype to avoid an error. */
34688 /* We use char because int might match the return type of a gcc2
34689 builtin and then its argument prototype would still apply. */
34690 char pthread_attr_setschedparam ();
34691 /* The GNU C library defines this for functions which it implements
34692 to always fail with ENOSYS. Some functions are actually named
34693 something starting with __ and the normal name is an alias. */
34694 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
34697 char (*f) () = pthread_attr_setschedparam;
34706 return f != pthread_attr_setschedparam;
34711 rm -f conftest.
$ac_objext conftest
$ac_exeext
34712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34713 (eval $ac_link) 2>conftest.er1
34715 grep -v '^ *+' conftest.er1
>conftest.err
34717 cat conftest.err
>&5
34718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34719 (exit $ac_status); } &&
34720 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34722 (eval $ac_try) 2>&5
34724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34725 (exit $ac_status); }; } &&
34726 { ac_try
='test -s conftest$ac_exeext'
34727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34728 (eval $ac_try) 2>&5
34730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34731 (exit $ac_status); }; }; then
34732 ac_cv_func_pthread_attr_setschedparam
=yes
34734 echo "$as_me: failed program was:" >&5
34735 sed 's/^/| /' conftest.
$ac_ext >&5
34737 ac_cv_func_pthread_attr_setschedparam
=no
34739 rm -f conftest.err conftest.
$ac_objext \
34740 conftest
$ac_exeext conftest.
$ac_ext
34742 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
34743 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
34744 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
34745 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
34746 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
34747 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
34748 echo $ECHO_N "(cached) $ECHO_C" >&6
34750 cat >conftest.
$ac_ext <<_ACEOF
34753 cat confdefs.h
>>conftest.
$ac_ext
34754 cat >>conftest.
$ac_ext <<_ACEOF
34755 /* end confdefs.h. */
34756 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
34757 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34758 #define sched_get_priority_max innocuous_sched_get_priority_max
34760 /* System header to define __stub macros and hopefully few prototypes,
34761 which can conflict with char sched_get_priority_max (); below.
34762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34763 <limits.h> exists even on freestanding compilers. */
34766 # include <limits.h>
34768 # include <assert.h>
34771 #undef sched_get_priority_max
34773 /* Override any gcc2 internal prototype to avoid an error. */
34778 /* We use char because int might match the return type of a gcc2
34779 builtin and then its argument prototype would still apply. */
34780 char sched_get_priority_max ();
34781 /* The GNU C library defines this for functions which it implements
34782 to always fail with ENOSYS. Some functions are actually named
34783 something starting with __ and the normal name is an alias. */
34784 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
34787 char (*f) () = sched_get_priority_max;
34796 return f != sched_get_priority_max;
34801 rm -f conftest.
$ac_objext conftest
$ac_exeext
34802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34803 (eval $ac_link) 2>conftest.er1
34805 grep -v '^ *+' conftest.er1
>conftest.err
34807 cat conftest.err
>&5
34808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34809 (exit $ac_status); } &&
34810 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34812 (eval $ac_try) 2>&5
34814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34815 (exit $ac_status); }; } &&
34816 { ac_try
='test -s conftest$ac_exeext'
34817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34818 (eval $ac_try) 2>&5
34820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34821 (exit $ac_status); }; }; then
34822 ac_cv_func_sched_get_priority_max
=yes
34824 echo "$as_me: failed program was:" >&5
34825 sed 's/^/| /' conftest.
$ac_ext >&5
34827 ac_cv_func_sched_get_priority_max
=no
34829 rm -f conftest.err conftest.
$ac_objext \
34830 conftest
$ac_exeext conftest.
$ac_ext
34832 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
34833 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
34834 if test $ac_cv_func_sched_get_priority_max = yes; then
34837 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
34838 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
34839 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
34840 echo $ECHO_N "(cached) $ECHO_C" >&6
34842 ac_check_lib_save_LIBS
=$LIBS
34843 LIBS
="-lposix4 $LIBS"
34844 cat >conftest.
$ac_ext <<_ACEOF
34847 cat confdefs.h
>>conftest.
$ac_ext
34848 cat >>conftest.
$ac_ext <<_ACEOF
34849 /* end confdefs.h. */
34851 /* Override any gcc2 internal prototype to avoid an error. */
34855 /* We use char because int might match the return type of a gcc2
34856 builtin and then its argument prototype would still apply. */
34857 char sched_get_priority_max ();
34861 sched_get_priority_max ();
34866 rm -f conftest.
$ac_objext conftest
$ac_exeext
34867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34868 (eval $ac_link) 2>conftest.er1
34870 grep -v '^ *+' conftest.er1
>conftest.err
34872 cat conftest.err
>&5
34873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34874 (exit $ac_status); } &&
34875 { ac_try
='test -z "$ac_c_werror_flag" || 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_lib_posix4_sched_get_priority_max
=yes
34889 echo "$as_me: failed program was:" >&5
34890 sed 's/^/| /' conftest.
$ac_ext >&5
34892 ac_cv_lib_posix4_sched_get_priority_max
=no
34894 rm -f conftest.err conftest.
$ac_objext \
34895 conftest
$ac_exeext conftest.
$ac_ext
34896 LIBS
=$ac_check_lib_save_LIBS
34898 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
34899 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
34900 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
34903 POSIX4_LINK
=" -lposix4"
34917 if test "$HAVE_PRIOR_FUNCS" = 1; then
34918 cat >>confdefs.h
<<\_ACEOF
34919 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
34923 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
34924 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
34927 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
34928 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
34929 if test "${ac_cv_func_pthread_cancel+set}" = set; then
34930 echo $ECHO_N "(cached) $ECHO_C" >&6
34932 cat >conftest.
$ac_ext <<_ACEOF
34935 cat confdefs.h
>>conftest.
$ac_ext
34936 cat >>conftest.
$ac_ext <<_ACEOF
34937 /* end confdefs.h. */
34938 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
34939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34940 #define pthread_cancel innocuous_pthread_cancel
34942 /* System header to define __stub macros and hopefully few prototypes,
34943 which can conflict with char pthread_cancel (); below.
34944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34945 <limits.h> exists even on freestanding compilers. */
34948 # include <limits.h>
34950 # include <assert.h>
34953 #undef pthread_cancel
34955 /* Override any gcc2 internal prototype to avoid an error. */
34960 /* We use char because int might match the return type of a gcc2
34961 builtin and then its argument prototype would still apply. */
34962 char pthread_cancel ();
34963 /* The GNU C library defines this for functions which it implements
34964 to always fail with ENOSYS. Some functions are actually named
34965 something starting with __ and the normal name is an alias. */
34966 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
34969 char (*f) () = pthread_cancel;
34978 return f != pthread_cancel;
34983 rm -f conftest.
$ac_objext conftest
$ac_exeext
34984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34985 (eval $ac_link) 2>conftest.er1
34987 grep -v '^ *+' conftest.er1
>conftest.err
34989 cat conftest.err
>&5
34990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34991 (exit $ac_status); } &&
34992 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34994 (eval $ac_try) 2>&5
34996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34997 (exit $ac_status); }; } &&
34998 { ac_try
='test -s conftest$ac_exeext'
34999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35000 (eval $ac_try) 2>&5
35002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35003 (exit $ac_status); }; }; then
35004 ac_cv_func_pthread_cancel
=yes
35006 echo "$as_me: failed program was:" >&5
35007 sed 's/^/| /' conftest.
$ac_ext >&5
35009 ac_cv_func_pthread_cancel
=no
35011 rm -f conftest.err conftest.
$ac_objext \
35012 conftest
$ac_exeext conftest.
$ac_ext
35014 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
35015 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
35016 if test $ac_cv_func_pthread_cancel = yes; then
35017 cat >>confdefs.h
<<\_ACEOF
35018 #define HAVE_PTHREAD_CANCEL 1
35022 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
35023 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
35029 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
35030 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
35031 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
35032 echo $ECHO_N "(cached) $ECHO_C" >&6
35035 cat >conftest.
$ac_ext <<_ACEOF
35038 cat confdefs.h
>>conftest.
$ac_ext
35039 cat >>conftest.
$ac_ext <<_ACEOF
35040 /* end confdefs.h. */
35041 #include <pthread.h>
35046 pthread_mutexattr_t attr;
35047 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
35053 rm -f conftest.
$ac_objext
35054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35055 (eval $ac_compile) 2>conftest.er1
35057 grep -v '^ *+' conftest.er1
>conftest.err
35059 cat conftest.err
>&5
35060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35061 (exit $ac_status); } &&
35062 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35064 (eval $ac_try) 2>&5
35066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35067 (exit $ac_status); }; } &&
35068 { ac_try
='test -s conftest.$ac_objext'
35069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35070 (eval $ac_try) 2>&5
35072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35073 (exit $ac_status); }; }; then
35075 wx_cv_type_pthread_mutexattr_t
=yes
35078 echo "$as_me: failed program was:" >&5
35079 sed 's/^/| /' conftest.
$ac_ext >&5
35082 wx_cv_type_pthread_mutexattr_t
=no
35086 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35089 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
35090 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
35092 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
35093 cat >>confdefs.h
<<\_ACEOF
35094 #define HAVE_PTHREAD_MUTEXATTR_T 1
35098 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
35099 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
35100 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
35101 echo $ECHO_N "(cached) $ECHO_C" >&6
35104 cat >conftest.
$ac_ext <<_ACEOF
35107 cat confdefs.h
>>conftest.
$ac_ext
35108 cat >>conftest.
$ac_ext <<_ACEOF
35109 /* end confdefs.h. */
35110 #include <pthread.h>
35115 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
35121 rm -f conftest.
$ac_objext
35122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35123 (eval $ac_compile) 2>conftest.er1
35125 grep -v '^ *+' conftest.er1
>conftest.err
35127 cat conftest.err
>&5
35128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35129 (exit $ac_status); } &&
35130 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35132 (eval $ac_try) 2>&5
35134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35135 (exit $ac_status); }; } &&
35136 { ac_try
='test -s conftest.$ac_objext'
35137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35138 (eval $ac_try) 2>&5
35140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35141 (exit $ac_status); }; }; then
35143 wx_cv_type_pthread_rec_mutex_init
=yes
35146 echo "$as_me: failed program was:" >&5
35147 sed 's/^/| /' conftest.
$ac_ext >&5
35150 wx_cv_type_pthread_rec_mutex_init
=no
35154 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35157 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
35158 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
35159 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
35160 cat >>confdefs.h
<<\_ACEOF
35161 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
35165 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
35166 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
35172 if test "$wxUSE_THREADS" = "yes" ; then
35175 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
35176 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
35177 if test "${wx_cv_cflags_mthread+set}" = set; then
35178 echo $ECHO_N "(cached) $ECHO_C" >&6
35181 CFLAGS_OLD
="$CFLAGS"
35182 CFLAGS
="$CFLAGS -mthreads"
35183 cat >conftest.
$ac_ext <<_ACEOF
35186 cat confdefs.h
>>conftest.
$ac_ext
35187 cat >>conftest.
$ac_ext <<_ACEOF
35188 /* end confdefs.h. */
35198 rm -f conftest.
$ac_objext
35199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35200 (eval $ac_compile) 2>conftest.er1
35202 grep -v '^ *+' conftest.er1
>conftest.err
35204 cat conftest.err
>&5
35205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35206 (exit $ac_status); } &&
35207 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35209 (eval $ac_try) 2>&5
35211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35212 (exit $ac_status); }; } &&
35213 { ac_try
='test -s conftest.$ac_objext'
35214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35215 (eval $ac_try) 2>&5
35217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35218 (exit $ac_status); }; }; then
35219 wx_cv_cflags_mthread
=yes
35221 echo "$as_me: failed program was:" >&5
35222 sed 's/^/| /' conftest.
$ac_ext >&5
35224 wx_cv_cflags_mthread
=no
35227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35231 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
35232 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
35234 if test "$wx_cv_cflags_mthread" = "yes"; then
35235 CXXFLAGS
="$CXXFLAGS -mthreads"
35236 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
35237 LDFLAGS
="$LDFLAGS -mthreads"
35239 CFLAGS
="$CFLAGS_OLD"
35243 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
35244 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
35245 LDFLAGS
="$LDFLAGS -Zmt"
35251 if test "$wxUSE_THREADS" = "yes"; then
35252 cat >>confdefs.h
<<\_ACEOF
35253 #define wxUSE_THREADS 1
35257 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
35259 if test "$ac_cv_func_strtok_r" = "yes"; then
35260 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
35261 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
35262 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
35263 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
35264 echo "$as_me:$LINENO: result: yes" >&5
35265 echo "${ECHO_T}yes" >&6
35267 echo "$as_me:$LINENO: result: no" >&5
35268 echo "${ECHO_T}no" >&6
35273 if test "$WXGTK20" = 1 ; then
35274 cat >>confdefs.h
<<_ACEOF
35275 #define __WXGTK20__ $WXGTK20
35281 if test "$WXGTK12" = 1 ; then
35282 cat >>confdefs.h
<<_ACEOF
35283 #define __WXGTK12__ $WXGTK12
35288 if test "$WXGTK127" = 1 ; then
35289 cat >>confdefs.h
<<_ACEOF
35290 #define __WXGTK127__ $WXGTK127
35295 if test "$WXGPE" = 1 ; then
35296 cat >>confdefs.h
<<_ACEOF
35297 #define __WXGPE__ $WXGPE
35304 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
35309 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
35310 wxUSE_DEBUG_INFO
=yes
35314 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
35315 cat >>confdefs.h
<<\_ACEOF
35319 WXDEBUG_DEFINE
="-D__WXDEBUG__"
35321 if test "$wxUSE_GTK" = 1 ; then
35322 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
35326 if test "$wxUSE_MEM_TRACING" = "yes" ; then
35327 cat >>confdefs.h
<<\_ACEOF
35328 #define wxUSE_MEMORY_TRACING 1
35331 cat >>confdefs.h
<<\_ACEOF
35332 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
35335 cat >>confdefs.h
<<\_ACEOF
35336 #define wxUSE_DEBUG_NEW_ALWAYS 1
35339 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
35342 if test "$wxUSE_DMALLOC" = "yes" ; then
35343 DMALLOC_LIBS
="-ldmalloc"
35347 if test "$wxUSE_PROFILE" = "yes" ; then
35352 CODE_GEN_FLAGS_CXX
=
35353 if test "$GCC" = "yes" ; then
35354 if test "$wxUSE_NO_RTTI" = "yes" ; then
35355 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
35357 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
35358 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
35360 if test "$wxUSE_PERMISSIVE" = "yes" ; then
35361 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
35366 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
35369 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
35375 if test "$wxUSE_OPTIMISE" = "no" ; then
35376 if test "$GCC" = yes ; then
35380 if test "$GCC" = yes ; then
35384 i586
-*-*|i686
-*-* )
35385 OPTIMISE
="${OPTIMISE} "
35394 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
35395 cat >>confdefs.h
<<\_ACEOF
35396 #define WXWIN_COMPATIBILITY_2_2 1
35400 WXWIN_COMPATIBILITY_2_4
="yes"
35403 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
35404 cat >>confdefs.h
<<\_ACEOF
35405 #define WXWIN_COMPATIBILITY_2_4 1
35411 if test "$wxUSE_GUI" = "yes"; then
35412 cat >>confdefs.h
<<\_ACEOF
35413 #define wxUSE_GUI 1
35420 if test "$wxUSE_UNIX" = "yes"; then
35421 cat >>confdefs.h
<<\_ACEOF
35422 #define wxUSE_UNIX 1
35428 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
35432 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
35433 if test "$USE_DARWIN" = 1; then
35435 elif test "$USE_DOS" = 1; then
35439 for ac_func
in dlopen
35441 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35442 echo "$as_me:$LINENO: checking for $ac_func" >&5
35443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35444 if eval "test \"\${$as_ac_var+set}\" = set"; then
35445 echo $ECHO_N "(cached) $ECHO_C" >&6
35447 cat >conftest.
$ac_ext <<_ACEOF
35450 cat confdefs.h
>>conftest.
$ac_ext
35451 cat >>conftest.
$ac_ext <<_ACEOF
35452 /* end confdefs.h. */
35453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35455 #define $ac_func innocuous_$ac_func
35457 /* System header to define __stub macros and hopefully few prototypes,
35458 which can conflict with char $ac_func (); below.
35459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35460 <limits.h> exists even on freestanding compilers. */
35463 # include <limits.h>
35465 # include <assert.h>
35470 /* Override any gcc2 internal prototype to avoid an error. */
35475 /* We use char because int might match the return type of a gcc2
35476 builtin and then its argument prototype would still apply. */
35478 /* The GNU C library defines this for functions which it implements
35479 to always fail with ENOSYS. Some functions are actually named
35480 something starting with __ and the normal name is an alias. */
35481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35484 char (*f) () = $ac_func;
35493 return f != $ac_func;
35498 rm -f conftest.
$ac_objext conftest
$ac_exeext
35499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35500 (eval $ac_link) 2>conftest.er1
35502 grep -v '^ *+' conftest.er1
>conftest.err
35504 cat conftest.err
>&5
35505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35506 (exit $ac_status); } &&
35507 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35509 (eval $ac_try) 2>&5
35511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35512 (exit $ac_status); }; } &&
35513 { ac_try
='test -s conftest$ac_exeext'
35514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35515 (eval $ac_try) 2>&5
35517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35518 (exit $ac_status); }; }; then
35519 eval "$as_ac_var=yes"
35521 echo "$as_me: failed program was:" >&5
35522 sed 's/^/| /' conftest.
$ac_ext >&5
35524 eval "$as_ac_var=no"
35526 rm -f conftest.err conftest.
$ac_objext \
35527 conftest
$ac_exeext conftest.
$ac_ext
35529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35531 if test `eval echo '${'$as_ac_var'}'` = yes; then
35532 cat >>confdefs.h
<<_ACEOF
35533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35536 cat >>confdefs.h
<<\_ACEOF
35537 #define HAVE_DLOPEN 1
35544 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
35545 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
35546 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
35547 echo $ECHO_N "(cached) $ECHO_C" >&6
35549 ac_check_lib_save_LIBS
=$LIBS
35551 cat >conftest.
$ac_ext <<_ACEOF
35554 cat confdefs.h
>>conftest.
$ac_ext
35555 cat >>conftest.
$ac_ext <<_ACEOF
35556 /* end confdefs.h. */
35558 /* Override any gcc2 internal prototype to avoid an error. */
35562 /* We use char because int might match the return type of a gcc2
35563 builtin and then its argument prototype would still apply. */
35573 rm -f conftest.
$ac_objext conftest
$ac_exeext
35574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35575 (eval $ac_link) 2>conftest.er1
35577 grep -v '^ *+' conftest.er1
>conftest.err
35579 cat conftest.err
>&5
35580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35581 (exit $ac_status); } &&
35582 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35584 (eval $ac_try) 2>&5
35586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35587 (exit $ac_status); }; } &&
35588 { ac_try
='test -s conftest$ac_exeext'
35589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35590 (eval $ac_try) 2>&5
35592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35593 (exit $ac_status); }; }; then
35594 ac_cv_lib_dl_dlopen
=yes
35596 echo "$as_me: failed program was:" >&5
35597 sed 's/^/| /' conftest.
$ac_ext >&5
35599 ac_cv_lib_dl_dlopen
=no
35601 rm -f conftest.err conftest.
$ac_objext \
35602 conftest
$ac_exeext conftest.
$ac_ext
35603 LIBS
=$ac_check_lib_save_LIBS
35605 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
35606 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
35607 if test $ac_cv_lib_dl_dlopen = yes; then
35609 cat >>confdefs.h
<<\_ACEOF
35610 #define HAVE_DLOPEN 1
35614 DL_LINK
=" -ldl$DL_LINK"
35619 for ac_func
in shl_load
35621 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35622 echo "$as_me:$LINENO: checking for $ac_func" >&5
35623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35624 if eval "test \"\${$as_ac_var+set}\" = set"; then
35625 echo $ECHO_N "(cached) $ECHO_C" >&6
35627 cat >conftest.
$ac_ext <<_ACEOF
35630 cat confdefs.h
>>conftest.
$ac_ext
35631 cat >>conftest.
$ac_ext <<_ACEOF
35632 /* end confdefs.h. */
35633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35635 #define $ac_func innocuous_$ac_func
35637 /* System header to define __stub macros and hopefully few prototypes,
35638 which can conflict with char $ac_func (); below.
35639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35640 <limits.h> exists even on freestanding compilers. */
35643 # include <limits.h>
35645 # include <assert.h>
35650 /* Override any gcc2 internal prototype to avoid an error. */
35655 /* We use char because int might match the return type of a gcc2
35656 builtin and then its argument prototype would still apply. */
35658 /* The GNU C library defines this for functions which it implements
35659 to always fail with ENOSYS. Some functions are actually named
35660 something starting with __ and the normal name is an alias. */
35661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35664 char (*f) () = $ac_func;
35673 return f != $ac_func;
35678 rm -f conftest.
$ac_objext conftest
$ac_exeext
35679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35680 (eval $ac_link) 2>conftest.er1
35682 grep -v '^ *+' conftest.er1
>conftest.err
35684 cat conftest.err
>&5
35685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35686 (exit $ac_status); } &&
35687 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35689 (eval $ac_try) 2>&5
35691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35692 (exit $ac_status); }; } &&
35693 { ac_try
='test -s conftest$ac_exeext'
35694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35695 (eval $ac_try) 2>&5
35697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35698 (exit $ac_status); }; }; then
35699 eval "$as_ac_var=yes"
35701 echo "$as_me: failed program was:" >&5
35702 sed 's/^/| /' conftest.
$ac_ext >&5
35704 eval "$as_ac_var=no"
35706 rm -f conftest.err conftest.
$ac_objext \
35707 conftest
$ac_exeext conftest.
$ac_ext
35709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35710 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35711 if test `eval echo '${'$as_ac_var'}'` = yes; then
35712 cat >>confdefs.h
<<_ACEOF
35713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35716 cat >>confdefs.h
<<\_ACEOF
35717 #define HAVE_SHL_LOAD 1
35724 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
35725 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
35726 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
35727 echo $ECHO_N "(cached) $ECHO_C" >&6
35729 ac_check_lib_save_LIBS
=$LIBS
35730 LIBS
="-lshl_load $LIBS"
35731 cat >conftest.
$ac_ext <<_ACEOF
35734 cat confdefs.h
>>conftest.
$ac_ext
35735 cat >>conftest.
$ac_ext <<_ACEOF
35736 /* end confdefs.h. */
35738 /* Override any gcc2 internal prototype to avoid an error. */
35742 /* We use char because int might match the return type of a gcc2
35743 builtin and then its argument prototype would still apply. */
35753 rm -f conftest.
$ac_objext conftest
$ac_exeext
35754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35755 (eval $ac_link) 2>conftest.er1
35757 grep -v '^ *+' conftest.er1
>conftest.err
35759 cat conftest.err
>&5
35760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35761 (exit $ac_status); } &&
35762 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35764 (eval $ac_try) 2>&5
35766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35767 (exit $ac_status); }; } &&
35768 { ac_try
='test -s conftest$ac_exeext'
35769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35770 (eval $ac_try) 2>&5
35772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35773 (exit $ac_status); }; }; then
35774 ac_cv_lib_shl_load_dld
=yes
35776 echo "$as_me: failed program was:" >&5
35777 sed 's/^/| /' conftest.
$ac_ext >&5
35779 ac_cv_lib_shl_load_dld
=no
35781 rm -f conftest.err conftest.
$ac_objext \
35782 conftest
$ac_exeext conftest.
$ac_ext
35783 LIBS
=$ac_check_lib_save_LIBS
35785 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
35786 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
35787 if test $ac_cv_lib_shl_load_dld = yes; then
35790 DL_LINK
=" -ldld$DL_LINK"
35806 if test "$HAVE_DL_FUNCS" = 1; then
35808 for ac_func
in dlerror
35810 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35811 echo "$as_me:$LINENO: checking for $ac_func" >&5
35812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35813 if eval "test \"\${$as_ac_var+set}\" = set"; then
35814 echo $ECHO_N "(cached) $ECHO_C" >&6
35816 cat >conftest.
$ac_ext <<_ACEOF
35819 cat confdefs.h
>>conftest.
$ac_ext
35820 cat >>conftest.
$ac_ext <<_ACEOF
35821 /* end confdefs.h. */
35822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35824 #define $ac_func innocuous_$ac_func
35826 /* System header to define __stub macros and hopefully few prototypes,
35827 which can conflict with char $ac_func (); below.
35828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35829 <limits.h> exists even on freestanding compilers. */
35832 # include <limits.h>
35834 # include <assert.h>
35839 /* Override any gcc2 internal prototype to avoid an error. */
35844 /* We use char because int might match the return type of a gcc2
35845 builtin and then its argument prototype would still apply. */
35847 /* The GNU C library defines this for functions which it implements
35848 to always fail with ENOSYS. Some functions are actually named
35849 something starting with __ and the normal name is an alias. */
35850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35853 char (*f) () = $ac_func;
35862 return f != $ac_func;
35867 rm -f conftest.
$ac_objext conftest
$ac_exeext
35868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35869 (eval $ac_link) 2>conftest.er1
35871 grep -v '^ *+' conftest.er1
>conftest.err
35873 cat conftest.err
>&5
35874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35875 (exit $ac_status); } &&
35876 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35878 (eval $ac_try) 2>&5
35880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35881 (exit $ac_status); }; } &&
35882 { ac_try
='test -s conftest$ac_exeext'
35883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35884 (eval $ac_try) 2>&5
35886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35887 (exit $ac_status); }; }; then
35888 eval "$as_ac_var=yes"
35890 echo "$as_me: failed program was:" >&5
35891 sed 's/^/| /' conftest.
$ac_ext >&5
35893 eval "$as_ac_var=no"
35895 rm -f conftest.err conftest.
$ac_objext \
35896 conftest
$ac_exeext conftest.
$ac_ext
35898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35899 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35900 if test `eval echo '${'$as_ac_var'}'` = yes; then
35901 cat >>confdefs.h
<<_ACEOF
35902 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35904 cat >>confdefs.h
<<\_ACEOF
35905 #define HAVE_DLERROR 1
35910 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
35911 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
35912 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
35913 echo $ECHO_N "(cached) $ECHO_C" >&6
35915 ac_check_lib_save_LIBS
=$LIBS
35917 cat >conftest.
$ac_ext <<_ACEOF
35920 cat confdefs.h
>>conftest.
$ac_ext
35921 cat >>conftest.
$ac_ext <<_ACEOF
35922 /* end confdefs.h. */
35924 /* Override any gcc2 internal prototype to avoid an error. */
35928 /* We use char because int might match the return type of a gcc2
35929 builtin and then its argument prototype would still apply. */
35939 rm -f conftest.
$ac_objext conftest
$ac_exeext
35940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35941 (eval $ac_link) 2>conftest.er1
35943 grep -v '^ *+' conftest.er1
>conftest.err
35945 cat conftest.err
>&5
35946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35947 (exit $ac_status); } &&
35948 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35950 (eval $ac_try) 2>&5
35952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35953 (exit $ac_status); }; } &&
35954 { ac_try
='test -s conftest$ac_exeext'
35955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35956 (eval $ac_try) 2>&5
35958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35959 (exit $ac_status); }; }; then
35960 ac_cv_lib_dl_dlerror
=yes
35962 echo "$as_me: failed program was:" >&5
35963 sed 's/^/| /' conftest.
$ac_ext >&5
35965 ac_cv_lib_dl_dlerror
=no
35967 rm -f conftest.err conftest.
$ac_objext \
35968 conftest
$ac_exeext conftest.
$ac_ext
35969 LIBS
=$ac_check_lib_save_LIBS
35971 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
35972 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
35973 if test $ac_cv_lib_dl_dlerror = yes; then
35974 cat >>confdefs.h
<<\_ACEOF
35975 #define HAVE_DLERROR 1
35988 if test "$HAVE_DL_FUNCS" = 0; then
35989 if test "$HAVE_SHL_FUNCS" = 0; then
35990 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
35991 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
35992 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
35993 wxUSE_DYNAMIC_LOADER
=no
35994 wxUSE_DYNLIB_CLASS
=no
35996 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
35997 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
36004 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
36005 cat >>confdefs.h
<<\_ACEOF
36006 #define wxUSE_DYNAMIC_LOADER 1
36010 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
36011 cat >>confdefs.h
<<\_ACEOF
36012 #define wxUSE_DYNLIB_CLASS 1
36019 if test "$wxUSE_PLUGINS" = "yes" ; then
36020 if test "$wxUSE_SHARED" = "no" ; then
36021 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
36022 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
36025 if test "$wxUSE_MONOLITHIC" = "yes" ; then
36026 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
36027 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
36030 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
36031 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
36032 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
36035 if test "$wxUSE_PLUGINS" = "yes" ; then
36036 cat >>confdefs.h
<<\_ACEOF
36037 #define wxUSE_PLUGINS 1
36044 if test "$wxUSE_STL" = "yes"; then
36045 cat >>confdefs.h
<<\_ACEOF
36046 #define wxUSE_STL 1
36051 if test "$wxUSE_APPLE_IEEE" = "yes"; then
36052 cat >>confdefs.h
<<\_ACEOF
36053 #define wxUSE_APPLE_IEEE 1
36058 if test "$wxUSE_TIMER" = "yes"; then
36059 cat >>confdefs.h
<<\_ACEOF
36060 #define wxUSE_TIMER 1
36066 if test "$wxUSE_SOUND" = "yes"; then
36067 if test "$USE_UNIX" = "1" ; then
36069 for ac_header
in sys
/soundcard.h
36071 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36072 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36073 echo "$as_me:$LINENO: checking for $ac_header" >&5
36074 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36075 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36076 echo $ECHO_N "(cached) $ECHO_C" >&6
36078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36079 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36081 # Is the header compilable?
36082 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36083 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36084 cat >conftest.
$ac_ext <<_ACEOF
36087 cat confdefs.h
>>conftest.
$ac_ext
36088 cat >>conftest.
$ac_ext <<_ACEOF
36089 /* end confdefs.h. */
36090 $ac_includes_default
36091 #include <$ac_header>
36093 rm -f conftest.
$ac_objext
36094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36095 (eval $ac_compile) 2>conftest.er1
36097 grep -v '^ *+' conftest.er1
>conftest.err
36099 cat conftest.err
>&5
36100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36101 (exit $ac_status); } &&
36102 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36104 (eval $ac_try) 2>&5
36106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36107 (exit $ac_status); }; } &&
36108 { ac_try
='test -s conftest.$ac_objext'
36109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36110 (eval $ac_try) 2>&5
36112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36113 (exit $ac_status); }; }; then
36114 ac_header_compiler
=yes
36116 echo "$as_me: failed program was:" >&5
36117 sed 's/^/| /' conftest.
$ac_ext >&5
36119 ac_header_compiler
=no
36121 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36122 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36123 echo "${ECHO_T}$ac_header_compiler" >&6
36125 # Is the header present?
36126 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36127 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36128 cat >conftest.
$ac_ext <<_ACEOF
36131 cat confdefs.h
>>conftest.
$ac_ext
36132 cat >>conftest.
$ac_ext <<_ACEOF
36133 /* end confdefs.h. */
36134 #include <$ac_header>
36136 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36137 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36139 grep -v '^ *+' conftest.er1
>conftest.err
36141 cat conftest.err
>&5
36142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36143 (exit $ac_status); } >/dev
/null
; then
36144 if test -s conftest.err
; then
36145 ac_cpp_err
=$ac_c_preproc_warn_flag
36146 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36153 if test -z "$ac_cpp_err"; then
36154 ac_header_preproc
=yes
36156 echo "$as_me: failed program was:" >&5
36157 sed 's/^/| /' conftest.
$ac_ext >&5
36159 ac_header_preproc
=no
36161 rm -f conftest.err conftest.
$ac_ext
36162 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36163 echo "${ECHO_T}$ac_header_preproc" >&6
36165 # So? What about this header?
36166 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36168 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36169 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36170 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36171 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36172 ac_header_preproc
=yes
36175 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36176 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36177 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36178 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36179 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36180 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36181 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36182 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36183 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36184 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36185 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36186 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36189 ## ----------------------------------------- ##
36190 ## Report this to wx-dev@lists.wxwidgets.org ##
36191 ## ----------------------------------------- ##
36194 sed "s/^/$as_me: WARNING: /" >&2
36197 echo "$as_me:$LINENO: checking for $ac_header" >&5
36198 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36199 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36200 echo $ECHO_N "(cached) $ECHO_C" >&6
36202 eval "$as_ac_Header=\$ac_header_preproc"
36204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36205 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36208 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36209 cat >>confdefs.h
<<_ACEOF
36210 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36218 if test "$wxUSE_LIBSDL" != "no"; then
36220 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
36221 if test "${with_sdl_prefix+set}" = set; then
36222 withval
="$with_sdl_prefix"
36223 sdl_prefix
="$withval"
36228 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
36229 if test "${with_sdl_exec_prefix+set}" = set; then
36230 withval
="$with_sdl_exec_prefix"
36231 sdl_exec_prefix
="$withval"
36235 # Check whether --enable-sdltest or --disable-sdltest was given.
36236 if test "${enable_sdltest+set}" = set; then
36237 enableval
="$enable_sdltest"
36243 if test x
$sdl_exec_prefix != x
; then
36244 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
36245 if test x
${SDL_CONFIG+set} != xset
; then
36246 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
36249 if test x
$sdl_prefix != x
; then
36250 sdl_args
="$sdl_args --prefix=$sdl_prefix"
36251 if test x
${SDL_CONFIG+set} != xset
; then
36252 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
36257 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
36258 # Extract the first word of "sdl-config", so it can be a program name with args.
36259 set dummy sdl
-config; ac_word
=$2
36260 echo "$as_me:$LINENO: checking for $ac_word" >&5
36261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36262 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
36263 echo $ECHO_N "(cached) $ECHO_C" >&6
36265 case $SDL_CONFIG in
36267 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
36270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36271 for as_dir
in $PATH
36274 test -z "$as_dir" && as_dir
=.
36275 for ac_exec_ext
in '' $ac_executable_extensions; do
36276 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36277 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36284 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
36288 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
36290 if test -n "$SDL_CONFIG"; then
36291 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
36292 echo "${ECHO_T}$SDL_CONFIG" >&6
36294 echo "$as_me:$LINENO: result: no" >&5
36295 echo "${ECHO_T}no" >&6
36298 min_sdl_version
=1.2.0
36299 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
36300 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
36302 if test "$SDL_CONFIG" = "no" ; then
36305 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
36306 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
36308 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
36309 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
36310 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
36311 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
36312 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
36313 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
36314 if test "x$enable_sdltest" = "xyes" ; then
36315 ac_save_CFLAGS
="$CFLAGS"
36316 ac_save_CXXFLAGS
="$CXXFLAGS"
36317 ac_save_LIBS
="$LIBS"
36318 CFLAGS
="$CFLAGS $SDL_CFLAGS"
36319 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
36320 LIBS
="$LIBS $SDL_LIBS"
36322 if test "$cross_compiling" = yes; then
36323 echo $ac_n "cross compiling; assumed OK... $ac_c"
36325 cat >conftest.
$ac_ext <<_ACEOF
36328 cat confdefs.h
>>conftest.
$ac_ext
36329 cat >>conftest.
$ac_ext <<_ACEOF
36330 /* end confdefs.h. */
36333 #include <stdlib.h>
36334 #include <string.h>
36338 my_strdup (char *str)
36344 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
36345 strcpy (new_str, str);
36353 int main (int argc, char *argv[])
36355 int major, minor, micro;
36358 /* This hangs on some systems (?)
36359 system ("touch conf.sdltest");
36361 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
36363 /* HP/UX 9 (%@#!) writes to sscanf strings */
36364 tmp_version = my_strdup("$min_sdl_version");
36365 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
36366 printf("%s, bad version string\n", "$min_sdl_version");
36370 if (($sdl_major_version > major) ||
36371 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
36372 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
36378 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
36379 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
36380 printf("*** best to upgrade to the required version.\n");
36381 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
36382 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
36383 printf("*** config.cache before re-running configure\n");
36390 rm -f conftest
$ac_exeext
36391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36392 (eval $ac_link) 2>&5
36394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36395 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
36396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36397 (eval $ac_try) 2>&5
36399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36400 (exit $ac_status); }; }; then
36403 echo "$as_me: program exited with status $ac_status" >&5
36404 echo "$as_me: failed program was:" >&5
36405 sed 's/^/| /' conftest.
$ac_ext >&5
36407 ( exit $ac_status )
36410 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
36412 CFLAGS
="$ac_save_CFLAGS"
36413 CXXFLAGS
="$ac_save_CXXFLAGS"
36414 LIBS
="$ac_save_LIBS"
36417 if test "x$no_sdl" = x
; then
36418 echo "$as_me:$LINENO: result: yes" >&5
36419 echo "${ECHO_T}yes" >&6
36421 EXTRALIBS_SDL
="$SDL_LIBS"
36422 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
36423 cat >>confdefs.h
<<\_ACEOF
36424 #define wxUSE_LIBSDL 1
36429 echo "$as_me:$LINENO: result: no" >&5
36430 echo "${ECHO_T}no" >&6
36431 if test "$SDL_CONFIG" = "no" ; then
36432 echo "*** The sdl-config script installed by SDL could not be found"
36433 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
36434 echo "*** your path, or set the SDL_CONFIG environment variable to the"
36435 echo "*** full path to sdl-config."
36437 if test -f conf.sdltest
; then
36440 echo "*** Could not run SDL test program, checking why..."
36441 CFLAGS
="$CFLAGS $SDL_CFLAGS"
36442 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
36443 LIBS
="$LIBS $SDL_LIBS"
36444 cat >conftest.
$ac_ext <<_ACEOF
36447 cat confdefs.h
>>conftest.
$ac_ext
36448 cat >>conftest.
$ac_ext <<_ACEOF
36449 /* end confdefs.h. */
36454 int main(int argc, char *argv[])
36457 #define main K_and_R_C_main
36467 rm -f conftest.
$ac_objext conftest
$ac_exeext
36468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36469 (eval $ac_link) 2>conftest.er1
36471 grep -v '^ *+' conftest.er1
>conftest.err
36473 cat conftest.err
>&5
36474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36475 (exit $ac_status); } &&
36476 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36478 (eval $ac_try) 2>&5
36480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36481 (exit $ac_status); }; } &&
36482 { ac_try
='test -s conftest$ac_exeext'
36483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36484 (eval $ac_try) 2>&5
36486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36487 (exit $ac_status); }; }; then
36488 echo "*** The test program compiled, but did not run. This usually means"
36489 echo "*** that the run-time linker is not finding SDL or finding the wrong"
36490 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
36491 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
36492 echo "*** to the installed location Also, make sure you have run ldconfig if that"
36493 echo "*** is required on your system"
36495 echo "*** If you have an old version installed, it is best to remove it, although"
36496 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
36498 echo "$as_me: failed program was:" >&5
36499 sed 's/^/| /' conftest.
$ac_ext >&5
36501 echo "*** The test program failed to compile or link. See the file config.log for the"
36502 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
36503 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
36504 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
36506 rm -f conftest.err conftest.
$ac_objext \
36507 conftest
$ac_exeext conftest.
$ac_ext
36508 CFLAGS
="$ac_save_CFLAGS"
36509 CXXFLAGS
="$ac_save_CXXFLAGS"
36510 LIBS
="$ac_save_LIBS"
36521 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
36527 cat >>confdefs.h
<<\_ACEOF
36528 #define wxUSE_SOUND 1
36531 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
36534 if test "$WXGTK20" = 1; then
36535 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36536 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
36541 if test -z "$PKG_CONFIG"; then
36542 # Extract the first word of "pkg-config", so it can be a program name with args.
36543 set dummy pkg
-config; ac_word
=$2
36544 echo "$as_me:$LINENO: checking for $ac_word" >&5
36545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36546 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36547 echo $ECHO_N "(cached) $ECHO_C" >&6
36549 case $PKG_CONFIG in
36551 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
36554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36555 for as_dir
in $PATH
36558 test -z "$as_dir" && as_dir
=.
36559 for ac_exec_ext
in '' $ac_executable_extensions; do
36560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36561 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36568 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
36572 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
36574 if test -n "$PKG_CONFIG"; then
36575 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36576 echo "${ECHO_T}$PKG_CONFIG" >&6
36578 echo "$as_me:$LINENO: result: no" >&5
36579 echo "${ECHO_T}no" >&6
36584 if test "$PKG_CONFIG" = "no" ; then
36585 echo "*** The pkg-config script could not be found. Make sure it is"
36586 echo "*** in your path, or set the PKG_CONFIG environment variable"
36587 echo "*** to the full path to pkg-config."
36588 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
36590 PKG_CONFIG_MIN_VERSION
=0.9.0
36591 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
36592 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
36593 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
36595 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
36596 echo "$as_me:$LINENO: result: yes" >&5
36597 echo "${ECHO_T}yes" >&6
36600 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
36601 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
36602 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
36603 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
36604 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
36606 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
36607 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
36608 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
36609 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
36610 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
36612 LIBGNOMEPRINTUI_CFLAGS
=""
36613 LIBGNOMEPRINTUI_LIBS
=""
36614 ## If we have a custom action on failure, don't print errors, but
36615 ## do set a variable so people can do so.
36616 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
36623 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
36624 echo "*** See http://www.freedesktop.org/software/pkgconfig"
36628 if test $succeeded = yes; then
36630 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
36631 cat >>confdefs.h
<<\_ACEOF
36632 #define wxUSE_LIBGNOMEPRINT 1
36638 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
36639 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
36640 wxUSE_LIBGNOMEPRINT
="no"
36650 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
36651 cat >>confdefs.h
<<\_ACEOF
36652 #define wxUSE_CMDLINE_PARSER 1
36657 if test "$wxUSE_STOPWATCH" = "yes"; then
36658 cat >>confdefs.h
<<\_ACEOF
36659 #define wxUSE_STOPWATCH 1
36664 if test "$wxUSE_DATETIME" = "yes"; then
36665 cat >>confdefs.h
<<\_ACEOF
36666 #define wxUSE_DATETIME 1
36671 if test "$wxUSE_FILE" = "yes"; then
36672 cat >>confdefs.h
<<\_ACEOF
36673 #define wxUSE_FILE 1
36678 if test "$wxUSE_FFILE" = "yes"; then
36679 cat >>confdefs.h
<<\_ACEOF
36680 #define wxUSE_FFILE 1
36685 if test "$wxUSE_FILESYSTEM" = "yes"; then
36686 cat >>confdefs.h
<<\_ACEOF
36687 #define wxUSE_FILESYSTEM 1
36692 if test "$wxUSE_FS_ZIP" = "yes"; then
36693 cat >>confdefs.h
<<\_ACEOF
36694 #define wxUSE_FS_ZIP 1
36699 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
36700 cat >>confdefs.h
<<\_ACEOF
36701 #define wxUSE_ARCHIVE_STREAMS 1
36706 if test "$wxUSE_ZIPSTREAM" = "yes"; then
36707 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
36708 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
36709 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
36710 elif test "$wxUSE_ZLIB" = "no"; then
36711 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
36712 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
36714 cat >>confdefs.h
<<\_ACEOF
36715 #define wxUSE_ZIPSTREAM 1
36721 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36722 cat >>confdefs.h
<<\_ACEOF
36723 #define wxUSE_ON_FATAL_EXCEPTION 1
36728 if test "$wxUSE_STACKWALKER" = "yes"; then
36729 cat >>confdefs.h
<<\_ACEOF
36730 #define wxUSE_STACKWALKER 1
36735 if test "$wxUSE_DEBUGREPORT" = "yes"; then
36736 if test "$USE_OS2" = "1"; then
36737 { echo "$as_me:$LINENO: WARNING: Creating debug reports not supported under OS/2 yet, disabled" >&5
36738 echo "$as_me: WARNING: Creating debug reports not supported under OS/2 yet, disabled" >&2;}
36739 wxUSE_DEBUGREPORT
=no
36741 cat >>confdefs.h
<<\_ACEOF
36742 #define wxUSE_DEBUGREPORT 1
36745 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36746 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
36751 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36752 cat >>confdefs.h
<<\_ACEOF
36753 #define wxUSE_SNGLINST_CHECKER 1
36758 if test "$wxUSE_BUSYINFO" = "yes"; then
36759 cat >>confdefs.h
<<\_ACEOF
36760 #define wxUSE_BUSYINFO 1
36765 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
36766 cat >>confdefs.h
<<\_ACEOF
36767 #define wxUSE_STD_IOSTREAM 1
36772 if test "$wxUSE_STD_STRING" = "yes"; then
36773 cat >>confdefs.h
<<\_ACEOF
36774 #define wxUSE_STD_STRING 1
36779 if test "$wxUSE_STDPATHS" = "yes"; then
36780 cat >>confdefs.h
<<\_ACEOF
36781 #define wxUSE_STDPATHS 1
36786 if test "$wxUSE_TEXTBUFFER" = "yes"; then
36787 cat >>confdefs.h
<<\_ACEOF
36788 #define wxUSE_TEXTBUFFER 1
36793 if test "$wxUSE_TEXTFILE" = "yes"; then
36794 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
36795 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
36796 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
36798 cat >>confdefs.h
<<\_ACEOF
36799 #define wxUSE_TEXTFILE 1
36805 if test "$wxUSE_CONFIG" = "yes" ; then
36806 if test "$wxUSE_TEXTFILE" != "yes"; then
36807 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
36808 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
36810 cat >>confdefs.h
<<\_ACEOF
36811 #define wxUSE_CONFIG 1
36814 cat >>confdefs.h
<<\_ACEOF
36815 #define wxUSE_CONFIG_NATIVE 1
36818 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
36822 if test "$wxUSE_INTL" = "yes" ; then
36823 if test "$wxUSE_FILE" != "yes"; then
36824 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
36825 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
36827 cat >>confdefs.h
<<\_ACEOF
36828 #define wxUSE_INTL 1
36831 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
36832 GUIDIST
="$GUIDIST INTL_DIST"
36836 if test "$wxUSE_LOG" = "yes"; then
36837 cat >>confdefs.h
<<\_ACEOF
36838 #define wxUSE_LOG 1
36842 if test "$wxUSE_LOGGUI" = "yes"; then
36843 cat >>confdefs.h
<<\_ACEOF
36844 #define wxUSE_LOGGUI 1
36849 if test "$wxUSE_LOGWINDOW" = "yes"; then
36850 cat >>confdefs.h
<<\_ACEOF
36851 #define wxUSE_LOGWINDOW 1
36856 if test "$wxUSE_LOGDIALOG" = "yes"; then
36857 cat >>confdefs.h
<<\_ACEOF
36858 #define wxUSE_LOG_DIALOG 1
36863 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
36866 if test "$wxUSE_LONGLONG" = "yes"; then
36867 cat >>confdefs.h
<<\_ACEOF
36868 #define wxUSE_LONGLONG 1
36873 if test "$wxUSE_GEOMETRY" = "yes"; then
36874 cat >>confdefs.h
<<\_ACEOF
36875 #define wxUSE_GEOMETRY 1
36880 if test "$wxUSE_STREAMS" = "yes" ; then
36881 cat >>confdefs.h
<<\_ACEOF
36882 #define wxUSE_STREAMS 1
36888 if test "$wxUSE_DATETIME" = "yes"; then
36890 for ac_func
in strptime
36892 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36893 echo "$as_me:$LINENO: checking for $ac_func" >&5
36894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36895 if eval "test \"\${$as_ac_var+set}\" = set"; then
36896 echo $ECHO_N "(cached) $ECHO_C" >&6
36898 cat >conftest.
$ac_ext <<_ACEOF
36901 cat confdefs.h
>>conftest.
$ac_ext
36902 cat >>conftest.
$ac_ext <<_ACEOF
36903 /* end confdefs.h. */
36904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36906 #define $ac_func innocuous_$ac_func
36908 /* System header to define __stub macros and hopefully few prototypes,
36909 which can conflict with char $ac_func (); below.
36910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36911 <limits.h> exists even on freestanding compilers. */
36914 # include <limits.h>
36916 # include <assert.h>
36921 /* Override any gcc2 internal prototype to avoid an error. */
36926 /* We use char because int might match the return type of a gcc2
36927 builtin and then its argument prototype would still apply. */
36929 /* The GNU C library defines this for functions which it implements
36930 to always fail with ENOSYS. Some functions are actually named
36931 something starting with __ and the normal name is an alias. */
36932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36935 char (*f) () = $ac_func;
36944 return f != $ac_func;
36949 rm -f conftest.
$ac_objext conftest
$ac_exeext
36950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36951 (eval $ac_link) 2>conftest.er1
36953 grep -v '^ *+' conftest.er1
>conftest.err
36955 cat conftest.err
>&5
36956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36957 (exit $ac_status); } &&
36958 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36960 (eval $ac_try) 2>&5
36962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36963 (exit $ac_status); }; } &&
36964 { ac_try
='test -s conftest$ac_exeext'
36965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36966 (eval $ac_try) 2>&5
36968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36969 (exit $ac_status); }; }; then
36970 eval "$as_ac_var=yes"
36972 echo "$as_me: failed program was:" >&5
36973 sed 's/^/| /' conftest.
$ac_ext >&5
36975 eval "$as_ac_var=no"
36977 rm -f conftest.err conftest.
$ac_objext \
36978 conftest
$ac_exeext conftest.
$ac_ext
36980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36982 if test `eval echo '${'$as_ac_var'}'` = yes; then
36983 cat >>confdefs.h
<<_ACEOF
36984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36991 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
36992 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
36993 if test "${wx_cv_var_timezone+set}" = set; then
36994 echo $ECHO_N "(cached) $ECHO_C" >&6
36997 cat >conftest.
$ac_ext <<_ACEOF
37000 cat confdefs.h
>>conftest.
$ac_ext
37001 cat >>conftest.
$ac_ext <<_ACEOF
37002 /* end confdefs.h. */
37017 rm -f conftest.
$ac_objext
37018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37019 (eval $ac_compile) 2>conftest.er1
37021 grep -v '^ *+' conftest.er1
>conftest.err
37023 cat conftest.err
>&5
37024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37025 (exit $ac_status); } &&
37026 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37028 (eval $ac_try) 2>&5
37030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37031 (exit $ac_status); }; } &&
37032 { ac_try
='test -s conftest.$ac_objext'
37033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37034 (eval $ac_try) 2>&5
37036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37037 (exit $ac_status); }; }; then
37039 wx_cv_var_timezone
=timezone
37042 echo "$as_me: failed program was:" >&5
37043 sed 's/^/| /' conftest.
$ac_ext >&5
37046 cat >conftest.
$ac_ext <<_ACEOF
37049 cat confdefs.h
>>conftest.
$ac_ext
37050 cat >>conftest.
$ac_ext <<_ACEOF
37051 /* end confdefs.h. */
37066 rm -f conftest.
$ac_objext
37067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37068 (eval $ac_compile) 2>conftest.er1
37070 grep -v '^ *+' conftest.er1
>conftest.err
37072 cat conftest.err
>&5
37073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37074 (exit $ac_status); } &&
37075 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37077 (eval $ac_try) 2>&5
37079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37080 (exit $ac_status); }; } &&
37081 { ac_try
='test -s conftest.$ac_objext'
37082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37083 (eval $ac_try) 2>&5
37085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37086 (exit $ac_status); }; }; then
37088 wx_cv_var_timezone
=_timezone
37091 echo "$as_me: failed program was:" >&5
37092 sed 's/^/| /' conftest.
$ac_ext >&5
37095 cat >conftest.
$ac_ext <<_ACEOF
37098 cat confdefs.h
>>conftest.
$ac_ext
37099 cat >>conftest.
$ac_ext <<_ACEOF
37100 /* end confdefs.h. */
37115 rm -f conftest.
$ac_objext
37116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37117 (eval $ac_compile) 2>conftest.er1
37119 grep -v '^ *+' conftest.er1
>conftest.err
37121 cat conftest.err
>&5
37122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37123 (exit $ac_status); } &&
37124 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37126 (eval $ac_try) 2>&5
37128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37129 (exit $ac_status); }; } &&
37130 { ac_try
='test -s conftest.$ac_objext'
37131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37132 (eval $ac_try) 2>&5
37134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37135 (exit $ac_status); }; }; then
37137 wx_cv_var_timezone
=__timezone
37140 echo "$as_me: failed program was:" >&5
37141 sed 's/^/| /' conftest.
$ac_ext >&5
37144 if test "$USE_DOS" = 0 ; then
37145 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
37146 echo "$as_me: WARNING: no timezone variable" >&2;}
37151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37163 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
37164 echo "${ECHO_T}$wx_cv_var_timezone" >&6
37166 if test "x$wx_cv_var_timezone" != x
; then
37167 cat >>confdefs.h
<<_ACEOF
37168 #define WX_TIMEZONE $wx_cv_var_timezone
37174 for ac_func
in localtime
37176 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37177 echo "$as_me:$LINENO: checking for $ac_func" >&5
37178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37179 if eval "test \"\${$as_ac_var+set}\" = set"; then
37180 echo $ECHO_N "(cached) $ECHO_C" >&6
37182 cat >conftest.
$ac_ext <<_ACEOF
37185 cat confdefs.h
>>conftest.
$ac_ext
37186 cat >>conftest.
$ac_ext <<_ACEOF
37187 /* end confdefs.h. */
37188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37190 #define $ac_func innocuous_$ac_func
37192 /* System header to define __stub macros and hopefully few prototypes,
37193 which can conflict with char $ac_func (); below.
37194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37195 <limits.h> exists even on freestanding compilers. */
37198 # include <limits.h>
37200 # include <assert.h>
37205 /* Override any gcc2 internal prototype to avoid an error. */
37210 /* We use char because int might match the return type of a gcc2
37211 builtin and then its argument prototype would still apply. */
37213 /* The GNU C library defines this for functions which it implements
37214 to always fail with ENOSYS. Some functions are actually named
37215 something starting with __ and the normal name is an alias. */
37216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37219 char (*f) () = $ac_func;
37228 return f != $ac_func;
37233 rm -f conftest.
$ac_objext conftest
$ac_exeext
37234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37235 (eval $ac_link) 2>conftest.er1
37237 grep -v '^ *+' conftest.er1
>conftest.err
37239 cat conftest.err
>&5
37240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37241 (exit $ac_status); } &&
37242 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37244 (eval $ac_try) 2>&5
37246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37247 (exit $ac_status); }; } &&
37248 { ac_try
='test -s conftest$ac_exeext'
37249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37250 (eval $ac_try) 2>&5
37252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37253 (exit $ac_status); }; }; then
37254 eval "$as_ac_var=yes"
37256 echo "$as_me: failed program was:" >&5
37257 sed 's/^/| /' conftest.
$ac_ext >&5
37259 eval "$as_ac_var=no"
37261 rm -f conftest.err conftest.
$ac_objext \
37262 conftest
$ac_exeext conftest.
$ac_ext
37264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37266 if test `eval echo '${'$as_ac_var'}'` = yes; then
37267 cat >>confdefs.h
<<_ACEOF
37268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37275 if test "$ac_cv_func_localtime" = "yes"; then
37276 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
37277 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
37278 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
37279 echo $ECHO_N "(cached) $ECHO_C" >&6
37282 cat >conftest.
$ac_ext <<_ACEOF
37285 cat confdefs.h
>>conftest.
$ac_ext
37286 cat >>conftest.
$ac_ext <<_ACEOF
37287 /* end confdefs.h. */
37302 rm -f conftest.
$ac_objext
37303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37304 (eval $ac_compile) 2>conftest.er1
37306 grep -v '^ *+' conftest.er1
>conftest.err
37308 cat conftest.err
>&5
37309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37310 (exit $ac_status); } &&
37311 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37313 (eval $ac_try) 2>&5
37315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37316 (exit $ac_status); }; } &&
37317 { ac_try
='test -s conftest.$ac_objext'
37318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37319 (eval $ac_try) 2>&5
37321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37322 (exit $ac_status); }; }; then
37324 wx_cv_struct_tm_has_gmtoff
=yes
37327 echo "$as_me: failed program was:" >&5
37328 sed 's/^/| /' conftest.
$ac_ext >&5
37330 wx_cv_struct_tm_has_gmtoff
=no
37333 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37336 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
37337 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
37340 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
37341 cat >>confdefs.h
<<\_ACEOF
37342 #define WX_GMTOFF_IN_TM 1
37349 for ac_func
in gettimeofday ftime
37351 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37352 echo "$as_me:$LINENO: checking for $ac_func" >&5
37353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37354 if eval "test \"\${$as_ac_var+set}\" = set"; then
37355 echo $ECHO_N "(cached) $ECHO_C" >&6
37357 cat >conftest.
$ac_ext <<_ACEOF
37360 cat confdefs.h
>>conftest.
$ac_ext
37361 cat >>conftest.
$ac_ext <<_ACEOF
37362 /* end confdefs.h. */
37363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37365 #define $ac_func innocuous_$ac_func
37367 /* System header to define __stub macros and hopefully few prototypes,
37368 which can conflict with char $ac_func (); below.
37369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37370 <limits.h> exists even on freestanding compilers. */
37373 # include <limits.h>
37375 # include <assert.h>
37380 /* Override any gcc2 internal prototype to avoid an error. */
37385 /* We use char because int might match the return type of a gcc2
37386 builtin and then its argument prototype would still apply. */
37388 /* The GNU C library defines this for functions which it implements
37389 to always fail with ENOSYS. Some functions are actually named
37390 something starting with __ and the normal name is an alias. */
37391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37394 char (*f) () = $ac_func;
37403 return f != $ac_func;
37408 rm -f conftest.
$ac_objext conftest
$ac_exeext
37409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37410 (eval $ac_link) 2>conftest.er1
37412 grep -v '^ *+' conftest.er1
>conftest.err
37414 cat conftest.err
>&5
37415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37416 (exit $ac_status); } &&
37417 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37419 (eval $ac_try) 2>&5
37421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37422 (exit $ac_status); }; } &&
37423 { ac_try
='test -s conftest$ac_exeext'
37424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37425 (eval $ac_try) 2>&5
37427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37428 (exit $ac_status); }; }; then
37429 eval "$as_ac_var=yes"
37431 echo "$as_me: failed program was:" >&5
37432 sed 's/^/| /' conftest.
$ac_ext >&5
37434 eval "$as_ac_var=no"
37436 rm -f conftest.err conftest.
$ac_objext \
37437 conftest
$ac_exeext conftest.
$ac_ext
37439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37440 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37441 if test `eval echo '${'$as_ac_var'}'` = yes; then
37442 cat >>confdefs.h
<<_ACEOF
37443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37450 if test "$ac_cv_func_gettimeofday" = "yes"; then
37451 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
37452 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
37453 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
37454 echo $ECHO_N "(cached) $ECHO_C" >&6
37460 ac_cpp
='$CXXCPP $CPPFLAGS'
37461 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37462 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37463 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37466 cat >conftest.
$ac_ext <<_ACEOF
37469 cat confdefs.h
>>conftest.
$ac_ext
37470 cat >>conftest.
$ac_ext <<_ACEOF
37471 /* end confdefs.h. */
37473 #include <sys/time.h>
37474 #include <unistd.h>
37481 gettimeofday(&tv, NULL);
37487 rm -f conftest.
$ac_objext
37488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37489 (eval $ac_compile) 2>conftest.er1
37491 grep -v '^ *+' conftest.er1
>conftest.err
37493 cat conftest.err
>&5
37494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37495 (exit $ac_status); } &&
37496 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37498 (eval $ac_try) 2>&5
37500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37501 (exit $ac_status); }; } &&
37502 { ac_try
='test -s conftest.$ac_objext'
37503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37504 (eval $ac_try) 2>&5
37506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37507 (exit $ac_status); }; }; then
37508 wx_cv_func_gettimeofday_has_2_args
=yes
37510 echo "$as_me: failed program was:" >&5
37511 sed 's/^/| /' conftest.
$ac_ext >&5
37513 cat >conftest.
$ac_ext <<_ACEOF
37516 cat confdefs.h
>>conftest.
$ac_ext
37517 cat >>conftest.
$ac_ext <<_ACEOF
37518 /* end confdefs.h. */
37520 #include <sys/time.h>
37521 #include <unistd.h>
37534 rm -f conftest.
$ac_objext
37535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37536 (eval $ac_compile) 2>conftest.er1
37538 grep -v '^ *+' conftest.er1
>conftest.err
37540 cat conftest.err
>&5
37541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37542 (exit $ac_status); } &&
37543 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37545 (eval $ac_try) 2>&5
37547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37548 (exit $ac_status); }; } &&
37549 { ac_try
='test -s conftest.$ac_objext'
37550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37551 (eval $ac_try) 2>&5
37553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37554 (exit $ac_status); }; }; then
37555 wx_cv_func_gettimeofday_has_2_args
=no
37557 echo "$as_me: failed program was:" >&5
37558 sed 's/^/| /' conftest.
$ac_ext >&5
37561 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
37562 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
37563 wx_cv_func_gettimeofday_has_2_args
=unknown
37567 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37572 ac_cpp
='$CPP $CPPFLAGS'
37573 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37574 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37575 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37579 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
37580 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
37582 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
37583 cat >>confdefs.h
<<\_ACEOF
37584 #define WX_GETTIMEOFDAY_NO_TZ 1
37590 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
37594 if test "$wxUSE_SOCKETS" = "yes"; then
37595 if test "$wxUSE_MGL" = "1"; then
37596 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
37597 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
37602 if test "$wxUSE_SOCKETS" = "yes"; then
37603 if test "$TOOLKIT" != "MSW"; then
37604 echo "$as_me:$LINENO: checking for socket" >&5
37605 echo $ECHO_N "checking for socket... $ECHO_C" >&6
37606 if test "${ac_cv_func_socket+set}" = set; then
37607 echo $ECHO_N "(cached) $ECHO_C" >&6
37609 cat >conftest.
$ac_ext <<_ACEOF
37612 cat confdefs.h
>>conftest.
$ac_ext
37613 cat >>conftest.
$ac_ext <<_ACEOF
37614 /* end confdefs.h. */
37615 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
37616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37617 #define socket innocuous_socket
37619 /* System header to define __stub macros and hopefully few prototypes,
37620 which can conflict with char socket (); below.
37621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37622 <limits.h> exists even on freestanding compilers. */
37625 # include <limits.h>
37627 # include <assert.h>
37632 /* Override any gcc2 internal prototype to avoid an error. */
37637 /* We use char because int might match the return type of a gcc2
37638 builtin and then its argument prototype would still apply. */
37640 /* The GNU C library defines this for functions which it implements
37641 to always fail with ENOSYS. Some functions are actually named
37642 something starting with __ and the normal name is an alias. */
37643 #if defined (__stub_socket) || defined (__stub___socket)
37646 char (*f) () = socket;
37655 return f != socket;
37660 rm -f conftest.
$ac_objext conftest
$ac_exeext
37661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37662 (eval $ac_link) 2>conftest.er1
37664 grep -v '^ *+' conftest.er1
>conftest.err
37666 cat conftest.err
>&5
37667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37668 (exit $ac_status); } &&
37669 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37671 (eval $ac_try) 2>&5
37673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37674 (exit $ac_status); }; } &&
37675 { ac_try
='test -s conftest$ac_exeext'
37676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37677 (eval $ac_try) 2>&5
37679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37680 (exit $ac_status); }; }; then
37681 ac_cv_func_socket
=yes
37683 echo "$as_me: failed program was:" >&5
37684 sed 's/^/| /' conftest.
$ac_ext >&5
37686 ac_cv_func_socket
=no
37688 rm -f conftest.err conftest.
$ac_objext \
37689 conftest
$ac_exeext conftest.
$ac_ext
37691 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
37692 echo "${ECHO_T}$ac_cv_func_socket" >&6
37693 if test $ac_cv_func_socket = yes; then
37697 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
37698 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
37699 if test "${ac_cv_lib_socket_socket+set}" = set; then
37700 echo $ECHO_N "(cached) $ECHO_C" >&6
37702 ac_check_lib_save_LIBS
=$LIBS
37703 LIBS
="-lsocket $LIBS"
37704 cat >conftest.
$ac_ext <<_ACEOF
37707 cat confdefs.h
>>conftest.
$ac_ext
37708 cat >>conftest.
$ac_ext <<_ACEOF
37709 /* end confdefs.h. */
37711 /* Override any gcc2 internal prototype to avoid an error. */
37715 /* We use char because int might match the return type of a gcc2
37716 builtin and then its argument prototype would still apply. */
37726 rm -f conftest.
$ac_objext conftest
$ac_exeext
37727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37728 (eval $ac_link) 2>conftest.er1
37730 grep -v '^ *+' conftest.er1
>conftest.err
37732 cat conftest.err
>&5
37733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37734 (exit $ac_status); } &&
37735 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37737 (eval $ac_try) 2>&5
37739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37740 (exit $ac_status); }; } &&
37741 { ac_try
='test -s conftest$ac_exeext'
37742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37743 (eval $ac_try) 2>&5
37745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37746 (exit $ac_status); }; }; then
37747 ac_cv_lib_socket_socket
=yes
37749 echo "$as_me: failed program was:" >&5
37750 sed 's/^/| /' conftest.
$ac_ext >&5
37752 ac_cv_lib_socket_socket
=no
37754 rm -f conftest.err conftest.
$ac_objext \
37755 conftest
$ac_exeext conftest.
$ac_ext
37756 LIBS
=$ac_check_lib_save_LIBS
37758 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
37759 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
37760 if test $ac_cv_lib_socket_socket = yes; then
37761 if test "$INET_LINK" != " -lsocket"; then
37762 INET_LINK
="$INET_LINK -lsocket"
37766 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
37767 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
37780 if test "$wxUSE_SOCKETS" = "yes" ; then
37781 if test "$TOOLKIT" != "MSW"; then
37783 ac_cpp
='$CXXCPP $CPPFLAGS'
37784 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37785 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37786 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37788 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
37789 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
37790 if test "${wx_cv_type_getsockname3+set}" = set; then
37791 echo $ECHO_N "(cached) $ECHO_C" >&6
37794 cat >conftest.
$ac_ext <<_ACEOF
37797 cat confdefs.h
>>conftest.
$ac_ext
37798 cat >>conftest.
$ac_ext <<_ACEOF
37799 /* end confdefs.h. */
37801 #include <sys/types.h>
37802 #include <sys/socket.h>
37809 getsockname(0, 0, &len);
37815 rm -f conftest.
$ac_objext
37816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37817 (eval $ac_compile) 2>conftest.er1
37819 grep -v '^ *+' conftest.er1
>conftest.err
37821 cat conftest.err
>&5
37822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37823 (exit $ac_status); } &&
37824 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37826 (eval $ac_try) 2>&5
37828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37829 (exit $ac_status); }; } &&
37830 { ac_try
='test -s conftest.$ac_objext'
37831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37832 (eval $ac_try) 2>&5
37834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37835 (exit $ac_status); }; }; then
37836 wx_cv_type_getsockname3
=socklen_t
37838 echo "$as_me: failed program was:" >&5
37839 sed 's/^/| /' conftest.
$ac_ext >&5
37842 CFLAGS_OLD
="$CFLAGS"
37843 if test "$GCC" = yes ; then
37844 CFLAGS
="$CFLAGS -Werror"
37847 cat >conftest.
$ac_ext <<_ACEOF
37850 cat confdefs.h
>>conftest.
$ac_ext
37851 cat >>conftest.
$ac_ext <<_ACEOF
37852 /* end confdefs.h. */
37854 #include <sys/types.h>
37855 #include <sys/socket.h>
37862 getsockname(0, 0, &len);
37868 rm -f conftest.
$ac_objext
37869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37870 (eval $ac_compile) 2>conftest.er1
37872 grep -v '^ *+' conftest.er1
>conftest.err
37874 cat conftest.err
>&5
37875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37876 (exit $ac_status); } &&
37877 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37879 (eval $ac_try) 2>&5
37881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37882 (exit $ac_status); }; } &&
37883 { ac_try
='test -s conftest.$ac_objext'
37884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37885 (eval $ac_try) 2>&5
37887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37888 (exit $ac_status); }; }; then
37889 wx_cv_type_getsockname3
=size_t
37891 echo "$as_me: failed program was:" >&5
37892 sed 's/^/| /' conftest.
$ac_ext >&5
37894 cat >conftest.
$ac_ext <<_ACEOF
37897 cat confdefs.h
>>conftest.
$ac_ext
37898 cat >>conftest.
$ac_ext <<_ACEOF
37899 /* end confdefs.h. */
37901 #include <sys/types.h>
37902 #include <sys/socket.h>
37909 getsockname(0, 0, &len);
37915 rm -f conftest.
$ac_objext
37916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37917 (eval $ac_compile) 2>conftest.er1
37919 grep -v '^ *+' conftest.er1
>conftest.err
37921 cat conftest.err
>&5
37922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37923 (exit $ac_status); } &&
37924 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37926 (eval $ac_try) 2>&5
37928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37929 (exit $ac_status); }; } &&
37930 { ac_try
='test -s conftest.$ac_objext'
37931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37932 (eval $ac_try) 2>&5
37934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37935 (exit $ac_status); }; }; then
37936 wx_cv_type_getsockname3
=int
37938 echo "$as_me: failed program was:" >&5
37939 sed 's/^/| /' conftest.
$ac_ext >&5
37941 wx_cv_type_getsockname3
=unknown
37944 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37949 CFLAGS
="$CFLAGS_OLD"
37953 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37956 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
37957 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
37959 if test "$wx_cv_type_getsockname3" = "unknown"; then
37961 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
37962 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
37964 cat >>confdefs.h
<<_ACEOF
37965 #define SOCKLEN_T $wx_cv_type_getsockname3
37969 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
37970 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
37971 if test "${wx_cv_type_getsockopt5+set}" = set; then
37972 echo $ECHO_N "(cached) $ECHO_C" >&6
37975 cat >conftest.
$ac_ext <<_ACEOF
37978 cat confdefs.h
>>conftest.
$ac_ext
37979 cat >>conftest.
$ac_ext <<_ACEOF
37980 /* end confdefs.h. */
37982 #include <sys/types.h>
37983 #include <sys/socket.h>
37990 getsockopt(0, 0, 0, 0, &len);
37996 rm -f conftest.
$ac_objext
37997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37998 (eval $ac_compile) 2>conftest.er1
38000 grep -v '^ *+' conftest.er1
>conftest.err
38002 cat conftest.err
>&5
38003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38004 (exit $ac_status); } &&
38005 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38007 (eval $ac_try) 2>&5
38009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38010 (exit $ac_status); }; } &&
38011 { ac_try
='test -s conftest.$ac_objext'
38012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38013 (eval $ac_try) 2>&5
38015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38016 (exit $ac_status); }; }; then
38017 wx_cv_type_getsockopt5
=socklen_t
38019 echo "$as_me: failed program was:" >&5
38020 sed 's/^/| /' conftest.
$ac_ext >&5
38023 CFLAGS_OLD
="$CFLAGS"
38024 if test "$GCC" = yes ; then
38025 CFLAGS
="$CFLAGS -Werror"
38028 cat >conftest.
$ac_ext <<_ACEOF
38031 cat confdefs.h
>>conftest.
$ac_ext
38032 cat >>conftest.
$ac_ext <<_ACEOF
38033 /* end confdefs.h. */
38035 #include <sys/types.h>
38036 #include <sys/socket.h>
38043 getsockopt(0, 0, 0, 0, &len);
38049 rm -f conftest.
$ac_objext
38050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38051 (eval $ac_compile) 2>conftest.er1
38053 grep -v '^ *+' conftest.er1
>conftest.err
38055 cat conftest.err
>&5
38056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38057 (exit $ac_status); } &&
38058 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38060 (eval $ac_try) 2>&5
38062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38063 (exit $ac_status); }; } &&
38064 { ac_try
='test -s conftest.$ac_objext'
38065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38066 (eval $ac_try) 2>&5
38068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38069 (exit $ac_status); }; }; then
38070 wx_cv_type_getsockopt5
=size_t
38072 echo "$as_me: failed program was:" >&5
38073 sed 's/^/| /' conftest.
$ac_ext >&5
38075 cat >conftest.
$ac_ext <<_ACEOF
38078 cat confdefs.h
>>conftest.
$ac_ext
38079 cat >>conftest.
$ac_ext <<_ACEOF
38080 /* end confdefs.h. */
38082 #include <sys/types.h>
38083 #include <sys/socket.h>
38090 getsockopt(0, 0, 0, 0, &len);
38096 rm -f conftest.
$ac_objext
38097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38098 (eval $ac_compile) 2>conftest.er1
38100 grep -v '^ *+' conftest.er1
>conftest.err
38102 cat conftest.err
>&5
38103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38104 (exit $ac_status); } &&
38105 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38107 (eval $ac_try) 2>&5
38109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38110 (exit $ac_status); }; } &&
38111 { ac_try
='test -s conftest.$ac_objext'
38112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38113 (eval $ac_try) 2>&5
38115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38116 (exit $ac_status); }; }; then
38117 wx_cv_type_getsockopt5
=int
38119 echo "$as_me: failed program was:" >&5
38120 sed 's/^/| /' conftest.
$ac_ext >&5
38122 wx_cv_type_getsockopt5
=unknown
38125 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38128 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38130 CFLAGS
="$CFLAGS_OLD"
38134 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38137 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
38138 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
38140 if test "$wx_cv_type_getsockopt5" = "unknown"; then
38142 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
38143 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
38145 cat >>confdefs.h
<<_ACEOF
38146 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
38151 ac_cpp
='$CPP $CPPFLAGS'
38152 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38153 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38154 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38159 if test "$wxUSE_SOCKETS" = "yes" ; then
38160 cat >>confdefs.h
<<\_ACEOF
38161 #define wxUSE_SOCKETS 1
38164 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
38167 if test "$wxUSE_PROTOCOL" = "yes"; then
38168 if test "$wxUSE_SOCKETS" != "yes"; then
38169 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
38170 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
38175 if test "$wxUSE_PROTOCOL" = "yes"; then
38176 cat >>confdefs.h
<<\_ACEOF
38177 #define wxUSE_PROTOCOL 1
38181 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
38182 cat >>confdefs.h
<<\_ACEOF
38183 #define wxUSE_PROTOCOL_HTTP 1
38187 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
38188 cat >>confdefs.h
<<\_ACEOF
38189 #define wxUSE_PROTOCOL_FTP 1
38193 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
38194 cat >>confdefs.h
<<\_ACEOF
38195 #define wxUSE_PROTOCOL_FILE 1
38200 if test "$wxUSE_FS_INET" = "yes"; then
38201 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
38202 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
38207 if test "$wxUSE_URL" = "yes"; then
38208 if test "$wxUSE_PROTOCOL" != "yes"; then
38209 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
38210 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
38213 if test "$wxUSE_URL" = "yes"; then
38214 cat >>confdefs.h
<<\_ACEOF
38215 #define wxUSE_URL 1
38221 if test "$wxUSE_FS_INET" = "yes"; then
38222 cat >>confdefs.h
<<\_ACEOF
38223 #define wxUSE_FS_INET 1
38229 if test "$wxUSE_GUI" = "yes"; then
38230 if test "$wxUSE_JOYSTICK" = "yes"; then
38232 if test "$TOOLKIT" != "MAC" -a "$TOOLKIT" != "COCOA" -a "$TOOLKIT" != "MSW"; then
38234 for ac_header
in linux
/joystick.h
38236 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38238 echo "$as_me:$LINENO: checking for $ac_header" >&5
38239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38241 echo $ECHO_N "(cached) $ECHO_C" >&6
38243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38244 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38246 # Is the header compilable?
38247 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38248 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38249 cat >conftest.
$ac_ext <<_ACEOF
38252 cat confdefs.h
>>conftest.
$ac_ext
38253 cat >>conftest.
$ac_ext <<_ACEOF
38254 /* end confdefs.h. */
38255 $ac_includes_default
38256 #include <$ac_header>
38258 rm -f conftest.
$ac_objext
38259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38260 (eval $ac_compile) 2>conftest.er1
38262 grep -v '^ *+' conftest.er1
>conftest.err
38264 cat conftest.err
>&5
38265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38266 (exit $ac_status); } &&
38267 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38269 (eval $ac_try) 2>&5
38271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38272 (exit $ac_status); }; } &&
38273 { ac_try
='test -s conftest.$ac_objext'
38274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38275 (eval $ac_try) 2>&5
38277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38278 (exit $ac_status); }; }; then
38279 ac_header_compiler
=yes
38281 echo "$as_me: failed program was:" >&5
38282 sed 's/^/| /' conftest.
$ac_ext >&5
38284 ac_header_compiler
=no
38286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38287 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38288 echo "${ECHO_T}$ac_header_compiler" >&6
38290 # Is the header present?
38291 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38292 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38293 cat >conftest.
$ac_ext <<_ACEOF
38296 cat confdefs.h
>>conftest.
$ac_ext
38297 cat >>conftest.
$ac_ext <<_ACEOF
38298 /* end confdefs.h. */
38299 #include <$ac_header>
38301 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38302 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38304 grep -v '^ *+' conftest.er1
>conftest.err
38306 cat conftest.err
>&5
38307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38308 (exit $ac_status); } >/dev
/null
; then
38309 if test -s conftest.err
; then
38310 ac_cpp_err
=$ac_c_preproc_warn_flag
38311 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
38318 if test -z "$ac_cpp_err"; then
38319 ac_header_preproc
=yes
38321 echo "$as_me: failed program was:" >&5
38322 sed 's/^/| /' conftest.
$ac_ext >&5
38324 ac_header_preproc
=no
38326 rm -f conftest.err conftest.
$ac_ext
38327 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38328 echo "${ECHO_T}$ac_header_preproc" >&6
38330 # So? What about this header?
38331 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38333 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38334 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38335 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38336 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38337 ac_header_preproc
=yes
38340 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38341 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38342 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38343 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38344 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38345 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38346 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38347 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38348 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38349 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38350 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38351 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38354 ## ----------------------------------------- ##
38355 ## Report this to wx-dev@lists.wxwidgets.org ##
38356 ## ----------------------------------------- ##
38359 sed "s/^/$as_me: WARNING: /" >&2
38362 echo "$as_me:$LINENO: checking for $ac_header" >&5
38363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38364 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38365 echo $ECHO_N "(cached) $ECHO_C" >&6
38367 eval "$as_ac_Header=\$ac_header_preproc"
38369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38370 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38373 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38374 cat >>confdefs.h
<<_ACEOF
38375 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38382 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
38384 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
38385 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
38388 if test "$USE_DARWIN" != 1 -a "$TOOLKIT" != "MSW"; then
38390 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
38391 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
38396 if test "$wxUSE_JOYSTICK" = "yes"; then
38397 cat >>confdefs.h
<<\_ACEOF
38398 #define wxUSE_JOYSTICK 1
38401 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
38408 if test "$wxUSE_FONTMAP" = "yes" ; then
38409 cat >>confdefs.h
<<\_ACEOF
38410 #define wxUSE_FONTMAP 1
38415 if test "$wxUSE_UNICODE" = "yes" ; then
38416 cat >>confdefs.h
<<\_ACEOF
38417 #define wxUSE_UNICODE 1
38421 if test "$USE_WIN32" != 1; then
38422 wxUSE_UNICODE_MSLU
=no
38425 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
38426 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
38427 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
38428 if test "${ac_cv_lib_unicows_main+set}" = set; then
38429 echo $ECHO_N "(cached) $ECHO_C" >&6
38431 ac_check_lib_save_LIBS
=$LIBS
38432 LIBS
="-lunicows $LIBS"
38433 cat >conftest.
$ac_ext <<_ACEOF
38436 cat confdefs.h
>>conftest.
$ac_ext
38437 cat >>conftest.
$ac_ext <<_ACEOF
38438 /* end confdefs.h. */
38449 rm -f conftest.
$ac_objext conftest
$ac_exeext
38450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38451 (eval $ac_link) 2>conftest.er1
38453 grep -v '^ *+' conftest.er1
>conftest.err
38455 cat conftest.err
>&5
38456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38457 (exit $ac_status); } &&
38458 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38460 (eval $ac_try) 2>&5
38462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38463 (exit $ac_status); }; } &&
38464 { ac_try
='test -s conftest$ac_exeext'
38465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38466 (eval $ac_try) 2>&5
38468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38469 (exit $ac_status); }; }; then
38470 ac_cv_lib_unicows_main
=yes
38472 echo "$as_me: failed program was:" >&5
38473 sed 's/^/| /' conftest.
$ac_ext >&5
38475 ac_cv_lib_unicows_main
=no
38477 rm -f conftest.err conftest.
$ac_objext \
38478 conftest
$ac_exeext conftest.
$ac_ext
38479 LIBS
=$ac_check_lib_save_LIBS
38481 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
38482 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
38483 if test $ac_cv_lib_unicows_main = yes; then
38485 cat >>confdefs.h
<<\_ACEOF
38486 #define wxUSE_UNICODE_MSLU 1
38492 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
38493 Applications will only run on Windows NT/2000/XP!" >&5
38494 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
38495 Applications will only run on Windows NT/2000/XP!" >&2;}
38496 wxUSE_UNICODE_MSLU
=no
38503 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
38504 cat >>confdefs.h
<<\_ACEOF
38505 #define wxUSE_EXPERIMENTAL_PRINTF 1
38511 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
38512 cat >>confdefs.h
<<\_ACEOF
38513 #define wxUSE_POSTSCRIPT 1
38518 cat >>confdefs.h
<<\_ACEOF
38519 #define wxUSE_AFM_FOR_POSTSCRIPT 1
38523 cat >>confdefs.h
<<\_ACEOF
38524 #define wxUSE_NORMALIZED_PS_FONTS 1
38529 if test "$wxUSE_CONSTRAINTS" = "yes"; then
38530 cat >>confdefs.h
<<\_ACEOF
38531 #define wxUSE_CONSTRAINTS 1
38534 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
38537 if test "$wxUSE_MDI" = "yes"; then
38538 cat >>confdefs.h
<<\_ACEOF
38539 #define wxUSE_MDI 1
38543 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
38544 cat >>confdefs.h
<<\_ACEOF
38545 #define wxUSE_MDI_ARCHITECTURE 1
38548 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
38552 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
38553 cat >>confdefs.h
<<\_ACEOF
38554 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
38557 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
38558 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
38559 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
38563 if test "$wxUSE_HELP" = "yes"; then
38564 cat >>confdefs.h
<<\_ACEOF
38565 #define wxUSE_HELP 1
38568 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
38570 if test "$wxUSE_MSW" = 1; then
38571 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
38572 cat >>confdefs.h
<<\_ACEOF
38573 #define wxUSE_MS_HTML_HELP 1
38579 if test "$wxUSE_WXHTML_HELP" = "yes"; then
38580 if test "$wxUSE_HTML" = "yes"; then
38581 cat >>confdefs.h
<<\_ACEOF
38582 #define wxUSE_WXHTML_HELP 1
38586 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
38587 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
38588 wxUSE_WXHTML_HELP
=no
38593 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
38594 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38595 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
38596 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
38598 cat >>confdefs.h
<<\_ACEOF
38599 #define wxUSE_PRINTING_ARCHITECTURE 1
38603 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
38606 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
38607 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
38608 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
38609 { (exit 1); exit 1; }; }
38613 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
38614 -o "$wxUSE_CLIPBOARD" = "yes" \
38615 -o "$wxUSE_OLE" = "yes" \
38616 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
38618 for ac_header
in ole2.h
38620 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38621 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38622 echo "$as_me:$LINENO: checking for $ac_header" >&5
38623 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38624 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38625 echo $ECHO_N "(cached) $ECHO_C" >&6
38627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38628 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38630 # Is the header compilable?
38631 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38632 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38633 cat >conftest.
$ac_ext <<_ACEOF
38636 cat confdefs.h
>>conftest.
$ac_ext
38637 cat >>conftest.
$ac_ext <<_ACEOF
38638 /* end confdefs.h. */
38639 $ac_includes_default
38640 #include <$ac_header>
38642 rm -f conftest.
$ac_objext
38643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38644 (eval $ac_compile) 2>conftest.er1
38646 grep -v '^ *+' conftest.er1
>conftest.err
38648 cat conftest.err
>&5
38649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38650 (exit $ac_status); } &&
38651 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38653 (eval $ac_try) 2>&5
38655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38656 (exit $ac_status); }; } &&
38657 { ac_try
='test -s conftest.$ac_objext'
38658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38659 (eval $ac_try) 2>&5
38661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38662 (exit $ac_status); }; }; then
38663 ac_header_compiler
=yes
38665 echo "$as_me: failed program was:" >&5
38666 sed 's/^/| /' conftest.
$ac_ext >&5
38668 ac_header_compiler
=no
38670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38671 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38672 echo "${ECHO_T}$ac_header_compiler" >&6
38674 # Is the header present?
38675 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38676 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38677 cat >conftest.
$ac_ext <<_ACEOF
38680 cat confdefs.h
>>conftest.
$ac_ext
38681 cat >>conftest.
$ac_ext <<_ACEOF
38682 /* end confdefs.h. */
38683 #include <$ac_header>
38685 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38686 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38688 grep -v '^ *+' conftest.er1
>conftest.err
38690 cat conftest.err
>&5
38691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38692 (exit $ac_status); } >/dev
/null
; then
38693 if test -s conftest.err
; then
38694 ac_cpp_err
=$ac_c_preproc_warn_flag
38695 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
38702 if test -z "$ac_cpp_err"; then
38703 ac_header_preproc
=yes
38705 echo "$as_me: failed program was:" >&5
38706 sed 's/^/| /' conftest.
$ac_ext >&5
38708 ac_header_preproc
=no
38710 rm -f conftest.err conftest.
$ac_ext
38711 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38712 echo "${ECHO_T}$ac_header_preproc" >&6
38714 # So? What about this header?
38715 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38717 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38718 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38719 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38720 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38721 ac_header_preproc
=yes
38724 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38725 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38726 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38727 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38728 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38729 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38730 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38731 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38732 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38733 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38734 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38735 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38738 ## ----------------------------------------- ##
38739 ## Report this to wx-dev@lists.wxwidgets.org ##
38740 ## ----------------------------------------- ##
38743 sed "s/^/$as_me: WARNING: /" >&2
38746 echo "$as_me:$LINENO: checking for $ac_header" >&5
38747 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38748 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38749 echo $ECHO_N "(cached) $ECHO_C" >&6
38751 eval "$as_ac_Header=\$ac_header_preproc"
38753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38757 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38758 cat >>confdefs.h
<<_ACEOF
38759 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38767 if test "$ac_cv_header_ole2_h" = "yes" ; then
38768 if test "$GCC" = yes ; then
38772 ac_cpp
='$CXXCPP $CPPFLAGS'
38773 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38774 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38775 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38778 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
38779 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
38780 cat >conftest.
$ac_ext <<_ACEOF
38783 cat confdefs.h
>>conftest.
$ac_ext
38784 cat >>conftest.
$ac_ext <<_ACEOF
38785 /* end confdefs.h. */
38786 #include <windows.h>
38796 rm -f conftest.
$ac_objext
38797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38798 (eval $ac_compile) 2>conftest.er1
38800 grep -v '^ *+' conftest.er1
>conftest.err
38802 cat conftest.err
>&5
38803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38804 (exit $ac_status); } &&
38805 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38807 (eval $ac_try) 2>&5
38809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38810 (exit $ac_status); }; } &&
38811 { ac_try
='test -s conftest.$ac_objext'
38812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38813 (eval $ac_try) 2>&5
38815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38816 (exit $ac_status); }; }; then
38817 echo "$as_me:$LINENO: result: no" >&5
38818 echo "${ECHO_T}no" >&6
38820 echo "$as_me: failed program was:" >&5
38821 sed 's/^/| /' conftest.
$ac_ext >&5
38823 echo "$as_me:$LINENO: result: yes" >&5
38824 echo "${ECHO_T}yes" >&6
38825 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
38827 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38829 ac_cpp
='$CPP $CPPFLAGS'
38830 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38831 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38832 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38834 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
38835 if test "$wxUSE_OLE" = "yes" ; then
38836 cat >>confdefs.h
<<\_ACEOF
38837 #define wxUSE_OLE 1
38840 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
38844 if test "$wxUSE_DATAOBJ" = "yes" ; then
38845 cat >>confdefs.h
<<\_ACEOF
38846 #define wxUSE_DATAOBJ 1
38851 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
38852 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
38855 wxUSE_DRAG_AND_DROP
=no
38860 if test "$wxUSE_METAFILE" = "yes"; then
38861 cat >>confdefs.h
<<\_ACEOF
38862 #define wxUSE_METAFILE 1
38866 cat >>confdefs.h
<<\_ACEOF
38867 #define wxUSE_ENH_METAFILE 1
38873 if test "$wxUSE_IPC" = "yes"; then
38874 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
38875 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
38876 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
38880 if test "$wxUSE_IPC" = "yes"; then
38881 cat >>confdefs.h
<<\_ACEOF
38882 #define wxUSE_IPC 1
38885 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
38889 if test "$wxUSE_CLIPBOARD" = "yes"; then
38890 if test "$wxUSE_MGL" = 1; then
38891 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
38892 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
38896 if test "$wxUSE_CLIPBOARD" = "yes"; then
38897 cat >>confdefs.h
<<\_ACEOF
38898 #define wxUSE_CLIPBOARD 1
38902 cat >>confdefs.h
<<\_ACEOF
38903 #define wxUSE_DATAOBJ 1
38909 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
38910 if test "$wxUSE_GTK" = 1; then
38911 if test "$WXGTK12" != 1; then
38912 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
38913 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
38914 wxUSE_DRAG_AND_DROP
=no
38918 if test "$wxUSE_MOTIF" = 1; then
38919 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
38920 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
38921 wxUSE_DRAG_AND_DROP
=no
38924 if test "$wxUSE_X11" = 1; then
38925 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
38926 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
38927 wxUSE_DRAG_AND_DROP
=no
38930 if test "$wxUSE_MGL" = 1; then
38931 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
38932 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
38933 wxUSE_DRAG_AND_DROP
=no
38936 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
38937 cat >>confdefs.h
<<\_ACEOF
38938 #define wxUSE_DRAG_AND_DROP 1
38945 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
38946 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
38949 if test "$wxUSE_SPLINES" = "yes" ; then
38950 cat >>confdefs.h
<<\_ACEOF
38951 #define wxUSE_SPLINES 1
38956 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
38957 cat >>confdefs.h
<<\_ACEOF
38958 #define wxUSE_MOUSEWHEEL 1
38965 if test "$wxUSE_CONTROLS" = "yes"; then
38969 if test "$wxUSE_ACCEL" = "yes"; then
38970 cat >>confdefs.h
<<\_ACEOF
38971 #define wxUSE_ACCEL 1
38977 if test "$wxUSE_BUTTON" = "yes"; then
38978 cat >>confdefs.h
<<\_ACEOF
38979 #define wxUSE_BUTTON 1
38985 if test "$wxUSE_BMPBUTTON" = "yes"; then
38986 cat >>confdefs.h
<<\_ACEOF
38987 #define wxUSE_BMPBUTTON 1
38993 if test "$wxUSE_CALCTRL" = "yes"; then
38994 cat >>confdefs.h
<<\_ACEOF
38995 #define wxUSE_CALENDARCTRL 1
38999 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
39002 if test "$wxUSE_CARET" = "yes"; then
39003 cat >>confdefs.h
<<\_ACEOF
39004 #define wxUSE_CARET 1
39008 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
39011 if test "$wxUSE_COMBOBOX" = "yes"; then
39012 cat >>confdefs.h
<<\_ACEOF
39013 #define wxUSE_COMBOBOX 1
39019 if test "$wxUSE_CHOICE" = "yes"; then
39020 cat >>confdefs.h
<<\_ACEOF
39021 #define wxUSE_CHOICE 1
39027 if test "$wxUSE_CHOICEBOOK" = "yes"; then
39028 cat >>confdefs.h
<<\_ACEOF
39029 #define wxUSE_CHOICEBOOK 1
39035 if test "$wxUSE_CHECKBOX" = "yes"; then
39036 cat >>confdefs.h
<<\_ACEOF
39037 #define wxUSE_CHECKBOX 1
39043 if test "$wxUSE_CHECKLST" = "yes"; then
39044 cat >>confdefs.h
<<\_ACEOF
39045 #define wxUSE_CHECKLISTBOX 1
39049 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
39052 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
39053 cat >>confdefs.h
<<\_ACEOF
39054 #define wxUSE_DATEPICKCTRL 1
39060 if test "$wxUSE_DISPLAY" = "yes"; then
39061 cat >>confdefs.h
<<\_ACEOF
39062 #define wxUSE_DISPLAY 1
39065 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
39068 if test "$wxUSE_GAUGE" = "yes"; then
39069 cat >>confdefs.h
<<\_ACEOF
39070 #define wxUSE_GAUGE 1
39076 if test "$wxUSE_GRID" = "yes"; then
39077 cat >>confdefs.h
<<\_ACEOF
39078 #define wxUSE_GRID 1
39082 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
39085 if test "$wxUSE_IMAGLIST" = "yes"; then
39086 cat >>confdefs.h
<<\_ACEOF
39087 #define wxUSE_IMAGLIST 1
39092 if test "$wxUSE_LISTBOOK" = "yes"; then
39093 cat >>confdefs.h
<<\_ACEOF
39094 #define wxUSE_LISTBOOK 1
39100 if test "$wxUSE_LISTBOX" = "yes"; then
39101 cat >>confdefs.h
<<\_ACEOF
39102 #define wxUSE_LISTBOX 1
39106 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
39109 if test "$wxUSE_LISTCTRL" = "yes"; then
39110 if test "$wxUSE_IMAGLIST" = "yes"; then
39111 cat >>confdefs.h
<<\_ACEOF
39112 #define wxUSE_LISTCTRL 1
39116 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
39118 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
39119 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
39123 if test "$wxUSE_NOTEBOOK" = "yes"; then
39124 cat >>confdefs.h
<<\_ACEOF
39125 #define wxUSE_NOTEBOOK 1
39129 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
39133 if test "$wxUSE_RADIOBOX" = "yes"; then
39134 cat >>confdefs.h
<<\_ACEOF
39135 #define wxUSE_RADIOBOX 1
39141 if test "$wxUSE_RADIOBTN" = "yes"; then
39142 cat >>confdefs.h
<<\_ACEOF
39143 #define wxUSE_RADIOBTN 1
39149 if test "$wxUSE_SASH" = "yes"; then
39150 cat >>confdefs.h
<<\_ACEOF
39151 #define wxUSE_SASH 1
39154 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
39157 if test "$wxUSE_SCROLLBAR" = "yes"; then
39158 cat >>confdefs.h
<<\_ACEOF
39159 #define wxUSE_SCROLLBAR 1
39163 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
39166 if test "$wxUSE_SLIDER" = "yes"; then
39167 cat >>confdefs.h
<<\_ACEOF
39168 #define wxUSE_SLIDER 1
39174 if test "$wxUSE_SPINBTN" = "yes"; then
39175 cat >>confdefs.h
<<\_ACEOF
39176 #define wxUSE_SPINBTN 1
39182 if test "$wxUSE_SPINCTRL" = "yes"; then
39183 cat >>confdefs.h
<<\_ACEOF
39184 #define wxUSE_SPINCTRL 1
39190 if test "$wxUSE_SPLITTER" = "yes"; then
39191 cat >>confdefs.h
<<\_ACEOF
39192 #define wxUSE_SPLITTER 1
39195 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
39198 if test "$wxUSE_STATBMP" = "yes"; then
39199 cat >>confdefs.h
<<\_ACEOF
39200 #define wxUSE_STATBMP 1
39206 if test "$wxUSE_STATBOX" = "yes"; then
39207 cat >>confdefs.h
<<\_ACEOF
39208 #define wxUSE_STATBOX 1
39214 if test "$wxUSE_STATTEXT" = "yes"; then
39215 cat >>confdefs.h
<<\_ACEOF
39216 #define wxUSE_STATTEXT 1
39222 if test "$wxUSE_STATLINE" = "yes"; then
39223 cat >>confdefs.h
<<\_ACEOF
39224 #define wxUSE_STATLINE 1
39230 if test "$wxUSE_STATUSBAR" = "yes"; then
39231 cat >>confdefs.h
<<\_ACEOF
39232 #define wxUSE_NATIVE_STATUSBAR 1
39235 cat >>confdefs.h
<<\_ACEOF
39236 #define wxUSE_STATUSBAR 1
39241 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
39244 if test "$wxUSE_TABDIALOG" = "yes"; then
39245 cat >>confdefs.h
<<\_ACEOF
39246 #define wxUSE_TAB_DIALOG 1
39251 if test "$wxUSE_TEXTCTRL" = "yes"; then
39252 cat >>confdefs.h
<<\_ACEOF
39253 #define wxUSE_TEXTCTRL 1
39257 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
39260 if test "$wxUSE_TOGGLEBTN" = "yes"; then
39261 if test "$wxUSE_COCOA" = 1 ; then
39262 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
39263 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
39266 if test "$wxUSE_UNIVERSAL" = "yes"; then
39267 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
39268 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
39272 if test "$wxUSE_TOGGLEBTN" = "yes"; then
39273 cat >>confdefs.h
<<\_ACEOF
39274 #define wxUSE_TOGGLEBTN 1
39281 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
39282 cat >>confdefs.h
<<\_ACEOF
39283 #define wxUSE_TOOLBAR_SIMPLE 1
39286 wxUSE_TOOLBAR
="yes"
39290 if test "$wxUSE_TOOLBAR" = "yes"; then
39291 cat >>confdefs.h
<<\_ACEOF
39292 #define wxUSE_TOOLBAR 1
39297 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
39298 wxUSE_TOOLBAR_NATIVE
="yes"
39301 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
39302 cat >>confdefs.h
<<\_ACEOF
39303 #define wxUSE_TOOLBAR_NATIVE 1
39309 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
39312 if test "$wxUSE_TOOLTIPS" = "yes"; then
39313 if test "$wxUSE_MOTIF" = 1; then
39314 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
39315 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
39317 if test "$wxUSE_UNIVERSAL" = "yes"; then
39318 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
39319 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
39321 cat >>confdefs.h
<<\_ACEOF
39322 #define wxUSE_TOOLTIPS 1
39329 if test "$wxUSE_TREECTRL" = "yes"; then
39330 if test "$wxUSE_IMAGLIST" = "yes"; then
39331 cat >>confdefs.h
<<\_ACEOF
39332 #define wxUSE_TREECTRL 1
39336 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
39338 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
39339 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
39343 if test "$wxUSE_POPUPWIN" = "yes"; then
39344 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
39345 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
39346 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
39348 if test "$wxUSE_PM" = 1; then
39349 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
39350 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
39352 cat >>confdefs.h
<<\_ACEOF
39353 #define wxUSE_POPUPWIN 1
39356 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
39363 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
39364 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
39365 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
39366 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
39368 cat >>confdefs.h
<<\_ACEOF
39369 #define wxUSE_DIALUP_MANAGER 1
39372 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
39376 if test "$wxUSE_TIPWINDOW" = "yes"; then
39377 if test "$wxUSE_PM" = 1; then
39378 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
39379 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
39381 cat >>confdefs.h
<<\_ACEOF
39382 #define wxUSE_TIPWINDOW 1
39388 if test "$USES_CONTROLS" = 1; then
39389 cat >>confdefs.h
<<\_ACEOF
39390 #define wxUSE_CONTROLS 1
39396 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
39397 cat >>confdefs.h
<<\_ACEOF
39398 #define wxUSE_ACCESSIBILITY 1
39401 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
39404 if test "$wxUSE_DRAGIMAGE" = "yes"; then
39405 cat >>confdefs.h
<<\_ACEOF
39406 #define wxUSE_DRAGIMAGE 1
39409 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
39412 if test "$wxUSE_EXCEPTIONS" = "yes"; then
39413 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
39414 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
39415 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
39417 cat >>confdefs.h
<<\_ACEOF
39418 #define wxUSE_EXCEPTIONS 1
39421 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
39426 if test "$wxUSE_HTML" = "yes"; then
39427 cat >>confdefs.h
<<\_ACEOF
39428 #define wxUSE_HTML 1
39432 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
39433 if test "$wxUSE_MAC" = 1; then
39434 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
39437 if test "$wxUSE_WEBKIT" = "yes"; then
39438 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
39439 old_CPPFLAGS
="$CPPFLAGS"
39440 CPPFLAGS
="$CPPFLAGS -x objective-c++"
39441 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
39442 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
39443 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
39444 echo $ECHO_N "(cached) $ECHO_C" >&6
39446 cat >conftest.
$ac_ext <<_ACEOF
39449 cat confdefs.h
>>conftest.
$ac_ext
39450 cat >>conftest.
$ac_ext <<_ACEOF
39451 /* end confdefs.h. */
39452 #include <Carbon/Carbon.h>
39454 #include <WebKit/HIWebView.h>
39456 rm -f conftest.
$ac_objext
39457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39458 (eval $ac_compile) 2>conftest.er1
39460 grep -v '^ *+' conftest.er1
>conftest.err
39462 cat conftest.err
>&5
39463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39464 (exit $ac_status); } &&
39465 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39467 (eval $ac_try) 2>&5
39469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39470 (exit $ac_status); }; } &&
39471 { ac_try
='test -s conftest.$ac_objext'
39472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39473 (eval $ac_try) 2>&5
39475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39476 (exit $ac_status); }; }; then
39477 ac_cv_header_WebKit_HIWebView_h
=yes
39479 echo "$as_me: failed program was:" >&5
39480 sed 's/^/| /' conftest.
$ac_ext >&5
39482 ac_cv_header_WebKit_HIWebView_h
=no
39484 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39486 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
39487 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
39488 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
39490 cat >>confdefs.h
<<\_ACEOF
39491 #define wxUSE_WEBKIT 1
39494 WEBKIT_LINK
="-framework WebKit"
39498 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
39499 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
39505 CPPFLAGS
="$old_CPPFLAGS"
39506 elif test "$wxUSE_COCOA" = 1; then
39507 cat >>confdefs.h
<<\_ACEOF
39508 #define wxUSE_WEBKIT 1
39517 if test "$wxUSE_XRC" = "yes"; then
39518 if test "$wxUSE_XML" != "yes"; then
39519 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
39520 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
39523 cat >>confdefs.h
<<\_ACEOF
39524 #define wxUSE_XRC 1
39528 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
39532 if test "$wxUSE_MENUS" = "yes"; then
39533 cat >>confdefs.h
<<\_ACEOF
39534 #define wxUSE_MENUS 1
39537 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
39540 if test "$wxUSE_METAFILE" = "yes"; then
39541 cat >>confdefs.h
<<\_ACEOF
39542 #define wxUSE_METAFILE 1
39547 if test "$wxUSE_MIMETYPE" = "yes"; then
39548 cat >>confdefs.h
<<\_ACEOF
39549 #define wxUSE_MIMETYPE 1
39554 if test "$wxUSE_MINIFRAME" = "yes"; then
39555 cat >>confdefs.h
<<\_ACEOF
39556 #define wxUSE_MINIFRAME 1
39559 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
39562 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
39563 cat >>confdefs.h
<<\_ACEOF
39564 #define wxUSE_SYSTEM_OPTIONS 1
39567 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
39568 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
39569 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
39574 if test "$wxUSE_VALIDATORS" = "yes"; then
39575 cat >>confdefs.h
<<\_ACEOF
39576 #define wxUSE_VALIDATORS 1
39579 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
39582 if test "$wxUSE_PALETTE" = "yes" ; then
39583 cat >>confdefs.h
<<\_ACEOF
39584 #define wxUSE_PALETTE 1
39589 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
39590 LIBS
=" -lunicows $LIBS"
39594 if test "$wxUSE_IMAGE" = "yes" ; then
39595 cat >>confdefs.h
<<\_ACEOF
39596 #define wxUSE_IMAGE 1
39600 if test "$wxUSE_GIF" = "yes" ; then
39601 cat >>confdefs.h
<<\_ACEOF
39602 #define wxUSE_GIF 1
39607 if test "$wxUSE_PCX" = "yes" ; then
39608 cat >>confdefs.h
<<\_ACEOF
39609 #define wxUSE_PCX 1
39614 if test "$wxUSE_IFF" = "yes" ; then
39615 cat >>confdefs.h
<<\_ACEOF
39616 #define wxUSE_IFF 1
39621 if test "$wxUSE_PNM" = "yes" ; then
39622 cat >>confdefs.h
<<\_ACEOF
39623 #define wxUSE_PNM 1
39628 if test "$wxUSE_XPM" = "yes" ; then
39629 cat >>confdefs.h
<<\_ACEOF
39630 #define wxUSE_XPM 1
39635 if test "$wxUSE_ICO_CUR" = "yes" ; then
39636 cat >>confdefs.h
<<\_ACEOF
39637 #define wxUSE_ICO_CUR 1
39644 if test "$wxUSE_CHOICEDLG" = "yes"; then
39645 cat >>confdefs.h
<<\_ACEOF
39646 #define wxUSE_CHOICEDLG 1
39651 if test "$wxUSE_COLOURDLG" = "yes"; then
39652 cat >>confdefs.h
<<\_ACEOF
39653 #define wxUSE_COLOURDLG 1
39658 if test "$wxUSE_FILEDLG" = "yes"; then
39659 cat >>confdefs.h
<<\_ACEOF
39660 #define wxUSE_FILEDLG 1
39665 if test "$wxUSE_FINDREPLDLG" = "yes"; then
39666 cat >>confdefs.h
<<\_ACEOF
39667 #define wxUSE_FINDREPLDLG 1
39672 if test "$wxUSE_FONTDLG" = "yes"; then
39673 cat >>confdefs.h
<<\_ACEOF
39674 #define wxUSE_FONTDLG 1
39679 if test "$wxUSE_DIRDLG" = "yes"; then
39680 if test "$wxUSE_TREECTRL" != "yes"; then
39681 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
39682 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
39684 cat >>confdefs.h
<<\_ACEOF
39685 #define wxUSE_DIRDLG 1
39691 if test "$wxUSE_MSGDLG" = "yes"; then
39692 cat >>confdefs.h
<<\_ACEOF
39693 #define wxUSE_MSGDLG 1
39698 if test "$wxUSE_NUMBERDLG" = "yes"; then
39699 cat >>confdefs.h
<<\_ACEOF
39700 #define wxUSE_NUMBERDLG 1
39705 if test "$wxUSE_PROGRESSDLG" = "yes"; then
39706 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39707 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
39708 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
39710 cat >>confdefs.h
<<\_ACEOF
39711 #define wxUSE_PROGRESSDLG 1
39717 if test "$wxUSE_SPLASH" = "yes"; then
39718 cat >>confdefs.h
<<\_ACEOF
39719 #define wxUSE_SPLASH 1
39722 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
39725 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
39726 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39727 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
39728 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
39730 cat >>confdefs.h
<<\_ACEOF
39731 #define wxUSE_STARTUP_TIPS 1
39737 if test "$wxUSE_TEXTDLG" = "yes"; then
39738 cat >>confdefs.h
<<\_ACEOF
39739 #define wxUSE_TEXTDLG 1
39744 if test "$wxUSE_WIZARDDLG" = "yes"; then
39745 cat >>confdefs.h
<<\_ACEOF
39746 #define wxUSE_WIZARDDLG 1
39749 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
39753 if test "$wxUSE_MEDIACTRL" = "yes"; then
39754 if test "$wxUSE_MSW" = 1; then
39755 wxUSE_DIRECTSHOW
="yes"
39757 for ac_header
in dshow.h
39759 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39760 echo "$as_me:$LINENO: checking for $ac_header" >&5
39761 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39762 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39763 echo $ECHO_N "(cached) $ECHO_C" >&6
39765 cat >conftest.
$ac_ext <<_ACEOF
39768 cat confdefs.h
>>conftest.
$ac_ext
39769 cat >>conftest.
$ac_ext <<_ACEOF
39770 /* end confdefs.h. */
39771 #include <windows.h>
39773 #include <$ac_header>
39775 rm -f conftest.
$ac_objext
39776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39777 (eval $ac_compile) 2>conftest.er1
39779 grep -v '^ *+' conftest.er1
>conftest.err
39781 cat conftest.err
>&5
39782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39783 (exit $ac_status); } &&
39784 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39786 (eval $ac_try) 2>&5
39788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39789 (exit $ac_status); }; } &&
39790 { ac_try
='test -s conftest.$ac_objext'
39791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39792 (eval $ac_try) 2>&5
39794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39795 (exit $ac_status); }; }; then
39796 eval "$as_ac_Header=yes"
39798 echo "$as_me: failed program was:" >&5
39799 sed 's/^/| /' conftest.
$ac_ext >&5
39801 eval "$as_ac_Header=no"
39803 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39806 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39807 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39808 cat >>confdefs.h
<<_ACEOF
39809 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39814 wxUSE_DIRECTSHOW
="no"
39815 { echo "$as_me:$LINENO: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&5
39816 echo "$as_me: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&2;}
39823 if test "$wxUSE_DIRECTSHOW" = "yes"; then
39824 cat >>confdefs.h
<<\_ACEOF
39825 #define wxUSE_DIRECTSHOW 1
39828 LIBS
="$LIBS -lstrmiids"
39832 if test "$wxUSE_GTK" = 1; then
39833 wxUSE_GSTREAMER
="yes"
39838 if test -z "$PKG_CONFIG"; then
39839 # Extract the first word of "pkg-config", so it can be a program name with args.
39840 set dummy pkg
-config; ac_word
=$2
39841 echo "$as_me:$LINENO: checking for $ac_word" >&5
39842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39843 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
39844 echo $ECHO_N "(cached) $ECHO_C" >&6
39846 case $PKG_CONFIG in
39848 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
39851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39852 for as_dir
in $PATH
39855 test -z "$as_dir" && as_dir
=.
39856 for ac_exec_ext
in '' $ac_executable_extensions; do
39857 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39858 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
39859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39865 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
39869 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
39871 if test -n "$PKG_CONFIG"; then
39872 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
39873 echo "${ECHO_T}$PKG_CONFIG" >&6
39875 echo "$as_me:$LINENO: result: no" >&5
39876 echo "${ECHO_T}no" >&6
39881 if test "$PKG_CONFIG" = "no" ; then
39882 echo "*** The pkg-config script could not be found. Make sure it is"
39883 echo "*** in your path, or set the PKG_CONFIG environment variable"
39884 echo "*** to the full path to pkg-config."
39885 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
39887 PKG_CONFIG_MIN_VERSION
=0.9.0
39888 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
39889 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
39890 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
39892 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
39893 echo "$as_me:$LINENO: result: yes" >&5
39894 echo "${ECHO_T}yes" >&6
39897 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
39898 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
39899 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-0.8"`
39900 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
39901 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
39903 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
39904 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
39905 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-0.8"`
39906 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
39907 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
39909 GSTREAMER_CFLAGS
=""
39911 ## If we have a custom action on failure, don't print errors, but
39912 ## do set a variable so people can do so.
39913 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
39920 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
39921 echo "*** See http://www.freedesktop.org/software/pkgconfig"
39925 if test $succeeded = yes; then
39927 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
39928 LIBS
="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
39932 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
39933 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
39934 wxUSE_GSTREAMER
="no"
39942 if test "x$GST_INSPECT" == "x"; then
39943 # Extract the first word of "gst-inspect", so it can be a program name with args.
39944 set dummy gst
-inspect; ac_word
=$2
39945 echo "$as_me:$LINENO: checking for $ac_word" >&5
39946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39947 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
39948 echo $ECHO_N "(cached) $ECHO_C" >&6
39950 if test -n "$GST_INSPECT"; then
39951 ac_cv_prog_GST_INSPECT
="$GST_INSPECT" # Let the user override the test.
39953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39954 for as_dir
in $PATH
39957 test -z "$as_dir" && as_dir
=.
39958 for ac_exec_ext
in '' $ac_executable_extensions; do
39959 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39960 ac_cv_prog_GST_INSPECT
="gst-inspect"
39961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39969 GST_INSPECT
=$ac_cv_prog_GST_INSPECT
39970 if test -n "$GST_INSPECT"; then
39971 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
39972 echo "${ECHO_T}$GST_INSPECT" >&6
39974 echo "$as_me:$LINENO: result: no" >&5
39975 echo "${ECHO_T}no" >&6
39980 if test "x$GST_INSPECT" != "x"; then
39981 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
39982 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
39983 if $GST_INSPECT xvimagesink
> /dev
/null
2> /dev
/null
; then
39984 echo "$as_me:$LINENO: result: found." >&5
39985 echo "${ECHO_T}found." >&6
39988 echo "$as_me:$LINENO: result: not found." >&5
39989 echo "${ECHO_T}not found." >&6
39991 wxUSE_GSTREAMER
="no"
39992 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
39993 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
39999 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
40000 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
40001 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
40002 echo $ECHO_N "(cached) $ECHO_C" >&6
40004 cat >conftest.
$ac_ext <<_ACEOF
40007 cat confdefs.h
>>conftest.
$ac_ext
40008 cat >>conftest.
$ac_ext <<_ACEOF
40009 /* end confdefs.h. */
40010 #include <gst/gst.h>
40012 #include <gst/xoverlay/xoverlay.h>
40014 rm -f conftest.
$ac_objext
40015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40016 (eval $ac_compile) 2>conftest.er1
40018 grep -v '^ *+' conftest.er1
>conftest.err
40020 cat conftest.err
>&5
40021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40022 (exit $ac_status); } &&
40023 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40025 (eval $ac_try) 2>&5
40027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40028 (exit $ac_status); }; } &&
40029 { ac_try
='test -s conftest.$ac_objext'
40030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40031 (eval $ac_try) 2>&5
40033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40034 (exit $ac_status); }; }; then
40035 ac_cv_header_gst_xoverlay_xoverlay_h
=yes
40037 echo "$as_me: failed program was:" >&5
40038 sed 's/^/| /' conftest.
$ac_ext >&5
40040 ac_cv_header_gst_xoverlay_xoverlay_h
=no
40042 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40044 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
40045 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
40046 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
40050 wxUSE_GSTREAMER
="no"
40051 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
40052 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
40058 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
40059 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
40062 for ac_dir
in $SEARCH_LIB /usr
/lib
;
40064 for ac_extension
in a so sl dylib
; do
40065 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
40066 ac_find_libraries
=$ac_dir
40073 if test "$ac_find_libraries" = "" ; then
40074 echo "$as_me:$LINENO: result: no" >&5
40075 echo "${ECHO_T}no" >&6
40076 wxUSE_GSTREAMER
="no"
40078 echo "$as_me:$LINENO: result: yes" >&5
40079 echo "${ECHO_T}yes" >&6
40082 if test "$wxUSE_GSTREAMER" = "yes"; then
40083 cat >>confdefs.h
<<\_ACEOF
40084 #define wxUSE_GSTREAMER 1
40087 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
40088 echo "${ECHO_T}GStreamer detection successful" >&6
40091 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
40092 cat >>confdefs.h
<<\_ACEOF
40093 #define wxUSE_MEDIACTRL 1
40099 if test "$cross_compiling" = "yes"; then
40102 OSINFO
=`uname -s -r -m`
40103 OSINFO
="\"$OSINFO\""
40106 cat >>confdefs.h
<<_ACEOF
40107 #define WXWIN_OS_DESCRIPTION $OSINFO
40112 if test "x$prefix" != "xNONE"; then
40115 wxPREFIX
=$ac_default_prefix
40118 cat >>confdefs.h
<<_ACEOF
40119 #define wxINSTALL_PREFIX "$wxPREFIX"
40125 CORE_BASE_LIBS
="net base"
40126 CORE_GUI_LIBS
="adv core"
40128 if test "$wxUSE_XML" = "yes" ; then
40129 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
40131 if test "$wxUSE_ODBC" != "no" ; then
40132 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
40133 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
40135 if test "$wxUSE_HTML" = "yes" ; then
40136 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
40138 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
40139 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
40141 if test "$wxUSE_XRC" = "yes" ; then
40142 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
40145 if test "$wxUSE_GUI" != "yes"; then
40156 if test "$wxUSE_MAC" = 1 ; then
40157 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
40158 if test "$USE_DARWIN" = 1; then
40159 LDFLAGS
="$LDFLAGS -framework QuickTime"
40161 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
40164 if test "$USE_DARWIN" = 1; then
40165 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
40167 LDFLAGS
="$LDFLAGS -lCarbonLib"
40169 elif test "$USE_DARWIN" = 1; then
40170 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System"
40172 if test "$wxUSE_COCOA" = 1 ; then
40173 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
40174 if test "$wxUSE_MEDIACTRL" = "yes"; then
40175 LDFLAGS
="$LDFLAGS -framework QuickTime"
40180 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
40187 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40188 echo "$as_me:$LINENO: checking for $ac_func" >&5
40189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40190 if eval "test \"\${$as_ac_var+set}\" = set"; then
40191 echo $ECHO_N "(cached) $ECHO_C" >&6
40193 cat >conftest.
$ac_ext <<_ACEOF
40196 cat confdefs.h
>>conftest.
$ac_ext
40197 cat >>conftest.
$ac_ext <<_ACEOF
40198 /* end confdefs.h. */
40199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40201 #define $ac_func innocuous_$ac_func
40203 /* System header to define __stub macros and hopefully few prototypes,
40204 which can conflict with char $ac_func (); below.
40205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40206 <limits.h> exists even on freestanding compilers. */
40209 # include <limits.h>
40211 # include <assert.h>
40216 /* Override any gcc2 internal prototype to avoid an error. */
40221 /* We use char because int might match the return type of a gcc2
40222 builtin and then its argument prototype would still apply. */
40224 /* The GNU C library defines this for functions which it implements
40225 to always fail with ENOSYS. Some functions are actually named
40226 something starting with __ and the normal name is an alias. */
40227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40230 char (*f) () = $ac_func;
40239 return f != $ac_func;
40244 rm -f conftest.
$ac_objext conftest
$ac_exeext
40245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40246 (eval $ac_link) 2>conftest.er1
40248 grep -v '^ *+' conftest.er1
>conftest.err
40250 cat conftest.err
>&5
40251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40252 (exit $ac_status); } &&
40253 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40255 (eval $ac_try) 2>&5
40257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40258 (exit $ac_status); }; } &&
40259 { ac_try
='test -s conftest$ac_exeext'
40260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40261 (eval $ac_try) 2>&5
40263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40264 (exit $ac_status); }; }; then
40265 eval "$as_ac_var=yes"
40267 echo "$as_me: failed program was:" >&5
40268 sed 's/^/| /' conftest.
$ac_ext >&5
40270 eval "$as_ac_var=no"
40272 rm -f conftest.err conftest.
$ac_objext \
40273 conftest
$ac_exeext conftest.
$ac_ext
40275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40277 if test `eval echo '${'$as_ac_var'}'` = yes; then
40278 cat >>confdefs.h
<<_ACEOF
40279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40286 for ac_func
in floor
40288 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40289 echo "$as_me:$LINENO: checking for $ac_func" >&5
40290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40291 if eval "test \"\${$as_ac_var+set}\" = set"; then
40292 echo $ECHO_N "(cached) $ECHO_C" >&6
40294 cat >conftest.
$ac_ext <<_ACEOF
40297 cat confdefs.h
>>conftest.
$ac_ext
40298 cat >>conftest.
$ac_ext <<_ACEOF
40299 /* end confdefs.h. */
40300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40302 #define $ac_func innocuous_$ac_func
40304 /* System header to define __stub macros and hopefully few prototypes,
40305 which can conflict with char $ac_func (); below.
40306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40307 <limits.h> exists even on freestanding compilers. */
40310 # include <limits.h>
40312 # include <assert.h>
40317 /* Override any gcc2 internal prototype to avoid an error. */
40322 /* We use char because int might match the return type of a gcc2
40323 builtin and then its argument prototype would still apply. */
40325 /* The GNU C library defines this for functions which it implements
40326 to always fail with ENOSYS. Some functions are actually named
40327 something starting with __ and the normal name is an alias. */
40328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40331 char (*f) () = $ac_func;
40340 return f != $ac_func;
40345 rm -f conftest.
$ac_objext conftest
$ac_exeext
40346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40347 (eval $ac_link) 2>conftest.er1
40349 grep -v '^ *+' conftest.er1
>conftest.err
40351 cat conftest.err
>&5
40352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40353 (exit $ac_status); } &&
40354 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40356 (eval $ac_try) 2>&5
40358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40359 (exit $ac_status); }; } &&
40360 { ac_try
='test -s conftest$ac_exeext'
40361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40362 (eval $ac_try) 2>&5
40364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40365 (exit $ac_status); }; }; then
40366 eval "$as_ac_var=yes"
40368 echo "$as_me: failed program was:" >&5
40369 sed 's/^/| /' conftest.
$ac_ext >&5
40371 eval "$as_ac_var=no"
40373 rm -f conftest.err conftest.
$ac_objext \
40374 conftest
$ac_exeext conftest.
$ac_ext
40376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40377 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40378 if test `eval echo '${'$as_ac_var'}'` = yes; then
40379 cat >>confdefs.h
<<_ACEOF
40380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40386 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
40387 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
40388 if test "$have_cos" = 1 -a "$have_floor" = 1; then
40389 echo "$as_me:$LINENO: result: yes" >&5
40390 echo "${ECHO_T}yes" >&6
40392 echo "$as_me:$LINENO: result: no" >&5
40393 echo "${ECHO_T}no" >&6
40395 # use different functions to avoid configure caching
40401 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40402 echo "$as_me:$LINENO: checking for $ac_func" >&5
40403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40404 if eval "test \"\${$as_ac_var+set}\" = set"; then
40405 echo $ECHO_N "(cached) $ECHO_C" >&6
40407 cat >conftest.
$ac_ext <<_ACEOF
40410 cat confdefs.h
>>conftest.
$ac_ext
40411 cat >>conftest.
$ac_ext <<_ACEOF
40412 /* end confdefs.h. */
40413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40415 #define $ac_func innocuous_$ac_func
40417 /* System header to define __stub macros and hopefully few prototypes,
40418 which can conflict with char $ac_func (); below.
40419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40420 <limits.h> exists even on freestanding compilers. */
40423 # include <limits.h>
40425 # include <assert.h>
40430 /* Override any gcc2 internal prototype to avoid an error. */
40435 /* We use char because int might match the return type of a gcc2
40436 builtin and then its argument prototype would still apply. */
40438 /* The GNU C library defines this for functions which it implements
40439 to always fail with ENOSYS. Some functions are actually named
40440 something starting with __ and the normal name is an alias. */
40441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40444 char (*f) () = $ac_func;
40453 return f != $ac_func;
40458 rm -f conftest.
$ac_objext conftest
$ac_exeext
40459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40460 (eval $ac_link) 2>conftest.er1
40462 grep -v '^ *+' conftest.er1
>conftest.err
40464 cat conftest.err
>&5
40465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40466 (exit $ac_status); } &&
40467 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40469 (eval $ac_try) 2>&5
40471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40472 (exit $ac_status); }; } &&
40473 { ac_try
='test -s conftest$ac_exeext'
40474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40475 (eval $ac_try) 2>&5
40477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40478 (exit $ac_status); }; }; then
40479 eval "$as_ac_var=yes"
40481 echo "$as_me: failed program was:" >&5
40482 sed 's/^/| /' conftest.
$ac_ext >&5
40484 eval "$as_ac_var=no"
40486 rm -f conftest.err conftest.
$ac_objext \
40487 conftest
$ac_exeext conftest.
$ac_ext
40489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40491 if test `eval echo '${'$as_ac_var'}'` = yes; then
40492 cat >>confdefs.h
<<_ACEOF
40493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40500 for ac_func
in ceil
40502 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40503 echo "$as_me:$LINENO: checking for $ac_func" >&5
40504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40505 if eval "test \"\${$as_ac_var+set}\" = set"; then
40506 echo $ECHO_N "(cached) $ECHO_C" >&6
40508 cat >conftest.
$ac_ext <<_ACEOF
40511 cat confdefs.h
>>conftest.
$ac_ext
40512 cat >>conftest.
$ac_ext <<_ACEOF
40513 /* end confdefs.h. */
40514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40516 #define $ac_func innocuous_$ac_func
40518 /* System header to define __stub macros and hopefully few prototypes,
40519 which can conflict with char $ac_func (); below.
40520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40521 <limits.h> exists even on freestanding compilers. */
40524 # include <limits.h>
40526 # include <assert.h>
40531 /* Override any gcc2 internal prototype to avoid an error. */
40536 /* We use char because int might match the return type of a gcc2
40537 builtin and then its argument prototype would still apply. */
40539 /* The GNU C library defines this for functions which it implements
40540 to always fail with ENOSYS. Some functions are actually named
40541 something starting with __ and the normal name is an alias. */
40542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40545 char (*f) () = $ac_func;
40554 return f != $ac_func;
40559 rm -f conftest.
$ac_objext conftest
$ac_exeext
40560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40561 (eval $ac_link) 2>conftest.er1
40563 grep -v '^ *+' conftest.er1
>conftest.err
40565 cat conftest.err
>&5
40566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40567 (exit $ac_status); } &&
40568 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40570 (eval $ac_try) 2>&5
40572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40573 (exit $ac_status); }; } &&
40574 { ac_try
='test -s conftest$ac_exeext'
40575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40576 (eval $ac_try) 2>&5
40578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40579 (exit $ac_status); }; }; then
40580 eval "$as_ac_var=yes"
40582 echo "$as_me: failed program was:" >&5
40583 sed 's/^/| /' conftest.
$ac_ext >&5
40585 eval "$as_ac_var=no"
40587 rm -f conftest.err conftest.
$ac_objext \
40588 conftest
$ac_exeext conftest.
$ac_ext
40590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40592 if test `eval echo '${'$as_ac_var'}'` = yes; then
40593 cat >>confdefs.h
<<_ACEOF
40594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40600 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
40601 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
40602 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
40603 echo "$as_me:$LINENO: result: yes" >&5
40604 echo "${ECHO_T}yes" >&6
40606 echo "$as_me:$LINENO: result: no" >&5
40607 echo "${ECHO_T}no" >&6
40608 # not sure we should warn the user, crash, etc.
40612 if test "$wxUSE_GUI" = "yes"; then
40615 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
40616 dynamic erase event exec font image minimal mobile \
40617 mobile/wxedit mobile/styles propsize render \
40618 richedit rotate shaped vscroll widgets"
40620 if test "$wxUSE_MONOLITHIC" != "yes"; then
40621 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
40623 if test "$TOOLKIT" = "MSW"; then
40624 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
40625 if test "$wxUSE_UNIVERSAL" != "yes"; then
40626 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
40629 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
40630 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
40633 SAMPLES_SUBDIRS
="console"
40637 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
40638 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
40640 if test "$GXX" = yes ; then
40642 CXXWARNINGS
="$CWARNINGS -Wno-ctor-dtor-privacy"
40645 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
40647 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
40648 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
40649 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
40651 if test "x$MWCC" = "xyes"; then
40653 CC
="$CC -cwd source -I-"
40654 CXX
="$CXX -cwd source -I-"
40659 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
40660 EXTRALIBS_XML
="$EXPAT_LINK"
40661 EXTRALIBS_HTML
="$MSPACK_LINK"
40662 EXTRALIBS_ODBC
="$ODBC_LINK"
40663 if test "$wxUSE_GUI" = "yes"; then
40664 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
40666 if test "$wxUSE_OPENGL" = "yes"; then
40667 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
40670 LDFLAGS
="$LDFLAGS $PROFILE"
40672 if test "$wxUSE_GTK" = 1; then
40675 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
40678 WXCONFIG_EXTRALIBS
="$LIBS"
40680 if test "$wxUSE_REGEX" = "builtin" ; then
40681 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
40683 if test "$wxUSE_EXPAT" = "builtin" ; then
40684 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
40686 if test "$wxUSE_ODBC" = "builtin" ; then
40687 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
40689 if test "$wxUSE_LIBTIFF" = "builtin" ; then
40690 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
40692 if test "$wxUSE_LIBJPEG" = "builtin" ; then
40693 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
40695 if test "$wxUSE_LIBPNG" = "builtin" ; then
40696 wxconfig_3rdparty
="png $wxconfig_3rdparty"
40698 if test "$wxUSE_ZLIB" = "builtin" ; then
40699 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
40702 for i
in $wxconfig_3rdparty ; do
40703 WXCONFIG_EXTRALIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_EXTRALIBS"
40707 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
40721 if test $wxUSE_MONOLITHIC = "yes" ; then
40727 if test $wxUSE_PLUGINS = "yes" ; then
40733 if test $wxUSE_ODBC != "no" ; then
40739 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
40745 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
40773 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
40784 TOOLKIT_USER
="GTK+"
40785 if test "$WXGTK20" = 1; then
40786 TOOLKIT_USER
="$TOOLKIT_USER 2"
40791 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
40798 if test "x$BAKEFILE_HOST" = "x"; then
40799 BAKEFILE_HOST
="${host}"
40802 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
40804 if test -n "$ac_tool_prefix"; then
40805 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
40806 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
40807 echo "$as_me:$LINENO: checking for $ac_word" >&5
40808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40809 if test "${ac_cv_prog_RANLIB+set}" = set; then
40810 echo $ECHO_N "(cached) $ECHO_C" >&6
40812 if test -n "$RANLIB"; then
40813 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
40815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40816 for as_dir
in $PATH
40819 test -z "$as_dir" && as_dir
=.
40820 for ac_exec_ext
in '' $ac_executable_extensions; do
40821 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40822 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
40823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40831 RANLIB
=$ac_cv_prog_RANLIB
40832 if test -n "$RANLIB"; then
40833 echo "$as_me:$LINENO: result: $RANLIB" >&5
40834 echo "${ECHO_T}$RANLIB" >&6
40836 echo "$as_me:$LINENO: result: no" >&5
40837 echo "${ECHO_T}no" >&6
40841 if test -z "$ac_cv_prog_RANLIB"; then
40842 ac_ct_RANLIB
=$RANLIB
40843 # Extract the first word of "ranlib", so it can be a program name with args.
40844 set dummy ranlib
; ac_word
=$2
40845 echo "$as_me:$LINENO: checking for $ac_word" >&5
40846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40847 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
40848 echo $ECHO_N "(cached) $ECHO_C" >&6
40850 if test -n "$ac_ct_RANLIB"; then
40851 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
40853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40854 for as_dir
in $PATH
40857 test -z "$as_dir" && as_dir
=.
40858 for ac_exec_ext
in '' $ac_executable_extensions; do
40859 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40860 ac_cv_prog_ac_ct_RANLIB
="ranlib"
40861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40867 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
40870 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
40871 if test -n "$ac_ct_RANLIB"; then
40872 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
40873 echo "${ECHO_T}$ac_ct_RANLIB" >&6
40875 echo "$as_me:$LINENO: result: no" >&5
40876 echo "${ECHO_T}no" >&6
40879 RANLIB
=$ac_ct_RANLIB
40881 RANLIB
="$ac_cv_prog_RANLIB"
40884 # Find a good install program. We prefer a C program (faster),
40885 # so one script is as good as another. But avoid the broken or
40886 # incompatible versions:
40887 # SysV /etc/install, /usr/sbin/install
40888 # SunOS /usr/etc/install
40889 # IRIX /sbin/install
40891 # AmigaOS /C/install, which installs bootblocks on floppy discs
40892 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
40893 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
40894 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
40895 # OS/2's system install, which has a completely different semantic
40896 # ./install, which can be erroneously created by make from ./install.sh.
40897 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
40898 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
40899 if test -z "$INSTALL"; then
40900 if test "${ac_cv_path_install+set}" = set; then
40901 echo $ECHO_N "(cached) $ECHO_C" >&6
40903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40904 for as_dir
in $PATH
40907 test -z "$as_dir" && as_dir
=.
40908 # Account for people who put trailing slashes in PATH elements.
40910 .
/ | .
// | /cC
/* | \
40911 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
40912 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
40915 # OSF1 and SCO ODT 3.0 have their own names for install.
40916 # Don't use installbsd from OSF since it installs stuff as root
40918 for ac_prog
in ginstall scoinst
install; do
40919 for ac_exec_ext
in '' $ac_executable_extensions; do
40920 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
40921 if test $ac_prog = install &&
40922 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
40923 # AIX install. It has an incompatible calling convention.
40925 elif test $ac_prog = install &&
40926 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
40927 # program-specific install script used by HP pwplus--don't use.
40930 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
40942 if test "${ac_cv_path_install+set}" = set; then
40943 INSTALL
=$ac_cv_path_install
40945 # As a last resort, use the slow shell script. We don't cache a
40946 # path for INSTALL within a source directory, because that will
40947 # break other packages using the cache if that directory is
40948 # removed, or if the path is relative.
40949 INSTALL
=$ac_install_sh
40952 echo "$as_me:$LINENO: result: $INSTALL" >&5
40953 echo "${ECHO_T}$INSTALL" >&6
40955 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
40956 # It thinks the first close brace ends the variable substitution.
40957 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
40959 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
40961 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
40963 echo "$as_me:$LINENO: checking whether ln -s works" >&5
40964 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
40966 if test "$LN_S" = "ln -s"; then
40967 echo "$as_me:$LINENO: result: yes" >&5
40968 echo "${ECHO_T}yes" >&6
40970 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
40971 echo "${ECHO_T}no, using $LN_S" >&6
40975 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
40976 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
40977 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
40978 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
40979 echo $ECHO_N "(cached) $ECHO_C" >&6
40981 cat >conftest.
make <<\_ACEOF
40983 @
echo 'ac_maketemp="$(MAKE)"'
40985 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
40986 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
40987 if test -n "$ac_maketemp"; then
40988 eval ac_cv_prog_make_
${ac_make}_set
=yes
40990 eval ac_cv_prog_make_
${ac_make}_set
=no
40992 rm -f conftest.
make
40994 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
40995 echo "$as_me:$LINENO: result: yes" >&5
40996 echo "${ECHO_T}yes" >&6
40999 echo "$as_me:$LINENO: result: no" >&5
41000 echo "${ECHO_T}no" >&6
41001 SET_MAKE
="MAKE=${MAKE-make}"
41006 if test -n "$ac_tool_prefix"; then
41007 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
41008 set dummy
${ac_tool_prefix}ar; ac_word
=$2
41009 echo "$as_me:$LINENO: checking for $ac_word" >&5
41010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41011 if test "${ac_cv_prog_AR+set}" = set; then
41012 echo $ECHO_N "(cached) $ECHO_C" >&6
41014 if test -n "$AR"; then
41015 ac_cv_prog_AR
="$AR" # Let the user override the test.
41017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41018 for as_dir
in $PATH
41021 test -z "$as_dir" && as_dir
=.
41022 for ac_exec_ext
in '' $ac_executable_extensions; do
41023 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41024 ac_cv_prog_AR
="${ac_tool_prefix}ar"
41025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41034 if test -n "$AR"; then
41035 echo "$as_me:$LINENO: result: $AR" >&5
41036 echo "${ECHO_T}$AR" >&6
41038 echo "$as_me:$LINENO: result: no" >&5
41039 echo "${ECHO_T}no" >&6
41043 if test -z "$ac_cv_prog_AR"; then
41045 # Extract the first word of "ar", so it can be a program name with args.
41046 set dummy
ar; ac_word
=$2
41047 echo "$as_me:$LINENO: checking for $ac_word" >&5
41048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41049 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
41050 echo $ECHO_N "(cached) $ECHO_C" >&6
41052 if test -n "$ac_ct_AR"; then
41053 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
41055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41056 for as_dir
in $PATH
41059 test -z "$as_dir" && as_dir
=.
41060 for ac_exec_ext
in '' $ac_executable_extensions; do
41061 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41062 ac_cv_prog_ac_ct_AR
="ar"
41063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41069 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
41072 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
41073 if test -n "$ac_ct_AR"; then
41074 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
41075 echo "${ECHO_T}$ac_ct_AR" >&6
41077 echo "$as_me:$LINENO: result: no" >&5
41078 echo "${ECHO_T}no" >&6
41083 AR
="$ac_cv_prog_AR"
41086 if test -n "$ac_tool_prefix"; then
41087 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
41088 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
41089 echo "$as_me:$LINENO: checking for $ac_word" >&5
41090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41091 if test "${ac_cv_prog_STRIP+set}" = set; then
41092 echo $ECHO_N "(cached) $ECHO_C" >&6
41094 if test -n "$STRIP"; then
41095 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
41097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41098 for as_dir
in $PATH
41101 test -z "$as_dir" && as_dir
=.
41102 for ac_exec_ext
in '' $ac_executable_extensions; do
41103 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41104 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
41105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41113 STRIP
=$ac_cv_prog_STRIP
41114 if test -n "$STRIP"; then
41115 echo "$as_me:$LINENO: result: $STRIP" >&5
41116 echo "${ECHO_T}$STRIP" >&6
41118 echo "$as_me:$LINENO: result: no" >&5
41119 echo "${ECHO_T}no" >&6
41123 if test -z "$ac_cv_prog_STRIP"; then
41125 # Extract the first word of "strip", so it can be a program name with args.
41126 set dummy strip
; ac_word
=$2
41127 echo "$as_me:$LINENO: checking for $ac_word" >&5
41128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41129 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
41130 echo $ECHO_N "(cached) $ECHO_C" >&6
41132 if test -n "$ac_ct_STRIP"; then
41133 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
41135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41136 for as_dir
in $PATH
41139 test -z "$as_dir" && as_dir
=.
41140 for ac_exec_ext
in '' $ac_executable_extensions; do
41141 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41142 ac_cv_prog_ac_ct_STRIP
="strip"
41143 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41149 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
41152 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
41153 if test -n "$ac_ct_STRIP"; then
41154 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
41155 echo "${ECHO_T}$ac_ct_STRIP" >&6
41157 echo "$as_me:$LINENO: result: no" >&5
41158 echo "${ECHO_T}no" >&6
41163 STRIP
="$ac_cv_prog_STRIP"
41166 if test -n "$ac_tool_prefix"; then
41167 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
41168 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
41169 echo "$as_me:$LINENO: checking for $ac_word" >&5
41170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41171 if test "${ac_cv_prog_NM+set}" = set; then
41172 echo $ECHO_N "(cached) $ECHO_C" >&6
41174 if test -n "$NM"; then
41175 ac_cv_prog_NM
="$NM" # Let the user override the test.
41177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41178 for as_dir
in $PATH
41181 test -z "$as_dir" && as_dir
=.
41182 for ac_exec_ext
in '' $ac_executable_extensions; do
41183 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41184 ac_cv_prog_NM
="${ac_tool_prefix}nm"
41185 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41194 if test -n "$NM"; then
41195 echo "$as_me:$LINENO: result: $NM" >&5
41196 echo "${ECHO_T}$NM" >&6
41198 echo "$as_me:$LINENO: result: no" >&5
41199 echo "${ECHO_T}no" >&6
41203 if test -z "$ac_cv_prog_NM"; then
41205 # Extract the first word of "nm", so it can be a program name with args.
41206 set dummy nm
; ac_word
=$2
41207 echo "$as_me:$LINENO: checking for $ac_word" >&5
41208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41209 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
41210 echo $ECHO_N "(cached) $ECHO_C" >&6
41212 if test -n "$ac_ct_NM"; then
41213 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
41215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41216 for as_dir
in $PATH
41219 test -z "$as_dir" && as_dir
=.
41220 for ac_exec_ext
in '' $ac_executable_extensions; do
41221 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41222 ac_cv_prog_ac_ct_NM
="nm"
41223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41229 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
41232 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
41233 if test -n "$ac_ct_NM"; then
41234 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
41235 echo "${ECHO_T}$ac_ct_NM" >&6
41237 echo "$as_me:$LINENO: result: no" >&5
41238 echo "${ECHO_T}no" >&6
41243 NM
="$ac_cv_prog_NM"
41247 case ${BAKEFILE_HOST} in
41249 INSTALL_DIR
="mkdir -p"
41251 *) INSTALL_DIR
="$INSTALL -d"
41257 case ${BAKEFILE_HOST} in
41258 *-*-cygwin* | *-*-mingw32* )
41259 LDFLAGS_GUI
="-mwindows"
41265 echo "$as_me:$LINENO: checking if make is GNU make" >&5
41266 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
41267 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
41268 echo $ECHO_N "(cached) $ECHO_C" >&6
41271 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
41272 egrep -s GNU
> /dev
/null
); then
41273 bakefile_cv_prog_makeisgnu
="yes"
41275 bakefile_cv_prog_makeisgnu
="no"
41279 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
41280 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
41282 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
41299 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
41300 case "${BAKEFILE_HOST}" in
41301 *-*-cygwin* | *-*-mingw32* )
41307 *-pc-os2_emx | *-pc-os2-emx )
41310 powerpc
-*-darwin* )
41317 powerpc
-apple-macos* )
41326 case "$BAKEFILE_FORCE_PLATFORM" in
41347 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
41348 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
41349 { (exit 1); exit 1; }; }
41364 # Check whether --enable-omf or --disable-omf was given.
41365 if test "${enable_omf+set}" = set; then
41366 enableval
="$enable_omf"
41367 bk_os2_use_omf
="$enableval"
41370 case "${BAKEFILE_HOST}" in
41372 CFLAGS
="$CFLAGS -fno-common"
41373 CXXFLAGS
="$CXXFLAGS -fno-common"
41376 *-pc-os2_emx | *-pc-os2-emx )
41377 if test "x$bk_os2_use_omf" = "xyes" ; then
41380 LDFLAGS
="-Zomf $LDFLAGS"
41381 CFLAGS
="-Zomf $CFLAGS"
41382 CXXFLAGS
="-Zomf $CXXFLAGS"
41390 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
41396 SO_SUFFIX_MODULE
="so"
41401 DLLPREFIX_MODULE
=""
41404 case "${BAKEFILE_HOST}" in
41407 SO_SUFFIX_MODULE
="sl"
41411 SO_SUFFIX_MODULE
="a"
41413 *-*-cygwin* | *-*-mingw32* )
41415 SO_SUFFIX_MODULE
="dll"
41416 DLLIMP_SUFFIX
="dll.a"
41424 *-pc-os2_emx | *-pc-os2-emx )
41426 SO_SUFFIX_MODULE
="dll"
41427 DLLIMP_SUFFIX
=$OS2_LIBEXT
41431 LIBEXT
=".$OS2_LIBEXT"
41433 powerpc
-*-darwin* )
41435 SO_SUFFIX_MODULE
="bundle"
41439 if test "x$DLLIMP_SUFFIX" = "x" ; then
41440 DLLIMP_SUFFIX
="$SO_SUFFIX"
41454 if test "x$GCC" = "xyes"; then
41458 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
41459 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
41461 case "${BAKEFILE_HOST}" in
41463 if test "x$GCC" != "xyes"; then
41464 LDFLAGS
="$LDFLAGS -L/usr/lib"
41466 SHARED_LD_CC
="${CC} -b -o"
41467 SHARED_LD_CXX
="${CXX} -b -o"
41473 if test "x$GCC" != "xyes"; then
41474 echo "$as_me:$LINENO: checking for Intel compiler" >&5
41475 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
41476 if test "${bakefile_cv_prog_icc+set}" = set; then
41477 echo $ECHO_N "(cached) $ECHO_C" >&6
41480 cat >conftest.
$ac_ext <<_ACEOF
41483 cat confdefs.h
>>conftest.
$ac_ext
41484 cat >>conftest.
$ac_ext <<_ACEOF
41485 /* end confdefs.h. */
41491 #ifndef __INTEL_COMPILER
41499 rm -f conftest.
$ac_objext
41500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41501 (eval $ac_compile) 2>conftest.er1
41503 grep -v '^ *+' conftest.er1
>conftest.err
41505 cat conftest.err
>&5
41506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41507 (exit $ac_status); } &&
41508 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41510 (eval $ac_try) 2>&5
41512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41513 (exit $ac_status); }; } &&
41514 { ac_try
='test -s conftest.$ac_objext'
41515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41516 (eval $ac_try) 2>&5
41518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41519 (exit $ac_status); }; }; then
41520 bakefile_cv_prog_icc
=yes
41522 echo "$as_me: failed program was:" >&5
41523 sed 's/^/| /' conftest.
$ac_ext >&5
41525 bakefile_cv_prog_icc
=no
41528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41531 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
41532 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
41533 if test "$bakefile_cv_prog_icc" = "yes"; then
41540 if test "x$GCC" != xyes
; then
41541 SHARED_LD_CC
="${CC} -G -o"
41542 SHARED_LD_CXX
="${CXX} -G -o"
41549 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
41550 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
41551 if test "${wx_cv_gcc31+set}" = set; then
41552 echo $ECHO_N "(cached) $ECHO_C" >&6
41555 cat >conftest.
$ac_ext <<_ACEOF
41558 cat confdefs.h
>>conftest.
$ac_ext
41559 cat >>conftest.
$ac_ext <<_ACEOF
41560 /* end confdefs.h. */
41566 #if (__GNUC__ < 3) || \
41567 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
41575 rm -f conftest.
$ac_objext
41576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41577 (eval $ac_compile) 2>conftest.er1
41579 grep -v '^ *+' conftest.er1
>conftest.err
41581 cat conftest.err
>&5
41582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41583 (exit $ac_status); } &&
41584 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41586 (eval $ac_try) 2>&5
41588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41589 (exit $ac_status); }; } &&
41590 { ac_try
='test -s conftest.$ac_objext'
41591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41592 (eval $ac_try) 2>&5
41594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41595 (exit $ac_status); }; }; then
41600 echo "$as_me: failed program was:" >&5
41601 sed 's/^/| /' conftest.
$ac_ext >&5
41608 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41611 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
41612 echo "${ECHO_T}$wx_cv_gcc31" >&6
41613 if test "$wx_cv_gcc31" = "no"; then
41616 cat <<EOF >shared-ld-sh
41618 #-----------------------------------------------------------------------------
41619 #-- Name: distrib/mac/shared-ld-sh
41620 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
41621 #-- Author: Gilles Depeyrot
41622 #-- Copyright: (c) 2002 Gilles Depeyrot
41623 #-- Licence: any use permitted
41624 #-----------------------------------------------------------------------------
41629 linking_flag="-dynamiclib"
41631 while test ${D}# -gt 0; do
41638 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
41639 # collect these options and values
41640 args="${D}{args} ${D}1 ${D}2"
41644 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
41645 # collect these options
41646 args="${D}{args} ${D}1"
41649 -dynamiclib|-bundle)
41650 linking_flag="${D}1"
41654 echo "shared-ld: unhandled option '${D}1'"
41658 *.o | *.a | *.dylib)
41659 # collect object files
41660 objects="${D}{objects} ${D}1"
41664 echo "shared-ld: unhandled argument '${D}1'"
41673 # Link one module containing all the others
41675 if test ${D}{verbose} = 1; then
41676 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
41678 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
41680 if test ${D}{status} != 0; then
41685 # Link the shared library from the single module created
41687 if test ${D}{verbose} = 1; then
41688 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
41690 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
41692 if test ${D}{status} != 0; then
41697 # Remove intermediate module
41699 rm -f master.${D}${D}.o
41704 chmod +x shared
-ld-sh
41706 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
41707 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
41708 SHARED_LD_CXX
="$SHARED_LD_CC"
41709 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
41711 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
41712 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
41713 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
41714 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
41717 PIC_FLAG
="-dynamic -fPIC"
41721 if test "x$GCC" != "xyes"; then
41722 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
41723 set dummy makeC
++SharedLib
; ac_word
=$2
41724 echo "$as_me:$LINENO: checking for $ac_word" >&5
41725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41726 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
41727 echo $ECHO_N "(cached) $ECHO_C" >&6
41729 if test -n "$AIX_CXX_LD"; then
41730 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
41732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41733 for as_dir
in $PATH
41736 test -z "$as_dir" && as_dir
=.
41737 for ac_exec_ext
in '' $ac_executable_extensions; do
41738 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41739 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
41740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41746 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
41749 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
41750 if test -n "$AIX_CXX_LD"; then
41751 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
41752 echo "${ECHO_T}$AIX_CXX_LD" >&6
41754 echo "$as_me:$LINENO: result: no" >&5
41755 echo "${ECHO_T}no" >&6
41758 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
41759 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
41764 SHARED_LD_CC
="${LD} -nostart -o"
41765 SHARED_LD_CXX
="${LD} -nostart -o"
41769 if test "x$GCC" != "xyes"; then
41774 *-*-cygwin* | *-*-mingw32* )
41776 SHARED_LD_CC
="\$(CC) -shared -o"
41777 SHARED_LD_CXX
="\$(CXX) -shared -o"
41780 *-pc-os2_emx | *-pc-os2-emx )
41781 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41782 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41786 cat <<EOF >dllar.sh
41789 # dllar - a tool to build both a .dll and an .a file
41790 # from a set of object (.o) files for EMX/OS2.
41792 # Written by Andrew Zabolotny, bit@freya.etu.ru
41793 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
41795 # This script will accept a set of files on the command line.
41796 # All the public symbols from the .o files will be exported into
41797 # a .DEF file, then linker will be run (through gcc) against them to
41798 # build a shared library consisting of all given .o files. All libraries
41799 # (.a) will be first decompressed into component .o files then act as
41800 # described above. You can optionally give a description (-d "description")
41801 # which will be put into .DLL. To see the list of accepted options (as well
41802 # as command-line format) simply run this program without options. The .DLL
41803 # is built to be imported by name (there is no guarantee that new versions
41804 # of the library you build will have same ordinals for same symbols).
41806 # dllar is free software; you can redistribute it and/or modify
41807 # it under the terms of the GNU General Public License as published by
41808 # the Free Software Foundation; either version 2, or (at your option)
41809 # any later version.
41811 # dllar is distributed in the hope that it will be useful,
41812 # but WITHOUT ANY WARRANTY; without even the implied warranty of
41813 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
41814 # GNU General Public License for more details.
41816 # You should have received a copy of the GNU General Public License
41817 # along with dllar; see the file COPYING. If not, write to the Free
41818 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
41821 # To successfuly run this program you will need:
41822 # - Current drive should have LFN support (HPFS, ext2, network, etc)
41823 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
41825 # (used to build the .dll)
41827 # (used to create .def file from .o files)
41829 # (used to create .a file from .def file)
41830 # - GNU text utilites (cat, sort, uniq)
41831 # used to process emxexp output
41832 # - GNU file utilities (mv, rm)
41834 # - lxlite (optional, see flag below)
41835 # (used for general .dll cleanup)
41842 # basnam, variant of basename, which does _not_ remove the path, _iff_
41843 # second argument (suffix to remove) is given
41847 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
41850 echo ${D}1 | sed 's/'${D}2'${D}//'
41853 echo "error in basnam ${D}*"
41859 # Cleanup temporary files and output
41862 for i in ${D}inputFiles ; do
41865 rm -rf \`basnam ${D}i !\`
41872 # Kill result in case of failure as there is just to many stupid make/nmake
41873 # things out there which doesn't do this.
41874 if [ ${D}# -eq 0 ]; then
41875 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
41879 # Print usage and exit script with rc=1.
41881 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
41882 echo ' [-name-mangler-script script.sh]'
41883 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
41884 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
41885 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
41886 echo ' [*.o] [*.a]'
41887 echo '*> "output_file" should have no extension.'
41888 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
41889 echo ' The import library name is derived from this and is set to "name".a,'
41890 echo ' unless overridden by -import'
41891 echo '*> "importlib_name" should have no extension.'
41892 echo ' If it has the .o, or .a extension, it is automatically removed.'
41893 echo ' This name is used as the import library name and may be longer and'
41894 echo ' more descriptive than the DLL name which has to follow the old '
41895 echo ' 8.3 convention of FAT.'
41896 echo '*> "script.sh may be given to override the output_file name by a'
41897 echo ' different name. It is mainly useful if the regular make process'
41898 echo ' of some package does not take into account OS/2 restriction of'
41899 echo ' DLL name lengths. It takes the importlib name as input and is'
41900 echo ' supposed to procude a shorter name as output. The script should'
41901 echo ' expect to get importlib_name without extension and should produce'
41902 echo ' a (max.) 8 letter name without extension.'
41903 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
41904 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
41905 echo ' These flags will be put at the start of GCC command line.'
41906 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
41907 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
41908 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
41909 echo ' If the last character of a symbol is "*", all symbols beginning'
41910 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
41911 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
41912 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
41913 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
41914 echo ' C runtime DLLs.'
41915 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
41916 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
41917 echo ' unchanged to GCC at the end of command line.'
41918 echo '*> If you create a DLL from a library and you do not specify -o,'
41919 echo ' the basename for DLL and import library will be set to library name,'
41920 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
41921 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
41922 echo ' library will be renamed into gcc_s.a.'
41925 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
41926 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
41931 # Execute a command.
41932 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
41933 # @Uses Whatever CleanUp() uses.
41939 if [ ${D}rcCmd -ne 0 ]; then
41940 echo "command failed, exit code="${D}rcCmd
41955 CFLAGS="-s -Zcrtdll"
41957 EXPORT_BY_ORDINALS=0
41962 case ${D}curDirS in
41966 curDirS=${D}{curDirS}"/"
41969 # Parse commandline
41972 while [ ${D}1 ]; do
41975 EXPORT_BY_ORDINALS=1;
41985 -name-mangler-script)
42006 exclude_symbols=${D}{exclude_symbols}${D}1" "
42010 library_flags=${D}{library_flags}${D}1" "
42029 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
42032 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
42033 if [ ${D}omfLinking -eq 1 ]; then
42034 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
42036 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
42041 if [ ${D}libsToLink -ne 0 ]; then
42042 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
42044 for file in ${D}1 ; do
42045 if [ -f ${D}file ]; then
42046 inputFiles="${D}{inputFiles} ${D}file"
42050 if [ ${D}found -eq 0 ]; then
42051 echo "ERROR: No file(s) found: "${D}1
42058 done # iterate cmdline words
42061 if [ -z "${D}inputFiles" ]; then
42062 echo "dllar: no input files"
42066 # Now extract all .o files from .a files
42068 for file in ${D}inputFiles ; do
42079 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
42084 dirname=\`basnam ${D}file ${D}suffix\`"_%"
42086 if [ ${D}? -ne 0 ]; then
42087 echo "Failed to create subdirectory ./${D}dirname"
42091 # Append '!' to indicate archive
42092 newInputFiles="${D}newInputFiles ${D}{dirname}!"
42093 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
42096 for subfile in ${D}dirname/*.o* ; do
42097 if [ -f ${D}subfile ]; then
42099 if [ -s ${D}subfile ]; then
42100 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
42101 newInputFiles="${D}newInputFiles ${D}subfile"
42105 if [ ${D}found -eq 0 ]; then
42106 echo "WARNING: there are no files in archive \\'${D}file\\'"
42110 newInputFiles="${D}{newInputFiles} ${D}file"
42114 inputFiles="${D}newInputFiles"
42116 # Output filename(s).
42118 if [ -z ${D}outFile ]; then
42120 set outFile ${D}inputFiles; outFile=${D}2
42123 # If it is an archive, remove the '!' and the '_%' suffixes
42124 case ${D}outFile in
42126 outFile=\`basnam ${D}outFile _%!\`
42131 case ${D}outFile in
42133 outFile=\`basnam ${D}outFile .dll\`
42136 outFile=\`basnam ${D}outFile .DLL\`
42139 outFile=\`basnam ${D}outFile .o\`
42142 outFile=\`basnam ${D}outFile .obj\`
42145 outFile=\`basnam ${D}outFile .a\`
42148 outFile=\`basnam ${D}outFile .lib\`
42153 case ${D}outimpFile in
42155 outimpFile=\`basnam ${D}outimpFile .a\`
42158 outimpFile=\`basnam ${D}outimpFile .lib\`
42163 if [ -z ${D}outimpFile ]; then
42164 outimpFile=${D}outFile
42166 defFile="${D}{outFile}.def"
42167 arcFile="${D}{outimpFile}.a"
42168 arcFile2="${D}{outimpFile}.lib"
42170 #create ${D}dllFile as something matching 8.3 restrictions,
42171 if [ -z ${D}renameScript ] ; then
42172 dllFile="${D}outFile"
42174 dllFile=\`${D}renameScript ${D}outimpFile\`
42177 if [ ${D}do_backup -ne 0 ] ; then
42178 if [ -f ${D}arcFile ] ; then
42179 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
42181 if [ -f ${D}arcFile2 ] ; then
42182 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
42186 # Extract public symbols from all the object files.
42187 tmpdefFile=${D}{defFile}_%
42188 rm -f ${D}tmpdefFile
42189 for file in ${D}inputFiles ; do
42194 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
42199 # Create the def file.
42201 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
42202 dllFile="${D}{dllFile}.dll"
42203 if [ ! -z ${D}description ]; then
42204 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
42206 echo "EXPORTS" >> ${D}defFile
42208 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
42209 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
42211 # Checks if the export is ok or not.
42212 for word in ${D}exclude_symbols; do
42213 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
42214 mv ${D}{tmpdefFile}% ${D}tmpdefFile
42218 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
42219 sed "=" < ${D}tmpdefFile | \\
42223 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
42225 ' > ${D}{tmpdefFile}%
42226 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
42228 rm -f ${D}{tmpdefFile}%
42230 cat ${D}tmpdefFile >> ${D}defFile
42231 rm -f ${D}tmpdefFile
42233 # Do linking, create implib, and apply lxlite.
42235 for file in ${D}inputFiles ; do
42240 gccCmdl="${D}gccCmdl ${D}file"
42244 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
42245 touch "${D}{outFile}.dll"
42247 doCommand "emximp -o ${D}arcFile ${D}defFile"
42248 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
42250 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
42253 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
42255 doCommand "emxomf -s -l ${D}arcFile"
42265 powerpc
-apple-macos* | \
42266 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
42275 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
42276 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
42277 { (exit 1); exit 1; }; }
42280 if test "x$PIC_FLAG" != "x" ; then
42281 PIC_FLAG
="$PIC_FLAG -DPIC"
42284 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
42285 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
42287 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
42288 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
42305 case "${BAKEFILE_HOST}" in
42306 *-*-linux* | *-*-freebsd* )
42307 SONAME_FLAG
="-Wl,-soname,"
42335 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
42336 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
42339 if test "x$GCC" = "xyes"; then
42342 case "${BAKEFILE_HOST}" in
42343 powerpc
-*-darwin* )
42344 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
42347 DEPSFLAG_GCC
="-MMD"
42350 echo "$as_me:$LINENO: result: gcc" >&5
42351 echo "${ECHO_T}gcc" >&6
42352 elif test "x$MWCC" = "xyes"; then
42355 DEPSFLAG_MWCC
="-MM"
42356 echo "$as_me:$LINENO: result: mwcc" >&5
42357 echo "${ECHO_T}mwcc" >&6
42359 echo "$as_me:$LINENO: result: none" >&5
42360 echo "${ECHO_T}none" >&6
42363 if test $DEPS_TRACKING = 1 ; then
42369 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
42370 # script. It is used to track C/C++ files dependencies in portable way.
42372 # Permission is given to use this file in any way.
42374 DEPSMODE=${DEPSMODE}
42376 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
42377 DEPSFLAG_MWCC="${DEPSFLAG_MWCC}"
42379 mkdir -p ${D}DEPSDIR
42381 if test ${D}DEPSMODE = gcc ; then
42382 ${D}* ${D}{DEPSFLAG_GCC}
42384 if test ${D}{status} != 0 ; then
42387 # move created file to the location we want it in:
42388 while test ${D}# -gt 0; do
42402 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
42403 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
42404 if test -f ${D}depfile ; then
42405 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
42408 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
42409 if test -f ${D}depfile ; then
42410 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
42415 elif test ${D}DEPSMODE = mwcc ; then
42418 if test ${D}{status} != 0 ; then
42421 # Run mwcc again with -MM and redirect into the dep file we want
42422 # NOTE: We can't use shift here because we need ${D}* to be valid
42424 for arg in ${D}* ; do
42425 if test "${D}prevarg" = "-o"; then
42438 ${D}* ${D}DEPSFLAG_MWCC >${D}{DEPSDIR}/${D}{objfile}.d
42455 case ${BAKEFILE_HOST} in
42456 *-*-cygwin* | *-*-mingw32* )
42457 if test "$build" != "$host" ; then
42458 RESCOMP
=$host_alias-windres
42460 # Extract the first word of "windres", so it can be a program name with args.
42461 set dummy windres
; ac_word
=$2
42462 echo "$as_me:$LINENO: checking for $ac_word" >&5
42463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42464 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42465 echo $ECHO_N "(cached) $ECHO_C" >&6
42467 if test -n "$RESCOMP"; then
42468 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
42470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42471 for as_dir
in $PATH
42474 test -z "$as_dir" && as_dir
=.
42475 for ac_exec_ext
in '' $ac_executable_extensions; do
42476 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42477 ac_cv_prog_RESCOMP
="windres"
42478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42484 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
42487 RESCOMP
=$ac_cv_prog_RESCOMP
42488 if test -n "$RESCOMP"; then
42489 echo "$as_me:$LINENO: result: $RESCOMP" >&5
42490 echo "${ECHO_T}$RESCOMP" >&6
42492 echo "$as_me:$LINENO: result: no" >&5
42493 echo "${ECHO_T}no" >&6
42499 *-*-darwin* | powerpc
-apple-macos* )
42500 # Extract the first word of "Rez", so it can be a program name with args.
42501 set dummy Rez
; ac_word
=$2
42502 echo "$as_me:$LINENO: checking for $ac_word" >&5
42503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42504 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42505 echo $ECHO_N "(cached) $ECHO_C" >&6
42507 if test -n "$RESCOMP"; then
42508 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
42510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42511 for as_dir
in $PATH
42514 test -z "$as_dir" && as_dir
=.
42515 for ac_exec_ext
in '' $ac_executable_extensions; do
42516 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42517 ac_cv_prog_RESCOMP
="Rez"
42518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42524 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
42527 RESCOMP
=$ac_cv_prog_RESCOMP
42528 if test -n "$RESCOMP"; then
42529 echo "$as_me:$LINENO: result: $RESCOMP" >&5
42530 echo "${ECHO_T}$RESCOMP" >&6
42532 echo "$as_me:$LINENO: result: no" >&5
42533 echo "${ECHO_T}no" >&6
42536 # Extract the first word of "SetFile", so it can be a program name with args.
42537 set dummy SetFile
; ac_word
=$2
42538 echo "$as_me:$LINENO: checking for $ac_word" >&5
42539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42540 if test "${ac_cv_prog_SETFILE+set}" = set; then
42541 echo $ECHO_N "(cached) $ECHO_C" >&6
42543 if test -n "$SETFILE"; then
42544 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
42546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42547 for as_dir
in $PATH
42550 test -z "$as_dir" && as_dir
=.
42551 for ac_exec_ext
in '' $ac_executable_extensions; do
42552 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42553 ac_cv_prog_SETFILE
="SetFile"
42554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42560 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
42563 SETFILE
=$ac_cv_prog_SETFILE
42564 if test -n "$SETFILE"; then
42565 echo "$as_me:$LINENO: result: $SETFILE" >&5
42566 echo "${ECHO_T}$SETFILE" >&6
42568 echo "$as_me:$LINENO: result: no" >&5
42569 echo "${ECHO_T}no" >&6
42579 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.8"
42582 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.8"
42586 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
42587 if test "${enable_precomp_headers+set}" = set; then
42588 enableval
="$enable_precomp_headers"
42589 bk_use_pch
="$enableval"
42594 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
42595 if test "x$GCC" = "xyes"; then
42596 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
42597 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
42598 cat >conftest.
$ac_ext <<_ACEOF
42601 cat confdefs.h
>>conftest.
$ac_ext
42602 cat >>conftest.
$ac_ext <<_ACEOF
42603 /* end confdefs.h. */
42609 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
42610 #error "no pch support"
42613 #error "no pch support"
42615 #if (__GNUC__ == 3) && \
42616 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
42617 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
42618 #error "no pch support"
42625 rm -f conftest.
$ac_objext
42626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42627 (eval $ac_compile) 2>conftest.er1
42629 grep -v '^ *+' conftest.er1
>conftest.err
42631 cat conftest.err
>&5
42632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42633 (exit $ac_status); } &&
42634 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42636 (eval $ac_try) 2>&5
42638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42639 (exit $ac_status); }; } &&
42640 { ac_try
='test -s conftest.$ac_objext'
42641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42642 (eval $ac_try) 2>&5
42644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42645 (exit $ac_status); }; }; then
42647 echo "$as_me:$LINENO: result: yes" >&5
42648 echo "${ECHO_T}yes" >&6
42652 echo "$as_me: failed program was:" >&5
42653 sed 's/^/| /' conftest.
$ac_ext >&5
42656 echo "$as_me:$LINENO: result: no" >&5
42657 echo "${ECHO_T}no" >&6
42660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42661 if test $GCC_PCH = 1 ; then
42664 cat <<EOF >bk-make-pch
42667 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
42668 # script. It is used to generated precompiled headers.
42670 # Permission is given to use this file in any way.
42679 while test ${D}{#} -gt 0; do
42682 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
42683 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
42684 headerfile="${D}{incdir}/${D}{header}"
42688 compiler="${D}{compiler} ${D}{1}"
42692 if test "x${D}{headerfile}" = "x" ; then
42693 echo "error: can't find header ${D}{header} in include paths" >2
42695 if test -f ${D}{outfile} ; then
42696 rm -f ${D}{outfile}
42698 mkdir -p \`dirname ${D}{outfile}\`
42700 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
42702 # can do this because gcc is >= 3.4:
42703 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
42708 chmod +x bk
-make-pch
42715 COND_BUILD_DEBUG
="#"
42716 if test "x$BUILD" = "xdebug" ; then
42717 COND_BUILD_DEBUG
=""
42720 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
42721 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
42722 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
42725 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
42726 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
42727 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
42730 COND_BUILD_DEBUG_UNICODE_0
="#"
42731 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
42732 COND_BUILD_DEBUG_UNICODE_0
=""
42735 COND_BUILD_DEBUG_UNICODE_1
="#"
42736 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
42737 COND_BUILD_DEBUG_UNICODE_1
=""
42740 COND_BUILD_RELEASE
="#"
42741 if test "x$BUILD" = "xrelease" ; then
42742 COND_BUILD_RELEASE
=""
42745 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
42746 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
42747 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
42750 COND_BUILD_RELEASE_UNICODE_0
="#"
42751 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
42752 COND_BUILD_RELEASE_UNICODE_0
=""
42755 COND_BUILD_RELEASE_UNICODE_1
="#"
42756 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
42757 COND_BUILD_RELEASE_UNICODE_1
=""
42760 COND_DEBUG_FLAG_1
="#"
42761 if test "x$DEBUG_FLAG" = "x1" ; then
42762 COND_DEBUG_FLAG_1
=""
42765 COND_DEBUG_INFO_0
="#"
42766 if test "x$DEBUG_INFO" = "x0" ; then
42767 COND_DEBUG_INFO_0
=""
42770 COND_DEBUG_INFO_1
="#"
42771 if test "x$DEBUG_INFO" = "x1" ; then
42772 COND_DEBUG_INFO_1
=""
42775 COND_DEPS_TRACKING_0
="#"
42776 if test "x$DEPS_TRACKING" = "x0" ; then
42777 COND_DEPS_TRACKING_0
=""
42780 COND_DEPS_TRACKING_1
="#"
42781 if test "x$DEPS_TRACKING" = "x1" ; then
42782 COND_DEPS_TRACKING_1
=""
42786 if test "x$GCC_PCH" = "x1" ; then
42790 COND_MONOLITHIC_0
="#"
42791 if test "x$MONOLITHIC" = "x0" ; then
42792 COND_MONOLITHIC_0
=""
42795 COND_MONOLITHIC_0_SHARED_0
="#"
42796 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
42797 COND_MONOLITHIC_0_SHARED_0
=""
42800 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
42801 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
42802 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
42805 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
42806 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
42807 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
42810 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
42811 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
42812 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
42815 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
42816 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
42817 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
42820 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
42821 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
42822 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
42825 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
42826 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
42827 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
42830 COND_MONOLITHIC_0_SHARED_1
="#"
42831 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
42832 COND_MONOLITHIC_0_SHARED_1
=""
42835 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
42836 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
42837 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
42840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
42841 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
42842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
42845 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
42846 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
42847 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
42850 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
42851 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
42852 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
42855 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
42856 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
42857 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
42860 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
42861 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
42862 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
42865 COND_MONOLITHIC_0_USE_ODBC_1
="#"
42866 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
42867 COND_MONOLITHIC_0_USE_ODBC_1
=""
42870 COND_MONOLITHIC_1
="#"
42871 if test "x$MONOLITHIC" = "x1" ; then
42872 COND_MONOLITHIC_1
=""
42875 COND_MONOLITHIC_1_SHARED_0
="#"
42876 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
42877 COND_MONOLITHIC_1_SHARED_0
=""
42880 COND_MONOLITHIC_1_SHARED_1
="#"
42881 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
42882 COND_MONOLITHIC_1_SHARED_1
=""
42885 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
42886 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
42887 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
42890 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
42891 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
42892 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
42895 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
42896 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
42897 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
42900 COND_PLATFORM_MACOSX_1
="#"
42901 if test "x$PLATFORM_MACOSX" = "x1" ; then
42902 COND_PLATFORM_MACOSX_1
=""
42905 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
42906 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
42907 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
42910 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
42911 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
42912 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
42915 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
42916 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
42917 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
42920 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
42921 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
42922 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
42925 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
42926 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
42927 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
42930 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
42931 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42932 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
42935 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
42936 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
42937 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
42940 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
42941 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
42942 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
42945 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
42946 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
42947 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
42950 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
42951 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
42952 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
42955 COND_PLATFORM_MACOS_1
="#"
42956 if test "x$PLATFORM_MACOS" = "x1" ; then
42957 COND_PLATFORM_MACOS_1
=""
42960 COND_PLATFORM_MAC_1
="#"
42961 if test "x$PLATFORM_MAC" = "x1" ; then
42962 COND_PLATFORM_MAC_1
=""
42965 COND_PLATFORM_OS2_1
="#"
42966 if test "x$PLATFORM_OS2" = "x1" ; then
42967 COND_PLATFORM_OS2_1
=""
42970 COND_PLATFORM_UNIX_0
="#"
42971 if test "x$PLATFORM_UNIX" = "x0" ; then
42972 COND_PLATFORM_UNIX_0
=""
42975 COND_PLATFORM_UNIX_1
="#"
42976 if test "x$PLATFORM_UNIX" = "x1" ; then
42977 COND_PLATFORM_UNIX_1
=""
42980 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
42981 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
42982 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
42985 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
42986 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
42987 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
42990 COND_PLATFORM_WIN32_0
="#"
42991 if test "x$PLATFORM_WIN32" = "x0" ; then
42992 COND_PLATFORM_WIN32_0
=""
42995 COND_PLATFORM_WIN32_1
="#"
42996 if test "x$PLATFORM_WIN32" = "x1" ; then
42997 COND_PLATFORM_WIN32_1
=""
43001 if test "x$SHARED" = "x0" ; then
43005 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
43006 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
43007 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
43010 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
43011 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
43012 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
43015 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
43016 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
43017 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
43020 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
43021 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
43022 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
43025 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
43026 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43027 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
43030 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
43031 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43032 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
43035 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
43036 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43037 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
43040 COND_SHARED_0_USE_XRC_1
="#"
43041 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
43042 COND_SHARED_0_USE_XRC_1
=""
43045 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
43046 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
43047 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
43050 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
43051 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
43052 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
43055 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
43056 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
43057 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
43060 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
43061 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
43062 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
43066 if test "x$SHARED" = "x1" ; then
43070 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
43071 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
43072 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
43075 COND_SHARED_1_USE_XRC_1
="#"
43076 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
43077 COND_SHARED_1_USE_XRC_1
=""
43081 if test "x$TOOLKIT" = "x" ; then
43085 COND_TOOLKIT_COCOA
="#"
43086 if test "x$TOOLKIT" = "xCOCOA" ; then
43087 COND_TOOLKIT_COCOA
=""
43090 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
43091 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
43092 COND_TOOLKIT_COCOA_USE_GUI_1
=""
43095 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
43096 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43097 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
43100 COND_TOOLKIT_GTK
="#"
43101 if test "x$TOOLKIT" = "xGTK" ; then
43102 COND_TOOLKIT_GTK
=""
43105 COND_TOOLKIT_GTK_USE_GUI_1
="#"
43106 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
43107 COND_TOOLKIT_GTK_USE_GUI_1
=""
43110 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
43111 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43112 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
43115 COND_TOOLKIT_MAC
="#"
43116 if test "x$TOOLKIT" = "xMAC" ; then
43117 COND_TOOLKIT_MAC
=""
43120 COND_TOOLKIT_MAC_USE_GUI_1
="#"
43121 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
43122 COND_TOOLKIT_MAC_USE_GUI_1
=""
43125 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
43126 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43127 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
43130 COND_TOOLKIT_MGL
="#"
43131 if test "x$TOOLKIT" = "xMGL" ; then
43132 COND_TOOLKIT_MGL
=""
43135 COND_TOOLKIT_MGL_USE_GUI_1
="#"
43136 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
43137 COND_TOOLKIT_MGL_USE_GUI_1
=""
43140 COND_TOOLKIT_MOTIF
="#"
43141 if test "x$TOOLKIT" = "xMOTIF" ; then
43142 COND_TOOLKIT_MOTIF
=""
43145 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
43146 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
43147 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
43150 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
43151 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43152 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
43155 COND_TOOLKIT_MSW
="#"
43156 if test "x$TOOLKIT" = "xMSW" ; then
43157 COND_TOOLKIT_MSW
=""
43160 COND_TOOLKIT_MSW_USE_GUI_1
="#"
43161 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
43162 COND_TOOLKIT_MSW_USE_GUI_1
=""
43165 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
43166 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43167 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
43170 COND_TOOLKIT_PM
="#"
43171 if test "x$TOOLKIT" = "xPM" ; then
43175 COND_TOOLKIT_PM_USE_GUI_1
="#"
43176 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
43177 COND_TOOLKIT_PM_USE_GUI_1
=""
43180 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
43181 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43182 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
43185 COND_TOOLKIT_WINCE
="#"
43186 if test "x$TOOLKIT" = "xWINCE" ; then
43187 COND_TOOLKIT_WINCE
=""
43190 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
43191 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
43192 COND_TOOLKIT_WINCE_USE_GUI_1
=""
43195 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
43196 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43197 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
43200 COND_TOOLKIT_X11
="#"
43201 if test "x$TOOLKIT" = "xX11" ; then
43202 COND_TOOLKIT_X11
=""
43205 COND_TOOLKIT_X11_USE_GUI_1
="#"
43206 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
43207 COND_TOOLKIT_X11_USE_GUI_1
=""
43211 if test "x$UNICODE" = "x1" ; then
43215 COND_USE_EXCEPTIONS_0
="#"
43216 if test "x$USE_EXCEPTIONS" = "x0" ; then
43217 COND_USE_EXCEPTIONS_0
=""
43220 COND_USE_EXCEPTIONS_1
="#"
43221 if test "x$USE_EXCEPTIONS" = "x1" ; then
43222 COND_USE_EXCEPTIONS_1
=""
43226 if test "x$USE_GUI" = "x0" ; then
43231 if test "x$USE_GUI" = "x1" ; then
43235 COND_USE_GUI_1_WXUNIV_0
="#"
43236 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43237 COND_USE_GUI_1_WXUNIV_0
=""
43240 COND_USE_GUI_1_WXUNIV_1
="#"
43241 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
43242 COND_USE_GUI_1_WXUNIV_1
=""
43245 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
43246 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43247 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
43250 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
43251 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43252 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
43255 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
43256 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43257 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
43260 COND_USE_ODBC_1
="#"
43261 if test "x$USE_ODBC" = "x1" ; then
43265 COND_USE_OPENGL_1
="#"
43266 if test "x$USE_OPENGL" = "x1" ; then
43267 COND_USE_OPENGL_1
=""
43270 COND_USE_PLUGINS_0
="#"
43271 if test "x$USE_PLUGINS" = "x0" ; then
43272 COND_USE_PLUGINS_0
=""
43275 COND_USE_RTTI_0
="#"
43276 if test "x$USE_RTTI" = "x0" ; then
43280 COND_USE_RTTI_1
="#"
43281 if test "x$USE_RTTI" = "x1" ; then
43285 COND_USE_SOSYMLINKS_1
="#"
43286 if test "x$USE_SOSYMLINKS" = "x1" ; then
43287 COND_USE_SOSYMLINKS_1
=""
43290 COND_USE_SOVERLINUX_1
="#"
43291 if test "x$USE_SOVERLINUX" = "x1" ; then
43292 COND_USE_SOVERLINUX_1
=""
43295 COND_USE_SOVERSION_0
="#"
43296 if test "x$USE_SOVERSION" = "x0" ; then
43297 COND_USE_SOVERSION_0
=""
43300 COND_USE_SOVERSOLARIS_1
="#"
43301 if test "x$USE_SOVERSOLARIS" = "x1" ; then
43302 COND_USE_SOVERSOLARIS_1
=""
43305 COND_USE_THREADS_0
="#"
43306 if test "x$USE_THREADS" = "x0" ; then
43307 COND_USE_THREADS_0
=""
43310 COND_USE_THREADS_1
="#"
43311 if test "x$USE_THREADS" = "x1" ; then
43312 COND_USE_THREADS_1
=""
43316 if test "x$USE_XRC" = "x1" ; then
43320 COND_WITH_PLUGIN_SDL_1
="#"
43321 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
43322 COND_WITH_PLUGIN_SDL_1
=""
43326 if test "x$WXUNIV" = "x0" ; then
43331 if test "x$WXUNIV" = "x1" ; then
43335 COND_WXUSE_EXPAT_BUILTIN
="#"
43336 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
43337 COND_WXUSE_EXPAT_BUILTIN
=""
43340 COND_WXUSE_LIBJPEG_BUILTIN
="#"
43341 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43342 COND_WXUSE_LIBJPEG_BUILTIN
=""
43345 COND_WXUSE_LIBPNG_BUILTIN
="#"
43346 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43347 COND_WXUSE_LIBPNG_BUILTIN
=""
43350 COND_WXUSE_LIBTIFF_BUILTIN
="#"
43351 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43352 COND_WXUSE_LIBTIFF_BUILTIN
=""
43355 COND_WXUSE_ODBC_BUILTIN
="#"
43356 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
43357 COND_WXUSE_ODBC_BUILTIN
=""
43360 COND_WXUSE_REGEX_BUILTIN
="#"
43361 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
43362 COND_WXUSE_REGEX_BUILTIN
=""
43365 COND_WXUSE_ZLIB_BUILTIN
="#"
43366 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
43367 COND_WXUSE_ZLIB_BUILTIN
=""
43372 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
43373 { { 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
43374 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;}
43375 { (exit 1); exit 1; }; }
43379 if test "$wxUSE_SHARED" = "yes"; then
43381 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
43382 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
43385 *-pc-os2_emx | *-pc-os2-emx )
43386 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43387 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43388 cp -p ${srcdir}/src
/os
2/dllnames.sh .
43389 cp -p ${srcdir}/src
/os
2/dllar.sh .
43394 EXE_LINKER
="$CXX -o"
43397 if test "$wxUSE_OMF" = "yes"; then
43399 *-pc-os2_emx | *-pc-os2-emx )
43400 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
43401 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
43402 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
43407 GCC_PRAGMA_FLAGS
=""
43409 if test $GCC_PCH = 1 ; then
43410 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43411 PCH_FLAGS
="-DWX_PRECOMP"
43414 powerpc
-*-darwin* )
43415 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43418 if test "$wxUSE_STL" = "yes" -o \
43419 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
43420 "$wxUSE_NO_RTTI" != "yes"; then
43421 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
43422 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
43423 cat >conftest.
$ac_ext <<_ACEOF
43426 cat confdefs.h
>>conftest.
$ac_ext
43427 cat >>conftest.
$ac_ext <<_ACEOF
43428 /* end confdefs.h. */
43433 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
43434 #error "Not GCC 3.2 or greater"
43441 rm -f conftest.
$ac_objext
43442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43443 (eval $ac_compile) 2>conftest.er1
43445 grep -v '^ *+' conftest.er1
>conftest.err
43447 cat conftest.err
>&5
43448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43449 (exit $ac_status); } &&
43450 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43452 (eval $ac_try) 2>&5
43454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43455 (exit $ac_status); }; } &&
43456 { ac_try
='test -s conftest.$ac_objext'
43457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43458 (eval $ac_try) 2>&5
43460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43461 (exit $ac_status); }; }; then
43462 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43463 echo "$as_me:$LINENO: result: yes" >&5
43464 echo "${ECHO_T}yes" >&6
43466 echo "$as_me: failed program was:" >&5
43467 sed 's/^/| /' conftest.
$ac_ext >&5
43469 echo "$as_me:$LINENO: result: no" >&5
43470 echo "${ECHO_T}no" >&6
43472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43475 *-pc-os2_emx | *-pc-os2-emx )
43476 if test "$wxUSE_STL" = "yes"; then
43477 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
43478 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
43479 cat >conftest.
$ac_ext <<_ACEOF
43482 cat confdefs.h
>>conftest.
$ac_ext
43483 cat >>conftest.
$ac_ext <<_ACEOF
43484 /* end confdefs.h. */
43489 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
43490 #error "Not GCC 3.2 or greater"
43497 rm -f conftest.
$ac_objext
43498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43499 (eval $ac_compile) 2>conftest.er1
43501 grep -v '^ *+' conftest.er1
>conftest.err
43503 cat conftest.err
>&5
43504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43505 (exit $ac_status); } &&
43506 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43508 (eval $ac_try) 2>&5
43510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43511 (exit $ac_status); }; } &&
43512 { ac_try
='test -s conftest.$ac_objext'
43513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43514 (eval $ac_try) 2>&5
43516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43517 (exit $ac_status); }; }; then
43518 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43519 echo "$as_me:$LINENO: result: yes" >&5
43520 echo "${ECHO_T}yes" >&6
43522 echo "$as_me: failed program was:" >&5
43523 sed 's/^/| /' conftest.
$ac_ext >&5
43525 echo "$as_me:$LINENO: result: no" >&5
43526 echo "${ECHO_T}no" >&6
43528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43533 CPPFLAGS
="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
43536 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
43600 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
43601 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
43602 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
43603 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
43604 echo $ECHO_N "(cached) $ECHO_C" >&6
43606 cat >conftest.
make <<\_ACEOF
43608 @
echo 'ac_maketemp="$(MAKE)"'
43610 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
43611 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
43612 if test -n "$ac_maketemp"; then
43613 eval ac_cv_prog_make_
${ac_make}_set
=yes
43615 eval ac_cv_prog_make_
${ac_make}_set
=no
43617 rm -f conftest.
make
43619 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
43620 echo "$as_me:$LINENO: result: yes" >&5
43621 echo "${ECHO_T}yes" >&6
43624 echo "$as_me:$LINENO: result: no" >&5
43625 echo "${ECHO_T}no" >&6
43626 SET_MAKE
="MAKE=${MAKE-make}"
43631 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
43634 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
43637 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
43640 ac_config_files
="$ac_config_files version-script Makefile"
43643 ac_config_commands
="$ac_config_commands wx-config
43649 if test "$wxUSE_GUI" = "yes"; then
43650 SUBDIRS
="samples demos utils contrib"
43651 else SUBDIRS
="samples utils"
43656 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
43657 if test "${with_cppunit_prefix+set}" = set; then
43658 withval
="$with_cppunit_prefix"
43659 cppunit_config_prefix
="$withval"
43661 cppunit_config_prefix
=""
43664 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
43665 if test "${with_cppunit_exec_prefix+set}" = set; then
43666 withval
="$with_cppunit_exec_prefix"
43667 cppunit_config_exec_prefix
="$withval"
43669 cppunit_config_exec_prefix
=""
43672 if test x
$cppunit_config_exec_prefix != x
; then
43673 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
43674 if test x
${CPPUNIT_CONFIG+set} != xset
; then
43675 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
43678 if test x
$cppunit_config_prefix != x
; then
43679 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
43680 if test x
${CPPUNIT_CONFIG+set} != xset
; then
43681 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
43685 # Extract the first word of "cppunit-config", so it can be a program name with args.
43686 set dummy cppunit
-config; ac_word
=$2
43687 echo "$as_me:$LINENO: checking for $ac_word" >&5
43688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43689 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
43690 echo $ECHO_N "(cached) $ECHO_C" >&6
43692 case $CPPUNIT_CONFIG in
43694 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
43697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43698 for as_dir
in $PATH
43701 test -z "$as_dir" && as_dir
=.
43702 for ac_exec_ext
in '' $ac_executable_extensions; do
43703 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43704 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43711 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
43715 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
43717 if test -n "$CPPUNIT_CONFIG"; then
43718 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
43719 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
43721 echo "$as_me:$LINENO: result: no" >&5
43722 echo "${ECHO_T}no" >&6
43725 cppunit_version_min
=1.8.0
43727 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
43728 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
43730 if test "$CPPUNIT_CONFIG" = "no" ; then
43733 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
43734 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
43735 cppunit_version
=`$CPPUNIT_CONFIG --version`
43737 cppunit_major_version
=`echo $cppunit_version | \
43738 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43739 cppunit_minor_version
=`echo $cppunit_version | \
43740 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43741 cppunit_micro_version
=`echo $cppunit_version | \
43742 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43744 cppunit_major_min
=`echo $cppunit_version_min | \
43745 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43746 cppunit_minor_min
=`echo $cppunit_version_min | \
43747 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43748 cppunit_micro_min
=`echo $cppunit_version_min | \
43749 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43751 cppunit_version_proper
=`expr \
43752 $cppunit_major_version \> $cppunit_major_min \| \
43753 $cppunit_major_version \= $cppunit_major_min \& \
43754 $cppunit_minor_version \> $cppunit_minor_min \| \
43755 $cppunit_major_version \= $cppunit_major_min \& \
43756 $cppunit_minor_version \= $cppunit_minor_min \& \
43757 $cppunit_micro_version \>= $cppunit_micro_min `
43759 if test "$cppunit_version_proper" = "1" ; then
43760 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
43761 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
43763 echo "$as_me:$LINENO: result: no" >&5
43764 echo "${ECHO_T}no" >&6
43769 if test "x$no_cppunit" = x
; then
43770 SUBDIRS
="$SUBDIRS tests"
43781 for subdir
in `echo $SUBDIRS`; do
43782 if test -d ${srcdir}/${subdir} ; then
43783 if test "$wxUSE_GUI" = "yes"; then
43784 if test ${subdir} = "samples"; then
43785 makefiles
="samples/Makefile.in $makefiles"
43786 for sample
in `echo $SAMPLES_SUBDIRS`; do
43787 if test -d $srcdir/samples
/$sample; then
43788 makefiles
="samples/$sample/Makefile.in $makefiles"
43791 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
43793 else if test ${subdir} = "samples"; then
43794 makefiles
="samples/Makefile.in samples/console/Makefile.in"
43795 elif test ${subdir} = "utils"; then
43797 for util
in HelpGen tex2rtf
; do
43798 if test -d $srcdir/utils
/$util ; then
43799 makefiles
="utils/$util/Makefile.in \
43800 utils/$util/src/Makefile.in \
43804 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
43808 for mkin
in $makefiles ; do
43809 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
43810 ac_config_files
="$ac_config_files $mk"
43817 cat >confcache
<<\_ACEOF
43818 # This file is a shell script that caches the results of configure
43819 # tests run on this system so they can be shared between configure
43820 # scripts and configure runs, see configure's option --config-cache.
43821 # It is not useful on other systems. If it contains results you don't
43822 # want to keep, you may remove or edit it.
43824 # config.status only pays attention to the cache file if you give it
43825 # the --recheck option to rerun configure.
43827 # `ac_cv_env_foo' variables (set or unset) will be overridden when
43828 # loading this file, other *unset* `ac_cv_foo' will be assigned the
43829 # following values.
43833 # The following way of writing the cache mishandles newlines in values,
43834 # but we know of no workaround that is simple, portable, and efficient.
43835 # So, don't put newlines in cache variables' values.
43836 # Ultrix sh set writes to stderr and can't be redirected directly,
43837 # and sets the high bit in the cache file unless we assign to the vars.
43840 case `(ac_space=' '; set | grep ac_space) 2>&1` in
43842 # `set' does not quote correctly, so add quotes (double-quote
43843 # substitution turns \\\\ into \\, and sed turns \\ into \).
43846 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
43849 # `set' quotes correctly as required by POSIX, so do not add quotes.
43851 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
43858 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
43860 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
43862 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
43863 if test -w $cache_file; then
43864 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
43865 cat confcache
>$cache_file
43867 echo "not updating unwritable cache $cache_file"
43872 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
43873 # Let make expand exec_prefix.
43874 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
43876 # VPATH may cause trouble with some makes, so we remove $(srcdir),
43877 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
43878 # trailing colons and then remove the whole line if VPATH becomes empty
43879 # (actually we leave an empty line to preserve line numbers).
43880 if test "x$srcdir" = x.
; then
43881 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
43882 s/:*\$(srcdir):*/:/;
43883 s/:*\${srcdir}:*/:/;
43885 s/^\([^=]*=[ ]*\):*/\1/;
43891 DEFS
=-DHAVE_CONFIG_H
43895 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
43896 # 1. Remove the extension, and $U if already installed.
43897 ac_i
=`echo "$ac_i" |
43898 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
43900 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
43901 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
43903 LIBOBJS
=$ac_libobjs
43905 LTLIBOBJS
=$ac_ltlibobjs
43909 : ${CONFIG_STATUS=./config.status}
43910 ac_clean_files_save
=$ac_clean_files
43911 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
43912 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
43913 echo "$as_me: creating $CONFIG_STATUS" >&6;}
43914 cat >$CONFIG_STATUS <<_ACEOF
43916 # Generated by $as_me.
43917 # Run this file to recreate the current configuration.
43918 # Compiler output produced by configure, useful for debugging
43919 # configure, is in config.log if it exists.
43922 ac_cs_recheck=false
43924 SHELL=\${CONFIG_SHELL-$SHELL}
43927 cat >>$CONFIG_STATUS <<\_ACEOF
43928 ## --------------------- ##
43929 ## M4sh Initialization. ##
43930 ## --------------------- ##
43932 # Be Bourne compatible
43933 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
43936 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
43937 # is contrary to our usage. Disable this feature.
43938 alias -g '${1+"$@"}'='"$@"'
43939 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
43942 DUALCASE
=1; export DUALCASE
# for MKS sh
43944 # Support unset when possible.
43945 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
43952 # Work around bugs in pre-3.0 UWIN ksh.
43953 $as_unset ENV MAIL MAILPATH
43960 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43961 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
43962 LC_TELEPHONE LC_TIME
43964 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
43965 eval $as_var=C
; export $as_var
43971 # Required to use basename.
43972 if expr a
: '\(a\)' >/dev
/null
2>&1; then
43978 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
43979 as_basename
=basename
43985 # Name of the executable.
43986 as_me
=`$as_basename "$0" ||
43987 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
43988 X"$0" : 'X\(//\)$' \| \
43989 X"$0" : 'X\(/\)$' \| \
43990 . : '\(.\)' 2>/dev/null ||
43992 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
43993 /^X\/\(\/\/\)$/{ s//\1/; q; }
43994 /^X\/\(\/\).*/{ s//\1/; q; }
43998 # PATH needs CR, and LINENO needs CR and PATH.
43999 # Avoid depending upon Character Ranges.
44000 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
44001 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
44002 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
44003 as_cr_digits
='0123456789'
44004 as_cr_alnum
=$as_cr_Letters$as_cr_digits
44006 # The user is always right.
44007 if test "${PATH_SEPARATOR+set}" != set; then
44008 echo "#! /bin/sh" >conf$$.sh
44009 echo "exit 0" >>conf$$.sh
44011 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
44020 as_lineno_1
=$LINENO
44021 as_lineno_2
=$LINENO
44022 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
44023 test "x$as_lineno_1" != "x$as_lineno_2" &&
44024 test "x$as_lineno_3" = "x$as_lineno_2" || {
44025 # Find who we are. Look in the path if we contain no path at all
44028 *[\\/]* ) as_myself
=$0 ;;
44029 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44030 for as_dir
in $PATH
44033 test -z "$as_dir" && as_dir
=.
44034 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
44039 # We did not find ourselves, most probably we were run as `sh COMMAND'
44040 # in which case we are not to be found in the path.
44041 if test "x$as_myself" = x
; then
44044 if test ! -f "$as_myself"; then
44045 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
44046 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
44047 { (exit 1); exit 1; }; }
44049 case $CONFIG_SHELL in
44051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44052 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
44055 test -z "$as_dir" && as_dir
=.
44056 for as_base
in sh bash ksh sh5
; do
44059 if ("$as_dir/$as_base" -c '
44060 as_lineno_1=$LINENO
44061 as_lineno_2=$LINENO
44062 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
44063 test "x$as_lineno_1" != "x$as_lineno_2" &&
44064 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
44065 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
44066 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
44067 CONFIG_SHELL
=$as_dir/$as_base
44068 export CONFIG_SHELL
44069 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
44077 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
44078 # uniformly replaced by the line number. The first 'sed' inserts a
44079 # line-number line before each line; the second 'sed' does the real
44080 # work. The second script uses 'N' to pair each line-number line
44081 # with the numbered line, and appends trailing '-' during
44082 # substitution so that $LINENO is not a special case at line end.
44083 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
44084 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
44085 sed '=' <$as_myself |
44090 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
44093 s,^['$as_cr_digits']*\n,,
44094 ' >$as_me.lineno
&&
44095 chmod +x
$as_me.lineno
||
44096 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
44097 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
44098 { (exit 1); exit 1; }; }
44100 # Don't try to exec as it changes $[0], causing all sort of problems
44101 # (the dirname of $[0] is not the place where we might find the
44102 # original and so on. Autoconf is especially sensible to this).
44104 # Exit status is that of the last command.
44109 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
44110 *c
*,-n*) ECHO_N
= ECHO_C
='
44112 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
44113 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
44116 if expr a
: '\(a\)' >/dev
/null
2>&1; then
44122 rm -f conf$$ conf$$.exe conf$$.
file
44124 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
44125 # We could just check for DJGPP; but this test a) works b) is more generic
44126 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
44127 if test -f conf$$.exe
; then
44128 # Don't use ln at all; we don't have any links
44133 elif ln conf$$.
file conf$$
2>/dev
/null
; then
44138 rm -f conf$$ conf$$.exe conf$$.
file
44140 if mkdir -p .
2>/dev
/null
; then
44143 test -d .
/-p && rmdir .
/-p
44147 as_executable_p
="test -f"
44149 # Sed expression to map a string onto a valid CPP name.
44150 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
44152 # Sed expression to map a string onto a valid variable name.
44153 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
44157 # We need space, tab and new line, in precisely that order.
44167 # Open the log real soon, to keep \$[0] and so on meaningful, and to
44168 # report actual input values of CONFIG_FILES etc. instead of their
44169 # values after options handling. Logging --version etc. is OK.
44173 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
44174 ## Running $as_me. ##
44179 This file was extended by wxWidgets $as_me 2.6.0, which was
44180 generated by GNU Autoconf 2.59. Invocation command line was
44182 CONFIG_FILES = $CONFIG_FILES
44183 CONFIG_HEADERS = $CONFIG_HEADERS
44184 CONFIG_LINKS = $CONFIG_LINKS
44185 CONFIG_COMMANDS = $CONFIG_COMMANDS
44189 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
44193 # Files that config.status was made for.
44194 if test -n "$ac_config_files"; then
44195 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
44198 if test -n "$ac_config_headers"; then
44199 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
44202 if test -n "$ac_config_links"; then
44203 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
44206 if test -n "$ac_config_commands"; then
44207 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
44210 cat >>$CONFIG_STATUS <<\_ACEOF
44213 \`$as_me' instantiates files from templates according to the
44214 current configuration.
44216 Usage: $0 [OPTIONS] [FILE]...
44218 -h, --help print this help, then exit
44219 -V, --version print version number, then exit
44220 -q, --quiet do not print progress messages
44221 -d, --debug don't remove temporary files
44222 --recheck update $as_me by reconfiguring in the same conditions
44223 --file=FILE[:TEMPLATE]
44224 instantiate the configuration file FILE
44225 --header=FILE[:TEMPLATE]
44226 instantiate the configuration header FILE
44228 Configuration files:
44231 Configuration headers:
44234 Configuration commands:
44237 Report bugs to <bug-autoconf@gnu.org>."
44240 cat >>$CONFIG_STATUS <<_ACEOF
44242 wxWidgets config.status 2.6.0
44243 configured by $0, generated by GNU Autoconf 2.59,
44244 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
44246 Copyright (C) 2003 Free Software Foundation, Inc.
44247 This config.status script is free software; the Free Software Foundation
44248 gives unlimited permission to copy, distribute and modify it."
44253 cat >>$CONFIG_STATUS <<\_ACEOF
44254 # If no file are specified by the user, then we need to provide default
44255 # value. By we need to know if files were specified by the user.
44261 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
44262 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
44270 *) # This is not an option, so the user has probably given explicit
44273 ac_need_defaults
=false
;;
44277 # Handling of the options.
44279 cat >>$CONFIG_STATUS <<\_ACEOF
44280 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
44282 --version | --vers* | -V )
44283 echo "$ac_cs_version"; exit 0 ;;
44285 # Conflict between --help and --header
44286 { { echo "$as_me:$LINENO: error: ambiguous option: $1
44287 Try \`$0 --help' for more information." >&5
44288 echo "$as_me: error: ambiguous option: $1
44289 Try \`$0 --help' for more information." >&2;}
44290 { (exit 1); exit 1; }; };;
44291 --help | --hel | -h )
44292 echo "$ac_cs_usage"; exit 0 ;;
44293 --debug | --d* | -d )
44295 --file | --fil | --fi | --f )
44297 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
44298 ac_need_defaults
=false
;;
44299 --header | --heade | --head | --hea )
44301 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
44302 ac_need_defaults
=false
;;
44303 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
44304 | -silent | --silent | --silen | --sile | --sil | --si | --s)
44307 # This is an error.
44308 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
44309 Try \`$0 --help' for more information." >&5
44310 echo "$as_me: error: unrecognized option: $1
44311 Try \`$0 --help' for more information." >&2;}
44312 { (exit 1); exit 1; }; } ;;
44314 *) ac_config_targets
="$ac_config_targets $1" ;;
44320 ac_configure_extra_args
=
44322 if $ac_cs_silent; then
44324 ac_configure_extra_args
="$ac_configure_extra_args --silent"
44328 cat >>$CONFIG_STATUS <<_ACEOF
44329 if \$ac_cs_recheck; then
44330 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
44331 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
44336 cat >>$CONFIG_STATUS <<_ACEOF
44338 # INIT-COMMANDS section.
44341 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44342 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44343 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44351 cat >>$CONFIG_STATUS <<\_ACEOF
44352 for ac_config_target
in $ac_config_targets
44354 case "$ac_config_target" in
44355 # Handling of arguments.
44356 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
44357 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
44358 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
44359 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
44360 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
44361 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
44362 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
44363 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
44364 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
44365 { (exit 1); exit 1; }; };;
44369 # If the user did not use the arguments to specify the items to instantiate,
44370 # then the envvar interface is used. Set only those that are not.
44371 # We use the long form for the default assignment because of an extremely
44372 # bizarre bug on SunOS 4.1.3.
44373 if $ac_need_defaults; then
44374 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
44375 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
44376 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
44379 # Have a temporary directory for convenience. Make it in the build tree
44380 # simply because there is no reason to put it here, and in addition,
44381 # creating and moving files from /tmp can sometimes cause problems.
44382 # Create a temporary directory, and hook for its removal unless debugging.
44385 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
44386 trap '{ (exit 1); exit 1; }' 1 2 13 15
44389 # Create a (secure) tmp directory for tmp files.
44392 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
44393 test -n "$tmp" && test -d "$tmp"
44396 tmp
=.
/confstat$$
-$RANDOM
44397 (umask 077 && mkdir $tmp)
44400 echo "$me: cannot create a temporary directory in ." >&2
44401 { (exit 1); exit 1; }
44406 cat >>$CONFIG_STATUS <<_ACEOF
44409 # CONFIG_FILES section.
44412 # No need to generate the scripts if there are no CONFIG_FILES.
44413 # This happens for instance when ./config.status config.h
44414 if test -n "\$CONFIG_FILES"; then
44415 # Protect against being on the right side of a sed subst in config.status.
44416 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
44417 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
44418 s,@SHELL@,$SHELL,;t t
44419 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
44420 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
44421 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
44422 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
44423 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
44424 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
44425 s,@exec_prefix@,$exec_prefix,;t t
44426 s,@prefix@,$prefix,;t t
44427 s,@program_transform_name@,$program_transform_name,;t t
44428 s,@bindir@,$bindir,;t t
44429 s,@sbindir@,$sbindir,;t t
44430 s,@libexecdir@,$libexecdir,;t t
44431 s,@datadir@,$datadir,;t t
44432 s,@sysconfdir@,$sysconfdir,;t t
44433 s,@sharedstatedir@,$sharedstatedir,;t t
44434 s,@localstatedir@,$localstatedir,;t t
44435 s,@libdir@,$libdir,;t t
44436 s,@includedir@,$includedir,;t t
44437 s,@oldincludedir@,$oldincludedir,;t t
44438 s,@infodir@,$infodir,;t t
44439 s,@mandir@,$mandir,;t t
44440 s,@build_alias@,$build_alias,;t t
44441 s,@host_alias@,$host_alias,;t t
44442 s,@target_alias@,$target_alias,;t t
44443 s,@DEFS@,$DEFS,;t t
44444 s,@ECHO_C@,$ECHO_C,;t t
44445 s,@ECHO_N@,$ECHO_N,;t t
44446 s,@ECHO_T@,$ECHO_T,;t t
44447 s,@LIBS@,$LIBS,;t t
44448 s,@build@,$build,;t t
44449 s,@build_cpu@,$build_cpu,;t t
44450 s,@build_vendor@,$build_vendor,;t t
44451 s,@build_os@,$build_os,;t t
44452 s,@host@,$host,;t t
44453 s,@host_cpu@,$host_cpu,;t t
44454 s,@host_vendor@,$host_vendor,;t t
44455 s,@host_os@,$host_os,;t t
44456 s,@target@,$target,;t t
44457 s,@target_cpu@,$target_cpu,;t t
44458 s,@target_vendor@,$target_vendor,;t t
44459 s,@target_os@,$target_os,;t t
44461 s,@CFLAGS@,$CFLAGS,;t t
44462 s,@LDFLAGS@,$LDFLAGS,;t t
44463 s,@CPPFLAGS@,$CPPFLAGS,;t t
44464 s,@ac_ct_CC@,$ac_ct_CC,;t t
44465 s,@EXEEXT@,$EXEEXT,;t t
44466 s,@OBJEXT@,$OBJEXT,;t t
44468 s,@EGREP@,$EGREP,;t t
44470 s,@CXXFLAGS@,$CXXFLAGS,;t t
44471 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
44472 s,@RANLIB@,$RANLIB,;t t
44473 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
44475 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
44476 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
44477 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
44478 s,@STRIP@,$STRIP,;t t
44479 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
44480 s,@LN_S@,$LN_S,;t t
44481 s,@CXXCPP@,$CXXCPP,;t t
44482 s,@subdirs@,$subdirs,;t t
44483 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
44484 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
44485 s,@GTK_LIBS@,$GTK_LIBS,;t t
44486 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
44487 s,@X_CFLAGS@,$X_CFLAGS,;t t
44488 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
44489 s,@X_LIBS@,$X_LIBS,;t t
44490 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
44491 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
44492 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
44493 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
44494 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
44495 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
44496 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
44497 s,@RESCOMP@,$RESCOMP,;t t
44498 s,@DEREZ@,$DEREZ,;t t
44499 s,@SETFILE@,$SETFILE,;t t
44500 s,@LIBICONV@,$LIBICONV,;t t
44501 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
44502 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
44503 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
44504 s,@SDL_LIBS@,$SDL_LIBS,;t t
44505 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
44506 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
44507 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
44508 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
44509 s,@GST_INSPECT@,$GST_INSPECT,;t t
44510 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
44511 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
44512 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
44513 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
44514 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
44515 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
44516 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
44517 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
44518 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
44519 s,@VENDOR@,$VENDOR,;t t
44520 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
44521 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
44522 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
44523 s,@WXUNIV@,$WXUNIV,;t t
44524 s,@MONOLITHIC@,$MONOLITHIC,;t t
44525 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
44526 s,@EXTRALIBS@,$EXTRALIBS,;t t
44527 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
44528 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
44529 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
44530 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
44531 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
44532 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
44533 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
44534 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
44535 s,@UNICODE@,$UNICODE,;t t
44536 s,@BUILD@,$BUILD,;t t
44537 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
44538 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
44539 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
44540 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
44541 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
44542 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
44543 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
44544 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
44545 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
44546 s,@SET_MAKE@,$SET_MAKE,;t t
44547 s,@MAKE_SET@,$MAKE_SET,;t t
44548 s,@ac_ct_AR@,$ac_ct_AR,;t t
44549 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
44551 s,@ac_ct_NM@,$ac_ct_NM,;t t
44552 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
44553 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
44554 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
44555 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
44556 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
44557 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
44558 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
44559 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
44560 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
44561 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
44562 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
44563 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
44564 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
44565 s,@LIBPREFIX@,$LIBPREFIX,;t t
44566 s,@LIBEXT@,$LIBEXT,;t t
44567 s,@DLLPREFIX@,$DLLPREFIX,;t t
44568 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
44569 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
44570 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
44571 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
44572 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
44573 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
44574 s,@PIC_FLAG@,$PIC_FLAG,;t t
44575 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
44576 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
44577 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
44578 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
44579 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
44580 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
44581 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
44582 s,@GCC_PCH@,$GCC_PCH,;t t
44583 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
44584 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
44585 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
44586 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
44587 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
44588 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
44589 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
44590 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
44591 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
44592 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
44593 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
44594 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
44595 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
44596 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
44597 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
44598 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
44599 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
44600 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
44601 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
44602 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
44603 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
44604 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
44605 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
44606 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
44607 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
44608 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
44609 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
44610 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
44611 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
44612 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
44613 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
44614 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
44615 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
44616 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
44617 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
44618 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
44619 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
44620 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
44621 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
44622 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
44623 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
44624 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
44625 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
44626 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
44627 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
44628 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
44629 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
44630 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
44631 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
44632 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
44633 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
44634 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
44635 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
44636 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
44637 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
44638 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
44639 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
44640 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
44641 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
44642 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
44643 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
44644 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
44645 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
44646 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
44647 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
44648 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
44649 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
44650 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
44651 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
44652 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
44653 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
44654 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
44655 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
44656 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
44657 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
44658 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
44659 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
44660 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
44661 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
44662 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
44663 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
44664 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
44665 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
44666 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
44667 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
44668 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
44669 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
44670 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
44671 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
44672 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
44673 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
44674 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
44675 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
44676 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
44677 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
44678 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
44679 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
44680 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
44681 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
44682 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
44683 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
44684 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
44685 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
44686 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
44687 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
44688 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
44689 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
44690 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
44691 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
44692 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
44693 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
44694 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
44695 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
44696 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
44697 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
44698 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
44699 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
44700 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
44701 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
44702 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
44703 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
44704 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
44705 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
44706 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
44707 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
44708 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
44709 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
44710 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
44711 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
44712 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
44713 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
44714 s,@SHARED@,$SHARED,;t t
44715 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
44716 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
44717 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
44718 s,@USE_GUI@,$USE_GUI,;t t
44719 s,@AFMINSTALL@,$AFMINSTALL,;t t
44720 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
44721 s,@TOOLKIT@,$TOOLKIT,;t t
44722 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
44723 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
44724 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
44725 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
44726 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
44727 s,@cross_compiling@,$cross_compiling,;t t
44728 s,@WIDGET_SET@,$WIDGET_SET,;t t
44729 s,@WX_RELEASE@,$WX_RELEASE,;t t
44730 s,@WX_VERSION@,$WX_VERSION,;t t
44731 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
44732 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
44733 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
44734 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
44735 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
44736 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
44737 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
44738 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
44739 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
44740 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
44741 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
44742 s,@EXE_LINKER@,$EXE_LINKER,;t t
44743 s,@GUIDIST@,$GUIDIST,;t t
44744 s,@DISTDIR@,$DISTDIR,;t t
44745 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
44746 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
44747 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
44748 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
44749 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
44750 s,@RESFLAGS@,$RESFLAGS,;t t
44751 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
44752 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
44753 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
44754 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
44755 s,@MACRESCOMP@,$MACRESCOMP,;t t
44756 s,@MACSETFILE@,$MACSETFILE,;t t
44757 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
44759 s,@DLLTOOL@,$DLLTOOL,;t t
44760 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
44761 s,@LIBOBJS@,$LIBOBJS,;t t
44762 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
44767 cat >>$CONFIG_STATUS <<\_ACEOF
44768 # Split the substitutions into bite-sized pieces for seds with
44769 # small command number limits, like on Digital OSF/1 and HP-UX.
44770 ac_max_sed_lines
=48
44771 ac_sed_frag
=1 # Number of current file.
44772 ac_beg
=1 # First line for current file.
44773 ac_end
=$ac_max_sed_lines # Line after last line for current file.
44776 while $ac_more_lines; do
44777 if test $ac_beg -gt 1; then
44778 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
44780 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
44782 if test ! -s $tmp/subs.frag
; then
44783 ac_more_lines
=false
44785 # The purpose of the label and of the branching condition is to
44786 # speed up the sed processing (if there are no `@' at all, there
44787 # is no need to browse any of the substitutions).
44788 # These are the two extra sed commands mentioned above.
44790 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
44791 if test -z "$ac_sed_cmds"; then
44792 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
44794 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
44796 ac_sed_frag
=`expr $ac_sed_frag + 1`
44798 ac_end
=`expr $ac_end + $ac_max_sed_lines`
44801 if test -z "$ac_sed_cmds"; then
44804 fi # test -n "$CONFIG_FILES"
44807 cat >>$CONFIG_STATUS <<\_ACEOF
44808 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
44809 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
44811 - | *:- | *:-:* ) # input from stdin
44813 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44814 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
44815 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44816 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
44817 * ) ac_file_in
=$ac_file.
in ;;
44820 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
44821 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
44822 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44823 X"$ac_file" : 'X\(//\)[^/]' \| \
44824 X"$ac_file" : 'X\(//\)$' \| \
44825 X"$ac_file" : 'X\(/\)' \| \
44826 . : '\(.\)' 2>/dev/null ||
44828 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44829 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44830 /^X\(\/\/\)$/{ s//\1/; q; }
44831 /^X\(\/\).*/{ s//\1/; q; }
44833 { if $as_mkdir_p; then
44838 while test ! -d "$as_dir"; do
44839 as_dirs
="$as_dir $as_dirs"
44840 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
44841 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44842 X"$as_dir" : 'X\(//\)[^/]' \| \
44843 X"$as_dir" : 'X\(//\)$' \| \
44844 X"$as_dir" : 'X\(/\)' \| \
44845 . : '\(.\)' 2>/dev/null ||
44847 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44848 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44849 /^X\(\/\/\)$/{ s//\1/; q; }
44850 /^X\(\/\).*/{ s//\1/; q; }
44853 test ! -n "$as_dirs" || mkdir $as_dirs
44854 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44855 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44856 { (exit 1); exit 1; }; }; }
44860 if test "$ac_dir" != .
; then
44861 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
44862 # A "../" for each directory in $ac_dir_suffix.
44863 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
44865 ac_dir_suffix
= ac_top_builddir
=
44869 .
) # No --srcdir option. We are building in place.
44871 if test -z "$ac_top_builddir"; then
44874 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
44876 [\\/]* | ?
:[\\/]* ) # Absolute path.
44877 ac_srcdir
=$srcdir$ac_dir_suffix;
44878 ac_top_srcdir
=$srcdir ;;
44879 *) # Relative path.
44880 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
44881 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
44884 # Do not use `cd foo && pwd` to compute absolute paths, because
44885 # the directories may not exist.
44887 .
) ac_abs_builddir
="$ac_dir";;
44890 .
) ac_abs_builddir
=`pwd`;;
44891 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
44892 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
44895 case $ac_abs_builddir in
44896 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
44898 case ${ac_top_builddir}.
in
44899 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
44900 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
44901 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
44904 case $ac_abs_builddir in
44905 .
) ac_abs_srcdir
=$ac_srcdir;;
44908 .
) ac_abs_srcdir
=$ac_abs_builddir;;
44909 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
44910 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
44913 case $ac_abs_builddir in
44914 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
44916 case $ac_top_srcdir in
44917 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
44918 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
44919 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
44925 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
44926 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
44929 # Let's still pretend it is `configure' which instantiates (i.e., don't
44930 # use $as_me), people would be surprised to read:
44931 # /* config.h. Generated by config.status. */
44932 if test x
"$ac_file" = x
-; then
44935 configure_input
="$ac_file. "
44937 configure_input
=$configure_input"Generated from `echo $ac_file_in |
44938 sed 's,.*/,,'` by configure."
44940 # First look for the input files in the build tree, otherwise in the
44942 ac_file_inputs
=`IFS=:
44943 for f in $ac_file_in; do
44945 -) echo $tmp/stdin ;;
44947 # Absolute (can't be DOS-style, as IFS=:)
44948 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44949 echo "$as_me: error: cannot find input file: $f" >&2;}
44950 { (exit 1); exit 1; }; }
44953 if test -f "$f"; then
44956 elif test -f "$srcdir/$f"; then
44961 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44962 echo "$as_me: error: cannot find input file: $f" >&2;}
44963 { (exit 1); exit 1; }; }
44966 done` || { (exit 1); exit 1; }
44968 if test x
"$ac_file" != x
-; then
44969 { echo "$as_me:$LINENO: creating $ac_file" >&5
44970 echo "$as_me: creating $ac_file" >&6;}
44974 cat >>$CONFIG_STATUS <<_ACEOF
44978 cat >>$CONFIG_STATUS <<\_ACEOF
44980 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
44981 s
,@configure_input@
,$configure_input,;t t
44982 s
,@srcdir@
,$ac_srcdir,;t t
44983 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
44984 s
,@top_srcdir@
,$ac_top_srcdir,;t t
44985 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
44986 s
,@builddir@
,$ac_builddir,;t t
44987 s
,@abs_builddir@
,$ac_abs_builddir,;t t
44988 s
,@top_builddir@
,$ac_top_builddir,;t t
44989 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
44990 s
,@INSTALL@
,$ac_INSTALL,;t t
44991 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
44993 if test x"$ac_file" != x-; then
44994 mv $tmp/out $ac_file
45000 # Run the commands associated with the file.
45002 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
45003 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
45007 cat >>$CONFIG_STATUS <<\_ACEOF
45010 # CONFIG_HEADER section.
45013 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
45014 # NAME is the cpp macro being defined and VALUE is the value it is being given.
45016 # ac_d sets the value in "#define NAME VALUE" lines.
45017 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
45018 ac_dB
='[ ].*$,\1#\2'
45021 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
45022 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
45023 ac_uB
='$,\1#\2define\3'
45027 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
45028 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
45030 - | *:- | *:-:* ) # input from stdin
45032 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
45033 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
45034 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
45035 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
45036 * ) ac_file_in
=$ac_file.
in ;;
45039 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
45040 echo "$as_me: creating $ac_file" >&6;}
45042 # First look for the input files in the build tree, otherwise in the
45044 ac_file_inputs
=`IFS=:
45045 for f in $ac_file_in; do
45047 -) echo $tmp/stdin ;;
45049 # Absolute (can't be DOS-style, as IFS=:)
45050 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45051 echo "$as_me: error: cannot find input file: $f" >&2;}
45052 { (exit 1); exit 1; }; }
45053 # Do quote $f, to prevent DOS paths from being IFS'd.
45056 if test -f "$f"; then
45059 elif test -f "$srcdir/$f"; then
45064 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45065 echo "$as_me: error: cannot find input file: $f" >&2;}
45066 { (exit 1); exit 1; }; }
45069 done` || { (exit 1); exit 1; }
45070 # Remove the trailing spaces.
45071 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
45075 # Transform confdefs.h into two sed scripts, `conftest.defines' and
45076 # `conftest.undefs', that substitutes the proper values into
45077 # config.h.in to produce config.h. The first handles `#define'
45078 # templates, and the second `#undef' templates.
45079 # And first: Protect against being on the right side of a sed subst in
45080 # config.status. Protect against being in an unquoted here document
45081 # in config.status.
45082 rm -f conftest.defines conftest.undefs
45083 # Using a here document instead of a string reduces the quoting nightmare.
45084 # Putting comments in sed scripts is not portable.
45086 # `end' is used to avoid that the second main sed command (meant for
45087 # 0-ary CPP macros) applies to n-ary macro definitions.
45088 # See the Autoconf documentation for `clear'.
45089 cat >confdef2sed.
sed <<\_ACEOF
45094 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
45096 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
45099 # If some macros were called several times there might be several times
45100 # the same #defines, which is useless. Nevertheless, we may not want to
45101 # sort them, since we want the *last* AC-DEFINE to be honored.
45102 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
45103 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
45104 rm -f confdef2sed.sed
45106 # This sed command replaces #undef with comments. This is necessary, for
45107 # example, in the case of _POSIX_SOURCE, which is predefined and required
45108 # on some systems where configure will not decide to define it.
45109 cat >>conftest.undefs <<\_ACEOF
45110 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
45113 # Break up conftest.defines because some shells have a limit on the size
45114 # of here documents, and old seds have small limits too (100 cmds).
45115 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
45116 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
45117 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
45118 echo ' :' >>$CONFIG_STATUS
45119 rm -f conftest.tail
45120 while grep . conftest.defines >/dev/null
45122 # Write a limited-size here document to $tmp/defines.sed.
45123 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
45124 # Speed up: don't consider the non `#define' lines.
45125 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
45126 # Work around the forget-to-reset-the-flag bug.
45127 echo 't clr' >>$CONFIG_STATUS
45128 echo ': clr' >>$CONFIG_STATUS
45129 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
45131 sed -f $tmp/defines.sed $tmp/in >$tmp/out
45133 mv $tmp/out $tmp/in
45135 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
45136 rm -f conftest.defines
45137 mv conftest.
tail conftest.defines
45139 rm -f conftest.defines
45140 echo ' fi # grep' >>$CONFIG_STATUS
45141 echo >>$CONFIG_STATUS
45143 # Break up conftest.undefs because some shells have a limit on the size
45144 # of here documents, and old seds have small limits too (100 cmds).
45145 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
45146 rm -f conftest.
tail
45147 while grep . conftest.undefs
>/dev
/null
45149 # Write a limited-size here document to $tmp/undefs.sed.
45150 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
45151 # Speed up: don't consider the non
`#undef'
45152 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
45153 # Work around the forget-to-reset-the-flag bug.
45154 echo 't clr' >>$CONFIG_STATUS
45155 echo ': clr' >>$CONFIG_STATUS
45156 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
45158 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
45160 mv $tmp/out $tmp/in
45162 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
45163 rm -f conftest.undefs
45164 mv conftest.tail conftest.undefs
45166 rm -f conftest.undefs
45168 cat >>$CONFIG_STATUS <<\_ACEOF
45169 # Let's still pretend it is `configure
' which instantiates (i.e., don't
45170 # use $as_me), people would be surprised to read:
45171 # /* config.h. Generated by config.status. */
45172 if test x
"$ac_file" = x
-; then
45173 echo "/* Generated by configure. */" >$tmp/config.h
45175 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
45177 cat $tmp/in >>$tmp/config.h
45179 if test x
"$ac_file" != x
-; then
45180 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
45181 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
45182 echo "$as_me: $ac_file is unchanged" >&6;}
45184 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
45185 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45186 X"$ac_file" : 'X\(//\)[^/]' \| \
45187 X"$ac_file" : 'X\(//\)$' \| \
45188 X"$ac_file" : 'X\(/\)' \| \
45189 . : '\(.\)' 2>/dev/null ||
45191 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45192 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45193 /^X\(\/\/\)$/{ s//\1/; q; }
45194 /^X\(\/\).*/{ s//\1/; q; }
45196 { if $as_mkdir_p; then
45201 while test ! -d "$as_dir"; do
45202 as_dirs
="$as_dir $as_dirs"
45203 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
45204 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45205 X"$as_dir" : 'X\(//\)[^/]' \| \
45206 X"$as_dir" : 'X\(//\)$' \| \
45207 X"$as_dir" : 'X\(/\)' \| \
45208 . : '\(.\)' 2>/dev/null ||
45210 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45211 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45212 /^X\(\/\/\)$/{ s//\1/; q; }
45213 /^X\(\/\).*/{ s//\1/; q; }
45216 test ! -n "$as_dirs" || mkdir $as_dirs
45217 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45218 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45219 { (exit 1); exit 1; }; }; }
45222 mv $tmp/config.h
$ac_file
45226 rm -f $tmp/config.h
45230 cat >>$CONFIG_STATUS <<\_ACEOF
45233 # CONFIG_COMMANDS section.
45235 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
45236 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
45237 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
45238 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
45239 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45240 X"$ac_dest" : 'X\(//\)[^/]' \| \
45241 X"$ac_dest" : 'X\(//\)$' \| \
45242 X"$ac_dest" : 'X\(/\)' \| \
45243 . : '\(.\)' 2>/dev/null ||
45245 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45246 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45247 /^X\(\/\/\)$/{ s//\1/; q; }
45248 /^X\(\/\).*/{ s//\1/; q; }
45250 { if $as_mkdir_p; then
45255 while test ! -d "$as_dir"; do
45256 as_dirs
="$as_dir $as_dirs"
45257 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
45258 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45259 X"$as_dir" : 'X\(//\)[^/]' \| \
45260 X"$as_dir" : 'X\(//\)$' \| \
45261 X"$as_dir" : 'X\(/\)' \| \
45262 . : '\(.\)' 2>/dev/null ||
45264 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45265 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45266 /^X\(\/\/\)$/{ s//\1/; q; }
45267 /^X\(\/\).*/{ s//\1/; q; }
45270 test ! -n "$as_dirs" || mkdir $as_dirs
45271 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45272 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45273 { (exit 1); exit 1; }; }; }
45277 if test "$ac_dir" != .
; then
45278 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45279 # A "../" for each directory in $ac_dir_suffix.
45280 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45282 ac_dir_suffix
= ac_top_builddir
=
45286 .
) # No --srcdir option. We are building in place.
45288 if test -z "$ac_top_builddir"; then
45291 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
45293 [\\/]* | ?
:[\\/]* ) # Absolute path.
45294 ac_srcdir
=$srcdir$ac_dir_suffix;
45295 ac_top_srcdir
=$srcdir ;;
45296 *) # Relative path.
45297 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
45298 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
45301 # Do not use `cd foo && pwd` to compute absolute paths, because
45302 # the directories may not exist.
45304 .
) ac_abs_builddir
="$ac_dir";;
45307 .
) ac_abs_builddir
=`pwd`;;
45308 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
45309 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
45312 case $ac_abs_builddir in
45313 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45315 case ${ac_top_builddir}.
in
45316 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
45317 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45318 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
45321 case $ac_abs_builddir in
45322 .
) ac_abs_srcdir
=$ac_srcdir;;
45325 .
) ac_abs_srcdir
=$ac_abs_builddir;;
45326 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
45327 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
45330 case $ac_abs_builddir in
45331 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
45333 case $ac_top_srcdir in
45334 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
45335 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
45336 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
45341 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
45342 echo "$as_me: executing $ac_dest commands" >&6;}
45344 wx
-config ) rm -f wx
-config
45345 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
45351 cat >>$CONFIG_STATUS <<\_ACEOF
45353 { (exit 0); exit 0; }
45355 chmod +x
$CONFIG_STATUS
45356 ac_clean_files
=$ac_clean_files_save
45359 # configure is writing to config.log, and then calls config.status.
45360 # config.status does its own redirection, appending to config.log.
45361 # Unfortunately, on DOS this fails, as config.log is still kept open
45362 # by configure, so config.status won't be able to write to it; its
45363 # output is simply discarded. So we exec the FD to /dev/null,
45364 # effectively closing config.log, so it can be properly (re)opened and
45365 # appended to by config.status. When coming back to configure, we
45366 # need to make the FD available again.
45367 if test "$no_create" != yes; then
45369 ac_config_status_args
=
45370 test "$silent" = yes &&
45371 ac_config_status_args
="$ac_config_status_args --quiet"
45373 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
45375 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
45376 # would make configure fail if this is the last instruction.
45377 $ac_cs_success || { (exit 1); exit 1; }
45381 # CONFIG_SUBDIRS section.
45383 if test "$no_recursion" != yes; then
45385 # Remove --cache-file and --srcdir arguments so they do not pile up.
45386 ac_sub_configure_args
=
45388 for ac_arg
in $ac_configure_args; do
45389 if test -n "$ac_prev"; then
45394 -cache-file | --cache-file | --cache-fil | --cache-fi \
45395 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
45396 ac_prev
=cache_file
;;
45397 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
45398 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
45401 --config-cache | -C)
45403 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
45405 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
45407 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
45409 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
45411 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
45415 # Always prepend --prefix to ensure using the same prefix
45416 # in subdir configurations.
45417 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
45420 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
45422 # Do not complain, so a configure script can configure whichever
45423 # parts of a large source tree are present.
45424 test -d $srcdir/$ac_dir || continue
45426 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
45427 echo "$as_me: configuring in $ac_dir" >&6;}
45428 { if $as_mkdir_p; then
45433 while test ! -d "$as_dir"; do
45434 as_dirs
="$as_dir $as_dirs"
45435 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
45436 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45437 X"$as_dir" : 'X\(//\)[^/]' \| \
45438 X"$as_dir" : 'X\(//\)$' \| \
45439 X"$as_dir" : 'X\(/\)' \| \
45440 . : '\(.\)' 2>/dev/null ||
45442 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45443 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45444 /^X\(\/\/\)$/{ s//\1/; q; }
45445 /^X\(\/\).*/{ s//\1/; q; }
45448 test ! -n "$as_dirs" || mkdir $as_dirs
45449 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45450 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45451 { (exit 1); exit 1; }; }; }
45455 if test "$ac_dir" != .
; then
45456 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45457 # A "../" for each directory in $ac_dir_suffix.
45458 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45460 ac_dir_suffix
= ac_top_builddir
=
45464 .
) # No --srcdir option. We are building in place.
45466 if test -z "$ac_top_builddir"; then
45469 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
45471 [\\/]* | ?
:[\\/]* ) # Absolute path.
45472 ac_srcdir
=$srcdir$ac_dir_suffix;
45473 ac_top_srcdir
=$srcdir ;;
45474 *) # Relative path.
45475 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
45476 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
45479 # Do not use `cd foo && pwd` to compute absolute paths, because
45480 # the directories may not exist.
45482 .
) ac_abs_builddir
="$ac_dir";;
45485 .
) ac_abs_builddir
=`pwd`;;
45486 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
45487 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
45490 case $ac_abs_builddir in
45491 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45493 case ${ac_top_builddir}.
in
45494 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
45495 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45496 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
45499 case $ac_abs_builddir in
45500 .
) ac_abs_srcdir
=$ac_srcdir;;
45503 .
) ac_abs_srcdir
=$ac_abs_builddir;;
45504 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
45505 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
45508 case $ac_abs_builddir in
45509 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
45511 case $ac_top_srcdir in
45512 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
45513 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
45514 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
45521 # Check for guested configure; otherwise get Cygnus style configure.
45522 if test -f $ac_srcdir/configure.gnu
; then
45523 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
45524 elif test -f $ac_srcdir/configure
; then
45525 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
45526 elif test -f $ac_srcdir/configure.
in; then
45527 ac_sub_configure
=$ac_configure
45529 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
45530 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
45534 # The recursion is here.
45535 if test -n "$ac_sub_configure"; then
45536 # Make the cache file name correct relative to the subdirectory.
45537 case $cache_file in
45538 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
45539 *) # Relative path.
45540 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
45543 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
45544 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
45545 # The eval makes quoting arguments work.
45546 eval $ac_sub_configure $ac_sub_configure_args \
45547 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
45548 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
45549 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
45550 { (exit 1); exit 1; }; }
45559 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
45561 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
45562 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
45564 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
45565 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
45566 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
45568 echo " What level of wxWidgets compatibility should be enabled?"
45569 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
45570 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
45572 echo " Which libraries should wxWidgets use?"
45573 echo " jpeg ${wxUSE_LIBJPEG-none}"
45574 echo " png ${wxUSE_LIBPNG-none}"
45575 echo " regex ${wxUSE_REGEX}"
45576 echo " tiff ${wxUSE_LIBTIFF-none}"
45577 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
45578 echo " xpm ${wxUSE_LIBXPM-none}"
45580 echo " zlib ${wxUSE_ZLIB}"
45581 echo " odbc ${wxUSE_ODBC}"
45582 echo " expat ${wxUSE_EXPAT}"
45583 echo " libmspack ${wxUSE_LIBMSPACK}"
45584 echo " sdl ${wxUSE_LIBSDL}"
45585 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"