2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.6.1.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 DUALCASE
=1; export DUALCASE
# for MKS sh
27 # Support unset when possible.
28 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
224 test -d .
/-p && rmdir .
/-p
228 as_executable_p
="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
257 ac_default_prefix
=/usr
/local
258 ac_config_libobj_dir
=.
263 SHELL
=${CONFIG_SHELL-/bin/sh}
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
270 # Identity of this package.
271 PACKAGE_NAME
='wxWidgets'
272 PACKAGE_TARNAME
='wxwidgets'
273 PACKAGE_VERSION
='2.6.1'
274 PACKAGE_STRING
='wxWidgets 2.6.1'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
277 ac_unique_file
="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subdirs_all
="$ac_subdirs_all src/expat"
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GSTREAMER_CFLAGS GSTREAMER_LIBS GST_INSPECT CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_EXTRALIBS WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev
=build_alias
;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
439 ac_init_help
=short
;;
441 -host | --host | --hos | --ho)
442 ac_prev
=host_alias
;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev
=includedir
;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev
=target_alias
;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias
=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_CXXCPP_set
=${CXXCPP+set}
786 ac_env_CXXCPP_value
=$CXXCPP
787 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value
=$CXXCPP
791 # Report the --help message.
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
797 \`configure' configures wxWidgets 2.6.1 to adapt to many kinds of systems.
799 Usage: $0 [OPTION]... [VAR=VALUE]...
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
804 Defaults for the options are specified in brackets.
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
831 For better control, use the options below.
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
851 --x-includes=DIR X include files are
in DIR
852 --x-libraries=DIR X library files are
in DIR
855 --build=BUILD configure
for building on BUILD
[guessed
]
856 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
857 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short
| recursive
) echo "Configuration of wxWidgets 2.6.1:";;
868 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
869 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
876 --enable-gpe use GNOME PDA Environment features
if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL
for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C
++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWidgets
2.2 compatibility
893 --disable-compat24 disable wxWidgets
2.4 compatibility
894 --disable-rpath disable use of rpath
for uninstalled builds
895 --enable-intl use internationalization system
896 --enable-config use wxConfig
(and derived
) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP
(requires wxProtocol
899 --enable-http use wxHTTP
(requires wxProtocol
900 --enable-fileproto use wxFileProto class
(requires wxProtocol
901 --enable-sockets use socket
/network classes
902 --enable-ole use OLE classes
(Win32 only
)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication
(wxSocket etc.
)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-arcstream use wxArchive streams
907 --enable-backtrace use wxStackWalker class
for getting backtraces
908 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
909 --enable-cmdline use wxCmdLineParser class
910 --enable-datetime use wxDateTime class
911 --enable-debugreport use wxDebugReport class
912 --enable-dialupman use dialup network classes
913 --enable-dynlib use wxLibrary class
for DLL loading
914 --enable-dynamicloader use
(new
) wxDynamicLibrary class
915 --enable-exceptions build exception
-safe library
916 --enable-ffile use wxFFile class
917 --enable-file use wxFile class
918 --enable-filesystem use virtual
file systems classes
919 --enable-fontmap use font encodings conversion classes
920 --enable-fs_inet use virtual HTTP
/FTP filesystems
921 --enable-fs_zip use virtual ZIP filesystems
922 --enable-geometry use geometry class
923 --enable-log use logging system
924 --enable-longlong use wxLongLong class
925 --enable-mimetype use wxMimeTypesManager
926 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
927 --enable-snglinst use wxSingleInstanceChecker class
928 --enable-std_iostreams use standard C
++ stream classes
929 --enable-std_string use standard C
++ string classes
930 --enable-stdpaths use wxStandardPaths class
931 --enable-stopwatch use wxStopWatch class
932 --enable-streams use wxStream etc classes
933 --enable-sysoptions use wxSystemOptions
934 --enable-textbuf use wxTextBuffer class
935 --enable-textfile use wxTextFile class
936 --enable-timer use wxTimer class
937 --enable-unicode compile wxString with Unicode support
938 --enable-sound use wxSound class
939 --enable-mediactrl use wxMediaCtrl class
940 --enable-wxprintfv use wxWidgets implementation of vprintf
()
941 --enable-zipstream use wxZip streams
942 --enable-url use wxURL class
943 --enable-protocol use wxProtocol class
944 --enable-protocol-http HTTP support
in wxProtocol
945 --enable-protocol-ftp FTP support
in wxProtocol
946 --enable-protocol-file FILE support
in wxProtocol
947 --enable-threads use threads
948 --enable-docview use document view architecture
949 --enable-help use
help subsystem
950 --enable-mshtmlhelp use MS HTML Help
(win32
)
951 --enable-html use wxHTML sub
-library
952 --enable-htmlhelp use wxHTML
-based help
953 --enable-xrc use XRC resources sub
-library
954 --enable-constraints use layout
-constraints system
955 --enable-printarch use printing architecture
956 --enable-mdi use multiple document interface architecture
957 --enable-mdidoc use docview architecture with MDI
958 --enable-loggui use standard GUI logger
959 --enable-logwin use wxLogWindow
960 --enable-logdialog use wxLogDialog
961 --enable-webkit use wxWebKitCtrl
(Mac
)
962 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
963 --enable-prologio not available
; see contrib
964 --enable-resources not available
; see contrib
965 --enable-clipboard use wxClipboard class
966 --enable-dnd use Drag
'n'Drop classes
967 --enable-metafile use win32 metafiles
968 --enable-controls use all usual controls
969 --enable-accel use accelerators
970 --enable-button use wxButton class
971 --enable-bmpbutton use wxBitmapButton class
972 --enable-calendar use wxCalendarCtrl class
973 --enable-caret use wxCaret class
974 --enable-checkbox use wxCheckBox class
975 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
976 --enable-choice use wxChoice class
977 --enable-choicebook use wxChoicebook class
978 --enable-combobox use wxComboBox class
979 --enable-datepick use wxDatePickerCtrl class
980 --enable-display use wxDisplay class
981 --enable-gauge use wxGauge class
982 --enable-grid use wxGrid class
983 --enable-imaglist use wxImageList class
984 --enable-listbook use wxListbook class
985 --enable-listbox use wxListBox class
986 --enable-listctrl use wxListCtrl class
987 --enable-notebook use wxNotebook class
988 --enable-radiobox use wxRadioBox class
989 --enable-radiobtn use wxRadioButton class
990 --enable-sash use wxSashWindow class
991 --enable-scrollbar use wxScrollBar class and scrollable windows
992 --enable-slider use wxSlider class
993 --enable-spinbtn use wxSpinButton class
994 --enable-spinctrl use wxSpinCtrl class
995 --enable-splitter use wxSplitterWindow class
996 --enable-statbmp use wxStaticBitmap class
997 --enable-statbox use wxStaticBox class
998 --enable-statline use wxStaticLine class
999 --enable-stattext use wxStaticText class
1000 --enable-statusbar use wxStatusBar class
1001 --enable-tabdialog use wxTabControl class
1002 --enable-textctrl use wxTextCtrl class
1003 --enable-togglebtn use wxToggleButton class
1004 --enable-toolbar use wxToolBar class
1005 --enable-tbarnative use native wxToolBar class
1006 --enable-tbarsmpl use wxToolBarSimple class
1007 --enable-treectrl use wxTreeCtrl class
1008 --enable-tipwindow use wxTipWindow class
1009 --enable-popupwin use wxPopUpWindow class
1010 --enable-commondlg use all common dialogs
1011 --enable-choicedlg use wxChoiceDialog
1012 --enable-coldlg use wxColourDialog
1013 --enable-filedlg use wxFileDialog
1014 --enable-finddlg use wxFindReplaceDialog
1015 --enable-fontdlg use wxFontDialog
1016 --enable-dirdlg use wxDirDialog
1017 --enable-msgdlg use wxMessageDialog
1018 --enable-numberdlg use wxNumberEntryDialog
1019 --enable-splash use wxSplashScreen
1020 --enable-textdlg use wxTextDialog
1021 --enable-tipdlg use startup tips
1022 --enable-progressdlg use wxProgressDialog
1023 --enable-wizarddlg use wxWizard
1024 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1025 --enable-miniframe use wxMiniFrame class
1026 --enable-tooltips use wxToolTip class
1027 --enable-splines use spline drawing code
1028 --enable-mousewheel use mousewheel
1029 --enable-validators use wxValidator and derived classes
1030 --enable-busyinfo use wxBusyInfo
1031 --enable-joystick use wxJoystick
1032 --enable-metafiles use wxMetaFile
(Windows only
)
1033 --enable-dragimage use wxDragImage
1034 --enable-accessibility enable accessibility support
1035 --enable-palette use wxPalette class
1036 --enable-image use wxImage class
1037 --enable-gif use gif images
(GIF
file format
)
1038 --enable-pcx use pcx images
(PCX
file format
)
1039 --enable-iff use iff images
(IFF
file format
)
1040 --enable-pnm use pnm images
(PNM
file format
)
1041 --enable-xpm use xpm images
(XPM
file format
)
1042 --enable-icocur use Windows ICO and CUR formats
1043 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1044 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1045 --disable-largefile omit support
for large files
1046 --disable-gtktest do not try to compile and run a
test GTK
+ program
1047 --disable-gtktest Do not try to compile and run a
test GTK program
1048 --disable-sdltest Do not try to compile and run a
test SDL program
1049 --enable-omf use OMF object format
(OS
/2)
1050 --disable-precomp-headers
1051 don
't use precompiled headers even if compiler can
1054 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1055 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1056 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1057 --with-motif use Motif/Lesstif
1058 --with-mac use Mac OS X
1059 --with-cocoa use Cocoa
1060 --with-wine use Wine
1061 --with-msw use MS-Windows
1062 --with-pm use OS/2 Presentation Manager
1063 --with-mgl use SciTech MGL
1064 --with-microwin use MicroWindows
1066 --with-libpng use libpng (PNG image format)
1067 --with-libjpeg use libjpeg (JPEG file format)
1068 --with-libtiff use libtiff (TIFF file format)
1069 --with-libxpm use libxpm (XPM file format)
1070 --with-libmspack use libmspack (CHM help files loading)
1071 --with-sdl use SDL for audio on Unix
1072 --with-gnomeprint use GNOME print for printing under Unix
1073 --with-opengl use OpenGL (or Mesa)
1074 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1075 --with-regex enable support for wxRegEx class
1076 --with-zlib use zlib for LZW compression
1077 --with-odbc use the IODBC and wxODBC classes
1078 --with-expat enable XML support using expat parser
1079 --with-flavour=NAME specify a name to identify this build
1080 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1081 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1082 --with-x use the X Window System
1083 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1084 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1085 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1086 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1087 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1089 Some influential environment variables:
1090 CC C compiler command
1091 CFLAGS C compiler flags
1092 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1093 nonstandard directory <lib dir>
1094 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1095 headers in a nonstandard directory <include dir>
1097 CXX C++ compiler command
1098 CXXFLAGS C++ compiler flags
1099 CXXCPP C++ preprocessor
1101 Use these variables to override the choices made by `configure' or to
help
1102 it to
find libraries and programs with nonstandard names
/locations.
1104 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1108 if test "$ac_init_help" = "recursive"; then
1109 # If there are subdirs, report their specific --help.
1111 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1112 test -d $ac_dir || continue
1115 if test "$ac_dir" != .
; then
1116 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1117 # A "../" for each directory in $ac_dir_suffix.
1118 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1120 ac_dir_suffix
= ac_top_builddir
=
1124 .
) # No --srcdir option. We are building in place.
1126 if test -z "$ac_top_builddir"; then
1129 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1131 [\\/]* | ?
:[\\/]* ) # Absolute path.
1132 ac_srcdir
=$srcdir$ac_dir_suffix;
1133 ac_top_srcdir
=$srcdir ;;
1135 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1136 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1139 # Do not use `cd foo && pwd` to compute absolute paths, because
1140 # the directories may not exist.
1142 .
) ac_abs_builddir
="$ac_dir";;
1145 .
) ac_abs_builddir
=`pwd`;;
1146 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1147 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1150 case $ac_abs_builddir in
1151 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1153 case ${ac_top_builddir}.
in
1154 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1155 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1156 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1159 case $ac_abs_builddir in
1160 .
) ac_abs_srcdir
=$ac_srcdir;;
1163 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1164 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1165 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1168 case $ac_abs_builddir in
1169 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1171 case $ac_top_srcdir in
1172 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1173 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1174 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1179 # Check for guested configure; otherwise get Cygnus style configure.
1180 if test -f $ac_srcdir/configure.gnu
; then
1182 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1183 elif test -f $ac_srcdir/configure
; then
1185 $SHELL $ac_srcdir/configure
--help=recursive
1186 elif test -f $ac_srcdir/configure.ac
||
1187 test -f $ac_srcdir/configure.
in; then
1189 $ac_configure --help
1191 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1197 test -n "$ac_init_help" && exit 0
1198 if $ac_init_version; then
1200 wxWidgets configure
2.6.1
1201 generated by GNU Autoconf
2.59
1203 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1204 This configure
script is free software
; the Free Software Foundation
1205 gives unlimited permission to copy
, distribute and modify it.
1211 This file contains any messages produced by compilers while
1212 running configure, to aid debugging if configure makes a mistake.
1214 It was created by wxWidgets $as_me 2.6.1, which was
1215 generated by GNU Autoconf 2.59. Invocation command line was
1226 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1227 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1228 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1229 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1230 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1232 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1233 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1235 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1236 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1237 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1238 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1239 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1240 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1241 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1249 test -z "$as_dir" && as_dir
=.
1250 echo "PATH: $as_dir"
1265 # Keep a trace of the command line.
1266 # Strip out --no-create and --no-recursion so they do not pile up.
1267 # Strip out --silent because we don't want to record it for future runs.
1268 # Also quote any args containing shell meta-characters.
1269 # Make two passes to allow for proper duplicate-argument suppression.
1274 ac_must_keep_next
=false
1280 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1281 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1282 | -silent | --silent | --silen | --sile | --sil)
1284 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1285 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1288 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1290 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1291 if test $ac_must_keep_next = true
; then
1292 ac_must_keep_next
=false
# Got value, back to normal.
1295 *=* | --config-cache | -C | -disable-* | --disable-* \
1296 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1297 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1298 | -with-* | --with-* | -without-* | --without-* | --x)
1299 case "$ac_configure_args0 " in
1300 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1303 -* ) ac_must_keep_next
=true
;;
1306 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1307 # Get rid of the leading space.
1313 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1314 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1316 # When interrupted or exit'd, cleanup temporary files, and complete
1317 # config.log. We remove comments because anyway the quotes in there
1318 # would cause problems or look ugly.
1319 # WARNING: Be sure not to use single quotes in there, as some shells,
1320 # such as our DU 5.0 friend, will then `close' the trap.
1321 trap 'exit_status=$?
1322 # Save into config.log some information that might help in debugging.
1327 ## ---------------- ##
1328 ## Cache variables. ##
1329 ## ---------------- ##
1332 # The following way of writing the cache mishandles newlines in values,
1335 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1338 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1339 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1343 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1350 ## ----------------- ##
1351 ## Output variables. ##
1352 ## ----------------- ##
1355 for ac_var in $ac_subst_vars
1357 eval ac_val=$`echo $ac_var`
1358 echo "$ac_var='"'"'$ac_val'"'"'"
1362 if test -n "$ac_subst_files"; then
1369 for ac_var in $ac_subst_files
1371 eval ac_val=$`echo $ac_var`
1372 echo "$ac_var='"'"'$ac_val'"'"'"
1377 if test -s confdefs.h; then
1384 sed "/^$/d" confdefs.h | sort
1387 test "$ac_signal" != 0 &&
1388 echo "$as_me: caught signal $ac_signal"
1389 echo "$as_me: exit $exit_status"
1391 rm -f core *.core &&
1392 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1395 for ac_signal
in 1 2 13 15; do
1396 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1400 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1401 rm -rf conftest
* confdefs.h
1402 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1405 # Predefined preprocessor variables.
1407 cat >>confdefs.h
<<_ACEOF
1408 #define PACKAGE_NAME "$PACKAGE_NAME"
1412 cat >>confdefs.h
<<_ACEOF
1413 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1417 cat >>confdefs.h
<<_ACEOF
1418 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1422 cat >>confdefs.h
<<_ACEOF
1423 #define PACKAGE_STRING "$PACKAGE_STRING"
1427 cat >>confdefs.h
<<_ACEOF
1428 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1432 # Let the site file select an alternate cache file if it wants to.
1433 # Prefer explicitly selected file to automatically selected ones.
1434 if test -z "$CONFIG_SITE"; then
1435 if test "x$prefix" != xNONE
; then
1436 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1438 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1441 for ac_site_file
in $CONFIG_SITE; do
1442 if test -r "$ac_site_file"; then
1443 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1444 echo "$as_me: loading site script $ac_site_file" >&6;}
1445 sed 's/^/| /' "$ac_site_file" >&5
1450 if test -r "$cache_file"; then
1451 # Some versions of bash will fail to source /dev/null (special
1452 # files actually), so we avoid doing that.
1453 if test -f "$cache_file"; then
1454 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1455 echo "$as_me: loading cache $cache_file" >&6;}
1457 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1458 *) . .
/$cache_file;;
1462 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1463 echo "$as_me: creating cache $cache_file" >&6;}
1467 # Check that the precious variables saved in the cache have kept the same
1469 ac_cache_corrupted
=false
1470 for ac_var
in `(set) 2>&1 |
1471 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1472 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1473 eval ac_new_set
=\
$ac_env_${ac_var}_set
1474 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1475 eval ac_new_val
="\$ac_env_${ac_var}_value"
1476 case $ac_old_set,$ac_new_set in
1478 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1479 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1480 ac_cache_corrupted
=: ;;
1482 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1483 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1484 ac_cache_corrupted
=: ;;
1487 if test "x$ac_old_val" != "x$ac_new_val"; then
1488 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1489 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1490 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1491 echo "$as_me: former value: $ac_old_val" >&2;}
1492 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1493 echo "$as_me: current value: $ac_new_val" >&2;}
1494 ac_cache_corrupted
=:
1497 # Pass precious variables to config.status.
1498 if test "$ac_new_set" = set; then
1500 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1501 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1502 *) ac_arg
=$ac_var=$ac_new_val ;;
1504 case " $ac_configure_args " in
1505 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1506 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1510 if $ac_cache_corrupted; then
1511 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1512 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1513 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1514 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1515 { (exit 1); exit 1; }; }
1519 ac_cpp
='$CPP $CPPFLAGS'
1520 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1521 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1522 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1554 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1555 if test -f $ac_dir/install-sh; then
1557 ac_install_sh
="$ac_aux_dir/install-sh -c"
1559 elif test -f $ac_dir/install.sh
; then
1561 ac_install_sh
="$ac_aux_dir/install.sh -c"
1563 elif test -f $ac_dir/shtool
; then
1565 ac_install_sh
="$ac_aux_dir/shtool install -c"
1569 if test -z "$ac_aux_dir"; then
1570 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1571 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1572 { (exit 1); exit 1; }; }
1574 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1575 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1576 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1578 # Make sure we can run config.sub.
1579 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1580 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1581 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1582 { (exit 1); exit 1; }; }
1584 echo "$as_me:$LINENO: checking build system type" >&5
1585 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1586 if test "${ac_cv_build+set}" = set; then
1587 echo $ECHO_N "(cached) $ECHO_C" >&6
1589 ac_cv_build_alias
=$build_alias
1590 test -z "$ac_cv_build_alias" &&
1591 ac_cv_build_alias
=`$ac_config_guess`
1592 test -z "$ac_cv_build_alias" &&
1593 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1594 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1595 { (exit 1); exit 1; }; }
1596 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1597 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1598 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1599 { (exit 1); exit 1; }; }
1602 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1603 echo "${ECHO_T}$ac_cv_build" >&6
1605 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1606 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1607 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1610 echo "$as_me:$LINENO: checking host system type" >&5
1611 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1612 if test "${ac_cv_host+set}" = set; then
1613 echo $ECHO_N "(cached) $ECHO_C" >&6
1615 ac_cv_host_alias
=$host_alias
1616 test -z "$ac_cv_host_alias" &&
1617 ac_cv_host_alias
=$ac_cv_build_alias
1618 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1619 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1620 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1621 { (exit 1); exit 1; }; }
1624 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1625 echo "${ECHO_T}$ac_cv_host" >&6
1627 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1628 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1629 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1632 echo "$as_me:$LINENO: checking target system type" >&5
1633 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1634 if test "${ac_cv_target+set}" = set; then
1635 echo $ECHO_N "(cached) $ECHO_C" >&6
1637 ac_cv_target_alias
=$target_alias
1638 test "x$ac_cv_target_alias" = "x" &&
1639 ac_cv_target_alias
=$ac_cv_host_alias
1640 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1641 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1642 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1643 { (exit 1); exit 1; }; }
1646 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1647 echo "${ECHO_T}$ac_cv_target" >&6
1648 target
=$ac_cv_target
1649 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1650 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1651 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1654 # The aliases save the names the user supplied, while $host etc.
1655 # will get canonicalized.
1656 test -n "$target_alias" &&
1657 test "$program_prefix$program_suffix$program_transform_name" = \
1659 program_prefix
=${target_alias}-
1663 wx_major_version_number
=2
1664 wx_minor_version_number
=6
1666 wx_subrelease_number
=1
1668 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1669 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1670 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1672 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1688 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1694 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1700 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1702 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1704 DEFAULT_wxUSE_COCOA
=0
1708 DEFAULT_wxUSE_MICROWIN
=0
1709 DEFAULT_wxUSE_MOTIF
=0
1714 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1715 DEFAULT_DEFAULT_wxUSE_GTK
=0
1716 DEFAULT_DEFAULT_wxUSE_MAC
=0
1717 DEFAULT_DEFAULT_wxUSE_MGL
=0
1718 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1719 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1720 DEFAULT_DEFAULT_wxUSE_MSW
=0
1721 DEFAULT_DEFAULT_wxUSE_PM
=0
1722 DEFAULT_DEFAULT_wxUSE_X11
=0
1727 SAMPLES_RPATH_POSTLINK
=
1729 DEFAULT_STD_FLAG
=yes
1734 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1735 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1737 cat >>confdefs.h
<<\_ACEOF
1744 cat >>confdefs.h
<<\_ACEOF
1749 if test "x$TMP" = "xalpha"; then
1751 cat >>confdefs.h
<<\_ACEOF
1756 DEFAULT_DEFAULT_wxUSE_GTK
=1
1758 *-*-gnu* | *-*-k*bsd
*-gnu )
1761 if test "x$TMP" = "xalpha"; then
1763 cat >>confdefs.h
<<\_ACEOF
1768 DEFAULT_DEFAULT_wxUSE_GTK
=1
1770 *-*-irix5* | *-*-irix6* )
1773 cat >>confdefs.h
<<\_ACEOF
1777 cat >>confdefs.h
<<\_ACEOF
1781 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1787 cat >>confdefs.h
<<\_ACEOF
1791 cat >>confdefs.h
<<\_ACEOF
1792 #define __SOLARIS__ 1
1795 cat >>confdefs.h
<<\_ACEOF
1799 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1800 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1806 cat >>confdefs.h
<<\_ACEOF
1810 cat >>confdefs.h
<<\_ACEOF
1814 cat >>confdefs.h
<<\_ACEOF
1818 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1823 cat >>confdefs.h
<<\_ACEOF
1824 #define __FREEBSD__ 1
1827 cat >>confdefs.h
<<\_ACEOF
1831 DEFAULT_DEFAULT_wxUSE_GTK
=1
1836 cat >>confdefs.h
<<\_ACEOF
1837 #define __OPENBSD__ 1
1840 cat >>confdefs.h
<<\_ACEOF
1844 DEFAULT_DEFAULT_wxUSE_GTK
=1
1849 cat >>confdefs.h
<<\_ACEOF
1850 #define __NETBSD__ 1
1853 cat >>confdefs.h
<<\_ACEOF
1857 DEFAULT_DEFAULT_wxUSE_GTK
=1
1862 cat >>confdefs.h
<<\_ACEOF
1866 cat >>confdefs.h
<<\_ACEOF
1870 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1871 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1876 cat >>confdefs.h
<<\_ACEOF
1880 cat >>confdefs.h
<<\_ACEOF
1884 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1889 cat >>confdefs.h
<<\_ACEOF
1893 cat >>confdefs.h
<<\_ACEOF
1897 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1904 cat >>confdefs.h
<<\_ACEOF
1908 cat >>confdefs.h
<<\_ACEOF
1912 cat >>confdefs.h
<<\_ACEOF
1916 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1923 cat >>confdefs.h
<<\_ACEOF
1924 #define __UNIXWARE__ 1
1929 *-*-cygwin* | *-*-mingw32* )
1933 DEFAULT_DEFAULT_wxUSE_MSW
=1
1940 cat >>confdefs.h
<<\_ACEOF
1945 DEFAULT_DEFAULT_wxUSE_MGL
=1
1948 *-pc-os2_emx | *-pc-os2-emx )
1949 cat >>confdefs.h
<<\_ACEOF
1954 cat >>confdefs.h
<<\_ACEOF
1959 DEFAULT_DEFAULT_wxUSE_PM
=1
1961 LDFLAGS
="$LDFLAGS -Zcrtdll"
1962 ac_executable_extensions
=".exe"
1963 export ac_executable_extensions
1967 for ac_dir
in $PATH; do
1969 if test -z "$ac_TEMP_PATH"; then
1970 ac_TEMP_PATH
="$ac_dir"
1972 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1975 export PATH
="$ac_TEMP_PATH"
1984 cat >>confdefs.h
<<\_ACEOF
1988 cat >>confdefs.h
<<\_ACEOF
1989 #define __DARWIN__ 1
1992 cat >>confdefs.h
<<\_ACEOF
1993 #define TARGET_CARBON 1
1996 DEFAULT_DEFAULT_wxUSE_MAC
=1
1999 powerpc
-apple-macos* )
2001 ac_cv_c_bigendian
=yes
2003 DEFAULT_DEFAULT_wxUSE_MAC
=1
2009 cat >>confdefs.h
<<\_ACEOF
2016 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2017 echo "$as_me: error: unknown system type ${host}." >&2;}
2018 { (exit 1); exit 1; }; }
2024 wx_arg_cache_file
="configarg.cache"
2025 echo "loading argument cache $wx_arg_cache_file"
2026 rm -f ${wx_arg_cache_file}.tmp
2027 touch ${wx_arg_cache_file}.tmp
2028 touch ${wx_arg_cache_file}
2032 if test $DEBUG_CONFIGURE = 1; then
2033 DEFAULT_wxUSE_UNIVERSAL
=no
2034 DEFAULT_wxUSE_STL
=no
2036 DEFAULT_wxUSE_NANOX
=no
2038 DEFAULT_wxUSE_THREADS
=yes
2040 DEFAULT_wxUSE_SHARED
=yes
2041 DEFAULT_wxUSE_OPTIMISE
=no
2042 DEFAULT_wxUSE_PROFILE
=no
2043 DEFAULT_wxUSE_NO_DEPS
=no
2044 DEFAULT_wxUSE_NO_RTTI
=no
2045 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2046 DEFAULT_wxUSE_RPATH
=yes
2047 DEFAULT_wxUSE_PERMISSIVE
=no
2048 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2049 DEFAULT_wxUSE_DEBUG_INFO
=yes
2050 DEFAULT_wxUSE_DEBUG_GDB
=yes
2051 DEFAULT_wxUSE_MEM_TRACING
=no
2052 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2053 DEFAULT_wxUSE_DMALLOC
=no
2054 DEFAULT_wxUSE_APPLE_IEEE
=no
2056 DEFAULT_wxUSE_EXCEPTIONS
=no
2057 DEFAULT_wxUSE_LOG
=yes
2058 DEFAULT_wxUSE_LOGWINDOW
=no
2059 DEFAULT_wxUSE_LOGGUI
=no
2060 DEFAULT_wxUSE_LOGDIALOG
=no
2062 DEFAULT_wxUSE_GUI
=yes
2063 DEFAULT_wxUSE_CONTROLS
=no
2065 DEFAULT_wxUSE_REGEX
=no
2066 DEFAULT_wxUSE_XML
=no
2067 DEFAULT_wxUSE_EXPAT
=no
2068 DEFAULT_wxUSE_ZLIB
=no
2069 DEFAULT_wxUSE_LIBPNG
=no
2070 DEFAULT_wxUSE_LIBJPEG
=no
2071 DEFAULT_wxUSE_LIBTIFF
=no
2072 DEFAULT_wxUSE_LIBXPM
=no
2073 DEFAULT_wxUSE_LIBMSPACK
=no
2074 DEFAULT_wxUSE_LIBSDL
=no
2075 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2076 DEFAULT_wxUSE_ODBC
=no
2077 DEFAULT_wxUSE_OPENGL
=no
2079 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2080 DEFAULT_wxUSE_STACKWALKER
=no
2081 DEFAULT_wxUSE_DEBUGREPORT
=no
2082 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2083 DEFAULT_wxUSE_STD_IOSTREAM
=no
2084 DEFAULT_wxUSE_STD_STRING
=no
2085 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2086 DEFAULT_wxUSE_DATETIME
=no
2087 DEFAULT_wxUSE_TIMER
=no
2088 DEFAULT_wxUSE_STOPWATCH
=no
2089 DEFAULT_wxUSE_FILE
=no
2090 DEFAULT_wxUSE_FFILE
=no
2091 DEFAULT_wxUSE_STDPATHS
=no
2092 DEFAULT_wxUSE_TEXTBUFFER
=no
2093 DEFAULT_wxUSE_TEXTFILE
=no
2094 DEFAULT_wxUSE_SOUND
=no
2095 DEFAULT_wxUSE_MEDIACTRL
=no
2096 DEFAULT_wxUSE_INTL
=no
2097 DEFAULT_wxUSE_CONFIG
=no
2098 DEFAULT_wxUSE_FONTMAP
=no
2099 DEFAULT_wxUSE_STREAMS
=no
2100 DEFAULT_wxUSE_SOCKETS
=no
2101 DEFAULT_wxUSE_OLE
=no
2102 DEFAULT_wxUSE_DATAOBJ
=no
2103 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2104 DEFAULT_wxUSE_JOYSTICK
=no
2105 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2106 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2107 DEFAULT_wxUSE_LONGLONG
=no
2108 DEFAULT_wxUSE_GEOMETRY
=no
2110 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2111 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2112 DEFAULT_wxUSE_POSTSCRIPT
=no
2114 DEFAULT_wxUSE_CLIPBOARD
=no
2115 DEFAULT_wxUSE_TOOLTIPS
=no
2116 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2117 DEFAULT_wxUSE_DRAGIMAGE
=no
2118 DEFAULT_wxUSE_SPLINES
=no
2119 DEFAULT_wxUSE_MOUSEWHEEL
=no
2121 DEFAULT_wxUSE_MDI
=no
2122 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2123 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2124 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2126 DEFAULT_wxUSE_RESOURCES
=no
2127 DEFAULT_wxUSE_CONSTRAINTS
=no
2128 DEFAULT_wxUSE_IPC
=no
2129 DEFAULT_wxUSE_HELP
=no
2130 DEFAULT_wxUSE_MS_HTML_HELP
=no
2131 DEFAULT_wxUSE_WXHTML_HELP
=no
2132 DEFAULT_wxUSE_TREELAYOUT
=no
2133 DEFAULT_wxUSE_METAFILE
=no
2134 DEFAULT_wxUSE_MIMETYPE
=no
2135 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2136 DEFAULT_wxUSE_PROTOCOL
=no
2137 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2138 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2139 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2140 DEFAULT_wxUSE_URL
=no
2142 DEFAULT_wxUSE_COMMONDLGS
=no
2143 DEFAULT_wxUSE_CHOICEDLG
=no
2144 DEFAULT_wxUSE_COLOURDLG
=no
2145 DEFAULT_wxUSE_DIRDLG
=no
2146 DEFAULT_wxUSE_FILEDLG
=no
2147 DEFAULT_wxUSE_FINDREPLDLG
=no
2148 DEFAULT_wxUSE_FONTDLG
=no
2149 DEFAULT_wxUSE_MSGDLG
=no
2150 DEFAULT_wxUSE_NUMBERDLG
=no
2151 DEFAULT_wxUSE_TEXTDLG
=no
2152 DEFAULT_wxUSE_SPLASH
=no
2153 DEFAULT_wxUSE_STARTUP_TIPS
=no
2154 DEFAULT_wxUSE_PROGRESSDLG
=no
2155 DEFAULT_wxUSE_WIZARDDLG
=no
2157 DEFAULT_wxUSE_MENUS
=no
2158 DEFAULT_wxUSE_MINIFRAME
=no
2159 DEFAULT_wxUSE_HTML
=no
2160 DEFAULT_wxUSE_XRC
=no
2161 DEFAULT_wxUSE_WEBKIT
=no
2162 DEFAULT_wxUSE_FILESYSTEM
=no
2163 DEFAULT_wxUSE_FS_INET
=no
2164 DEFAULT_wxUSE_FS_ZIP
=no
2165 DEFAULT_wxUSE_BUSYINFO
=no
2166 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2167 DEFAULT_wxUSE_ZIPSTREAM
=no
2168 DEFAULT_wxUSE_VALIDATORS
=no
2170 DEFAULT_wxUSE_ACCEL
=no
2171 DEFAULT_wxUSE_BUTTON
=no
2172 DEFAULT_wxUSE_BMPBUTTON
=no
2173 DEFAULT_wxUSE_CALCTRL
=no
2174 DEFAULT_wxUSE_CARET
=no
2175 DEFAULT_wxUSE_CHECKBOX
=no
2176 DEFAULT_wxUSE_CHECKLST
=no
2177 DEFAULT_wxUSE_CHOICE
=no
2178 DEFAULT_wxUSE_CHOICEBOOK
=no
2179 DEFAULT_wxUSE_COMBOBOX
=no
2180 DEFAULT_wxUSE_DATEPICKCTRL
=no
2181 DEFAULT_wxUSE_DISPLAY
=no
2182 DEFAULT_wxUSE_GAUGE
=no
2183 DEFAULT_wxUSE_GRID
=no
2184 DEFAULT_wxUSE_IMAGLIST
=no
2185 DEFAULT_wxUSE_LISTBOOK
=no
2186 DEFAULT_wxUSE_LISTBOX
=no
2187 DEFAULT_wxUSE_LISTCTRL
=no
2188 DEFAULT_wxUSE_NOTEBOOK
=no
2189 DEFAULT_wxUSE_RADIOBOX
=no
2190 DEFAULT_wxUSE_RADIOBTN
=no
2191 DEFAULT_wxUSE_SASH
=no
2192 DEFAULT_wxUSE_SCROLLBAR
=no
2193 DEFAULT_wxUSE_SLIDER
=no
2194 DEFAULT_wxUSE_SPINBTN
=no
2195 DEFAULT_wxUSE_SPINCTRL
=no
2196 DEFAULT_wxUSE_SPLITTER
=no
2197 DEFAULT_wxUSE_STATBMP
=no
2198 DEFAULT_wxUSE_STATBOX
=no
2199 DEFAULT_wxUSE_STATLINE
=no
2200 DEFAULT_wxUSE_STATTEXT
=no
2201 DEFAULT_wxUSE_STATUSBAR
=yes
2202 DEFAULT_wxUSE_TABDIALOG
=no
2203 DEFAULT_wxUSE_TEXTCTRL
=no
2204 DEFAULT_wxUSE_TOGGLEBTN
=no
2205 DEFAULT_wxUSE_TOOLBAR
=no
2206 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2207 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2208 DEFAULT_wxUSE_TREECTRL
=no
2209 DEFAULT_wxUSE_POPUPWIN
=no
2210 DEFAULT_wxUSE_TIPWINDOW
=no
2212 DEFAULT_wxUSE_UNICODE
=no
2213 DEFAULT_wxUSE_UNICODE_MSLU
=no
2214 DEFAULT_wxUSE_WCSRTOMBS
=no
2216 DEFAULT_wxUSE_PALETTE
=no
2217 DEFAULT_wxUSE_IMAGE
=no
2218 DEFAULT_wxUSE_GIF
=no
2219 DEFAULT_wxUSE_PCX
=no
2220 DEFAULT_wxUSE_PNM
=no
2221 DEFAULT_wxUSE_IFF
=no
2222 DEFAULT_wxUSE_XPM
=no
2223 DEFAULT_wxUSE_ICO_CUR
=no
2224 DEFAULT_wxUSE_ACCESSIBILITY
=no
2226 DEFAULT_wxUSE_MONOLITHIC
=no
2227 DEFAULT_wxUSE_PLUGINS
=no
2228 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2230 DEFAULT_wxUSE_UNIVERSAL
=no
2231 DEFAULT_wxUSE_STL
=no
2233 DEFAULT_wxUSE_NANOX
=no
2235 DEFAULT_wxUSE_THREADS
=yes
2237 DEFAULT_wxUSE_SHARED
=yes
2238 DEFAULT_wxUSE_OPTIMISE
=yes
2239 DEFAULT_wxUSE_PROFILE
=no
2240 DEFAULT_wxUSE_NO_DEPS
=no
2241 DEFAULT_wxUSE_NO_RTTI
=no
2242 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2243 DEFAULT_wxUSE_RPATH
=yes
2244 DEFAULT_wxUSE_PERMISSIVE
=no
2245 DEFAULT_wxUSE_DEBUG_FLAG
=no
2246 DEFAULT_wxUSE_DEBUG_INFO
=no
2247 DEFAULT_wxUSE_DEBUG_GDB
=no
2248 DEFAULT_wxUSE_MEM_TRACING
=no
2249 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2250 DEFAULT_wxUSE_DMALLOC
=no
2251 DEFAULT_wxUSE_APPLE_IEEE
=yes
2253 DEFAULT_wxUSE_EXCEPTIONS
=yes
2254 DEFAULT_wxUSE_LOG
=yes
2255 DEFAULT_wxUSE_LOGWINDOW
=yes
2256 DEFAULT_wxUSE_LOGGUI
=yes
2257 DEFAULT_wxUSE_LOGDIALOG
=yes
2259 DEFAULT_wxUSE_GUI
=yes
2261 DEFAULT_wxUSE_REGEX
=yes
2262 DEFAULT_wxUSE_XML
=yes
2263 DEFAULT_wxUSE_EXPAT
=yes
2264 DEFAULT_wxUSE_ZLIB
=yes
2265 DEFAULT_wxUSE_LIBPNG
=yes
2266 DEFAULT_wxUSE_LIBJPEG
=yes
2267 DEFAULT_wxUSE_LIBTIFF
=yes
2268 DEFAULT_wxUSE_LIBXPM
=yes
2269 DEFAULT_wxUSE_LIBMSPACK
=yes
2270 DEFAULT_wxUSE_LIBSDL
=no
2271 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2272 DEFAULT_wxUSE_ODBC
=no
2273 DEFAULT_wxUSE_OPENGL
=no
2275 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2276 DEFAULT_wxUSE_STACKWALKER
=yes
2277 DEFAULT_wxUSE_DEBUGREPORT
=yes
2278 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2279 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2280 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2281 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2282 DEFAULT_wxUSE_DATETIME
=yes
2283 DEFAULT_wxUSE_TIMER
=yes
2284 DEFAULT_wxUSE_STOPWATCH
=yes
2285 DEFAULT_wxUSE_FILE
=yes
2286 DEFAULT_wxUSE_FFILE
=yes
2287 DEFAULT_wxUSE_STDPATHS
=yes
2288 DEFAULT_wxUSE_TEXTBUFFER
=yes
2289 DEFAULT_wxUSE_TEXTFILE
=yes
2290 DEFAULT_wxUSE_SOUND
=yes
2291 DEFAULT_wxUSE_MEDIACTRL
=no
2292 DEFAULT_wxUSE_INTL
=yes
2293 DEFAULT_wxUSE_CONFIG
=yes
2294 DEFAULT_wxUSE_FONTMAP
=yes
2295 DEFAULT_wxUSE_STREAMS
=yes
2296 DEFAULT_wxUSE_SOCKETS
=yes
2297 DEFAULT_wxUSE_OLE
=yes
2298 DEFAULT_wxUSE_DATAOBJ
=yes
2299 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2300 DEFAULT_wxUSE_JOYSTICK
=yes
2301 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2302 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2303 DEFAULT_wxUSE_LONGLONG
=yes
2304 DEFAULT_wxUSE_GEOMETRY
=yes
2306 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2307 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2308 DEFAULT_wxUSE_POSTSCRIPT
=yes
2310 DEFAULT_wxUSE_CLIPBOARD
=yes
2311 DEFAULT_wxUSE_TOOLTIPS
=yes
2312 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2313 DEFAULT_wxUSE_DRAGIMAGE
=yes
2314 DEFAULT_wxUSE_SPLINES
=yes
2315 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2317 DEFAULT_wxUSE_MDI
=yes
2318 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2319 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2320 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2322 DEFAULT_wxUSE_RESOURCES
=no
2323 DEFAULT_wxUSE_CONSTRAINTS
=yes
2324 DEFAULT_wxUSE_IPC
=yes
2325 DEFAULT_wxUSE_HELP
=yes
2326 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2327 DEFAULT_wxUSE_WXHTML_HELP
=yes
2328 DEFAULT_wxUSE_TREELAYOUT
=yes
2329 DEFAULT_wxUSE_METAFILE
=yes
2330 DEFAULT_wxUSE_MIMETYPE
=yes
2331 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2332 DEFAULT_wxUSE_PROTOCOL
=yes
2333 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2334 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2335 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2336 DEFAULT_wxUSE_URL
=yes
2338 DEFAULT_wxUSE_COMMONDLGS
=yes
2339 DEFAULT_wxUSE_CHOICEDLG
=yes
2340 DEFAULT_wxUSE_COLOURDLG
=yes
2341 DEFAULT_wxUSE_DIRDLG
=yes
2342 DEFAULT_wxUSE_FILEDLG
=yes
2343 DEFAULT_wxUSE_FINDREPLDLG
=yes
2344 DEFAULT_wxUSE_FONTDLG
=yes
2345 DEFAULT_wxUSE_MSGDLG
=yes
2346 DEFAULT_wxUSE_NUMBERDLG
=yes
2347 DEFAULT_wxUSE_TEXTDLG
=yes
2348 DEFAULT_wxUSE_SPLASH
=yes
2349 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2350 DEFAULT_wxUSE_PROGRESSDLG
=yes
2351 DEFAULT_wxUSE_WIZARDDLG
=yes
2353 DEFAULT_wxUSE_MENUS
=yes
2354 DEFAULT_wxUSE_MINIFRAME
=yes
2355 DEFAULT_wxUSE_HTML
=yes
2356 DEFAULT_wxUSE_XRC
=yes
2357 DEFAULT_wxUSE_WEBKIT
=yes
2358 DEFAULT_wxUSE_FILESYSTEM
=yes
2359 DEFAULT_wxUSE_FS_INET
=yes
2360 DEFAULT_wxUSE_FS_ZIP
=yes
2361 DEFAULT_wxUSE_BUSYINFO
=yes
2362 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2363 DEFAULT_wxUSE_ZIPSTREAM
=yes
2364 DEFAULT_wxUSE_VALIDATORS
=yes
2366 DEFAULT_wxUSE_ACCEL
=yes
2367 DEFAULT_wxUSE_BUTTON
=yes
2368 DEFAULT_wxUSE_BMPBUTTON
=yes
2369 DEFAULT_wxUSE_CALCTRL
=yes
2370 DEFAULT_wxUSE_CARET
=yes
2371 DEFAULT_wxUSE_CHECKBOX
=yes
2372 DEFAULT_wxUSE_CHECKLST
=yes
2373 DEFAULT_wxUSE_CHOICE
=yes
2374 DEFAULT_wxUSE_CHOICEBOOK
=yes
2375 DEFAULT_wxUSE_COMBOBOX
=yes
2376 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2377 DEFAULT_wxUSE_DISPLAY
=yes
2378 DEFAULT_wxUSE_GAUGE
=yes
2379 DEFAULT_wxUSE_GRID
=yes
2380 DEFAULT_wxUSE_IMAGLIST
=yes
2381 DEFAULT_wxUSE_LISTBOOK
=yes
2382 DEFAULT_wxUSE_LISTBOX
=yes
2383 DEFAULT_wxUSE_LISTCTRL
=yes
2384 DEFAULT_wxUSE_NOTEBOOK
=yes
2385 DEFAULT_wxUSE_RADIOBOX
=yes
2386 DEFAULT_wxUSE_RADIOBTN
=yes
2387 DEFAULT_wxUSE_SASH
=yes
2388 DEFAULT_wxUSE_SCROLLBAR
=yes
2389 DEFAULT_wxUSE_SLIDER
=yes
2390 DEFAULT_wxUSE_SPINBTN
=yes
2391 DEFAULT_wxUSE_SPINCTRL
=yes
2392 DEFAULT_wxUSE_SPLITTER
=yes
2393 DEFAULT_wxUSE_STATBMP
=yes
2394 DEFAULT_wxUSE_STATBOX
=yes
2395 DEFAULT_wxUSE_STATLINE
=yes
2396 DEFAULT_wxUSE_STATTEXT
=yes
2397 DEFAULT_wxUSE_STATUSBAR
=yes
2398 DEFAULT_wxUSE_TABDIALOG
=no
2399 DEFAULT_wxUSE_TEXTCTRL
=yes
2400 DEFAULT_wxUSE_TOGGLEBTN
=yes
2401 DEFAULT_wxUSE_TOOLBAR
=yes
2402 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2403 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2404 DEFAULT_wxUSE_TREECTRL
=yes
2405 DEFAULT_wxUSE_POPUPWIN
=yes
2406 DEFAULT_wxUSE_TIPWINDOW
=yes
2408 DEFAULT_wxUSE_UNICODE
=no
2409 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2410 DEFAULT_wxUSE_WCSRTOMBS
=no
2412 DEFAULT_wxUSE_PALETTE
=yes
2413 DEFAULT_wxUSE_IMAGE
=yes
2414 DEFAULT_wxUSE_GIF
=yes
2415 DEFAULT_wxUSE_PCX
=yes
2416 DEFAULT_wxUSE_IFF
=no
2417 DEFAULT_wxUSE_PNM
=yes
2418 DEFAULT_wxUSE_XPM
=yes
2419 DEFAULT_wxUSE_ICO_CUR
=yes
2420 DEFAULT_wxUSE_ACCESSIBILITY
=no
2422 DEFAULT_wxUSE_MONOLITHIC
=no
2423 DEFAULT_wxUSE_PLUGINS
=no
2424 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2426 DEFAULT_wxUSE_GTK2
=yes
2432 for toolkit
in `echo $ALL_TOOLKITS`; do
2433 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2434 if test "x$LINE" != "x" ; then
2435 has_toolkit_in_cache
=1
2436 eval "DEFAULT_$LINE"
2437 eval "CACHE_$toolkit=1"
2439 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2440 if test "x$LINE" != "x" ; then
2441 eval "DEFAULT_$LINE"
2449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2450 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2452 # Check whether --enable-gui or --disable-gui was given.
2453 if test "${enable_gui+set}" = set; then
2454 enableval
="$enable_gui"
2456 if test "$enableval" = yes; then
2457 ac_cv_use_gui
='wxUSE_GUI=yes'
2459 ac_cv_use_gui
='wxUSE_GUI=no'
2464 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2465 if test "x$LINE" != x
; then
2466 eval "DEFAULT_$LINE"
2471 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2475 eval "$ac_cv_use_gui"
2476 if test "$no_cache" != 1; then
2477 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2480 if test "$wxUSE_GUI" = yes; then
2481 echo "$as_me:$LINENO: result: yes" >&5
2482 echo "${ECHO_T}yes" >&6
2484 echo "$as_me:$LINENO: result: no" >&5
2485 echo "${ECHO_T}no" >&6
2490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2491 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2493 # Check whether --enable-monolithic or --disable-monolithic was given.
2494 if test "${enable_monolithic+set}" = set; then
2495 enableval
="$enable_monolithic"
2497 if test "$enableval" = yes; then
2498 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2500 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2505 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2506 if test "x$LINE" != x
; then
2507 eval "DEFAULT_$LINE"
2512 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2516 eval "$ac_cv_use_monolithic"
2517 if test "$no_cache" != 1; then
2518 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2521 if test "$wxUSE_MONOLITHIC" = yes; then
2522 echo "$as_me:$LINENO: result: yes" >&5
2523 echo "${ECHO_T}yes" >&6
2525 echo "$as_me:$LINENO: result: no" >&5
2526 echo "${ECHO_T}no" >&6
2531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2532 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2534 # Check whether --enable-plugins or --disable-plugins was given.
2535 if test "${enable_plugins+set}" = set; then
2536 enableval
="$enable_plugins"
2538 if test "$enableval" = yes; then
2539 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2541 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2546 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2547 if test "x$LINE" != x
; then
2548 eval "DEFAULT_$LINE"
2553 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2557 eval "$ac_cv_use_plugins"
2558 if test "$no_cache" != 1; then
2559 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2562 if test "$wxUSE_PLUGINS" = yes; then
2563 echo "$as_me:$LINENO: result: yes" >&5
2564 echo "${ECHO_T}yes" >&6
2566 echo "$as_me:$LINENO: result: no" >&5
2567 echo "${ECHO_T}no" >&6
2571 if test "$wxUSE_GUI" = "yes"; then
2575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2576 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2578 # Check whether --enable-universal or --disable-universal was given.
2579 if test "${enable_universal+set}" = set; then
2580 enableval
="$enable_universal"
2582 if test "$enableval" = yes; then
2583 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2585 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2590 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2591 if test "x$LINE" != x
; then
2592 eval "DEFAULT_$LINE"
2597 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2601 eval "$ac_cv_use_universal"
2602 if test "$no_cache" != 1; then
2603 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2606 if test "$wxUSE_UNIVERSAL" = yes; then
2607 echo "$as_me:$LINENO: result: yes" >&5
2608 echo "${ECHO_T}yes" >&6
2610 echo "$as_me:$LINENO: result: no" >&5
2611 echo "${ECHO_T}no" >&6
2615 # Check whether --with-gtk or --without-gtk was given.
2616 if test "${with_gtk+set}" = set; then
2618 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2621 # Check whether --with-motif or --without-motif was given.
2622 if test "${with_motif+set}" = set; then
2623 withval
="$with_motif"
2624 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2627 # Check whether --with-mac or --without-mac was given.
2628 if test "${with_mac+set}" = set; then
2630 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2633 # Check whether --with-cocoa or --without-cocoa was given.
2634 if test "${with_cocoa+set}" = set; then
2635 withval
="$with_cocoa"
2636 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2639 # Check whether --with-wine or --without-wine was given.
2640 if test "${with_wine+set}" = set; then
2641 withval
="$with_wine"
2642 wxUSE_WINE
="$withval" CACHE_WINE
=1
2645 # Check whether --with-msw or --without-msw was given.
2646 if test "${with_msw+set}" = set; then
2648 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2651 # Check whether --with-pm or --without-pm was given.
2652 if test "${with_pm+set}" = set; then
2654 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2657 # Check whether --with-mgl or --without-mgl was given.
2658 if test "${with_mgl+set}" = set; then
2660 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2663 # Check whether --with-microwin or --without-microwin was given.
2664 if test "${with_microwin+set}" = set; then
2665 withval
="$with_microwin"
2666 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2669 # Check whether --with-x11 or --without-x11 was given.
2670 if test "${with_x11+set}" = set; then
2672 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2677 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2679 # Check whether --enable-nanox or --disable-nanox was given.
2680 if test "${enable_nanox+set}" = set; then
2681 enableval
="$enable_nanox"
2683 if test "$enableval" = yes; then
2684 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2686 ac_cv_use_nanox
='wxUSE_NANOX=no'
2691 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2692 if test "x$LINE" != x
; then
2693 eval "DEFAULT_$LINE"
2698 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2702 eval "$ac_cv_use_nanox"
2703 if test "$no_cache" != 1; then
2704 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2707 if test "$wxUSE_NANOX" = yes; then
2708 echo "$as_me:$LINENO: result: yes" >&5
2709 echo "${ECHO_T}yes" >&6
2711 echo "$as_me:$LINENO: result: no" >&5
2712 echo "${ECHO_T}no" >&6
2716 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2717 if test "${enable_gtk2+set}" = set; then
2718 enableval
="$enable_gtk2"
2719 wxUSE_GTK2
="$enableval"
2723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2724 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2726 # Check whether --enable-gpe or --disable-gpe was given.
2727 if test "${enable_gpe+set}" = set; then
2728 enableval
="$enable_gpe"
2730 if test "$enableval" = yes; then
2731 ac_cv_use_gpe
='wxUSE_GPE=yes'
2733 ac_cv_use_gpe
='wxUSE_GPE=no'
2738 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2739 if test "x$LINE" != x
; then
2740 eval "DEFAULT_$LINE"
2745 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2749 eval "$ac_cv_use_gpe"
2750 if test "$no_cache" != 1; then
2751 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2754 if test "$wxUSE_GPE" = yes; then
2755 echo "$as_me:$LINENO: result: yes" >&5
2756 echo "${ECHO_T}yes" >&6
2758 echo "$as_me:$LINENO: result: no" >&5
2759 echo "${ECHO_T}no" >&6
2764 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2765 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2768 # Check whether --with-libpng or --without-libpng was given.
2769 if test "${with_libpng+set}" = set; then
2770 withval
="$with_libpng"
2772 if test "$withval" = yes; then
2773 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2774 elif test "$withval" = no
; then
2775 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2776 elif test "$withval" = sys
; then
2777 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2778 elif test "$withval" = builtin; then
2779 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2781 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2782 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2783 { (exit 1); exit 1; }; }
2788 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2789 if test "x$LINE" != x
; then
2790 eval "DEFAULT_$LINE"
2795 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2799 eval "$ac_cv_use_libpng"
2800 if test "$no_cache" != 1; then
2801 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2804 if test "$wxUSE_LIBPNG" = yes; then
2805 echo "$as_me:$LINENO: result: yes" >&5
2806 echo "${ECHO_T}yes" >&6
2807 elif test "$wxUSE_LIBPNG" = no
; then
2808 echo "$as_me:$LINENO: result: no" >&5
2809 echo "${ECHO_T}no" >&6
2810 elif test "$wxUSE_LIBPNG" = sys
; then
2811 echo "$as_me:$LINENO: result: system version" >&5
2812 echo "${ECHO_T}system version" >&6
2813 elif test "$wxUSE_LIBPNG" = builtin; then
2814 echo "$as_me:$LINENO: result: builtin version" >&5
2815 echo "${ECHO_T}builtin version" >&6
2817 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2818 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2819 { (exit 1); exit 1; }; }
2823 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2824 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2827 # Check whether --with-libjpeg or --without-libjpeg was given.
2828 if test "${with_libjpeg+set}" = set; then
2829 withval
="$with_libjpeg"
2831 if test "$withval" = yes; then
2832 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2833 elif test "$withval" = no
; then
2834 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2835 elif test "$withval" = sys
; then
2836 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2837 elif test "$withval" = builtin; then
2838 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2840 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2841 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2842 { (exit 1); exit 1; }; }
2847 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2848 if test "x$LINE" != x
; then
2849 eval "DEFAULT_$LINE"
2854 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2858 eval "$ac_cv_use_libjpeg"
2859 if test "$no_cache" != 1; then
2860 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2863 if test "$wxUSE_LIBJPEG" = yes; then
2864 echo "$as_me:$LINENO: result: yes" >&5
2865 echo "${ECHO_T}yes" >&6
2866 elif test "$wxUSE_LIBJPEG" = no
; then
2867 echo "$as_me:$LINENO: result: no" >&5
2868 echo "${ECHO_T}no" >&6
2869 elif test "$wxUSE_LIBJPEG" = sys
; then
2870 echo "$as_me:$LINENO: result: system version" >&5
2871 echo "${ECHO_T}system version" >&6
2872 elif test "$wxUSE_LIBJPEG" = builtin; then
2873 echo "$as_me:$LINENO: result: builtin version" >&5
2874 echo "${ECHO_T}builtin version" >&6
2876 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2877 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2878 { (exit 1); exit 1; }; }
2882 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2883 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2886 # Check whether --with-libtiff or --without-libtiff was given.
2887 if test "${with_libtiff+set}" = set; then
2888 withval
="$with_libtiff"
2890 if test "$withval" = yes; then
2891 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2892 elif test "$withval" = no
; then
2893 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2894 elif test "$withval" = sys
; then
2895 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2896 elif test "$withval" = builtin; then
2897 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2899 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2900 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2901 { (exit 1); exit 1; }; }
2906 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2907 if test "x$LINE" != x
; then
2908 eval "DEFAULT_$LINE"
2913 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2917 eval "$ac_cv_use_libtiff"
2918 if test "$no_cache" != 1; then
2919 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2922 if test "$wxUSE_LIBTIFF" = yes; then
2923 echo "$as_me:$LINENO: result: yes" >&5
2924 echo "${ECHO_T}yes" >&6
2925 elif test "$wxUSE_LIBTIFF" = no
; then
2926 echo "$as_me:$LINENO: result: no" >&5
2927 echo "${ECHO_T}no" >&6
2928 elif test "$wxUSE_LIBTIFF" = sys
; then
2929 echo "$as_me:$LINENO: result: system version" >&5
2930 echo "${ECHO_T}system version" >&6
2931 elif test "$wxUSE_LIBTIFF" = builtin; then
2932 echo "$as_me:$LINENO: result: builtin version" >&5
2933 echo "${ECHO_T}builtin version" >&6
2935 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2936 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2937 { (exit 1); exit 1; }; }
2941 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2942 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2945 # Check whether --with-libxpm or --without-libxpm was given.
2946 if test "${with_libxpm+set}" = set; then
2947 withval
="$with_libxpm"
2949 if test "$withval" = yes; then
2950 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2951 elif test "$withval" = no
; then
2952 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2953 elif test "$withval" = sys
; then
2954 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2955 elif test "$withval" = builtin; then
2956 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2958 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2959 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2960 { (exit 1); exit 1; }; }
2965 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2966 if test "x$LINE" != x
; then
2967 eval "DEFAULT_$LINE"
2972 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2976 eval "$ac_cv_use_libxpm"
2977 if test "$no_cache" != 1; then
2978 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2981 if test "$wxUSE_LIBXPM" = yes; then
2982 echo "$as_me:$LINENO: result: yes" >&5
2983 echo "${ECHO_T}yes" >&6
2984 elif test "$wxUSE_LIBXPM" = no
; then
2985 echo "$as_me:$LINENO: result: no" >&5
2986 echo "${ECHO_T}no" >&6
2987 elif test "$wxUSE_LIBXPM" = sys
; then
2988 echo "$as_me:$LINENO: result: system version" >&5
2989 echo "${ECHO_T}system version" >&6
2990 elif test "$wxUSE_LIBXPM" = builtin; then
2991 echo "$as_me:$LINENO: result: builtin version" >&5
2992 echo "${ECHO_T}builtin version" >&6
2994 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2995 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2996 { (exit 1); exit 1; }; }
3000 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3001 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3004 # Check whether --with-libmspack or --without-libmspack was given.
3005 if test "${with_libmspack+set}" = set; then
3006 withval
="$with_libmspack"
3008 if test "$withval" = yes; then
3009 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3011 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3016 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3017 if test "x$LINE" != x
; then
3018 eval "DEFAULT_$LINE"
3023 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3027 eval "$ac_cv_use_libmspack"
3028 if test "$no_cache" != 1; then
3029 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3032 if test "$wxUSE_LIBMSPACK" = yes; then
3033 echo "$as_me:$LINENO: result: yes" >&5
3034 echo "${ECHO_T}yes" >&6
3036 echo "$as_me:$LINENO: result: no" >&5
3037 echo "${ECHO_T}no" >&6
3041 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3042 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3045 # Check whether --with-sdl or --without-sdl was given.
3046 if test "${with_sdl+set}" = set; then
3049 if test "$withval" = yes; then
3050 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3052 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3057 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3058 if test "x$LINE" != x
; then
3059 eval "DEFAULT_$LINE"
3064 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3068 eval "$ac_cv_use_sdl"
3069 if test "$no_cache" != 1; then
3070 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3073 if test "$wxUSE_LIBSDL" = yes; then
3074 echo "$as_me:$LINENO: result: yes" >&5
3075 echo "${ECHO_T}yes" >&6
3077 echo "$as_me:$LINENO: result: no" >&5
3078 echo "${ECHO_T}no" >&6
3082 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3083 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3086 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3087 if test "${with_gnomeprint+set}" = set; then
3088 withval
="$with_gnomeprint"
3090 if test "$withval" = yes; then
3091 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3093 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3098 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3099 if test "x$LINE" != x
; then
3100 eval "DEFAULT_$LINE"
3105 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3109 eval "$ac_cv_use_gnomeprint"
3110 if test "$no_cache" != 1; then
3111 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3114 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3115 echo "$as_me:$LINENO: result: yes" >&5
3116 echo "${ECHO_T}yes" >&6
3118 echo "$as_me:$LINENO: result: no" >&5
3119 echo "${ECHO_T}no" >&6
3123 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3124 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3127 # Check whether --with-opengl or --without-opengl was given.
3128 if test "${with_opengl+set}" = set; then
3129 withval
="$with_opengl"
3131 if test "$withval" = yes; then
3132 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3134 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3139 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3140 if test "x$LINE" != x
; then
3141 eval "DEFAULT_$LINE"
3146 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3150 eval "$ac_cv_use_opengl"
3151 if test "$no_cache" != 1; then
3152 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3155 if test "$wxUSE_OPENGL" = yes; then
3156 echo "$as_me:$LINENO: result: yes" >&5
3157 echo "${ECHO_T}yes" >&6
3159 echo "$as_me:$LINENO: result: no" >&5
3160 echo "${ECHO_T}no" >&6
3167 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3168 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3171 # Check whether --with-dmalloc or --without-dmalloc was given.
3172 if test "${with_dmalloc+set}" = set; then
3173 withval
="$with_dmalloc"
3175 if test "$withval" = yes; then
3176 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3178 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3183 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3184 if test "x$LINE" != x
; then
3185 eval "DEFAULT_$LINE"
3190 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3194 eval "$ac_cv_use_dmalloc"
3195 if test "$no_cache" != 1; then
3196 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3199 if test "$wxUSE_DMALLOC" = yes; then
3200 echo "$as_me:$LINENO: result: yes" >&5
3201 echo "${ECHO_T}yes" >&6
3203 echo "$as_me:$LINENO: result: no" >&5
3204 echo "${ECHO_T}no" >&6
3208 echo "$as_me:$LINENO: checking for --with-regex" >&5
3209 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3212 # Check whether --with-regex or --without-regex was given.
3213 if test "${with_regex+set}" = set; then
3214 withval
="$with_regex"
3216 if test "$withval" = yes; then
3217 ac_cv_use_regex
='wxUSE_REGEX=yes'
3218 elif test "$withval" = no
; then
3219 ac_cv_use_regex
='wxUSE_REGEX=no'
3220 elif test "$withval" = sys
; then
3221 ac_cv_use_regex
='wxUSE_REGEX=sys'
3222 elif test "$withval" = builtin; then
3223 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3225 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3226 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3227 { (exit 1); exit 1; }; }
3232 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3233 if test "x$LINE" != x
; then
3234 eval "DEFAULT_$LINE"
3239 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3243 eval "$ac_cv_use_regex"
3244 if test "$no_cache" != 1; then
3245 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3248 if test "$wxUSE_REGEX" = yes; then
3249 echo "$as_me:$LINENO: result: yes" >&5
3250 echo "${ECHO_T}yes" >&6
3251 elif test "$wxUSE_REGEX" = no
; then
3252 echo "$as_me:$LINENO: result: no" >&5
3253 echo "${ECHO_T}no" >&6
3254 elif test "$wxUSE_REGEX" = sys
; then
3255 echo "$as_me:$LINENO: result: system version" >&5
3256 echo "${ECHO_T}system version" >&6
3257 elif test "$wxUSE_REGEX" = builtin; then
3258 echo "$as_me:$LINENO: result: builtin version" >&5
3259 echo "${ECHO_T}builtin version" >&6
3261 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3262 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3263 { (exit 1); exit 1; }; }
3267 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3268 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3271 # Check whether --with-zlib or --without-zlib was given.
3272 if test "${with_zlib+set}" = set; then
3273 withval
="$with_zlib"
3275 if test "$withval" = yes; then
3276 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3277 elif test "$withval" = no
; then
3278 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3279 elif test "$withval" = sys
; then
3280 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3281 elif test "$withval" = builtin; then
3282 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3284 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3285 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3286 { (exit 1); exit 1; }; }
3291 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3292 if test "x$LINE" != x
; then
3293 eval "DEFAULT_$LINE"
3298 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3302 eval "$ac_cv_use_zlib"
3303 if test "$no_cache" != 1; then
3304 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3307 if test "$wxUSE_ZLIB" = yes; then
3308 echo "$as_me:$LINENO: result: yes" >&5
3309 echo "${ECHO_T}yes" >&6
3310 elif test "$wxUSE_ZLIB" = no
; then
3311 echo "$as_me:$LINENO: result: no" >&5
3312 echo "${ECHO_T}no" >&6
3313 elif test "$wxUSE_ZLIB" = sys
; then
3314 echo "$as_me:$LINENO: result: system version" >&5
3315 echo "${ECHO_T}system version" >&6
3316 elif test "$wxUSE_ZLIB" = builtin; then
3317 echo "$as_me:$LINENO: result: builtin version" >&5
3318 echo "${ECHO_T}builtin version" >&6
3320 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3321 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3322 { (exit 1); exit 1; }; }
3326 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3327 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3330 # Check whether --with-odbc or --without-odbc was given.
3331 if test "${with_odbc+set}" = set; then
3332 withval
="$with_odbc"
3334 if test "$withval" = yes; then
3335 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3336 elif test "$withval" = no
; then
3337 ac_cv_use_odbc
='wxUSE_ODBC=no'
3338 elif test "$withval" = sys
; then
3339 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3340 elif test "$withval" = builtin; then
3341 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3343 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3344 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3345 { (exit 1); exit 1; }; }
3350 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3351 if test "x$LINE" != x
; then
3352 eval "DEFAULT_$LINE"
3357 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3361 eval "$ac_cv_use_odbc"
3362 if test "$no_cache" != 1; then
3363 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3366 if test "$wxUSE_ODBC" = yes; then
3367 echo "$as_me:$LINENO: result: yes" >&5
3368 echo "${ECHO_T}yes" >&6
3369 elif test "$wxUSE_ODBC" = no
; then
3370 echo "$as_me:$LINENO: result: no" >&5
3371 echo "${ECHO_T}no" >&6
3372 elif test "$wxUSE_ODBC" = sys
; then
3373 echo "$as_me:$LINENO: result: system version" >&5
3374 echo "${ECHO_T}system version" >&6
3375 elif test "$wxUSE_ODBC" = builtin; then
3376 echo "$as_me:$LINENO: result: builtin version" >&5
3377 echo "${ECHO_T}builtin version" >&6
3379 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3380 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3381 { (exit 1); exit 1; }; }
3385 echo "$as_me:$LINENO: checking for --with-expat" >&5
3386 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3389 # Check whether --with-expat or --without-expat was given.
3390 if test "${with_expat+set}" = set; then
3391 withval
="$with_expat"
3393 if test "$withval" = yes; then
3394 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3395 elif test "$withval" = no
; then
3396 ac_cv_use_expat
='wxUSE_EXPAT=no'
3397 elif test "$withval" = sys
; then
3398 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3399 elif test "$withval" = builtin; then
3400 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3402 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3403 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3404 { (exit 1); exit 1; }; }
3409 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3410 if test "x$LINE" != x
; then
3411 eval "DEFAULT_$LINE"
3416 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3420 eval "$ac_cv_use_expat"
3421 if test "$no_cache" != 1; then
3422 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3425 if test "$wxUSE_EXPAT" = yes; then
3426 echo "$as_me:$LINENO: result: yes" >&5
3427 echo "${ECHO_T}yes" >&6
3428 elif test "$wxUSE_EXPAT" = no
; then
3429 echo "$as_me:$LINENO: result: no" >&5
3430 echo "${ECHO_T}no" >&6
3431 elif test "$wxUSE_EXPAT" = sys
; then
3432 echo "$as_me:$LINENO: result: system version" >&5
3433 echo "${ECHO_T}system version" >&6
3434 elif test "$wxUSE_EXPAT" = builtin; then
3435 echo "$as_me:$LINENO: result: builtin version" >&5
3436 echo "${ECHO_T}builtin version" >&6
3438 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3439 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3440 { (exit 1); exit 1; }; }
3447 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3448 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3450 # Check whether --enable-shared or --disable-shared was given.
3451 if test "${enable_shared+set}" = set; then
3452 enableval
="$enable_shared"
3454 if test "$enableval" = yes; then
3455 ac_cv_use_shared
='wxUSE_SHARED=yes'
3457 ac_cv_use_shared
='wxUSE_SHARED=no'
3462 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3463 if test "x$LINE" != x
; then
3464 eval "DEFAULT_$LINE"
3469 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3473 eval "$ac_cv_use_shared"
3474 if test "$no_cache" != 1; then
3475 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3478 if test "$wxUSE_SHARED" = yes; then
3479 echo "$as_me:$LINENO: result: yes" >&5
3480 echo "${ECHO_T}yes" >&6
3482 echo "$as_me:$LINENO: result: no" >&5
3483 echo "${ECHO_T}no" >&6
3488 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3489 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3491 # Check whether --enable-optimise or --disable-optimise was given.
3492 if test "${enable_optimise+set}" = set; then
3493 enableval
="$enable_optimise"
3495 if test "$enableval" = yes; then
3496 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3498 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3503 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3504 if test "x$LINE" != x
; then
3505 eval "DEFAULT_$LINE"
3510 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3514 eval "$ac_cv_use_optimise"
3515 if test "$no_cache" != 1; then
3516 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3519 if test "$wxUSE_OPTIMISE" = yes; then
3520 echo "$as_me:$LINENO: result: yes" >&5
3521 echo "${ECHO_T}yes" >&6
3523 echo "$as_me:$LINENO: result: no" >&5
3524 echo "${ECHO_T}no" >&6
3529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3530 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3532 # Check whether --enable-debug or --disable-debug was given.
3533 if test "${enable_debug+set}" = set; then
3534 enableval
="$enable_debug"
3536 if test "$enableval" = yes; then
3537 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3539 ac_cv_use_debug
='wxUSE_DEBUG=no'
3544 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3545 if test "x$LINE" != x
; then
3546 eval "DEFAULT_$LINE"
3551 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3555 eval "$ac_cv_use_debug"
3556 if test "$no_cache" != 1; then
3557 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3560 if test "$wxUSE_DEBUG" = yes; then
3561 echo "$as_me:$LINENO: result: yes" >&5
3562 echo "${ECHO_T}yes" >&6
3564 echo "$as_me:$LINENO: result: no" >&5
3565 echo "${ECHO_T}no" >&6
3570 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3571 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3573 # Check whether --enable-stl or --disable-stl was given.
3574 if test "${enable_stl+set}" = set; then
3575 enableval
="$enable_stl"
3577 if test "$enableval" = yes; then
3578 ac_cv_use_stl
='wxUSE_STL=yes'
3580 ac_cv_use_stl
='wxUSE_STL=no'
3585 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3586 if test "x$LINE" != x
; then
3587 eval "DEFAULT_$LINE"
3592 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3596 eval "$ac_cv_use_stl"
3597 if test "$no_cache" != 1; then
3598 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3601 if test "$wxUSE_STL" = yes; then
3602 echo "$as_me:$LINENO: result: yes" >&5
3603 echo "${ECHO_T}yes" >&6
3605 echo "$as_me:$LINENO: result: no" >&5
3606 echo "${ECHO_T}no" >&6
3609 if test "$USE_OS2" = "1"; then
3610 DEFAULT_wxUSE_OMF
=no
3613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3614 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3616 # Check whether --enable-omf or --disable-omf was given.
3617 if test "${enable_omf+set}" = set; then
3618 enableval
="$enable_omf"
3620 if test "$enableval" = yes; then
3621 ac_cv_use_omf
='wxUSE_OMF=yes'
3623 ac_cv_use_omf
='wxUSE_OMF=no'
3628 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3629 if test "x$LINE" != x
; then
3630 eval "DEFAULT_$LINE"
3635 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3639 eval "$ac_cv_use_omf"
3640 if test "$no_cache" != 1; then
3641 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3644 if test "$wxUSE_OMF" = yes; then
3645 echo "$as_me:$LINENO: result: yes" >&5
3646 echo "${ECHO_T}yes" >&6
3648 echo "$as_me:$LINENO: result: no" >&5
3649 echo "${ECHO_T}no" >&6
3654 if test "$wxUSE_DEBUG" = "yes"; then
3655 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3656 DEFAULT_wxUSE_DEBUG_INFO
=yes
3658 elif test "$wxUSE_DEBUG" = "no"; then
3659 DEFAULT_wxUSE_DEBUG_FLAG
=no
3660 DEFAULT_wxUSE_DEBUG_INFO
=no
3666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3667 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3669 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3670 if test "${enable_debug_flag+set}" = set; then
3671 enableval
="$enable_debug_flag"
3673 if test "$enableval" = yes; then
3674 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3676 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3681 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3682 if test "x$LINE" != x
; then
3683 eval "DEFAULT_$LINE"
3688 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3692 eval "$ac_cv_use_debug_flag"
3693 if test "$no_cache" != 1; then
3694 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3697 if test "$wxUSE_DEBUG_FLAG" = yes; then
3698 echo "$as_me:$LINENO: result: yes" >&5
3699 echo "${ECHO_T}yes" >&6
3701 echo "$as_me:$LINENO: result: no" >&5
3702 echo "${ECHO_T}no" >&6
3707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3708 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3710 # Check whether --enable-debug_info or --disable-debug_info was given.
3711 if test "${enable_debug_info+set}" = set; then
3712 enableval
="$enable_debug_info"
3714 if test "$enableval" = yes; then
3715 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3717 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3722 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3723 if test "x$LINE" != x
; then
3724 eval "DEFAULT_$LINE"
3729 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3733 eval "$ac_cv_use_debug_info"
3734 if test "$no_cache" != 1; then
3735 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3738 if test "$wxUSE_DEBUG_INFO" = yes; then
3739 echo "$as_me:$LINENO: result: yes" >&5
3740 echo "${ECHO_T}yes" >&6
3742 echo "$as_me:$LINENO: result: no" >&5
3743 echo "${ECHO_T}no" >&6
3748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3749 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3751 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3752 if test "${enable_debug_gdb+set}" = set; then
3753 enableval
="$enable_debug_gdb"
3755 if test "$enableval" = yes; then
3756 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3758 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3763 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3764 if test "x$LINE" != x
; then
3765 eval "DEFAULT_$LINE"
3770 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3774 eval "$ac_cv_use_debug_gdb"
3775 if test "$no_cache" != 1; then
3776 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3779 if test "$wxUSE_DEBUG_GDB" = yes; then
3780 echo "$as_me:$LINENO: result: yes" >&5
3781 echo "${ECHO_T}yes" >&6
3783 echo "$as_me:$LINENO: result: no" >&5
3784 echo "${ECHO_T}no" >&6
3789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3790 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3792 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3793 if test "${enable_debug_cntxt+set}" = set; then
3794 enableval
="$enable_debug_cntxt"
3796 if test "$enableval" = yes; then
3797 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3799 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3804 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3805 if test "x$LINE" != x
; then
3806 eval "DEFAULT_$LINE"
3811 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3815 eval "$ac_cv_use_debug_cntxt"
3816 if test "$no_cache" != 1; then
3817 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3820 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3821 echo "$as_me:$LINENO: result: yes" >&5
3822 echo "${ECHO_T}yes" >&6
3824 echo "$as_me:$LINENO: result: no" >&5
3825 echo "${ECHO_T}no" >&6
3830 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3831 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3833 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3834 if test "${enable_mem_tracing+set}" = set; then
3835 enableval
="$enable_mem_tracing"
3837 if test "$enableval" = yes; then
3838 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3840 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3845 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3846 if test "x$LINE" != x
; then
3847 eval "DEFAULT_$LINE"
3852 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3856 eval "$ac_cv_use_mem_tracing"
3857 if test "$no_cache" != 1; then
3858 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3861 if test "$wxUSE_MEM_TRACING" = yes; then
3862 echo "$as_me:$LINENO: result: yes" >&5
3863 echo "${ECHO_T}yes" >&6
3865 echo "$as_me:$LINENO: result: no" >&5
3866 echo "${ECHO_T}no" >&6
3871 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3872 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3874 # Check whether --enable-profile or --disable-profile was given.
3875 if test "${enable_profile+set}" = set; then
3876 enableval
="$enable_profile"
3878 if test "$enableval" = yes; then
3879 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3881 ac_cv_use_profile
='wxUSE_PROFILE=no'
3886 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3887 if test "x$LINE" != x
; then
3888 eval "DEFAULT_$LINE"
3893 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3897 eval "$ac_cv_use_profile"
3898 if test "$no_cache" != 1; then
3899 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3902 if test "$wxUSE_PROFILE" = yes; then
3903 echo "$as_me:$LINENO: result: yes" >&5
3904 echo "${ECHO_T}yes" >&6
3906 echo "$as_me:$LINENO: result: no" >&5
3907 echo "${ECHO_T}no" >&6
3912 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3913 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3915 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3916 if test "${enable_no_rtti+set}" = set; then
3917 enableval
="$enable_no_rtti"
3919 if test "$enableval" = yes; then
3920 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3922 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3927 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3928 if test "x$LINE" != x
; then
3929 eval "DEFAULT_$LINE"
3934 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3938 eval "$ac_cv_use_no_rtti"
3939 if test "$no_cache" != 1; then
3940 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3943 if test "$wxUSE_NO_RTTI" = yes; then
3944 echo "$as_me:$LINENO: result: yes" >&5
3945 echo "${ECHO_T}yes" >&6
3947 echo "$as_me:$LINENO: result: no" >&5
3948 echo "${ECHO_T}no" >&6
3953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3954 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3956 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3957 if test "${enable_no_exceptions+set}" = set; then
3958 enableval
="$enable_no_exceptions"
3960 if test "$enableval" = yes; then
3961 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3963 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3968 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3969 if test "x$LINE" != x
; then
3970 eval "DEFAULT_$LINE"
3975 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3979 eval "$ac_cv_use_no_exceptions"
3980 if test "$no_cache" != 1; then
3981 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3984 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3985 echo "$as_me:$LINENO: result: yes" >&5
3986 echo "${ECHO_T}yes" >&6
3988 echo "$as_me:$LINENO: result: no" >&5
3989 echo "${ECHO_T}no" >&6
3994 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3995 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3997 # Check whether --enable-permissive or --disable-permissive was given.
3998 if test "${enable_permissive+set}" = set; then
3999 enableval
="$enable_permissive"
4001 if test "$enableval" = yes; then
4002 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4004 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4009 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4010 if test "x$LINE" != x
; then
4011 eval "DEFAULT_$LINE"
4016 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4020 eval "$ac_cv_use_permissive"
4021 if test "$no_cache" != 1; then
4022 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4025 if test "$wxUSE_PERMISSIVE" = yes; then
4026 echo "$as_me:$LINENO: result: yes" >&5
4027 echo "${ECHO_T}yes" >&6
4029 echo "$as_me:$LINENO: result: no" >&5
4030 echo "${ECHO_T}no" >&6
4035 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4036 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4038 # Check whether --enable-no_deps or --disable-no_deps was given.
4039 if test "${enable_no_deps+set}" = set; then
4040 enableval
="$enable_no_deps"
4042 if test "$enableval" = yes; then
4043 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4045 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4050 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4051 if test "x$LINE" != x
; then
4052 eval "DEFAULT_$LINE"
4057 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4061 eval "$ac_cv_use_no_deps"
4062 if test "$no_cache" != 1; then
4063 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4066 if test "$wxUSE_NO_DEPS" = yes; then
4067 echo "$as_me:$LINENO: result: yes" >&5
4068 echo "${ECHO_T}yes" >&6
4070 echo "$as_me:$LINENO: result: no" >&5
4071 echo "${ECHO_T}no" >&6
4077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4078 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4080 # Check whether --enable-compat22 or --disable-compat22 was given.
4081 if test "${enable_compat22+set}" = set; then
4082 enableval
="$enable_compat22"
4084 if test "$enableval" = yes; then
4085 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4087 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4092 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4093 if test "x$LINE" != x
; then
4094 eval "DEFAULT_$LINE"
4099 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4103 eval "$ac_cv_use_compat22"
4104 if test "$no_cache" != 1; then
4105 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4108 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4109 echo "$as_me:$LINENO: result: yes" >&5
4110 echo "${ECHO_T}yes" >&6
4112 echo "$as_me:$LINENO: result: no" >&5
4113 echo "${ECHO_T}no" >&6
4117 enablestring
=disable
4118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4119 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4121 # Check whether --enable-compat24 or --disable-compat24 was given.
4122 if test "${enable_compat24+set}" = set; then
4123 enableval
="$enable_compat24"
4125 if test "$enableval" = yes; then
4126 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4128 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4133 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4134 if test "x$LINE" != x
; then
4135 eval "DEFAULT_$LINE"
4140 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4144 eval "$ac_cv_use_compat24"
4145 if test "$no_cache" != 1; then
4146 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4149 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4150 echo "$as_me:$LINENO: result: yes" >&5
4151 echo "${ECHO_T}yes" >&6
4153 echo "$as_me:$LINENO: result: no" >&5
4154 echo "${ECHO_T}no" >&6
4160 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4161 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4163 # Check whether --enable-rpath or --disable-rpath was given.
4164 if test "${enable_rpath+set}" = set; then
4165 enableval
="$enable_rpath"
4167 if test "$enableval" = yes; then
4168 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4170 ac_cv_use_rpath
='wxUSE_RPATH=no'
4175 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4176 if test "x$LINE" != x
; then
4177 eval "DEFAULT_$LINE"
4182 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4186 eval "$ac_cv_use_rpath"
4187 if test "$no_cache" != 1; then
4188 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4191 if test "$wxUSE_RPATH" = yes; then
4192 echo "$as_me:$LINENO: result: yes" >&5
4193 echo "${ECHO_T}yes" >&6
4195 echo "$as_me:$LINENO: result: no" >&5
4196 echo "${ECHO_T}no" >&6
4204 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4205 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4207 # Check whether --enable-intl or --disable-intl was given.
4208 if test "${enable_intl+set}" = set; then
4209 enableval
="$enable_intl"
4211 if test "$enableval" = yes; then
4212 ac_cv_use_intl
='wxUSE_INTL=yes'
4214 ac_cv_use_intl
='wxUSE_INTL=no'
4219 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4220 if test "x$LINE" != x
; then
4221 eval "DEFAULT_$LINE"
4226 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4230 eval "$ac_cv_use_intl"
4231 if test "$no_cache" != 1; then
4232 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4235 if test "$wxUSE_INTL" = yes; then
4236 echo "$as_me:$LINENO: result: yes" >&5
4237 echo "${ECHO_T}yes" >&6
4239 echo "$as_me:$LINENO: result: no" >&5
4240 echo "${ECHO_T}no" >&6
4245 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4246 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4248 # Check whether --enable-config or --disable-config was given.
4249 if test "${enable_config+set}" = set; then
4250 enableval
="$enable_config"
4252 if test "$enableval" = yes; then
4253 ac_cv_use_config
='wxUSE_CONFIG=yes'
4255 ac_cv_use_config
='wxUSE_CONFIG=no'
4260 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4261 if test "x$LINE" != x
; then
4262 eval "DEFAULT_$LINE"
4267 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4271 eval "$ac_cv_use_config"
4272 if test "$no_cache" != 1; then
4273 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4276 if test "$wxUSE_CONFIG" = yes; then
4277 echo "$as_me:$LINENO: result: yes" >&5
4278 echo "${ECHO_T}yes" >&6
4280 echo "$as_me:$LINENO: result: no" >&5
4281 echo "${ECHO_T}no" >&6
4287 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4288 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4290 # Check whether --enable-protocols or --disable-protocols was given.
4291 if test "${enable_protocols+set}" = set; then
4292 enableval
="$enable_protocols"
4294 if test "$enableval" = yes; then
4295 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4297 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4302 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4303 if test "x$LINE" != x
; then
4304 eval "DEFAULT_$LINE"
4309 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4313 eval "$ac_cv_use_protocols"
4314 if test "$no_cache" != 1; then
4315 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4318 if test "$wxUSE_PROTOCOL" = yes; then
4319 echo "$as_me:$LINENO: result: yes" >&5
4320 echo "${ECHO_T}yes" >&6
4322 echo "$as_me:$LINENO: result: no" >&5
4323 echo "${ECHO_T}no" >&6
4328 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4329 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4331 # Check whether --enable-ftp or --disable-ftp was given.
4332 if test "${enable_ftp+set}" = set; then
4333 enableval
="$enable_ftp"
4335 if test "$enableval" = yes; then
4336 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4338 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4343 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4344 if test "x$LINE" != x
; then
4345 eval "DEFAULT_$LINE"
4350 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4354 eval "$ac_cv_use_ftp"
4355 if test "$no_cache" != 1; then
4356 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4359 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4360 echo "$as_me:$LINENO: result: yes" >&5
4361 echo "${ECHO_T}yes" >&6
4363 echo "$as_me:$LINENO: result: no" >&5
4364 echo "${ECHO_T}no" >&6
4369 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4370 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4372 # Check whether --enable-http or --disable-http was given.
4373 if test "${enable_http+set}" = set; then
4374 enableval
="$enable_http"
4376 if test "$enableval" = yes; then
4377 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4379 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4384 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4385 if test "x$LINE" != x
; then
4386 eval "DEFAULT_$LINE"
4391 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4395 eval "$ac_cv_use_http"
4396 if test "$no_cache" != 1; then
4397 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4400 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4401 echo "$as_me:$LINENO: result: yes" >&5
4402 echo "${ECHO_T}yes" >&6
4404 echo "$as_me:$LINENO: result: no" >&5
4405 echo "${ECHO_T}no" >&6
4410 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4411 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4413 # Check whether --enable-fileproto or --disable-fileproto was given.
4414 if test "${enable_fileproto+set}" = set; then
4415 enableval
="$enable_fileproto"
4417 if test "$enableval" = yes; then
4418 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4420 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4425 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4426 if test "x$LINE" != x
; then
4427 eval "DEFAULT_$LINE"
4432 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4436 eval "$ac_cv_use_fileproto"
4437 if test "$no_cache" != 1; then
4438 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4441 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4442 echo "$as_me:$LINENO: result: yes" >&5
4443 echo "${ECHO_T}yes" >&6
4445 echo "$as_me:$LINENO: result: no" >&5
4446 echo "${ECHO_T}no" >&6
4451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4452 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4454 # Check whether --enable-sockets or --disable-sockets was given.
4455 if test "${enable_sockets+set}" = set; then
4456 enableval
="$enable_sockets"
4458 if test "$enableval" = yes; then
4459 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4461 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4466 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4467 if test "x$LINE" != x
; then
4468 eval "DEFAULT_$LINE"
4473 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4477 eval "$ac_cv_use_sockets"
4478 if test "$no_cache" != 1; then
4479 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4482 if test "$wxUSE_SOCKETS" = yes; then
4483 echo "$as_me:$LINENO: result: yes" >&5
4484 echo "${ECHO_T}yes" >&6
4486 echo "$as_me:$LINENO: result: no" >&5
4487 echo "${ECHO_T}no" >&6
4492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4493 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4495 # Check whether --enable-ole or --disable-ole was given.
4496 if test "${enable_ole+set}" = set; then
4497 enableval
="$enable_ole"
4499 if test "$enableval" = yes; then
4500 ac_cv_use_ole
='wxUSE_OLE=yes'
4502 ac_cv_use_ole
='wxUSE_OLE=no'
4507 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4508 if test "x$LINE" != x
; then
4509 eval "DEFAULT_$LINE"
4514 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4518 eval "$ac_cv_use_ole"
4519 if test "$no_cache" != 1; then
4520 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4523 if test "$wxUSE_OLE" = yes; then
4524 echo "$as_me:$LINENO: result: yes" >&5
4525 echo "${ECHO_T}yes" >&6
4527 echo "$as_me:$LINENO: result: no" >&5
4528 echo "${ECHO_T}no" >&6
4533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4534 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4536 # Check whether --enable-dataobj or --disable-dataobj was given.
4537 if test "${enable_dataobj+set}" = set; then
4538 enableval
="$enable_dataobj"
4540 if test "$enableval" = yes; then
4541 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4543 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4548 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4549 if test "x$LINE" != x
; then
4550 eval "DEFAULT_$LINE"
4555 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4559 eval "$ac_cv_use_dataobj"
4560 if test "$no_cache" != 1; then
4561 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4564 if test "$wxUSE_DATAOBJ" = yes; then
4565 echo "$as_me:$LINENO: result: yes" >&5
4566 echo "${ECHO_T}yes" >&6
4568 echo "$as_me:$LINENO: result: no" >&5
4569 echo "${ECHO_T}no" >&6
4575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4576 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4578 # Check whether --enable-ipc or --disable-ipc was given.
4579 if test "${enable_ipc+set}" = set; then
4580 enableval
="$enable_ipc"
4582 if test "$enableval" = yes; then
4583 ac_cv_use_ipc
='wxUSE_IPC=yes'
4585 ac_cv_use_ipc
='wxUSE_IPC=no'
4590 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4591 if test "x$LINE" != x
; then
4592 eval "DEFAULT_$LINE"
4597 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4601 eval "$ac_cv_use_ipc"
4602 if test "$no_cache" != 1; then
4603 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4606 if test "$wxUSE_IPC" = yes; then
4607 echo "$as_me:$LINENO: result: yes" >&5
4608 echo "${ECHO_T}yes" >&6
4610 echo "$as_me:$LINENO: result: no" >&5
4611 echo "${ECHO_T}no" >&6
4617 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4618 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4620 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4621 if test "${enable_apple_ieee+set}" = set; then
4622 enableval
="$enable_apple_ieee"
4624 if test "$enableval" = yes; then
4625 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4627 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4632 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4633 if test "x$LINE" != x
; then
4634 eval "DEFAULT_$LINE"
4639 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4643 eval "$ac_cv_use_apple_ieee"
4644 if test "$no_cache" != 1; then
4645 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4648 if test "$wxUSE_APPLE_IEEE" = yes; then
4649 echo "$as_me:$LINENO: result: yes" >&5
4650 echo "${ECHO_T}yes" >&6
4652 echo "$as_me:$LINENO: result: no" >&5
4653 echo "${ECHO_T}no" >&6
4658 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4659 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4661 # Check whether --enable-arcstream or --disable-arcstream was given.
4662 if test "${enable_arcstream+set}" = set; then
4663 enableval
="$enable_arcstream"
4665 if test "$enableval" = yes; then
4666 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
4668 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
4673 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4674 if test "x$LINE" != x
; then
4675 eval "DEFAULT_$LINE"
4680 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4684 eval "$ac_cv_use_arcstream"
4685 if test "$no_cache" != 1; then
4686 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4689 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4690 echo "$as_me:$LINENO: result: yes" >&5
4691 echo "${ECHO_T}yes" >&6
4693 echo "$as_me:$LINENO: result: no" >&5
4694 echo "${ECHO_T}no" >&6
4699 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4700 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4702 # Check whether --enable-backtrace or --disable-backtrace was given.
4703 if test "${enable_backtrace+set}" = set; then
4704 enableval
="$enable_backtrace"
4706 if test "$enableval" = yes; then
4707 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
4709 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
4714 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4715 if test "x$LINE" != x
; then
4716 eval "DEFAULT_$LINE"
4721 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4725 eval "$ac_cv_use_backtrace"
4726 if test "$no_cache" != 1; then
4727 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4730 if test "$wxUSE_STACKWALKER" = yes; then
4731 echo "$as_me:$LINENO: result: yes" >&5
4732 echo "${ECHO_T}yes" >&6
4734 echo "$as_me:$LINENO: result: no" >&5
4735 echo "${ECHO_T}no" >&6
4740 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4741 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4743 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4744 if test "${enable_catch_segvs+set}" = set; then
4745 enableval
="$enable_catch_segvs"
4747 if test "$enableval" = yes; then
4748 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4750 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4755 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4756 if test "x$LINE" != x
; then
4757 eval "DEFAULT_$LINE"
4762 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4766 eval "$ac_cv_use_catch_segvs"
4767 if test "$no_cache" != 1; then
4768 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4771 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4772 echo "$as_me:$LINENO: result: yes" >&5
4773 echo "${ECHO_T}yes" >&6
4775 echo "$as_me:$LINENO: result: no" >&5
4776 echo "${ECHO_T}no" >&6
4781 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4782 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4784 # Check whether --enable-cmdline or --disable-cmdline was given.
4785 if test "${enable_cmdline+set}" = set; then
4786 enableval
="$enable_cmdline"
4788 if test "$enableval" = yes; then
4789 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4791 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4796 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4797 if test "x$LINE" != x
; then
4798 eval "DEFAULT_$LINE"
4803 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4807 eval "$ac_cv_use_cmdline"
4808 if test "$no_cache" != 1; then
4809 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4812 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4813 echo "$as_me:$LINENO: result: yes" >&5
4814 echo "${ECHO_T}yes" >&6
4816 echo "$as_me:$LINENO: result: no" >&5
4817 echo "${ECHO_T}no" >&6
4822 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4823 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4825 # Check whether --enable-datetime or --disable-datetime was given.
4826 if test "${enable_datetime+set}" = set; then
4827 enableval
="$enable_datetime"
4829 if test "$enableval" = yes; then
4830 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4832 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4837 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4838 if test "x$LINE" != x
; then
4839 eval "DEFAULT_$LINE"
4844 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4848 eval "$ac_cv_use_datetime"
4849 if test "$no_cache" != 1; then
4850 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4853 if test "$wxUSE_DATETIME" = yes; then
4854 echo "$as_me:$LINENO: result: yes" >&5
4855 echo "${ECHO_T}yes" >&6
4857 echo "$as_me:$LINENO: result: no" >&5
4858 echo "${ECHO_T}no" >&6
4863 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4864 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4866 # Check whether --enable-debugreport or --disable-debugreport was given.
4867 if test "${enable_debugreport+set}" = set; then
4868 enableval
="$enable_debugreport"
4870 if test "$enableval" = yes; then
4871 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
4873 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
4878 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4879 if test "x$LINE" != x
; then
4880 eval "DEFAULT_$LINE"
4885 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
4889 eval "$ac_cv_use_debugreport"
4890 if test "$no_cache" != 1; then
4891 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4894 if test "$wxUSE_DEBUGREPORT" = yes; then
4895 echo "$as_me:$LINENO: result: yes" >&5
4896 echo "${ECHO_T}yes" >&6
4898 echo "$as_me:$LINENO: result: no" >&5
4899 echo "${ECHO_T}no" >&6
4904 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4905 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4907 # Check whether --enable-dialupman or --disable-dialupman was given.
4908 if test "${enable_dialupman+set}" = set; then
4909 enableval
="$enable_dialupman"
4911 if test "$enableval" = yes; then
4912 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4914 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4919 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4920 if test "x$LINE" != x
; then
4921 eval "DEFAULT_$LINE"
4926 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4930 eval "$ac_cv_use_dialupman"
4931 if test "$no_cache" != 1; then
4932 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4935 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4936 echo "$as_me:$LINENO: result: yes" >&5
4937 echo "${ECHO_T}yes" >&6
4939 echo "$as_me:$LINENO: result: no" >&5
4940 echo "${ECHO_T}no" >&6
4945 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4946 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4948 # Check whether --enable-dynlib or --disable-dynlib was given.
4949 if test "${enable_dynlib+set}" = set; then
4950 enableval
="$enable_dynlib"
4952 if test "$enableval" = yes; then
4953 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4955 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4960 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4961 if test "x$LINE" != x
; then
4962 eval "DEFAULT_$LINE"
4967 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4971 eval "$ac_cv_use_dynlib"
4972 if test "$no_cache" != 1; then
4973 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4976 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4977 echo "$as_me:$LINENO: result: yes" >&5
4978 echo "${ECHO_T}yes" >&6
4980 echo "$as_me:$LINENO: result: no" >&5
4981 echo "${ECHO_T}no" >&6
4986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4987 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4989 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4990 if test "${enable_dynamicloader+set}" = set; then
4991 enableval
="$enable_dynamicloader"
4993 if test "$enableval" = yes; then
4994 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4996 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5001 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5002 if test "x$LINE" != x
; then
5003 eval "DEFAULT_$LINE"
5008 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5012 eval "$ac_cv_use_dynamicloader"
5013 if test "$no_cache" != 1; then
5014 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5017 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5018 echo "$as_me:$LINENO: result: yes" >&5
5019 echo "${ECHO_T}yes" >&6
5021 echo "$as_me:$LINENO: result: no" >&5
5022 echo "${ECHO_T}no" >&6
5027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5028 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5030 # Check whether --enable-exceptions or --disable-exceptions was given.
5031 if test "${enable_exceptions+set}" = set; then
5032 enableval
="$enable_exceptions"
5034 if test "$enableval" = yes; then
5035 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5037 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5042 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5043 if test "x$LINE" != x
; then
5044 eval "DEFAULT_$LINE"
5049 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5053 eval "$ac_cv_use_exceptions"
5054 if test "$no_cache" != 1; then
5055 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5058 if test "$wxUSE_EXCEPTIONS" = yes; then
5059 echo "$as_me:$LINENO: result: yes" >&5
5060 echo "${ECHO_T}yes" >&6
5062 echo "$as_me:$LINENO: result: no" >&5
5063 echo "${ECHO_T}no" >&6
5068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5069 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5071 # Check whether --enable-ffile or --disable-ffile was given.
5072 if test "${enable_ffile+set}" = set; then
5073 enableval
="$enable_ffile"
5075 if test "$enableval" = yes; then
5076 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5078 ac_cv_use_ffile
='wxUSE_FFILE=no'
5083 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5084 if test "x$LINE" != x
; then
5085 eval "DEFAULT_$LINE"
5090 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5094 eval "$ac_cv_use_ffile"
5095 if test "$no_cache" != 1; then
5096 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5099 if test "$wxUSE_FFILE" = yes; then
5100 echo "$as_me:$LINENO: result: yes" >&5
5101 echo "${ECHO_T}yes" >&6
5103 echo "$as_me:$LINENO: result: no" >&5
5104 echo "${ECHO_T}no" >&6
5109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5110 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5112 # Check whether --enable-file or --disable-file was given.
5113 if test "${enable_file+set}" = set; then
5114 enableval
="$enable_file"
5116 if test "$enableval" = yes; then
5117 ac_cv_use_file
='wxUSE_FILE=yes'
5119 ac_cv_use_file
='wxUSE_FILE=no'
5124 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5125 if test "x$LINE" != x
; then
5126 eval "DEFAULT_$LINE"
5131 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5135 eval "$ac_cv_use_file"
5136 if test "$no_cache" != 1; then
5137 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5140 if test "$wxUSE_FILE" = yes; then
5141 echo "$as_me:$LINENO: result: yes" >&5
5142 echo "${ECHO_T}yes" >&6
5144 echo "$as_me:$LINENO: result: no" >&5
5145 echo "${ECHO_T}no" >&6
5150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5151 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5153 # Check whether --enable-filesystem or --disable-filesystem was given.
5154 if test "${enable_filesystem+set}" = set; then
5155 enableval
="$enable_filesystem"
5157 if test "$enableval" = yes; then
5158 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5160 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5165 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5166 if test "x$LINE" != x
; then
5167 eval "DEFAULT_$LINE"
5172 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5176 eval "$ac_cv_use_filesystem"
5177 if test "$no_cache" != 1; then
5178 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5181 if test "$wxUSE_FILESYSTEM" = yes; then
5182 echo "$as_me:$LINENO: result: yes" >&5
5183 echo "${ECHO_T}yes" >&6
5185 echo "$as_me:$LINENO: result: no" >&5
5186 echo "${ECHO_T}no" >&6
5191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5192 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5194 # Check whether --enable-fontmap or --disable-fontmap was given.
5195 if test "${enable_fontmap+set}" = set; then
5196 enableval
="$enable_fontmap"
5198 if test "$enableval" = yes; then
5199 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5201 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5206 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5207 if test "x$LINE" != x
; then
5208 eval "DEFAULT_$LINE"
5213 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5217 eval "$ac_cv_use_fontmap"
5218 if test "$no_cache" != 1; then
5219 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5222 if test "$wxUSE_FONTMAP" = yes; then
5223 echo "$as_me:$LINENO: result: yes" >&5
5224 echo "${ECHO_T}yes" >&6
5226 echo "$as_me:$LINENO: result: no" >&5
5227 echo "${ECHO_T}no" >&6
5232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5233 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5235 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5236 if test "${enable_fs_inet+set}" = set; then
5237 enableval
="$enable_fs_inet"
5239 if test "$enableval" = yes; then
5240 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5242 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5247 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5248 if test "x$LINE" != x
; then
5249 eval "DEFAULT_$LINE"
5254 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5258 eval "$ac_cv_use_fs_inet"
5259 if test "$no_cache" != 1; then
5260 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5263 if test "$wxUSE_FS_INET" = yes; then
5264 echo "$as_me:$LINENO: result: yes" >&5
5265 echo "${ECHO_T}yes" >&6
5267 echo "$as_me:$LINENO: result: no" >&5
5268 echo "${ECHO_T}no" >&6
5273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5274 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5276 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5277 if test "${enable_fs_zip+set}" = set; then
5278 enableval
="$enable_fs_zip"
5280 if test "$enableval" = yes; then
5281 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5283 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5288 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5289 if test "x$LINE" != x
; then
5290 eval "DEFAULT_$LINE"
5295 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5299 eval "$ac_cv_use_fs_zip"
5300 if test "$no_cache" != 1; then
5301 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5304 if test "$wxUSE_FS_ZIP" = yes; then
5305 echo "$as_me:$LINENO: result: yes" >&5
5306 echo "${ECHO_T}yes" >&6
5308 echo "$as_me:$LINENO: result: no" >&5
5309 echo "${ECHO_T}no" >&6
5314 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5315 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5317 # Check whether --enable-geometry or --disable-geometry was given.
5318 if test "${enable_geometry+set}" = set; then
5319 enableval
="$enable_geometry"
5321 if test "$enableval" = yes; then
5322 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5324 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5329 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5330 if test "x$LINE" != x
; then
5331 eval "DEFAULT_$LINE"
5336 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5340 eval "$ac_cv_use_geometry"
5341 if test "$no_cache" != 1; then
5342 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5345 if test "$wxUSE_GEOMETRY" = yes; then
5346 echo "$as_me:$LINENO: result: yes" >&5
5347 echo "${ECHO_T}yes" >&6
5349 echo "$as_me:$LINENO: result: no" >&5
5350 echo "${ECHO_T}no" >&6
5355 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5356 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5358 # Check whether --enable-log or --disable-log was given.
5359 if test "${enable_log+set}" = set; then
5360 enableval
="$enable_log"
5362 if test "$enableval" = yes; then
5363 ac_cv_use_log
='wxUSE_LOG=yes'
5365 ac_cv_use_log
='wxUSE_LOG=no'
5370 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5371 if test "x$LINE" != x
; then
5372 eval "DEFAULT_$LINE"
5377 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5381 eval "$ac_cv_use_log"
5382 if test "$no_cache" != 1; then
5383 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5386 if test "$wxUSE_LOG" = yes; then
5387 echo "$as_me:$LINENO: result: yes" >&5
5388 echo "${ECHO_T}yes" >&6
5390 echo "$as_me:$LINENO: result: no" >&5
5391 echo "${ECHO_T}no" >&6
5396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5397 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5399 # Check whether --enable-longlong or --disable-longlong was given.
5400 if test "${enable_longlong+set}" = set; then
5401 enableval
="$enable_longlong"
5403 if test "$enableval" = yes; then
5404 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5406 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5411 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5412 if test "x$LINE" != x
; then
5413 eval "DEFAULT_$LINE"
5418 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5422 eval "$ac_cv_use_longlong"
5423 if test "$no_cache" != 1; then
5424 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5427 if test "$wxUSE_LONGLONG" = yes; then
5428 echo "$as_me:$LINENO: result: yes" >&5
5429 echo "${ECHO_T}yes" >&6
5431 echo "$as_me:$LINENO: result: no" >&5
5432 echo "${ECHO_T}no" >&6
5437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5438 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5440 # Check whether --enable-mimetype or --disable-mimetype was given.
5441 if test "${enable_mimetype+set}" = set; then
5442 enableval
="$enable_mimetype"
5444 if test "$enableval" = yes; then
5445 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5447 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5452 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5453 if test "x$LINE" != x
; then
5454 eval "DEFAULT_$LINE"
5459 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5463 eval "$ac_cv_use_mimetype"
5464 if test "$no_cache" != 1; then
5465 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5468 if test "$wxUSE_MIMETYPE" = yes; then
5469 echo "$as_me:$LINENO: result: yes" >&5
5470 echo "${ECHO_T}yes" >&6
5472 echo "$as_me:$LINENO: result: no" >&5
5473 echo "${ECHO_T}no" >&6
5478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5479 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5481 # Check whether --enable-mslu or --disable-mslu was given.
5482 if test "${enable_mslu+set}" = set; then
5483 enableval
="$enable_mslu"
5485 if test "$enableval" = yes; then
5486 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5488 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5493 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5494 if test "x$LINE" != x
; then
5495 eval "DEFAULT_$LINE"
5500 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5504 eval "$ac_cv_use_mslu"
5505 if test "$no_cache" != 1; then
5506 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5509 if test "$wxUSE_UNICODE_MSLU" = yes; then
5510 echo "$as_me:$LINENO: result: yes" >&5
5511 echo "${ECHO_T}yes" >&6
5513 echo "$as_me:$LINENO: result: no" >&5
5514 echo "${ECHO_T}no" >&6
5519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5520 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5522 # Check whether --enable-snglinst or --disable-snglinst was given.
5523 if test "${enable_snglinst+set}" = set; then
5524 enableval
="$enable_snglinst"
5526 if test "$enableval" = yes; then
5527 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5529 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5534 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5535 if test "x$LINE" != x
; then
5536 eval "DEFAULT_$LINE"
5541 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5545 eval "$ac_cv_use_snglinst"
5546 if test "$no_cache" != 1; then
5547 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5550 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5551 echo "$as_me:$LINENO: result: yes" >&5
5552 echo "${ECHO_T}yes" >&6
5554 echo "$as_me:$LINENO: result: no" >&5
5555 echo "${ECHO_T}no" >&6
5560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5561 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5563 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5564 if test "${enable_std_iostreams+set}" = set; then
5565 enableval
="$enable_std_iostreams"
5567 if test "$enableval" = yes; then
5568 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5570 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5575 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5576 if test "x$LINE" != x
; then
5577 eval "DEFAULT_$LINE"
5582 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5586 eval "$ac_cv_use_std_iostreams"
5587 if test "$no_cache" != 1; then
5588 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5591 if test "$wxUSE_STD_IOSTREAM" = yes; then
5592 echo "$as_me:$LINENO: result: yes" >&5
5593 echo "${ECHO_T}yes" >&6
5595 echo "$as_me:$LINENO: result: no" >&5
5596 echo "${ECHO_T}no" >&6
5601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5602 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5604 # Check whether --enable-std_string or --disable-std_string was given.
5605 if test "${enable_std_string+set}" = set; then
5606 enableval
="$enable_std_string"
5608 if test "$enableval" = yes; then
5609 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
5611 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
5616 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5617 if test "x$LINE" != x
; then
5618 eval "DEFAULT_$LINE"
5623 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5627 eval "$ac_cv_use_std_string"
5628 if test "$no_cache" != 1; then
5629 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5632 if test "$wxUSE_STD_STRING" = yes; then
5633 echo "$as_me:$LINENO: result: yes" >&5
5634 echo "${ECHO_T}yes" >&6
5636 echo "$as_me:$LINENO: result: no" >&5
5637 echo "${ECHO_T}no" >&6
5642 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5643 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5645 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5646 if test "${enable_stdpaths+set}" = set; then
5647 enableval
="$enable_stdpaths"
5649 if test "$enableval" = yes; then
5650 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
5652 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
5657 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5658 if test "x$LINE" != x
; then
5659 eval "DEFAULT_$LINE"
5664 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5668 eval "$ac_cv_use_stdpaths"
5669 if test "$no_cache" != 1; then
5670 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5673 if test "$wxUSE_STDPATHS" = yes; then
5674 echo "$as_me:$LINENO: result: yes" >&5
5675 echo "${ECHO_T}yes" >&6
5677 echo "$as_me:$LINENO: result: no" >&5
5678 echo "${ECHO_T}no" >&6
5683 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5684 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5686 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5687 if test "${enable_stopwatch+set}" = set; then
5688 enableval
="$enable_stopwatch"
5690 if test "$enableval" = yes; then
5691 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5693 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5698 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5699 if test "x$LINE" != x
; then
5700 eval "DEFAULT_$LINE"
5705 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5709 eval "$ac_cv_use_stopwatch"
5710 if test "$no_cache" != 1; then
5711 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5714 if test "$wxUSE_STOPWATCH" = yes; then
5715 echo "$as_me:$LINENO: result: yes" >&5
5716 echo "${ECHO_T}yes" >&6
5718 echo "$as_me:$LINENO: result: no" >&5
5719 echo "${ECHO_T}no" >&6
5724 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5725 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5727 # Check whether --enable-streams or --disable-streams was given.
5728 if test "${enable_streams+set}" = set; then
5729 enableval
="$enable_streams"
5731 if test "$enableval" = yes; then
5732 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5734 ac_cv_use_streams
='wxUSE_STREAMS=no'
5739 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5740 if test "x$LINE" != x
; then
5741 eval "DEFAULT_$LINE"
5746 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5750 eval "$ac_cv_use_streams"
5751 if test "$no_cache" != 1; then
5752 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5755 if test "$wxUSE_STREAMS" = yes; then
5756 echo "$as_me:$LINENO: result: yes" >&5
5757 echo "${ECHO_T}yes" >&6
5759 echo "$as_me:$LINENO: result: no" >&5
5760 echo "${ECHO_T}no" >&6
5765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5766 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5768 # Check whether --enable-system_options or --disable-system_options was given.
5769 if test "${enable_system_options+set}" = set; then
5770 enableval
="$enable_system_options"
5772 if test "$enableval" = yes; then
5773 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5775 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5780 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5781 if test "x$LINE" != x
; then
5782 eval "DEFAULT_$LINE"
5787 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5791 eval "$ac_cv_use_system_options"
5792 if test "$no_cache" != 1; then
5793 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5796 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5797 echo "$as_me:$LINENO: result: yes" >&5
5798 echo "${ECHO_T}yes" >&6
5800 echo "$as_me:$LINENO: result: no" >&5
5801 echo "${ECHO_T}no" >&6
5806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5807 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5809 # Check whether --enable-textbuf or --disable-textbuf was given.
5810 if test "${enable_textbuf+set}" = set; then
5811 enableval
="$enable_textbuf"
5813 if test "$enableval" = yes; then
5814 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5816 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5821 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5822 if test "x$LINE" != x
; then
5823 eval "DEFAULT_$LINE"
5828 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5832 eval "$ac_cv_use_textbuf"
5833 if test "$no_cache" != 1; then
5834 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5837 if test "$wxUSE_TEXTBUFFER" = yes; then
5838 echo "$as_me:$LINENO: result: yes" >&5
5839 echo "${ECHO_T}yes" >&6
5841 echo "$as_me:$LINENO: result: no" >&5
5842 echo "${ECHO_T}no" >&6
5847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5848 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5850 # Check whether --enable-textfile or --disable-textfile was given.
5851 if test "${enable_textfile+set}" = set; then
5852 enableval
="$enable_textfile"
5854 if test "$enableval" = yes; then
5855 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5857 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5862 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5863 if test "x$LINE" != x
; then
5864 eval "DEFAULT_$LINE"
5869 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5873 eval "$ac_cv_use_textfile"
5874 if test "$no_cache" != 1; then
5875 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5878 if test "$wxUSE_TEXTFILE" = yes; then
5879 echo "$as_me:$LINENO: result: yes" >&5
5880 echo "${ECHO_T}yes" >&6
5882 echo "$as_me:$LINENO: result: no" >&5
5883 echo "${ECHO_T}no" >&6
5888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5889 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5891 # Check whether --enable-timer or --disable-timer was given.
5892 if test "${enable_timer+set}" = set; then
5893 enableval
="$enable_timer"
5895 if test "$enableval" = yes; then
5896 ac_cv_use_timer
='wxUSE_TIMER=yes'
5898 ac_cv_use_timer
='wxUSE_TIMER=no'
5903 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5904 if test "x$LINE" != x
; then
5905 eval "DEFAULT_$LINE"
5910 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5914 eval "$ac_cv_use_timer"
5915 if test "$no_cache" != 1; then
5916 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5919 if test "$wxUSE_TIMER" = yes; then
5920 echo "$as_me:$LINENO: result: yes" >&5
5921 echo "${ECHO_T}yes" >&6
5923 echo "$as_me:$LINENO: result: no" >&5
5924 echo "${ECHO_T}no" >&6
5929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5930 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5932 # Check whether --enable-unicode or --disable-unicode was given.
5933 if test "${enable_unicode+set}" = set; then
5934 enableval
="$enable_unicode"
5936 if test "$enableval" = yes; then
5937 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5939 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5944 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5945 if test "x$LINE" != x
; then
5946 eval "DEFAULT_$LINE"
5951 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5955 eval "$ac_cv_use_unicode"
5956 if test "$no_cache" != 1; then
5957 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5960 if test "$wxUSE_UNICODE" = yes; then
5961 echo "$as_me:$LINENO: result: yes" >&5
5962 echo "${ECHO_T}yes" >&6
5964 echo "$as_me:$LINENO: result: no" >&5
5965 echo "${ECHO_T}no" >&6
5970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5971 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5973 # Check whether --enable-sound or --disable-sound was given.
5974 if test "${enable_sound+set}" = set; then
5975 enableval
="$enable_sound"
5977 if test "$enableval" = yes; then
5978 ac_cv_use_sound
='wxUSE_SOUND=yes'
5980 ac_cv_use_sound
='wxUSE_SOUND=no'
5985 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5986 if test "x$LINE" != x
; then
5987 eval "DEFAULT_$LINE"
5992 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5996 eval "$ac_cv_use_sound"
5997 if test "$no_cache" != 1; then
5998 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6001 if test "$wxUSE_SOUND" = yes; then
6002 echo "$as_me:$LINENO: result: yes" >&5
6003 echo "${ECHO_T}yes" >&6
6005 echo "$as_me:$LINENO: result: no" >&5
6006 echo "${ECHO_T}no" >&6
6011 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6012 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6014 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6015 if test "${enable_mediactrl+set}" = set; then
6016 enableval
="$enable_mediactrl"
6018 if test "$enableval" = yes; then
6019 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6021 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6026 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6027 if test "x$LINE" != x
; then
6028 eval "DEFAULT_$LINE"
6033 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6037 eval "$ac_cv_use_mediactrl"
6038 if test "$no_cache" != 1; then
6039 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6042 if test "$wxUSE_MEDIACTRL" = yes; then
6043 echo "$as_me:$LINENO: result: yes" >&5
6044 echo "${ECHO_T}yes" >&6
6046 echo "$as_me:$LINENO: result: no" >&5
6047 echo "${ECHO_T}no" >&6
6052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6053 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6055 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6056 if test "${enable_wxprintfv+set}" = set; then
6057 enableval
="$enable_wxprintfv"
6059 if test "$enableval" = yes; then
6060 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
6062 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
6067 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6068 if test "x$LINE" != x
; then
6069 eval "DEFAULT_$LINE"
6074 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6078 eval "$ac_cv_use_wxprintfv"
6079 if test "$no_cache" != 1; then
6080 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6083 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6084 echo "$as_me:$LINENO: result: yes" >&5
6085 echo "${ECHO_T}yes" >&6
6087 echo "$as_me:$LINENO: result: no" >&5
6088 echo "${ECHO_T}no" >&6
6093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6094 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6096 # Check whether --enable-zipstream or --disable-zipstream was given.
6097 if test "${enable_zipstream+set}" = set; then
6098 enableval
="$enable_zipstream"
6100 if test "$enableval" = yes; then
6101 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6103 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6108 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6109 if test "x$LINE" != x
; then
6110 eval "DEFAULT_$LINE"
6115 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6119 eval "$ac_cv_use_zipstream"
6120 if test "$no_cache" != 1; then
6121 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6124 if test "$wxUSE_ZIPSTREAM" = yes; then
6125 echo "$as_me:$LINENO: result: yes" >&5
6126 echo "${ECHO_T}yes" >&6
6128 echo "$as_me:$LINENO: result: no" >&5
6129 echo "${ECHO_T}no" >&6
6135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6136 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6138 # Check whether --enable-url or --disable-url was given.
6139 if test "${enable_url+set}" = set; then
6140 enableval
="$enable_url"
6142 if test "$enableval" = yes; then
6143 ac_cv_use_url
='wxUSE_URL=yes'
6145 ac_cv_use_url
='wxUSE_URL=no'
6150 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6151 if test "x$LINE" != x
; then
6152 eval "DEFAULT_$LINE"
6157 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6161 eval "$ac_cv_use_url"
6162 if test "$no_cache" != 1; then
6163 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6166 if test "$wxUSE_URL" = yes; then
6167 echo "$as_me:$LINENO: result: yes" >&5
6168 echo "${ECHO_T}yes" >&6
6170 echo "$as_me:$LINENO: result: no" >&5
6171 echo "${ECHO_T}no" >&6
6176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6177 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6179 # Check whether --enable-protocol or --disable-protocol was given.
6180 if test "${enable_protocol+set}" = set; then
6181 enableval
="$enable_protocol"
6183 if test "$enableval" = yes; then
6184 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6186 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6191 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6192 if test "x$LINE" != x
; then
6193 eval "DEFAULT_$LINE"
6198 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6202 eval "$ac_cv_use_protocol"
6203 if test "$no_cache" != 1; then
6204 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6207 if test "$wxUSE_PROTOCOL" = yes; then
6208 echo "$as_me:$LINENO: result: yes" >&5
6209 echo "${ECHO_T}yes" >&6
6211 echo "$as_me:$LINENO: result: no" >&5
6212 echo "${ECHO_T}no" >&6
6217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6218 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6220 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6221 if test "${enable_protocol_http+set}" = set; then
6222 enableval
="$enable_protocol_http"
6224 if test "$enableval" = yes; then
6225 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6227 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6232 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6233 if test "x$LINE" != x
; then
6234 eval "DEFAULT_$LINE"
6239 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6243 eval "$ac_cv_use_protocol_http"
6244 if test "$no_cache" != 1; then
6245 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6248 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6249 echo "$as_me:$LINENO: result: yes" >&5
6250 echo "${ECHO_T}yes" >&6
6252 echo "$as_me:$LINENO: result: no" >&5
6253 echo "${ECHO_T}no" >&6
6258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6259 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6261 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6262 if test "${enable_protocol_ftp+set}" = set; then
6263 enableval
="$enable_protocol_ftp"
6265 if test "$enableval" = yes; then
6266 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6268 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6273 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6274 if test "x$LINE" != x
; then
6275 eval "DEFAULT_$LINE"
6280 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6284 eval "$ac_cv_use_protocol_ftp"
6285 if test "$no_cache" != 1; then
6286 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6289 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6290 echo "$as_me:$LINENO: result: yes" >&5
6291 echo "${ECHO_T}yes" >&6
6293 echo "$as_me:$LINENO: result: no" >&5
6294 echo "${ECHO_T}no" >&6
6299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6300 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6302 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6303 if test "${enable_protocol_file+set}" = set; then
6304 enableval
="$enable_protocol_file"
6306 if test "$enableval" = yes; then
6307 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6309 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6314 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6315 if test "x$LINE" != x
; then
6316 eval "DEFAULT_$LINE"
6321 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6325 eval "$ac_cv_use_protocol_file"
6326 if test "$no_cache" != 1; then
6327 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6330 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6331 echo "$as_me:$LINENO: result: yes" >&5
6332 echo "${ECHO_T}yes" >&6
6334 echo "$as_me:$LINENO: result: no" >&5
6335 echo "${ECHO_T}no" >&6
6343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6344 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6346 # Check whether --enable-threads or --disable-threads was given.
6347 if test "${enable_threads+set}" = set; then
6348 enableval
="$enable_threads"
6350 if test "$enableval" = yes; then
6351 ac_cv_use_threads
='wxUSE_THREADS=yes'
6353 ac_cv_use_threads
='wxUSE_THREADS=no'
6358 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6359 if test "x$LINE" != x
; then
6360 eval "DEFAULT_$LINE"
6365 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6369 eval "$ac_cv_use_threads"
6370 if test "$no_cache" != 1; then
6371 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6374 if test "$wxUSE_THREADS" = yes; then
6375 echo "$as_me:$LINENO: result: yes" >&5
6376 echo "${ECHO_T}yes" >&6
6378 echo "$as_me:$LINENO: result: no" >&5
6379 echo "${ECHO_T}no" >&6
6383 if test "$wxUSE_GUI" = "yes"; then
6388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6389 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6391 # Check whether --enable-docview or --disable-docview was given.
6392 if test "${enable_docview+set}" = set; then
6393 enableval
="$enable_docview"
6395 if test "$enableval" = yes; then
6396 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6398 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6403 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6404 if test "x$LINE" != x
; then
6405 eval "DEFAULT_$LINE"
6410 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6414 eval "$ac_cv_use_docview"
6415 if test "$no_cache" != 1; then
6416 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6419 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6420 echo "$as_me:$LINENO: result: yes" >&5
6421 echo "${ECHO_T}yes" >&6
6423 echo "$as_me:$LINENO: result: no" >&5
6424 echo "${ECHO_T}no" >&6
6429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6430 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6432 # Check whether --enable-help or --disable-help was given.
6433 if test "${enable_help+set}" = set; then
6434 enableval
="$enable_help"
6436 if test "$enableval" = yes; then
6437 ac_cv_use_help
='wxUSE_HELP=yes'
6439 ac_cv_use_help
='wxUSE_HELP=no'
6444 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6445 if test "x$LINE" != x
; then
6446 eval "DEFAULT_$LINE"
6451 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6455 eval "$ac_cv_use_help"
6456 if test "$no_cache" != 1; then
6457 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6460 if test "$wxUSE_HELP" = yes; then
6461 echo "$as_me:$LINENO: result: yes" >&5
6462 echo "${ECHO_T}yes" >&6
6464 echo "$as_me:$LINENO: result: no" >&5
6465 echo "${ECHO_T}no" >&6
6470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6471 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6473 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6474 if test "${enable_mshtmlhelp+set}" = set; then
6475 enableval
="$enable_mshtmlhelp"
6477 if test "$enableval" = yes; then
6478 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6480 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6485 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6486 if test "x$LINE" != x
; then
6487 eval "DEFAULT_$LINE"
6492 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6496 eval "$ac_cv_use_mshtmlhelp"
6497 if test "$no_cache" != 1; then
6498 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6501 if test "$wxUSE_MS_HTML_HELP" = yes; then
6502 echo "$as_me:$LINENO: result: yes" >&5
6503 echo "${ECHO_T}yes" >&6
6505 echo "$as_me:$LINENO: result: no" >&5
6506 echo "${ECHO_T}no" >&6
6511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6512 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6514 # Check whether --enable-html or --disable-html was given.
6515 if test "${enable_html+set}" = set; then
6516 enableval
="$enable_html"
6518 if test "$enableval" = yes; then
6519 ac_cv_use_html
='wxUSE_HTML=yes'
6521 ac_cv_use_html
='wxUSE_HTML=no'
6526 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6527 if test "x$LINE" != x
; then
6528 eval "DEFAULT_$LINE"
6533 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6537 eval "$ac_cv_use_html"
6538 if test "$no_cache" != 1; then
6539 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6542 if test "$wxUSE_HTML" = yes; then
6543 echo "$as_me:$LINENO: result: yes" >&5
6544 echo "${ECHO_T}yes" >&6
6546 echo "$as_me:$LINENO: result: no" >&5
6547 echo "${ECHO_T}no" >&6
6552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6553 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6555 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6556 if test "${enable_htmlhelp+set}" = set; then
6557 enableval
="$enable_htmlhelp"
6559 if test "$enableval" = yes; then
6560 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6562 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6567 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6568 if test "x$LINE" != x
; then
6569 eval "DEFAULT_$LINE"
6574 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6578 eval "$ac_cv_use_htmlhelp"
6579 if test "$no_cache" != 1; then
6580 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6583 if test "$wxUSE_WXHTML_HELP" = yes; then
6584 echo "$as_me:$LINENO: result: yes" >&5
6585 echo "${ECHO_T}yes" >&6
6587 echo "$as_me:$LINENO: result: no" >&5
6588 echo "${ECHO_T}no" >&6
6593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6594 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6596 # Check whether --enable-xrc or --disable-xrc was given.
6597 if test "${enable_xrc+set}" = set; then
6598 enableval
="$enable_xrc"
6600 if test "$enableval" = yes; then
6601 ac_cv_use_xrc
='wxUSE_XRC=yes'
6603 ac_cv_use_xrc
='wxUSE_XRC=no'
6608 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6609 if test "x$LINE" != x
; then
6610 eval "DEFAULT_$LINE"
6615 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6619 eval "$ac_cv_use_xrc"
6620 if test "$no_cache" != 1; then
6621 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6624 if test "$wxUSE_XRC" = yes; then
6625 echo "$as_me:$LINENO: result: yes" >&5
6626 echo "${ECHO_T}yes" >&6
6628 echo "$as_me:$LINENO: result: no" >&5
6629 echo "${ECHO_T}no" >&6
6634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6635 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6637 # Check whether --enable-constraints or --disable-constraints was given.
6638 if test "${enable_constraints+set}" = set; then
6639 enableval
="$enable_constraints"
6641 if test "$enableval" = yes; then
6642 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6644 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6649 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6650 if test "x$LINE" != x
; then
6651 eval "DEFAULT_$LINE"
6656 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6660 eval "$ac_cv_use_constraints"
6661 if test "$no_cache" != 1; then
6662 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6665 if test "$wxUSE_CONSTRAINTS" = yes; then
6666 echo "$as_me:$LINENO: result: yes" >&5
6667 echo "${ECHO_T}yes" >&6
6669 echo "$as_me:$LINENO: result: no" >&5
6670 echo "${ECHO_T}no" >&6
6675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6676 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6678 # Check whether --enable-printarch or --disable-printarch was given.
6679 if test "${enable_printarch+set}" = set; then
6680 enableval
="$enable_printarch"
6682 if test "$enableval" = yes; then
6683 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6685 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6690 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6691 if test "x$LINE" != x
; then
6692 eval "DEFAULT_$LINE"
6697 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6701 eval "$ac_cv_use_printarch"
6702 if test "$no_cache" != 1; then
6703 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6706 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6707 echo "$as_me:$LINENO: result: yes" >&5
6708 echo "${ECHO_T}yes" >&6
6710 echo "$as_me:$LINENO: result: no" >&5
6711 echo "${ECHO_T}no" >&6
6716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6717 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6719 # Check whether --enable-mdi or --disable-mdi was given.
6720 if test "${enable_mdi+set}" = set; then
6721 enableval
="$enable_mdi"
6723 if test "$enableval" = yes; then
6724 ac_cv_use_mdi
='wxUSE_MDI=yes'
6726 ac_cv_use_mdi
='wxUSE_MDI=no'
6731 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6732 if test "x$LINE" != x
; then
6733 eval "DEFAULT_$LINE"
6738 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6742 eval "$ac_cv_use_mdi"
6743 if test "$no_cache" != 1; then
6744 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6747 if test "$wxUSE_MDI" = yes; then
6748 echo "$as_me:$LINENO: result: yes" >&5
6749 echo "${ECHO_T}yes" >&6
6751 echo "$as_me:$LINENO: result: no" >&5
6752 echo "${ECHO_T}no" >&6
6757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6758 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6760 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6761 if test "${enable_mdidoc+set}" = set; then
6762 enableval
="$enable_mdidoc"
6764 if test "$enableval" = yes; then
6765 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6767 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6772 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6773 if test "x$LINE" != x
; then
6774 eval "DEFAULT_$LINE"
6779 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6783 eval "$ac_cv_use_mdidoc"
6784 if test "$no_cache" != 1; then
6785 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6788 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6789 echo "$as_me:$LINENO: result: yes" >&5
6790 echo "${ECHO_T}yes" >&6
6792 echo "$as_me:$LINENO: result: no" >&5
6793 echo "${ECHO_T}no" >&6
6798 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6799 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6801 # Check whether --enable-loggui or --disable-loggui was given.
6802 if test "${enable_loggui+set}" = set; then
6803 enableval
="$enable_loggui"
6805 if test "$enableval" = yes; then
6806 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6808 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6813 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6814 if test "x$LINE" != x
; then
6815 eval "DEFAULT_$LINE"
6820 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6824 eval "$ac_cv_use_loggui"
6825 if test "$no_cache" != 1; then
6826 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6829 if test "$wxUSE_LOGGUI" = yes; then
6830 echo "$as_me:$LINENO: result: yes" >&5
6831 echo "${ECHO_T}yes" >&6
6833 echo "$as_me:$LINENO: result: no" >&5
6834 echo "${ECHO_T}no" >&6
6839 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6840 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6842 # Check whether --enable-logwin or --disable-logwin was given.
6843 if test "${enable_logwin+set}" = set; then
6844 enableval
="$enable_logwin"
6846 if test "$enableval" = yes; then
6847 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6849 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6854 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6855 if test "x$LINE" != x
; then
6856 eval "DEFAULT_$LINE"
6861 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6865 eval "$ac_cv_use_logwin"
6866 if test "$no_cache" != 1; then
6867 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6870 if test "$wxUSE_LOGWINDOW" = yes; then
6871 echo "$as_me:$LINENO: result: yes" >&5
6872 echo "${ECHO_T}yes" >&6
6874 echo "$as_me:$LINENO: result: no" >&5
6875 echo "${ECHO_T}no" >&6
6880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6881 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6883 # Check whether --enable-logdialog or --disable-logdialog was given.
6884 if test "${enable_logdialog+set}" = set; then
6885 enableval
="$enable_logdialog"
6887 if test "$enableval" = yes; then
6888 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6890 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6895 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6896 if test "x$LINE" != x
; then
6897 eval "DEFAULT_$LINE"
6902 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6906 eval "$ac_cv_use_logdialog"
6907 if test "$no_cache" != 1; then
6908 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6911 if test "$wxUSE_LOGDIALOG" = yes; then
6912 echo "$as_me:$LINENO: result: yes" >&5
6913 echo "${ECHO_T}yes" >&6
6915 echo "$as_me:$LINENO: result: no" >&5
6916 echo "${ECHO_T}no" >&6
6921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6922 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6924 # Check whether --enable-webkit or --disable-webkit was given.
6925 if test "${enable_webkit+set}" = set; then
6926 enableval
="$enable_webkit"
6928 if test "$enableval" = yes; then
6929 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6931 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6936 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6937 if test "x$LINE" != x
; then
6938 eval "DEFAULT_$LINE"
6943 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6947 eval "$ac_cv_use_webkit"
6948 if test "$no_cache" != 1; then
6949 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6952 if test "$wxUSE_WEBKIT" = yes; then
6953 echo "$as_me:$LINENO: result: yes" >&5
6954 echo "${ECHO_T}yes" >&6
6956 echo "$as_me:$LINENO: result: no" >&5
6957 echo "${ECHO_T}no" >&6
6963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6964 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6966 # Check whether --enable-postscript or --disable-postscript was given.
6967 if test "${enable_postscript+set}" = set; then
6968 enableval
="$enable_postscript"
6970 if test "$enableval" = yes; then
6971 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6973 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6978 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6979 if test "x$LINE" != x
; then
6980 eval "DEFAULT_$LINE"
6985 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6989 eval "$ac_cv_use_postscript"
6990 if test "$no_cache" != 1; then
6991 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6994 if test "$wxUSE_POSTSCRIPT" = yes; then
6995 echo "$as_me:$LINENO: result: yes" >&5
6996 echo "${ECHO_T}yes" >&6
6998 echo "$as_me:$LINENO: result: no" >&5
6999 echo "${ECHO_T}no" >&6
7007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7008 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7010 # Check whether --enable-prologio or --disable-prologio was given.
7011 if test "${enable_prologio+set}" = set; then
7012 enableval
="$enable_prologio"
7014 if test "$enableval" = yes; then
7015 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7017 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7022 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7023 if test "x$LINE" != x
; then
7024 eval "DEFAULT_$LINE"
7029 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7033 eval "$ac_cv_use_prologio"
7034 if test "$no_cache" != 1; then
7035 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7038 if test "$wxUSE_PROLOGIO" = yes; then
7039 echo "$as_me:$LINENO: result: yes" >&5
7040 echo "${ECHO_T}yes" >&6
7042 echo "$as_me:$LINENO: result: no" >&5
7043 echo "${ECHO_T}no" >&6
7048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7049 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7051 # Check whether --enable-resources or --disable-resources was given.
7052 if test "${enable_resources+set}" = set; then
7053 enableval
="$enable_resources"
7055 if test "$enableval" = yes; then
7056 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7058 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7063 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7064 if test "x$LINE" != x
; then
7065 eval "DEFAULT_$LINE"
7070 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7074 eval "$ac_cv_use_resources"
7075 if test "$no_cache" != 1; then
7076 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7079 if test "$wxUSE_RESOURCES" = yes; then
7080 echo "$as_me:$LINENO: result: yes" >&5
7081 echo "${ECHO_T}yes" >&6
7083 echo "$as_me:$LINENO: result: no" >&5
7084 echo "${ECHO_T}no" >&6
7091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7092 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7094 # Check whether --enable-clipboard or --disable-clipboard was given.
7095 if test "${enable_clipboard+set}" = set; then
7096 enableval
="$enable_clipboard"
7098 if test "$enableval" = yes; then
7099 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7101 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7106 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7107 if test "x$LINE" != x
; then
7108 eval "DEFAULT_$LINE"
7113 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7117 eval "$ac_cv_use_clipboard"
7118 if test "$no_cache" != 1; then
7119 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7122 if test "$wxUSE_CLIPBOARD" = yes; then
7123 echo "$as_me:$LINENO: result: yes" >&5
7124 echo "${ECHO_T}yes" >&6
7126 echo "$as_me:$LINENO: result: no" >&5
7127 echo "${ECHO_T}no" >&6
7132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7133 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7135 # Check whether --enable-dnd or --disable-dnd was given.
7136 if test "${enable_dnd+set}" = set; then
7137 enableval
="$enable_dnd"
7139 if test "$enableval" = yes; then
7140 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7142 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7147 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7148 if test "x$LINE" != x
; then
7149 eval "DEFAULT_$LINE"
7154 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7158 eval "$ac_cv_use_dnd"
7159 if test "$no_cache" != 1; then
7160 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7163 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7164 echo "$as_me:$LINENO: result: yes" >&5
7165 echo "${ECHO_T}yes" >&6
7167 echo "$as_me:$LINENO: result: no" >&5
7168 echo "${ECHO_T}no" >&6
7173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7174 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7176 # Check whether --enable-metafile or --disable-metafile was given.
7177 if test "${enable_metafile+set}" = set; then
7178 enableval
="$enable_metafile"
7180 if test "$enableval" = yes; then
7181 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7183 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7188 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7189 if test "x$LINE" != x
; then
7190 eval "DEFAULT_$LINE"
7195 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7199 eval "$ac_cv_use_metafile"
7200 if test "$no_cache" != 1; then
7201 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7204 if test "$wxUSE_METAFILE" = yes; then
7205 echo "$as_me:$LINENO: result: yes" >&5
7206 echo "${ECHO_T}yes" >&6
7208 echo "$as_me:$LINENO: result: no" >&5
7209 echo "${ECHO_T}no" >&6
7217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7218 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7220 # Check whether --enable-controls or --disable-controls was given.
7221 if test "${enable_controls+set}" = set; then
7222 enableval
="$enable_controls"
7224 if test "$enableval" = yes; then
7225 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7227 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7232 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7233 if test "x$LINE" != x
; then
7234 eval "DEFAULT_$LINE"
7239 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7243 eval "$ac_cv_use_controls"
7244 if test "$no_cache" != 1; then
7245 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7248 if test "$wxUSE_CONTROLS" = yes; then
7249 echo "$as_me:$LINENO: result: yes" >&5
7250 echo "${ECHO_T}yes" >&6
7252 echo "$as_me:$LINENO: result: no" >&5
7253 echo "${ECHO_T}no" >&6
7257 if test "$wxUSE_CONTROLS" = "yes"; then
7258 DEFAULT_wxUSE_ACCEL
=yes
7259 DEFAULT_wxUSE_BMPBUTTON
=yes
7260 DEFAULT_wxUSE_BUTTON
=yes
7261 DEFAULT_wxUSE_CALCTRL
=yes
7262 DEFAULT_wxUSE_CARET
=yes
7263 DEFAULT_wxUSE_COMBOBOX
=yes
7264 DEFAULT_wxUSE_CHECKBOX
=yes
7265 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7266 DEFAULT_wxUSE_CHOICE
=yes
7267 DEFAULT_wxUSE_CHOICEBOOK
=yes
7268 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7269 DEFAULT_wxUSE_GAUGE
=yes
7270 DEFAULT_wxUSE_GRID
=yes
7271 DEFAULT_wxUSE_IMAGLIST
=yes
7272 DEFAULT_wxUSE_LISTBOOK
=yes
7273 DEFAULT_wxUSE_LISTBOX
=yes
7274 DEFAULT_wxUSE_LISTCTRL
=yes
7275 DEFAULT_wxUSE_NOTEBOOK
=yes
7276 DEFAULT_wxUSE_RADIOBOX
=yes
7277 DEFAULT_wxUSE_RADIOBTN
=yes
7278 DEFAULT_wxUSE_SASH
=yes
7279 DEFAULT_wxUSE_SCROLLBAR
=yes
7280 DEFAULT_wxUSE_SLIDER
=yes
7281 DEFAULT_wxUSE_SPINBTN
=yes
7282 DEFAULT_wxUSE_SPINCTRL
=yes
7283 DEFAULT_wxUSE_SPLITTER
=yes
7284 DEFAULT_wxUSE_STATBMP
=yes
7285 DEFAULT_wxUSE_STATBOX
=yes
7286 DEFAULT_wxUSE_STATLINE
=yes
7287 DEFAULT_wxUSE_STATUSBAR
=yes
7288 DEFAULT_wxUSE_TAB_DIALOG
=yes
7289 DEFAULT_wxUSE_TOGGLEBTN
=yes
7290 DEFAULT_wxUSE_TOOLBAR
=yes
7291 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7292 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7293 DEFAULT_wxUSE_TOOLTIPS
=yes
7294 DEFAULT_wxUSE_TREECTRL
=yes
7295 DEFAULT_wxUSE_POPUPWIN
=yes
7296 DEFAULT_wxUSE_TIPWINDOW
=yes
7297 elif test "$wxUSE_CONTROLS" = "no"; then
7298 DEFAULT_wxUSE_ACCEL
=no
7299 DEFAULT_wxUSE_BMPBUTTON
=no
7300 DEFAULT_wxUSE_BUTTON
=no
7301 DEFAULT_wxUSE_CALCTRL
=no
7302 DEFAULT_wxUSE_CARET
=no
7303 DEFAULT_wxUSE_COMBOBOX
=no
7304 DEFAULT_wxUSE_CHECKBOX
=no
7305 DEFAULT_wxUSE_CHECKLISTBOX
=no
7306 DEFAULT_wxUSE_CHOICE
=no
7307 DEFAULT_wxUSE_CHOICEBOOK
=no
7308 DEFAULT_wxUSE_DATEPICKCTRL
=no
7309 DEFAULT_wxUSE_GAUGE
=no
7310 DEFAULT_wxUSE_GRID
=no
7311 DEFAULT_wxUSE_IMAGLIST
=no
7312 DEFAULT_wxUSE_LISTBOOK
=no
7313 DEFAULT_wxUSE_LISTBOX
=no
7314 DEFAULT_wxUSE_LISTCTRL
=no
7315 DEFAULT_wxUSE_NOTEBOOK
=no
7316 DEFAULT_wxUSE_RADIOBOX
=no
7317 DEFAULT_wxUSE_RADIOBTN
=no
7318 DEFAULT_wxUSE_SASH
=no
7319 DEFAULT_wxUSE_SCROLLBAR
=no
7320 DEFAULT_wxUSE_SLIDER
=no
7321 DEFAULT_wxUSE_SPINBTN
=no
7322 DEFAULT_wxUSE_SPINCTRL
=no
7323 DEFAULT_wxUSE_SPLITTER
=no
7324 DEFAULT_wxUSE_STATBMP
=no
7325 DEFAULT_wxUSE_STATBOX
=no
7326 DEFAULT_wxUSE_STATLINE
=no
7327 DEFAULT_wxUSE_STATUSBAR
=no
7328 DEFAULT_wxUSE_TAB_DIALOG
=no
7329 DEFAULT_wxUSE_TOGGLEBTN
=no
7330 DEFAULT_wxUSE_TOOLBAR
=no
7331 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7332 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7333 DEFAULT_wxUSE_TOOLTIPS
=no
7334 DEFAULT_wxUSE_TREECTRL
=no
7335 DEFAULT_wxUSE_POPUPWIN
=no
7336 DEFAULT_wxUSE_TIPWINDOW
=no
7341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7342 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7344 # Check whether --enable-accel or --disable-accel was given.
7345 if test "${enable_accel+set}" = set; then
7346 enableval
="$enable_accel"
7348 if test "$enableval" = yes; then
7349 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7351 ac_cv_use_accel
='wxUSE_ACCEL=no'
7356 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7357 if test "x$LINE" != x
; then
7358 eval "DEFAULT_$LINE"
7363 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7367 eval "$ac_cv_use_accel"
7368 if test "$no_cache" != 1; then
7369 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7372 if test "$wxUSE_ACCEL" = yes; then
7373 echo "$as_me:$LINENO: result: yes" >&5
7374 echo "${ECHO_T}yes" >&6
7376 echo "$as_me:$LINENO: result: no" >&5
7377 echo "${ECHO_T}no" >&6
7382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7383 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7385 # Check whether --enable-button or --disable-button was given.
7386 if test "${enable_button+set}" = set; then
7387 enableval
="$enable_button"
7389 if test "$enableval" = yes; then
7390 ac_cv_use_button
='wxUSE_BUTTON=yes'
7392 ac_cv_use_button
='wxUSE_BUTTON=no'
7397 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7398 if test "x$LINE" != x
; then
7399 eval "DEFAULT_$LINE"
7404 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7408 eval "$ac_cv_use_button"
7409 if test "$no_cache" != 1; then
7410 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7413 if test "$wxUSE_BUTTON" = yes; then
7414 echo "$as_me:$LINENO: result: yes" >&5
7415 echo "${ECHO_T}yes" >&6
7417 echo "$as_me:$LINENO: result: no" >&5
7418 echo "${ECHO_T}no" >&6
7423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7424 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7426 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7427 if test "${enable_bmpbutton+set}" = set; then
7428 enableval
="$enable_bmpbutton"
7430 if test "$enableval" = yes; then
7431 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7433 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7438 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7439 if test "x$LINE" != x
; then
7440 eval "DEFAULT_$LINE"
7445 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7449 eval "$ac_cv_use_bmpbutton"
7450 if test "$no_cache" != 1; then
7451 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7454 if test "$wxUSE_BMPBUTTON" = yes; then
7455 echo "$as_me:$LINENO: result: yes" >&5
7456 echo "${ECHO_T}yes" >&6
7458 echo "$as_me:$LINENO: result: no" >&5
7459 echo "${ECHO_T}no" >&6
7464 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7465 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7467 # Check whether --enable-calendar or --disable-calendar was given.
7468 if test "${enable_calendar+set}" = set; then
7469 enableval
="$enable_calendar"
7471 if test "$enableval" = yes; then
7472 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7474 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7479 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7480 if test "x$LINE" != x
; then
7481 eval "DEFAULT_$LINE"
7486 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7490 eval "$ac_cv_use_calendar"
7491 if test "$no_cache" != 1; then
7492 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7495 if test "$wxUSE_CALCTRL" = yes; then
7496 echo "$as_me:$LINENO: result: yes" >&5
7497 echo "${ECHO_T}yes" >&6
7499 echo "$as_me:$LINENO: result: no" >&5
7500 echo "${ECHO_T}no" >&6
7505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7506 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7508 # Check whether --enable-caret or --disable-caret was given.
7509 if test "${enable_caret+set}" = set; then
7510 enableval
="$enable_caret"
7512 if test "$enableval" = yes; then
7513 ac_cv_use_caret
='wxUSE_CARET=yes'
7515 ac_cv_use_caret
='wxUSE_CARET=no'
7520 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7521 if test "x$LINE" != x
; then
7522 eval "DEFAULT_$LINE"
7527 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7531 eval "$ac_cv_use_caret"
7532 if test "$no_cache" != 1; then
7533 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7536 if test "$wxUSE_CARET" = yes; then
7537 echo "$as_me:$LINENO: result: yes" >&5
7538 echo "${ECHO_T}yes" >&6
7540 echo "$as_me:$LINENO: result: no" >&5
7541 echo "${ECHO_T}no" >&6
7546 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7547 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7549 # Check whether --enable-checkbox or --disable-checkbox was given.
7550 if test "${enable_checkbox+set}" = set; then
7551 enableval
="$enable_checkbox"
7553 if test "$enableval" = yes; then
7554 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7556 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7561 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7562 if test "x$LINE" != x
; then
7563 eval "DEFAULT_$LINE"
7568 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7572 eval "$ac_cv_use_checkbox"
7573 if test "$no_cache" != 1; then
7574 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7577 if test "$wxUSE_CHECKBOX" = yes; then
7578 echo "$as_me:$LINENO: result: yes" >&5
7579 echo "${ECHO_T}yes" >&6
7581 echo "$as_me:$LINENO: result: no" >&5
7582 echo "${ECHO_T}no" >&6
7587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7588 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7590 # Check whether --enable-checklst or --disable-checklst was given.
7591 if test "${enable_checklst+set}" = set; then
7592 enableval
="$enable_checklst"
7594 if test "$enableval" = yes; then
7595 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7597 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7602 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7603 if test "x$LINE" != x
; then
7604 eval "DEFAULT_$LINE"
7609 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7613 eval "$ac_cv_use_checklst"
7614 if test "$no_cache" != 1; then
7615 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7618 if test "$wxUSE_CHECKLST" = yes; then
7619 echo "$as_me:$LINENO: result: yes" >&5
7620 echo "${ECHO_T}yes" >&6
7622 echo "$as_me:$LINENO: result: no" >&5
7623 echo "${ECHO_T}no" >&6
7628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7629 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7631 # Check whether --enable-choice or --disable-choice was given.
7632 if test "${enable_choice+set}" = set; then
7633 enableval
="$enable_choice"
7635 if test "$enableval" = yes; then
7636 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7638 ac_cv_use_choice
='wxUSE_CHOICE=no'
7643 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7644 if test "x$LINE" != x
; then
7645 eval "DEFAULT_$LINE"
7650 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7654 eval "$ac_cv_use_choice"
7655 if test "$no_cache" != 1; then
7656 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7659 if test "$wxUSE_CHOICE" = yes; then
7660 echo "$as_me:$LINENO: result: yes" >&5
7661 echo "${ECHO_T}yes" >&6
7663 echo "$as_me:$LINENO: result: no" >&5
7664 echo "${ECHO_T}no" >&6
7669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7670 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7672 # Check whether --enable-choicebook or --disable-choicebook was given.
7673 if test "${enable_choicebook+set}" = set; then
7674 enableval
="$enable_choicebook"
7676 if test "$enableval" = yes; then
7677 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7679 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7684 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7685 if test "x$LINE" != x
; then
7686 eval "DEFAULT_$LINE"
7691 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7695 eval "$ac_cv_use_choicebook"
7696 if test "$no_cache" != 1; then
7697 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7700 if test "$wxUSE_CHOICEBOOK" = yes; then
7701 echo "$as_me:$LINENO: result: yes" >&5
7702 echo "${ECHO_T}yes" >&6
7704 echo "$as_me:$LINENO: result: no" >&5
7705 echo "${ECHO_T}no" >&6
7710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7711 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7713 # Check whether --enable-combobox or --disable-combobox was given.
7714 if test "${enable_combobox+set}" = set; then
7715 enableval
="$enable_combobox"
7717 if test "$enableval" = yes; then
7718 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7720 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7725 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7726 if test "x$LINE" != x
; then
7727 eval "DEFAULT_$LINE"
7732 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7736 eval "$ac_cv_use_combobox"
7737 if test "$no_cache" != 1; then
7738 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7741 if test "$wxUSE_COMBOBOX" = yes; then
7742 echo "$as_me:$LINENO: result: yes" >&5
7743 echo "${ECHO_T}yes" >&6
7745 echo "$as_me:$LINENO: result: no" >&5
7746 echo "${ECHO_T}no" >&6
7751 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7752 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7754 # Check whether --enable-datepick or --disable-datepick was given.
7755 if test "${enable_datepick+set}" = set; then
7756 enableval
="$enable_datepick"
7758 if test "$enableval" = yes; then
7759 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
7761 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
7766 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7767 if test "x$LINE" != x
; then
7768 eval "DEFAULT_$LINE"
7773 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7777 eval "$ac_cv_use_datepick"
7778 if test "$no_cache" != 1; then
7779 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7782 if test "$wxUSE_DATEPICKCTRL" = yes; then
7783 echo "$as_me:$LINENO: result: yes" >&5
7784 echo "${ECHO_T}yes" >&6
7786 echo "$as_me:$LINENO: result: no" >&5
7787 echo "${ECHO_T}no" >&6
7792 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7793 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7795 # Check whether --enable-display or --disable-display was given.
7796 if test "${enable_display+set}" = set; then
7797 enableval
="$enable_display"
7799 if test "$enableval" = yes; then
7800 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7802 ac_cv_use_display
='wxUSE_DISPLAY=no'
7807 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7808 if test "x$LINE" != x
; then
7809 eval "DEFAULT_$LINE"
7814 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7818 eval "$ac_cv_use_display"
7819 if test "$no_cache" != 1; then
7820 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7823 if test "$wxUSE_DISPLAY" = yes; then
7824 echo "$as_me:$LINENO: result: yes" >&5
7825 echo "${ECHO_T}yes" >&6
7827 echo "$as_me:$LINENO: result: no" >&5
7828 echo "${ECHO_T}no" >&6
7833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7834 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7836 # Check whether --enable-gauge or --disable-gauge was given.
7837 if test "${enable_gauge+set}" = set; then
7838 enableval
="$enable_gauge"
7840 if test "$enableval" = yes; then
7841 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7843 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7848 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7849 if test "x$LINE" != x
; then
7850 eval "DEFAULT_$LINE"
7855 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7859 eval "$ac_cv_use_gauge"
7860 if test "$no_cache" != 1; then
7861 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7864 if test "$wxUSE_GAUGE" = yes; then
7865 echo "$as_me:$LINENO: result: yes" >&5
7866 echo "${ECHO_T}yes" >&6
7868 echo "$as_me:$LINENO: result: no" >&5
7869 echo "${ECHO_T}no" >&6
7874 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7875 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7877 # Check whether --enable-grid or --disable-grid was given.
7878 if test "${enable_grid+set}" = set; then
7879 enableval
="$enable_grid"
7881 if test "$enableval" = yes; then
7882 ac_cv_use_grid
='wxUSE_GRID=yes'
7884 ac_cv_use_grid
='wxUSE_GRID=no'
7889 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7890 if test "x$LINE" != x
; then
7891 eval "DEFAULT_$LINE"
7896 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7900 eval "$ac_cv_use_grid"
7901 if test "$no_cache" != 1; then
7902 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7905 if test "$wxUSE_GRID" = yes; then
7906 echo "$as_me:$LINENO: result: yes" >&5
7907 echo "${ECHO_T}yes" >&6
7909 echo "$as_me:$LINENO: result: no" >&5
7910 echo "${ECHO_T}no" >&6
7915 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7916 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7918 # Check whether --enable-imaglist or --disable-imaglist was given.
7919 if test "${enable_imaglist+set}" = set; then
7920 enableval
="$enable_imaglist"
7922 if test "$enableval" = yes; then
7923 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7925 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7930 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7931 if test "x$LINE" != x
; then
7932 eval "DEFAULT_$LINE"
7937 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7941 eval "$ac_cv_use_imaglist"
7942 if test "$no_cache" != 1; then
7943 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7946 if test "$wxUSE_IMAGLIST" = yes; then
7947 echo "$as_me:$LINENO: result: yes" >&5
7948 echo "${ECHO_T}yes" >&6
7950 echo "$as_me:$LINENO: result: no" >&5
7951 echo "${ECHO_T}no" >&6
7956 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7957 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7959 # Check whether --enable-listbook or --disable-listbook was given.
7960 if test "${enable_listbook+set}" = set; then
7961 enableval
="$enable_listbook"
7963 if test "$enableval" = yes; then
7964 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7966 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7971 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7972 if test "x$LINE" != x
; then
7973 eval "DEFAULT_$LINE"
7978 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7982 eval "$ac_cv_use_listbook"
7983 if test "$no_cache" != 1; then
7984 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7987 if test "$wxUSE_LISTBOOK" = yes; then
7988 echo "$as_me:$LINENO: result: yes" >&5
7989 echo "${ECHO_T}yes" >&6
7991 echo "$as_me:$LINENO: result: no" >&5
7992 echo "${ECHO_T}no" >&6
7997 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7998 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8000 # Check whether --enable-listbox or --disable-listbox was given.
8001 if test "${enable_listbox+set}" = set; then
8002 enableval
="$enable_listbox"
8004 if test "$enableval" = yes; then
8005 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
8007 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
8012 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8013 if test "x$LINE" != x
; then
8014 eval "DEFAULT_$LINE"
8019 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8023 eval "$ac_cv_use_listbox"
8024 if test "$no_cache" != 1; then
8025 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8028 if test "$wxUSE_LISTBOX" = yes; then
8029 echo "$as_me:$LINENO: result: yes" >&5
8030 echo "${ECHO_T}yes" >&6
8032 echo "$as_me:$LINENO: result: no" >&5
8033 echo "${ECHO_T}no" >&6
8038 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8039 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8041 # Check whether --enable-listctrl or --disable-listctrl was given.
8042 if test "${enable_listctrl+set}" = set; then
8043 enableval
="$enable_listctrl"
8045 if test "$enableval" = yes; then
8046 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
8048 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
8053 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8054 if test "x$LINE" != x
; then
8055 eval "DEFAULT_$LINE"
8060 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8064 eval "$ac_cv_use_listctrl"
8065 if test "$no_cache" != 1; then
8066 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8069 if test "$wxUSE_LISTCTRL" = yes; then
8070 echo "$as_me:$LINENO: result: yes" >&5
8071 echo "${ECHO_T}yes" >&6
8073 echo "$as_me:$LINENO: result: no" >&5
8074 echo "${ECHO_T}no" >&6
8079 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8080 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8082 # Check whether --enable-notebook or --disable-notebook was given.
8083 if test "${enable_notebook+set}" = set; then
8084 enableval
="$enable_notebook"
8086 if test "$enableval" = yes; then
8087 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
8089 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
8094 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8095 if test "x$LINE" != x
; then
8096 eval "DEFAULT_$LINE"
8101 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8105 eval "$ac_cv_use_notebook"
8106 if test "$no_cache" != 1; then
8107 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8110 if test "$wxUSE_NOTEBOOK" = yes; then
8111 echo "$as_me:$LINENO: result: yes" >&5
8112 echo "${ECHO_T}yes" >&6
8114 echo "$as_me:$LINENO: result: no" >&5
8115 echo "${ECHO_T}no" >&6
8120 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8121 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8123 # Check whether --enable-radiobox or --disable-radiobox was given.
8124 if test "${enable_radiobox+set}" = set; then
8125 enableval
="$enable_radiobox"
8127 if test "$enableval" = yes; then
8128 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
8130 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
8135 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8136 if test "x$LINE" != x
; then
8137 eval "DEFAULT_$LINE"
8142 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8146 eval "$ac_cv_use_radiobox"
8147 if test "$no_cache" != 1; then
8148 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8151 if test "$wxUSE_RADIOBOX" = yes; then
8152 echo "$as_me:$LINENO: result: yes" >&5
8153 echo "${ECHO_T}yes" >&6
8155 echo "$as_me:$LINENO: result: no" >&5
8156 echo "${ECHO_T}no" >&6
8161 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8162 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8164 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8165 if test "${enable_radiobtn+set}" = set; then
8166 enableval
="$enable_radiobtn"
8168 if test "$enableval" = yes; then
8169 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
8171 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
8176 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8177 if test "x$LINE" != x
; then
8178 eval "DEFAULT_$LINE"
8183 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8187 eval "$ac_cv_use_radiobtn"
8188 if test "$no_cache" != 1; then
8189 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8192 if test "$wxUSE_RADIOBTN" = yes; then
8193 echo "$as_me:$LINENO: result: yes" >&5
8194 echo "${ECHO_T}yes" >&6
8196 echo "$as_me:$LINENO: result: no" >&5
8197 echo "${ECHO_T}no" >&6
8202 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8203 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8205 # Check whether --enable-sash or --disable-sash was given.
8206 if test "${enable_sash+set}" = set; then
8207 enableval
="$enable_sash"
8209 if test "$enableval" = yes; then
8210 ac_cv_use_sash
='wxUSE_SASH=yes'
8212 ac_cv_use_sash
='wxUSE_SASH=no'
8217 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8218 if test "x$LINE" != x
; then
8219 eval "DEFAULT_$LINE"
8224 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8228 eval "$ac_cv_use_sash"
8229 if test "$no_cache" != 1; then
8230 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8233 if test "$wxUSE_SASH" = yes; then
8234 echo "$as_me:$LINENO: result: yes" >&5
8235 echo "${ECHO_T}yes" >&6
8237 echo "$as_me:$LINENO: result: no" >&5
8238 echo "${ECHO_T}no" >&6
8243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8244 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8246 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8247 if test "${enable_scrollbar+set}" = set; then
8248 enableval
="$enable_scrollbar"
8250 if test "$enableval" = yes; then
8251 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
8253 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
8258 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8259 if test "x$LINE" != x
; then
8260 eval "DEFAULT_$LINE"
8265 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8269 eval "$ac_cv_use_scrollbar"
8270 if test "$no_cache" != 1; then
8271 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8274 if test "$wxUSE_SCROLLBAR" = yes; then
8275 echo "$as_me:$LINENO: result: yes" >&5
8276 echo "${ECHO_T}yes" >&6
8278 echo "$as_me:$LINENO: result: no" >&5
8279 echo "${ECHO_T}no" >&6
8284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8285 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8287 # Check whether --enable-slider or --disable-slider was given.
8288 if test "${enable_slider+set}" = set; then
8289 enableval
="$enable_slider"
8291 if test "$enableval" = yes; then
8292 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8294 ac_cv_use_slider
='wxUSE_SLIDER=no'
8299 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8300 if test "x$LINE" != x
; then
8301 eval "DEFAULT_$LINE"
8306 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8310 eval "$ac_cv_use_slider"
8311 if test "$no_cache" != 1; then
8312 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8315 if test "$wxUSE_SLIDER" = yes; then
8316 echo "$as_me:$LINENO: result: yes" >&5
8317 echo "${ECHO_T}yes" >&6
8319 echo "$as_me:$LINENO: result: no" >&5
8320 echo "${ECHO_T}no" >&6
8325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8326 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8328 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8329 if test "${enable_spinbtn+set}" = set; then
8330 enableval
="$enable_spinbtn"
8332 if test "$enableval" = yes; then
8333 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8335 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8340 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8341 if test "x$LINE" != x
; then
8342 eval "DEFAULT_$LINE"
8347 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8351 eval "$ac_cv_use_spinbtn"
8352 if test "$no_cache" != 1; then
8353 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8356 if test "$wxUSE_SPINBTN" = yes; then
8357 echo "$as_me:$LINENO: result: yes" >&5
8358 echo "${ECHO_T}yes" >&6
8360 echo "$as_me:$LINENO: result: no" >&5
8361 echo "${ECHO_T}no" >&6
8366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8367 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8369 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8370 if test "${enable_spinctrl+set}" = set; then
8371 enableval
="$enable_spinctrl"
8373 if test "$enableval" = yes; then
8374 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8376 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8381 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8382 if test "x$LINE" != x
; then
8383 eval "DEFAULT_$LINE"
8388 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8392 eval "$ac_cv_use_spinctrl"
8393 if test "$no_cache" != 1; then
8394 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8397 if test "$wxUSE_SPINCTRL" = yes; then
8398 echo "$as_me:$LINENO: result: yes" >&5
8399 echo "${ECHO_T}yes" >&6
8401 echo "$as_me:$LINENO: result: no" >&5
8402 echo "${ECHO_T}no" >&6
8407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8408 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8410 # Check whether --enable-splitter or --disable-splitter was given.
8411 if test "${enable_splitter+set}" = set; then
8412 enableval
="$enable_splitter"
8414 if test "$enableval" = yes; then
8415 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8417 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8422 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8423 if test "x$LINE" != x
; then
8424 eval "DEFAULT_$LINE"
8429 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8433 eval "$ac_cv_use_splitter"
8434 if test "$no_cache" != 1; then
8435 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8438 if test "$wxUSE_SPLITTER" = yes; then
8439 echo "$as_me:$LINENO: result: yes" >&5
8440 echo "${ECHO_T}yes" >&6
8442 echo "$as_me:$LINENO: result: no" >&5
8443 echo "${ECHO_T}no" >&6
8448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8449 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8451 # Check whether --enable-statbmp or --disable-statbmp was given.
8452 if test "${enable_statbmp+set}" = set; then
8453 enableval
="$enable_statbmp"
8455 if test "$enableval" = yes; then
8456 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8458 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8463 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8464 if test "x$LINE" != x
; then
8465 eval "DEFAULT_$LINE"
8470 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8474 eval "$ac_cv_use_statbmp"
8475 if test "$no_cache" != 1; then
8476 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8479 if test "$wxUSE_STATBMP" = yes; then
8480 echo "$as_me:$LINENO: result: yes" >&5
8481 echo "${ECHO_T}yes" >&6
8483 echo "$as_me:$LINENO: result: no" >&5
8484 echo "${ECHO_T}no" >&6
8489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8490 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8492 # Check whether --enable-statbox or --disable-statbox was given.
8493 if test "${enable_statbox+set}" = set; then
8494 enableval
="$enable_statbox"
8496 if test "$enableval" = yes; then
8497 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8499 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8504 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8505 if test "x$LINE" != x
; then
8506 eval "DEFAULT_$LINE"
8511 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8515 eval "$ac_cv_use_statbox"
8516 if test "$no_cache" != 1; then
8517 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8520 if test "$wxUSE_STATBOX" = yes; then
8521 echo "$as_me:$LINENO: result: yes" >&5
8522 echo "${ECHO_T}yes" >&6
8524 echo "$as_me:$LINENO: result: no" >&5
8525 echo "${ECHO_T}no" >&6
8530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8531 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8533 # Check whether --enable-statline or --disable-statline was given.
8534 if test "${enable_statline+set}" = set; then
8535 enableval
="$enable_statline"
8537 if test "$enableval" = yes; then
8538 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8540 ac_cv_use_statline
='wxUSE_STATLINE=no'
8545 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8546 if test "x$LINE" != x
; then
8547 eval "DEFAULT_$LINE"
8552 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8556 eval "$ac_cv_use_statline"
8557 if test "$no_cache" != 1; then
8558 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8561 if test "$wxUSE_STATLINE" = yes; then
8562 echo "$as_me:$LINENO: result: yes" >&5
8563 echo "${ECHO_T}yes" >&6
8565 echo "$as_me:$LINENO: result: no" >&5
8566 echo "${ECHO_T}no" >&6
8571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8572 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8574 # Check whether --enable-stattext or --disable-stattext was given.
8575 if test "${enable_stattext+set}" = set; then
8576 enableval
="$enable_stattext"
8578 if test "$enableval" = yes; then
8579 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8581 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8586 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8587 if test "x$LINE" != x
; then
8588 eval "DEFAULT_$LINE"
8593 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8597 eval "$ac_cv_use_stattext"
8598 if test "$no_cache" != 1; then
8599 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8602 if test "$wxUSE_STATTEXT" = yes; then
8603 echo "$as_me:$LINENO: result: yes" >&5
8604 echo "${ECHO_T}yes" >&6
8606 echo "$as_me:$LINENO: result: no" >&5
8607 echo "${ECHO_T}no" >&6
8612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8613 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8615 # Check whether --enable-statusbar or --disable-statusbar was given.
8616 if test "${enable_statusbar+set}" = set; then
8617 enableval
="$enable_statusbar"
8619 if test "$enableval" = yes; then
8620 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8622 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8627 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8628 if test "x$LINE" != x
; then
8629 eval "DEFAULT_$LINE"
8634 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8638 eval "$ac_cv_use_statusbar"
8639 if test "$no_cache" != 1; then
8640 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8643 if test "$wxUSE_STATUSBAR" = yes; then
8644 echo "$as_me:$LINENO: result: yes" >&5
8645 echo "${ECHO_T}yes" >&6
8647 echo "$as_me:$LINENO: result: no" >&5
8648 echo "${ECHO_T}no" >&6
8653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8654 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8656 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8657 if test "${enable_tabdialog+set}" = set; then
8658 enableval
="$enable_tabdialog"
8660 if test "$enableval" = yes; then
8661 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8663 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8668 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8669 if test "x$LINE" != x
; then
8670 eval "DEFAULT_$LINE"
8675 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8679 eval "$ac_cv_use_tabdialog"
8680 if test "$no_cache" != 1; then
8681 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8684 if test "$wxUSE_TABDIALOG" = yes; then
8685 echo "$as_me:$LINENO: result: yes" >&5
8686 echo "${ECHO_T}yes" >&6
8688 echo "$as_me:$LINENO: result: no" >&5
8689 echo "${ECHO_T}no" >&6
8694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8695 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8697 # Check whether --enable-textctrl or --disable-textctrl was given.
8698 if test "${enable_textctrl+set}" = set; then
8699 enableval
="$enable_textctrl"
8701 if test "$enableval" = yes; then
8702 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8704 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8709 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8710 if test "x$LINE" != x
; then
8711 eval "DEFAULT_$LINE"
8716 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8720 eval "$ac_cv_use_textctrl"
8721 if test "$no_cache" != 1; then
8722 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8725 if test "$wxUSE_TEXTCTRL" = yes; then
8726 echo "$as_me:$LINENO: result: yes" >&5
8727 echo "${ECHO_T}yes" >&6
8729 echo "$as_me:$LINENO: result: no" >&5
8730 echo "${ECHO_T}no" >&6
8735 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8736 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8738 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8739 if test "${enable_togglebtn+set}" = set; then
8740 enableval
="$enable_togglebtn"
8742 if test "$enableval" = yes; then
8743 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8745 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8750 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8751 if test "x$LINE" != x
; then
8752 eval "DEFAULT_$LINE"
8757 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8761 eval "$ac_cv_use_togglebtn"
8762 if test "$no_cache" != 1; then
8763 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8766 if test "$wxUSE_TOGGLEBTN" = yes; then
8767 echo "$as_me:$LINENO: result: yes" >&5
8768 echo "${ECHO_T}yes" >&6
8770 echo "$as_me:$LINENO: result: no" >&5
8771 echo "${ECHO_T}no" >&6
8776 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8777 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8779 # Check whether --enable-toolbar or --disable-toolbar was given.
8780 if test "${enable_toolbar+set}" = set; then
8781 enableval
="$enable_toolbar"
8783 if test "$enableval" = yes; then
8784 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8786 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8791 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8792 if test "x$LINE" != x
; then
8793 eval "DEFAULT_$LINE"
8798 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8802 eval "$ac_cv_use_toolbar"
8803 if test "$no_cache" != 1; then
8804 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8807 if test "$wxUSE_TOOLBAR" = yes; then
8808 echo "$as_me:$LINENO: result: yes" >&5
8809 echo "${ECHO_T}yes" >&6
8811 echo "$as_me:$LINENO: result: no" >&5
8812 echo "${ECHO_T}no" >&6
8817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8818 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8820 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8821 if test "${enable_tbarnative+set}" = set; then
8822 enableval
="$enable_tbarnative"
8824 if test "$enableval" = yes; then
8825 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8827 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8832 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8833 if test "x$LINE" != x
; then
8834 eval "DEFAULT_$LINE"
8839 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8843 eval "$ac_cv_use_tbarnative"
8844 if test "$no_cache" != 1; then
8845 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8848 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8849 echo "$as_me:$LINENO: result: yes" >&5
8850 echo "${ECHO_T}yes" >&6
8852 echo "$as_me:$LINENO: result: no" >&5
8853 echo "${ECHO_T}no" >&6
8858 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8859 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8861 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8862 if test "${enable_tbarsmpl+set}" = set; then
8863 enableval
="$enable_tbarsmpl"
8865 if test "$enableval" = yes; then
8866 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8868 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8873 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8874 if test "x$LINE" != x
; then
8875 eval "DEFAULT_$LINE"
8880 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8884 eval "$ac_cv_use_tbarsmpl"
8885 if test "$no_cache" != 1; then
8886 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8889 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8890 echo "$as_me:$LINENO: result: yes" >&5
8891 echo "${ECHO_T}yes" >&6
8893 echo "$as_me:$LINENO: result: no" >&5
8894 echo "${ECHO_T}no" >&6
8899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8900 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8902 # Check whether --enable-treectrl or --disable-treectrl was given.
8903 if test "${enable_treectrl+set}" = set; then
8904 enableval
="$enable_treectrl"
8906 if test "$enableval" = yes; then
8907 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8909 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8914 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8915 if test "x$LINE" != x
; then
8916 eval "DEFAULT_$LINE"
8921 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8925 eval "$ac_cv_use_treectrl"
8926 if test "$no_cache" != 1; then
8927 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8930 if test "$wxUSE_TREECTRL" = yes; then
8931 echo "$as_me:$LINENO: result: yes" >&5
8932 echo "${ECHO_T}yes" >&6
8934 echo "$as_me:$LINENO: result: no" >&5
8935 echo "${ECHO_T}no" >&6
8940 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8941 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8943 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8944 if test "${enable_tipwindow+set}" = set; then
8945 enableval
="$enable_tipwindow"
8947 if test "$enableval" = yes; then
8948 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8950 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8955 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8956 if test "x$LINE" != x
; then
8957 eval "DEFAULT_$LINE"
8962 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8966 eval "$ac_cv_use_tipwindow"
8967 if test "$no_cache" != 1; then
8968 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8971 if test "$wxUSE_TIPWINDOW" = yes; then
8972 echo "$as_me:$LINENO: result: yes" >&5
8973 echo "${ECHO_T}yes" >&6
8975 echo "$as_me:$LINENO: result: no" >&5
8976 echo "${ECHO_T}no" >&6
8981 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8982 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8984 # Check whether --enable-popupwin or --disable-popupwin was given.
8985 if test "${enable_popupwin+set}" = set; then
8986 enableval
="$enable_popupwin"
8988 if test "$enableval" = yes; then
8989 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8991 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8996 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8997 if test "x$LINE" != x
; then
8998 eval "DEFAULT_$LINE"
9003 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9007 eval "$ac_cv_use_popupwin"
9008 if test "$no_cache" != 1; then
9009 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9012 if test "$wxUSE_POPUPWIN" = yes; then
9013 echo "$as_me:$LINENO: result: yes" >&5
9014 echo "${ECHO_T}yes" >&6
9016 echo "$as_me:$LINENO: result: no" >&5
9017 echo "${ECHO_T}no" >&6
9024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9025 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9027 # Check whether --enable-commondlg or --disable-commondlg was given.
9028 if test "${enable_commondlg+set}" = set; then
9029 enableval
="$enable_commondlg"
9031 if test "$enableval" = yes; then
9032 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
9034 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
9039 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9040 if test "x$LINE" != x
; then
9041 eval "DEFAULT_$LINE"
9046 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9050 eval "$ac_cv_use_commondlg"
9051 if test "$no_cache" != 1; then
9052 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9055 if test "$wxUSE_COMMONDLGS" = yes; then
9056 echo "$as_me:$LINENO: result: yes" >&5
9057 echo "${ECHO_T}yes" >&6
9059 echo "$as_me:$LINENO: result: no" >&5
9060 echo "${ECHO_T}no" >&6
9065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9066 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9068 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9069 if test "${enable_choicedlg+set}" = set; then
9070 enableval
="$enable_choicedlg"
9072 if test "$enableval" = yes; then
9073 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
9075 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
9080 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9081 if test "x$LINE" != x
; then
9082 eval "DEFAULT_$LINE"
9087 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9091 eval "$ac_cv_use_choicedlg"
9092 if test "$no_cache" != 1; then
9093 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9096 if test "$wxUSE_CHOICEDLG" = yes; then
9097 echo "$as_me:$LINENO: result: yes" >&5
9098 echo "${ECHO_T}yes" >&6
9100 echo "$as_me:$LINENO: result: no" >&5
9101 echo "${ECHO_T}no" >&6
9106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9107 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9109 # Check whether --enable-coldlg or --disable-coldlg was given.
9110 if test "${enable_coldlg+set}" = set; then
9111 enableval
="$enable_coldlg"
9113 if test "$enableval" = yes; then
9114 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
9116 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
9121 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9122 if test "x$LINE" != x
; then
9123 eval "DEFAULT_$LINE"
9128 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9132 eval "$ac_cv_use_coldlg"
9133 if test "$no_cache" != 1; then
9134 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9137 if test "$wxUSE_COLOURDLG" = yes; then
9138 echo "$as_me:$LINENO: result: yes" >&5
9139 echo "${ECHO_T}yes" >&6
9141 echo "$as_me:$LINENO: result: no" >&5
9142 echo "${ECHO_T}no" >&6
9147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9148 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9150 # Check whether --enable-filedlg or --disable-filedlg was given.
9151 if test "${enable_filedlg+set}" = set; then
9152 enableval
="$enable_filedlg"
9154 if test "$enableval" = yes; then
9155 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
9157 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
9162 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9163 if test "x$LINE" != x
; then
9164 eval "DEFAULT_$LINE"
9169 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9173 eval "$ac_cv_use_filedlg"
9174 if test "$no_cache" != 1; then
9175 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9178 if test "$wxUSE_FILEDLG" = yes; then
9179 echo "$as_me:$LINENO: result: yes" >&5
9180 echo "${ECHO_T}yes" >&6
9182 echo "$as_me:$LINENO: result: no" >&5
9183 echo "${ECHO_T}no" >&6
9188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9189 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9191 # Check whether --enable-finddlg or --disable-finddlg was given.
9192 if test "${enable_finddlg+set}" = set; then
9193 enableval
="$enable_finddlg"
9195 if test "$enableval" = yes; then
9196 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
9198 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
9203 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9204 if test "x$LINE" != x
; then
9205 eval "DEFAULT_$LINE"
9210 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9214 eval "$ac_cv_use_finddlg"
9215 if test "$no_cache" != 1; then
9216 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9219 if test "$wxUSE_FINDREPLDLG" = yes; then
9220 echo "$as_me:$LINENO: result: yes" >&5
9221 echo "${ECHO_T}yes" >&6
9223 echo "$as_me:$LINENO: result: no" >&5
9224 echo "${ECHO_T}no" >&6
9229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9230 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9232 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9233 if test "${enable_fontdlg+set}" = set; then
9234 enableval
="$enable_fontdlg"
9236 if test "$enableval" = yes; then
9237 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
9239 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
9244 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9245 if test "x$LINE" != x
; then
9246 eval "DEFAULT_$LINE"
9251 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9255 eval "$ac_cv_use_fontdlg"
9256 if test "$no_cache" != 1; then
9257 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9260 if test "$wxUSE_FONTDLG" = yes; then
9261 echo "$as_me:$LINENO: result: yes" >&5
9262 echo "${ECHO_T}yes" >&6
9264 echo "$as_me:$LINENO: result: no" >&5
9265 echo "${ECHO_T}no" >&6
9270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9271 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9273 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9274 if test "${enable_dirdlg+set}" = set; then
9275 enableval
="$enable_dirdlg"
9277 if test "$enableval" = yes; then
9278 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
9280 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
9285 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9286 if test "x$LINE" != x
; then
9287 eval "DEFAULT_$LINE"
9292 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9296 eval "$ac_cv_use_dirdlg"
9297 if test "$no_cache" != 1; then
9298 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9301 if test "$wxUSE_DIRDLG" = yes; then
9302 echo "$as_me:$LINENO: result: yes" >&5
9303 echo "${ECHO_T}yes" >&6
9305 echo "$as_me:$LINENO: result: no" >&5
9306 echo "${ECHO_T}no" >&6
9311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9312 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9314 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9315 if test "${enable_msgdlg+set}" = set; then
9316 enableval
="$enable_msgdlg"
9318 if test "$enableval" = yes; then
9319 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
9321 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
9326 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9327 if test "x$LINE" != x
; then
9328 eval "DEFAULT_$LINE"
9333 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9337 eval "$ac_cv_use_msgdlg"
9338 if test "$no_cache" != 1; then
9339 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9342 if test "$wxUSE_MSGDLG" = yes; then
9343 echo "$as_me:$LINENO: result: yes" >&5
9344 echo "${ECHO_T}yes" >&6
9346 echo "$as_me:$LINENO: result: no" >&5
9347 echo "${ECHO_T}no" >&6
9352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9353 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9355 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9356 if test "${enable_numberdlg+set}" = set; then
9357 enableval
="$enable_numberdlg"
9359 if test "$enableval" = yes; then
9360 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9362 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9367 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9368 if test "x$LINE" != x
; then
9369 eval "DEFAULT_$LINE"
9374 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9378 eval "$ac_cv_use_numberdlg"
9379 if test "$no_cache" != 1; then
9380 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9383 if test "$wxUSE_NUMBERDLG" = yes; then
9384 echo "$as_me:$LINENO: result: yes" >&5
9385 echo "${ECHO_T}yes" >&6
9387 echo "$as_me:$LINENO: result: no" >&5
9388 echo "${ECHO_T}no" >&6
9393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9394 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9396 # Check whether --enable-splash or --disable-splash was given.
9397 if test "${enable_splash+set}" = set; then
9398 enableval
="$enable_splash"
9400 if test "$enableval" = yes; then
9401 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9403 ac_cv_use_splash
='wxUSE_SPLASH=no'
9408 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9409 if test "x$LINE" != x
; then
9410 eval "DEFAULT_$LINE"
9415 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9419 eval "$ac_cv_use_splash"
9420 if test "$no_cache" != 1; then
9421 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9424 if test "$wxUSE_SPLASH" = yes; then
9425 echo "$as_me:$LINENO: result: yes" >&5
9426 echo "${ECHO_T}yes" >&6
9428 echo "$as_me:$LINENO: result: no" >&5
9429 echo "${ECHO_T}no" >&6
9434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9435 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9437 # Check whether --enable-textdlg or --disable-textdlg was given.
9438 if test "${enable_textdlg+set}" = set; then
9439 enableval
="$enable_textdlg"
9441 if test "$enableval" = yes; then
9442 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9444 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9449 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9450 if test "x$LINE" != x
; then
9451 eval "DEFAULT_$LINE"
9456 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9460 eval "$ac_cv_use_textdlg"
9461 if test "$no_cache" != 1; then
9462 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9465 if test "$wxUSE_TEXTDLG" = yes; then
9466 echo "$as_me:$LINENO: result: yes" >&5
9467 echo "${ECHO_T}yes" >&6
9469 echo "$as_me:$LINENO: result: no" >&5
9470 echo "${ECHO_T}no" >&6
9475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9476 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9478 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9479 if test "${enable_tipdlg+set}" = set; then
9480 enableval
="$enable_tipdlg"
9482 if test "$enableval" = yes; then
9483 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9485 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9490 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9491 if test "x$LINE" != x
; then
9492 eval "DEFAULT_$LINE"
9497 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9501 eval "$ac_cv_use_tipdlg"
9502 if test "$no_cache" != 1; then
9503 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9506 if test "$wxUSE_STARTUP_TIPS" = yes; then
9507 echo "$as_me:$LINENO: result: yes" >&5
9508 echo "${ECHO_T}yes" >&6
9510 echo "$as_me:$LINENO: result: no" >&5
9511 echo "${ECHO_T}no" >&6
9516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9517 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9519 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9520 if test "${enable_progressdlg+set}" = set; then
9521 enableval
="$enable_progressdlg"
9523 if test "$enableval" = yes; then
9524 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9526 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9531 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9532 if test "x$LINE" != x
; then
9533 eval "DEFAULT_$LINE"
9538 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9542 eval "$ac_cv_use_progressdlg"
9543 if test "$no_cache" != 1; then
9544 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9547 if test "$wxUSE_PROGRESSDLG" = yes; then
9548 echo "$as_me:$LINENO: result: yes" >&5
9549 echo "${ECHO_T}yes" >&6
9551 echo "$as_me:$LINENO: result: no" >&5
9552 echo "${ECHO_T}no" >&6
9557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9558 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9560 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9561 if test "${enable_wizarddlg+set}" = set; then
9562 enableval
="$enable_wizarddlg"
9564 if test "$enableval" = yes; then
9565 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9567 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9572 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9573 if test "x$LINE" != x
; then
9574 eval "DEFAULT_$LINE"
9579 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9583 eval "$ac_cv_use_wizarddlg"
9584 if test "$no_cache" != 1; then
9585 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9588 if test "$wxUSE_WIZARDDLG" = yes; then
9589 echo "$as_me:$LINENO: result: yes" >&5
9590 echo "${ECHO_T}yes" >&6
9592 echo "$as_me:$LINENO: result: no" >&5
9593 echo "${ECHO_T}no" >&6
9600 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9601 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9603 # Check whether --enable-menus or --disable-menus was given.
9604 if test "${enable_menus+set}" = set; then
9605 enableval
="$enable_menus"
9607 if test "$enableval" = yes; then
9608 ac_cv_use_menus
='wxUSE_MENUS=yes'
9610 ac_cv_use_menus
='wxUSE_MENUS=no'
9615 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9616 if test "x$LINE" != x
; then
9617 eval "DEFAULT_$LINE"
9622 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9626 eval "$ac_cv_use_menus"
9627 if test "$no_cache" != 1; then
9628 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9631 if test "$wxUSE_MENUS" = yes; then
9632 echo "$as_me:$LINENO: result: yes" >&5
9633 echo "${ECHO_T}yes" >&6
9635 echo "$as_me:$LINENO: result: no" >&5
9636 echo "${ECHO_T}no" >&6
9641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9642 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9644 # Check whether --enable-miniframe or --disable-miniframe was given.
9645 if test "${enable_miniframe+set}" = set; then
9646 enableval
="$enable_miniframe"
9648 if test "$enableval" = yes; then
9649 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9651 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9656 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9657 if test "x$LINE" != x
; then
9658 eval "DEFAULT_$LINE"
9663 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9667 eval "$ac_cv_use_miniframe"
9668 if test "$no_cache" != 1; then
9669 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9672 if test "$wxUSE_MINIFRAME" = yes; then
9673 echo "$as_me:$LINENO: result: yes" >&5
9674 echo "${ECHO_T}yes" >&6
9676 echo "$as_me:$LINENO: result: no" >&5
9677 echo "${ECHO_T}no" >&6
9682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9683 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9685 # Check whether --enable-tooltips or --disable-tooltips was given.
9686 if test "${enable_tooltips+set}" = set; then
9687 enableval
="$enable_tooltips"
9689 if test "$enableval" = yes; then
9690 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9692 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9697 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9698 if test "x$LINE" != x
; then
9699 eval "DEFAULT_$LINE"
9704 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9708 eval "$ac_cv_use_tooltips"
9709 if test "$no_cache" != 1; then
9710 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9713 if test "$wxUSE_TOOLTIPS" = yes; then
9714 echo "$as_me:$LINENO: result: yes" >&5
9715 echo "${ECHO_T}yes" >&6
9717 echo "$as_me:$LINENO: result: no" >&5
9718 echo "${ECHO_T}no" >&6
9723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9724 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9726 # Check whether --enable-splines or --disable-splines was given.
9727 if test "${enable_splines+set}" = set; then
9728 enableval
="$enable_splines"
9730 if test "$enableval" = yes; then
9731 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9733 ac_cv_use_splines
='wxUSE_SPLINES=no'
9738 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9739 if test "x$LINE" != x
; then
9740 eval "DEFAULT_$LINE"
9745 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9749 eval "$ac_cv_use_splines"
9750 if test "$no_cache" != 1; then
9751 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9754 if test "$wxUSE_SPLINES" = yes; then
9755 echo "$as_me:$LINENO: result: yes" >&5
9756 echo "${ECHO_T}yes" >&6
9758 echo "$as_me:$LINENO: result: no" >&5
9759 echo "${ECHO_T}no" >&6
9764 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
9765 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
9767 # Check whether --enable-mousewheel or --disable-mousewheel was given.
9768 if test "${enable_mousewheel+set}" = set; then
9769 enableval
="$enable_mousewheel"
9771 if test "$enableval" = yes; then
9772 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
9774 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
9779 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
9780 if test "x$LINE" != x
; then
9781 eval "DEFAULT_$LINE"
9786 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
9790 eval "$ac_cv_use_mousewheel"
9791 if test "$no_cache" != 1; then
9792 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
9795 if test "$wxUSE_MOUSEWHEEL" = yes; then
9796 echo "$as_me:$LINENO: result: yes" >&5
9797 echo "${ECHO_T}yes" >&6
9799 echo "$as_me:$LINENO: result: no" >&5
9800 echo "${ECHO_T}no" >&6
9805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9806 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9808 # Check whether --enable-validators or --disable-validators was given.
9809 if test "${enable_validators+set}" = set; then
9810 enableval
="$enable_validators"
9812 if test "$enableval" = yes; then
9813 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9815 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9820 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9821 if test "x$LINE" != x
; then
9822 eval "DEFAULT_$LINE"
9827 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9831 eval "$ac_cv_use_validators"
9832 if test "$no_cache" != 1; then
9833 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9836 if test "$wxUSE_VALIDATORS" = yes; then
9837 echo "$as_me:$LINENO: result: yes" >&5
9838 echo "${ECHO_T}yes" >&6
9840 echo "$as_me:$LINENO: result: no" >&5
9841 echo "${ECHO_T}no" >&6
9846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9847 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9849 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9850 if test "${enable_busyinfo+set}" = set; then
9851 enableval
="$enable_busyinfo"
9853 if test "$enableval" = yes; then
9854 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9856 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9861 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9862 if test "x$LINE" != x
; then
9863 eval "DEFAULT_$LINE"
9868 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9872 eval "$ac_cv_use_busyinfo"
9873 if test "$no_cache" != 1; then
9874 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9877 if test "$wxUSE_BUSYINFO" = yes; then
9878 echo "$as_me:$LINENO: result: yes" >&5
9879 echo "${ECHO_T}yes" >&6
9881 echo "$as_me:$LINENO: result: no" >&5
9882 echo "${ECHO_T}no" >&6
9887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9888 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9890 # Check whether --enable-joystick or --disable-joystick was given.
9891 if test "${enable_joystick+set}" = set; then
9892 enableval
="$enable_joystick"
9894 if test "$enableval" = yes; then
9895 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9897 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9902 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9903 if test "x$LINE" != x
; then
9904 eval "DEFAULT_$LINE"
9909 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9913 eval "$ac_cv_use_joystick"
9914 if test "$no_cache" != 1; then
9915 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9918 if test "$wxUSE_JOYSTICK" = yes; then
9919 echo "$as_me:$LINENO: result: yes" >&5
9920 echo "${ECHO_T}yes" >&6
9922 echo "$as_me:$LINENO: result: no" >&5
9923 echo "${ECHO_T}no" >&6
9928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9929 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9931 # Check whether --enable-metafile or --disable-metafile was given.
9932 if test "${enable_metafile+set}" = set; then
9933 enableval
="$enable_metafile"
9935 if test "$enableval" = yes; then
9936 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9938 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9943 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9944 if test "x$LINE" != x
; then
9945 eval "DEFAULT_$LINE"
9950 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9954 eval "$ac_cv_use_metafile"
9955 if test "$no_cache" != 1; then
9956 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9959 if test "$wxUSE_METAFILE" = yes; then
9960 echo "$as_me:$LINENO: result: yes" >&5
9961 echo "${ECHO_T}yes" >&6
9963 echo "$as_me:$LINENO: result: no" >&5
9964 echo "${ECHO_T}no" >&6
9969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9970 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9972 # Check whether --enable-dragimage or --disable-dragimage was given.
9973 if test "${enable_dragimage+set}" = set; then
9974 enableval
="$enable_dragimage"
9976 if test "$enableval" = yes; then
9977 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9979 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9984 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9985 if test "x$LINE" != x
; then
9986 eval "DEFAULT_$LINE"
9991 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9995 eval "$ac_cv_use_dragimage"
9996 if test "$no_cache" != 1; then
9997 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10000 if test "$wxUSE_DRAGIMAGE" = yes; then
10001 echo "$as_me:$LINENO: result: yes" >&5
10002 echo "${ECHO_T}yes" >&6
10004 echo "$as_me:$LINENO: result: no" >&5
10005 echo "${ECHO_T}no" >&6
10010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10011 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10013 # Check whether --enable-accessibility or --disable-accessibility was given.
10014 if test "${enable_accessibility+set}" = set; then
10015 enableval
="$enable_accessibility"
10017 if test "$enableval" = yes; then
10018 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
10020 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
10025 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10026 if test "x$LINE" != x
; then
10027 eval "DEFAULT_$LINE"
10032 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10036 eval "$ac_cv_use_accessibility"
10037 if test "$no_cache" != 1; then
10038 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10041 if test "$wxUSE_ACCESSIBILITY" = yes; then
10042 echo "$as_me:$LINENO: result: yes" >&5
10043 echo "${ECHO_T}yes" >&6
10045 echo "$as_me:$LINENO: result: no" >&5
10046 echo "${ECHO_T}no" >&6
10053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10054 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10056 # Check whether --enable-palette or --disable-palette was given.
10057 if test "${enable_palette+set}" = set; then
10058 enableval
="$enable_palette"
10060 if test "$enableval" = yes; then
10061 ac_cv_use_palette
='wxUSE_PALETTE=yes'
10063 ac_cv_use_palette
='wxUSE_PALETTE=no'
10068 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10069 if test "x$LINE" != x
; then
10070 eval "DEFAULT_$LINE"
10075 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10079 eval "$ac_cv_use_palette"
10080 if test "$no_cache" != 1; then
10081 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10084 if test "$wxUSE_PALETTE" = yes; then
10085 echo "$as_me:$LINENO: result: yes" >&5
10086 echo "${ECHO_T}yes" >&6
10088 echo "$as_me:$LINENO: result: no" >&5
10089 echo "${ECHO_T}no" >&6
10094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10095 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10097 # Check whether --enable-image or --disable-image was given.
10098 if test "${enable_image+set}" = set; then
10099 enableval
="$enable_image"
10101 if test "$enableval" = yes; then
10102 ac_cv_use_image
='wxUSE_IMAGE=yes'
10104 ac_cv_use_image
='wxUSE_IMAGE=no'
10109 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10110 if test "x$LINE" != x
; then
10111 eval "DEFAULT_$LINE"
10116 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10120 eval "$ac_cv_use_image"
10121 if test "$no_cache" != 1; then
10122 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10125 if test "$wxUSE_IMAGE" = yes; then
10126 echo "$as_me:$LINENO: result: yes" >&5
10127 echo "${ECHO_T}yes" >&6
10129 echo "$as_me:$LINENO: result: no" >&5
10130 echo "${ECHO_T}no" >&6
10135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10136 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10138 # Check whether --enable-gif or --disable-gif was given.
10139 if test "${enable_gif+set}" = set; then
10140 enableval
="$enable_gif"
10142 if test "$enableval" = yes; then
10143 ac_cv_use_gif
='wxUSE_GIF=yes'
10145 ac_cv_use_gif
='wxUSE_GIF=no'
10150 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10151 if test "x$LINE" != x
; then
10152 eval "DEFAULT_$LINE"
10157 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10161 eval "$ac_cv_use_gif"
10162 if test "$no_cache" != 1; then
10163 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10166 if test "$wxUSE_GIF" = yes; then
10167 echo "$as_me:$LINENO: result: yes" >&5
10168 echo "${ECHO_T}yes" >&6
10170 echo "$as_me:$LINENO: result: no" >&5
10171 echo "${ECHO_T}no" >&6
10176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10177 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10179 # Check whether --enable-pcx or --disable-pcx was given.
10180 if test "${enable_pcx+set}" = set; then
10181 enableval
="$enable_pcx"
10183 if test "$enableval" = yes; then
10184 ac_cv_use_pcx
='wxUSE_PCX=yes'
10186 ac_cv_use_pcx
='wxUSE_PCX=no'
10191 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10192 if test "x$LINE" != x
; then
10193 eval "DEFAULT_$LINE"
10198 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10202 eval "$ac_cv_use_pcx"
10203 if test "$no_cache" != 1; then
10204 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10207 if test "$wxUSE_PCX" = yes; then
10208 echo "$as_me:$LINENO: result: yes" >&5
10209 echo "${ECHO_T}yes" >&6
10211 echo "$as_me:$LINENO: result: no" >&5
10212 echo "${ECHO_T}no" >&6
10217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10218 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10220 # Check whether --enable-iff or --disable-iff was given.
10221 if test "${enable_iff+set}" = set; then
10222 enableval
="$enable_iff"
10224 if test "$enableval" = yes; then
10225 ac_cv_use_iff
='wxUSE_IFF=yes'
10227 ac_cv_use_iff
='wxUSE_IFF=no'
10232 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10233 if test "x$LINE" != x
; then
10234 eval "DEFAULT_$LINE"
10239 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10243 eval "$ac_cv_use_iff"
10244 if test "$no_cache" != 1; then
10245 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10248 if test "$wxUSE_IFF" = yes; then
10249 echo "$as_me:$LINENO: result: yes" >&5
10250 echo "${ECHO_T}yes" >&6
10252 echo "$as_me:$LINENO: result: no" >&5
10253 echo "${ECHO_T}no" >&6
10258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10259 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10261 # Check whether --enable-pnm or --disable-pnm was given.
10262 if test "${enable_pnm+set}" = set; then
10263 enableval
="$enable_pnm"
10265 if test "$enableval" = yes; then
10266 ac_cv_use_pnm
='wxUSE_PNM=yes'
10268 ac_cv_use_pnm
='wxUSE_PNM=no'
10273 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10274 if test "x$LINE" != x
; then
10275 eval "DEFAULT_$LINE"
10280 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10284 eval "$ac_cv_use_pnm"
10285 if test "$no_cache" != 1; then
10286 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10289 if test "$wxUSE_PNM" = yes; then
10290 echo "$as_me:$LINENO: result: yes" >&5
10291 echo "${ECHO_T}yes" >&6
10293 echo "$as_me:$LINENO: result: no" >&5
10294 echo "${ECHO_T}no" >&6
10299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10300 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10302 # Check whether --enable-xpm or --disable-xpm was given.
10303 if test "${enable_xpm+set}" = set; then
10304 enableval
="$enable_xpm"
10306 if test "$enableval" = yes; then
10307 ac_cv_use_xpm
='wxUSE_XPM=yes'
10309 ac_cv_use_xpm
='wxUSE_XPM=no'
10314 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10315 if test "x$LINE" != x
; then
10316 eval "DEFAULT_$LINE"
10321 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10325 eval "$ac_cv_use_xpm"
10326 if test "$no_cache" != 1; then
10327 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10330 if test "$wxUSE_XPM" = yes; then
10331 echo "$as_me:$LINENO: result: yes" >&5
10332 echo "${ECHO_T}yes" >&6
10334 echo "$as_me:$LINENO: result: no" >&5
10335 echo "${ECHO_T}no" >&6
10340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10341 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10343 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10344 if test "${enable_ico_cur+set}" = set; then
10345 enableval
="$enable_ico_cur"
10347 if test "$enableval" = yes; then
10348 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
10350 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
10355 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10356 if test "x$LINE" != x
; then
10357 eval "DEFAULT_$LINE"
10362 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10366 eval "$ac_cv_use_ico_cur"
10367 if test "$no_cache" != 1; then
10368 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10371 if test "$wxUSE_ICO_CUR" = yes; then
10372 echo "$as_me:$LINENO: result: yes" >&5
10373 echo "${ECHO_T}yes" >&6
10375 echo "$as_me:$LINENO: result: no" >&5
10376 echo "${ECHO_T}no" >&6
10384 # Check whether --with-flavour or --without-flavour was given.
10385 if test "${with_flavour+set}" = set; then
10386 withval
="$with_flavour"
10387 WX_FLAVOUR
="$withval"
10393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10394 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10396 # Check whether --enable-official_build or --disable-official_build was given.
10397 if test "${enable_official_build+set}" = set; then
10398 enableval
="$enable_official_build"
10400 if test "$enableval" = yes; then
10401 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10403 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10408 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10409 if test "x$LINE" != x
; then
10410 eval "DEFAULT_$LINE"
10415 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10419 eval "$ac_cv_use_official_build"
10420 if test "$no_cache" != 1; then
10421 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10424 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10425 echo "$as_me:$LINENO: result: yes" >&5
10426 echo "${ECHO_T}yes" >&6
10428 echo "$as_me:$LINENO: result: no" >&5
10429 echo "${ECHO_T}no" >&6
10432 # Check whether --enable-vendor or --disable-vendor was given.
10433 if test "${enable_vendor+set}" = set; then
10434 enableval
="$enable_vendor"
10435 VENDOR
="$enableval"
10437 if test "x$VENDOR" = "x"; then
10444 echo "saving argument cache $wx_arg_cache_file"
10445 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10449 echo "$as_me:$LINENO: checking for toolkit" >&5
10450 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10452 # In Wine, we need to default to MSW, not GTK or MOTIF
10453 if test "$wxUSE_WINE" = "yes"; then
10454 DEFAULT_DEFAULT_wxUSE_GTK
=0
10455 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10456 DEFAULT_DEFAULT_wxUSE_MSW
=1
10461 if test "$wxUSE_GUI" = "yes"; then
10463 if test "$USE_BEOS" = 1; then
10464 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10465 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10466 { (exit 1); exit 1; }; }
10469 if test "$TOOLKIT_GIVEN" = 1; then
10470 for toolkit
in `echo $ALL_TOOLKITS`; do
10472 eval "value=\$${var}"
10473 if test "x$value" = "xno"; then
10475 elif test "x$value" != "x"; then
10479 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10480 eval "wx${toolkit}_VERSION=$value"
10484 for toolkit
in `echo $ALL_TOOLKITS`; do
10485 if test "$has_toolkit_in_cache" != 1; then
10486 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10488 var
=DEFAULT_wxUSE_
$toolkit
10490 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10491 if test "x$version" != "x"; then
10492 eval "wx${toolkit}_VERSION=$version"
10495 eval "wxUSE_$toolkit=\$${var}"
10499 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10500 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10501 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10504 *-pc-os2_emx | *-pc-os2-emx )
10505 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10508 case "$NUM_TOOLKITS" in
10512 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10513 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10514 { (exit 1); exit 1; }; }
10517 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10518 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10519 { (exit 1); exit 1; }; }
10522 # to be removed when --disable-gtk2 isn't needed
10523 if test "x$wxUSE_GTK2" = "xyes"; then
10525 elif test "x$wxUSE_GTK2" = "xno"; then
10529 for toolkit
in `echo $ALL_TOOLKITS`; do
10531 eval "value=\$${var}"
10532 if test "x$value" != x
; then
10533 cache_var
=CACHE_
$toolkit
10534 eval "cache=\$${cache_var}"
10535 if test "$cache" = 1; then
10536 echo "$var=$value" >> ${wx_arg_cache_file}
10537 eval "version=\$wx${toolkit}_VERSION"
10538 if test "x$version" != "x"; then
10539 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10542 if test "$value" = 1; then
10543 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10544 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10545 echo "${ECHO_T}$toolkit_echo" >&6
10550 if test "x$host_alias" != "x"; then
10551 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10552 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10554 echo "$as_me:$LINENO: result: base only" >&5
10555 echo "${ECHO_T}base only" >&6
10560 doesnt_want_win32
=0
10563 if test "$wxUSE_MSW" = 1 ; then
10566 doesnt_want_win32
=1
10574 if test "$wxUSE_WINE" = "yes"; then
10579 LDFLAGS_GUI
="-mwindows"
10582 if test "$wants_win32" = 1 ; then
10585 cat >>confdefs.h
<<\_ACEOF
10586 #define __WIN32__ 1
10589 cat >>confdefs.h
<<\_ACEOF
10590 #define __WIN95__ 1
10593 cat >>confdefs.h
<<\_ACEOF
10594 #define __WINDOWS__ 1
10597 cat >>confdefs.h
<<\_ACEOF
10598 #define __GNUWIN32__ 1
10601 cat >>confdefs.h
<<\_ACEOF
10605 cat >>confdefs.h
<<\_ACEOF
10606 #define WINVER 0x0400
10610 if test "$doesnt_want_win32" = 1 ; then
10615 if test "$USE_UNIX" = 1 ; then
10617 cat >>confdefs.h
<<\_ACEOF
10624 cat >confcache
<<\_ACEOF
10625 # This file is a shell script that caches the results of configure
10626 # tests run on this system so they can be shared between configure
10627 # scripts and configure runs, see configure's option --config-cache.
10628 # It is not useful on other systems. If it contains results you don't
10629 # want to keep, you may remove or edit it.
10631 # config.status only pays attention to the cache file if you give it
10632 # the --recheck option to rerun configure.
10634 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10635 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10636 # following values.
10640 # The following way of writing the cache mishandles newlines in values,
10641 # but we know of no workaround that is simple, portable, and efficient.
10642 # So, don't put newlines in cache variables' values.
10643 # Ultrix sh set writes to stderr and can't be redirected directly,
10644 # and sets the high bit in the cache file unless we assign to the vars.
10647 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10649 # `set' does not quote correctly, so add quotes (double-quote
10650 # substitution turns \\\\ into \\, and sed turns \\ into \).
10653 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10656 # `set' quotes correctly as required by POSIX, so do not add quotes.
10658 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10665 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10667 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10669 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10670 if test -w $cache_file; then
10671 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10672 cat confcache
>$cache_file
10674 echo "not updating unwritable cache $cache_file"
10679 if test "$build" != "$host" ; then
10680 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10682 CXX
=$host_alias-c++
10684 RANLIB
=$host_alias-ranlib
10685 DLLTOOL
=$host_alias-dlltool
10686 RESCOMP
=$host_alias-windres
10687 STRIP
=$host_alias-strip
10688 elif test "x$CC" '!=' "x"; then
10689 echo "You set CC, I assume you know what you are doing."
10691 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10692 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10693 { (exit 1); exit 1; }; }
10701 ac_cpp
='$CPP $CPPFLAGS'
10702 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10703 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10704 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10705 if test -n "$ac_tool_prefix"; then
10706 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10707 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10708 echo "$as_me:$LINENO: checking for $ac_word" >&5
10709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10710 if test "${ac_cv_prog_CC+set}" = set; then
10711 echo $ECHO_N "(cached) $ECHO_C" >&6
10713 if test -n "$CC"; then
10714 ac_cv_prog_CC
="$CC" # Let the user override the test.
10716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10717 for as_dir
in $PATH
10720 test -z "$as_dir" && as_dir
=.
10721 for ac_exec_ext
in '' $ac_executable_extensions; do
10722 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10723 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10724 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10733 if test -n "$CC"; then
10734 echo "$as_me:$LINENO: result: $CC" >&5
10735 echo "${ECHO_T}$CC" >&6
10737 echo "$as_me:$LINENO: result: no" >&5
10738 echo "${ECHO_T}no" >&6
10742 if test -z "$ac_cv_prog_CC"; then
10744 # Extract the first word of "gcc", so it can be a program name with args.
10745 set dummy gcc
; ac_word
=$2
10746 echo "$as_me:$LINENO: checking for $ac_word" >&5
10747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10748 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10749 echo $ECHO_N "(cached) $ECHO_C" >&6
10751 if test -n "$ac_ct_CC"; then
10752 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10755 for as_dir
in $PATH
10758 test -z "$as_dir" && as_dir
=.
10759 for ac_exec_ext
in '' $ac_executable_extensions; do
10760 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10761 ac_cv_prog_ac_ct_CC
="gcc"
10762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10770 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10771 if test -n "$ac_ct_CC"; then
10772 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10773 echo "${ECHO_T}$ac_ct_CC" >&6
10775 echo "$as_me:$LINENO: result: no" >&5
10776 echo "${ECHO_T}no" >&6
10781 CC
="$ac_cv_prog_CC"
10784 if test -z "$CC"; then
10785 if test -n "$ac_tool_prefix"; then
10786 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10787 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10788 echo "$as_me:$LINENO: checking for $ac_word" >&5
10789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10790 if test "${ac_cv_prog_CC+set}" = set; then
10791 echo $ECHO_N "(cached) $ECHO_C" >&6
10793 if test -n "$CC"; then
10794 ac_cv_prog_CC
="$CC" # Let the user override the test.
10796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10797 for as_dir
in $PATH
10800 test -z "$as_dir" && as_dir
=.
10801 for ac_exec_ext
in '' $ac_executable_extensions; do
10802 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10803 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10813 if test -n "$CC"; then
10814 echo "$as_me:$LINENO: result: $CC" >&5
10815 echo "${ECHO_T}$CC" >&6
10817 echo "$as_me:$LINENO: result: no" >&5
10818 echo "${ECHO_T}no" >&6
10822 if test -z "$ac_cv_prog_CC"; then
10824 # Extract the first word of "cc", so it can be a program name with args.
10825 set dummy cc
; ac_word
=$2
10826 echo "$as_me:$LINENO: checking for $ac_word" >&5
10827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10828 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10829 echo $ECHO_N "(cached) $ECHO_C" >&6
10831 if test -n "$ac_ct_CC"; then
10832 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10835 for as_dir
in $PATH
10838 test -z "$as_dir" && as_dir
=.
10839 for ac_exec_ext
in '' $ac_executable_extensions; do
10840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10841 ac_cv_prog_ac_ct_CC
="cc"
10842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10850 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10851 if test -n "$ac_ct_CC"; then
10852 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10853 echo "${ECHO_T}$ac_ct_CC" >&6
10855 echo "$as_me:$LINENO: result: no" >&5
10856 echo "${ECHO_T}no" >&6
10861 CC
="$ac_cv_prog_CC"
10865 if test -z "$CC"; then
10866 # Extract the first word of "cc", so it can be a program name with args.
10867 set dummy cc
; ac_word
=$2
10868 echo "$as_me:$LINENO: checking for $ac_word" >&5
10869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10870 if test "${ac_cv_prog_CC+set}" = set; then
10871 echo $ECHO_N "(cached) $ECHO_C" >&6
10873 if test -n "$CC"; then
10874 ac_cv_prog_CC
="$CC" # Let the user override the test.
10876 ac_prog_rejected
=no
10877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10878 for as_dir
in $PATH
10881 test -z "$as_dir" && as_dir
=.
10882 for ac_exec_ext
in '' $ac_executable_extensions; do
10883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10884 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10885 ac_prog_rejected
=yes
10889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10895 if test $ac_prog_rejected = yes; then
10896 # We found a bogon in the path, so make sure we never use it.
10897 set dummy
$ac_cv_prog_CC
10899 if test $# != 0; then
10900 # We chose a different compiler from the bogus one.
10901 # However, it has the same basename, so the bogon will be chosen
10902 # first if we set CC to just the basename; use the full file name.
10904 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10910 if test -n "$CC"; then
10911 echo "$as_me:$LINENO: result: $CC" >&5
10912 echo "${ECHO_T}$CC" >&6
10914 echo "$as_me:$LINENO: result: no" >&5
10915 echo "${ECHO_T}no" >&6
10919 if test -z "$CC"; then
10920 if test -n "$ac_tool_prefix"; then
10923 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10924 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10925 echo "$as_me:$LINENO: checking for $ac_word" >&5
10926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10927 if test "${ac_cv_prog_CC+set}" = set; then
10928 echo $ECHO_N "(cached) $ECHO_C" >&6
10930 if test -n "$CC"; then
10931 ac_cv_prog_CC
="$CC" # Let the user override the test.
10933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10934 for as_dir
in $PATH
10937 test -z "$as_dir" && as_dir
=.
10938 for ac_exec_ext
in '' $ac_executable_extensions; do
10939 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10940 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10950 if test -n "$CC"; then
10951 echo "$as_me:$LINENO: result: $CC" >&5
10952 echo "${ECHO_T}$CC" >&6
10954 echo "$as_me:$LINENO: result: no" >&5
10955 echo "${ECHO_T}no" >&6
10958 test -n "$CC" && break
10961 if test -z "$CC"; then
10965 # Extract the first word of "$ac_prog", so it can be a program name with args.
10966 set dummy
$ac_prog; ac_word
=$2
10967 echo "$as_me:$LINENO: checking for $ac_word" >&5
10968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10969 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10970 echo $ECHO_N "(cached) $ECHO_C" >&6
10972 if test -n "$ac_ct_CC"; then
10973 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10976 for as_dir
in $PATH
10979 test -z "$as_dir" && as_dir
=.
10980 for ac_exec_ext
in '' $ac_executable_extensions; do
10981 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10982 ac_cv_prog_ac_ct_CC
="$ac_prog"
10983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10991 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10992 if test -n "$ac_ct_CC"; then
10993 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10994 echo "${ECHO_T}$ac_ct_CC" >&6
10996 echo "$as_me:$LINENO: result: no" >&5
10997 echo "${ECHO_T}no" >&6
11000 test -n "$ac_ct_CC" && break
11009 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11010 See \`config.log' for more details." >&5
11011 echo "$as_me: error: no acceptable C compiler found in \$PATH
11012 See \`config.log' for more details." >&2;}
11013 { (exit 1); exit 1; }; }
11015 # Provide some information about the compiler.
11016 echo "$as_me:$LINENO:" \
11017 "checking for C compiler version" >&5
11018 ac_compiler
=`set X $ac_compile; echo $2`
11019 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11020 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11023 (exit $ac_status); }
11024 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11025 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11028 (exit $ac_status); }
11029 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11030 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11033 (exit $ac_status); }
11035 cat >conftest.
$ac_ext <<_ACEOF
11038 cat confdefs.h
>>conftest.
$ac_ext
11039 cat >>conftest.
$ac_ext <<_ACEOF
11040 /* end confdefs.h. */
11050 ac_clean_files_save
=$ac_clean_files
11051 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
11052 # Try to create an executable without -o first, disregard a.out.
11053 # It will help us diagnose broken compilers, and finding out an intuition
11055 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11056 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11057 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11058 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11059 (eval $ac_link_default) 2>&5
11061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11062 (exit $ac_status); }; then
11063 # Find the output, starting from the most likely. This scheme is
11064 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11067 # Be careful to initialize this variable, since it used to be cached.
11068 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11070 # b.out is created by i960 compilers.
11071 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
11073 test -f "$ac_file" || continue
11075 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
11078 # This is the source file.
11081 # We found the default executable, but exeext='' is most
11085 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11086 # FIXME: I believe we export ac_cv_exeext for Libtool,
11087 # but it would be cool to find out if it's true. Does anybody
11088 # maintain Libtool? --akim.
11089 export ac_cv_exeext
11096 echo "$as_me: failed program was:" >&5
11097 sed 's/^/| /' conftest.
$ac_ext >&5
11099 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11100 See \`config.log' for more details." >&5
11101 echo "$as_me: error: C compiler cannot create executables
11102 See \`config.log' for more details." >&2;}
11103 { (exit 77); exit 77; }; }
11106 ac_exeext
=$ac_cv_exeext
11107 echo "$as_me:$LINENO: result: $ac_file" >&5
11108 echo "${ECHO_T}$ac_file" >&6
11110 # Check the compiler produces executables we can run. If not, either
11111 # the compiler is broken, or we cross compile.
11112 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11113 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11114 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11115 # If not cross compiling, check that we can run a simple program.
11116 if test "$cross_compiling" != yes; then
11117 if { ac_try
='./$ac_file'
11118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11119 (eval $ac_try) 2>&5
11121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11122 (exit $ac_status); }; }; then
11125 if test "$cross_compiling" = maybe
; then
11126 cross_compiling
=yes
11128 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11129 If you meant to cross compile, use \`--host'.
11130 See \`config.log' for more details." >&5
11131 echo "$as_me: error: cannot run C compiled programs.
11132 If you meant to cross compile, use \`--host'.
11133 See \`config.log' for more details." >&2;}
11134 { (exit 1); exit 1; }; }
11138 echo "$as_me:$LINENO: result: yes" >&5
11139 echo "${ECHO_T}yes" >&6
11141 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11142 ac_clean_files
=$ac_clean_files_save
11143 # Check the compiler produces executables we can run. If not, either
11144 # the compiler is broken, or we cross compile.
11145 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11146 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11147 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11148 echo "${ECHO_T}$cross_compiling" >&6
11150 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11151 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11153 (eval $ac_link) 2>&5
11155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11156 (exit $ac_status); }; then
11157 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11158 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11159 # work properly (i.e., refer to `conftest.exe'), while it won't with
11161 for ac_file
in conftest.exe conftest conftest.
*; do
11162 test -f "$ac_file" || continue
11164 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11165 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11166 export ac_cv_exeext
11172 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11173 See \`config.log' for more details." >&5
11174 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11175 See \`config.log' for more details." >&2;}
11176 { (exit 1); exit 1; }; }
11179 rm -f conftest
$ac_cv_exeext
11180 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11181 echo "${ECHO_T}$ac_cv_exeext" >&6
11183 rm -f conftest.
$ac_ext
11184 EXEEXT
=$ac_cv_exeext
11186 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11187 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11188 if test "${ac_cv_objext+set}" = set; then
11189 echo $ECHO_N "(cached) $ECHO_C" >&6
11191 cat >conftest.
$ac_ext <<_ACEOF
11194 cat confdefs.h
>>conftest.
$ac_ext
11195 cat >>conftest.
$ac_ext <<_ACEOF
11196 /* end confdefs.h. */
11206 rm -f conftest.o conftest.obj
11207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11208 (eval $ac_compile) 2>&5
11210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11211 (exit $ac_status); }; then
11212 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11214 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
11215 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11220 echo "$as_me: failed program was:" >&5
11221 sed 's/^/| /' conftest.
$ac_ext >&5
11223 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11224 See \`config.log' for more details." >&5
11225 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11226 See \`config.log' for more details." >&2;}
11227 { (exit 1); exit 1; }; }
11230 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11232 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11233 echo "${ECHO_T}$ac_cv_objext" >&6
11234 OBJEXT
=$ac_cv_objext
11236 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11237 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11238 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11239 echo $ECHO_N "(cached) $ECHO_C" >&6
11241 cat >conftest.
$ac_ext <<_ACEOF
11244 cat confdefs.h
>>conftest.
$ac_ext
11245 cat >>conftest.
$ac_ext <<_ACEOF
11246 /* end confdefs.h. */
11259 rm -f conftest.
$ac_objext
11260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11261 (eval $ac_compile) 2>conftest.er1
11263 grep -v '^ *+' conftest.er1
>conftest.err
11265 cat conftest.err
>&5
11266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11267 (exit $ac_status); } &&
11268 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11270 (eval $ac_try) 2>&5
11272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11273 (exit $ac_status); }; } &&
11274 { ac_try
='test -s conftest.$ac_objext'
11275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11276 (eval $ac_try) 2>&5
11278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11279 (exit $ac_status); }; }; then
11280 ac_compiler_gnu
=yes
11282 echo "$as_me: failed program was:" >&5
11283 sed 's/^/| /' conftest.
$ac_ext >&5
11287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11288 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11291 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11292 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11293 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11294 ac_test_CFLAGS
=${CFLAGS+set}
11295 ac_save_CFLAGS
=$CFLAGS
11297 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11298 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11299 if test "${ac_cv_prog_cc_g+set}" = set; then
11300 echo $ECHO_N "(cached) $ECHO_C" >&6
11302 cat >conftest.
$ac_ext <<_ACEOF
11305 cat confdefs.h
>>conftest.
$ac_ext
11306 cat >>conftest.
$ac_ext <<_ACEOF
11307 /* end confdefs.h. */
11317 rm -f conftest.
$ac_objext
11318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11319 (eval $ac_compile) 2>conftest.er1
11321 grep -v '^ *+' conftest.er1
>conftest.err
11323 cat conftest.err
>&5
11324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11325 (exit $ac_status); } &&
11326 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11328 (eval $ac_try) 2>&5
11330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11331 (exit $ac_status); }; } &&
11332 { ac_try
='test -s conftest.$ac_objext'
11333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11334 (eval $ac_try) 2>&5
11336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11337 (exit $ac_status); }; }; then
11338 ac_cv_prog_cc_g
=yes
11340 echo "$as_me: failed program was:" >&5
11341 sed 's/^/| /' conftest.
$ac_ext >&5
11345 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11347 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11348 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11349 if test "$ac_test_CFLAGS" = set; then
11350 CFLAGS
=$ac_save_CFLAGS
11351 elif test $ac_cv_prog_cc_g = yes; then
11352 if test "$GCC" = yes; then
11358 if test "$GCC" = yes; then
11364 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11365 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11366 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11367 echo $ECHO_N "(cached) $ECHO_C" >&6
11369 ac_cv_prog_cc_stdc
=no
11371 cat >conftest.
$ac_ext <<_ACEOF
11374 cat confdefs.h
>>conftest.
$ac_ext
11375 cat >>conftest.
$ac_ext <<_ACEOF
11376 /* end confdefs.h. */
11377 #include <stdarg.h>
11379 #include <sys/types.h>
11380 #include <sys/stat.h>
11381 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11382 struct buf { int x; };
11383 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11384 static char *e (p, i)
11390 static char *f (char * (*g) (char **, int), char **p, ...)
11395 s = g (p, va_arg (v,int));
11400 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11401 function prototypes and stuff, but not '\xHH' hex character constants.
11402 These don't provoke an error unfortunately, instead are silently treated
11403 as 'x'. The following induces an error, until -std1 is added to get
11404 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11405 array size at least. It's necessary to write '\x00'==0 to get something
11406 that's true only with -std1. */
11407 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11409 int test (int i, double x);
11410 struct s1 {int (*f) (int a);};
11411 struct s2 {int (*f) (double a);};
11412 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11418 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11423 # Don't try gcc -ansi; that turns off useful extensions and
11424 # breaks some systems' header files.
11425 # AIX -qlanglvl=ansi
11426 # Ultrix and OSF/1 -std1
11427 # HP-UX 10.20 and later -Ae
11428 # HP-UX older versions -Aa -D_HPUX_SOURCE
11429 # SVR4 -Xc -D__EXTENSIONS__
11430 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11432 CC
="$ac_save_CC $ac_arg"
11433 rm -f conftest.
$ac_objext
11434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11435 (eval $ac_compile) 2>conftest.er1
11437 grep -v '^ *+' conftest.er1
>conftest.err
11439 cat conftest.err
>&5
11440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11441 (exit $ac_status); } &&
11442 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11444 (eval $ac_try) 2>&5
11446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11447 (exit $ac_status); }; } &&
11448 { ac_try
='test -s conftest.$ac_objext'
11449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11450 (eval $ac_try) 2>&5
11452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11453 (exit $ac_status); }; }; then
11454 ac_cv_prog_cc_stdc
=$ac_arg
11457 echo "$as_me: failed program was:" >&5
11458 sed 's/^/| /' conftest.
$ac_ext >&5
11461 rm -f conftest.err conftest.
$ac_objext
11463 rm -f conftest.
$ac_ext conftest.
$ac_objext
11468 case "x$ac_cv_prog_cc_stdc" in
11470 echo "$as_me:$LINENO: result: none needed" >&5
11471 echo "${ECHO_T}none needed" >&6 ;;
11473 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11474 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11475 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11478 # Some people use a C++ compiler to compile C. Since we use `exit',
11479 # in C++ we need to declare it. In case someone uses the same compiler
11480 # for both compiling C and C++ we need to have the C++ compiler decide
11481 # the declaration of exit, since it's the most demanding environment.
11482 cat >conftest.
$ac_ext <<_ACEOF
11483 #ifndef __cplusplus
11487 rm -f conftest.
$ac_objext
11488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11489 (eval $ac_compile) 2>conftest.er1
11491 grep -v '^ *+' conftest.er1
>conftest.err
11493 cat conftest.err
>&5
11494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11495 (exit $ac_status); } &&
11496 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11498 (eval $ac_try) 2>&5
11500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11501 (exit $ac_status); }; } &&
11502 { ac_try
='test -s conftest.$ac_objext'
11503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11504 (eval $ac_try) 2>&5
11506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11507 (exit $ac_status); }; }; then
11508 for ac_declaration
in \
11510 'extern "C" void std::exit (int) throw (); using std::exit;' \
11511 'extern "C" void std::exit (int); using std::exit;' \
11512 'extern "C" void exit (int) throw ();' \
11513 'extern "C" void exit (int);' \
11516 cat >conftest.
$ac_ext <<_ACEOF
11519 cat confdefs.h
>>conftest.
$ac_ext
11520 cat >>conftest.
$ac_ext <<_ACEOF
11521 /* end confdefs.h. */
11523 #include <stdlib.h>
11532 rm -f conftest.
$ac_objext
11533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11534 (eval $ac_compile) 2>conftest.er1
11536 grep -v '^ *+' conftest.er1
>conftest.err
11538 cat conftest.err
>&5
11539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11540 (exit $ac_status); } &&
11541 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11543 (eval $ac_try) 2>&5
11545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11546 (exit $ac_status); }; } &&
11547 { ac_try
='test -s conftest.$ac_objext'
11548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11549 (eval $ac_try) 2>&5
11551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11552 (exit $ac_status); }; }; then
11555 echo "$as_me: failed program was:" >&5
11556 sed 's/^/| /' conftest.
$ac_ext >&5
11560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11561 cat >conftest.
$ac_ext <<_ACEOF
11564 cat confdefs.h
>>conftest.
$ac_ext
11565 cat >>conftest.
$ac_ext <<_ACEOF
11566 /* end confdefs.h. */
11576 rm -f conftest.
$ac_objext
11577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11578 (eval $ac_compile) 2>conftest.er1
11580 grep -v '^ *+' conftest.er1
>conftest.err
11582 cat conftest.err
>&5
11583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11584 (exit $ac_status); } &&
11585 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11587 (eval $ac_try) 2>&5
11589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11590 (exit $ac_status); }; } &&
11591 { ac_try
='test -s conftest.$ac_objext'
11592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11593 (eval $ac_try) 2>&5
11595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11596 (exit $ac_status); }; }; then
11599 echo "$as_me: failed program was:" >&5
11600 sed 's/^/| /' conftest.
$ac_ext >&5
11603 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11606 if test -n "$ac_declaration"; then
11607 echo '#ifdef __cplusplus' >>confdefs.h
11608 echo $ac_declaration >>confdefs.h
11609 echo '#endif' >>confdefs.h
11613 echo "$as_me: failed program was:" >&5
11614 sed 's/^/| /' conftest.
$ac_ext >&5
11617 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11619 ac_cpp
='$CPP $CPPFLAGS'
11620 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11621 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11622 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11624 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11625 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11626 if test "${wx_cv_c_exto+set}" = set; then
11627 echo $ECHO_N "(cached) $ECHO_C" >&6
11629 cat >conftest.
$ac_ext <<_ACEOF
11632 cat confdefs.h
>>conftest.
$ac_ext
11633 cat >>conftest.
$ac_ext <<_ACEOF
11634 /* end confdefs.h. */
11644 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
11645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11646 (eval $ac_compile) 2>&5
11648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11649 (exit $ac_status); }; then
11650 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
11652 conftest.
$ac_ext.o
)
11653 wx_cv_c_exto
="-ext o"
11660 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11661 See \`config.log' for more details." >&5
11662 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11663 See \`config.log' for more details." >&2;}
11664 { (exit 1); exit 1; }; }
11668 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
11671 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5
11672 echo "${ECHO_T}$wx_cv_c_exto" >&6
11673 if test "x$wx_cv_c_exto" '!=' "x"; then
11674 if test "c" = "c"; then
11675 CFLAGS
="$wx_cv_c_exto $CFLAGS"
11677 if test "c" = "cxx"; then
11678 CXXFLAGS
="$wx_cv_c_exto $CXXFLAGS"
11682 if test "x$wx_cv_c_exto" '!=' "x"; then
11683 unset ac_cv_prog_cc_g
11684 ac_test_CFLAGS
=${CFLAGS+set}
11685 ac_save_CFLAGS
=$CFLAGS
11687 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11688 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11689 if test "${ac_cv_prog_cc_g+set}" = set; then
11690 echo $ECHO_N "(cached) $ECHO_C" >&6
11692 cat >conftest.
$ac_ext <<_ACEOF
11695 cat confdefs.h
>>conftest.
$ac_ext
11696 cat >>conftest.
$ac_ext <<_ACEOF
11697 /* end confdefs.h. */
11707 rm -f conftest.
$ac_objext
11708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11709 (eval $ac_compile) 2>conftest.er1
11711 grep -v '^ *+' conftest.er1
>conftest.err
11713 cat conftest.err
>&5
11714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11715 (exit $ac_status); } &&
11716 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11718 (eval $ac_try) 2>&5
11720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11721 (exit $ac_status); }; } &&
11722 { ac_try
='test -s conftest.$ac_objext'
11723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11724 (eval $ac_try) 2>&5
11726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11727 (exit $ac_status); }; }; then
11728 ac_cv_prog_cc_g
=yes
11730 echo "$as_me: failed program was:" >&5
11731 sed 's/^/| /' conftest.
$ac_ext >&5
11735 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11737 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11738 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11739 if test "$ac_test_CFLAGS" = set; then
11740 CFLAGS
=$ac_save_CFLAGS
11741 elif test $ac_cv_prog_cc_g = yes; then
11742 if test "$GCC" = yes; then
11748 if test "$GCC" = yes; then
11756 ac_cpp
='$CPP $CPPFLAGS'
11757 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11758 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11759 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11761 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11762 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11763 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11764 echo $ECHO_N "(cached) $ECHO_C" >&6
11766 cat >conftest.
$ac_ext <<_ACEOF
11769 cat confdefs.h
>>conftest.
$ac_ext
11770 cat >>conftest.
$ac_ext <<_ACEOF
11771 /* end confdefs.h. */
11784 rm -f conftest.
$ac_objext
11785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11786 (eval $ac_compile) 2>conftest.er1
11788 grep -v '^ *+' conftest.er1
>conftest.err
11790 cat conftest.err
>&5
11791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11792 (exit $ac_status); } &&
11793 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11795 (eval $ac_try) 2>&5
11797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11798 (exit $ac_status); }; } &&
11799 { ac_try
='test -s conftest.$ac_objext'
11800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11801 (eval $ac_try) 2>&5
11803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11804 (exit $ac_status); }; }; then
11805 bakefile_compiler_mwerks
=yes
11807 echo "$as_me: failed program was:" >&5
11808 sed 's/^/| /' conftest.
$ac_ext >&5
11810 bakefile_compiler_mwerks
=no
11812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11813 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
11816 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11817 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11819 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
11821 ac_cpp
='$CPP $CPPFLAGS'
11822 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11823 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11824 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11828 ac_cpp
='$CPP $CPPFLAGS'
11829 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11830 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11831 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11833 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11834 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11835 if test "${wx_cv_c_compiler_xlc+set}" = set; then
11836 echo $ECHO_N "(cached) $ECHO_C" >&6
11838 cat >conftest.
$ac_ext <<_ACEOF
11841 cat confdefs.h
>>conftest.
$ac_ext
11842 cat >>conftest.
$ac_ext <<_ACEOF
11843 /* end confdefs.h. */
11856 rm -f conftest.
$ac_objext
11857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11858 (eval $ac_compile) 2>conftest.er1
11860 grep -v '^ *+' conftest.er1
>conftest.err
11862 cat conftest.err
>&5
11863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11864 (exit $ac_status); } &&
11865 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11867 (eval $ac_try) 2>&5
11869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11870 (exit $ac_status); }; } &&
11871 { ac_try
='test -s conftest.$ac_objext'
11872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11873 (eval $ac_try) 2>&5
11875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11876 (exit $ac_status); }; }; then
11877 wx_compiler_xlc
=yes
11879 echo "$as_me: failed program was:" >&5
11880 sed 's/^/| /' conftest.
$ac_ext >&5
11884 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11885 wx_cv_c_compiler_xlc
=$wx_compiler_xlc
11888 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
11889 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
11891 XLCC
=`test $wx_cv_c_compiler_xlc = yes && echo yes`
11893 ac_cpp
='$CPP $CPPFLAGS'
11894 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11895 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11896 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11902 ac_cpp
='$CPP $CPPFLAGS'
11903 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11904 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11905 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11907 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
11908 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
11909 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
11910 echo $ECHO_N "(cached) $ECHO_C" >&6
11912 cat >conftest.
$ac_ext <<_ACEOF
11915 cat confdefs.h
>>conftest.
$ac_ext
11916 cat >>conftest.
$ac_ext <<_ACEOF
11917 /* end confdefs.h. */
11931 rm -f conftest.
$ac_objext
11932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11933 (eval $ac_compile) 2>conftest.er1
11935 grep -v '^ *+' conftest.er1
>conftest.err
11937 cat conftest.err
>&5
11938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11939 (exit $ac_status); } &&
11940 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11942 (eval $ac_try) 2>&5
11944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11945 (exit $ac_status); }; } &&
11946 { ac_try
='test -s conftest.$ac_objext'
11947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11948 (eval $ac_try) 2>&5
11950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11951 (exit $ac_status); }; }; then
11952 bakefile_cv_c_compiler___SUNPRO_C
=yes
11954 echo "$as_me: failed program was:" >&5
11955 sed 's/^/| /' conftest.
$ac_ext >&5
11957 bakefile_cv_c_compiler___SUNPRO_C
=no
11960 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11964 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
11965 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
11967 ac_cpp
='$CPP $CPPFLAGS'
11968 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11969 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11970 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11972 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
11982 ac_cpp
='$CPP $CPPFLAGS'
11983 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11984 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11985 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11986 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11987 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11988 # On Suns, sometimes $CPP names a directory.
11989 if test -n "$CPP" && test -d "$CPP"; then
11992 if test -z "$CPP"; then
11993 if test "${ac_cv_prog_CPP+set}" = set; then
11994 echo $ECHO_N "(cached) $ECHO_C" >&6
11996 # Double quotes because CPP needs to be expanded
11997 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11999 ac_preproc_ok
=false
12000 for ac_c_preproc_warn_flag
in '' yes
12002 # Use a header file that comes with gcc, so configuring glibc
12003 # with a fresh cross-compiler works.
12004 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12005 # <limits.h> exists even on freestanding compilers.
12006 # On the NeXT, cc -E runs the code through the compiler's parser,
12007 # not just through cpp. "Syntax error" is here to catch this case.
12008 cat >conftest.
$ac_ext <<_ACEOF
12011 cat confdefs.h
>>conftest.
$ac_ext
12012 cat >>conftest.
$ac_ext <<_ACEOF
12013 /* end confdefs.h. */
12015 # include <limits.h>
12017 # include <assert.h>
12021 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12022 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12024 grep -v '^ *+' conftest.er1
>conftest.err
12026 cat conftest.err
>&5
12027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12028 (exit $ac_status); } >/dev
/null
; then
12029 if test -s conftest.err
; then
12030 ac_cpp_err
=$ac_c_preproc_warn_flag
12031 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12038 if test -z "$ac_cpp_err"; then
12041 echo "$as_me: failed program was:" >&5
12042 sed 's/^/| /' conftest.
$ac_ext >&5
12044 # Broken: fails on valid input.
12047 rm -f conftest.err conftest.
$ac_ext
12049 # OK, works on sane cases. Now check whether non-existent headers
12050 # can be detected and how.
12051 cat >conftest.
$ac_ext <<_ACEOF
12054 cat confdefs.h
>>conftest.
$ac_ext
12055 cat >>conftest.
$ac_ext <<_ACEOF
12056 /* end confdefs.h. */
12057 #include <ac_nonexistent.h>
12059 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12060 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12062 grep -v '^ *+' conftest.er1
>conftest.err
12064 cat conftest.err
>&5
12065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12066 (exit $ac_status); } >/dev
/null
; then
12067 if test -s conftest.err
; then
12068 ac_cpp_err
=$ac_c_preproc_warn_flag
12069 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12076 if test -z "$ac_cpp_err"; then
12077 # Broken: success on invalid input.
12080 echo "$as_me: failed program was:" >&5
12081 sed 's/^/| /' conftest.
$ac_ext >&5
12083 # Passes both tests.
12087 rm -f conftest.err conftest.
$ac_ext
12090 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12091 rm -f conftest.err conftest.
$ac_ext
12092 if $ac_preproc_ok; then
12097 ac_cv_prog_CPP
=$CPP
12100 CPP
=$ac_cv_prog_CPP
12102 ac_cv_prog_CPP
=$CPP
12104 echo "$as_me:$LINENO: result: $CPP" >&5
12105 echo "${ECHO_T}$CPP" >&6
12106 ac_preproc_ok
=false
12107 for ac_c_preproc_warn_flag
in '' yes
12109 # Use a header file that comes with gcc, so configuring glibc
12110 # with a fresh cross-compiler works.
12111 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12112 # <limits.h> exists even on freestanding compilers.
12113 # On the NeXT, cc -E runs the code through the compiler's parser,
12114 # not just through cpp. "Syntax error" is here to catch this case.
12115 cat >conftest.
$ac_ext <<_ACEOF
12118 cat confdefs.h
>>conftest.
$ac_ext
12119 cat >>conftest.
$ac_ext <<_ACEOF
12120 /* end confdefs.h. */
12122 # include <limits.h>
12124 # include <assert.h>
12128 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12129 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12131 grep -v '^ *+' conftest.er1
>conftest.err
12133 cat conftest.err
>&5
12134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12135 (exit $ac_status); } >/dev
/null
; then
12136 if test -s conftest.err
; then
12137 ac_cpp_err
=$ac_c_preproc_warn_flag
12138 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12145 if test -z "$ac_cpp_err"; then
12148 echo "$as_me: failed program was:" >&5
12149 sed 's/^/| /' conftest.
$ac_ext >&5
12151 # Broken: fails on valid input.
12154 rm -f conftest.err conftest.
$ac_ext
12156 # OK, works on sane cases. Now check whether non-existent headers
12157 # can be detected and how.
12158 cat >conftest.
$ac_ext <<_ACEOF
12161 cat confdefs.h
>>conftest.
$ac_ext
12162 cat >>conftest.
$ac_ext <<_ACEOF
12163 /* end confdefs.h. */
12164 #include <ac_nonexistent.h>
12166 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12167 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12169 grep -v '^ *+' conftest.er1
>conftest.err
12171 cat conftest.err
>&5
12172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12173 (exit $ac_status); } >/dev
/null
; then
12174 if test -s conftest.err
; then
12175 ac_cpp_err
=$ac_c_preproc_warn_flag
12176 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12183 if test -z "$ac_cpp_err"; then
12184 # Broken: success on invalid input.
12187 echo "$as_me: failed program was:" >&5
12188 sed 's/^/| /' conftest.
$ac_ext >&5
12190 # Passes both tests.
12194 rm -f conftest.err conftest.
$ac_ext
12197 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12198 rm -f conftest.err conftest.
$ac_ext
12199 if $ac_preproc_ok; then
12202 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12203 See \`config.log' for more details." >&5
12204 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12205 See \`config.log' for more details." >&2;}
12206 { (exit 1); exit 1; }; }
12210 ac_cpp
='$CPP $CPPFLAGS'
12211 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12212 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12213 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12216 echo "$as_me:$LINENO: checking for egrep" >&5
12217 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12218 if test "${ac_cv_prog_egrep+set}" = set; then
12219 echo $ECHO_N "(cached) $ECHO_C" >&6
12221 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
12222 then ac_cv_prog_egrep
='grep -E'
12223 else ac_cv_prog_egrep
='egrep'
12226 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12227 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12228 EGREP
=$ac_cv_prog_egrep
12231 if test $ac_cv_c_compiler_gnu = yes; then
12232 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12233 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12234 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12235 echo $ECHO_N "(cached) $ECHO_C" >&6
12237 ac_pattern
="Autoconf.*'x'"
12238 cat >conftest.
$ac_ext <<_ACEOF
12241 cat confdefs.h
>>conftest.
$ac_ext
12242 cat >>conftest.
$ac_ext <<_ACEOF
12243 /* end confdefs.h. */
12247 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12248 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12249 ac_cv_prog_gcc_traditional
=yes
12251 ac_cv_prog_gcc_traditional
=no
12256 if test $ac_cv_prog_gcc_traditional = no
; then
12257 cat >conftest.
$ac_ext <<_ACEOF
12260 cat confdefs.h
>>conftest.
$ac_ext
12261 cat >>conftest.
$ac_ext <<_ACEOF
12262 /* end confdefs.h. */
12263 #include <termio.h>
12266 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12267 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12268 ac_cv_prog_gcc_traditional
=yes
12274 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12275 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12276 if test $ac_cv_prog_gcc_traditional = yes; then
12277 CC
="$CC -traditional"
12285 ac_cpp
='$CXXCPP $CPPFLAGS'
12286 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12287 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12288 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12291 CXXFLAGS
=${CXXFLAGS:=}
12295 ac_cpp
='$CXXCPP $CPPFLAGS'
12296 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12297 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12298 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12299 if test -n "$ac_tool_prefix"; then
12300 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12302 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12303 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12304 echo "$as_me:$LINENO: checking for $ac_word" >&5
12305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12306 if test "${ac_cv_prog_CXX+set}" = set; then
12307 echo $ECHO_N "(cached) $ECHO_C" >&6
12309 if test -n "$CXX"; then
12310 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
12312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12313 for as_dir
in $PATH
12316 test -z "$as_dir" && as_dir
=.
12317 for ac_exec_ext
in '' $ac_executable_extensions; do
12318 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12319 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
12320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12328 CXX
=$ac_cv_prog_CXX
12329 if test -n "$CXX"; then
12330 echo "$as_me:$LINENO: result: $CXX" >&5
12331 echo "${ECHO_T}$CXX" >&6
12333 echo "$as_me:$LINENO: result: no" >&5
12334 echo "${ECHO_T}no" >&6
12337 test -n "$CXX" && break
12340 if test -z "$CXX"; then
12342 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12344 # Extract the first word of "$ac_prog", so it can be a program name with args.
12345 set dummy
$ac_prog; ac_word
=$2
12346 echo "$as_me:$LINENO: checking for $ac_word" >&5
12347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12348 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12349 echo $ECHO_N "(cached) $ECHO_C" >&6
12351 if test -n "$ac_ct_CXX"; then
12352 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
12354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12355 for as_dir
in $PATH
12358 test -z "$as_dir" && as_dir
=.
12359 for ac_exec_ext
in '' $ac_executable_extensions; do
12360 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12361 ac_cv_prog_ac_ct_CXX
="$ac_prog"
12362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12370 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
12371 if test -n "$ac_ct_CXX"; then
12372 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12373 echo "${ECHO_T}$ac_ct_CXX" >&6
12375 echo "$as_me:$LINENO: result: no" >&5
12376 echo "${ECHO_T}no" >&6
12379 test -n "$ac_ct_CXX" && break
12381 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
12387 # Provide some information about the compiler.
12388 echo "$as_me:$LINENO:" \
12389 "checking for C++ compiler version" >&5
12390 ac_compiler
=`set X $ac_compile; echo $2`
12391 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12392 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12395 (exit $ac_status); }
12396 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12397 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12400 (exit $ac_status); }
12401 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12402 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12405 (exit $ac_status); }
12407 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12408 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12409 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12410 echo $ECHO_N "(cached) $ECHO_C" >&6
12412 cat >conftest.
$ac_ext <<_ACEOF
12415 cat confdefs.h
>>conftest.
$ac_ext
12416 cat >>conftest.
$ac_ext <<_ACEOF
12417 /* end confdefs.h. */
12430 rm -f conftest.
$ac_objext
12431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12432 (eval $ac_compile) 2>conftest.er1
12434 grep -v '^ *+' conftest.er1
>conftest.err
12436 cat conftest.err
>&5
12437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12438 (exit $ac_status); } &&
12439 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12441 (eval $ac_try) 2>&5
12443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12444 (exit $ac_status); }; } &&
12445 { ac_try
='test -s conftest.$ac_objext'
12446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12447 (eval $ac_try) 2>&5
12449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12450 (exit $ac_status); }; }; then
12451 ac_compiler_gnu
=yes
12453 echo "$as_me: failed program was:" >&5
12454 sed 's/^/| /' conftest.
$ac_ext >&5
12458 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12459 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
12462 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12463 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12464 GXX
=`test $ac_compiler_gnu = yes && echo yes`
12465 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12466 ac_save_CXXFLAGS
=$CXXFLAGS
12468 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12469 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12470 if test "${ac_cv_prog_cxx_g+set}" = set; then
12471 echo $ECHO_N "(cached) $ECHO_C" >&6
12473 cat >conftest.
$ac_ext <<_ACEOF
12476 cat confdefs.h
>>conftest.
$ac_ext
12477 cat >>conftest.
$ac_ext <<_ACEOF
12478 /* end confdefs.h. */
12488 rm -f conftest.
$ac_objext
12489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12490 (eval $ac_compile) 2>conftest.er1
12492 grep -v '^ *+' conftest.er1
>conftest.err
12494 cat conftest.err
>&5
12495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12496 (exit $ac_status); } &&
12497 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
12503 { ac_try
='test -s conftest.$ac_objext'
12504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12505 (eval $ac_try) 2>&5
12507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12508 (exit $ac_status); }; }; then
12509 ac_cv_prog_cxx_g
=yes
12511 echo "$as_me: failed program was:" >&5
12512 sed 's/^/| /' conftest.
$ac_ext >&5
12514 ac_cv_prog_cxx_g
=no
12516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12518 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12519 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12520 if test "$ac_test_CXXFLAGS" = set; then
12521 CXXFLAGS
=$ac_save_CXXFLAGS
12522 elif test $ac_cv_prog_cxx_g = yes; then
12523 if test "$GXX" = yes; then
12529 if test "$GXX" = yes; then
12535 for ac_declaration
in \
12537 'extern "C" void std::exit (int) throw (); using std::exit;' \
12538 'extern "C" void std::exit (int); using std::exit;' \
12539 'extern "C" void exit (int) throw ();' \
12540 'extern "C" void exit (int);' \
12543 cat >conftest.
$ac_ext <<_ACEOF
12546 cat confdefs.h
>>conftest.
$ac_ext
12547 cat >>conftest.
$ac_ext <<_ACEOF
12548 /* end confdefs.h. */
12550 #include <stdlib.h>
12559 rm -f conftest.
$ac_objext
12560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12561 (eval $ac_compile) 2>conftest.er1
12563 grep -v '^ *+' conftest.er1
>conftest.err
12565 cat conftest.err
>&5
12566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12567 (exit $ac_status); } &&
12568 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12570 (eval $ac_try) 2>&5
12572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12573 (exit $ac_status); }; } &&
12574 { ac_try
='test -s conftest.$ac_objext'
12575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12576 (eval $ac_try) 2>&5
12578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12579 (exit $ac_status); }; }; then
12582 echo "$as_me: failed program was:" >&5
12583 sed 's/^/| /' conftest.
$ac_ext >&5
12587 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12588 cat >conftest.
$ac_ext <<_ACEOF
12591 cat confdefs.h
>>conftest.
$ac_ext
12592 cat >>conftest.
$ac_ext <<_ACEOF
12593 /* end confdefs.h. */
12603 rm -f conftest.
$ac_objext
12604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12605 (eval $ac_compile) 2>conftest.er1
12607 grep -v '^ *+' conftest.er1
>conftest.err
12609 cat conftest.err
>&5
12610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12611 (exit $ac_status); } &&
12612 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12614 (eval $ac_try) 2>&5
12616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12617 (exit $ac_status); }; } &&
12618 { ac_try
='test -s conftest.$ac_objext'
12619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12620 (eval $ac_try) 2>&5
12622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12623 (exit $ac_status); }; }; then
12626 echo "$as_me: failed program was:" >&5
12627 sed 's/^/| /' conftest.
$ac_ext >&5
12630 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12633 if test -n "$ac_declaration"; then
12634 echo '#ifdef __cplusplus' >>confdefs.h
12635 echo $ac_declaration >>confdefs.h
12636 echo '#endif' >>confdefs.h
12640 ac_cpp
='$CXXCPP $CPPFLAGS'
12641 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12642 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12643 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12645 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
12646 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
12647 if test "${wx_cv_cxx_exto+set}" = set; then
12648 echo $ECHO_N "(cached) $ECHO_C" >&6
12650 cat >conftest.
$ac_ext <<_ACEOF
12653 cat confdefs.h
>>conftest.
$ac_ext
12654 cat >>conftest.
$ac_ext <<_ACEOF
12655 /* end confdefs.h. */
12665 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12667 (eval $ac_compile) 2>&5
12669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12670 (exit $ac_status); }; then
12671 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12673 conftest.
$ac_ext.o
)
12674 wx_cv_cxx_exto
="-ext o"
12681 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12682 See \`config.log' for more details." >&5
12683 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12684 See \`config.log' for more details." >&2;}
12685 { (exit 1); exit 1; }; }
12689 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12692 echo "$as_me:$LINENO: result: $wx_cv_cxx_exto" >&5
12693 echo "${ECHO_T}$wx_cv_cxx_exto" >&6
12694 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12695 if test "cxx" = "c"; then
12696 CFLAGS
="$wx_cv_cxx_exto $CFLAGS"
12698 if test "cxx" = "cxx"; then
12699 CXXFLAGS
="$wx_cv_cxx_exto $CXXFLAGS"
12703 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12704 unset ac_cv_prog_cxx_g
12705 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12706 ac_save_CXXFLAGS
=$CXXFLAGS
12708 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12709 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12710 if test "${ac_cv_prog_cxx_g+set}" = set; then
12711 echo $ECHO_N "(cached) $ECHO_C" >&6
12713 cat >conftest.
$ac_ext <<_ACEOF
12716 cat confdefs.h
>>conftest.
$ac_ext
12717 cat >>conftest.
$ac_ext <<_ACEOF
12718 /* 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 ac_cv_prog_cxx_g
=yes
12751 echo "$as_me: failed program was:" >&5
12752 sed 's/^/| /' conftest.
$ac_ext >&5
12754 ac_cv_prog_cxx_g
=no
12756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12758 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12759 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12760 if test "$ac_test_CXXFLAGS" = set; then
12761 CXXFLAGS
=$ac_save_CXXFLAGS
12762 elif test $ac_cv_prog_cxx_g = yes; then
12763 if test "$GXX" = yes; then
12769 if test "$GXX" = yes; then
12777 ac_cpp
='$CXXCPP $CPPFLAGS'
12778 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12779 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12780 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12782 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12783 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12784 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12785 echo $ECHO_N "(cached) $ECHO_C" >&6
12787 cat >conftest.
$ac_ext <<_ACEOF
12790 cat confdefs.h
>>conftest.
$ac_ext
12791 cat >>conftest.
$ac_ext <<_ACEOF
12792 /* end confdefs.h. */
12805 rm -f conftest.
$ac_objext
12806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12807 (eval $ac_compile) 2>conftest.er1
12809 grep -v '^ *+' conftest.er1
>conftest.err
12811 cat conftest.err
>&5
12812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12813 (exit $ac_status); } &&
12814 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12816 (eval $ac_try) 2>&5
12818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12819 (exit $ac_status); }; } &&
12820 { ac_try
='test -s conftest.$ac_objext'
12821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12822 (eval $ac_try) 2>&5
12824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12825 (exit $ac_status); }; }; then
12826 bakefile_compiler_mwerks
=yes
12828 echo "$as_me: failed program was:" >&5
12829 sed 's/^/| /' conftest.
$ac_ext >&5
12831 bakefile_compiler_mwerks
=no
12833 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12834 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
12837 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12838 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12840 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
12842 ac_cpp
='$CXXCPP $CPPFLAGS'
12843 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12844 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12845 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12849 ac_cpp
='$CXXCPP $CPPFLAGS'
12850 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12851 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12852 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12854 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
12855 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
12856 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
12857 echo $ECHO_N "(cached) $ECHO_C" >&6
12859 cat >conftest.
$ac_ext <<_ACEOF
12862 cat confdefs.h
>>conftest.
$ac_ext
12863 cat >>conftest.
$ac_ext <<_ACEOF
12864 /* end confdefs.h. */
12877 rm -f conftest.
$ac_objext
12878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12879 (eval $ac_compile) 2>conftest.er1
12881 grep -v '^ *+' conftest.er1
>conftest.err
12883 cat conftest.err
>&5
12884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12885 (exit $ac_status); } &&
12886 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12888 (eval $ac_try) 2>&5
12890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12891 (exit $ac_status); }; } &&
12892 { ac_try
='test -s conftest.$ac_objext'
12893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12894 (eval $ac_try) 2>&5
12896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12897 (exit $ac_status); }; }; then
12898 wx_compiler_xlc
=yes
12900 echo "$as_me: failed program was:" >&5
12901 sed 's/^/| /' conftest.
$ac_ext >&5
12905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12906 wx_cv_cxx_compiler_xlc
=$wx_compiler_xlc
12909 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
12910 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
12912 XLCXX
=`test $wx_cv_cxx_compiler_xlc = yes && echo yes`
12914 ac_cpp
='$CXXCPP $CPPFLAGS'
12915 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12916 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12917 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12923 ac_cpp
='$CXXCPP $CPPFLAGS'
12924 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12925 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12926 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12928 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
12929 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
12930 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
12931 echo $ECHO_N "(cached) $ECHO_C" >&6
12933 cat >conftest.
$ac_ext <<_ACEOF
12936 cat confdefs.h
>>conftest.
$ac_ext
12937 cat >>conftest.
$ac_ext <<_ACEOF
12938 /* end confdefs.h. */
12944 #ifndef __SUNPRO_CC
12952 rm -f conftest.
$ac_objext
12953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12954 (eval $ac_compile) 2>conftest.er1
12956 grep -v '^ *+' conftest.er1
>conftest.err
12958 cat conftest.err
>&5
12959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12960 (exit $ac_status); } &&
12961 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12963 (eval $ac_try) 2>&5
12965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12966 (exit $ac_status); }; } &&
12967 { ac_try
='test -s conftest.$ac_objext'
12968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12969 (eval $ac_try) 2>&5
12971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12972 (exit $ac_status); }; }; then
12973 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
12975 echo "$as_me: failed program was:" >&5
12976 sed 's/^/| /' conftest.
$ac_ext >&5
12978 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
12981 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12985 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
12986 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
12988 ac_cpp
='$CXXCPP $CPPFLAGS'
12989 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12990 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12991 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12993 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
13003 ac_cpp
='$CPP $CPPFLAGS'
13004 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13005 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13006 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13009 if test -n "$ac_tool_prefix"; then
13010 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
13011 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
13012 echo "$as_me:$LINENO: checking for $ac_word" >&5
13013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13014 if test "${ac_cv_prog_RANLIB+set}" = set; then
13015 echo $ECHO_N "(cached) $ECHO_C" >&6
13017 if test -n "$RANLIB"; then
13018 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
13020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13021 for as_dir
in $PATH
13024 test -z "$as_dir" && as_dir
=.
13025 for ac_exec_ext
in '' $ac_executable_extensions; do
13026 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13027 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
13028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13036 RANLIB
=$ac_cv_prog_RANLIB
13037 if test -n "$RANLIB"; then
13038 echo "$as_me:$LINENO: result: $RANLIB" >&5
13039 echo "${ECHO_T}$RANLIB" >&6
13041 echo "$as_me:$LINENO: result: no" >&5
13042 echo "${ECHO_T}no" >&6
13046 if test -z "$ac_cv_prog_RANLIB"; then
13047 ac_ct_RANLIB
=$RANLIB
13048 # Extract the first word of "ranlib", so it can be a program name with args.
13049 set dummy ranlib
; ac_word
=$2
13050 echo "$as_me:$LINENO: checking for $ac_word" >&5
13051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13052 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
13053 echo $ECHO_N "(cached) $ECHO_C" >&6
13055 if test -n "$ac_ct_RANLIB"; then
13056 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
13058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13059 for as_dir
in $PATH
13062 test -z "$as_dir" && as_dir
=.
13063 for ac_exec_ext
in '' $ac_executable_extensions; do
13064 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13065 ac_cv_prog_ac_ct_RANLIB
="ranlib"
13066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13072 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
13075 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
13076 if test -n "$ac_ct_RANLIB"; then
13077 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
13078 echo "${ECHO_T}$ac_ct_RANLIB" >&6
13080 echo "$as_me:$LINENO: result: no" >&5
13081 echo "${ECHO_T}no" >&6
13084 RANLIB
=$ac_ct_RANLIB
13086 RANLIB
="$ac_cv_prog_RANLIB"
13090 # Extract the first word of "ar", so it can be a program name with args.
13091 set dummy
ar; ac_word
=$2
13092 echo "$as_me:$LINENO: checking for $ac_word" >&5
13093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13094 if test "${ac_cv_prog_AR+set}" = set; then
13095 echo $ECHO_N "(cached) $ECHO_C" >&6
13097 if test -n "$AR"; then
13098 ac_cv_prog_AR
="$AR" # Let the user override the test.
13100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13101 for as_dir
in $PATH
13104 test -z "$as_dir" && as_dir
=.
13105 for ac_exec_ext
in '' $ac_executable_extensions; do
13106 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13117 if test -n "$AR"; then
13118 echo "$as_me:$LINENO: result: $AR" >&5
13119 echo "${ECHO_T}$AR" >&6
13121 echo "$as_me:$LINENO: result: no" >&5
13122 echo "${ECHO_T}no" >&6
13125 if test "x$AR" = "x" ; then
13126 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
13127 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
13128 { (exit 1); exit 1; }; }
13131 # Find a good install program. We prefer a C program (faster),
13132 # so one script is as good as another. But avoid the broken or
13133 # incompatible versions:
13134 # SysV /etc/install, /usr/sbin/install
13135 # SunOS /usr/etc/install
13136 # IRIX /sbin/install
13138 # AmigaOS /C/install, which installs bootblocks on floppy discs
13139 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
13140 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
13141 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
13142 # OS/2's system install, which has a completely different semantic
13143 # ./install, which can be erroneously created by make from ./install.sh.
13144 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
13145 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
13146 if test -z "$INSTALL"; then
13147 if test "${ac_cv_path_install+set}" = set; then
13148 echo $ECHO_N "(cached) $ECHO_C" >&6
13150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13151 for as_dir
in $PATH
13154 test -z "$as_dir" && as_dir
=.
13155 # Account for people who put trailing slashes in PATH elements.
13157 .
/ | .
// | /cC
/* | \
13158 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
13159 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
13162 # OSF1 and SCO ODT 3.0 have their own names for install.
13163 # Don't use installbsd from OSF since it installs stuff as root
13165 for ac_prog
in ginstall scoinst
install; do
13166 for ac_exec_ext
in '' $ac_executable_extensions; do
13167 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
13168 if test $ac_prog = install &&
13169 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
13170 # AIX install. It has an incompatible calling convention.
13172 elif test $ac_prog = install &&
13173 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
13174 # program-specific install script used by HP pwplus--don't use.
13177 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
13189 if test "${ac_cv_path_install+set}" = set; then
13190 INSTALL
=$ac_cv_path_install
13192 # As a last resort, use the slow shell script. We don't cache a
13193 # path for INSTALL within a source directory, because that will
13194 # break other packages using the cache if that directory is
13195 # removed, or if the path is relative.
13196 INSTALL
=$ac_install_sh
13199 echo "$as_me:$LINENO: result: $INSTALL" >&5
13200 echo "${ECHO_T}$INSTALL" >&6
13202 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
13203 # It thinks the first close brace ends the variable substitution.
13204 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
13206 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
13208 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
13214 ?
:* ) # Drive letter, considered as absolute.
13217 INSTALL
=`pwd`/${INSTALL} ;;
13223 powerpc
-*-darwin* )
13224 INSTALL_PROGRAM
="cp -fp"
13225 INSTALL_DATA
="cp -fp"
13231 # Extract the first word of "strip", so it can be a program name with args.
13232 set dummy strip
; ac_word
=$2
13233 echo "$as_me:$LINENO: checking for $ac_word" >&5
13234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13235 if test "${ac_cv_prog_STRIP+set}" = set; then
13236 echo $ECHO_N "(cached) $ECHO_C" >&6
13238 if test -n "$STRIP"; then
13239 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
13241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13242 for as_dir
in $PATH
13245 test -z "$as_dir" && as_dir
=.
13246 for ac_exec_ext
in '' $ac_executable_extensions; do
13247 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13248 ac_cv_prog_STRIP
="strip"
13249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13255 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
13258 STRIP
=$ac_cv_prog_STRIP
13259 if test -n "$STRIP"; then
13260 echo "$as_me:$LINENO: result: $STRIP" >&5
13261 echo "${ECHO_T}$STRIP" >&6
13263 echo "$as_me:$LINENO: result: no" >&5
13264 echo "${ECHO_T}no" >&6
13268 echo "$as_me:$LINENO: checking if make is GNU make" >&5
13269 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
13270 if test "${wx_cv_prog_makeisgnu+set}" = set; then
13271 echo $ECHO_N "(cached) $ECHO_C" >&6
13274 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
13275 egrep -s GNU
> /dev
/null
); then
13276 wx_cv_prog_makeisgnu
="yes"
13278 wx_cv_prog_makeisgnu
="no"
13282 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
13283 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
13285 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
13293 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
13294 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
13295 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
13296 if test "${wx_cv_prog_makevpath+set}" = set; then
13297 echo $ECHO_N "(cached) $ECHO_C" >&6
13300 cat - << EOF > confMake
13306 if test ! -d sub
; then
13309 echo dummy
> sub
/file
13310 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
13312 rm -f sub
/file check final_file confMake
13314 if test "$RESULT" = 0; then
13315 wx_cv_prog_makevpath
="yes"
13317 wx_cv_prog_makevpath
="no"
13321 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
13322 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
13324 if test "x$wx_cv_prog_makevpath" != "xyes"; then
13325 { { echo "$as_me:$LINENO: error:
13326 You need a make-utility that is able to use the variable
13328 If your version of make does not support VPATH correctly,
13329 please install GNU-make (possibly as gmake), and start
13330 configure with the following command:
13331 export MAKE=gmake; ./configure for sh-type shells
13332 setenv MAKE gmake; ./configure for csh-type shells
13333 Also please do remember to use gmake in this case every time
13334 you are trying to compile.
13336 echo "$as_me: error:
13337 You need a make-utility that is able to use the variable
13339 If your version of make does not support VPATH correctly,
13340 please install GNU-make (possibly as gmake), and start
13341 configure with the following command:
13342 export MAKE=gmake; ./configure for sh-type shells
13343 setenv MAKE gmake; ./configure for csh-type shells
13344 Also please do remember to use gmake in this case every time
13345 you are trying to compile.
13347 { (exit 1); exit 1; }; }
13349 echo "$as_me:$LINENO: checking whether ln -s works" >&5
13350 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
13352 if test "$LN_S" = "ln -s"; then
13353 echo "$as_me:$LINENO: result: yes" >&5
13354 echo "${ECHO_T}yes" >&6
13356 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13357 echo "${ECHO_T}no, using $LN_S" >&6
13362 if test "x$XLCXX" = "xyes"; then
13363 CXXFLAGS
="$CXXFLAGS -qunique"
13368 powerpc
-*-darwin* )
13369 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
13370 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
13371 cat >conftest.
$ac_ext <<_ACEOF
13374 cat confdefs.h
>>conftest.
$ac_ext
13375 cat >>conftest.
$ac_ext <<_ACEOF
13376 /* end confdefs.h. */
13381 #ifndef __POWERPC__
13382 choke me for lack of PowerPC
13389 rm -f conftest.
$ac_objext
13390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13391 (eval $ac_compile) 2>conftest.er1
13393 grep -v '^ *+' conftest.er1
>conftest.err
13395 cat conftest.err
>&5
13396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13397 (exit $ac_status); } &&
13398 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13400 (eval $ac_try) 2>&5
13402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13403 (exit $ac_status); }; } &&
13404 { ac_try
='test -s conftest.$ac_objext'
13405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13406 (eval $ac_try) 2>&5
13408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13409 (exit $ac_status); }; }; then
13410 echo "$as_me:$LINENO: result: yes" >&5
13411 echo "${ECHO_T}yes" >&6
13413 echo "$as_me: failed program was:" >&5
13414 sed 's/^/| /' conftest.
$ac_ext >&5
13416 echo "$as_me:$LINENO: result: no" >&5
13417 echo "${ECHO_T}no" >&6
13418 cat >>confdefs.h
<<\_ACEOF
13419 #define __POWERPC__ 1
13424 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13425 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
13426 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
13427 cat >conftest.
$ac_ext <<_ACEOF
13430 cat confdefs.h
>>conftest.
$ac_ext
13431 cat >>conftest.
$ac_ext <<_ACEOF
13432 /* end confdefs.h. */
13433 #include <CoreFoundation/CFBase.h>
13443 rm -f conftest.
$ac_objext
13444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13445 (eval $ac_compile) 2>conftest.er1
13447 grep -v '^ *+' conftest.er1
>conftest.err
13449 cat conftest.err
>&5
13450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13451 (exit $ac_status); } &&
13452 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13454 (eval $ac_try) 2>&5
13456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13457 (exit $ac_status); }; } &&
13458 { ac_try
='test -s conftest.$ac_objext'
13459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13460 (eval $ac_try) 2>&5
13462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13463 (exit $ac_status); }; }; then
13464 echo "$as_me:$LINENO: result: yes" >&5
13465 echo "${ECHO_T}yes" >&6
13467 echo "$as_me: failed program was:" >&5
13468 sed 's/^/| /' conftest.
$ac_ext >&5
13470 echo "$as_me:$LINENO: result: no" >&5
13471 echo "${ECHO_T}no" >&6
13472 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
13473 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
13474 cat >conftest.
$ac_ext <<_ACEOF
13477 cat confdefs.h
>>conftest.
$ac_ext
13478 cat >>conftest.
$ac_ext <<_ACEOF
13479 /* end confdefs.h. */
13480 #define __CF_USE_FRAMEWORK_INCLUDES__
13481 #include <CoreFoundation/CFBase.h>
13491 rm -f conftest.
$ac_objext
13492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13493 (eval $ac_compile) 2>conftest.er1
13495 grep -v '^ *+' conftest.er1
>conftest.err
13497 cat conftest.err
>&5
13498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13499 (exit $ac_status); } &&
13500 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13502 (eval $ac_try) 2>&5
13504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13505 (exit $ac_status); }; } &&
13506 { ac_try
='test -s conftest.$ac_objext'
13507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13508 (eval $ac_try) 2>&5
13510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13511 (exit $ac_status); }; }; then
13512 echo "$as_me:$LINENO: result: yes" >&5
13513 echo "${ECHO_T}yes" >&6
13514 CPPFLAGS
="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
13516 echo "$as_me: failed program was:" >&5
13517 sed 's/^/| /' conftest.
$ac_ext >&5
13519 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
13520 See \`config.log' for more details." >&5
13521 echo "$as_me: error: no. CoreFoundation not available.
13522 See \`config.log' for more details." >&2;}
13523 { (exit 1); exit 1; }; }
13526 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13530 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13535 *-pc-os2_emx | *-pc-os2-emx )
13536 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
13537 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
13538 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
13539 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
13540 echo $ECHO_N "(cached) $ECHO_C" >&6
13542 ac_check_lib_save_LIBS
=$LIBS
13543 LIBS
="-lcExt $LIBS"
13544 cat >conftest.
$ac_ext <<_ACEOF
13547 cat confdefs.h
>>conftest.
$ac_ext
13548 cat >>conftest.
$ac_ext <<_ACEOF
13549 /* end confdefs.h. */
13551 /* Override any gcc2 internal prototype to avoid an error. */
13555 /* We use char because int might match the return type of a gcc2
13556 builtin and then its argument prototype would still apply. */
13566 rm -f conftest.
$ac_objext conftest
$ac_exeext
13567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13568 (eval $ac_link) 2>conftest.er1
13570 grep -v '^ *+' conftest.er1
>conftest.err
13572 cat conftest.err
>&5
13573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13574 (exit $ac_status); } &&
13575 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13577 (eval $ac_try) 2>&5
13579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13580 (exit $ac_status); }; } &&
13581 { ac_try
='test -s conftest$ac_exeext'
13582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13583 (eval $ac_try) 2>&5
13585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13586 (exit $ac_status); }; }; then
13587 ac_cv_lib_cExt_drand48
=yes
13589 echo "$as_me: failed program was:" >&5
13590 sed 's/^/| /' conftest.
$ac_ext >&5
13592 ac_cv_lib_cExt_drand48
=no
13594 rm -f conftest.err conftest.
$ac_objext \
13595 conftest
$ac_exeext conftest.
$ac_ext
13596 LIBS
=$ac_check_lib_save_LIBS
13598 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
13599 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
13600 if test $ac_cv_lib_cExt_drand48 = yes; then
13601 LIBS
="$LIBS -lcExt"
13605 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
13607 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
13608 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
13609 if test "${wx_cv_gccversion+set}" = set; then
13610 echo $ECHO_N "(cached) $ECHO_C" >&6
13613 if test "$cross_compiling" = yes; then
13614 wx_cv_gccversion
="EMX2"
13617 cat >conftest.
$ac_ext <<_ACEOF
13620 cat confdefs.h
>>conftest.
$ac_ext
13621 cat >>conftest.
$ac_ext <<_ACEOF
13622 /* end confdefs.h. */
13628 FILE *f=fopen("conftestval", "w");
13633 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
13635 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
13645 rm -f conftest
$ac_exeext
13646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13647 (eval $ac_link) 2>&5
13649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13650 (exit $ac_status); } && { ac_try
='./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 wx_cv_gccversion
=`cat conftestval`
13658 echo "$as_me: program exited with status $ac_status" >&5
13659 echo "$as_me: failed program was:" >&5
13660 sed 's/^/| /' conftest.
$ac_ext >&5
13662 ( exit $ac_status )
13663 wx_cv_gccversion
="EMX2"
13665 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13669 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
13670 echo "${ECHO_T}$wx_cv_gccversion" >&6
13671 if test "$wx_cv_gccversion" = "EMX2"; then
13672 LIBS
="$LIBS -lstdcpp"
13673 LDFLAGS
="$LDFLAGS -Zsysv-signals"
13675 if test "$wx_cv_gccversion" = "EMX3"; then
13676 LIBS
="$LIBS -lstdcxx"
13677 LDFLAGS
="$LDFLAGS -Zsysv-signals"
13679 LIBS
="$LIBS -lstdc++"
13682 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
13683 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
13684 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
13694 ac_cpp
='$CXXCPP $CPPFLAGS'
13695 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13696 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13697 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13700 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
13701 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
13702 if test "${ac_cv_string_strcasecmp+set}" = set; then
13703 echo $ECHO_N "(cached) $ECHO_C" >&6
13706 cat >conftest.
$ac_ext <<_ACEOF
13709 cat confdefs.h
>>conftest.
$ac_ext
13710 cat >>conftest.
$ac_ext <<_ACEOF
13711 /* end confdefs.h. */
13713 #include <string.h>
13719 strcasecmp("foo", "bar");
13725 rm -f conftest.
$ac_objext conftest
$ac_exeext
13726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13727 (eval $ac_link) 2>conftest.er1
13729 grep -v '^ *+' conftest.er1
>conftest.err
13731 cat conftest.err
>&5
13732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13733 (exit $ac_status); } &&
13734 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13736 (eval $ac_try) 2>&5
13738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13739 (exit $ac_status); }; } &&
13740 { ac_try
='test -s conftest$ac_exeext'
13741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13742 (eval $ac_try) 2>&5
13744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13745 (exit $ac_status); }; }; then
13746 ac_cv_string_strcasecmp
=yes
13748 echo "$as_me: failed program was:" >&5
13749 sed 's/^/| /' conftest.
$ac_ext >&5
13751 ac_cv_string_strcasecmp
=no
13754 rm -f conftest.err conftest.
$ac_objext \
13755 conftest
$ac_exeext conftest.
$ac_ext
13758 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
13759 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
13761 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
13762 cat >>confdefs.h
<<\_ACEOF
13763 #define HAVE_STRCASECMP_IN_STRING_H 1
13767 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
13768 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
13769 if test "${ac_cv_strings_strcasecmp+set}" = set; then
13770 echo $ECHO_N "(cached) $ECHO_C" >&6
13773 cat >conftest.
$ac_ext <<_ACEOF
13776 cat confdefs.h
>>conftest.
$ac_ext
13777 cat >>conftest.
$ac_ext <<_ACEOF
13778 /* end confdefs.h. */
13780 #include <strings.h>
13786 strcasecmp("foo", "bar");
13792 rm -f conftest.
$ac_objext conftest
$ac_exeext
13793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13794 (eval $ac_link) 2>conftest.er1
13796 grep -v '^ *+' conftest.er1
>conftest.err
13798 cat conftest.err
>&5
13799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13800 (exit $ac_status); } &&
13801 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13803 (eval $ac_try) 2>&5
13805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13806 (exit $ac_status); }; } &&
13807 { ac_try
='test -s conftest$ac_exeext'
13808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13809 (eval $ac_try) 2>&5
13811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13812 (exit $ac_status); }; }; then
13813 ac_cv_strings_strcasecmp
=yes
13815 echo "$as_me: failed program was:" >&5
13816 sed 's/^/| /' conftest.
$ac_ext >&5
13818 ac_cv_strings_strcasecmp
=no
13821 rm -f conftest.err conftest.
$ac_objext \
13822 conftest
$ac_exeext conftest.
$ac_ext
13825 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
13826 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
13828 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
13829 cat >>confdefs.h
<<\_ACEOF
13830 #define HAVE_STRCASECMP_IN_STRINGS_H 1
13834 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
13835 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
13836 { (exit 1); exit 1; }; }
13841 ac_cpp
='$CPP $CPPFLAGS'
13842 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13843 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13844 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13850 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13851 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13852 if test "${ac_cv_header_stdc+set}" = set; then
13853 echo $ECHO_N "(cached) $ECHO_C" >&6
13855 cat >conftest.
$ac_ext <<_ACEOF
13858 cat confdefs.h
>>conftest.
$ac_ext
13859 cat >>conftest.
$ac_ext <<_ACEOF
13860 /* end confdefs.h. */
13861 #include <stdlib.h>
13862 #include <stdarg.h>
13863 #include <string.h>
13874 rm -f conftest.
$ac_objext
13875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13876 (eval $ac_compile) 2>conftest.er1
13878 grep -v '^ *+' conftest.er1
>conftest.err
13880 cat conftest.err
>&5
13881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13882 (exit $ac_status); } &&
13883 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13885 (eval $ac_try) 2>&5
13887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13888 (exit $ac_status); }; } &&
13889 { ac_try
='test -s conftest.$ac_objext'
13890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13891 (eval $ac_try) 2>&5
13893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13894 (exit $ac_status); }; }; then
13895 ac_cv_header_stdc
=yes
13897 echo "$as_me: failed program was:" >&5
13898 sed 's/^/| /' conftest.
$ac_ext >&5
13900 ac_cv_header_stdc
=no
13902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13904 if test $ac_cv_header_stdc = yes; then
13905 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13906 cat >conftest.
$ac_ext <<_ACEOF
13909 cat confdefs.h
>>conftest.
$ac_ext
13910 cat >>conftest.
$ac_ext <<_ACEOF
13911 /* end confdefs.h. */
13912 #include <string.h>
13915 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13916 $EGREP "memchr" >/dev
/null
2>&1; then
13919 ac_cv_header_stdc
=no
13925 if test $ac_cv_header_stdc = yes; then
13926 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13927 cat >conftest.
$ac_ext <<_ACEOF
13930 cat confdefs.h
>>conftest.
$ac_ext
13931 cat >>conftest.
$ac_ext <<_ACEOF
13932 /* end confdefs.h. */
13933 #include <stdlib.h>
13936 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13937 $EGREP "free" >/dev
/null
2>&1; then
13940 ac_cv_header_stdc
=no
13946 if test $ac_cv_header_stdc = yes; then
13947 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13948 if test "$cross_compiling" = yes; then
13951 cat >conftest.
$ac_ext <<_ACEOF
13954 cat confdefs.h
>>conftest.
$ac_ext
13955 cat >>conftest.
$ac_ext <<_ACEOF
13956 /* end confdefs.h. */
13958 #if ((' ' & 0x0FF) == 0x020)
13959 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13960 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13962 # define ISLOWER(c) \
13963 (('a' <= (c) && (c) <= 'i') \
13964 || ('j' <= (c) && (c) <= 'r') \
13965 || ('s' <= (c) && (c) <= 'z'))
13966 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13969 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13974 for (i = 0; i < 256; i++)
13975 if (XOR (islower (i), ISLOWER (i))
13976 || toupper (i) != TOUPPER (i))
13981 rm -f conftest
$ac_exeext
13982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13983 (eval $ac_link) 2>&5
13985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13986 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13988 (eval $ac_try) 2>&5
13990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13991 (exit $ac_status); }; }; then
13994 echo "$as_me: program exited with status $ac_status" >&5
13995 echo "$as_me: failed program was:" >&5
13996 sed 's/^/| /' conftest.
$ac_ext >&5
13998 ( exit $ac_status )
13999 ac_cv_header_stdc
=no
14001 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14005 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14006 echo "${ECHO_T}$ac_cv_header_stdc" >&6
14007 if test $ac_cv_header_stdc = yes; then
14009 cat >>confdefs.h
<<\_ACEOF
14010 #define STDC_HEADERS 1
14015 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
14025 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
14026 inttypes.h stdint.h unistd.h
14028 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14029 echo "$as_me:$LINENO: checking for $ac_header" >&5
14030 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14031 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14032 echo $ECHO_N "(cached) $ECHO_C" >&6
14034 cat >conftest.
$ac_ext <<_ACEOF
14037 cat confdefs.h
>>conftest.
$ac_ext
14038 cat >>conftest.
$ac_ext <<_ACEOF
14039 /* end confdefs.h. */
14040 $ac_includes_default
14042 #include <$ac_header>
14044 rm -f conftest.
$ac_objext
14045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14046 (eval $ac_compile) 2>conftest.er1
14048 grep -v '^ *+' conftest.er1
>conftest.err
14050 cat conftest.err
>&5
14051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14052 (exit $ac_status); } &&
14053 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14055 (eval $ac_try) 2>&5
14057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14058 (exit $ac_status); }; } &&
14059 { ac_try
='test -s conftest.$ac_objext'
14060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14061 (eval $ac_try) 2>&5
14063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14064 (exit $ac_status); }; }; then
14065 eval "$as_ac_Header=yes"
14067 echo "$as_me: failed program was:" >&5
14068 sed 's/^/| /' conftest.
$ac_ext >&5
14070 eval "$as_ac_Header=no"
14072 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14075 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14076 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14077 cat >>confdefs.h
<<_ACEOF
14078 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14087 for ac_header
in stdlib.h
14089 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14090 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14091 echo "$as_me:$LINENO: checking for $ac_header" >&5
14092 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14093 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14094 echo $ECHO_N "(cached) $ECHO_C" >&6
14096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14097 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14099 # Is the header compilable?
14100 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14101 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14102 cat >conftest.
$ac_ext <<_ACEOF
14105 cat confdefs.h
>>conftest.
$ac_ext
14106 cat >>conftest.
$ac_ext <<_ACEOF
14107 /* end confdefs.h. */
14108 $ac_includes_default
14109 #include <$ac_header>
14111 rm -f conftest.
$ac_objext
14112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14113 (eval $ac_compile) 2>conftest.er1
14115 grep -v '^ *+' conftest.er1
>conftest.err
14117 cat conftest.err
>&5
14118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14119 (exit $ac_status); } &&
14120 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14122 (eval $ac_try) 2>&5
14124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14125 (exit $ac_status); }; } &&
14126 { ac_try
='test -s conftest.$ac_objext'
14127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14128 (eval $ac_try) 2>&5
14130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14131 (exit $ac_status); }; }; then
14132 ac_header_compiler
=yes
14134 echo "$as_me: failed program was:" >&5
14135 sed 's/^/| /' conftest.
$ac_ext >&5
14137 ac_header_compiler
=no
14139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14140 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14141 echo "${ECHO_T}$ac_header_compiler" >&6
14143 # Is the header present?
14144 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14145 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14146 cat >conftest.
$ac_ext <<_ACEOF
14149 cat confdefs.h
>>conftest.
$ac_ext
14150 cat >>conftest.
$ac_ext <<_ACEOF
14151 /* end confdefs.h. */
14152 #include <$ac_header>
14154 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14155 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14157 grep -v '^ *+' conftest.er1
>conftest.err
14159 cat conftest.err
>&5
14160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14161 (exit $ac_status); } >/dev
/null
; then
14162 if test -s conftest.err
; then
14163 ac_cpp_err
=$ac_c_preproc_warn_flag
14164 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14171 if test -z "$ac_cpp_err"; then
14172 ac_header_preproc
=yes
14174 echo "$as_me: failed program was:" >&5
14175 sed 's/^/| /' conftest.
$ac_ext >&5
14177 ac_header_preproc
=no
14179 rm -f conftest.err conftest.
$ac_ext
14180 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14181 echo "${ECHO_T}$ac_header_preproc" >&6
14183 # So? What about this header?
14184 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14186 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14187 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14188 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14189 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14190 ac_header_preproc
=yes
14193 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14194 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14195 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14196 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14197 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14198 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14199 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14200 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14201 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14202 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14203 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14204 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14207 ## ----------------------------------------- ##
14208 ## Report this to wx-dev@lists.wxwidgets.org ##
14209 ## ----------------------------------------- ##
14212 sed "s/^/$as_me: WARNING: /" >&2
14215 echo "$as_me:$LINENO: checking for $ac_header" >&5
14216 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14218 echo $ECHO_N "(cached) $ECHO_C" >&6
14220 eval "$as_ac_Header=\$ac_header_preproc"
14222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14223 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14226 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14227 cat >>confdefs.h
<<_ACEOF
14228 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14236 for ac_header
in malloc.h
14238 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14239 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14240 echo "$as_me:$LINENO: checking for $ac_header" >&5
14241 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14242 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14243 echo $ECHO_N "(cached) $ECHO_C" >&6
14245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14246 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14248 # Is the header compilable?
14249 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14250 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14251 cat >conftest.
$ac_ext <<_ACEOF
14254 cat confdefs.h
>>conftest.
$ac_ext
14255 cat >>conftest.
$ac_ext <<_ACEOF
14256 /* end confdefs.h. */
14257 $ac_includes_default
14258 #include <$ac_header>
14260 rm -f conftest.
$ac_objext
14261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14262 (eval $ac_compile) 2>conftest.er1
14264 grep -v '^ *+' conftest.er1
>conftest.err
14266 cat conftest.err
>&5
14267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14268 (exit $ac_status); } &&
14269 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14271 (eval $ac_try) 2>&5
14273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14274 (exit $ac_status); }; } &&
14275 { ac_try
='test -s conftest.$ac_objext'
14276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14277 (eval $ac_try) 2>&5
14279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14280 (exit $ac_status); }; }; then
14281 ac_header_compiler
=yes
14283 echo "$as_me: failed program was:" >&5
14284 sed 's/^/| /' conftest.
$ac_ext >&5
14286 ac_header_compiler
=no
14288 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14289 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14290 echo "${ECHO_T}$ac_header_compiler" >&6
14292 # Is the header present?
14293 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14294 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14295 cat >conftest.
$ac_ext <<_ACEOF
14298 cat confdefs.h
>>conftest.
$ac_ext
14299 cat >>conftest.
$ac_ext <<_ACEOF
14300 /* end confdefs.h. */
14301 #include <$ac_header>
14303 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14304 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14306 grep -v '^ *+' conftest.er1
>conftest.err
14308 cat conftest.err
>&5
14309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14310 (exit $ac_status); } >/dev
/null
; then
14311 if test -s conftest.err
; then
14312 ac_cpp_err
=$ac_c_preproc_warn_flag
14313 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14320 if test -z "$ac_cpp_err"; then
14321 ac_header_preproc
=yes
14323 echo "$as_me: failed program was:" >&5
14324 sed 's/^/| /' conftest.
$ac_ext >&5
14326 ac_header_preproc
=no
14328 rm -f conftest.err conftest.
$ac_ext
14329 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14330 echo "${ECHO_T}$ac_header_preproc" >&6
14332 # So? What about this header?
14333 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14335 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14336 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14337 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14338 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14339 ac_header_preproc
=yes
14342 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14343 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14344 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14345 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14346 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14347 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14348 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14349 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14350 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14351 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14352 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14353 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14356 ## ----------------------------------------- ##
14357 ## Report this to wx-dev@lists.wxwidgets.org ##
14358 ## ----------------------------------------- ##
14361 sed "s/^/$as_me: WARNING: /" >&2
14364 echo "$as_me:$LINENO: checking for $ac_header" >&5
14365 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14366 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14367 echo $ECHO_N "(cached) $ECHO_C" >&6
14369 eval "$as_ac_Header=\$ac_header_preproc"
14371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14372 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14375 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14376 cat >>confdefs.h
<<_ACEOF
14377 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14385 for ac_header
in unistd.h
14387 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14388 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14389 echo "$as_me:$LINENO: checking for $ac_header" >&5
14390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14391 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14392 echo $ECHO_N "(cached) $ECHO_C" >&6
14394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14395 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14397 # Is the header compilable?
14398 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14399 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14400 cat >conftest.
$ac_ext <<_ACEOF
14403 cat confdefs.h
>>conftest.
$ac_ext
14404 cat >>conftest.
$ac_ext <<_ACEOF
14405 /* end confdefs.h. */
14406 $ac_includes_default
14407 #include <$ac_header>
14409 rm -f conftest.
$ac_objext
14410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14411 (eval $ac_compile) 2>conftest.er1
14413 grep -v '^ *+' conftest.er1
>conftest.err
14415 cat conftest.err
>&5
14416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14417 (exit $ac_status); } &&
14418 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14420 (eval $ac_try) 2>&5
14422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14423 (exit $ac_status); }; } &&
14424 { ac_try
='test -s conftest.$ac_objext'
14425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14426 (eval $ac_try) 2>&5
14428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14429 (exit $ac_status); }; }; then
14430 ac_header_compiler
=yes
14432 echo "$as_me: failed program was:" >&5
14433 sed 's/^/| /' conftest.
$ac_ext >&5
14435 ac_header_compiler
=no
14437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14438 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14439 echo "${ECHO_T}$ac_header_compiler" >&6
14441 # Is the header present?
14442 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14443 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14444 cat >conftest.
$ac_ext <<_ACEOF
14447 cat confdefs.h
>>conftest.
$ac_ext
14448 cat >>conftest.
$ac_ext <<_ACEOF
14449 /* end confdefs.h. */
14450 #include <$ac_header>
14452 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14453 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14455 grep -v '^ *+' conftest.er1
>conftest.err
14457 cat conftest.err
>&5
14458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14459 (exit $ac_status); } >/dev
/null
; then
14460 if test -s conftest.err
; then
14461 ac_cpp_err
=$ac_c_preproc_warn_flag
14462 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14469 if test -z "$ac_cpp_err"; then
14470 ac_header_preproc
=yes
14472 echo "$as_me: failed program was:" >&5
14473 sed 's/^/| /' conftest.
$ac_ext >&5
14475 ac_header_preproc
=no
14477 rm -f conftest.err conftest.
$ac_ext
14478 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14479 echo "${ECHO_T}$ac_header_preproc" >&6
14481 # So? What about this header?
14482 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14484 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14485 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14486 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14487 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14488 ac_header_preproc
=yes
14491 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14492 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14493 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14494 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14495 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14496 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14497 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14498 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14499 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14500 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14501 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14502 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14505 ## ----------------------------------------- ##
14506 ## Report this to wx-dev@lists.wxwidgets.org ##
14507 ## ----------------------------------------- ##
14510 sed "s/^/$as_me: WARNING: /" >&2
14513 echo "$as_me:$LINENO: checking for $ac_header" >&5
14514 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14515 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14516 echo $ECHO_N "(cached) $ECHO_C" >&6
14518 eval "$as_ac_Header=\$ac_header_preproc"
14520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14521 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14524 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14525 cat >>confdefs.h
<<_ACEOF
14526 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14534 for ac_header
in wchar.h
14536 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14537 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14538 echo "$as_me:$LINENO: checking for $ac_header" >&5
14539 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14540 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14541 echo $ECHO_N "(cached) $ECHO_C" >&6
14543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14544 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14546 # Is the header compilable?
14547 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14548 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14549 cat >conftest.
$ac_ext <<_ACEOF
14552 cat confdefs.h
>>conftest.
$ac_ext
14553 cat >>conftest.
$ac_ext <<_ACEOF
14554 /* end confdefs.h. */
14555 $ac_includes_default
14556 #include <$ac_header>
14558 rm -f conftest.
$ac_objext
14559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14560 (eval $ac_compile) 2>conftest.er1
14562 grep -v '^ *+' conftest.er1
>conftest.err
14564 cat conftest.err
>&5
14565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14566 (exit $ac_status); } &&
14567 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
14573 { ac_try
='test -s conftest.$ac_objext'
14574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14575 (eval $ac_try) 2>&5
14577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14578 (exit $ac_status); }; }; then
14579 ac_header_compiler
=yes
14581 echo "$as_me: failed program was:" >&5
14582 sed 's/^/| /' conftest.
$ac_ext >&5
14584 ac_header_compiler
=no
14586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14587 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14588 echo "${ECHO_T}$ac_header_compiler" >&6
14590 # Is the header present?
14591 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14592 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14593 cat >conftest.
$ac_ext <<_ACEOF
14596 cat confdefs.h
>>conftest.
$ac_ext
14597 cat >>conftest.
$ac_ext <<_ACEOF
14598 /* end confdefs.h. */
14599 #include <$ac_header>
14601 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14602 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14604 grep -v '^ *+' conftest.er1
>conftest.err
14606 cat conftest.err
>&5
14607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14608 (exit $ac_status); } >/dev
/null
; then
14609 if test -s conftest.err
; then
14610 ac_cpp_err
=$ac_c_preproc_warn_flag
14611 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14618 if test -z "$ac_cpp_err"; then
14619 ac_header_preproc
=yes
14621 echo "$as_me: failed program was:" >&5
14622 sed 's/^/| /' conftest.
$ac_ext >&5
14624 ac_header_preproc
=no
14626 rm -f conftest.err conftest.
$ac_ext
14627 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14628 echo "${ECHO_T}$ac_header_preproc" >&6
14630 # So? What about this header?
14631 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14633 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14634 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14635 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14636 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14637 ac_header_preproc
=yes
14640 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14641 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14642 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14643 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14644 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14645 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14646 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14647 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14648 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14649 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14650 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14651 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14654 ## ----------------------------------------- ##
14655 ## Report this to wx-dev@lists.wxwidgets.org ##
14656 ## ----------------------------------------- ##
14659 sed "s/^/$as_me: WARNING: /" >&2
14662 echo "$as_me:$LINENO: checking for $ac_header" >&5
14663 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14664 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14665 echo $ECHO_N "(cached) $ECHO_C" >&6
14667 eval "$as_ac_Header=\$ac_header_preproc"
14669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14670 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14673 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14674 cat >>confdefs.h
<<_ACEOF
14675 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14683 if test "$ac_cv_header_wchar_h" != "yes"; then
14685 for ac_header
in wcstr.h
14687 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14688 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14689 echo "$as_me:$LINENO: checking for $ac_header" >&5
14690 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14691 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14692 echo $ECHO_N "(cached) $ECHO_C" >&6
14694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14695 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14697 # Is the header compilable?
14698 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14699 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14700 cat >conftest.
$ac_ext <<_ACEOF
14703 cat confdefs.h
>>conftest.
$ac_ext
14704 cat >>conftest.
$ac_ext <<_ACEOF
14705 /* end confdefs.h. */
14706 $ac_includes_default
14707 #include <$ac_header>
14709 rm -f conftest.
$ac_objext
14710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14711 (eval $ac_compile) 2>conftest.er1
14713 grep -v '^ *+' conftest.er1
>conftest.err
14715 cat conftest.err
>&5
14716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14717 (exit $ac_status); } &&
14718 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
14724 { ac_try
='test -s conftest.$ac_objext'
14725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14726 (eval $ac_try) 2>&5
14728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14729 (exit $ac_status); }; }; then
14730 ac_header_compiler
=yes
14732 echo "$as_me: failed program was:" >&5
14733 sed 's/^/| /' conftest.
$ac_ext >&5
14735 ac_header_compiler
=no
14737 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14738 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14739 echo "${ECHO_T}$ac_header_compiler" >&6
14741 # Is the header present?
14742 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14743 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14744 cat >conftest.
$ac_ext <<_ACEOF
14747 cat confdefs.h
>>conftest.
$ac_ext
14748 cat >>conftest.
$ac_ext <<_ACEOF
14749 /* end confdefs.h. */
14750 #include <$ac_header>
14752 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14753 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14755 grep -v '^ *+' conftest.er1
>conftest.err
14757 cat conftest.err
>&5
14758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14759 (exit $ac_status); } >/dev
/null
; then
14760 if test -s conftest.err
; then
14761 ac_cpp_err
=$ac_c_preproc_warn_flag
14762 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14769 if test -z "$ac_cpp_err"; then
14770 ac_header_preproc
=yes
14772 echo "$as_me: failed program was:" >&5
14773 sed 's/^/| /' conftest.
$ac_ext >&5
14775 ac_header_preproc
=no
14777 rm -f conftest.err conftest.
$ac_ext
14778 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14779 echo "${ECHO_T}$ac_header_preproc" >&6
14781 # So? What about this header?
14782 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14784 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14785 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14786 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14787 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14788 ac_header_preproc
=yes
14791 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14792 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14793 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14794 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14795 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14796 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14797 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14798 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14799 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14800 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14801 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14802 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14805 ## ----------------------------------------- ##
14806 ## Report this to wx-dev@lists.wxwidgets.org ##
14807 ## ----------------------------------------- ##
14810 sed "s/^/$as_me: WARNING: /" >&2
14813 echo "$as_me:$LINENO: checking for $ac_header" >&5
14814 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14815 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14816 echo $ECHO_N "(cached) $ECHO_C" >&6
14818 eval "$as_ac_Header=\$ac_header_preproc"
14820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14821 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14824 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14825 cat >>confdefs.h
<<_ACEOF
14826 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14836 for ac_header
in fnmatch.h
14838 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14839 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14840 echo "$as_me:$LINENO: checking for $ac_header" >&5
14841 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14843 echo $ECHO_N "(cached) $ECHO_C" >&6
14845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14846 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14848 # Is the header compilable?
14849 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14850 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14851 cat >conftest.
$ac_ext <<_ACEOF
14854 cat confdefs.h
>>conftest.
$ac_ext
14855 cat >>conftest.
$ac_ext <<_ACEOF
14856 /* end confdefs.h. */
14857 $ac_includes_default
14858 #include <$ac_header>
14860 rm -f conftest.
$ac_objext
14861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14862 (eval $ac_compile) 2>conftest.er1
14864 grep -v '^ *+' conftest.er1
>conftest.err
14866 cat conftest.err
>&5
14867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14868 (exit $ac_status); } &&
14869 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14871 (eval $ac_try) 2>&5
14873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14874 (exit $ac_status); }; } &&
14875 { ac_try
='test -s conftest.$ac_objext'
14876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14877 (eval $ac_try) 2>&5
14879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14880 (exit $ac_status); }; }; then
14881 ac_header_compiler
=yes
14883 echo "$as_me: failed program was:" >&5
14884 sed 's/^/| /' conftest.
$ac_ext >&5
14886 ac_header_compiler
=no
14888 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14889 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14890 echo "${ECHO_T}$ac_header_compiler" >&6
14892 # Is the header present?
14893 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14894 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14895 cat >conftest.
$ac_ext <<_ACEOF
14898 cat confdefs.h
>>conftest.
$ac_ext
14899 cat >>conftest.
$ac_ext <<_ACEOF
14900 /* end confdefs.h. */
14901 #include <$ac_header>
14903 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14904 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14906 grep -v '^ *+' conftest.er1
>conftest.err
14908 cat conftest.err
>&5
14909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14910 (exit $ac_status); } >/dev
/null
; then
14911 if test -s conftest.err
; then
14912 ac_cpp_err
=$ac_c_preproc_warn_flag
14913 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14920 if test -z "$ac_cpp_err"; then
14921 ac_header_preproc
=yes
14923 echo "$as_me: failed program was:" >&5
14924 sed 's/^/| /' conftest.
$ac_ext >&5
14926 ac_header_preproc
=no
14928 rm -f conftest.err conftest.
$ac_ext
14929 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14930 echo "${ECHO_T}$ac_header_preproc" >&6
14932 # So? What about this header?
14933 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14935 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14936 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14937 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14938 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14939 ac_header_preproc
=yes
14942 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14943 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14944 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14945 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14946 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14947 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14948 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14949 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14950 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14951 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14952 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14953 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14956 ## ----------------------------------------- ##
14957 ## Report this to wx-dev@lists.wxwidgets.org ##
14958 ## ----------------------------------------- ##
14961 sed "s/^/$as_me: WARNING: /" >&2
14964 echo "$as_me:$LINENO: checking for $ac_header" >&5
14965 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14966 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14967 echo $ECHO_N "(cached) $ECHO_C" >&6
14969 eval "$as_ac_Header=\$ac_header_preproc"
14971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14972 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14975 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14976 cat >>confdefs.h
<<_ACEOF
14977 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14985 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
14987 for ac_func
in fnmatch
14989 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14990 echo "$as_me:$LINENO: checking for $ac_func" >&5
14991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14992 if eval "test \"\${$as_ac_var+set}\" = set"; then
14993 echo $ECHO_N "(cached) $ECHO_C" >&6
14995 cat >conftest.
$ac_ext <<_ACEOF
14998 cat confdefs.h
>>conftest.
$ac_ext
14999 cat >>conftest.
$ac_ext <<_ACEOF
15000 /* end confdefs.h. */
15001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15003 #define $ac_func innocuous_$ac_func
15005 /* System header to define __stub macros and hopefully few prototypes,
15006 which can conflict with char $ac_func (); below.
15007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15008 <limits.h> exists even on freestanding compilers. */
15011 # include <limits.h>
15013 # include <assert.h>
15018 /* Override any gcc2 internal prototype to avoid an error. */
15023 /* We use char because int might match the return type of a gcc2
15024 builtin and then its argument prototype would still apply. */
15026 /* The GNU C library defines this for functions which it implements
15027 to always fail with ENOSYS. Some functions are actually named
15028 something starting with __ and the normal name is an alias. */
15029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15032 char (*f) () = $ac_func;
15041 return f != $ac_func;
15046 rm -f conftest.
$ac_objext conftest
$ac_exeext
15047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15048 (eval $ac_link) 2>conftest.er1
15050 grep -v '^ *+' conftest.er1
>conftest.err
15052 cat conftest.err
>&5
15053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15054 (exit $ac_status); } &&
15055 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15057 (eval $ac_try) 2>&5
15059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15060 (exit $ac_status); }; } &&
15061 { ac_try
='test -s conftest$ac_exeext'
15062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15063 (eval $ac_try) 2>&5
15065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15066 (exit $ac_status); }; }; then
15067 eval "$as_ac_var=yes"
15069 echo "$as_me: failed program was:" >&5
15070 sed 's/^/| /' conftest.
$ac_ext >&5
15072 eval "$as_ac_var=no"
15074 rm -f conftest.err conftest.
$ac_objext \
15075 conftest
$ac_exeext conftest.
$ac_ext
15077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15079 if test `eval echo '${'$as_ac_var'}'` = yes; then
15080 cat >>confdefs.h
<<_ACEOF
15081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15090 for ac_header
in langinfo.h
15092 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15093 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15094 echo "$as_me:$LINENO: checking for $ac_header" >&5
15095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15097 echo $ECHO_N "(cached) $ECHO_C" >&6
15099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15100 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15102 # Is the header compilable?
15103 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15104 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15105 cat >conftest.
$ac_ext <<_ACEOF
15108 cat confdefs.h
>>conftest.
$ac_ext
15109 cat >>conftest.
$ac_ext <<_ACEOF
15110 /* end confdefs.h. */
15111 $ac_includes_default
15112 #include <$ac_header>
15114 rm -f conftest.
$ac_objext
15115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15116 (eval $ac_compile) 2>conftest.er1
15118 grep -v '^ *+' conftest.er1
>conftest.err
15120 cat conftest.err
>&5
15121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15122 (exit $ac_status); } &&
15123 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15125 (eval $ac_try) 2>&5
15127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15128 (exit $ac_status); }; } &&
15129 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
15135 ac_header_compiler
=yes
15137 echo "$as_me: failed program was:" >&5
15138 sed 's/^/| /' conftest.
$ac_ext >&5
15140 ac_header_compiler
=no
15142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15143 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15144 echo "${ECHO_T}$ac_header_compiler" >&6
15146 # Is the header present?
15147 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15148 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15149 cat >conftest.
$ac_ext <<_ACEOF
15152 cat confdefs.h
>>conftest.
$ac_ext
15153 cat >>conftest.
$ac_ext <<_ACEOF
15154 /* end confdefs.h. */
15155 #include <$ac_header>
15157 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15158 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15160 grep -v '^ *+' conftest.er1
>conftest.err
15162 cat conftest.err
>&5
15163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15164 (exit $ac_status); } >/dev
/null
; then
15165 if test -s conftest.err
; then
15166 ac_cpp_err
=$ac_c_preproc_warn_flag
15167 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15174 if test -z "$ac_cpp_err"; then
15175 ac_header_preproc
=yes
15177 echo "$as_me: failed program was:" >&5
15178 sed 's/^/| /' conftest.
$ac_ext >&5
15180 ac_header_preproc
=no
15182 rm -f conftest.err conftest.
$ac_ext
15183 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15184 echo "${ECHO_T}$ac_header_preproc" >&6
15186 # So? What about this header?
15187 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15189 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15190 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15191 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15192 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15193 ac_header_preproc
=yes
15196 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15197 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15198 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15199 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15200 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15201 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15202 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15203 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15204 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15205 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15206 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15207 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15210 ## ----------------------------------------- ##
15211 ## Report this to wx-dev@lists.wxwidgets.org ##
15212 ## ----------------------------------------- ##
15215 sed "s/^/$as_me: WARNING: /" >&2
15218 echo "$as_me:$LINENO: checking for $ac_header" >&5
15219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15221 echo $ECHO_N "(cached) $ECHO_C" >&6
15223 eval "$as_ac_Header=\$ac_header_preproc"
15225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15226 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15229 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15230 cat >>confdefs.h
<<_ACEOF
15231 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15240 *-pc-os2_emx | *-pc-os2-emx )
15241 if test $ac_cv_header_langinfo_h = "yes" \
15242 -a \
( "$wx_cv_gccversion" = "EMX2" \
15243 -o "$wx_cv_gccversion" = "EMX3" \
15244 -o "$wx_cv_gccversion" = "Innotek5" \
); then
15245 LIBS
="$LIBS -lintl"
15250 if test "$wxUSE_GUI" = "yes"; then
15251 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
15253 for ac_header
in X
11/Xlib.h
15255 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15257 echo "$as_me:$LINENO: checking for $ac_header" >&5
15258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15260 echo $ECHO_N "(cached) $ECHO_C" >&6
15262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15263 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15265 # Is the header compilable?
15266 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15267 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15268 cat >conftest.
$ac_ext <<_ACEOF
15271 cat confdefs.h
>>conftest.
$ac_ext
15272 cat >>conftest.
$ac_ext <<_ACEOF
15273 /* end confdefs.h. */
15274 $ac_includes_default
15275 #include <$ac_header>
15277 rm -f conftest.
$ac_objext
15278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15279 (eval $ac_compile) 2>conftest.er1
15281 grep -v '^ *+' conftest.er1
>conftest.err
15283 cat conftest.err
>&5
15284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15285 (exit $ac_status); } &&
15286 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15288 (eval $ac_try) 2>&5
15290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15291 (exit $ac_status); }; } &&
15292 { ac_try
='test -s conftest.$ac_objext'
15293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15294 (eval $ac_try) 2>&5
15296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15297 (exit $ac_status); }; }; then
15298 ac_header_compiler
=yes
15300 echo "$as_me: failed program was:" >&5
15301 sed 's/^/| /' conftest.
$ac_ext >&5
15303 ac_header_compiler
=no
15305 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15306 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15307 echo "${ECHO_T}$ac_header_compiler" >&6
15309 # Is the header present?
15310 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15311 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15312 cat >conftest.
$ac_ext <<_ACEOF
15315 cat confdefs.h
>>conftest.
$ac_ext
15316 cat >>conftest.
$ac_ext <<_ACEOF
15317 /* end confdefs.h. */
15318 #include <$ac_header>
15320 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15321 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15323 grep -v '^ *+' conftest.er1
>conftest.err
15325 cat conftest.err
>&5
15326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); } >/dev
/null
; then
15328 if test -s conftest.err
; then
15329 ac_cpp_err
=$ac_c_preproc_warn_flag
15330 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15337 if test -z "$ac_cpp_err"; then
15338 ac_header_preproc
=yes
15340 echo "$as_me: failed program was:" >&5
15341 sed 's/^/| /' conftest.
$ac_ext >&5
15343 ac_header_preproc
=no
15345 rm -f conftest.err conftest.
$ac_ext
15346 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15347 echo "${ECHO_T}$ac_header_preproc" >&6
15349 # So? What about this header?
15350 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15352 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15353 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15354 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15355 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15356 ac_header_preproc
=yes
15359 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15360 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15361 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15362 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15363 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15364 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15365 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15366 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15367 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15368 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15369 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15370 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15373 ## ----------------------------------------- ##
15374 ## Report this to wx-dev@lists.wxwidgets.org ##
15375 ## ----------------------------------------- ##
15378 sed "s/^/$as_me: WARNING: /" >&2
15381 echo "$as_me:$LINENO: checking for $ac_header" >&5
15382 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15383 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15384 echo $ECHO_N "(cached) $ECHO_C" >&6
15386 eval "$as_ac_Header=\$ac_header_preproc"
15388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15389 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15392 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15393 cat >>confdefs.h
<<_ACEOF
15394 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15402 for ac_header
in X
11/XKBlib.h
15404 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15405 echo "$as_me:$LINENO: checking for $ac_header" >&5
15406 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15407 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15408 echo $ECHO_N "(cached) $ECHO_C" >&6
15410 cat >conftest.
$ac_ext <<_ACEOF
15413 cat confdefs.h
>>conftest.
$ac_ext
15414 cat >>conftest.
$ac_ext <<_ACEOF
15415 /* end confdefs.h. */
15417 #if HAVE_X11_XLIB_H
15418 #include <X11/Xlib.h>
15422 #include <$ac_header>
15424 rm -f conftest.
$ac_objext
15425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15426 (eval $ac_compile) 2>conftest.er1
15428 grep -v '^ *+' conftest.er1
>conftest.err
15430 cat conftest.err
>&5
15431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15432 (exit $ac_status); } &&
15433 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15435 (eval $ac_try) 2>&5
15437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15438 (exit $ac_status); }; } &&
15439 { ac_try
='test -s conftest.$ac_objext'
15440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15441 (eval $ac_try) 2>&5
15443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15444 (exit $ac_status); }; }; then
15445 eval "$as_ac_Header=yes"
15447 echo "$as_me: failed program was:" >&5
15448 sed 's/^/| /' conftest.
$ac_ext >&5
15450 eval "$as_ac_Header=no"
15452 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15455 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15456 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15457 cat >>confdefs.h
<<_ACEOF
15458 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15469 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15470 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15471 if test "${ac_cv_c_const+set}" = set; then
15472 echo $ECHO_N "(cached) $ECHO_C" >&6
15474 cat >conftest.
$ac_ext <<_ACEOF
15477 cat confdefs.h
>>conftest.
$ac_ext
15478 cat >>conftest.
$ac_ext <<_ACEOF
15479 /* end confdefs.h. */
15484 /* FIXME: Include the comments suggested by Paul. */
15485 #ifndef __cplusplus
15486 /* Ultrix mips cc rejects this. */
15487 typedef int charset[2];
15489 /* SunOS 4.1.1 cc rejects this. */
15490 char const *const *ccp;
15492 /* NEC SVR4.0.2 mips cc rejects this. */
15493 struct point {int x, y;};
15494 static struct point const zero = {0,0};
15495 /* AIX XL C 1.02.0.0 rejects this.
15496 It does not let you subtract one const X* pointer from another in
15497 an arm of an if-expression whose if-part is not a constant
15499 const char *g = "string";
15500 ccp = &g + (g ? g-g : 0);
15501 /* HPUX 7.0 cc rejects these. */
15504 ccp = (char const *const *) p;
15505 { /* SCO 3.2v4 cc rejects this. */
15507 char const *s = 0 ? (char *) 0 : (char const *) 0;
15511 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15512 int x[] = {25, 17};
15513 const int *foo = &x[0];
15516 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15517 typedef const int *iptr;
15521 { /* AIX XL C 1.02.0.0 rejects this saying
15522 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15523 struct s { int j; const int *ap[3]; };
15524 struct s *b; b->j = 5;
15526 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15527 const int foo = 10;
15535 rm -f conftest.
$ac_objext
15536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15537 (eval $ac_compile) 2>conftest.er1
15539 grep -v '^ *+' conftest.er1
>conftest.err
15541 cat conftest.err
>&5
15542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15543 (exit $ac_status); } &&
15544 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15546 (eval $ac_try) 2>&5
15548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15549 (exit $ac_status); }; } &&
15550 { ac_try
='test -s conftest.$ac_objext'
15551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15552 (eval $ac_try) 2>&5
15554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15555 (exit $ac_status); }; }; then
15558 echo "$as_me: failed program was:" >&5
15559 sed 's/^/| /' conftest.
$ac_ext >&5
15563 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15565 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15566 echo "${ECHO_T}$ac_cv_c_const" >&6
15567 if test $ac_cv_c_const = no
; then
15569 cat >>confdefs.h
<<\_ACEOF
15575 echo "$as_me:$LINENO: checking for inline" >&5
15576 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15577 if test "${ac_cv_c_inline+set}" = set; then
15578 echo $ECHO_N "(cached) $ECHO_C" >&6
15581 for ac_kw
in inline __inline__ __inline
; do
15582 cat >conftest.
$ac_ext <<_ACEOF
15585 cat confdefs.h
>>conftest.
$ac_ext
15586 cat >>conftest.
$ac_ext <<_ACEOF
15587 /* end confdefs.h. */
15588 #ifndef __cplusplus
15590 static $ac_kw foo_t static_foo () {return 0; }
15591 $ac_kw foo_t foo () {return 0; }
15595 rm -f conftest.
$ac_objext
15596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15597 (eval $ac_compile) 2>conftest.er1
15599 grep -v '^ *+' conftest.er1
>conftest.err
15601 cat conftest.err
>&5
15602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15603 (exit $ac_status); } &&
15604 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15606 (eval $ac_try) 2>&5
15608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15609 (exit $ac_status); }; } &&
15610 { ac_try
='test -s conftest.$ac_objext'
15611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15612 (eval $ac_try) 2>&5
15614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15615 (exit $ac_status); }; }; then
15616 ac_cv_c_inline
=$ac_kw; break
15618 echo "$as_me: failed program was:" >&5
15619 sed 's/^/| /' conftest.
$ac_ext >&5
15622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15626 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15627 echo "${ECHO_T}$ac_cv_c_inline" >&6
15630 case $ac_cv_c_inline in
15633 case $ac_cv_c_inline in
15635 *) ac_val
=$ac_cv_c_inline;;
15637 cat >>confdefs.h
<<_ACEOF
15638 #ifndef __cplusplus
15639 #define inline $ac_val
15646 echo "$as_me:$LINENO: checking for char" >&5
15647 echo $ECHO_N "checking for char... $ECHO_C" >&6
15648 if test "${ac_cv_type_char+set}" = set; then
15649 echo $ECHO_N "(cached) $ECHO_C" >&6
15651 cat >conftest.
$ac_ext <<_ACEOF
15654 cat confdefs.h
>>conftest.
$ac_ext
15655 cat >>conftest.
$ac_ext <<_ACEOF
15656 /* end confdefs.h. */
15657 $ac_includes_default
15669 rm -f conftest.
$ac_objext
15670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15671 (eval $ac_compile) 2>conftest.er1
15673 grep -v '^ *+' conftest.er1
>conftest.err
15675 cat conftest.err
>&5
15676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15677 (exit $ac_status); } &&
15678 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15680 (eval $ac_try) 2>&5
15682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15683 (exit $ac_status); }; } &&
15684 { ac_try
='test -s conftest.$ac_objext'
15685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15686 (eval $ac_try) 2>&5
15688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15689 (exit $ac_status); }; }; then
15690 ac_cv_type_char
=yes
15692 echo "$as_me: failed program was:" >&5
15693 sed 's/^/| /' conftest.
$ac_ext >&5
15697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15699 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15700 echo "${ECHO_T}$ac_cv_type_char" >&6
15702 echo "$as_me:$LINENO: checking size of char" >&5
15703 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15704 if test "${ac_cv_sizeof_char+set}" = set; then
15705 echo $ECHO_N "(cached) $ECHO_C" >&6
15707 if test "$ac_cv_type_char" = yes; then
15708 # The cast to unsigned long works around a bug in the HP C Compiler
15709 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15710 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15711 # This bug is HP SR number 8606223364.
15712 if test "$cross_compiling" = yes; then
15713 # Depending upon the size, compute the lo and hi bounds.
15714 cat >conftest.
$ac_ext <<_ACEOF
15717 cat confdefs.h
>>conftest.
$ac_ext
15718 cat >>conftest.
$ac_ext <<_ACEOF
15719 /* end confdefs.h. */
15720 $ac_includes_default
15724 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15731 rm -f conftest.
$ac_objext
15732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15733 (eval $ac_compile) 2>conftest.er1
15735 grep -v '^ *+' conftest.er1
>conftest.err
15737 cat conftest.err
>&5
15738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15739 (exit $ac_status); } &&
15740 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15742 (eval $ac_try) 2>&5
15744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15745 (exit $ac_status); }; } &&
15746 { ac_try
='test -s conftest.$ac_objext'
15747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15748 (eval $ac_try) 2>&5
15750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15751 (exit $ac_status); }; }; then
15754 cat >conftest.
$ac_ext <<_ACEOF
15757 cat confdefs.h
>>conftest.
$ac_ext
15758 cat >>conftest.
$ac_ext <<_ACEOF
15759 /* end confdefs.h. */
15760 $ac_includes_default
15764 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15771 rm -f conftest.
$ac_objext
15772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15773 (eval $ac_compile) 2>conftest.er1
15775 grep -v '^ *+' conftest.er1
>conftest.err
15777 cat conftest.err
>&5
15778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15779 (exit $ac_status); } &&
15780 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15782 (eval $ac_try) 2>&5
15784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15785 (exit $ac_status); }; } &&
15786 { ac_try
='test -s conftest.$ac_objext'
15787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15788 (eval $ac_try) 2>&5
15790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15791 (exit $ac_status); }; }; then
15792 ac_hi
=$ac_mid; break
15794 echo "$as_me: failed program was:" >&5
15795 sed 's/^/| /' conftest.
$ac_ext >&5
15797 ac_lo
=`expr $ac_mid + 1`
15798 if test $ac_lo -le $ac_mid; then
15802 ac_mid
=`expr 2 '*' $ac_mid + 1`
15804 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15807 echo "$as_me: failed program was:" >&5
15808 sed 's/^/| /' conftest.
$ac_ext >&5
15810 cat >conftest.
$ac_ext <<_ACEOF
15813 cat confdefs.h
>>conftest.
$ac_ext
15814 cat >>conftest.
$ac_ext <<_ACEOF
15815 /* end confdefs.h. */
15816 $ac_includes_default
15820 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15827 rm -f conftest.
$ac_objext
15828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15829 (eval $ac_compile) 2>conftest.er1
15831 grep -v '^ *+' conftest.er1
>conftest.err
15833 cat conftest.err
>&5
15834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15835 (exit $ac_status); } &&
15836 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15838 (eval $ac_try) 2>&5
15840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15841 (exit $ac_status); }; } &&
15842 { ac_try
='test -s conftest.$ac_objext'
15843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15844 (eval $ac_try) 2>&5
15846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15847 (exit $ac_status); }; }; then
15850 cat >conftest.
$ac_ext <<_ACEOF
15853 cat confdefs.h
>>conftest.
$ac_ext
15854 cat >>conftest.
$ac_ext <<_ACEOF
15855 /* end confdefs.h. */
15856 $ac_includes_default
15860 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15867 rm -f conftest.
$ac_objext
15868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15869 (eval $ac_compile) 2>conftest.er1
15871 grep -v '^ *+' conftest.er1
>conftest.err
15873 cat conftest.err
>&5
15874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15875 (exit $ac_status); } &&
15876 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15878 (eval $ac_try) 2>&5
15880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15881 (exit $ac_status); }; } &&
15882 { ac_try
='test -s conftest.$ac_objext'
15883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15884 (eval $ac_try) 2>&5
15886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15887 (exit $ac_status); }; }; then
15888 ac_lo
=$ac_mid; break
15890 echo "$as_me: failed program was:" >&5
15891 sed 's/^/| /' conftest.
$ac_ext >&5
15893 ac_hi
=`expr '(' $ac_mid ')' - 1`
15894 if test $ac_mid -le $ac_hi; then
15898 ac_mid
=`expr 2 '*' $ac_mid`
15900 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15903 echo "$as_me: failed program was:" >&5
15904 sed 's/^/| /' conftest.
$ac_ext >&5
15908 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15911 # Binary search between lo and hi bounds.
15912 while test "x$ac_lo" != "x$ac_hi"; do
15913 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15914 cat >conftest.
$ac_ext <<_ACEOF
15917 cat confdefs.h
>>conftest.
$ac_ext
15918 cat >>conftest.
$ac_ext <<_ACEOF
15919 /* end confdefs.h. */
15920 $ac_includes_default
15924 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15931 rm -f conftest.
$ac_objext
15932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15933 (eval $ac_compile) 2>conftest.er1
15935 grep -v '^ *+' conftest.er1
>conftest.err
15937 cat conftest.err
>&5
15938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15939 (exit $ac_status); } &&
15940 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15942 (eval $ac_try) 2>&5
15944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945 (exit $ac_status); }; } &&
15946 { ac_try
='test -s conftest.$ac_objext'
15947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15948 (eval $ac_try) 2>&5
15950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15951 (exit $ac_status); }; }; then
15954 echo "$as_me: failed program was:" >&5
15955 sed 's/^/| /' conftest.
$ac_ext >&5
15957 ac_lo
=`expr '(' $ac_mid ')' + 1`
15959 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15962 ?
*) ac_cv_sizeof_char
=$ac_lo;;
15963 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15964 See \`config.log' for more details." >&5
15965 echo "$as_me: error: cannot compute sizeof (char), 77
15966 See \`config.log' for more details." >&2;}
15967 { (exit 1); exit 1; }; } ;;
15970 if test "$cross_compiling" = yes; then
15971 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15972 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15973 { (exit 1); exit 1; }; }
15975 cat >conftest.
$ac_ext <<_ACEOF
15978 cat confdefs.h
>>conftest.
$ac_ext
15979 cat >>conftest.
$ac_ext <<_ACEOF
15980 /* end confdefs.h. */
15981 $ac_includes_default
15982 long longval () { return (long) (sizeof (char)); }
15983 unsigned long ulongval () { return (long) (sizeof (char)); }
15985 #include <stdlib.h>
15990 FILE *f = fopen ("conftest.val", "w");
15993 if (((long) (sizeof (char))) < 0)
15995 long i = longval ();
15996 if (i != ((long) (sizeof (char))))
15998 fprintf (f, "%ld\n", i);
16002 unsigned long i = ulongval ();
16003 if (i != ((long) (sizeof (char))))
16005 fprintf (f, "%lu\n", i);
16007 exit (ferror (f) || fclose (f) != 0);
16013 rm -f conftest
$ac_exeext
16014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16015 (eval $ac_link) 2>&5
16017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16018 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16020 (eval $ac_try) 2>&5
16022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16023 (exit $ac_status); }; }; then
16024 ac_cv_sizeof_char
=`cat conftest.val`
16026 echo "$as_me: program exited with status $ac_status" >&5
16027 echo "$as_me: failed program was:" >&5
16028 sed 's/^/| /' conftest.
$ac_ext >&5
16030 ( exit $ac_status )
16031 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16032 See \`config.log' for more details." >&5
16033 echo "$as_me: error: cannot compute sizeof (char), 77
16034 See \`config.log' for more details." >&2;}
16035 { (exit 1); exit 1; }; }
16037 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16042 ac_cv_sizeof_char
=0
16045 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
16046 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
16047 cat >>confdefs.h
<<_ACEOF
16048 #define SIZEOF_CHAR $ac_cv_sizeof_char
16052 echo "$as_me:$LINENO: checking for short" >&5
16053 echo $ECHO_N "checking for short... $ECHO_C" >&6
16054 if test "${ac_cv_type_short+set}" = set; then
16055 echo $ECHO_N "(cached) $ECHO_C" >&6
16057 cat >conftest.
$ac_ext <<_ACEOF
16060 cat confdefs.h
>>conftest.
$ac_ext
16061 cat >>conftest.
$ac_ext <<_ACEOF
16062 /* end confdefs.h. */
16063 $ac_includes_default
16069 if (sizeof (short))
16075 rm -f conftest.
$ac_objext
16076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16077 (eval $ac_compile) 2>conftest.er1
16079 grep -v '^ *+' conftest.er1
>conftest.err
16081 cat conftest.err
>&5
16082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16083 (exit $ac_status); } &&
16084 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16086 (eval $ac_try) 2>&5
16088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16089 (exit $ac_status); }; } &&
16090 { ac_try
='test -s conftest.$ac_objext'
16091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16092 (eval $ac_try) 2>&5
16094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16095 (exit $ac_status); }; }; then
16096 ac_cv_type_short
=yes
16098 echo "$as_me: failed program was:" >&5
16099 sed 's/^/| /' conftest.
$ac_ext >&5
16101 ac_cv_type_short
=no
16103 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16105 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
16106 echo "${ECHO_T}$ac_cv_type_short" >&6
16108 echo "$as_me:$LINENO: checking size of short" >&5
16109 echo $ECHO_N "checking size of short... $ECHO_C" >&6
16110 if test "${ac_cv_sizeof_short+set}" = set; then
16111 echo $ECHO_N "(cached) $ECHO_C" >&6
16113 if test "$ac_cv_type_short" = yes; then
16114 # The cast to unsigned long works around a bug in the HP C Compiler
16115 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16116 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16117 # This bug is HP SR number 8606223364.
16118 if test "$cross_compiling" = yes; then
16119 # Depending upon the size, compute the lo and hi bounds.
16120 cat >conftest.
$ac_ext <<_ACEOF
16123 cat confdefs.h
>>conftest.
$ac_ext
16124 cat >>conftest.
$ac_ext <<_ACEOF
16125 /* end confdefs.h. */
16126 $ac_includes_default
16130 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16137 rm -f conftest.
$ac_objext
16138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16139 (eval $ac_compile) 2>conftest.er1
16141 grep -v '^ *+' conftest.er1
>conftest.err
16143 cat conftest.err
>&5
16144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16145 (exit $ac_status); } &&
16146 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16148 (eval $ac_try) 2>&5
16150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16151 (exit $ac_status); }; } &&
16152 { ac_try
='test -s conftest.$ac_objext'
16153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16154 (eval $ac_try) 2>&5
16156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16157 (exit $ac_status); }; }; then
16160 cat >conftest.
$ac_ext <<_ACEOF
16163 cat confdefs.h
>>conftest.
$ac_ext
16164 cat >>conftest.
$ac_ext <<_ACEOF
16165 /* end confdefs.h. */
16166 $ac_includes_default
16170 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16177 rm -f conftest.
$ac_objext
16178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16179 (eval $ac_compile) 2>conftest.er1
16181 grep -v '^ *+' conftest.er1
>conftest.err
16183 cat conftest.err
>&5
16184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16185 (exit $ac_status); } &&
16186 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16188 (eval $ac_try) 2>&5
16190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16191 (exit $ac_status); }; } &&
16192 { ac_try
='test -s conftest.$ac_objext'
16193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16194 (eval $ac_try) 2>&5
16196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16197 (exit $ac_status); }; }; then
16198 ac_hi
=$ac_mid; break
16200 echo "$as_me: failed program was:" >&5
16201 sed 's/^/| /' conftest.
$ac_ext >&5
16203 ac_lo
=`expr $ac_mid + 1`
16204 if test $ac_lo -le $ac_mid; then
16208 ac_mid
=`expr 2 '*' $ac_mid + 1`
16210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16213 echo "$as_me: failed program was:" >&5
16214 sed 's/^/| /' conftest.
$ac_ext >&5
16216 cat >conftest.
$ac_ext <<_ACEOF
16219 cat confdefs.h
>>conftest.
$ac_ext
16220 cat >>conftest.
$ac_ext <<_ACEOF
16221 /* end confdefs.h. */
16222 $ac_includes_default
16226 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
16233 rm -f conftest.
$ac_objext
16234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16235 (eval $ac_compile) 2>conftest.er1
16237 grep -v '^ *+' conftest.er1
>conftest.err
16239 cat conftest.err
>&5
16240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16241 (exit $ac_status); } &&
16242 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16244 (eval $ac_try) 2>&5
16246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247 (exit $ac_status); }; } &&
16248 { ac_try
='test -s conftest.$ac_objext'
16249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16250 (eval $ac_try) 2>&5
16252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253 (exit $ac_status); }; }; then
16256 cat >conftest.
$ac_ext <<_ACEOF
16259 cat confdefs.h
>>conftest.
$ac_ext
16260 cat >>conftest.
$ac_ext <<_ACEOF
16261 /* end confdefs.h. */
16262 $ac_includes_default
16266 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16273 rm -f conftest.
$ac_objext
16274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16275 (eval $ac_compile) 2>conftest.er1
16277 grep -v '^ *+' conftest.er1
>conftest.err
16279 cat conftest.err
>&5
16280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281 (exit $ac_status); } &&
16282 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16284 (eval $ac_try) 2>&5
16286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16287 (exit $ac_status); }; } &&
16288 { ac_try
='test -s conftest.$ac_objext'
16289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16290 (eval $ac_try) 2>&5
16292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16293 (exit $ac_status); }; }; then
16294 ac_lo
=$ac_mid; break
16296 echo "$as_me: failed program was:" >&5
16297 sed 's/^/| /' conftest.
$ac_ext >&5
16299 ac_hi
=`expr '(' $ac_mid ')' - 1`
16300 if test $ac_mid -le $ac_hi; then
16304 ac_mid
=`expr 2 '*' $ac_mid`
16306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16309 echo "$as_me: failed program was:" >&5
16310 sed 's/^/| /' conftest.
$ac_ext >&5
16314 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16316 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16317 # Binary search between lo and hi bounds.
16318 while test "x$ac_lo" != "x$ac_hi"; do
16319 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16320 cat >conftest.
$ac_ext <<_ACEOF
16323 cat confdefs.h
>>conftest.
$ac_ext
16324 cat >>conftest.
$ac_ext <<_ACEOF
16325 /* end confdefs.h. */
16326 $ac_includes_default
16330 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16337 rm -f conftest.
$ac_objext
16338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16339 (eval $ac_compile) 2>conftest.er1
16341 grep -v '^ *+' conftest.er1
>conftest.err
16343 cat conftest.err
>&5
16344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16345 (exit $ac_status); } &&
16346 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16348 (eval $ac_try) 2>&5
16350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16351 (exit $ac_status); }; } &&
16352 { ac_try
='test -s conftest.$ac_objext'
16353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16354 (eval $ac_try) 2>&5
16356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16357 (exit $ac_status); }; }; then
16360 echo "$as_me: failed program was:" >&5
16361 sed 's/^/| /' conftest.
$ac_ext >&5
16363 ac_lo
=`expr '(' $ac_mid ')' + 1`
16365 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16368 ?
*) ac_cv_sizeof_short
=$ac_lo;;
16369 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16370 See \`config.log' for more details." >&5
16371 echo "$as_me: error: cannot compute sizeof (short), 77
16372 See \`config.log' for more details." >&2;}
16373 { (exit 1); exit 1; }; } ;;
16376 if test "$cross_compiling" = yes; then
16377 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16378 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16379 { (exit 1); exit 1; }; }
16381 cat >conftest.
$ac_ext <<_ACEOF
16384 cat confdefs.h
>>conftest.
$ac_ext
16385 cat >>conftest.
$ac_ext <<_ACEOF
16386 /* end confdefs.h. */
16387 $ac_includes_default
16388 long longval () { return (long) (sizeof (short)); }
16389 unsigned long ulongval () { return (long) (sizeof (short)); }
16391 #include <stdlib.h>
16396 FILE *f = fopen ("conftest.val", "w");
16399 if (((long) (sizeof (short))) < 0)
16401 long i = longval ();
16402 if (i != ((long) (sizeof (short))))
16404 fprintf (f, "%ld\n", i);
16408 unsigned long i = ulongval ();
16409 if (i != ((long) (sizeof (short))))
16411 fprintf (f, "%lu\n", i);
16413 exit (ferror (f) || fclose (f) != 0);
16419 rm -f conftest
$ac_exeext
16420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16421 (eval $ac_link) 2>&5
16423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16424 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16426 (eval $ac_try) 2>&5
16428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16429 (exit $ac_status); }; }; then
16430 ac_cv_sizeof_short
=`cat conftest.val`
16432 echo "$as_me: program exited with status $ac_status" >&5
16433 echo "$as_me: failed program was:" >&5
16434 sed 's/^/| /' conftest.
$ac_ext >&5
16436 ( exit $ac_status )
16437 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16438 See \`config.log' for more details." >&5
16439 echo "$as_me: error: cannot compute sizeof (short), 77
16440 See \`config.log' for more details." >&2;}
16441 { (exit 1); exit 1; }; }
16443 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16448 ac_cv_sizeof_short
=0
16451 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16452 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16453 cat >>confdefs.h
<<_ACEOF
16454 #define SIZEOF_SHORT $ac_cv_sizeof_short
16458 echo "$as_me:$LINENO: checking for void *" >&5
16459 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16460 if test "${ac_cv_type_void_p+set}" = set; then
16461 echo $ECHO_N "(cached) $ECHO_C" >&6
16463 cat >conftest.
$ac_ext <<_ACEOF
16466 cat confdefs.h
>>conftest.
$ac_ext
16467 cat >>conftest.
$ac_ext <<_ACEOF
16468 /* end confdefs.h. */
16469 $ac_includes_default
16475 if (sizeof (void *))
16481 rm -f conftest.
$ac_objext
16482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16483 (eval $ac_compile) 2>conftest.er1
16485 grep -v '^ *+' conftest.er1
>conftest.err
16487 cat conftest.err
>&5
16488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16489 (exit $ac_status); } &&
16490 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16492 (eval $ac_try) 2>&5
16494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16495 (exit $ac_status); }; } &&
16496 { ac_try
='test -s conftest.$ac_objext'
16497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16498 (eval $ac_try) 2>&5
16500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16501 (exit $ac_status); }; }; then
16502 ac_cv_type_void_p
=yes
16504 echo "$as_me: failed program was:" >&5
16505 sed 's/^/| /' conftest.
$ac_ext >&5
16507 ac_cv_type_void_p
=no
16509 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16511 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16512 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16514 echo "$as_me:$LINENO: checking size of void *" >&5
16515 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16516 if test "${ac_cv_sizeof_void_p+set}" = set; then
16517 echo $ECHO_N "(cached) $ECHO_C" >&6
16519 if test "$ac_cv_type_void_p" = yes; then
16520 # The cast to unsigned long works around a bug in the HP C Compiler
16521 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16522 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16523 # This bug is HP SR number 8606223364.
16524 if test "$cross_compiling" = yes; then
16525 # Depending upon the size, compute the lo and hi bounds.
16526 cat >conftest.
$ac_ext <<_ACEOF
16529 cat confdefs.h
>>conftest.
$ac_ext
16530 cat >>conftest.
$ac_ext <<_ACEOF
16531 /* end confdefs.h. */
16532 $ac_includes_default
16536 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16543 rm -f conftest.
$ac_objext
16544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16545 (eval $ac_compile) 2>conftest.er1
16547 grep -v '^ *+' conftest.er1
>conftest.err
16549 cat conftest.err
>&5
16550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16551 (exit $ac_status); } &&
16552 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16554 (eval $ac_try) 2>&5
16556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16557 (exit $ac_status); }; } &&
16558 { ac_try
='test -s conftest.$ac_objext'
16559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16560 (eval $ac_try) 2>&5
16562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16563 (exit $ac_status); }; }; then
16566 cat >conftest.
$ac_ext <<_ACEOF
16569 cat confdefs.h
>>conftest.
$ac_ext
16570 cat >>conftest.
$ac_ext <<_ACEOF
16571 /* end confdefs.h. */
16572 $ac_includes_default
16576 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16583 rm -f conftest.
$ac_objext
16584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16585 (eval $ac_compile) 2>conftest.er1
16587 grep -v '^ *+' conftest.er1
>conftest.err
16589 cat conftest.err
>&5
16590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16591 (exit $ac_status); } &&
16592 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16594 (eval $ac_try) 2>&5
16596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16597 (exit $ac_status); }; } &&
16598 { ac_try
='test -s conftest.$ac_objext'
16599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16600 (eval $ac_try) 2>&5
16602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16603 (exit $ac_status); }; }; then
16604 ac_hi
=$ac_mid; break
16606 echo "$as_me: failed program was:" >&5
16607 sed 's/^/| /' conftest.
$ac_ext >&5
16609 ac_lo
=`expr $ac_mid + 1`
16610 if test $ac_lo -le $ac_mid; then
16614 ac_mid
=`expr 2 '*' $ac_mid + 1`
16616 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16619 echo "$as_me: failed program was:" >&5
16620 sed 's/^/| /' conftest.
$ac_ext >&5
16622 cat >conftest.
$ac_ext <<_ACEOF
16625 cat confdefs.h
>>conftest.
$ac_ext
16626 cat >>conftest.
$ac_ext <<_ACEOF
16627 /* end confdefs.h. */
16628 $ac_includes_default
16632 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16639 rm -f conftest.
$ac_objext
16640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16641 (eval $ac_compile) 2>conftest.er1
16643 grep -v '^ *+' conftest.er1
>conftest.err
16645 cat conftest.err
>&5
16646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16647 (exit $ac_status); } &&
16648 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16650 (eval $ac_try) 2>&5
16652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16653 (exit $ac_status); }; } &&
16654 { ac_try
='test -s conftest.$ac_objext'
16655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16656 (eval $ac_try) 2>&5
16658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16659 (exit $ac_status); }; }; then
16662 cat >conftest.
$ac_ext <<_ACEOF
16665 cat confdefs.h
>>conftest.
$ac_ext
16666 cat >>conftest.
$ac_ext <<_ACEOF
16667 /* end confdefs.h. */
16668 $ac_includes_default
16672 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16679 rm -f conftest.
$ac_objext
16680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16681 (eval $ac_compile) 2>conftest.er1
16683 grep -v '^ *+' conftest.er1
>conftest.err
16685 cat conftest.err
>&5
16686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16687 (exit $ac_status); } &&
16688 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16690 (eval $ac_try) 2>&5
16692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16693 (exit $ac_status); }; } &&
16694 { ac_try
='test -s conftest.$ac_objext'
16695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16696 (eval $ac_try) 2>&5
16698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16699 (exit $ac_status); }; }; then
16700 ac_lo
=$ac_mid; break
16702 echo "$as_me: failed program was:" >&5
16703 sed 's/^/| /' conftest.
$ac_ext >&5
16705 ac_hi
=`expr '(' $ac_mid ')' - 1`
16706 if test $ac_mid -le $ac_hi; then
16710 ac_mid
=`expr 2 '*' $ac_mid`
16712 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16715 echo "$as_me: failed program was:" >&5
16716 sed 's/^/| /' conftest.
$ac_ext >&5
16720 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16722 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16723 # Binary search between lo and hi bounds.
16724 while test "x$ac_lo" != "x$ac_hi"; do
16725 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16726 cat >conftest.
$ac_ext <<_ACEOF
16729 cat confdefs.h
>>conftest.
$ac_ext
16730 cat >>conftest.
$ac_ext <<_ACEOF
16731 /* end confdefs.h. */
16732 $ac_includes_default
16736 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16743 rm -f conftest.
$ac_objext
16744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16745 (eval $ac_compile) 2>conftest.er1
16747 grep -v '^ *+' conftest.er1
>conftest.err
16749 cat conftest.err
>&5
16750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16751 (exit $ac_status); } &&
16752 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16754 (eval $ac_try) 2>&5
16756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16757 (exit $ac_status); }; } &&
16758 { ac_try
='test -s conftest.$ac_objext'
16759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16760 (eval $ac_try) 2>&5
16762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16763 (exit $ac_status); }; }; then
16766 echo "$as_me: failed program was:" >&5
16767 sed 's/^/| /' conftest.
$ac_ext >&5
16769 ac_lo
=`expr '(' $ac_mid ')' + 1`
16771 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16774 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
16775 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16776 See \`config.log' for more details." >&5
16777 echo "$as_me: error: cannot compute sizeof (void *), 77
16778 See \`config.log' for more details." >&2;}
16779 { (exit 1); exit 1; }; } ;;
16782 if test "$cross_compiling" = yes; then
16783 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16784 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16785 { (exit 1); exit 1; }; }
16787 cat >conftest.
$ac_ext <<_ACEOF
16790 cat confdefs.h
>>conftest.
$ac_ext
16791 cat >>conftest.
$ac_ext <<_ACEOF
16792 /* end confdefs.h. */
16793 $ac_includes_default
16794 long longval () { return (long) (sizeof (void *)); }
16795 unsigned long ulongval () { return (long) (sizeof (void *)); }
16797 #include <stdlib.h>
16802 FILE *f = fopen ("conftest.val", "w");
16805 if (((long) (sizeof (void *))) < 0)
16807 long i = longval ();
16808 if (i != ((long) (sizeof (void *))))
16810 fprintf (f, "%ld\n", i);
16814 unsigned long i = ulongval ();
16815 if (i != ((long) (sizeof (void *))))
16817 fprintf (f, "%lu\n", i);
16819 exit (ferror (f) || fclose (f) != 0);
16825 rm -f conftest
$ac_exeext
16826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16827 (eval $ac_link) 2>&5
16829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16830 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16832 (eval $ac_try) 2>&5
16834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16835 (exit $ac_status); }; }; then
16836 ac_cv_sizeof_void_p
=`cat conftest.val`
16838 echo "$as_me: program exited with status $ac_status" >&5
16839 echo "$as_me: failed program was:" >&5
16840 sed 's/^/| /' conftest.
$ac_ext >&5
16842 ( exit $ac_status )
16843 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16844 See \`config.log' for more details." >&5
16845 echo "$as_me: error: cannot compute sizeof (void *), 77
16846 See \`config.log' for more details." >&2;}
16847 { (exit 1); exit 1; }; }
16849 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16854 ac_cv_sizeof_void_p
=0
16857 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16858 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16859 cat >>confdefs.h
<<_ACEOF
16860 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16864 echo "$as_me:$LINENO: checking for int" >&5
16865 echo $ECHO_N "checking for int... $ECHO_C" >&6
16866 if test "${ac_cv_type_int+set}" = set; then
16867 echo $ECHO_N "(cached) $ECHO_C" >&6
16869 cat >conftest.
$ac_ext <<_ACEOF
16872 cat confdefs.h
>>conftest.
$ac_ext
16873 cat >>conftest.
$ac_ext <<_ACEOF
16874 /* end confdefs.h. */
16875 $ac_includes_default
16887 rm -f conftest.
$ac_objext
16888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16889 (eval $ac_compile) 2>conftest.er1
16891 grep -v '^ *+' conftest.er1
>conftest.err
16893 cat conftest.err
>&5
16894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16895 (exit $ac_status); } &&
16896 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16898 (eval $ac_try) 2>&5
16900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16901 (exit $ac_status); }; } &&
16902 { ac_try
='test -s conftest.$ac_objext'
16903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16904 (eval $ac_try) 2>&5
16906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16907 (exit $ac_status); }; }; then
16910 echo "$as_me: failed program was:" >&5
16911 sed 's/^/| /' conftest.
$ac_ext >&5
16915 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16917 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16918 echo "${ECHO_T}$ac_cv_type_int" >&6
16920 echo "$as_me:$LINENO: checking size of int" >&5
16921 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16922 if test "${ac_cv_sizeof_int+set}" = set; then
16923 echo $ECHO_N "(cached) $ECHO_C" >&6
16925 if test "$ac_cv_type_int" = yes; then
16926 # The cast to unsigned long works around a bug in the HP C Compiler
16927 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16928 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16929 # This bug is HP SR number 8606223364.
16930 if test "$cross_compiling" = yes; then
16931 # Depending upon the size, compute the lo and hi bounds.
16932 cat >conftest.
$ac_ext <<_ACEOF
16935 cat confdefs.h
>>conftest.
$ac_ext
16936 cat >>conftest.
$ac_ext <<_ACEOF
16937 /* end confdefs.h. */
16938 $ac_includes_default
16942 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16949 rm -f conftest.
$ac_objext
16950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16951 (eval $ac_compile) 2>conftest.er1
16953 grep -v '^ *+' conftest.er1
>conftest.err
16955 cat conftest.err
>&5
16956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16957 (exit $ac_status); } &&
16958 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16960 (eval $ac_try) 2>&5
16962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16963 (exit $ac_status); }; } &&
16964 { ac_try
='test -s conftest.$ac_objext'
16965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16966 (eval $ac_try) 2>&5
16968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16969 (exit $ac_status); }; }; then
16972 cat >conftest.
$ac_ext <<_ACEOF
16975 cat confdefs.h
>>conftest.
$ac_ext
16976 cat >>conftest.
$ac_ext <<_ACEOF
16977 /* end confdefs.h. */
16978 $ac_includes_default
16982 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16989 rm -f conftest.
$ac_objext
16990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16991 (eval $ac_compile) 2>conftest.er1
16993 grep -v '^ *+' conftest.er1
>conftest.err
16995 cat conftest.err
>&5
16996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16997 (exit $ac_status); } &&
16998 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17000 (eval $ac_try) 2>&5
17002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17003 (exit $ac_status); }; } &&
17004 { ac_try
='test -s conftest.$ac_objext'
17005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17006 (eval $ac_try) 2>&5
17008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17009 (exit $ac_status); }; }; then
17010 ac_hi
=$ac_mid; break
17012 echo "$as_me: failed program was:" >&5
17013 sed 's/^/| /' conftest.
$ac_ext >&5
17015 ac_lo
=`expr $ac_mid + 1`
17016 if test $ac_lo -le $ac_mid; then
17020 ac_mid
=`expr 2 '*' $ac_mid + 1`
17022 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17025 echo "$as_me: failed program was:" >&5
17026 sed 's/^/| /' conftest.
$ac_ext >&5
17028 cat >conftest.
$ac_ext <<_ACEOF
17031 cat confdefs.h
>>conftest.
$ac_ext
17032 cat >>conftest.
$ac_ext <<_ACEOF
17033 /* end confdefs.h. */
17034 $ac_includes_default
17038 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
17045 rm -f conftest.
$ac_objext
17046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17047 (eval $ac_compile) 2>conftest.er1
17049 grep -v '^ *+' conftest.er1
>conftest.err
17051 cat conftest.err
>&5
17052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17053 (exit $ac_status); } &&
17054 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17056 (eval $ac_try) 2>&5
17058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17059 (exit $ac_status); }; } &&
17060 { ac_try
='test -s conftest.$ac_objext'
17061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17062 (eval $ac_try) 2>&5
17064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17065 (exit $ac_status); }; }; then
17068 cat >conftest.
$ac_ext <<_ACEOF
17071 cat confdefs.h
>>conftest.
$ac_ext
17072 cat >>conftest.
$ac_ext <<_ACEOF
17073 /* end confdefs.h. */
17074 $ac_includes_default
17078 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
17085 rm -f conftest.
$ac_objext
17086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17087 (eval $ac_compile) 2>conftest.er1
17089 grep -v '^ *+' conftest.er1
>conftest.err
17091 cat conftest.err
>&5
17092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17093 (exit $ac_status); } &&
17094 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17096 (eval $ac_try) 2>&5
17098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17099 (exit $ac_status); }; } &&
17100 { ac_try
='test -s conftest.$ac_objext'
17101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17102 (eval $ac_try) 2>&5
17104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17105 (exit $ac_status); }; }; then
17106 ac_lo
=$ac_mid; break
17108 echo "$as_me: failed program was:" >&5
17109 sed 's/^/| /' conftest.
$ac_ext >&5
17111 ac_hi
=`expr '(' $ac_mid ')' - 1`
17112 if test $ac_mid -le $ac_hi; then
17116 ac_mid
=`expr 2 '*' $ac_mid`
17118 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17121 echo "$as_me: failed program was:" >&5
17122 sed 's/^/| /' conftest.
$ac_ext >&5
17126 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17128 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17129 # Binary search between lo and hi bounds.
17130 while test "x$ac_lo" != "x$ac_hi"; do
17131 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17132 cat >conftest.
$ac_ext <<_ACEOF
17135 cat confdefs.h
>>conftest.
$ac_ext
17136 cat >>conftest.
$ac_ext <<_ACEOF
17137 /* end confdefs.h. */
17138 $ac_includes_default
17142 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17149 rm -f conftest.
$ac_objext
17150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17151 (eval $ac_compile) 2>conftest.er1
17153 grep -v '^ *+' conftest.er1
>conftest.err
17155 cat conftest.err
>&5
17156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17157 (exit $ac_status); } &&
17158 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17160 (eval $ac_try) 2>&5
17162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17163 (exit $ac_status); }; } &&
17164 { ac_try
='test -s conftest.$ac_objext'
17165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17166 (eval $ac_try) 2>&5
17168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17169 (exit $ac_status); }; }; then
17172 echo "$as_me: failed program was:" >&5
17173 sed 's/^/| /' conftest.
$ac_ext >&5
17175 ac_lo
=`expr '(' $ac_mid ')' + 1`
17177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17180 ?
*) ac_cv_sizeof_int
=$ac_lo;;
17181 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17182 See \`config.log' for more details." >&5
17183 echo "$as_me: error: cannot compute sizeof (int), 77
17184 See \`config.log' for more details." >&2;}
17185 { (exit 1); exit 1; }; } ;;
17188 if test "$cross_compiling" = yes; then
17189 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17190 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17191 { (exit 1); exit 1; }; }
17193 cat >conftest.
$ac_ext <<_ACEOF
17196 cat confdefs.h
>>conftest.
$ac_ext
17197 cat >>conftest.
$ac_ext <<_ACEOF
17198 /* end confdefs.h. */
17199 $ac_includes_default
17200 long longval () { return (long) (sizeof (int)); }
17201 unsigned long ulongval () { return (long) (sizeof (int)); }
17203 #include <stdlib.h>
17208 FILE *f = fopen ("conftest.val", "w");
17211 if (((long) (sizeof (int))) < 0)
17213 long i = longval ();
17214 if (i != ((long) (sizeof (int))))
17216 fprintf (f, "%ld\n", i);
17220 unsigned long i = ulongval ();
17221 if (i != ((long) (sizeof (int))))
17223 fprintf (f, "%lu\n", i);
17225 exit (ferror (f) || fclose (f) != 0);
17231 rm -f conftest
$ac_exeext
17232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17233 (eval $ac_link) 2>&5
17235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17236 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17238 (eval $ac_try) 2>&5
17240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17241 (exit $ac_status); }; }; then
17242 ac_cv_sizeof_int
=`cat conftest.val`
17244 echo "$as_me: program exited with status $ac_status" >&5
17245 echo "$as_me: failed program was:" >&5
17246 sed 's/^/| /' conftest.
$ac_ext >&5
17248 ( exit $ac_status )
17249 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17250 See \`config.log' for more details." >&5
17251 echo "$as_me: error: cannot compute sizeof (int), 77
17252 See \`config.log' for more details." >&2;}
17253 { (exit 1); exit 1; }; }
17255 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17263 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17264 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17265 cat >>confdefs.h
<<_ACEOF
17266 #define SIZEOF_INT $ac_cv_sizeof_int
17270 echo "$as_me:$LINENO: checking for long" >&5
17271 echo $ECHO_N "checking for long... $ECHO_C" >&6
17272 if test "${ac_cv_type_long+set}" = set; then
17273 echo $ECHO_N "(cached) $ECHO_C" >&6
17275 cat >conftest.
$ac_ext <<_ACEOF
17278 cat confdefs.h
>>conftest.
$ac_ext
17279 cat >>conftest.
$ac_ext <<_ACEOF
17280 /* end confdefs.h. */
17281 $ac_includes_default
17293 rm -f conftest.
$ac_objext
17294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17295 (eval $ac_compile) 2>conftest.er1
17297 grep -v '^ *+' conftest.er1
>conftest.err
17299 cat conftest.err
>&5
17300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17301 (exit $ac_status); } &&
17302 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17304 (eval $ac_try) 2>&5
17306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17307 (exit $ac_status); }; } &&
17308 { ac_try
='test -s conftest.$ac_objext'
17309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17310 (eval $ac_try) 2>&5
17312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17313 (exit $ac_status); }; }; then
17314 ac_cv_type_long
=yes
17316 echo "$as_me: failed program was:" >&5
17317 sed 's/^/| /' conftest.
$ac_ext >&5
17321 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17323 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17324 echo "${ECHO_T}$ac_cv_type_long" >&6
17326 echo "$as_me:$LINENO: checking size of long" >&5
17327 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17328 if test "${ac_cv_sizeof_long+set}" = set; then
17329 echo $ECHO_N "(cached) $ECHO_C" >&6
17331 if test "$ac_cv_type_long" = yes; then
17332 # The cast to unsigned long works around a bug in the HP C Compiler
17333 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17334 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17335 # This bug is HP SR number 8606223364.
17336 if test "$cross_compiling" = yes; then
17337 # Depending upon the size, compute the lo and hi bounds.
17338 cat >conftest.
$ac_ext <<_ACEOF
17341 cat confdefs.h
>>conftest.
$ac_ext
17342 cat >>conftest.
$ac_ext <<_ACEOF
17343 /* end confdefs.h. */
17344 $ac_includes_default
17348 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17355 rm -f conftest.
$ac_objext
17356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17357 (eval $ac_compile) 2>conftest.er1
17359 grep -v '^ *+' conftest.er1
>conftest.err
17361 cat conftest.err
>&5
17362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17363 (exit $ac_status); } &&
17364 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17366 (eval $ac_try) 2>&5
17368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17369 (exit $ac_status); }; } &&
17370 { ac_try
='test -s conftest.$ac_objext'
17371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17372 (eval $ac_try) 2>&5
17374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17375 (exit $ac_status); }; }; then
17378 cat >conftest.
$ac_ext <<_ACEOF
17381 cat confdefs.h
>>conftest.
$ac_ext
17382 cat >>conftest.
$ac_ext <<_ACEOF
17383 /* end confdefs.h. */
17384 $ac_includes_default
17388 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17395 rm -f conftest.
$ac_objext
17396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17397 (eval $ac_compile) 2>conftest.er1
17399 grep -v '^ *+' conftest.er1
>conftest.err
17401 cat conftest.err
>&5
17402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403 (exit $ac_status); } &&
17404 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17406 (eval $ac_try) 2>&5
17408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17409 (exit $ac_status); }; } &&
17410 { ac_try
='test -s conftest.$ac_objext'
17411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17412 (eval $ac_try) 2>&5
17414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17415 (exit $ac_status); }; }; then
17416 ac_hi
=$ac_mid; break
17418 echo "$as_me: failed program was:" >&5
17419 sed 's/^/| /' conftest.
$ac_ext >&5
17421 ac_lo
=`expr $ac_mid + 1`
17422 if test $ac_lo -le $ac_mid; then
17426 ac_mid
=`expr 2 '*' $ac_mid + 1`
17428 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17431 echo "$as_me: failed program was:" >&5
17432 sed 's/^/| /' conftest.
$ac_ext >&5
17434 cat >conftest.
$ac_ext <<_ACEOF
17437 cat confdefs.h
>>conftest.
$ac_ext
17438 cat >>conftest.
$ac_ext <<_ACEOF
17439 /* end confdefs.h. */
17440 $ac_includes_default
17444 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17451 rm -f conftest.
$ac_objext
17452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17453 (eval $ac_compile) 2>conftest.er1
17455 grep -v '^ *+' conftest.er1
>conftest.err
17457 cat conftest.err
>&5
17458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17459 (exit $ac_status); } &&
17460 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17462 (eval $ac_try) 2>&5
17464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17465 (exit $ac_status); }; } &&
17466 { ac_try
='test -s conftest.$ac_objext'
17467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17468 (eval $ac_try) 2>&5
17470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17471 (exit $ac_status); }; }; then
17474 cat >conftest.
$ac_ext <<_ACEOF
17477 cat confdefs.h
>>conftest.
$ac_ext
17478 cat >>conftest.
$ac_ext <<_ACEOF
17479 /* end confdefs.h. */
17480 $ac_includes_default
17484 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17491 rm -f conftest.
$ac_objext
17492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17493 (eval $ac_compile) 2>conftest.er1
17495 grep -v '^ *+' conftest.er1
>conftest.err
17497 cat conftest.err
>&5
17498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17499 (exit $ac_status); } &&
17500 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17502 (eval $ac_try) 2>&5
17504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17505 (exit $ac_status); }; } &&
17506 { ac_try
='test -s conftest.$ac_objext'
17507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17508 (eval $ac_try) 2>&5
17510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17511 (exit $ac_status); }; }; then
17512 ac_lo
=$ac_mid; break
17514 echo "$as_me: failed program was:" >&5
17515 sed 's/^/| /' conftest.
$ac_ext >&5
17517 ac_hi
=`expr '(' $ac_mid ')' - 1`
17518 if test $ac_mid -le $ac_hi; then
17522 ac_mid
=`expr 2 '*' $ac_mid`
17524 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17527 echo "$as_me: failed program was:" >&5
17528 sed 's/^/| /' conftest.
$ac_ext >&5
17532 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17534 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17535 # Binary search between lo and hi bounds.
17536 while test "x$ac_lo" != "x$ac_hi"; do
17537 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17538 cat >conftest.
$ac_ext <<_ACEOF
17541 cat confdefs.h
>>conftest.
$ac_ext
17542 cat >>conftest.
$ac_ext <<_ACEOF
17543 /* end confdefs.h. */
17544 $ac_includes_default
17548 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17555 rm -f conftest.
$ac_objext
17556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17557 (eval $ac_compile) 2>conftest.er1
17559 grep -v '^ *+' conftest.er1
>conftest.err
17561 cat conftest.err
>&5
17562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17563 (exit $ac_status); } &&
17564 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17566 (eval $ac_try) 2>&5
17568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17569 (exit $ac_status); }; } &&
17570 { ac_try
='test -s conftest.$ac_objext'
17571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17572 (eval $ac_try) 2>&5
17574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17575 (exit $ac_status); }; }; then
17578 echo "$as_me: failed program was:" >&5
17579 sed 's/^/| /' conftest.
$ac_ext >&5
17581 ac_lo
=`expr '(' $ac_mid ')' + 1`
17583 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17586 ?
*) ac_cv_sizeof_long
=$ac_lo;;
17587 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17588 See \`config.log' for more details." >&5
17589 echo "$as_me: error: cannot compute sizeof (long), 77
17590 See \`config.log' for more details." >&2;}
17591 { (exit 1); exit 1; }; } ;;
17594 if test "$cross_compiling" = yes; then
17595 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17596 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17597 { (exit 1); exit 1; }; }
17599 cat >conftest.
$ac_ext <<_ACEOF
17602 cat confdefs.h
>>conftest.
$ac_ext
17603 cat >>conftest.
$ac_ext <<_ACEOF
17604 /* end confdefs.h. */
17605 $ac_includes_default
17606 long longval () { return (long) (sizeof (long)); }
17607 unsigned long ulongval () { return (long) (sizeof (long)); }
17609 #include <stdlib.h>
17614 FILE *f = fopen ("conftest.val", "w");
17617 if (((long) (sizeof (long))) < 0)
17619 long i = longval ();
17620 if (i != ((long) (sizeof (long))))
17622 fprintf (f, "%ld\n", i);
17626 unsigned long i = ulongval ();
17627 if (i != ((long) (sizeof (long))))
17629 fprintf (f, "%lu\n", i);
17631 exit (ferror (f) || fclose (f) != 0);
17637 rm -f conftest
$ac_exeext
17638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17639 (eval $ac_link) 2>&5
17641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17642 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17644 (eval $ac_try) 2>&5
17646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17647 (exit $ac_status); }; }; then
17648 ac_cv_sizeof_long
=`cat conftest.val`
17650 echo "$as_me: program exited with status $ac_status" >&5
17651 echo "$as_me: failed program was:" >&5
17652 sed 's/^/| /' conftest.
$ac_ext >&5
17654 ( exit $ac_status )
17655 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17656 See \`config.log' for more details." >&5
17657 echo "$as_me: error: cannot compute sizeof (long), 77
17658 See \`config.log' for more details." >&2;}
17659 { (exit 1); exit 1; }; }
17661 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17666 ac_cv_sizeof_long
=0
17669 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17670 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17671 cat >>confdefs.h
<<_ACEOF
17672 #define SIZEOF_LONG $ac_cv_sizeof_long
17676 echo "$as_me:$LINENO: checking for size_t" >&5
17677 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17678 if test "${ac_cv_type_size_t+set}" = set; then
17679 echo $ECHO_N "(cached) $ECHO_C" >&6
17681 cat >conftest.
$ac_ext <<_ACEOF
17684 cat confdefs.h
>>conftest.
$ac_ext
17685 cat >>conftest.
$ac_ext <<_ACEOF
17686 /* end confdefs.h. */
17687 $ac_includes_default
17693 if (sizeof (size_t))
17699 rm -f conftest.
$ac_objext
17700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17701 (eval $ac_compile) 2>conftest.er1
17703 grep -v '^ *+' conftest.er1
>conftest.err
17705 cat conftest.err
>&5
17706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17707 (exit $ac_status); } &&
17708 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17710 (eval $ac_try) 2>&5
17712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17713 (exit $ac_status); }; } &&
17714 { ac_try
='test -s conftest.$ac_objext'
17715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17716 (eval $ac_try) 2>&5
17718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17719 (exit $ac_status); }; }; then
17720 ac_cv_type_size_t
=yes
17722 echo "$as_me: failed program was:" >&5
17723 sed 's/^/| /' conftest.
$ac_ext >&5
17725 ac_cv_type_size_t
=no
17727 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17729 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17730 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17732 echo "$as_me:$LINENO: checking size of size_t" >&5
17733 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
17734 if test "${ac_cv_sizeof_size_t+set}" = set; then
17735 echo $ECHO_N "(cached) $ECHO_C" >&6
17737 if test "$ac_cv_type_size_t" = yes; then
17738 # The cast to unsigned long works around a bug in the HP C Compiler
17739 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17740 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17741 # This bug is HP SR number 8606223364.
17742 if test "$cross_compiling" = yes; then
17743 # Depending upon the size, compute the lo and hi bounds.
17744 cat >conftest.
$ac_ext <<_ACEOF
17747 cat confdefs.h
>>conftest.
$ac_ext
17748 cat >>conftest.
$ac_ext <<_ACEOF
17749 /* end confdefs.h. */
17750 $ac_includes_default
17754 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
17761 rm -f conftest.
$ac_objext
17762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17763 (eval $ac_compile) 2>conftest.er1
17765 grep -v '^ *+' conftest.er1
>conftest.err
17767 cat conftest.err
>&5
17768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17769 (exit $ac_status); } &&
17770 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17772 (eval $ac_try) 2>&5
17774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17775 (exit $ac_status); }; } &&
17776 { ac_try
='test -s conftest.$ac_objext'
17777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17778 (eval $ac_try) 2>&5
17780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781 (exit $ac_status); }; }; then
17784 cat >conftest.
$ac_ext <<_ACEOF
17787 cat confdefs.h
>>conftest.
$ac_ext
17788 cat >>conftest.
$ac_ext <<_ACEOF
17789 /* end confdefs.h. */
17790 $ac_includes_default
17794 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17801 rm -f conftest.
$ac_objext
17802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17803 (eval $ac_compile) 2>conftest.er1
17805 grep -v '^ *+' conftest.er1
>conftest.err
17807 cat conftest.err
>&5
17808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17809 (exit $ac_status); } &&
17810 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17812 (eval $ac_try) 2>&5
17814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815 (exit $ac_status); }; } &&
17816 { ac_try
='test -s conftest.$ac_objext'
17817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17818 (eval $ac_try) 2>&5
17820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17821 (exit $ac_status); }; }; then
17822 ac_hi
=$ac_mid; break
17824 echo "$as_me: failed program was:" >&5
17825 sed 's/^/| /' conftest.
$ac_ext >&5
17827 ac_lo
=`expr $ac_mid + 1`
17828 if test $ac_lo -le $ac_mid; then
17832 ac_mid
=`expr 2 '*' $ac_mid + 1`
17834 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17837 echo "$as_me: failed program was:" >&5
17838 sed 's/^/| /' conftest.
$ac_ext >&5
17840 cat >conftest.
$ac_ext <<_ACEOF
17843 cat confdefs.h
>>conftest.
$ac_ext
17844 cat >>conftest.
$ac_ext <<_ACEOF
17845 /* end confdefs.h. */
17846 $ac_includes_default
17850 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
17857 rm -f conftest.
$ac_objext
17858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17859 (eval $ac_compile) 2>conftest.er1
17861 grep -v '^ *+' conftest.er1
>conftest.err
17863 cat conftest.err
>&5
17864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17865 (exit $ac_status); } &&
17866 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17868 (eval $ac_try) 2>&5
17870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17871 (exit $ac_status); }; } &&
17872 { ac_try
='test -s conftest.$ac_objext'
17873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17874 (eval $ac_try) 2>&5
17876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17877 (exit $ac_status); }; }; then
17880 cat >conftest.
$ac_ext <<_ACEOF
17883 cat confdefs.h
>>conftest.
$ac_ext
17884 cat >>conftest.
$ac_ext <<_ACEOF
17885 /* end confdefs.h. */
17886 $ac_includes_default
17890 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17897 rm -f conftest.
$ac_objext
17898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17899 (eval $ac_compile) 2>conftest.er1
17901 grep -v '^ *+' conftest.er1
>conftest.err
17903 cat conftest.err
>&5
17904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17905 (exit $ac_status); } &&
17906 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17908 (eval $ac_try) 2>&5
17910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17911 (exit $ac_status); }; } &&
17912 { ac_try
='test -s conftest.$ac_objext'
17913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17914 (eval $ac_try) 2>&5
17916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17917 (exit $ac_status); }; }; then
17918 ac_lo
=$ac_mid; break
17920 echo "$as_me: failed program was:" >&5
17921 sed 's/^/| /' conftest.
$ac_ext >&5
17923 ac_hi
=`expr '(' $ac_mid ')' - 1`
17924 if test $ac_mid -le $ac_hi; then
17928 ac_mid
=`expr 2 '*' $ac_mid`
17930 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17933 echo "$as_me: failed program was:" >&5
17934 sed 's/^/| /' conftest.
$ac_ext >&5
17938 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17941 # Binary search between lo and hi bounds.
17942 while test "x$ac_lo" != "x$ac_hi"; do
17943 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17944 cat >conftest.
$ac_ext <<_ACEOF
17947 cat confdefs.h
>>conftest.
$ac_ext
17948 cat >>conftest.
$ac_ext <<_ACEOF
17949 /* end confdefs.h. */
17950 $ac_includes_default
17954 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17961 rm -f conftest.
$ac_objext
17962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17963 (eval $ac_compile) 2>conftest.er1
17965 grep -v '^ *+' conftest.er1
>conftest.err
17967 cat conftest.err
>&5
17968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17969 (exit $ac_status); } &&
17970 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17972 (eval $ac_try) 2>&5
17974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17975 (exit $ac_status); }; } &&
17976 { ac_try
='test -s conftest.$ac_objext'
17977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17978 (eval $ac_try) 2>&5
17980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17981 (exit $ac_status); }; }; then
17984 echo "$as_me: failed program was:" >&5
17985 sed 's/^/| /' conftest.
$ac_ext >&5
17987 ac_lo
=`expr '(' $ac_mid ')' + 1`
17989 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17992 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
17993 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17994 See \`config.log' for more details." >&5
17995 echo "$as_me: error: cannot compute sizeof (size_t), 77
17996 See \`config.log' for more details." >&2;}
17997 { (exit 1); exit 1; }; } ;;
18000 if test "$cross_compiling" = yes; then
18001 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18002 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18003 { (exit 1); exit 1; }; }
18005 cat >conftest.
$ac_ext <<_ACEOF
18008 cat confdefs.h
>>conftest.
$ac_ext
18009 cat >>conftest.
$ac_ext <<_ACEOF
18010 /* end confdefs.h. */
18011 $ac_includes_default
18012 long longval () { return (long) (sizeof (size_t)); }
18013 unsigned long ulongval () { return (long) (sizeof (size_t)); }
18015 #include <stdlib.h>
18020 FILE *f = fopen ("conftest.val", "w");
18023 if (((long) (sizeof (size_t))) < 0)
18025 long i = longval ();
18026 if (i != ((long) (sizeof (size_t))))
18028 fprintf (f, "%ld\n", i);
18032 unsigned long i = ulongval ();
18033 if (i != ((long) (sizeof (size_t))))
18035 fprintf (f, "%lu\n", i);
18037 exit (ferror (f) || fclose (f) != 0);
18043 rm -f conftest
$ac_exeext
18044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18045 (eval $ac_link) 2>&5
18047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18048 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18050 (eval $ac_try) 2>&5
18052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18053 (exit $ac_status); }; }; then
18054 ac_cv_sizeof_size_t
=`cat conftest.val`
18056 echo "$as_me: program exited with status $ac_status" >&5
18057 echo "$as_me: failed program was:" >&5
18058 sed 's/^/| /' conftest.
$ac_ext >&5
18060 ( exit $ac_status )
18061 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
18062 See \`config.log' for more details." >&5
18063 echo "$as_me: error: cannot compute sizeof (size_t), 77
18064 See \`config.log' for more details." >&2;}
18065 { (exit 1); exit 1; }; }
18067 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18072 ac_cv_sizeof_size_t
=0
18075 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
18076 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
18077 cat >>confdefs.h
<<_ACEOF
18078 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
18085 echo "$as_me:$LINENO: checking for long long" >&5
18086 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18087 if test "${ac_cv_type_long_long+set}" = set; then
18088 echo $ECHO_N "(cached) $ECHO_C" >&6
18090 cat >conftest.
$ac_ext <<_ACEOF
18093 cat confdefs.h
>>conftest.
$ac_ext
18094 cat >>conftest.
$ac_ext <<_ACEOF
18095 /* end confdefs.h. */
18096 $ac_includes_default
18100 if ((long long *) 0)
18102 if (sizeof (long long))
18108 rm -f conftest.
$ac_objext
18109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18110 (eval $ac_compile) 2>conftest.er1
18112 grep -v '^ *+' conftest.er1
>conftest.err
18114 cat conftest.err
>&5
18115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18116 (exit $ac_status); } &&
18117 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18119 (eval $ac_try) 2>&5
18121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18122 (exit $ac_status); }; } &&
18123 { ac_try
='test -s conftest.$ac_objext'
18124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18125 (eval $ac_try) 2>&5
18127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18128 (exit $ac_status); }; }; then
18129 ac_cv_type_long_long
=yes
18131 echo "$as_me: failed program was:" >&5
18132 sed 's/^/| /' conftest.
$ac_ext >&5
18134 ac_cv_type_long_long
=no
18136 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18138 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18139 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18141 echo "$as_me:$LINENO: checking size of long long" >&5
18142 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18143 if test "${ac_cv_sizeof_long_long+set}" = set; then
18144 echo $ECHO_N "(cached) $ECHO_C" >&6
18146 if test "$ac_cv_type_long_long" = yes; then
18147 # The cast to unsigned long works around a bug in the HP C Compiler
18148 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18149 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18150 # This bug is HP SR number 8606223364.
18151 if test "$cross_compiling" = yes; then
18152 # Depending upon the size, compute the lo and hi bounds.
18153 cat >conftest.
$ac_ext <<_ACEOF
18156 cat confdefs.h
>>conftest.
$ac_ext
18157 cat >>conftest.
$ac_ext <<_ACEOF
18158 /* end confdefs.h. */
18159 $ac_includes_default
18163 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18170 rm -f conftest.
$ac_objext
18171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18172 (eval $ac_compile) 2>conftest.er1
18174 grep -v '^ *+' conftest.er1
>conftest.err
18176 cat conftest.err
>&5
18177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18178 (exit $ac_status); } &&
18179 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18181 (eval $ac_try) 2>&5
18183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18184 (exit $ac_status); }; } &&
18185 { ac_try
='test -s conftest.$ac_objext'
18186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18187 (eval $ac_try) 2>&5
18189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18190 (exit $ac_status); }; }; then
18193 cat >conftest.
$ac_ext <<_ACEOF
18196 cat confdefs.h
>>conftest.
$ac_ext
18197 cat >>conftest.
$ac_ext <<_ACEOF
18198 /* end confdefs.h. */
18199 $ac_includes_default
18203 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18210 rm -f conftest.
$ac_objext
18211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18212 (eval $ac_compile) 2>conftest.er1
18214 grep -v '^ *+' conftest.er1
>conftest.err
18216 cat conftest.err
>&5
18217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18218 (exit $ac_status); } &&
18219 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18221 (eval $ac_try) 2>&5
18223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18224 (exit $ac_status); }; } &&
18225 { ac_try
='test -s conftest.$ac_objext'
18226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18227 (eval $ac_try) 2>&5
18229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18230 (exit $ac_status); }; }; then
18231 ac_hi
=$ac_mid; break
18233 echo "$as_me: failed program was:" >&5
18234 sed 's/^/| /' conftest.
$ac_ext >&5
18236 ac_lo
=`expr $ac_mid + 1`
18237 if test $ac_lo -le $ac_mid; then
18241 ac_mid
=`expr 2 '*' $ac_mid + 1`
18243 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18246 echo "$as_me: failed program was:" >&5
18247 sed 's/^/| /' conftest.
$ac_ext >&5
18249 cat >conftest.
$ac_ext <<_ACEOF
18252 cat confdefs.h
>>conftest.
$ac_ext
18253 cat >>conftest.
$ac_ext <<_ACEOF
18254 /* end confdefs.h. */
18255 $ac_includes_default
18259 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18266 rm -f conftest.
$ac_objext
18267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18268 (eval $ac_compile) 2>conftest.er1
18270 grep -v '^ *+' conftest.er1
>conftest.err
18272 cat conftest.err
>&5
18273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18274 (exit $ac_status); } &&
18275 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18277 (eval $ac_try) 2>&5
18279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18280 (exit $ac_status); }; } &&
18281 { ac_try
='test -s conftest.$ac_objext'
18282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18283 (eval $ac_try) 2>&5
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); }; }; then
18289 cat >conftest.
$ac_ext <<_ACEOF
18292 cat confdefs.h
>>conftest.
$ac_ext
18293 cat >>conftest.
$ac_ext <<_ACEOF
18294 /* end confdefs.h. */
18295 $ac_includes_default
18299 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18306 rm -f conftest.
$ac_objext
18307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18308 (eval $ac_compile) 2>conftest.er1
18310 grep -v '^ *+' conftest.er1
>conftest.err
18312 cat conftest.err
>&5
18313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18314 (exit $ac_status); } &&
18315 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18317 (eval $ac_try) 2>&5
18319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18320 (exit $ac_status); }; } &&
18321 { ac_try
='test -s conftest.$ac_objext'
18322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18323 (eval $ac_try) 2>&5
18325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18326 (exit $ac_status); }; }; then
18327 ac_lo
=$ac_mid; break
18329 echo "$as_me: failed program was:" >&5
18330 sed 's/^/| /' conftest.
$ac_ext >&5
18332 ac_hi
=`expr '(' $ac_mid ')' - 1`
18333 if test $ac_mid -le $ac_hi; then
18337 ac_mid
=`expr 2 '*' $ac_mid`
18339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18342 echo "$as_me: failed program was:" >&5
18343 sed 's/^/| /' conftest.
$ac_ext >&5
18347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18349 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18350 # Binary search between lo and hi bounds.
18351 while test "x$ac_lo" != "x$ac_hi"; do
18352 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18353 cat >conftest.
$ac_ext <<_ACEOF
18356 cat confdefs.h
>>conftest.
$ac_ext
18357 cat >>conftest.
$ac_ext <<_ACEOF
18358 /* end confdefs.h. */
18359 $ac_includes_default
18363 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18370 rm -f conftest.
$ac_objext
18371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18372 (eval $ac_compile) 2>conftest.er1
18374 grep -v '^ *+' conftest.er1
>conftest.err
18376 cat conftest.err
>&5
18377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18378 (exit $ac_status); } &&
18379 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18381 (eval $ac_try) 2>&5
18383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18384 (exit $ac_status); }; } &&
18385 { ac_try
='test -s conftest.$ac_objext'
18386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18387 (eval $ac_try) 2>&5
18389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18390 (exit $ac_status); }; }; then
18393 echo "$as_me: failed program was:" >&5
18394 sed 's/^/| /' conftest.
$ac_ext >&5
18396 ac_lo
=`expr '(' $ac_mid ')' + 1`
18398 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18401 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18402 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18403 See \`config.log' for more details." >&5
18404 echo "$as_me: error: cannot compute sizeof (long long), 77
18405 See \`config.log' for more details." >&2;}
18406 { (exit 1); exit 1; }; } ;;
18409 if test "$cross_compiling" = yes; then
18410 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18411 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18412 { (exit 1); exit 1; }; }
18414 cat >conftest.
$ac_ext <<_ACEOF
18417 cat confdefs.h
>>conftest.
$ac_ext
18418 cat >>conftest.
$ac_ext <<_ACEOF
18419 /* end confdefs.h. */
18420 $ac_includes_default
18421 long longval () { return (long) (sizeof (long long)); }
18422 unsigned long ulongval () { return (long) (sizeof (long long)); }
18424 #include <stdlib.h>
18429 FILE *f = fopen ("conftest.val", "w");
18432 if (((long) (sizeof (long long))) < 0)
18434 long i = longval ();
18435 if (i != ((long) (sizeof (long long))))
18437 fprintf (f, "%ld\n", i);
18441 unsigned long i = ulongval ();
18442 if (i != ((long) (sizeof (long long))))
18444 fprintf (f, "%lu\n", i);
18446 exit (ferror (f) || fclose (f) != 0);
18452 rm -f conftest
$ac_exeext
18453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18454 (eval $ac_link) 2>&5
18456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18457 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18459 (eval $ac_try) 2>&5
18461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18462 (exit $ac_status); }; }; then
18463 ac_cv_sizeof_long_long
=`cat conftest.val`
18465 echo "$as_me: program exited with status $ac_status" >&5
18466 echo "$as_me: failed program was:" >&5
18467 sed 's/^/| /' conftest.
$ac_ext >&5
18469 ( exit $ac_status )
18470 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18471 See \`config.log' for more details." >&5
18472 echo "$as_me: error: cannot compute sizeof (long long), 77
18473 See \`config.log' for more details." >&2;}
18474 { (exit 1); exit 1; }; }
18476 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18481 ac_cv_sizeof_long_long
=0
18484 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18485 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18486 cat >>confdefs.h
<<_ACEOF
18487 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18493 echo "$as_me:$LINENO: checking for long long" >&5
18494 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18495 if test "${ac_cv_type_long_long+set}" = set; then
18496 echo $ECHO_N "(cached) $ECHO_C" >&6
18498 cat >conftest.
$ac_ext <<_ACEOF
18501 cat confdefs.h
>>conftest.
$ac_ext
18502 cat >>conftest.
$ac_ext <<_ACEOF
18503 /* end confdefs.h. */
18504 $ac_includes_default
18508 if ((long long *) 0)
18510 if (sizeof (long long))
18516 rm -f conftest.
$ac_objext
18517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18518 (eval $ac_compile) 2>conftest.er1
18520 grep -v '^ *+' conftest.er1
>conftest.err
18522 cat conftest.err
>&5
18523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18524 (exit $ac_status); } &&
18525 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18527 (eval $ac_try) 2>&5
18529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18530 (exit $ac_status); }; } &&
18531 { ac_try
='test -s conftest.$ac_objext'
18532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18533 (eval $ac_try) 2>&5
18535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18536 (exit $ac_status); }; }; then
18537 ac_cv_type_long_long
=yes
18539 echo "$as_me: failed program was:" >&5
18540 sed 's/^/| /' conftest.
$ac_ext >&5
18542 ac_cv_type_long_long
=no
18544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18546 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18547 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18549 echo "$as_me:$LINENO: checking size of long long" >&5
18550 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18551 if test "${ac_cv_sizeof_long_long+set}" = set; then
18552 echo $ECHO_N "(cached) $ECHO_C" >&6
18554 if test "$ac_cv_type_long_long" = yes; then
18555 # The cast to unsigned long works around a bug in the HP C Compiler
18556 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18557 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18558 # This bug is HP SR number 8606223364.
18559 if test "$cross_compiling" = yes; then
18560 # Depending upon the size, compute the lo and hi bounds.
18561 cat >conftest.
$ac_ext <<_ACEOF
18564 cat confdefs.h
>>conftest.
$ac_ext
18565 cat >>conftest.
$ac_ext <<_ACEOF
18566 /* end confdefs.h. */
18567 $ac_includes_default
18571 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18578 rm -f conftest.
$ac_objext
18579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18580 (eval $ac_compile) 2>conftest.er1
18582 grep -v '^ *+' conftest.er1
>conftest.err
18584 cat conftest.err
>&5
18585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18586 (exit $ac_status); } &&
18587 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18589 (eval $ac_try) 2>&5
18591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18592 (exit $ac_status); }; } &&
18593 { ac_try
='test -s conftest.$ac_objext'
18594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18595 (eval $ac_try) 2>&5
18597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18598 (exit $ac_status); }; }; then
18601 cat >conftest.
$ac_ext <<_ACEOF
18604 cat confdefs.h
>>conftest.
$ac_ext
18605 cat >>conftest.
$ac_ext <<_ACEOF
18606 /* end confdefs.h. */
18607 $ac_includes_default
18611 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18618 rm -f conftest.
$ac_objext
18619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18620 (eval $ac_compile) 2>conftest.er1
18622 grep -v '^ *+' conftest.er1
>conftest.err
18624 cat conftest.err
>&5
18625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18626 (exit $ac_status); } &&
18627 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18629 (eval $ac_try) 2>&5
18631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18632 (exit $ac_status); }; } &&
18633 { ac_try
='test -s conftest.$ac_objext'
18634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18635 (eval $ac_try) 2>&5
18637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18638 (exit $ac_status); }; }; then
18639 ac_hi
=$ac_mid; break
18641 echo "$as_me: failed program was:" >&5
18642 sed 's/^/| /' conftest.
$ac_ext >&5
18644 ac_lo
=`expr $ac_mid + 1`
18645 if test $ac_lo -le $ac_mid; then
18649 ac_mid
=`expr 2 '*' $ac_mid + 1`
18651 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18654 echo "$as_me: failed program was:" >&5
18655 sed 's/^/| /' conftest.
$ac_ext >&5
18657 cat >conftest.
$ac_ext <<_ACEOF
18660 cat confdefs.h
>>conftest.
$ac_ext
18661 cat >>conftest.
$ac_ext <<_ACEOF
18662 /* end confdefs.h. */
18663 $ac_includes_default
18667 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18674 rm -f conftest.
$ac_objext
18675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18676 (eval $ac_compile) 2>conftest.er1
18678 grep -v '^ *+' conftest.er1
>conftest.err
18680 cat conftest.err
>&5
18681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18682 (exit $ac_status); } &&
18683 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18685 (eval $ac_try) 2>&5
18687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18688 (exit $ac_status); }; } &&
18689 { ac_try
='test -s conftest.$ac_objext'
18690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18691 (eval $ac_try) 2>&5
18693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18694 (exit $ac_status); }; }; then
18697 cat >conftest.
$ac_ext <<_ACEOF
18700 cat confdefs.h
>>conftest.
$ac_ext
18701 cat >>conftest.
$ac_ext <<_ACEOF
18702 /* end confdefs.h. */
18703 $ac_includes_default
18707 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18714 rm -f conftest.
$ac_objext
18715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18716 (eval $ac_compile) 2>conftest.er1
18718 grep -v '^ *+' conftest.er1
>conftest.err
18720 cat conftest.err
>&5
18721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18722 (exit $ac_status); } &&
18723 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18725 (eval $ac_try) 2>&5
18727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18728 (exit $ac_status); }; } &&
18729 { ac_try
='test -s conftest.$ac_objext'
18730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18731 (eval $ac_try) 2>&5
18733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18734 (exit $ac_status); }; }; then
18735 ac_lo
=$ac_mid; break
18737 echo "$as_me: failed program was:" >&5
18738 sed 's/^/| /' conftest.
$ac_ext >&5
18740 ac_hi
=`expr '(' $ac_mid ')' - 1`
18741 if test $ac_mid -le $ac_hi; then
18745 ac_mid
=`expr 2 '*' $ac_mid`
18747 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18750 echo "$as_me: failed program was:" >&5
18751 sed 's/^/| /' conftest.
$ac_ext >&5
18755 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18757 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18758 # Binary search between lo and hi bounds.
18759 while test "x$ac_lo" != "x$ac_hi"; do
18760 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18761 cat >conftest.
$ac_ext <<_ACEOF
18764 cat confdefs.h
>>conftest.
$ac_ext
18765 cat >>conftest.
$ac_ext <<_ACEOF
18766 /* end confdefs.h. */
18767 $ac_includes_default
18771 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18778 rm -f conftest.
$ac_objext
18779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18780 (eval $ac_compile) 2>conftest.er1
18782 grep -v '^ *+' conftest.er1
>conftest.err
18784 cat conftest.err
>&5
18785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18786 (exit $ac_status); } &&
18787 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18789 (eval $ac_try) 2>&5
18791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18792 (exit $ac_status); }; } &&
18793 { ac_try
='test -s conftest.$ac_objext'
18794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18795 (eval $ac_try) 2>&5
18797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18798 (exit $ac_status); }; }; then
18801 echo "$as_me: failed program was:" >&5
18802 sed 's/^/| /' conftest.
$ac_ext >&5
18804 ac_lo
=`expr '(' $ac_mid ')' + 1`
18806 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18809 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18810 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18811 See \`config.log' for more details." >&5
18812 echo "$as_me: error: cannot compute sizeof (long long), 77
18813 See \`config.log' for more details." >&2;}
18814 { (exit 1); exit 1; }; } ;;
18817 if test "$cross_compiling" = yes; then
18818 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18819 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18820 { (exit 1); exit 1; }; }
18822 cat >conftest.
$ac_ext <<_ACEOF
18825 cat confdefs.h
>>conftest.
$ac_ext
18826 cat >>conftest.
$ac_ext <<_ACEOF
18827 /* end confdefs.h. */
18828 $ac_includes_default
18829 long longval () { return (long) (sizeof (long long)); }
18830 unsigned long ulongval () { return (long) (sizeof (long long)); }
18832 #include <stdlib.h>
18837 FILE *f = fopen ("conftest.val", "w");
18840 if (((long) (sizeof (long long))) < 0)
18842 long i = longval ();
18843 if (i != ((long) (sizeof (long long))))
18845 fprintf (f, "%ld\n", i);
18849 unsigned long i = ulongval ();
18850 if (i != ((long) (sizeof (long long))))
18852 fprintf (f, "%lu\n", i);
18854 exit (ferror (f) || fclose (f) != 0);
18860 rm -f conftest
$ac_exeext
18861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18862 (eval $ac_link) 2>&5
18864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18865 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18867 (eval $ac_try) 2>&5
18869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18870 (exit $ac_status); }; }; then
18871 ac_cv_sizeof_long_long
=`cat conftest.val`
18873 echo "$as_me: program exited with status $ac_status" >&5
18874 echo "$as_me: failed program was:" >&5
18875 sed 's/^/| /' conftest.
$ac_ext >&5
18877 ( exit $ac_status )
18878 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18879 See \`config.log' for more details." >&5
18880 echo "$as_me: error: cannot compute sizeof (long long), 77
18881 See \`config.log' for more details." >&2;}
18882 { (exit 1); exit 1; }; }
18884 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18889 ac_cv_sizeof_long_long
=0
18892 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18893 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18894 cat >>confdefs.h
<<_ACEOF
18895 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18899 if test "$ac_cv_sizeof_long_long" != "0"; then
18900 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
18904 echo "$as_me:$LINENO: checking for long long" >&5
18905 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18906 if test "${ac_cv_type_long_long+set}" = set; then
18907 echo $ECHO_N "(cached) $ECHO_C" >&6
18909 cat >conftest.
$ac_ext <<_ACEOF
18912 cat confdefs.h
>>conftest.
$ac_ext
18913 cat >>conftest.
$ac_ext <<_ACEOF
18914 /* end confdefs.h. */
18915 $ac_includes_default
18919 if ((long long *) 0)
18921 if (sizeof (long long))
18927 rm -f conftest.
$ac_objext
18928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18929 (eval $ac_compile) 2>conftest.er1
18931 grep -v '^ *+' conftest.er1
>conftest.err
18933 cat conftest.err
>&5
18934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18935 (exit $ac_status); } &&
18936 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18938 (eval $ac_try) 2>&5
18940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18941 (exit $ac_status); }; } &&
18942 { ac_try
='test -s conftest.$ac_objext'
18943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18944 (eval $ac_try) 2>&5
18946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18947 (exit $ac_status); }; }; then
18948 ac_cv_type_long_long
=yes
18950 echo "$as_me: failed program was:" >&5
18951 sed 's/^/| /' conftest.
$ac_ext >&5
18953 ac_cv_type_long_long
=no
18955 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18957 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18958 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18960 echo "$as_me:$LINENO: checking size of long long" >&5
18961 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18962 if test "${ac_cv_sizeof_long_long+set}" = set; then
18963 echo $ECHO_N "(cached) $ECHO_C" >&6
18965 if test "$ac_cv_type_long_long" = yes; then
18966 # The cast to unsigned long works around a bug in the HP C Compiler
18967 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18968 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18969 # This bug is HP SR number 8606223364.
18970 if test "$cross_compiling" = yes; then
18971 # Depending upon the size, compute the lo and hi bounds.
18972 cat >conftest.
$ac_ext <<_ACEOF
18975 cat confdefs.h
>>conftest.
$ac_ext
18976 cat >>conftest.
$ac_ext <<_ACEOF
18977 /* end confdefs.h. */
18978 $ac_includes_default
18982 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18989 rm -f conftest.
$ac_objext
18990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18991 (eval $ac_compile) 2>conftest.er1
18993 grep -v '^ *+' conftest.er1
>conftest.err
18995 cat conftest.err
>&5
18996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18997 (exit $ac_status); } &&
18998 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19000 (eval $ac_try) 2>&5
19002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19003 (exit $ac_status); }; } &&
19004 { ac_try
='test -s conftest.$ac_objext'
19005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19006 (eval $ac_try) 2>&5
19008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19009 (exit $ac_status); }; }; then
19012 cat >conftest.
$ac_ext <<_ACEOF
19015 cat confdefs.h
>>conftest.
$ac_ext
19016 cat >>conftest.
$ac_ext <<_ACEOF
19017 /* end confdefs.h. */
19018 $ac_includes_default
19022 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19029 rm -f conftest.
$ac_objext
19030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19031 (eval $ac_compile) 2>conftest.er1
19033 grep -v '^ *+' conftest.er1
>conftest.err
19035 cat conftest.err
>&5
19036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19037 (exit $ac_status); } &&
19038 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19040 (eval $ac_try) 2>&5
19042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19043 (exit $ac_status); }; } &&
19044 { ac_try
='test -s conftest.$ac_objext'
19045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19046 (eval $ac_try) 2>&5
19048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19049 (exit $ac_status); }; }; then
19050 ac_hi
=$ac_mid; break
19052 echo "$as_me: failed program was:" >&5
19053 sed 's/^/| /' conftest.
$ac_ext >&5
19055 ac_lo
=`expr $ac_mid + 1`
19056 if test $ac_lo -le $ac_mid; then
19060 ac_mid
=`expr 2 '*' $ac_mid + 1`
19062 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19065 echo "$as_me: failed program was:" >&5
19066 sed 's/^/| /' conftest.
$ac_ext >&5
19068 cat >conftest.
$ac_ext <<_ACEOF
19071 cat confdefs.h
>>conftest.
$ac_ext
19072 cat >>conftest.
$ac_ext <<_ACEOF
19073 /* end confdefs.h. */
19074 $ac_includes_default
19078 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19085 rm -f conftest.
$ac_objext
19086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19087 (eval $ac_compile) 2>conftest.er1
19089 grep -v '^ *+' conftest.er1
>conftest.err
19091 cat conftest.err
>&5
19092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19093 (exit $ac_status); } &&
19094 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19096 (eval $ac_try) 2>&5
19098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19099 (exit $ac_status); }; } &&
19100 { ac_try
='test -s conftest.$ac_objext'
19101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19102 (eval $ac_try) 2>&5
19104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19105 (exit $ac_status); }; }; then
19108 cat >conftest.
$ac_ext <<_ACEOF
19111 cat confdefs.h
>>conftest.
$ac_ext
19112 cat >>conftest.
$ac_ext <<_ACEOF
19113 /* end confdefs.h. */
19114 $ac_includes_default
19118 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19125 rm -f conftest.
$ac_objext
19126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19127 (eval $ac_compile) 2>conftest.er1
19129 grep -v '^ *+' conftest.er1
>conftest.err
19131 cat conftest.err
>&5
19132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19133 (exit $ac_status); } &&
19134 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19136 (eval $ac_try) 2>&5
19138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19139 (exit $ac_status); }; } &&
19140 { ac_try
='test -s conftest.$ac_objext'
19141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19142 (eval $ac_try) 2>&5
19144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19145 (exit $ac_status); }; }; then
19146 ac_lo
=$ac_mid; break
19148 echo "$as_me: failed program was:" >&5
19149 sed 's/^/| /' conftest.
$ac_ext >&5
19151 ac_hi
=`expr '(' $ac_mid ')' - 1`
19152 if test $ac_mid -le $ac_hi; then
19156 ac_mid
=`expr 2 '*' $ac_mid`
19158 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19161 echo "$as_me: failed program was:" >&5
19162 sed 's/^/| /' conftest.
$ac_ext >&5
19166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19168 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19169 # Binary search between lo and hi bounds.
19170 while test "x$ac_lo" != "x$ac_hi"; do
19171 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19172 cat >conftest.
$ac_ext <<_ACEOF
19175 cat confdefs.h
>>conftest.
$ac_ext
19176 cat >>conftest.
$ac_ext <<_ACEOF
19177 /* end confdefs.h. */
19178 $ac_includes_default
19182 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19189 rm -f conftest.
$ac_objext
19190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19191 (eval $ac_compile) 2>conftest.er1
19193 grep -v '^ *+' conftest.er1
>conftest.err
19195 cat conftest.err
>&5
19196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19197 (exit $ac_status); } &&
19198 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19200 (eval $ac_try) 2>&5
19202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19203 (exit $ac_status); }; } &&
19204 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
19212 echo "$as_me: failed program was:" >&5
19213 sed 's/^/| /' conftest.
$ac_ext >&5
19215 ac_lo
=`expr '(' $ac_mid ')' + 1`
19217 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19220 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19221 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19222 See \`config.log' for more details." >&5
19223 echo "$as_me: error: cannot compute sizeof (long long), 77
19224 See \`config.log' for more details." >&2;}
19225 { (exit 1); exit 1; }; } ;;
19228 if test "$cross_compiling" = yes; then
19229 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19230 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19231 { (exit 1); exit 1; }; }
19233 cat >conftest.
$ac_ext <<_ACEOF
19236 cat confdefs.h
>>conftest.
$ac_ext
19237 cat >>conftest.
$ac_ext <<_ACEOF
19238 /* end confdefs.h. */
19239 $ac_includes_default
19240 long longval () { return (long) (sizeof (long long)); }
19241 unsigned long ulongval () { return (long) (sizeof (long long)); }
19243 #include <stdlib.h>
19248 FILE *f = fopen ("conftest.val", "w");
19251 if (((long) (sizeof (long long))) < 0)
19253 long i = longval ();
19254 if (i != ((long) (sizeof (long long))))
19256 fprintf (f, "%ld\n", i);
19260 unsigned long i = ulongval ();
19261 if (i != ((long) (sizeof (long long))))
19263 fprintf (f, "%lu\n", i);
19265 exit (ferror (f) || fclose (f) != 0);
19271 rm -f conftest
$ac_exeext
19272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19273 (eval $ac_link) 2>&5
19275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19276 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19278 (eval $ac_try) 2>&5
19280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19281 (exit $ac_status); }; }; then
19282 ac_cv_sizeof_long_long
=`cat conftest.val`
19284 echo "$as_me: program exited with status $ac_status" >&5
19285 echo "$as_me: failed program was:" >&5
19286 sed 's/^/| /' conftest.
$ac_ext >&5
19288 ( exit $ac_status )
19289 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19290 See \`config.log' for more details." >&5
19291 echo "$as_me: error: cannot compute sizeof (long long), 77
19292 See \`config.log' for more details." >&2;}
19293 { (exit 1); exit 1; }; }
19295 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19300 ac_cv_sizeof_long_long
=0
19303 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19304 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19305 cat >>confdefs.h
<<_ACEOF
19306 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19312 echo "$as_me:$LINENO: checking for wchar_t" >&5
19313 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
19314 if test "${ac_cv_type_wchar_t+set}" = set; then
19315 echo $ECHO_N "(cached) $ECHO_C" >&6
19317 cat >conftest.
$ac_ext <<_ACEOF
19320 cat confdefs.h
>>conftest.
$ac_ext
19321 cat >>conftest.
$ac_ext <<_ACEOF
19322 /* end confdefs.h. */
19324 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19325 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19326 # error "fake wchar_t"
19328 #ifdef HAVE_WCHAR_H
19330 # include <stddef.h>
19332 # include <wchar.h>
19334 #ifdef HAVE_STDLIB_H
19335 # include <stdlib.h>
19346 if (sizeof (wchar_t))
19352 rm -f conftest.
$ac_objext
19353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19354 (eval $ac_compile) 2>conftest.er1
19356 grep -v '^ *+' conftest.er1
>conftest.err
19358 cat conftest.err
>&5
19359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19360 (exit $ac_status); } &&
19361 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19363 (eval $ac_try) 2>&5
19365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19366 (exit $ac_status); }; } &&
19367 { ac_try
='test -s conftest.$ac_objext'
19368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19369 (eval $ac_try) 2>&5
19371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19372 (exit $ac_status); }; }; then
19373 ac_cv_type_wchar_t
=yes
19375 echo "$as_me: failed program was:" >&5
19376 sed 's/^/| /' conftest.
$ac_ext >&5
19378 ac_cv_type_wchar_t
=no
19380 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19382 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
19383 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
19385 echo "$as_me:$LINENO: checking size of wchar_t" >&5
19386 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
19387 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
19388 echo $ECHO_N "(cached) $ECHO_C" >&6
19390 if test "$ac_cv_type_wchar_t" = yes; then
19391 # The cast to unsigned long works around a bug in the HP C Compiler
19392 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19393 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19394 # This bug is HP SR number 8606223364.
19395 if test "$cross_compiling" = yes; then
19396 # Depending upon the size, compute the lo and hi bounds.
19397 cat >conftest.
$ac_ext <<_ACEOF
19400 cat confdefs.h
>>conftest.
$ac_ext
19401 cat >>conftest.
$ac_ext <<_ACEOF
19402 /* end confdefs.h. */
19404 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19405 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19406 # error "fake wchar_t"
19408 #ifdef HAVE_WCHAR_H
19410 # include <stddef.h>
19412 # include <wchar.h>
19414 #ifdef HAVE_STDLIB_H
19415 # include <stdlib.h>
19424 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
19431 rm -f conftest.
$ac_objext
19432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19433 (eval $ac_compile) 2>conftest.er1
19435 grep -v '^ *+' conftest.er1
>conftest.err
19437 cat conftest.err
>&5
19438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19439 (exit $ac_status); } &&
19440 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19442 (eval $ac_try) 2>&5
19444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19445 (exit $ac_status); }; } &&
19446 { ac_try
='test -s conftest.$ac_objext'
19447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19448 (eval $ac_try) 2>&5
19450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19451 (exit $ac_status); }; }; then
19454 cat >conftest.
$ac_ext <<_ACEOF
19457 cat confdefs.h
>>conftest.
$ac_ext
19458 cat >>conftest.
$ac_ext <<_ACEOF
19459 /* end confdefs.h. */
19461 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19462 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19463 # error "fake wchar_t"
19465 #ifdef HAVE_WCHAR_H
19467 # include <stddef.h>
19469 # include <wchar.h>
19471 #ifdef HAVE_STDLIB_H
19472 # include <stdlib.h>
19481 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19488 rm -f conftest.
$ac_objext
19489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19490 (eval $ac_compile) 2>conftest.er1
19492 grep -v '^ *+' conftest.er1
>conftest.err
19494 cat conftest.err
>&5
19495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19496 (exit $ac_status); } &&
19497 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19499 (eval $ac_try) 2>&5
19501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19502 (exit $ac_status); }; } &&
19503 { ac_try
='test -s conftest.$ac_objext'
19504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19505 (eval $ac_try) 2>&5
19507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508 (exit $ac_status); }; }; then
19509 ac_hi
=$ac_mid; break
19511 echo "$as_me: failed program was:" >&5
19512 sed 's/^/| /' conftest.
$ac_ext >&5
19514 ac_lo
=`expr $ac_mid + 1`
19515 if test $ac_lo -le $ac_mid; then
19519 ac_mid
=`expr 2 '*' $ac_mid + 1`
19521 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19524 echo "$as_me: failed program was:" >&5
19525 sed 's/^/| /' conftest.
$ac_ext >&5
19527 cat >conftest.
$ac_ext <<_ACEOF
19530 cat confdefs.h
>>conftest.
$ac_ext
19531 cat >>conftest.
$ac_ext <<_ACEOF
19532 /* end confdefs.h. */
19534 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19535 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19536 # error "fake wchar_t"
19538 #ifdef HAVE_WCHAR_H
19540 # include <stddef.h>
19542 # include <wchar.h>
19544 #ifdef HAVE_STDLIB_H
19545 # include <stdlib.h>
19554 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
19561 rm -f conftest.
$ac_objext
19562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19563 (eval $ac_compile) 2>conftest.er1
19565 grep -v '^ *+' conftest.er1
>conftest.err
19567 cat conftest.err
>&5
19568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19569 (exit $ac_status); } &&
19570 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19572 (eval $ac_try) 2>&5
19574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19575 (exit $ac_status); }; } &&
19576 { ac_try
='test -s conftest.$ac_objext'
19577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19578 (eval $ac_try) 2>&5
19580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19581 (exit $ac_status); }; }; then
19584 cat >conftest.
$ac_ext <<_ACEOF
19587 cat confdefs.h
>>conftest.
$ac_ext
19588 cat >>conftest.
$ac_ext <<_ACEOF
19589 /* end confdefs.h. */
19591 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19592 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19593 # error "fake wchar_t"
19595 #ifdef HAVE_WCHAR_H
19597 # include <stddef.h>
19599 # include <wchar.h>
19601 #ifdef HAVE_STDLIB_H
19602 # include <stdlib.h>
19611 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
19618 rm -f conftest.
$ac_objext
19619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19620 (eval $ac_compile) 2>conftest.er1
19622 grep -v '^ *+' conftest.er1
>conftest.err
19624 cat conftest.err
>&5
19625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19626 (exit $ac_status); } &&
19627 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19629 (eval $ac_try) 2>&5
19631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19632 (exit $ac_status); }; } &&
19633 { ac_try
='test -s conftest.$ac_objext'
19634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19635 (eval $ac_try) 2>&5
19637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19638 (exit $ac_status); }; }; then
19639 ac_lo
=$ac_mid; break
19641 echo "$as_me: failed program was:" >&5
19642 sed 's/^/| /' conftest.
$ac_ext >&5
19644 ac_hi
=`expr '(' $ac_mid ')' - 1`
19645 if test $ac_mid -le $ac_hi; then
19649 ac_mid
=`expr 2 '*' $ac_mid`
19651 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19654 echo "$as_me: failed program was:" >&5
19655 sed 's/^/| /' conftest.
$ac_ext >&5
19659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19661 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19662 # Binary search between lo and hi bounds.
19663 while test "x$ac_lo" != "x$ac_hi"; do
19664 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19665 cat >conftest.
$ac_ext <<_ACEOF
19668 cat confdefs.h
>>conftest.
$ac_ext
19669 cat >>conftest.
$ac_ext <<_ACEOF
19670 /* end confdefs.h. */
19672 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19673 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19674 # error "fake wchar_t"
19676 #ifdef HAVE_WCHAR_H
19678 # include <stddef.h>
19680 # include <wchar.h>
19682 #ifdef HAVE_STDLIB_H
19683 # include <stdlib.h>
19692 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19699 rm -f conftest.
$ac_objext
19700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19701 (eval $ac_compile) 2>conftest.er1
19703 grep -v '^ *+' conftest.er1
>conftest.err
19705 cat conftest.err
>&5
19706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19707 (exit $ac_status); } &&
19708 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19710 (eval $ac_try) 2>&5
19712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19713 (exit $ac_status); }; } &&
19714 { ac_try
='test -s conftest.$ac_objext'
19715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19716 (eval $ac_try) 2>&5
19718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19719 (exit $ac_status); }; }; then
19722 echo "$as_me: failed program was:" >&5
19723 sed 's/^/| /' conftest.
$ac_ext >&5
19725 ac_lo
=`expr '(' $ac_mid ')' + 1`
19727 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19730 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
19731 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19732 See \`config.log' for more details." >&5
19733 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19734 See \`config.log' for more details." >&2;}
19735 { (exit 1); exit 1; }; } ;;
19738 if test "$cross_compiling" = yes; then
19739 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19740 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19741 { (exit 1); exit 1; }; }
19743 cat >conftest.
$ac_ext <<_ACEOF
19746 cat confdefs.h
>>conftest.
$ac_ext
19747 cat >>conftest.
$ac_ext <<_ACEOF
19748 /* end confdefs.h. */
19750 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19751 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19752 # error "fake wchar_t"
19754 #ifdef HAVE_WCHAR_H
19756 # include <stddef.h>
19758 # include <wchar.h>
19760 #ifdef HAVE_STDLIB_H
19761 # include <stdlib.h>
19767 long longval () { return (long) (sizeof (wchar_t)); }
19768 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
19770 #include <stdlib.h>
19775 FILE *f = fopen ("conftest.val", "w");
19778 if (((long) (sizeof (wchar_t))) < 0)
19780 long i = longval ();
19781 if (i != ((long) (sizeof (wchar_t))))
19783 fprintf (f, "%ld\n", i);
19787 unsigned long i = ulongval ();
19788 if (i != ((long) (sizeof (wchar_t))))
19790 fprintf (f, "%lu\n", i);
19792 exit (ferror (f) || fclose (f) != 0);
19798 rm -f conftest
$ac_exeext
19799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19800 (eval $ac_link) 2>&5
19802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19803 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19805 (eval $ac_try) 2>&5
19807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808 (exit $ac_status); }; }; then
19809 ac_cv_sizeof_wchar_t
=`cat conftest.val`
19811 echo "$as_me: program exited with status $ac_status" >&5
19812 echo "$as_me: failed program was:" >&5
19813 sed 's/^/| /' conftest.
$ac_ext >&5
19815 ( exit $ac_status )
19816 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19817 See \`config.log' for more details." >&5
19818 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19819 See \`config.log' for more details." >&2;}
19820 { (exit 1); exit 1; }; }
19822 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19827 ac_cv_sizeof_wchar_t
=0
19830 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
19831 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
19832 cat >>confdefs.h
<<_ACEOF
19833 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
19837 if test "$ac_cv_sizeof_wchar_t" != "0"; then
19843 echo "$as_me:$LINENO: checking for va_copy" >&5
19844 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
19845 if test "${wx_cv_func_va_copy+set}" = set; then
19846 echo $ECHO_N "(cached) $ECHO_C" >&6
19849 cat >conftest.
$ac_ext <<_ACEOF
19851 #include <stdarg.h>
19852 void foo(char *f, ...)
19866 rm -f conftest.
$ac_objext conftest
$ac_exeext
19867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19868 (eval $ac_link) 2>conftest.er1
19870 grep -v '^ *+' conftest.er1
>conftest.err
19872 cat conftest.err
>&5
19873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19874 (exit $ac_status); } &&
19875 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19877 (eval $ac_try) 2>&5
19879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19880 (exit $ac_status); }; } &&
19881 { ac_try
='test -s conftest$ac_exeext'
19882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19883 (eval $ac_try) 2>&5
19885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19886 (exit $ac_status); }; }; then
19887 wx_cv_func_va_copy
=yes
19889 echo "$as_me: failed program was:" >&5
19890 sed 's/^/| /' conftest.
$ac_ext >&5
19892 wx_cv_func_va_copy
=no
19895 rm -f conftest.err conftest.
$ac_objext \
19896 conftest
$ac_exeext conftest.
$ac_ext
19900 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
19901 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
19903 if test $wx_cv_func_va_copy = "yes"; then
19904 cat >>confdefs.h
<<\_ACEOF
19905 #define HAVE_VA_COPY 1
19909 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
19910 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
19911 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
19912 echo $ECHO_N "(cached) $ECHO_C" >&6
19915 if test "$cross_compiling" = yes; then
19916 wx_cv_type_va_list_lvalue
=yes
19919 cat >conftest.
$ac_ext <<_ACEOF
19921 #include <stdarg.h>
19922 int foo(char *f, ...)
19927 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
19935 return foo("hi", 17);
19938 rm -f conftest
$ac_exeext
19939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19940 (eval $ac_link) 2>&5
19942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19943 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19945 (eval $ac_try) 2>&5
19947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19948 (exit $ac_status); }; }; then
19949 wx_cv_type_va_list_lvalue
=yes
19951 echo "$as_me: program exited with status $ac_status" >&5
19952 echo "$as_me: failed program was:" >&5
19953 sed 's/^/| /' conftest.
$ac_ext >&5
19955 ( exit $ac_status )
19956 wx_cv_type_va_list_lvalue
=no
19958 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19963 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
19964 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
19966 if test $wx_cv_type_va_list_lvalue != "yes"; then
19967 cat >>confdefs.h
<<\_ACEOF
19968 #define VA_LIST_IS_ARRAY 1
19974 # Check whether --enable-largefile or --disable-largefile was given.
19975 if test "${enable_largefile+set}" = set; then
19976 enableval
="$enable_largefile"
19979 if test "$enable_largefile" != no
; then
19982 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
19983 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
19984 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
19985 echo $ECHO_N "(cached) $ECHO_C" >&6
19988 cat >conftest.
$ac_ext <<_ACEOF
19991 cat confdefs.h
>>conftest.
$ac_ext
19992 cat >>conftest.
$ac_ext <<_ACEOF
19993 /* end confdefs.h. */
19994 #define _FILE_OFFSET_BITS 64
19995 #include <sys/types.h>
20000 unsigned int field: sizeof(off_t) == 8;
20007 rm -f conftest.
$ac_objext
20008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20009 (eval $ac_compile) 2>conftest.er1
20011 grep -v '^ *+' conftest.er1
>conftest.err
20013 cat conftest.err
>&5
20014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20015 (exit $ac_status); } &&
20016 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20018 (eval $ac_try) 2>&5
20020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20021 (exit $ac_status); }; } &&
20022 { ac_try
='test -s conftest.$ac_objext'
20023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20024 (eval $ac_try) 2>&5
20026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20027 (exit $ac_status); }; }; then
20028 ac_cv_sys_file_offset_bits
=64
20030 echo "$as_me: failed program was:" >&5
20031 sed 's/^/| /' conftest.
$ac_ext >&5
20033 ac_cv_sys_file_offset_bits
=no
20035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20039 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
20040 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
20042 if test "$ac_cv_sys_file_offset_bits" != no
; then
20044 cat >>confdefs.h
<<_ACEOF
20045 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20050 if test "x$wx_largefile" != "xyes"; then
20052 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
20053 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
20054 if test "${ac_cv_sys_large_files+set}" = set; then
20055 echo $ECHO_N "(cached) $ECHO_C" >&6
20058 cat >conftest.
$ac_ext <<_ACEOF
20061 cat confdefs.h
>>conftest.
$ac_ext
20062 cat >>conftest.
$ac_ext <<_ACEOF
20063 /* end confdefs.h. */
20064 #define _LARGE_FILES 1
20065 #include <sys/types.h>
20070 unsigned int field: sizeof(off_t) == 8;
20077 rm -f conftest.
$ac_objext
20078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20079 (eval $ac_compile) 2>conftest.er1
20081 grep -v '^ *+' conftest.er1
>conftest.err
20083 cat conftest.err
>&5
20084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20085 (exit $ac_status); } &&
20086 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20088 (eval $ac_try) 2>&5
20090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20091 (exit $ac_status); }; } &&
20092 { ac_try
='test -s conftest.$ac_objext'
20093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20094 (eval $ac_try) 2>&5
20096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20097 (exit $ac_status); }; }; then
20098 ac_cv_sys_large_files
=1
20100 echo "$as_me: failed program was:" >&5
20101 sed 's/^/| /' conftest.
$ac_ext >&5
20103 ac_cv_sys_large_files
=no
20105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20109 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
20110 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
20112 if test "$ac_cv_sys_large_files" != no
; then
20114 cat >>confdefs.h
<<_ACEOF
20115 #define _LARGE_FILES $ac_cv_sys_large_files
20122 echo "$as_me:$LINENO: checking if large file support is available" >&5
20123 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
20124 if test "x$wx_largefile" = "xyes"; then
20125 cat >>confdefs.h
<<\_ACEOF
20126 #define HAVE_LARGEFILE_SUPPORT 1
20130 echo "$as_me:$LINENO: result: $wx_largefile" >&5
20131 echo "${ECHO_T}$wx_largefile" >&6
20135 if test "x$wx_largefile" = "xyes"; then
20136 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
20137 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
20139 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
20141 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20142 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
20143 if test "${ac_cv_sys_largefile_source+set}" = set; then
20144 echo $ECHO_N "(cached) $ECHO_C" >&6
20147 ac_cv_sys_largefile_source
=no
20148 cat >conftest.
$ac_ext <<_ACEOF
20151 cat confdefs.h
>>conftest.
$ac_ext
20152 cat >>conftest.
$ac_ext <<_ACEOF
20153 /* end confdefs.h. */
20163 rm -f conftest.
$ac_objext
20164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20165 (eval $ac_compile) 2>conftest.er1
20167 grep -v '^ *+' conftest.er1
>conftest.err
20169 cat conftest.err
>&5
20170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20171 (exit $ac_status); } &&
20172 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20174 (eval $ac_try) 2>&5
20176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20177 (exit $ac_status); }; } &&
20178 { ac_try
='test -s conftest.$ac_objext'
20179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20180 (eval $ac_try) 2>&5
20182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20183 (exit $ac_status); }; }; then
20186 echo "$as_me: failed program was:" >&5
20187 sed 's/^/| /' conftest.
$ac_ext >&5
20190 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20191 cat >conftest.
$ac_ext <<_ACEOF
20194 cat confdefs.h
>>conftest.
$ac_ext
20195 cat >>conftest.
$ac_ext <<_ACEOF
20196 /* end confdefs.h. */
20197 #define _LARGEFILE_SOURCE 1
20207 rm -f conftest.
$ac_objext
20208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20209 (eval $ac_compile) 2>conftest.er1
20211 grep -v '^ *+' conftest.er1
>conftest.err
20213 cat conftest.err
>&5
20214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20215 (exit $ac_status); } &&
20216 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20218 (eval $ac_try) 2>&5
20220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20221 (exit $ac_status); }; } &&
20222 { ac_try
='test -s conftest.$ac_objext'
20223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20224 (eval $ac_try) 2>&5
20226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20227 (exit $ac_status); }; }; then
20228 ac_cv_sys_largefile_source
=1; break
20230 echo "$as_me: failed program was:" >&5
20231 sed 's/^/| /' conftest.
$ac_ext >&5
20234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20238 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
20239 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
20240 if test "$ac_cv_sys_largefile_source" != no
; then
20242 cat >>confdefs.h
<<_ACEOF
20243 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20249 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20250 # in glibc 2.1.3, but that breaks too many other things.
20251 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20252 echo "$as_me:$LINENO: checking for fseeko" >&5
20253 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
20254 if test "${ac_cv_func_fseeko+set}" = set; then
20255 echo $ECHO_N "(cached) $ECHO_C" >&6
20257 cat >conftest.
$ac_ext <<_ACEOF
20260 cat confdefs.h
>>conftest.
$ac_ext
20261 cat >>conftest.
$ac_ext <<_ACEOF
20262 /* end confdefs.h. */
20267 return fseeko && fseeko (stdin, 0, 0);
20272 rm -f conftest.
$ac_objext conftest
$ac_exeext
20273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20274 (eval $ac_link) 2>conftest.er1
20276 grep -v '^ *+' conftest.er1
>conftest.err
20278 cat conftest.err
>&5
20279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20280 (exit $ac_status); } &&
20281 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20283 (eval $ac_try) 2>&5
20285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20286 (exit $ac_status); }; } &&
20287 { ac_try
='test -s conftest$ac_exeext'
20288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20289 (eval $ac_try) 2>&5
20291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20292 (exit $ac_status); }; }; then
20293 ac_cv_func_fseeko
=yes
20295 echo "$as_me: failed program was:" >&5
20296 sed 's/^/| /' conftest.
$ac_ext >&5
20298 ac_cv_func_fseeko
=no
20300 rm -f conftest.err conftest.
$ac_objext \
20301 conftest
$ac_exeext conftest.
$ac_ext
20303 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
20304 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
20305 if test $ac_cv_func_fseeko = yes; then
20307 cat >>confdefs.h
<<\_ACEOF
20308 #define HAVE_FSEEKO 1
20313 if test "$ac_cv_sys_largefile_source" != no
; then
20314 WX_LARGEFILE_FLAGS
="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20316 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
20319 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20320 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20321 if test "${ac_cv_c_bigendian+set}" = set; then
20322 echo $ECHO_N "(cached) $ECHO_C" >&6
20324 ac_cv_c_bigendian
=unknown
20325 # See if sys/param.h defines the BYTE_ORDER macro.
20326 cat >conftest.
$ac_ext <<_ACEOF
20329 cat confdefs.h
>>conftest.
$ac_ext
20330 cat >>conftest.
$ac_ext <<_ACEOF
20331 /* end confdefs.h. */
20332 #include <sys/types.h>
20333 #include <sys/param.h>
20338 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20339 bogus endian macros
20345 rm -f conftest.
$ac_objext
20346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20347 (eval $ac_compile) 2>conftest.er1
20349 grep -v '^ *+' conftest.er1
>conftest.err
20351 cat conftest.err
>&5
20352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20353 (exit $ac_status); } &&
20354 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20356 (eval $ac_try) 2>&5
20358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20359 (exit $ac_status); }; } &&
20360 { ac_try
='test -s conftest.$ac_objext'
20361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20362 (eval $ac_try) 2>&5
20364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20365 (exit $ac_status); }; }; then
20366 # It does; now see whether it defined to BIG_ENDIAN or not.
20367 cat >conftest.
$ac_ext <<_ACEOF
20370 cat confdefs.h
>>conftest.
$ac_ext
20371 cat >>conftest.
$ac_ext <<_ACEOF
20372 /* end confdefs.h. */
20373 #include <sys/types.h>
20374 #include <sys/param.h>
20379 #if BYTE_ORDER != BIG_ENDIAN
20386 rm -f conftest.
$ac_objext
20387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20388 (eval $ac_compile) 2>conftest.er1
20390 grep -v '^ *+' conftest.er1
>conftest.err
20392 cat conftest.err
>&5
20393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20394 (exit $ac_status); } &&
20395 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20397 (eval $ac_try) 2>&5
20399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20400 (exit $ac_status); }; } &&
20401 { ac_try
='test -s conftest.$ac_objext'
20402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20403 (eval $ac_try) 2>&5
20405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20406 (exit $ac_status); }; }; then
20407 ac_cv_c_bigendian
=yes
20409 echo "$as_me: failed program was:" >&5
20410 sed 's/^/| /' conftest.
$ac_ext >&5
20412 ac_cv_c_bigendian
=no
20414 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20416 echo "$as_me: failed program was:" >&5
20417 sed 's/^/| /' conftest.
$ac_ext >&5
20420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20421 if test $ac_cv_c_bigendian = unknown
; then
20422 if test "$cross_compiling" = yes; then
20423 ac_cv_c_bigendian
=unknown
20425 cat >conftest.
$ac_ext <<_ACEOF
20428 cat confdefs.h
>>conftest.
$ac_ext
20429 cat >>conftest.
$ac_ext <<_ACEOF
20430 /* end confdefs.h. */
20432 /* Are we little or big endian? From Harbison&Steele. */
20436 char c[sizeof (long)];
20439 exit (u.c[sizeof (long) - 1] == 1);
20442 rm -f conftest
$ac_exeext
20443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20444 (eval $ac_link) 2>&5
20446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20447 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20449 (eval $ac_try) 2>&5
20451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20452 (exit $ac_status); }; }; then
20453 ac_cv_c_bigendian
=no
20455 echo "$as_me: program exited with status $ac_status" >&5
20456 echo "$as_me: failed program was:" >&5
20457 sed 's/^/| /' conftest.
$ac_ext >&5
20459 ( exit $ac_status )
20460 ac_cv_c_bigendian
=yes
20462 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20466 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20467 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20468 if test $ac_cv_c_bigendian = unknown
; then
20469 { 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
20470 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;}
20472 if test $ac_cv_c_bigendian = yes; then
20473 cat >>confdefs.h
<<\_ACEOF
20474 #define WORDS_BIGENDIAN 1
20481 ac_cpp
='$CXXCPP $CPPFLAGS'
20482 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20483 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20484 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20485 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
20486 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
20487 if test -z "$CXXCPP"; then
20488 if test "${ac_cv_prog_CXXCPP+set}" = set; then
20489 echo $ECHO_N "(cached) $ECHO_C" >&6
20491 # Double quotes because CXXCPP needs to be expanded
20492 for CXXCPP
in "$CXX -E" "/lib/cpp"
20494 ac_preproc_ok
=false
20495 for ac_cxx_preproc_warn_flag
in '' yes
20497 # Use a header file that comes with gcc, so configuring glibc
20498 # with a fresh cross-compiler works.
20499 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20500 # <limits.h> exists even on freestanding compilers.
20501 # On the NeXT, cc -E runs the code through the compiler's parser,
20502 # not just through cpp. "Syntax error" is here to catch this case.
20503 cat >conftest.
$ac_ext <<_ACEOF
20506 cat confdefs.h
>>conftest.
$ac_ext
20507 cat >>conftest.
$ac_ext <<_ACEOF
20508 /* end confdefs.h. */
20510 # include <limits.h>
20512 # include <assert.h>
20516 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20517 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20519 grep -v '^ *+' conftest.er1
>conftest.err
20521 cat conftest.err
>&5
20522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20523 (exit $ac_status); } >/dev
/null
; then
20524 if test -s conftest.err
; then
20525 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20526 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20533 if test -z "$ac_cpp_err"; then
20536 echo "$as_me: failed program was:" >&5
20537 sed 's/^/| /' conftest.
$ac_ext >&5
20539 # Broken: fails on valid input.
20542 rm -f conftest.err conftest.
$ac_ext
20544 # OK, works on sane cases. Now check whether non-existent headers
20545 # can be detected and how.
20546 cat >conftest.
$ac_ext <<_ACEOF
20549 cat confdefs.h
>>conftest.
$ac_ext
20550 cat >>conftest.
$ac_ext <<_ACEOF
20551 /* end confdefs.h. */
20552 #include <ac_nonexistent.h>
20554 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20555 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20557 grep -v '^ *+' conftest.er1
>conftest.err
20559 cat conftest.err
>&5
20560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20561 (exit $ac_status); } >/dev
/null
; then
20562 if test -s conftest.err
; then
20563 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20564 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20571 if test -z "$ac_cpp_err"; then
20572 # Broken: success on invalid input.
20575 echo "$as_me: failed program was:" >&5
20576 sed 's/^/| /' conftest.
$ac_ext >&5
20578 # Passes both tests.
20582 rm -f conftest.err conftest.
$ac_ext
20585 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20586 rm -f conftest.err conftest.
$ac_ext
20587 if $ac_preproc_ok; then
20592 ac_cv_prog_CXXCPP
=$CXXCPP
20595 CXXCPP
=$ac_cv_prog_CXXCPP
20597 ac_cv_prog_CXXCPP
=$CXXCPP
20599 echo "$as_me:$LINENO: result: $CXXCPP" >&5
20600 echo "${ECHO_T}$CXXCPP" >&6
20601 ac_preproc_ok
=false
20602 for ac_cxx_preproc_warn_flag
in '' yes
20604 # Use a header file that comes with gcc, so configuring glibc
20605 # with a fresh cross-compiler works.
20606 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20607 # <limits.h> exists even on freestanding compilers.
20608 # On the NeXT, cc -E runs the code through the compiler's parser,
20609 # not just through cpp. "Syntax error" is here to catch this case.
20610 cat >conftest.
$ac_ext <<_ACEOF
20613 cat confdefs.h
>>conftest.
$ac_ext
20614 cat >>conftest.
$ac_ext <<_ACEOF
20615 /* end confdefs.h. */
20617 # include <limits.h>
20619 # include <assert.h>
20623 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20624 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20626 grep -v '^ *+' conftest.er1
>conftest.err
20628 cat conftest.err
>&5
20629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20630 (exit $ac_status); } >/dev
/null
; then
20631 if test -s conftest.err
; then
20632 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20633 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20640 if test -z "$ac_cpp_err"; then
20643 echo "$as_me: failed program was:" >&5
20644 sed 's/^/| /' conftest.
$ac_ext >&5
20646 # Broken: fails on valid input.
20649 rm -f conftest.err conftest.
$ac_ext
20651 # OK, works on sane cases. Now check whether non-existent headers
20652 # can be detected and how.
20653 cat >conftest.
$ac_ext <<_ACEOF
20656 cat confdefs.h
>>conftest.
$ac_ext
20657 cat >>conftest.
$ac_ext <<_ACEOF
20658 /* end confdefs.h. */
20659 #include <ac_nonexistent.h>
20661 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20662 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20664 grep -v '^ *+' conftest.er1
>conftest.err
20666 cat conftest.err
>&5
20667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20668 (exit $ac_status); } >/dev
/null
; then
20669 if test -s conftest.err
; then
20670 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20671 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20678 if test -z "$ac_cpp_err"; then
20679 # Broken: success on invalid input.
20682 echo "$as_me: failed program was:" >&5
20683 sed 's/^/| /' conftest.
$ac_ext >&5
20685 # Passes both tests.
20689 rm -f conftest.err conftest.
$ac_ext
20692 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20693 rm -f conftest.err conftest.
$ac_ext
20694 if $ac_preproc_ok; then
20697 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20698 See \`config.log' for more details." >&5
20699 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20700 See \`config.log' for more details." >&2;}
20701 { (exit 1); exit 1; }; }
20705 ac_cpp
='$CXXCPP $CPPFLAGS'
20706 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20707 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20708 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20715 ac_cpp
='$CXXCPP $CPPFLAGS'
20716 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20717 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20718 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20722 for ac_header
in iostream
20724 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20725 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20726 echo "$as_me:$LINENO: checking for $ac_header" >&5
20727 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20728 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20729 echo $ECHO_N "(cached) $ECHO_C" >&6
20731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20732 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20734 # Is the header compilable?
20735 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20736 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20737 cat >conftest.
$ac_ext <<_ACEOF
20740 cat confdefs.h
>>conftest.
$ac_ext
20741 cat >>conftest.
$ac_ext <<_ACEOF
20742 /* end confdefs.h. */
20743 $ac_includes_default
20744 #include <$ac_header>
20746 rm -f conftest.
$ac_objext
20747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20748 (eval $ac_compile) 2>conftest.er1
20750 grep -v '^ *+' conftest.er1
>conftest.err
20752 cat conftest.err
>&5
20753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20754 (exit $ac_status); } &&
20755 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20757 (eval $ac_try) 2>&5
20759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20760 (exit $ac_status); }; } &&
20761 { ac_try
='test -s conftest.$ac_objext'
20762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20763 (eval $ac_try) 2>&5
20765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20766 (exit $ac_status); }; }; then
20767 ac_header_compiler
=yes
20769 echo "$as_me: failed program was:" >&5
20770 sed 's/^/| /' conftest.
$ac_ext >&5
20772 ac_header_compiler
=no
20774 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20775 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20776 echo "${ECHO_T}$ac_header_compiler" >&6
20778 # Is the header present?
20779 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20780 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20781 cat >conftest.
$ac_ext <<_ACEOF
20784 cat confdefs.h
>>conftest.
$ac_ext
20785 cat >>conftest.
$ac_ext <<_ACEOF
20786 /* end confdefs.h. */
20787 #include <$ac_header>
20789 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20790 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20792 grep -v '^ *+' conftest.er1
>conftest.err
20794 cat conftest.err
>&5
20795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20796 (exit $ac_status); } >/dev
/null
; then
20797 if test -s conftest.err
; then
20798 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20799 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20806 if test -z "$ac_cpp_err"; then
20807 ac_header_preproc
=yes
20809 echo "$as_me: failed program was:" >&5
20810 sed 's/^/| /' conftest.
$ac_ext >&5
20812 ac_header_preproc
=no
20814 rm -f conftest.err conftest.
$ac_ext
20815 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20816 echo "${ECHO_T}$ac_header_preproc" >&6
20818 # So? What about this header?
20819 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20821 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20822 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20823 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20824 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20825 ac_header_preproc
=yes
20828 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20829 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20830 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20831 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20832 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20833 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20834 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20835 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20836 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20837 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20838 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20839 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20842 ## ----------------------------------------- ##
20843 ## Report this to wx-dev@lists.wxwidgets.org ##
20844 ## ----------------------------------------- ##
20847 sed "s/^/$as_me: WARNING: /" >&2
20850 echo "$as_me:$LINENO: checking for $ac_header" >&5
20851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20853 echo $ECHO_N "(cached) $ECHO_C" >&6
20855 eval "$as_ac_Header=\$ac_header_preproc"
20857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20858 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20861 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20862 cat >>confdefs.h
<<_ACEOF
20863 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20871 if test "$ac_cv_header_iostream" = "yes" ; then
20874 cat >>confdefs.h
<<\_ACEOF
20875 #define wxUSE_IOSTREAMH 1
20881 ac_cpp
='$CPP $CPPFLAGS'
20882 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20883 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20884 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20889 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
20890 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
20891 if test "${wx_cv_cpp_bool+set}" = set; then
20892 echo $ECHO_N "(cached) $ECHO_C" >&6
20898 ac_cpp
='$CXXCPP $CPPFLAGS'
20899 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20900 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20901 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20904 cat >conftest.
$ac_ext <<_ACEOF
20907 cat confdefs.h
>>conftest.
$ac_ext
20908 cat >>conftest.
$ac_ext <<_ACEOF
20909 /* end confdefs.h. */
20924 rm -f conftest.
$ac_objext
20925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20926 (eval $ac_compile) 2>conftest.er1
20928 grep -v '^ *+' conftest.er1
>conftest.err
20930 cat conftest.err
>&5
20931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20932 (exit $ac_status); } &&
20933 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20935 (eval $ac_try) 2>&5
20937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20938 (exit $ac_status); }; } &&
20939 { ac_try
='test -s conftest.$ac_objext'
20940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20941 (eval $ac_try) 2>&5
20943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20944 (exit $ac_status); }; }; then
20949 echo "$as_me: failed program was:" >&5
20950 sed 's/^/| /' conftest.
$ac_ext >&5
20957 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20960 ac_cpp
='$CPP $CPPFLAGS'
20961 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20962 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20963 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20967 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
20968 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
20970 if test "$wx_cv_cpp_bool" = "yes"; then
20971 cat >>confdefs.h
<<\_ACEOF
20972 #define HAVE_BOOL 1
20979 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
20980 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
20981 if test "${wx_cv_explicit+set}" = set; then
20982 echo $ECHO_N "(cached) $ECHO_C" >&6
20988 ac_cpp
='$CXXCPP $CPPFLAGS'
20989 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20990 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20991 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20994 cat >conftest.
$ac_ext <<_ACEOF
20997 cat confdefs.h
>>conftest.
$ac_ext
20998 cat >>conftest.
$ac_ext <<_ACEOF
20999 /* end confdefs.h. */
21001 class Foo { public: explicit Foo(int) {} };
21013 rm -f conftest.
$ac_objext
21014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21015 (eval $ac_compile) 2>conftest.er1
21017 grep -v '^ *+' conftest.er1
>conftest.err
21019 cat conftest.err
>&5
21020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21021 (exit $ac_status); } &&
21022 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21024 (eval $ac_try) 2>&5
21026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21027 (exit $ac_status); }; } &&
21028 { ac_try
='test -s conftest.$ac_objext'
21029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21030 (eval $ac_try) 2>&5
21032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21033 (exit $ac_status); }; }; then
21035 cat >conftest.
$ac_ext <<_ACEOF
21038 cat confdefs.h
>>conftest.
$ac_ext
21039 cat >>conftest.
$ac_ext <<_ACEOF
21040 /* end confdefs.h. */
21042 class Foo { public: explicit Foo(int) {} };
21043 static void TakeFoo(const Foo& foo) { }
21056 rm -f conftest.
$ac_objext
21057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21058 (eval $ac_compile) 2>conftest.er1
21060 grep -v '^ *+' conftest.er1
>conftest.err
21062 cat conftest.err
>&5
21063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21064 (exit $ac_status); } &&
21065 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21067 (eval $ac_try) 2>&5
21069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21070 (exit $ac_status); }; } &&
21071 { ac_try
='test -s conftest.$ac_objext'
21072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21073 (eval $ac_try) 2>&5
21075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21076 (exit $ac_status); }; }; then
21079 echo "$as_me: failed program was:" >&5
21080 sed 's/^/| /' conftest.
$ac_ext >&5
21085 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21088 echo "$as_me: failed program was:" >&5
21089 sed 's/^/| /' conftest.
$ac_ext >&5
21094 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21097 ac_cpp
='$CPP $CPPFLAGS'
21098 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21099 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21100 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21104 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
21105 echo "${ECHO_T}$wx_cv_explicit" >&6
21107 if test "$wx_cv_explicit" = "yes"; then
21108 cat >>confdefs.h
<<\_ACEOF
21109 #define HAVE_EXPLICIT 1
21115 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
21116 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
21117 if test "${ac_cv_cxx_const_cast+set}" = set; then
21118 echo $ECHO_N "(cached) $ECHO_C" >&6
21123 ac_cpp
='$CXXCPP $CPPFLAGS'
21124 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21125 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21126 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21128 cat >conftest.
$ac_ext <<_ACEOF
21131 cat confdefs.h
>>conftest.
$ac_ext
21132 cat >>conftest.
$ac_ext <<_ACEOF
21133 /* end confdefs.h. */
21138 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
21143 rm -f conftest.
$ac_objext
21144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21145 (eval $ac_compile) 2>conftest.er1
21147 grep -v '^ *+' conftest.er1
>conftest.err
21149 cat conftest.err
>&5
21150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21151 (exit $ac_status); } &&
21152 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21154 (eval $ac_try) 2>&5
21156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21157 (exit $ac_status); }; } &&
21158 { ac_try
='test -s conftest.$ac_objext'
21159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21160 (eval $ac_try) 2>&5
21162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21163 (exit $ac_status); }; }; then
21164 ac_cv_cxx_const_cast
=yes
21166 echo "$as_me: failed program was:" >&5
21167 sed 's/^/| /' conftest.
$ac_ext >&5
21169 ac_cv_cxx_const_cast
=no
21171 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21173 ac_cpp
='$CPP $CPPFLAGS'
21174 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21175 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21176 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21180 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
21181 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
21182 if test "$ac_cv_cxx_const_cast" = yes; then
21184 cat >>confdefs.h
<<\_ACEOF
21185 #define HAVE_CONST_CAST
21190 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
21191 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
21192 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
21193 echo $ECHO_N "(cached) $ECHO_C" >&6
21198 ac_cpp
='$CXXCPP $CPPFLAGS'
21199 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21200 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21201 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21203 cat >conftest.
$ac_ext <<_ACEOF
21206 cat confdefs.h
>>conftest.
$ac_ext
21207 cat >>conftest.
$ac_ext <<_ACEOF
21208 /* end confdefs.h. */
21209 #include <typeinfo>
21210 class Base { public : Base () {} virtual void f () = 0;};
21211 class Derived : public Base { public : Derived () {} virtual void f () {} };
21212 class Unrelated { public : Unrelated () {} };
21213 int g (Unrelated&) { return 0; }
21218 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
21223 rm -f conftest.
$ac_objext
21224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21225 (eval $ac_compile) 2>conftest.er1
21227 grep -v '^ *+' conftest.er1
>conftest.err
21229 cat conftest.err
>&5
21230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21231 (exit $ac_status); } &&
21232 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21234 (eval $ac_try) 2>&5
21236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21237 (exit $ac_status); }; } &&
21238 { ac_try
='test -s conftest.$ac_objext'
21239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21240 (eval $ac_try) 2>&5
21242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21243 (exit $ac_status); }; }; then
21244 ac_cv_cxx_reinterpret_cast
=yes
21246 echo "$as_me: failed program was:" >&5
21247 sed 's/^/| /' conftest.
$ac_ext >&5
21249 ac_cv_cxx_reinterpret_cast
=no
21251 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21253 ac_cpp
='$CPP $CPPFLAGS'
21254 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21255 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21256 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21260 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
21261 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
21262 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
21264 cat >>confdefs.h
<<\_ACEOF
21265 #define HAVE_REINTERPRET_CAST
21270 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
21271 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
21272 if test "${ac_cv_cxx_static_cast+set}" = set; then
21273 echo $ECHO_N "(cached) $ECHO_C" >&6
21278 ac_cpp
='$CXXCPP $CPPFLAGS'
21279 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21280 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21281 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21283 cat >conftest.
$ac_ext <<_ACEOF
21286 cat confdefs.h
>>conftest.
$ac_ext
21287 cat >>conftest.
$ac_ext <<_ACEOF
21288 /* end confdefs.h. */
21289 #include <typeinfo>
21290 class Base { public : Base () {} virtual void f () = 0; };
21291 class Derived : public Base { public : Derived () {} virtual void f () {} };
21292 int g (Derived&) { return 0; }
21297 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
21302 rm -f conftest.
$ac_objext
21303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21304 (eval $ac_compile) 2>conftest.er1
21306 grep -v '^ *+' conftest.er1
>conftest.err
21308 cat conftest.err
>&5
21309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21310 (exit $ac_status); } &&
21311 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21313 (eval $ac_try) 2>&5
21315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21316 (exit $ac_status); }; } &&
21317 { ac_try
='test -s conftest.$ac_objext'
21318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21319 (eval $ac_try) 2>&5
21321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21322 (exit $ac_status); }; }; then
21323 ac_cv_cxx_static_cast
=yes
21325 echo "$as_me: failed program was:" >&5
21326 sed 's/^/| /' conftest.
$ac_ext >&5
21328 ac_cv_cxx_static_cast
=no
21330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21332 ac_cpp
='$CPP $CPPFLAGS'
21333 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21334 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21335 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21339 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
21340 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
21341 if test "$ac_cv_cxx_static_cast" = yes; then
21343 cat >>confdefs.h
<<\_ACEOF
21344 #define HAVE_STATIC_CAST
21350 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21352 ac_cpp
='$CXXCPP $CPPFLAGS'
21353 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21354 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21355 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21358 if test "$wxUSE_UNICODE" = "yes"; then
21359 std_string
="std::wstring"
21360 char_type
="wchar_t"
21362 std_string
="std::string"
21366 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
21367 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
21368 cat >conftest.
$ac_ext <<_ACEOF
21371 cat confdefs.h
>>conftest.
$ac_ext
21372 cat >>conftest.
$ac_ext <<_ACEOF
21373 /* end confdefs.h. */
21383 rm -f conftest.
$ac_objext
21384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21385 (eval $ac_compile) 2>conftest.er1
21387 grep -v '^ *+' conftest.er1
>conftest.err
21389 cat conftest.err
>&5
21390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21391 (exit $ac_status); } &&
21392 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21394 (eval $ac_try) 2>&5
21396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21397 (exit $ac_status); }; } &&
21398 { ac_try
='test -s conftest.$ac_objext'
21399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21400 (eval $ac_try) 2>&5
21402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21403 (exit $ac_status); }; }; then
21404 echo "$as_me:$LINENO: result: yes" >&5
21405 echo "${ECHO_T}yes" >&6
21406 cat >>confdefs.h
<<\_ACEOF
21407 #define HAVE_STD_WSTRING 1
21411 echo "$as_me: failed program was:" >&5
21412 sed 's/^/| /' conftest.
$ac_ext >&5
21414 echo "$as_me:$LINENO: result: no" >&5
21415 echo "${ECHO_T}no" >&6
21416 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
21417 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
21418 cat >conftest.
$ac_ext <<_ACEOF
21421 cat confdefs.h
>>conftest.
$ac_ext
21422 cat >>conftest.
$ac_ext <<_ACEOF
21423 /* end confdefs.h. */
21425 #ifdef HAVE_WCHAR_H
21427 # include <stddef.h>
21429 # include <wchar.h>
21431 #ifdef HAVE_STDLIB_H
21432 # include <stdlib.h>
21440 std::basic_string<$char_type> foo;
21441 const $char_type* dummy = foo.c_str();
21446 rm -f conftest.
$ac_objext
21447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21448 (eval $ac_compile) 2>conftest.er1
21450 grep -v '^ *+' conftest.er1
>conftest.err
21452 cat conftest.err
>&5
21453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21454 (exit $ac_status); } &&
21455 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21457 (eval $ac_try) 2>&5
21459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21460 (exit $ac_status); }; } &&
21461 { ac_try
='test -s conftest.$ac_objext'
21462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21463 (eval $ac_try) 2>&5
21465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21466 (exit $ac_status); }; }; then
21467 echo "$as_me:$LINENO: result: yes" >&5
21468 echo "${ECHO_T}yes" >&6
21470 echo "$as_me: failed program was:" >&5
21471 sed 's/^/| /' conftest.
$ac_ext >&5
21473 echo "$as_me:$LINENO: result: no" >&5
21474 echo "${ECHO_T}no" >&6
21475 if test "$wxUSE_STL" = "yes"; then
21476 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
21477 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
21478 { (exit 1); exit 1; }; }
21479 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
21480 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
21481 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
21482 { (exit 1); exit 1; }; }
21484 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21485 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21486 wxUSE_STD_STRING
=no
21491 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21497 ac_cpp
='$CPP $CPPFLAGS'
21498 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21499 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21500 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21504 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21506 ac_cpp
='$CXXCPP $CPPFLAGS'
21507 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21508 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21509 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21512 echo "$as_me:$LINENO: checking for std::istream" >&5
21513 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
21514 if test "${ac_cv_type_std__istream+set}" = set; then
21515 echo $ECHO_N "(cached) $ECHO_C" >&6
21517 cat >conftest.
$ac_ext <<_ACEOF
21520 cat confdefs.h
>>conftest.
$ac_ext
21521 cat >>conftest.
$ac_ext <<_ACEOF
21522 /* end confdefs.h. */
21523 #include <iostream>
21528 if ((std::istream *) 0)
21530 if (sizeof (std::istream))
21536 rm -f conftest.
$ac_objext
21537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21538 (eval $ac_compile) 2>conftest.er1
21540 grep -v '^ *+' conftest.er1
>conftest.err
21542 cat conftest.err
>&5
21543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21544 (exit $ac_status); } &&
21545 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21547 (eval $ac_try) 2>&5
21549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21550 (exit $ac_status); }; } &&
21551 { ac_try
='test -s conftest.$ac_objext'
21552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21553 (eval $ac_try) 2>&5
21555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21556 (exit $ac_status); }; }; then
21557 ac_cv_type_std__istream
=yes
21559 echo "$as_me: failed program was:" >&5
21560 sed 's/^/| /' conftest.
$ac_ext >&5
21562 ac_cv_type_std__istream
=no
21564 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21566 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
21567 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
21568 if test $ac_cv_type_std__istream = yes; then
21570 cat >>confdefs.h
<<_ACEOF
21571 #define HAVE_STD__ISTREAM 1
21576 wxUSE_STD_IOSTREAM
=no
21578 echo "$as_me:$LINENO: checking for std::ostream" >&5
21579 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
21580 if test "${ac_cv_type_std__ostream+set}" = set; then
21581 echo $ECHO_N "(cached) $ECHO_C" >&6
21583 cat >conftest.
$ac_ext <<_ACEOF
21586 cat confdefs.h
>>conftest.
$ac_ext
21587 cat >>conftest.
$ac_ext <<_ACEOF
21588 /* end confdefs.h. */
21589 #include <iostream>
21594 if ((std::ostream *) 0)
21596 if (sizeof (std::ostream))
21602 rm -f conftest.
$ac_objext
21603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21604 (eval $ac_compile) 2>conftest.er1
21606 grep -v '^ *+' conftest.er1
>conftest.err
21608 cat conftest.err
>&5
21609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21610 (exit $ac_status); } &&
21611 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21613 (eval $ac_try) 2>&5
21615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21616 (exit $ac_status); }; } &&
21617 { ac_try
='test -s conftest.$ac_objext'
21618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21619 (eval $ac_try) 2>&5
21621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21622 (exit $ac_status); }; }; then
21623 ac_cv_type_std__ostream
=yes
21625 echo "$as_me: failed program was:" >&5
21626 sed 's/^/| /' conftest.
$ac_ext >&5
21628 ac_cv_type_std__ostream
=no
21630 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21632 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
21633 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
21634 if test $ac_cv_type_std__ostream = yes; then
21636 cat >>confdefs.h
<<_ACEOF
21637 #define HAVE_STD__OSTREAM 1
21642 wxUSE_STD_IOSTREAM
=no
21646 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21647 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
21648 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
21649 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
21650 { (exit 1); exit 1; }; }
21652 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21653 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21658 ac_cpp
='$CPP $CPPFLAGS'
21659 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21660 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21661 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21665 if test "$wxUSE_STL" = "yes"; then
21667 ac_cpp
='$CXXCPP $CPPFLAGS'
21668 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21669 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21670 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21673 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
21674 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
21675 cat >conftest.
$ac_ext <<_ACEOF
21678 cat confdefs.h
>>conftest.
$ac_ext
21679 cat >>conftest.
$ac_ext <<_ACEOF
21680 /* end confdefs.h. */
21682 #include <functional>
21683 #include <algorithm>
21689 std::vector<int> moo;
21690 std::list<int> foo;
21691 std::vector<int>::iterator it =
21692 std::find_if(moo.begin(), moo.end(),
21693 std::bind2nd(std::less<int>(), 3));
21698 rm -f conftest.
$ac_objext
21699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21700 (eval $ac_compile) 2>conftest.er1
21702 grep -v '^ *+' conftest.er1
>conftest.err
21704 cat conftest.err
>&5
21705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21706 (exit $ac_status); } &&
21707 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21709 (eval $ac_try) 2>&5
21711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21712 (exit $ac_status); }; } &&
21713 { ac_try
='test -s conftest.$ac_objext'
21714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21715 (eval $ac_try) 2>&5
21717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21718 (exit $ac_status); }; }; then
21719 echo "$as_me:$LINENO: result: yes" >&5
21720 echo "${ECHO_T}yes" >&6
21722 echo "$as_me: failed program was:" >&5
21723 sed 's/^/| /' conftest.
$ac_ext >&5
21725 echo "$as_me:$LINENO: result: no" >&5
21726 echo "${ECHO_T}no" >&6
21727 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
21728 echo "$as_me: error: Basic STL functionality missing" >&2;}
21729 { (exit 1); exit 1; }; }
21731 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21733 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
21734 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
21735 cat >conftest.
$ac_ext <<_ACEOF
21738 cat confdefs.h
>>conftest.
$ac_ext
21739 cat >>conftest.
$ac_ext <<_ACEOF
21740 /* end confdefs.h. */
21745 std::string foo, bar;
21747 foo.compare(1, 1, bar);
21748 foo.compare(1, 1, bar, 1, 1);
21750 foo.compare(1, 1, "");
21751 foo.compare(1, 1, "", 2);
21756 rm -f conftest.
$ac_objext
21757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21758 (eval $ac_compile) 2>conftest.er1
21760 grep -v '^ *+' conftest.er1
>conftest.err
21762 cat conftest.err
>&5
21763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21764 (exit $ac_status); } &&
21765 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21767 (eval $ac_try) 2>&5
21769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21770 (exit $ac_status); }; } &&
21771 { ac_try
='test -s conftest.$ac_objext'
21772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21773 (eval $ac_try) 2>&5
21775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21776 (exit $ac_status); }; }; then
21777 echo "$as_me:$LINENO: result: yes" >&5
21778 echo "${ECHO_T}yes" >&6
21779 cat >>confdefs.h
<<\_ACEOF
21780 #define HAVE_STD_STRING_COMPARE 1
21784 echo "$as_me: failed program was:" >&5
21785 sed 's/^/| /' conftest.
$ac_ext >&5
21787 echo "$as_me:$LINENO: result: no" >&5
21788 echo "${ECHO_T}no" >&6
21790 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21792 if test "${ac_cv_header_hash_map+set}" = set; then
21793 echo "$as_me:$LINENO: checking for hash_map" >&5
21794 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21795 if test "${ac_cv_header_hash_map+set}" = set; then
21796 echo $ECHO_N "(cached) $ECHO_C" >&6
21798 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21799 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21801 # Is the header compilable?
21802 echo "$as_me:$LINENO: checking hash_map usability" >&5
21803 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
21804 cat >conftest.
$ac_ext <<_ACEOF
21807 cat confdefs.h
>>conftest.
$ac_ext
21808 cat >>conftest.
$ac_ext <<_ACEOF
21809 /* end confdefs.h. */
21810 $ac_includes_default
21811 #include <hash_map>
21813 rm -f conftest.
$ac_objext
21814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21815 (eval $ac_compile) 2>conftest.er1
21817 grep -v '^ *+' conftest.er1
>conftest.err
21819 cat conftest.err
>&5
21820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21821 (exit $ac_status); } &&
21822 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21824 (eval $ac_try) 2>&5
21826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21827 (exit $ac_status); }; } &&
21828 { ac_try
='test -s conftest.$ac_objext'
21829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21830 (eval $ac_try) 2>&5
21832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21833 (exit $ac_status); }; }; then
21834 ac_header_compiler
=yes
21836 echo "$as_me: failed program was:" >&5
21837 sed 's/^/| /' conftest.
$ac_ext >&5
21839 ac_header_compiler
=no
21841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21842 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21843 echo "${ECHO_T}$ac_header_compiler" >&6
21845 # Is the header present?
21846 echo "$as_me:$LINENO: checking hash_map presence" >&5
21847 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
21848 cat >conftest.
$ac_ext <<_ACEOF
21851 cat confdefs.h
>>conftest.
$ac_ext
21852 cat >>conftest.
$ac_ext <<_ACEOF
21853 /* end confdefs.h. */
21854 #include <hash_map>
21856 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21857 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21859 grep -v '^ *+' conftest.er1
>conftest.err
21861 cat conftest.err
>&5
21862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21863 (exit $ac_status); } >/dev
/null
; then
21864 if test -s conftest.err
; then
21865 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21866 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21873 if test -z "$ac_cpp_err"; then
21874 ac_header_preproc
=yes
21876 echo "$as_me: failed program was:" >&5
21877 sed 's/^/| /' conftest.
$ac_ext >&5
21879 ac_header_preproc
=no
21881 rm -f conftest.err conftest.
$ac_ext
21882 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21883 echo "${ECHO_T}$ac_header_preproc" >&6
21885 # So? What about this header?
21886 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21888 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21889 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21890 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
21891 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
21892 ac_header_preproc
=yes
21895 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
21896 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
21897 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
21898 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
21899 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
21900 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
21901 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
21902 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21903 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
21904 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
21905 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
21906 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
21909 ## ----------------------------------------- ##
21910 ## Report this to wx-dev@lists.wxwidgets.org ##
21911 ## ----------------------------------------- ##
21914 sed "s/^/$as_me: WARNING: /" >&2
21917 echo "$as_me:$LINENO: checking for hash_map" >&5
21918 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21919 if test "${ac_cv_header_hash_map+set}" = set; then
21920 echo $ECHO_N "(cached) $ECHO_C" >&6
21922 ac_cv_header_hash_map
=$ac_header_preproc
21924 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21925 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21928 if test $ac_cv_header_hash_map = yes; then
21929 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21930 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21931 cat >conftest.
$ac_ext <<_ACEOF
21934 cat confdefs.h
>>conftest.
$ac_ext
21935 cat >>conftest.
$ac_ext <<_ACEOF
21936 /* end confdefs.h. */
21937 #include <hash_map>
21938 #include <hash_set>
21942 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21943 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21948 rm -f conftest.
$ac_objext
21949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21950 (eval $ac_compile) 2>conftest.er1
21952 grep -v '^ *+' conftest.er1
>conftest.err
21954 cat conftest.err
>&5
21955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21956 (exit $ac_status); } &&
21957 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21959 (eval $ac_try) 2>&5
21961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21962 (exit $ac_status); }; } &&
21963 { ac_try
='test -s conftest.$ac_objext'
21964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21965 (eval $ac_try) 2>&5
21967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21968 (exit $ac_status); }; }; then
21969 echo "$as_me:$LINENO: result: yes" >&5
21970 echo "${ECHO_T}yes" >&6
21971 cat >>confdefs.h
<<\_ACEOF
21972 #define HAVE_HASH_MAP 1
21975 cat >>confdefs.h
<<\_ACEOF
21976 #define HAVE_STD_HASH_MAP 1
21980 echo "$as_me: failed program was:" >&5
21981 sed 's/^/| /' conftest.
$ac_ext >&5
21983 echo "$as_me:$LINENO: result: no" >&5
21984 echo "${ECHO_T}no" >&6
21986 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21992 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21993 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21994 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21995 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21996 echo $ECHO_N "(cached) $ECHO_C" >&6
21998 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21999 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
22001 # Is the header compilable?
22002 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
22003 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
22004 cat >conftest.
$ac_ext <<_ACEOF
22007 cat confdefs.h
>>conftest.
$ac_ext
22008 cat >>conftest.
$ac_ext <<_ACEOF
22009 /* end confdefs.h. */
22010 $ac_includes_default
22011 #include <ext/hash_map>
22013 rm -f conftest.
$ac_objext
22014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22015 (eval $ac_compile) 2>conftest.er1
22017 grep -v '^ *+' conftest.er1
>conftest.err
22019 cat conftest.err
>&5
22020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22021 (exit $ac_status); } &&
22022 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22024 (eval $ac_try) 2>&5
22026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22027 (exit $ac_status); }; } &&
22028 { ac_try
='test -s conftest.$ac_objext'
22029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22030 (eval $ac_try) 2>&5
22032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22033 (exit $ac_status); }; }; then
22034 ac_header_compiler
=yes
22036 echo "$as_me: failed program was:" >&5
22037 sed 's/^/| /' conftest.
$ac_ext >&5
22039 ac_header_compiler
=no
22041 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22042 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22043 echo "${ECHO_T}$ac_header_compiler" >&6
22045 # Is the header present?
22046 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
22047 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
22048 cat >conftest.
$ac_ext <<_ACEOF
22051 cat confdefs.h
>>conftest.
$ac_ext
22052 cat >>conftest.
$ac_ext <<_ACEOF
22053 /* end confdefs.h. */
22054 #include <ext/hash_map>
22056 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22057 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22059 grep -v '^ *+' conftest.er1
>conftest.err
22061 cat conftest.err
>&5
22062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22063 (exit $ac_status); } >/dev
/null
; then
22064 if test -s conftest.err
; then
22065 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22066 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22073 if test -z "$ac_cpp_err"; then
22074 ac_header_preproc
=yes
22076 echo "$as_me: failed program was:" >&5
22077 sed 's/^/| /' conftest.
$ac_ext >&5
22079 ac_header_preproc
=no
22081 rm -f conftest.err conftest.
$ac_ext
22082 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22083 echo "${ECHO_T}$ac_header_preproc" >&6
22085 # So? What about this header?
22086 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22088 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
22089 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
22090 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
22091 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
22092 ac_header_preproc
=yes
22095 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
22096 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
22097 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
22098 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
22099 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
22100 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
22101 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
22102 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
22103 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
22104 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
22105 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
22106 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
22109 ## ----------------------------------------- ##
22110 ## Report this to wx-dev@lists.wxwidgets.org ##
22111 ## ----------------------------------------- ##
22114 sed "s/^/$as_me: WARNING: /" >&2
22117 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
22118 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
22119 if test "${ac_cv_header_ext_hash_map+set}" = set; then
22120 echo $ECHO_N "(cached) $ECHO_C" >&6
22122 ac_cv_header_ext_hash_map
=$ac_header_preproc
22124 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
22125 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
22128 if test $ac_cv_header_ext_hash_map = yes; then
22129 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
22130 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
22131 cat >conftest.
$ac_ext <<_ACEOF
22134 cat confdefs.h
>>conftest.
$ac_ext
22135 cat >>conftest.
$ac_ext <<_ACEOF
22136 /* end confdefs.h. */
22137 #include <ext/hash_map>
22138 #include <ext/hash_set>
22142 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
22143 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
22148 rm -f conftest.
$ac_objext
22149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22150 (eval $ac_compile) 2>conftest.er1
22152 grep -v '^ *+' conftest.er1
>conftest.err
22154 cat conftest.err
>&5
22155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22156 (exit $ac_status); } &&
22157 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22159 (eval $ac_try) 2>&5
22161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22162 (exit $ac_status); }; } &&
22163 { ac_try
='test -s conftest.$ac_objext'
22164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22165 (eval $ac_try) 2>&5
22167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22168 (exit $ac_status); }; }; then
22169 echo "$as_me:$LINENO: result: yes" >&5
22170 echo "${ECHO_T}yes" >&6
22171 cat >>confdefs.h
<<\_ACEOF
22172 #define HAVE_EXT_HASH_MAP 1
22175 cat >>confdefs.h
<<\_ACEOF
22176 #define HAVE_GNU_CXX_HASH_MAP 1
22180 echo "$as_me: failed program was:" >&5
22181 sed 's/^/| /' conftest.
$ac_ext >&5
22183 echo "$as_me:$LINENO: result: no" >&5
22184 echo "${ECHO_T}no" >&6
22186 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22193 ac_cpp
='$CPP $CPPFLAGS'
22194 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22195 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22196 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22202 /usr/local/include \
22204 /usr/Motif-2.1/include \
22205 /usr/Motif-1.2/include \
22206 /usr/include/Motif1.2 \
22207 /opt/xpm/include/X11 \
22208 /opt/GBxpm/include/ \
22209 /opt/GBxpm/X11/include/ \
22212 /usr/openwin/include \
22216 /usr/X11R6/include \
22217 /usr/X11R6.4/include \
22218 /usr/X11R5/include \
22219 /usr/X11R4/include \
22221 /usr/include/X11R6 \
22222 /usr/include/X11R5 \
22223 /usr/include/X11R4 \
22225 /usr/local/X11R6/include \
22226 /usr/local/X11R5/include \
22227 /usr/local/X11R4/include \
22229 /usr/local/include/X11R6 \
22230 /usr/local/include/X11R5 \
22231 /usr/local/include/X11R4 \
22235 /usr/local/X11/include \
22236 /usr/local/include/X11 \
22238 /usr/X386/include \
22239 /usr/x386/include \
22240 /usr/XFree86/include/X11 \
22242 X:/XFree86/include \
22243 X:/XFree86/include/X11 \
22246 /usr/local/include/gtk \
22247 /usr/include/glib \
22248 /usr/local/include/glib \
22251 /usr/local/include/qt \
22253 /usr/local/arm/3.3.2/include \
22255 /usr/include/windows \
22256 /usr/include/wine \
22257 /usr/local/include/wine \
22259 /usr/unsupported/include \
22260 /usr/athena/include \
22261 /usr/local/x11r5/include \
22262 /usr/lpp/Xamples/include \
22264 /usr/openwin/share/include"
22266 SEARCH_LIB
="/usr/lib /usr/lib32 /usr/lib64 /usr/X11R6/lib64 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g`"
22269 cat >confcache
<<\_ACEOF
22270 # This file is a shell script that caches the results of configure
22271 # tests run on this system so they can be shared between configure
22272 # scripts and configure runs, see configure's option --config-cache.
22273 # It is not useful on other systems. If it contains results you don't
22274 # want to keep, you may remove or edit it.
22276 # config.status only pays attention to the cache file if you give it
22277 # the --recheck option to rerun configure.
22279 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22280 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22281 # following values.
22285 # The following way of writing the cache mishandles newlines in values,
22286 # but we know of no workaround that is simple, portable, and efficient.
22287 # So, don't put newlines in cache variables' values.
22288 # Ultrix sh set writes to stderr and can't be redirected directly,
22289 # and sets the high bit in the cache file unless we assign to the vars.
22292 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22294 # `set' does not quote correctly, so add quotes (double-quote
22295 # substitution turns \\\\ into \\, and sed turns \\ into \).
22298 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22301 # `set' quotes correctly as required by POSIX, so do not add quotes.
22303 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22310 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22312 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22314 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
22315 if test -w $cache_file; then
22316 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22317 cat confcache
>$cache_file
22319 echo "not updating unwritable cache $cache_file"
22324 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
22325 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
22326 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
22327 if test "${wx_cv_lib_glibc21+set}" = set; then
22328 echo $ECHO_N "(cached) $ECHO_C" >&6
22331 cat >conftest.
$ac_ext <<_ACEOF
22334 cat confdefs.h
>>conftest.
$ac_ext
22335 cat >>conftest.
$ac_ext <<_ACEOF
22336 /* end confdefs.h. */
22337 #include <features.h>
22342 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
22343 #error not glibc2.1
22350 rm -f conftest.
$ac_objext
22351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22352 (eval $ac_compile) 2>conftest.er1
22354 grep -v '^ *+' conftest.er1
>conftest.err
22356 cat conftest.err
>&5
22357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22358 (exit $ac_status); } &&
22359 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22361 (eval $ac_try) 2>&5
22363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22364 (exit $ac_status); }; } &&
22365 { ac_try
='test -s conftest.$ac_objext'
22366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22367 (eval $ac_try) 2>&5
22369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22370 (exit $ac_status); }; }; then
22372 wx_cv_lib_glibc21
=yes
22375 echo "$as_me: failed program was:" >&5
22376 sed 's/^/| /' conftest.
$ac_ext >&5
22379 wx_cv_lib_glibc21
=no
22383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22386 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
22387 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
22388 if test "$wx_cv_lib_glibc21" = "yes"; then
22389 cat >>confdefs.h
<<\_ACEOF
22390 #define wxHAVE_GLIBC2 1
22396 if test "x$wx_cv_lib_glibc21" = "xyes"; then
22397 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
22398 cat >>confdefs.h
<<\_ACEOF
22399 #define _GNU_SOURCE 1
22407 if test "$wxUSE_REGEX" != "no"; then
22408 cat >>confdefs.h
<<\_ACEOF
22409 #define wxUSE_REGEX 1
22413 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22414 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
22415 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
22416 wxUSE_REGEX
=builtin
22419 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22420 if test "${ac_cv_header_regex_h+set}" = set; then
22421 echo "$as_me:$LINENO: checking for regex.h" >&5
22422 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22423 if test "${ac_cv_header_regex_h+set}" = set; then
22424 echo $ECHO_N "(cached) $ECHO_C" >&6
22426 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22427 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22429 # Is the header compilable?
22430 echo "$as_me:$LINENO: checking regex.h usability" >&5
22431 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
22432 cat >conftest.
$ac_ext <<_ACEOF
22435 cat confdefs.h
>>conftest.
$ac_ext
22436 cat >>conftest.
$ac_ext <<_ACEOF
22437 /* end confdefs.h. */
22438 $ac_includes_default
22441 rm -f conftest.
$ac_objext
22442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22443 (eval $ac_compile) 2>conftest.er1
22445 grep -v '^ *+' conftest.er1
>conftest.err
22447 cat conftest.err
>&5
22448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22449 (exit $ac_status); } &&
22450 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22452 (eval $ac_try) 2>&5
22454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22455 (exit $ac_status); }; } &&
22456 { ac_try
='test -s conftest.$ac_objext'
22457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22458 (eval $ac_try) 2>&5
22460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22461 (exit $ac_status); }; }; then
22462 ac_header_compiler
=yes
22464 echo "$as_me: failed program was:" >&5
22465 sed 's/^/| /' conftest.
$ac_ext >&5
22467 ac_header_compiler
=no
22469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22470 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22471 echo "${ECHO_T}$ac_header_compiler" >&6
22473 # Is the header present?
22474 echo "$as_me:$LINENO: checking regex.h presence" >&5
22475 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
22476 cat >conftest.
$ac_ext <<_ACEOF
22479 cat confdefs.h
>>conftest.
$ac_ext
22480 cat >>conftest.
$ac_ext <<_ACEOF
22481 /* end confdefs.h. */
22484 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22485 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22487 grep -v '^ *+' conftest.er1
>conftest.err
22489 cat conftest.err
>&5
22490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22491 (exit $ac_status); } >/dev
/null
; then
22492 if test -s conftest.err
; then
22493 ac_cpp_err
=$ac_c_preproc_warn_flag
22494 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22501 if test -z "$ac_cpp_err"; then
22502 ac_header_preproc
=yes
22504 echo "$as_me: failed program was:" >&5
22505 sed 's/^/| /' conftest.
$ac_ext >&5
22507 ac_header_preproc
=no
22509 rm -f conftest.err conftest.
$ac_ext
22510 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22511 echo "${ECHO_T}$ac_header_preproc" >&6
22513 # So? What about this header?
22514 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22516 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
22517 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22518 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
22519 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
22520 ac_header_preproc
=yes
22523 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
22524 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
22525 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
22526 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
22527 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
22528 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
22529 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
22530 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
22531 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
22532 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
22533 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
22534 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
22537 ## ----------------------------------------- ##
22538 ## Report this to wx-dev@lists.wxwidgets.org ##
22539 ## ----------------------------------------- ##
22542 sed "s/^/$as_me: WARNING: /" >&2
22545 echo "$as_me:$LINENO: checking for regex.h" >&5
22546 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22547 if test "${ac_cv_header_regex_h+set}" = set; then
22548 echo $ECHO_N "(cached) $ECHO_C" >&6
22550 ac_cv_header_regex_h
=$ac_header_preproc
22552 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22553 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22556 if test $ac_cv_header_regex_h = yes; then
22558 for ac_func
in regcomp
22560 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22561 echo "$as_me:$LINENO: checking for $ac_func" >&5
22562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22563 if eval "test \"\${$as_ac_var+set}\" = set"; then
22564 echo $ECHO_N "(cached) $ECHO_C" >&6
22566 cat >conftest.
$ac_ext <<_ACEOF
22569 cat confdefs.h
>>conftest.
$ac_ext
22570 cat >>conftest.
$ac_ext <<_ACEOF
22571 /* end confdefs.h. */
22572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22574 #define $ac_func innocuous_$ac_func
22576 /* System header to define __stub macros and hopefully few prototypes,
22577 which can conflict with char $ac_func (); below.
22578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22579 <limits.h> exists even on freestanding compilers. */
22582 # include <limits.h>
22584 # include <assert.h>
22589 /* Override any gcc2 internal prototype to avoid an error. */
22594 /* We use char because int might match the return type of a gcc2
22595 builtin and then its argument prototype would still apply. */
22597 /* The GNU C library defines this for functions which it implements
22598 to always fail with ENOSYS. Some functions are actually named
22599 something starting with __ and the normal name is an alias. */
22600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22603 char (*f) () = $ac_func;
22612 return f != $ac_func;
22617 rm -f conftest.
$ac_objext conftest
$ac_exeext
22618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22619 (eval $ac_link) 2>conftest.er1
22621 grep -v '^ *+' conftest.er1
>conftest.err
22623 cat conftest.err
>&5
22624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22625 (exit $ac_status); } &&
22626 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22628 (eval $ac_try) 2>&5
22630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22631 (exit $ac_status); }; } &&
22632 { ac_try
='test -s conftest$ac_exeext'
22633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22634 (eval $ac_try) 2>&5
22636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22637 (exit $ac_status); }; }; then
22638 eval "$as_ac_var=yes"
22640 echo "$as_me: failed program was:" >&5
22641 sed 's/^/| /' conftest.
$ac_ext >&5
22643 eval "$as_ac_var=no"
22645 rm -f conftest.err conftest.
$ac_objext \
22646 conftest
$ac_exeext conftest.
$ac_ext
22648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22650 if test `eval echo '${'$as_ac_var'}'` = yes; then
22651 cat >>confdefs.h
<<_ACEOF
22652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22662 if test "x$ac_cv_func_regcomp" != "xyes"; then
22663 if test "$wxUSE_REGEX" = "sys" ; then
22664 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
22665 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
22666 { (exit 1); exit 1; }; }
22668 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
22669 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22670 wxUSE_REGEX
=builtin
22674 cat >>confdefs.h
<<\_ACEOF
22675 #define WX_NO_REGEX_ADVANCED 1
22684 if test "$wxUSE_ZLIB" != "no" ; then
22685 cat >>confdefs.h
<<\_ACEOF
22686 #define wxUSE_ZLIB 1
22690 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22691 if test "$USE_DARWIN" = 1; then
22692 system_zlib_h_ok
="yes"
22694 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
22695 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
22696 if test "${ac_cv_header_zlib_h+set}" = set; then
22697 echo $ECHO_N "(cached) $ECHO_C" >&6
22699 if test "$cross_compiling" = yes; then
22700 unset ac_cv_header_zlib_h
22703 cat >conftest.
$ac_ext <<_ACEOF
22706 cat confdefs.h
>>conftest.
$ac_ext
22707 cat >>conftest.
$ac_ext <<_ACEOF
22708 /* end confdefs.h. */
22715 FILE *f=fopen("conftestval", "w");
22718 ZLIB_VERSION[0] == '1' &&
22719 (ZLIB_VERSION[2] > '1' ||
22720 (ZLIB_VERSION[2] == '1' &&
22721 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22726 rm -f conftest
$ac_exeext
22727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22728 (eval $ac_link) 2>&5
22730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22731 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22733 (eval $ac_try) 2>&5
22735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22736 (exit $ac_status); }; }; then
22737 ac_cv_header_zlib_h
=`cat conftestval`
22739 echo "$as_me: program exited with status $ac_status" >&5
22740 echo "$as_me: failed program was:" >&5
22741 sed 's/^/| /' conftest.
$ac_ext >&5
22743 ( exit $ac_status )
22744 ac_cv_header_zlib_h
=no
22746 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22750 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22751 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22752 if test "${ac_cv_header_zlib_h+set}" = set; then
22753 echo "$as_me:$LINENO: checking for zlib.h" >&5
22754 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22755 if test "${ac_cv_header_zlib_h+set}" = set; then
22756 echo $ECHO_N "(cached) $ECHO_C" >&6
22758 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22759 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22761 # Is the header compilable?
22762 echo "$as_me:$LINENO: checking zlib.h usability" >&5
22763 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
22764 cat >conftest.
$ac_ext <<_ACEOF
22767 cat confdefs.h
>>conftest.
$ac_ext
22768 cat >>conftest.
$ac_ext <<_ACEOF
22769 /* end confdefs.h. */
22770 $ac_includes_default
22773 rm -f conftest.
$ac_objext
22774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22775 (eval $ac_compile) 2>conftest.er1
22777 grep -v '^ *+' conftest.er1
>conftest.err
22779 cat conftest.err
>&5
22780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22781 (exit $ac_status); } &&
22782 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22784 (eval $ac_try) 2>&5
22786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22787 (exit $ac_status); }; } &&
22788 { ac_try
='test -s conftest.$ac_objext'
22789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22790 (eval $ac_try) 2>&5
22792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22793 (exit $ac_status); }; }; then
22794 ac_header_compiler
=yes
22796 echo "$as_me: failed program was:" >&5
22797 sed 's/^/| /' conftest.
$ac_ext >&5
22799 ac_header_compiler
=no
22801 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22802 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22803 echo "${ECHO_T}$ac_header_compiler" >&6
22805 # Is the header present?
22806 echo "$as_me:$LINENO: checking zlib.h presence" >&5
22807 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
22808 cat >conftest.
$ac_ext <<_ACEOF
22811 cat confdefs.h
>>conftest.
$ac_ext
22812 cat >>conftest.
$ac_ext <<_ACEOF
22813 /* end confdefs.h. */
22816 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22817 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22819 grep -v '^ *+' conftest.er1
>conftest.err
22821 cat conftest.err
>&5
22822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22823 (exit $ac_status); } >/dev
/null
; then
22824 if test -s conftest.err
; then
22825 ac_cpp_err
=$ac_c_preproc_warn_flag
22826 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22833 if test -z "$ac_cpp_err"; then
22834 ac_header_preproc
=yes
22836 echo "$as_me: failed program was:" >&5
22837 sed 's/^/| /' conftest.
$ac_ext >&5
22839 ac_header_preproc
=no
22841 rm -f conftest.err conftest.
$ac_ext
22842 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22843 echo "${ECHO_T}$ac_header_preproc" >&6
22845 # So? What about this header?
22846 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22848 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
22849 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22850 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
22851 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
22852 ac_header_preproc
=yes
22855 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
22856 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
22857 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
22858 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
22859 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
22860 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
22861 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
22862 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
22863 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
22864 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
22865 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
22866 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
22869 ## ----------------------------------------- ##
22870 ## Report this to wx-dev@lists.wxwidgets.org ##
22871 ## ----------------------------------------- ##
22874 sed "s/^/$as_me: WARNING: /" >&2
22877 echo "$as_me:$LINENO: checking for zlib.h" >&5
22878 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22879 if test "${ac_cv_header_zlib_h+set}" = set; then
22880 echo $ECHO_N "(cached) $ECHO_C" >&6
22882 ac_cv_header_zlib_h
=$ac_header_preproc
22884 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22885 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22891 system_zlib_h_ok
=$ac_cv_header_zlib_h
22894 if test "$system_zlib_h_ok" = "yes"; then
22895 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
22896 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
22897 if test "${ac_cv_lib_z_deflate+set}" = set; then
22898 echo $ECHO_N "(cached) $ECHO_C" >&6
22900 ac_check_lib_save_LIBS
=$LIBS
22902 cat >conftest.
$ac_ext <<_ACEOF
22905 cat confdefs.h
>>conftest.
$ac_ext
22906 cat >>conftest.
$ac_ext <<_ACEOF
22907 /* end confdefs.h. */
22909 /* Override any gcc2 internal prototype to avoid an error. */
22913 /* We use char because int might match the return type of a gcc2
22914 builtin and then its argument prototype would still apply. */
22924 rm -f conftest.
$ac_objext conftest
$ac_exeext
22925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22926 (eval $ac_link) 2>conftest.er1
22928 grep -v '^ *+' conftest.er1
>conftest.err
22930 cat conftest.err
>&5
22931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22932 (exit $ac_status); } &&
22933 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22935 (eval $ac_try) 2>&5
22937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22938 (exit $ac_status); }; } &&
22939 { ac_try
='test -s conftest$ac_exeext'
22940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22941 (eval $ac_try) 2>&5
22943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22944 (exit $ac_status); }; }; then
22945 ac_cv_lib_z_deflate
=yes
22947 echo "$as_me: failed program was:" >&5
22948 sed 's/^/| /' conftest.
$ac_ext >&5
22950 ac_cv_lib_z_deflate
=no
22952 rm -f conftest.err conftest.
$ac_objext \
22953 conftest
$ac_exeext conftest.
$ac_ext
22954 LIBS
=$ac_check_lib_save_LIBS
22956 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
22957 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
22958 if test $ac_cv_lib_z_deflate = yes; then
22964 if test "x$ZLIB_LINK" = "x" ; then
22965 if test "$wxUSE_ZLIB" = "sys" ; then
22966 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
22967 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
22968 { (exit 1); exit 1; }; }
22970 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
22971 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22982 if test "$wxUSE_LIBPNG" != "no" ; then
22983 cat >>confdefs.h
<<\_ACEOF
22984 #define wxUSE_LIBPNG 1
22988 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
22989 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
22990 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
22994 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22995 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22996 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22997 wxUSE_LIBPNG
=builtin
23000 if test "$wxUSE_MGL" != 1 ; then
23001 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
23002 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
23003 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
23004 if test "${ac_cv_header_png_h+set}" = set; then
23005 echo $ECHO_N "(cached) $ECHO_C" >&6
23007 if test "$cross_compiling" = yes; then
23008 unset ac_cv_header_png_h
23011 cat >conftest.
$ac_ext <<_ACEOF
23014 cat confdefs.h
>>conftest.
$ac_ext
23015 cat >>conftest.
$ac_ext <<_ACEOF
23016 /* end confdefs.h. */
23023 FILE *f=fopen("conftestval", "w");
23026 PNG_LIBPNG_VER > 90 ? "yes" : "no");
23031 rm -f conftest
$ac_exeext
23032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23033 (eval $ac_link) 2>&5
23035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23036 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23038 (eval $ac_try) 2>&5
23040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23041 (exit $ac_status); }; }; then
23042 ac_cv_header_png_h
=`cat conftestval`
23044 echo "$as_me: program exited with status $ac_status" >&5
23045 echo "$as_me: failed program was:" >&5
23046 sed 's/^/| /' conftest.
$ac_ext >&5
23048 ( exit $ac_status )
23049 ac_cv_header_png_h
=no
23051 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23055 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23056 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23057 if test "${ac_cv_header_png_h+set}" = set; then
23058 echo "$as_me:$LINENO: checking for png.h" >&5
23059 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
23060 if test "${ac_cv_header_png_h+set}" = set; then
23061 echo $ECHO_N "(cached) $ECHO_C" >&6
23063 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23064 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23066 # Is the header compilable?
23067 echo "$as_me:$LINENO: checking png.h usability" >&5
23068 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
23069 cat >conftest.
$ac_ext <<_ACEOF
23072 cat confdefs.h
>>conftest.
$ac_ext
23073 cat >>conftest.
$ac_ext <<_ACEOF
23074 /* end confdefs.h. */
23075 $ac_includes_default
23078 rm -f conftest.
$ac_objext
23079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23080 (eval $ac_compile) 2>conftest.er1
23082 grep -v '^ *+' conftest.er1
>conftest.err
23084 cat conftest.err
>&5
23085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23086 (exit $ac_status); } &&
23087 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23089 (eval $ac_try) 2>&5
23091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23092 (exit $ac_status); }; } &&
23093 { ac_try
='test -s conftest.$ac_objext'
23094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23095 (eval $ac_try) 2>&5
23097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23098 (exit $ac_status); }; }; then
23099 ac_header_compiler
=yes
23101 echo "$as_me: failed program was:" >&5
23102 sed 's/^/| /' conftest.
$ac_ext >&5
23104 ac_header_compiler
=no
23106 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23107 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23108 echo "${ECHO_T}$ac_header_compiler" >&6
23110 # Is the header present?
23111 echo "$as_me:$LINENO: checking png.h presence" >&5
23112 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
23113 cat >conftest.
$ac_ext <<_ACEOF
23116 cat confdefs.h
>>conftest.
$ac_ext
23117 cat >>conftest.
$ac_ext <<_ACEOF
23118 /* end confdefs.h. */
23121 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23122 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23124 grep -v '^ *+' conftest.er1
>conftest.err
23126 cat conftest.err
>&5
23127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23128 (exit $ac_status); } >/dev
/null
; then
23129 if test -s conftest.err
; then
23130 ac_cpp_err
=$ac_c_preproc_warn_flag
23131 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23138 if test -z "$ac_cpp_err"; then
23139 ac_header_preproc
=yes
23141 echo "$as_me: failed program was:" >&5
23142 sed 's/^/| /' conftest.
$ac_ext >&5
23144 ac_header_preproc
=no
23146 rm -f conftest.err conftest.
$ac_ext
23147 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23148 echo "${ECHO_T}$ac_header_preproc" >&6
23150 # So? What about this header?
23151 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23153 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
23154 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23155 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
23156 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
23157 ac_header_preproc
=yes
23160 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
23161 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
23162 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
23163 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
23164 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
23165 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
23166 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
23167 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
23168 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
23169 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
23170 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
23171 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
23174 ## ----------------------------------------- ##
23175 ## Report this to wx-dev@lists.wxwidgets.org ##
23176 ## ----------------------------------------- ##
23179 sed "s/^/$as_me: WARNING: /" >&2
23182 echo "$as_me:$LINENO: checking for png.h" >&5
23183 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
23184 if test "${ac_cv_header_png_h+set}" = set; then
23185 echo $ECHO_N "(cached) $ECHO_C" >&6
23187 ac_cv_header_png_h
=$ac_header_preproc
23189 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23190 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23196 if test "$ac_cv_header_png_h" = "yes"; then
23197 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
23198 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
23199 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
23200 echo $ECHO_N "(cached) $ECHO_C" >&6
23202 ac_check_lib_save_LIBS
=$LIBS
23203 LIBS
="-lpng -lz -lm $LIBS"
23204 cat >conftest.
$ac_ext <<_ACEOF
23207 cat confdefs.h
>>conftest.
$ac_ext
23208 cat >>conftest.
$ac_ext <<_ACEOF
23209 /* end confdefs.h. */
23211 /* Override any gcc2 internal prototype to avoid an error. */
23215 /* We use char because int might match the return type of a gcc2
23216 builtin and then its argument prototype would still apply. */
23217 char png_check_sig ();
23226 rm -f conftest.
$ac_objext conftest
$ac_exeext
23227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23228 (eval $ac_link) 2>conftest.er1
23230 grep -v '^ *+' conftest.er1
>conftest.err
23232 cat conftest.err
>&5
23233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23234 (exit $ac_status); } &&
23235 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23237 (eval $ac_try) 2>&5
23239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23240 (exit $ac_status); }; } &&
23241 { ac_try
='test -s conftest$ac_exeext'
23242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23243 (eval $ac_try) 2>&5
23245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23246 (exit $ac_status); }; }; then
23247 ac_cv_lib_png_png_check_sig
=yes
23249 echo "$as_me: failed program was:" >&5
23250 sed 's/^/| /' conftest.
$ac_ext >&5
23252 ac_cv_lib_png_png_check_sig
=no
23254 rm -f conftest.err conftest.
$ac_objext \
23255 conftest
$ac_exeext conftest.
$ac_ext
23256 LIBS
=$ac_check_lib_save_LIBS
23258 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
23259 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
23260 if test $ac_cv_lib_png_png_check_sig = yes; then
23261 PNG_LINK
=" -lpng -lz"
23266 if test "x$PNG_LINK" = "x" ; then
23267 if test "$wxUSE_LIBPNG" = "sys" ; then
23268 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
23269 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
23270 { (exit 1); exit 1; }; }
23272 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
23273 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
23274 wxUSE_LIBPNG
=builtin
23282 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
23287 if test "$wxUSE_LIBJPEG" != "no" ; then
23288 cat >>confdefs.h
<<\_ACEOF
23289 #define wxUSE_LIBJPEG 1
23293 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
23294 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
23295 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
23299 if test "$wxUSE_MGL" != 1 ; then
23300 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
23301 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
23302 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
23303 if test "${ac_cv_header_jpeglib_h+set}" = set; then
23304 echo $ECHO_N "(cached) $ECHO_C" >&6
23306 cat >conftest.
$ac_ext <<_ACEOF
23309 cat confdefs.h
>>conftest.
$ac_ext
23310 cat >>conftest.
$ac_ext <<_ACEOF
23311 /* end confdefs.h. */
23313 #undef HAVE_STDLIB_H
23315 #include <jpeglib.h>
23326 rm -f conftest.
$ac_objext
23327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23328 (eval $ac_compile) 2>conftest.er1
23330 grep -v '^ *+' conftest.er1
>conftest.err
23332 cat conftest.err
>&5
23333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23334 (exit $ac_status); } &&
23335 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23337 (eval $ac_try) 2>&5
23339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23340 (exit $ac_status); }; } &&
23341 { ac_try
='test -s conftest.$ac_objext'
23342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23343 (eval $ac_try) 2>&5
23345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23346 (exit $ac_status); }; }; then
23347 ac_cv_header_jpeglib_h
=yes
23349 echo "$as_me: failed program was:" >&5
23350 sed 's/^/| /' conftest.
$ac_ext >&5
23352 ac_cv_header_jpeglib_h
=no
23355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23359 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
23360 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
23362 if test "$ac_cv_header_jpeglib_h" = "yes"; then
23363 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
23364 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
23365 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
23366 echo $ECHO_N "(cached) $ECHO_C" >&6
23368 ac_check_lib_save_LIBS
=$LIBS
23369 LIBS
="-ljpeg $LIBS"
23370 cat >conftest.
$ac_ext <<_ACEOF
23373 cat confdefs.h
>>conftest.
$ac_ext
23374 cat >>conftest.
$ac_ext <<_ACEOF
23375 /* end confdefs.h. */
23377 /* Override any gcc2 internal prototype to avoid an error. */
23381 /* We use char because int might match the return type of a gcc2
23382 builtin and then its argument prototype would still apply. */
23383 char jpeg_read_header ();
23387 jpeg_read_header ();
23392 rm -f conftest.
$ac_objext conftest
$ac_exeext
23393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23394 (eval $ac_link) 2>conftest.er1
23396 grep -v '^ *+' conftest.er1
>conftest.err
23398 cat conftest.err
>&5
23399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23400 (exit $ac_status); } &&
23401 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23403 (eval $ac_try) 2>&5
23405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23406 (exit $ac_status); }; } &&
23407 { ac_try
='test -s conftest$ac_exeext'
23408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23409 (eval $ac_try) 2>&5
23411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23412 (exit $ac_status); }; }; then
23413 ac_cv_lib_jpeg_jpeg_read_header
=yes
23415 echo "$as_me: failed program was:" >&5
23416 sed 's/^/| /' conftest.
$ac_ext >&5
23418 ac_cv_lib_jpeg_jpeg_read_header
=no
23420 rm -f conftest.err conftest.
$ac_objext \
23421 conftest
$ac_exeext conftest.
$ac_ext
23422 LIBS
=$ac_check_lib_save_LIBS
23424 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
23425 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
23426 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
23427 JPEG_LINK
=" -ljpeg"
23432 if test "x$JPEG_LINK" = "x" ; then
23433 if test "$wxUSE_LIBJPEG" = "sys" ; then
23434 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
23435 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
23436 { (exit 1); exit 1; }; }
23438 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
23439 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
23440 wxUSE_LIBJPEG
=builtin
23451 TIFF_PREREQ_LINKS
=-lm
23452 if test "$wxUSE_LIBTIFF" != "no" ; then
23453 cat >>confdefs.h
<<\_ACEOF
23454 #define wxUSE_LIBTIFF 1
23458 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
23459 if test "$wxUSE_LIBJPEG" = "sys"; then
23460 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
23462 if test "$wxUSE_ZLIB" = "sys"; then
23463 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
23465 if test "${ac_cv_header_tiffio_h+set}" = set; then
23466 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23467 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23468 if test "${ac_cv_header_tiffio_h+set}" = set; then
23469 echo $ECHO_N "(cached) $ECHO_C" >&6
23471 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23472 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23474 # Is the header compilable?
23475 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
23476 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
23477 cat >conftest.
$ac_ext <<_ACEOF
23480 cat confdefs.h
>>conftest.
$ac_ext
23481 cat >>conftest.
$ac_ext <<_ACEOF
23482 /* end confdefs.h. */
23483 $ac_includes_default
23484 #include <tiffio.h>
23486 rm -f conftest.
$ac_objext
23487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23488 (eval $ac_compile) 2>conftest.er1
23490 grep -v '^ *+' conftest.er1
>conftest.err
23492 cat conftest.err
>&5
23493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23494 (exit $ac_status); } &&
23495 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23497 (eval $ac_try) 2>&5
23499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23500 (exit $ac_status); }; } &&
23501 { ac_try
='test -s conftest.$ac_objext'
23502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23503 (eval $ac_try) 2>&5
23505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23506 (exit $ac_status); }; }; then
23507 ac_header_compiler
=yes
23509 echo "$as_me: failed program was:" >&5
23510 sed 's/^/| /' conftest.
$ac_ext >&5
23512 ac_header_compiler
=no
23514 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23515 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23516 echo "${ECHO_T}$ac_header_compiler" >&6
23518 # Is the header present?
23519 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
23520 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
23521 cat >conftest.
$ac_ext <<_ACEOF
23524 cat confdefs.h
>>conftest.
$ac_ext
23525 cat >>conftest.
$ac_ext <<_ACEOF
23526 /* end confdefs.h. */
23527 #include <tiffio.h>
23529 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23530 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23532 grep -v '^ *+' conftest.er1
>conftest.err
23534 cat conftest.err
>&5
23535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23536 (exit $ac_status); } >/dev
/null
; then
23537 if test -s conftest.err
; then
23538 ac_cpp_err
=$ac_c_preproc_warn_flag
23539 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23546 if test -z "$ac_cpp_err"; then
23547 ac_header_preproc
=yes
23549 echo "$as_me: failed program was:" >&5
23550 sed 's/^/| /' conftest.
$ac_ext >&5
23552 ac_header_preproc
=no
23554 rm -f conftest.err conftest.
$ac_ext
23555 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23556 echo "${ECHO_T}$ac_header_preproc" >&6
23558 # So? What about this header?
23559 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23561 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
23562 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23563 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
23564 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
23565 ac_header_preproc
=yes
23568 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
23569 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
23570 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
23571 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
23572 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
23573 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
23574 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
23575 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
23576 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
23577 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
23578 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
23579 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
23582 ## ----------------------------------------- ##
23583 ## Report this to wx-dev@lists.wxwidgets.org ##
23584 ## ----------------------------------------- ##
23587 sed "s/^/$as_me: WARNING: /" >&2
23590 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23591 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23592 if test "${ac_cv_header_tiffio_h+set}" = set; then
23593 echo $ECHO_N "(cached) $ECHO_C" >&6
23595 ac_cv_header_tiffio_h
=$ac_header_preproc
23597 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23598 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23601 if test $ac_cv_header_tiffio_h = yes; then
23603 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
23604 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
23605 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
23606 echo $ECHO_N "(cached) $ECHO_C" >&6
23608 ac_check_lib_save_LIBS
=$LIBS
23609 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
23610 cat >conftest.
$ac_ext <<_ACEOF
23613 cat confdefs.h
>>conftest.
$ac_ext
23614 cat >>conftest.
$ac_ext <<_ACEOF
23615 /* end confdefs.h. */
23617 /* Override any gcc2 internal prototype to avoid an error. */
23621 /* We use char because int might match the return type of a gcc2
23622 builtin and then its argument prototype would still apply. */
23632 rm -f conftest.
$ac_objext conftest
$ac_exeext
23633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23634 (eval $ac_link) 2>conftest.er1
23636 grep -v '^ *+' conftest.er1
>conftest.err
23638 cat conftest.err
>&5
23639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23640 (exit $ac_status); } &&
23641 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23643 (eval $ac_try) 2>&5
23645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23646 (exit $ac_status); }; } &&
23647 { ac_try
='test -s conftest$ac_exeext'
23648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23649 (eval $ac_try) 2>&5
23651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23652 (exit $ac_status); }; }; then
23653 ac_cv_lib_tiff_TIFFError
=yes
23655 echo "$as_me: failed program was:" >&5
23656 sed 's/^/| /' conftest.
$ac_ext >&5
23658 ac_cv_lib_tiff_TIFFError
=no
23660 rm -f conftest.err conftest.
$ac_objext \
23661 conftest
$ac_exeext conftest.
$ac_ext
23662 LIBS
=$ac_check_lib_save_LIBS
23664 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
23665 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
23666 if test $ac_cv_lib_tiff_TIFFError = yes; then
23667 TIFF_LINK
=" -ltiff"
23676 if test "x$TIFF_LINK" = "x" ; then
23677 if test "$wxUSE_LIBTIFF" = "sys" ; then
23678 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
23679 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
23680 { (exit 1); exit 1; }; }
23682 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
23683 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
23684 wxUSE_LIBTIFF
=builtin
23693 if test "$wxUSE_WCHAR_T" != "yes"; then
23694 if test "$wxUSE_EXPAT" != "no"; then
23695 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
23696 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
23699 if test "$wxUSE_XML" != "no"; then
23700 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
23701 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
23706 if test "$wxUSE_EXPAT" != "no"; then
23708 cat >>confdefs.h
<<\_ACEOF
23709 #define wxUSE_EXPAT 1
23712 cat >>confdefs.h
<<\_ACEOF
23713 #define wxUSE_XML 1
23717 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23718 if test "${ac_cv_header_expat_h+set}" = set; then
23719 echo "$as_me:$LINENO: checking for expat.h" >&5
23720 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23721 if test "${ac_cv_header_expat_h+set}" = set; then
23722 echo $ECHO_N "(cached) $ECHO_C" >&6
23724 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23725 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23727 # Is the header compilable?
23728 echo "$as_me:$LINENO: checking expat.h usability" >&5
23729 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
23730 cat >conftest.
$ac_ext <<_ACEOF
23733 cat confdefs.h
>>conftest.
$ac_ext
23734 cat >>conftest.
$ac_ext <<_ACEOF
23735 /* end confdefs.h. */
23736 $ac_includes_default
23739 rm -f conftest.
$ac_objext
23740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23741 (eval $ac_compile) 2>conftest.er1
23743 grep -v '^ *+' conftest.er1
>conftest.err
23745 cat conftest.err
>&5
23746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23747 (exit $ac_status); } &&
23748 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23750 (eval $ac_try) 2>&5
23752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23753 (exit $ac_status); }; } &&
23754 { ac_try
='test -s conftest.$ac_objext'
23755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23756 (eval $ac_try) 2>&5
23758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23759 (exit $ac_status); }; }; then
23760 ac_header_compiler
=yes
23762 echo "$as_me: failed program was:" >&5
23763 sed 's/^/| /' conftest.
$ac_ext >&5
23765 ac_header_compiler
=no
23767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23768 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23769 echo "${ECHO_T}$ac_header_compiler" >&6
23771 # Is the header present?
23772 echo "$as_me:$LINENO: checking expat.h presence" >&5
23773 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
23774 cat >conftest.
$ac_ext <<_ACEOF
23777 cat confdefs.h
>>conftest.
$ac_ext
23778 cat >>conftest.
$ac_ext <<_ACEOF
23779 /* end confdefs.h. */
23782 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23783 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23785 grep -v '^ *+' conftest.er1
>conftest.err
23787 cat conftest.err
>&5
23788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23789 (exit $ac_status); } >/dev
/null
; then
23790 if test -s conftest.err
; then
23791 ac_cpp_err
=$ac_c_preproc_warn_flag
23792 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23799 if test -z "$ac_cpp_err"; then
23800 ac_header_preproc
=yes
23802 echo "$as_me: failed program was:" >&5
23803 sed 's/^/| /' conftest.
$ac_ext >&5
23805 ac_header_preproc
=no
23807 rm -f conftest.err conftest.
$ac_ext
23808 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23809 echo "${ECHO_T}$ac_header_preproc" >&6
23811 # So? What about this header?
23812 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23814 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
23815 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23816 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
23817 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
23818 ac_header_preproc
=yes
23821 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
23822 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
23823 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
23824 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
23825 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
23826 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
23827 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
23828 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
23829 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
23830 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
23831 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
23832 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
23835 ## ----------------------------------------- ##
23836 ## Report this to wx-dev@lists.wxwidgets.org ##
23837 ## ----------------------------------------- ##
23840 sed "s/^/$as_me: WARNING: /" >&2
23843 echo "$as_me:$LINENO: checking for expat.h" >&5
23844 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23845 if test "${ac_cv_header_expat_h+set}" = set; then
23846 echo $ECHO_N "(cached) $ECHO_C" >&6
23848 ac_cv_header_expat_h
=$ac_header_preproc
23850 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23851 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23854 if test $ac_cv_header_expat_h = yes; then
23859 if test "x$found_expat_h" = "x1"; then
23860 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
23861 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
23862 if test "${wx_cv_expat_is_not_broken+set}" = set; then
23863 echo $ECHO_N "(cached) $ECHO_C" >&6
23869 ac_cpp
='$CXXCPP $CPPFLAGS'
23870 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23871 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23872 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23874 cat >conftest.
$ac_ext <<_ACEOF
23877 cat confdefs.h
>>conftest.
$ac_ext
23878 cat >>conftest.
$ac_ext <<_ACEOF
23879 /* end confdefs.h. */
23889 rm -f conftest.
$ac_objext
23890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23891 (eval $ac_compile) 2>conftest.er1
23893 grep -v '^ *+' conftest.er1
>conftest.err
23895 cat conftest.err
>&5
23896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23897 (exit $ac_status); } &&
23898 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23900 (eval $ac_try) 2>&5
23902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23903 (exit $ac_status); }; } &&
23904 { ac_try
='test -s conftest.$ac_objext'
23905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23906 (eval $ac_try) 2>&5
23908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23909 (exit $ac_status); }; }; then
23910 wx_cv_expat_is_not_broken
=yes
23912 echo "$as_me: failed program was:" >&5
23913 sed 's/^/| /' conftest.
$ac_ext >&5
23915 wx_cv_expat_is_not_broken
=no
23918 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23920 ac_cpp
='$CPP $CPPFLAGS'
23921 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23922 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23923 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23928 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
23929 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
23930 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23931 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
23932 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
23933 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
23934 echo $ECHO_N "(cached) $ECHO_C" >&6
23936 ac_check_lib_save_LIBS
=$LIBS
23937 LIBS
="-lexpat $LIBS"
23938 cat >conftest.
$ac_ext <<_ACEOF
23941 cat confdefs.h
>>conftest.
$ac_ext
23942 cat >>conftest.
$ac_ext <<_ACEOF
23943 /* end confdefs.h. */
23945 /* Override any gcc2 internal prototype to avoid an error. */
23949 /* We use char because int might match the return type of a gcc2
23950 builtin and then its argument prototype would still apply. */
23951 char XML_ParserCreate ();
23955 XML_ParserCreate ();
23960 rm -f conftest.
$ac_objext conftest
$ac_exeext
23961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23962 (eval $ac_link) 2>conftest.er1
23964 grep -v '^ *+' conftest.er1
>conftest.err
23966 cat conftest.err
>&5
23967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23968 (exit $ac_status); } &&
23969 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23971 (eval $ac_try) 2>&5
23973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23974 (exit $ac_status); }; } &&
23975 { ac_try
='test -s conftest$ac_exeext'
23976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23977 (eval $ac_try) 2>&5
23979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23980 (exit $ac_status); }; }; then
23981 ac_cv_lib_expat_XML_ParserCreate
=yes
23983 echo "$as_me: failed program was:" >&5
23984 sed 's/^/| /' conftest.
$ac_ext >&5
23986 ac_cv_lib_expat_XML_ParserCreate
=no
23988 rm -f conftest.err conftest.
$ac_objext \
23989 conftest
$ac_exeext conftest.
$ac_ext
23990 LIBS
=$ac_check_lib_save_LIBS
23992 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23993 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
23994 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
23995 EXPAT_LINK
=" -lexpat"
24000 if test "x$EXPAT_LINK" = "x" ; then
24001 if test "$wxUSE_EXPAT" = "sys" ; then
24002 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
24003 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
24004 { (exit 1); exit 1; }; }
24006 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
24007 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
24008 wxUSE_EXPAT
=builtin
24014 if test "$wxUSE_EXPAT" = "builtin" ; then
24017 subdirs
="$subdirs src/expat"
24024 if test "$wxUSE_LIBMSPACK" != "no"; then
24025 if test "${ac_cv_header_mspack_h+set}" = set; then
24026 echo "$as_me:$LINENO: checking for mspack.h" >&5
24027 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
24028 if test "${ac_cv_header_mspack_h+set}" = set; then
24029 echo $ECHO_N "(cached) $ECHO_C" >&6
24031 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
24032 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
24034 # Is the header compilable?
24035 echo "$as_me:$LINENO: checking mspack.h usability" >&5
24036 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
24037 cat >conftest.
$ac_ext <<_ACEOF
24040 cat confdefs.h
>>conftest.
$ac_ext
24041 cat >>conftest.
$ac_ext <<_ACEOF
24042 /* end confdefs.h. */
24043 $ac_includes_default
24044 #include <mspack.h>
24046 rm -f conftest.
$ac_objext
24047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24048 (eval $ac_compile) 2>conftest.er1
24050 grep -v '^ *+' conftest.er1
>conftest.err
24052 cat conftest.err
>&5
24053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24054 (exit $ac_status); } &&
24055 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24057 (eval $ac_try) 2>&5
24059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24060 (exit $ac_status); }; } &&
24061 { ac_try
='test -s conftest.$ac_objext'
24062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24063 (eval $ac_try) 2>&5
24065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24066 (exit $ac_status); }; }; then
24067 ac_header_compiler
=yes
24069 echo "$as_me: failed program was:" >&5
24070 sed 's/^/| /' conftest.
$ac_ext >&5
24072 ac_header_compiler
=no
24074 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24075 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24076 echo "${ECHO_T}$ac_header_compiler" >&6
24078 # Is the header present?
24079 echo "$as_me:$LINENO: checking mspack.h presence" >&5
24080 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
24081 cat >conftest.
$ac_ext <<_ACEOF
24084 cat confdefs.h
>>conftest.
$ac_ext
24085 cat >>conftest.
$ac_ext <<_ACEOF
24086 /* end confdefs.h. */
24087 #include <mspack.h>
24089 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24090 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24092 grep -v '^ *+' conftest.er1
>conftest.err
24094 cat conftest.err
>&5
24095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24096 (exit $ac_status); } >/dev
/null
; then
24097 if test -s conftest.err
; then
24098 ac_cpp_err
=$ac_c_preproc_warn_flag
24099 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24106 if test -z "$ac_cpp_err"; then
24107 ac_header_preproc
=yes
24109 echo "$as_me: failed program was:" >&5
24110 sed 's/^/| /' conftest.
$ac_ext >&5
24112 ac_header_preproc
=no
24114 rm -f conftest.err conftest.
$ac_ext
24115 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24116 echo "${ECHO_T}$ac_header_preproc" >&6
24118 # So? What about this header?
24119 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24121 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
24122 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24123 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
24124 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
24125 ac_header_preproc
=yes
24128 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
24129 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
24130 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
24131 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
24132 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
24133 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
24134 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
24135 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
24136 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
24137 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
24138 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
24139 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
24142 ## ----------------------------------------- ##
24143 ## Report this to wx-dev@lists.wxwidgets.org ##
24144 ## ----------------------------------------- ##
24147 sed "s/^/$as_me: WARNING: /" >&2
24150 echo "$as_me:$LINENO: checking for mspack.h" >&5
24151 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
24152 if test "${ac_cv_header_mspack_h+set}" = set; then
24153 echo $ECHO_N "(cached) $ECHO_C" >&6
24155 ac_cv_header_mspack_h
=$ac_header_preproc
24157 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
24158 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
24161 if test $ac_cv_header_mspack_h = yes; then
24166 if test "x$found_mspack_h" = "x1"; then
24167 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
24168 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
24169 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
24170 echo $ECHO_N "(cached) $ECHO_C" >&6
24172 ac_check_lib_save_LIBS
=$LIBS
24173 LIBS
="-lmspack $LIBS"
24174 cat >conftest.
$ac_ext <<_ACEOF
24177 cat confdefs.h
>>conftest.
$ac_ext
24178 cat >>conftest.
$ac_ext <<_ACEOF
24179 /* end confdefs.h. */
24181 /* Override any gcc2 internal prototype to avoid an error. */
24185 /* We use char because int might match the return type of a gcc2
24186 builtin and then its argument prototype would still apply. */
24187 char mspack_create_chm_decompressor ();
24191 mspack_create_chm_decompressor ();
24196 rm -f conftest.
$ac_objext conftest
$ac_exeext
24197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24198 (eval $ac_link) 2>conftest.er1
24200 grep -v '^ *+' conftest.er1
>conftest.err
24202 cat conftest.err
>&5
24203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24204 (exit $ac_status); } &&
24205 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24207 (eval $ac_try) 2>&5
24209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24210 (exit $ac_status); }; } &&
24211 { ac_try
='test -s conftest$ac_exeext'
24212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24213 (eval $ac_try) 2>&5
24215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24216 (exit $ac_status); }; }; then
24217 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
24219 echo "$as_me: failed program was:" >&5
24220 sed 's/^/| /' conftest.
$ac_ext >&5
24222 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
24224 rm -f conftest.err conftest.
$ac_objext \
24225 conftest
$ac_exeext conftest.
$ac_ext
24226 LIBS
=$ac_check_lib_save_LIBS
24228 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
24229 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
24230 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
24231 MSPACK_LINK
=" -lmspack"
24235 if test "x$MSPACK_LINK" = "x" ; then
24240 if test "$wxUSE_LIBMSPACK" != "no"; then
24241 cat >>confdefs.h
<<\_ACEOF
24242 #define wxUSE_LIBMSPACK 1
24256 if test "$USE_WIN32" = 1 ; then
24258 for ac_header
in w32api.h
24260 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24261 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24262 echo "$as_me:$LINENO: checking for $ac_header" >&5
24263 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24264 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24265 echo $ECHO_N "(cached) $ECHO_C" >&6
24267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24268 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24270 # Is the header compilable?
24271 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24272 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24273 cat >conftest.
$ac_ext <<_ACEOF
24276 cat confdefs.h
>>conftest.
$ac_ext
24277 cat >>conftest.
$ac_ext <<_ACEOF
24278 /* end confdefs.h. */
24279 $ac_includes_default
24280 #include <$ac_header>
24282 rm -f conftest.
$ac_objext
24283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24284 (eval $ac_compile) 2>conftest.er1
24286 grep -v '^ *+' conftest.er1
>conftest.err
24288 cat conftest.err
>&5
24289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24290 (exit $ac_status); } &&
24291 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24293 (eval $ac_try) 2>&5
24295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24296 (exit $ac_status); }; } &&
24297 { ac_try
='test -s conftest.$ac_objext'
24298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24299 (eval $ac_try) 2>&5
24301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24302 (exit $ac_status); }; }; then
24303 ac_header_compiler
=yes
24305 echo "$as_me: failed program was:" >&5
24306 sed 's/^/| /' conftest.
$ac_ext >&5
24308 ac_header_compiler
=no
24310 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24311 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24312 echo "${ECHO_T}$ac_header_compiler" >&6
24314 # Is the header present?
24315 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24316 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24317 cat >conftest.
$ac_ext <<_ACEOF
24320 cat confdefs.h
>>conftest.
$ac_ext
24321 cat >>conftest.
$ac_ext <<_ACEOF
24322 /* end confdefs.h. */
24323 #include <$ac_header>
24325 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24326 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24328 grep -v '^ *+' conftest.er1
>conftest.err
24330 cat conftest.err
>&5
24331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24332 (exit $ac_status); } >/dev
/null
; then
24333 if test -s conftest.err
; then
24334 ac_cpp_err
=$ac_c_preproc_warn_flag
24335 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24342 if test -z "$ac_cpp_err"; then
24343 ac_header_preproc
=yes
24345 echo "$as_me: failed program was:" >&5
24346 sed 's/^/| /' conftest.
$ac_ext >&5
24348 ac_header_preproc
=no
24350 rm -f conftest.err conftest.
$ac_ext
24351 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24352 echo "${ECHO_T}$ac_header_preproc" >&6
24354 # So? What about this header?
24355 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24357 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24358 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24359 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24360 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24361 ac_header_preproc
=yes
24364 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24365 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24366 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24367 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24368 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24369 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24370 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24371 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24372 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24373 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24374 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24375 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24378 ## ----------------------------------------- ##
24379 ## Report this to wx-dev@lists.wxwidgets.org ##
24380 ## ----------------------------------------- ##
24383 sed "s/^/$as_me: WARNING: /" >&2
24386 echo "$as_me:$LINENO: checking for $ac_header" >&5
24387 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24388 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24389 echo $ECHO_N "(cached) $ECHO_C" >&6
24391 eval "$as_ac_Header=\$ac_header_preproc"
24393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24394 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24397 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24398 cat >>confdefs.h
<<_ACEOF
24399 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24406 if test "${ac_cv_header_windows_h+set}" = set; then
24407 echo "$as_me:$LINENO: checking for windows.h" >&5
24408 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24409 if test "${ac_cv_header_windows_h+set}" = set; then
24410 echo $ECHO_N "(cached) $ECHO_C" >&6
24412 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24413 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24415 # Is the header compilable?
24416 echo "$as_me:$LINENO: checking windows.h usability" >&5
24417 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
24418 cat >conftest.
$ac_ext <<_ACEOF
24421 cat confdefs.h
>>conftest.
$ac_ext
24422 cat >>conftest.
$ac_ext <<_ACEOF
24423 /* end confdefs.h. */
24424 $ac_includes_default
24425 #include <windows.h>
24427 rm -f conftest.
$ac_objext
24428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24429 (eval $ac_compile) 2>conftest.er1
24431 grep -v '^ *+' conftest.er1
>conftest.err
24433 cat conftest.err
>&5
24434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24435 (exit $ac_status); } &&
24436 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24438 (eval $ac_try) 2>&5
24440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24441 (exit $ac_status); }; } &&
24442 { ac_try
='test -s conftest.$ac_objext'
24443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24444 (eval $ac_try) 2>&5
24446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24447 (exit $ac_status); }; }; then
24448 ac_header_compiler
=yes
24450 echo "$as_me: failed program was:" >&5
24451 sed 's/^/| /' conftest.
$ac_ext >&5
24453 ac_header_compiler
=no
24455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24456 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24457 echo "${ECHO_T}$ac_header_compiler" >&6
24459 # Is the header present?
24460 echo "$as_me:$LINENO: checking windows.h presence" >&5
24461 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
24462 cat >conftest.
$ac_ext <<_ACEOF
24465 cat confdefs.h
>>conftest.
$ac_ext
24466 cat >>conftest.
$ac_ext <<_ACEOF
24467 /* end confdefs.h. */
24468 #include <windows.h>
24470 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24471 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24473 grep -v '^ *+' conftest.er1
>conftest.err
24475 cat conftest.err
>&5
24476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24477 (exit $ac_status); } >/dev
/null
; then
24478 if test -s conftest.err
; then
24479 ac_cpp_err
=$ac_c_preproc_warn_flag
24480 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24487 if test -z "$ac_cpp_err"; then
24488 ac_header_preproc
=yes
24490 echo "$as_me: failed program was:" >&5
24491 sed 's/^/| /' conftest.
$ac_ext >&5
24493 ac_header_preproc
=no
24495 rm -f conftest.err conftest.
$ac_ext
24496 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24497 echo "${ECHO_T}$ac_header_preproc" >&6
24499 # So? What about this header?
24500 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24502 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
24503 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24504 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
24505 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
24506 ac_header_preproc
=yes
24509 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
24510 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
24511 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
24512 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
24513 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
24514 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
24515 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
24516 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
24517 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
24518 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
24519 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
24520 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
24523 ## ----------------------------------------- ##
24524 ## Report this to wx-dev@lists.wxwidgets.org ##
24525 ## ----------------------------------------- ##
24528 sed "s/^/$as_me: WARNING: /" >&2
24531 echo "$as_me:$LINENO: checking for windows.h" >&5
24532 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24533 if test "${ac_cv_header_windows_h+set}" = set; then
24534 echo $ECHO_N "(cached) $ECHO_C" >&6
24536 ac_cv_header_windows_h
=$ac_header_preproc
24538 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24539 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24542 if test $ac_cv_header_windows_h = yes; then
24546 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
24547 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
24548 { (exit 1); exit 1; }; }
24554 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
24556 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
24557 LIBS
="$LIBS -loleacc"
24562 LIBS
="$LIBS -lkernel32 -luser32"
24563 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
24566 if test "$wxUSE_ODBC" = "sys" ; then
24569 if test "$wxUSE_ODBC" = "yes" ; then
24570 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
24571 cat >>confdefs.h
<<\_ACEOF
24572 #define wxUSE_ODBC 1
24577 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
24578 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
24580 WIN32INSTALL
=win32install
24583 if test "$wxUSE_GUI" = "yes"; then
24593 if test "$wxUSE_COCOA" = 1 ; then
24594 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
24595 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
24596 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
24597 wxUSE_PRINTING_ARCHITECTURE
=no
24599 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
24600 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
24601 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
24602 wxUSE_DRAG_AND_DROP
=no
24604 if test "$wxUSE_DRAGIMAGE" = "yes"; then
24605 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
24606 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
24611 if test "$wxUSE_MSW" = 1 ; then
24617 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
24621 if test "$wxUSE_GTK" = 1; then
24622 echo "$as_me:$LINENO: checking for GTK+ version" >&5
24623 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
24625 gtk_version_cached
=1
24626 if test "${wx_cv_lib_gtk+set}" = set; then
24627 echo $ECHO_N "(cached) $ECHO_C" >&6
24630 gtk_version_cached
=0
24631 echo "$as_me:$LINENO: result: " >&5
24632 echo "${ECHO_T}" >&6
24635 if test "$wxUSE_THREADS" = "yes"; then
24636 GTK_MODULES
=gthread
24640 if test "x$wxGTK_VERSION" != "x1"; then
24641 # Check whether --enable-gtktest or --disable-gtktest was given.
24642 if test "${enable_gtktest+set}" = set; then
24643 enableval
="$enable_gtktest"
24649 pkg_config_args
=gtk
+-2.0
24650 for module
in .
$GTK_MODULES
24654 pkg_config_args
="$pkg_config_args gthread-2.0"
24661 # Extract the first word of "pkg-config", so it can be a program name with args.
24662 set dummy pkg
-config; ac_word
=$2
24663 echo "$as_me:$LINENO: checking for $ac_word" >&5
24664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24665 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24666 echo $ECHO_N "(cached) $ECHO_C" >&6
24668 case $PKG_CONFIG in
24670 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24674 for as_dir
in $PATH
24677 test -z "$as_dir" && as_dir
=.
24678 for ac_exec_ext
in '' $ac_executable_extensions; do
24679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24680 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24687 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24691 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24693 if test -n "$PKG_CONFIG"; then
24694 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24695 echo "${ECHO_T}$PKG_CONFIG" >&6
24697 echo "$as_me:$LINENO: result: no" >&5
24698 echo "${ECHO_T}no" >&6
24702 if test x
$PKG_CONFIG != xno
; then
24703 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
24706 echo "*** pkg-config too old; version 0.7 or better required."
24714 min_gtk_version
=2.0.0
24715 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
24716 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
24718 if test x
$PKG_CONFIG != xno
; then
24719 ## don't try to run the test against uninstalled libtool libs
24720 if $PKG_CONFIG --uninstalled $pkg_config_args; then
24721 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
24725 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
24732 if test x
"$no_gtk" = x
; then
24733 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
24734 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
24735 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24736 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24737 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24738 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24739 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24740 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24741 if test "x$enable_gtktest" = "xyes" ; then
24742 ac_save_CFLAGS
="$CFLAGS"
24743 ac_save_LIBS
="$LIBS"
24744 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24745 LIBS
="$GTK_LIBS $LIBS"
24747 if test "$cross_compiling" = yes; then
24748 echo $ac_n "cross compiling; assumed OK... $ac_c"
24750 cat >conftest.
$ac_ext <<_ACEOF
24753 cat confdefs.h
>>conftest.
$ac_ext
24754 cat >>conftest.
$ac_ext <<_ACEOF
24755 /* end confdefs.h. */
24757 #include <gtk/gtk.h>
24759 #include <stdlib.h>
24764 int major, minor, micro;
24767 system ("touch conf.gtktest");
24769 /* HP/UX 9 (%@#!) writes to sscanf strings */
24770 tmp_version = g_strdup("$min_gtk_version");
24771 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24772 printf("%s, bad version string\n", "$min_gtk_version");
24776 if ((gtk_major_version != $gtk_config_major_version) ||
24777 (gtk_minor_version != $gtk_config_minor_version) ||
24778 (gtk_micro_version != $gtk_config_micro_version))
24780 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24781 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24782 gtk_major_version, gtk_minor_version, gtk_micro_version);
24783 printf ("*** was found! If pkg-config was correct, then it is best\n");
24784 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24785 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24786 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24787 printf("*** required on your system.\n");
24788 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
24789 printf("*** to point to the correct configuration files\n");
24791 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24792 (gtk_minor_version != GTK_MINOR_VERSION) ||
24793 (gtk_micro_version != GTK_MICRO_VERSION))
24795 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24796 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24797 printf("*** library (version %d.%d.%d)\n",
24798 gtk_major_version, gtk_minor_version, gtk_micro_version);
24802 if ((gtk_major_version > major) ||
24803 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24804 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24810 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24811 gtk_major_version, gtk_minor_version, gtk_micro_version);
24812 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24813 major, minor, micro);
24814 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24816 printf("*** If you have already installed a sufficiently new version, this error\n");
24817 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
24818 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24819 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
24820 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
24821 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24822 printf("*** so that the correct libraries are found at run-time))\n");
24829 rm -f conftest
$ac_exeext
24830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24831 (eval $ac_link) 2>&5
24833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24834 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24836 (eval $ac_try) 2>&5
24838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24839 (exit $ac_status); }; }; then
24842 echo "$as_me: program exited with status $ac_status" >&5
24843 echo "$as_me: failed program was:" >&5
24844 sed 's/^/| /' conftest.
$ac_ext >&5
24846 ( exit $ac_status )
24849 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24851 CFLAGS
="$ac_save_CFLAGS"
24852 LIBS
="$ac_save_LIBS"
24855 if test "x$no_gtk" = x
; then
24856 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
24857 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
24860 echo "$as_me:$LINENO: result: no" >&5
24861 echo "${ECHO_T}no" >&6
24862 if test "$PKG_CONFIG" = "no" ; then
24863 echo "*** A new enough version of pkg-config was not found."
24864 echo "*** See http://pkgconfig.sourceforge.net"
24866 if test -f conf.gtktest
; then
24869 echo "*** Could not run GTK+ test program, checking why..."
24870 ac_save_CFLAGS
="$CFLAGS"
24871 ac_save_LIBS
="$LIBS"
24872 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24873 LIBS
="$LIBS $GTK_LIBS"
24874 cat >conftest.
$ac_ext <<_ACEOF
24877 cat confdefs.h
>>conftest.
$ac_ext
24878 cat >>conftest.
$ac_ext <<_ACEOF
24879 /* end confdefs.h. */
24881 #include <gtk/gtk.h>
24887 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24892 rm -f conftest.
$ac_objext conftest
$ac_exeext
24893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24894 (eval $ac_link) 2>conftest.er1
24896 grep -v '^ *+' conftest.er1
>conftest.err
24898 cat conftest.err
>&5
24899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24900 (exit $ac_status); } &&
24901 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24903 (eval $ac_try) 2>&5
24905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24906 (exit $ac_status); }; } &&
24907 { ac_try
='test -s conftest$ac_exeext'
24908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24909 (eval $ac_try) 2>&5
24911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24912 (exit $ac_status); }; }; then
24913 echo "*** The test program compiled, but did not run. This usually means"
24914 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
24915 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
24916 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24917 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24918 echo "*** is required on your system"
24920 echo "*** If you have an old version installed, it is best to remove it, although"
24921 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24923 echo "$as_me: failed program was:" >&5
24924 sed 's/^/| /' conftest.
$ac_ext >&5
24926 echo "*** The test program failed to compile or link. See the file config.log for the"
24927 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
24929 rm -f conftest.err conftest.
$ac_objext \
24930 conftest
$ac_exeext conftest.
$ac_ext
24931 CFLAGS
="$ac_save_CFLAGS"
24932 LIBS
="$ac_save_LIBS"
24945 if test -z "$wx_cv_lib_gtk"; then
24946 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
24948 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24949 if test "${with_gtk_prefix+set}" = set; then
24950 withval
="$with_gtk_prefix"
24951 gtk_config_prefix
="$withval"
24953 gtk_config_prefix
=""
24956 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24957 if test "${with_gtk_exec_prefix+set}" = set; then
24958 withval
="$with_gtk_exec_prefix"
24959 gtk_config_exec_prefix
="$withval"
24961 gtk_config_exec_prefix
=""
24963 # Check whether --enable-gtktest or --disable-gtktest was given.
24964 if test "${enable_gtktest+set}" = set; then
24965 enableval
="$enable_gtktest"
24971 for module
in .
$GTK_MODULES
24975 gtk_config_args
="$gtk_config_args gthread"
24980 if test x
$gtk_config_exec_prefix != x
; then
24981 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24982 if test x
${GTK_CONFIG+set} != xset
; then
24983 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
24986 if test x
$gtk_config_prefix != x
; then
24987 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
24988 if test x
${GTK_CONFIG+set} != xset
; then
24989 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
24993 # Extract the first word of "gtk-config", so it can be a program name with args.
24994 set dummy gtk
-config; ac_word
=$2
24995 echo "$as_me:$LINENO: checking for $ac_word" >&5
24996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24997 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24998 echo $ECHO_N "(cached) $ECHO_C" >&6
25000 case $GTK_CONFIG in
25002 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
25005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25006 for as_dir
in $PATH
25009 test -z "$as_dir" && as_dir
=.
25010 for ac_exec_ext
in '' $ac_executable_extensions; do
25011 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25012 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25019 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
25023 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
25025 if test -n "$GTK_CONFIG"; then
25026 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25027 echo "${ECHO_T}$GTK_CONFIG" >&6
25029 echo "$as_me:$LINENO: result: no" >&5
25030 echo "${ECHO_T}no" >&6
25033 min_gtk_version
=1.2.7
25034 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25035 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25037 if test "$GTK_CONFIG" = "no" ; then
25040 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
25041 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
25042 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
25043 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25044 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
25045 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25046 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
25047 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25048 if test "x$enable_gtktest" = "xyes" ; then
25049 ac_save_CFLAGS
="$CFLAGS"
25050 ac_save_LIBS
="$LIBS"
25051 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25052 LIBS
="$GTK_LIBS $LIBS"
25054 if test "$cross_compiling" = yes; then
25055 echo $ac_n "cross compiling; assumed OK... $ac_c"
25057 cat >conftest.
$ac_ext <<_ACEOF
25060 cat confdefs.h
>>conftest.
$ac_ext
25061 cat >>conftest.
$ac_ext <<_ACEOF
25062 /* end confdefs.h. */
25064 #include <gtk/gtk.h>
25066 #include <stdlib.h>
25071 int major, minor, micro;
25074 system ("touch conf.gtktest");
25076 /* HP/UX 9 (%@#!) writes to sscanf strings */
25077 tmp_version = g_strdup("$min_gtk_version");
25078 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
25079 printf("%s, bad version string\n", "$min_gtk_version");
25083 if ((gtk_major_version != $gtk_config_major_version) ||
25084 (gtk_minor_version != $gtk_config_minor_version) ||
25085 (gtk_micro_version != $gtk_config_micro_version))
25087 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25088 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25089 gtk_major_version, gtk_minor_version, gtk_micro_version);
25090 printf ("*** was found! If gtk-config was correct, then it is best\n");
25091 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25092 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25093 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25094 printf("*** required on your system.\n");
25095 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25096 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25097 printf("*** before re-running configure\n");
25099 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25100 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25101 (gtk_minor_version != GTK_MINOR_VERSION) ||
25102 (gtk_micro_version != GTK_MICRO_VERSION))
25104 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25105 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25106 printf("*** library (version %d.%d.%d)\n",
25107 gtk_major_version, gtk_minor_version, gtk_micro_version);
25109 #endif /* defined (GTK_MAJOR_VERSION) ... */
25112 if ((gtk_major_version > major) ||
25113 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25114 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25120 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25121 gtk_major_version, gtk_minor_version, gtk_micro_version);
25122 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25123 major, minor, micro);
25124 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25126 printf("*** If you have already installed a sufficiently new version, this error\n");
25127 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25128 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25129 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25130 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25131 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25132 printf("*** so that the correct libraries are found at run-time))\n");
25139 rm -f conftest
$ac_exeext
25140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25141 (eval $ac_link) 2>&5
25143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25144 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25146 (eval $ac_try) 2>&5
25148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25149 (exit $ac_status); }; }; then
25152 echo "$as_me: program exited with status $ac_status" >&5
25153 echo "$as_me: failed program was:" >&5
25154 sed 's/^/| /' conftest.
$ac_ext >&5
25156 ( exit $ac_status )
25159 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25161 CFLAGS
="$ac_save_CFLAGS"
25162 LIBS
="$ac_save_LIBS"
25165 if test "x$no_gtk" = x
; then
25166 echo "$as_me:$LINENO: result: yes" >&5
25167 echo "${ECHO_T}yes" >&6
25168 wx_cv_lib_gtk
=1.2.7
25170 echo "$as_me:$LINENO: result: no" >&5
25171 echo "${ECHO_T}no" >&6
25172 if test "$GTK_CONFIG" = "no" ; then
25173 echo "*** The gtk-config script installed by GTK could not be found"
25174 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25175 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25176 echo "*** full path to gtk-config."
25178 if test -f conf.gtktest
; then
25181 echo "*** Could not run GTK test program, checking why..."
25182 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25183 LIBS
="$LIBS $GTK_LIBS"
25184 cat >conftest.
$ac_ext <<_ACEOF
25187 cat confdefs.h
>>conftest.
$ac_ext
25188 cat >>conftest.
$ac_ext <<_ACEOF
25189 /* end confdefs.h. */
25191 #include <gtk/gtk.h>
25197 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25202 rm -f conftest.
$ac_objext conftest
$ac_exeext
25203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25204 (eval $ac_link) 2>conftest.er1
25206 grep -v '^ *+' conftest.er1
>conftest.err
25208 cat conftest.err
>&5
25209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25210 (exit $ac_status); } &&
25211 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25213 (eval $ac_try) 2>&5
25215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25216 (exit $ac_status); }; } &&
25217 { ac_try
='test -s conftest$ac_exeext'
25218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25219 (eval $ac_try) 2>&5
25221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25222 (exit $ac_status); }; }; then
25223 echo "*** The test program compiled, but did not run. This usually means"
25224 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25225 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25226 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25227 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25228 echo "*** is required on your system"
25230 echo "*** If you have an old version installed, it is best to remove it, although"
25231 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25233 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25234 echo "*** came with the system with the command"
25236 echo "*** rpm --erase --nodeps gtk gtk-devel"
25238 echo "$as_me: failed program was:" >&5
25239 sed 's/^/| /' conftest.
$ac_ext >&5
25241 echo "*** The test program failed to compile or link. See the file config.log for the"
25242 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25243 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25244 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25246 rm -f conftest.err conftest.
$ac_objext \
25247 conftest
$ac_exeext conftest.
$ac_ext
25248 CFLAGS
="$ac_save_CFLAGS"
25249 LIBS
="$ac_save_LIBS"
25261 if test -z "$wx_cv_lib_gtk"; then
25263 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
25264 if test "${with_gtk_prefix+set}" = set; then
25265 withval
="$with_gtk_prefix"
25266 gtk_config_prefix
="$withval"
25268 gtk_config_prefix
=""
25271 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
25272 if test "${with_gtk_exec_prefix+set}" = set; then
25273 withval
="$with_gtk_exec_prefix"
25274 gtk_config_exec_prefix
="$withval"
25276 gtk_config_exec_prefix
=""
25278 # Check whether --enable-gtktest or --disable-gtktest was given.
25279 if test "${enable_gtktest+set}" = set; then
25280 enableval
="$enable_gtktest"
25286 for module
in .
$GTK_MODULES
25290 gtk_config_args
="$gtk_config_args gthread"
25295 if test x
$gtk_config_exec_prefix != x
; then
25296 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
25297 if test x
${GTK_CONFIG+set} != xset
; then
25298 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
25301 if test x
$gtk_config_prefix != x
; then
25302 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
25303 if test x
${GTK_CONFIG+set} != xset
; then
25304 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
25308 # Extract the first word of "gtk-config", so it can be a program name with args.
25309 set dummy gtk
-config; ac_word
=$2
25310 echo "$as_me:$LINENO: checking for $ac_word" >&5
25311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25312 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
25313 echo $ECHO_N "(cached) $ECHO_C" >&6
25315 case $GTK_CONFIG in
25317 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
25320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25321 for as_dir
in $PATH
25324 test -z "$as_dir" && as_dir
=.
25325 for ac_exec_ext
in '' $ac_executable_extensions; do
25326 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25327 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25334 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
25338 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
25340 if test -n "$GTK_CONFIG"; then
25341 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25342 echo "${ECHO_T}$GTK_CONFIG" >&6
25344 echo "$as_me:$LINENO: result: no" >&5
25345 echo "${ECHO_T}no" >&6
25348 min_gtk_version
=1.2.3
25349 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25350 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25352 if test "$GTK_CONFIG" = "no" ; then
25355 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
25356 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
25357 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
25358 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25359 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
25360 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25361 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
25362 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25363 if test "x$enable_gtktest" = "xyes" ; then
25364 ac_save_CFLAGS
="$CFLAGS"
25365 ac_save_LIBS
="$LIBS"
25366 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25367 LIBS
="$GTK_LIBS $LIBS"
25369 if test "$cross_compiling" = yes; then
25370 echo $ac_n "cross compiling; assumed OK... $ac_c"
25372 cat >conftest.
$ac_ext <<_ACEOF
25375 cat confdefs.h
>>conftest.
$ac_ext
25376 cat >>conftest.
$ac_ext <<_ACEOF
25377 /* end confdefs.h. */
25379 #include <gtk/gtk.h>
25381 #include <stdlib.h>
25386 int major, minor, micro;
25389 system ("touch conf.gtktest");
25391 /* HP/UX 9 (%@#!) writes to sscanf strings */
25392 tmp_version = g_strdup("$min_gtk_version");
25393 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
25394 printf("%s, bad version string\n", "$min_gtk_version");
25398 if ((gtk_major_version != $gtk_config_major_version) ||
25399 (gtk_minor_version != $gtk_config_minor_version) ||
25400 (gtk_micro_version != $gtk_config_micro_version))
25402 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25403 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25404 gtk_major_version, gtk_minor_version, gtk_micro_version);
25405 printf ("*** was found! If gtk-config was correct, then it is best\n");
25406 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25407 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25408 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25409 printf("*** required on your system.\n");
25410 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25411 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25412 printf("*** before re-running configure\n");
25414 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25415 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25416 (gtk_minor_version != GTK_MINOR_VERSION) ||
25417 (gtk_micro_version != GTK_MICRO_VERSION))
25419 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25420 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25421 printf("*** library (version %d.%d.%d)\n",
25422 gtk_major_version, gtk_minor_version, gtk_micro_version);
25424 #endif /* defined (GTK_MAJOR_VERSION) ... */
25427 if ((gtk_major_version > major) ||
25428 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25429 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25435 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25436 gtk_major_version, gtk_minor_version, gtk_micro_version);
25437 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25438 major, minor, micro);
25439 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25441 printf("*** If you have already installed a sufficiently new version, this error\n");
25442 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25443 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25444 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25445 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25446 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25447 printf("*** so that the correct libraries are found at run-time))\n");
25454 rm -f conftest
$ac_exeext
25455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25456 (eval $ac_link) 2>&5
25458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25459 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25461 (eval $ac_try) 2>&5
25463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25464 (exit $ac_status); }; }; then
25467 echo "$as_me: program exited with status $ac_status" >&5
25468 echo "$as_me: failed program was:" >&5
25469 sed 's/^/| /' conftest.
$ac_ext >&5
25471 ( exit $ac_status )
25474 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25476 CFLAGS
="$ac_save_CFLAGS"
25477 LIBS
="$ac_save_LIBS"
25480 if test "x$no_gtk" = x
; then
25481 echo "$as_me:$LINENO: result: yes" >&5
25482 echo "${ECHO_T}yes" >&6
25483 wx_cv_lib_gtk
=1.2.3
25485 echo "$as_me:$LINENO: result: no" >&5
25486 echo "${ECHO_T}no" >&6
25487 if test "$GTK_CONFIG" = "no" ; then
25488 echo "*** The gtk-config script installed by GTK could not be found"
25489 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25490 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25491 echo "*** full path to gtk-config."
25493 if test -f conf.gtktest
; then
25496 echo "*** Could not run GTK test program, checking why..."
25497 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25498 LIBS
="$LIBS $GTK_LIBS"
25499 cat >conftest.
$ac_ext <<_ACEOF
25502 cat confdefs.h
>>conftest.
$ac_ext
25503 cat >>conftest.
$ac_ext <<_ACEOF
25504 /* end confdefs.h. */
25506 #include <gtk/gtk.h>
25512 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25517 rm -f conftest.
$ac_objext conftest
$ac_exeext
25518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25519 (eval $ac_link) 2>conftest.er1
25521 grep -v '^ *+' conftest.er1
>conftest.err
25523 cat conftest.err
>&5
25524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25525 (exit $ac_status); } &&
25526 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25528 (eval $ac_try) 2>&5
25530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25531 (exit $ac_status); }; } &&
25532 { ac_try
='test -s conftest$ac_exeext'
25533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25534 (eval $ac_try) 2>&5
25536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25537 (exit $ac_status); }; }; then
25538 echo "*** The test program compiled, but did not run. This usually means"
25539 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25540 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25541 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25542 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25543 echo "*** is required on your system"
25545 echo "*** If you have an old version installed, it is best to remove it, although"
25546 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25548 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25549 echo "*** came with the system with the command"
25551 echo "*** rpm --erase --nodeps gtk gtk-devel"
25553 echo "$as_me: failed program was:" >&5
25554 sed 's/^/| /' conftest.
$ac_ext >&5
25556 echo "*** The test program failed to compile or link. See the file config.log for the"
25557 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25558 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25559 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25561 rm -f conftest.err conftest.
$ac_objext \
25562 conftest
$ac_exeext conftest.
$ac_ext
25563 CFLAGS
="$ac_save_CFLAGS"
25564 LIBS
="$ac_save_LIBS"
25579 if test -z "$wx_cv_lib_gtk"; then
25582 wx_cv_cflags_gtk
=$GTK_CFLAGS
25583 wx_cv_libs_gtk
=$GTK_LIBS
25590 if test "$gtk_version_cached" = 1; then
25591 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
25592 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
25595 case "$wx_cv_lib_gtk" in
25604 *) { { echo "$as_me:$LINENO: error:
25605 The development files for GTK+ were not found. For GTK+ 2, please
25606 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25607 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25608 and that the version is 1.2.3 or above. Also check that the
25609 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25610 --libs' are in the LD_LIBRARY_PATH or equivalent.
25612 echo "$as_me: error:
25613 The development files for GTK+ were not found. For GTK+ 2, please
25614 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25615 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25616 and that the version is 1.2.3 or above. Also check that the
25617 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25618 --libs' are in the LD_LIBRARY_PATH or equivalent.
25620 { (exit 1); exit 1; }; }
25624 if test "$WXGTK20" = 1; then
25625 save_CFLAGS
="$CFLAGS"
25627 CFLAGS
="$CFLAGS $wx_cv_cflags_gtk"
25628 LIBS
="$LIBS $wx_cv_libs_gtk"
25631 for ac_func
in pango_font_family_is_monospace
25633 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25634 echo "$as_me:$LINENO: checking for $ac_func" >&5
25635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25636 if eval "test \"\${$as_ac_var+set}\" = set"; then
25637 echo $ECHO_N "(cached) $ECHO_C" >&6
25639 cat >conftest.
$ac_ext <<_ACEOF
25642 cat confdefs.h
>>conftest.
$ac_ext
25643 cat >>conftest.
$ac_ext <<_ACEOF
25644 /* end confdefs.h. */
25645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25647 #define $ac_func innocuous_$ac_func
25649 /* System header to define __stub macros and hopefully few prototypes,
25650 which can conflict with char $ac_func (); below.
25651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25652 <limits.h> exists even on freestanding compilers. */
25655 # include <limits.h>
25657 # include <assert.h>
25662 /* Override any gcc2 internal prototype to avoid an error. */
25667 /* We use char because int might match the return type of a gcc2
25668 builtin and then its argument prototype would still apply. */
25670 /* The GNU C library defines this for functions which it implements
25671 to always fail with ENOSYS. Some functions are actually named
25672 something starting with __ and the normal name is an alias. */
25673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25676 char (*f) () = $ac_func;
25685 return f != $ac_func;
25690 rm -f conftest.
$ac_objext conftest
$ac_exeext
25691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25692 (eval $ac_link) 2>conftest.er1
25694 grep -v '^ *+' conftest.er1
>conftest.err
25696 cat conftest.err
>&5
25697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25698 (exit $ac_status); } &&
25699 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25701 (eval $ac_try) 2>&5
25703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25704 (exit $ac_status); }; } &&
25705 { ac_try
='test -s conftest$ac_exeext'
25706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25707 (eval $ac_try) 2>&5
25709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25710 (exit $ac_status); }; }; then
25711 eval "$as_ac_var=yes"
25713 echo "$as_me: failed program was:" >&5
25714 sed 's/^/| /' conftest.
$ac_ext >&5
25716 eval "$as_ac_var=no"
25718 rm -f conftest.err conftest.
$ac_objext \
25719 conftest
$ac_exeext conftest.
$ac_ext
25721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25723 if test `eval echo '${'$as_ac_var'}'` = yes; then
25724 cat >>confdefs.h
<<_ACEOF
25725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25732 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
25733 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
25734 cat >conftest.
$ac_ext <<_ACEOF
25737 cat confdefs.h
>>conftest.
$ac_ext
25738 cat >>conftest.
$ac_ext <<_ACEOF
25739 /* end confdefs.h. */
25741 #include <gtk/gtk.h>
25747 void *f = gtk_icon_size_lookup;
25753 rm -f conftest.
$ac_objext
25754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25755 (eval $ac_compile) 2>conftest.er1
25757 grep -v '^ *+' conftest.er1
>conftest.err
25759 cat conftest.err
>&5
25760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25761 (exit $ac_status); } &&
25762 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25764 (eval $ac_try) 2>&5
25766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25767 (exit $ac_status); }; } &&
25768 { ac_try
='test -s conftest.$ac_objext'
25769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25770 (eval $ac_try) 2>&5
25772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25773 (exit $ac_status); }; }; then
25775 echo "$as_me:$LINENO: result: no" >&5
25776 echo "${ECHO_T}no" >&6
25779 echo "$as_me: failed program was:" >&5
25780 sed 's/^/| /' conftest.
$ac_ext >&5
25783 cat >>confdefs.h
<<\_ACEOF
25784 #define NEED_GTK_ICON_SIZE_LOOKUP 1
25787 echo "$as_me:$LINENO: result: yes" >&5
25788 echo "${ECHO_T}yes" >&6
25791 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25793 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
25794 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
25795 cat >conftest.
$ac_ext <<_ACEOF
25798 cat confdefs.h
>>conftest.
$ac_ext
25799 cat >>conftest.
$ac_ext <<_ACEOF
25800 /* end confdefs.h. */
25802 #include <gtk/gtk.h>
25808 #if !GTK_CHECK_VERSION(2,4,0)
25809 #error "Not GTK+ 2.4"
25816 rm -f conftest.
$ac_objext
25817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25818 (eval $ac_compile) 2>conftest.er1
25820 grep -v '^ *+' conftest.er1
>conftest.err
25822 cat conftest.err
>&5
25823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25824 (exit $ac_status); } &&
25825 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25827 (eval $ac_try) 2>&5
25829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25830 (exit $ac_status); }; } &&
25831 { ac_try
='test -s conftest.$ac_objext'
25832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25833 (eval $ac_try) 2>&5
25835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25836 (exit $ac_status); }; }; then
25838 cat >>confdefs.h
<<\_ACEOF
25839 #define __WXGTK24__ 1
25842 echo "$as_me:$LINENO: result: yes" >&5
25843 echo "${ECHO_T}yes" >&6
25846 echo "$as_me: failed program was:" >&5
25847 sed 's/^/| /' conftest.
$ac_ext >&5
25850 echo "$as_me:$LINENO: result: no" >&5
25851 echo "${ECHO_T}no" >&6
25854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25856 CFLAGS
="$save_CFLAGS"
25859 if test "$wxUSE_UNICODE" = "yes"; then
25860 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
25861 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
25866 if test "$USE_DARWIN" != 1; then
25868 for ac_func
in poll
25870 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25871 echo "$as_me:$LINENO: checking for $ac_func" >&5
25872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25873 if eval "test \"\${$as_ac_var+set}\" = set"; then
25874 echo $ECHO_N "(cached) $ECHO_C" >&6
25876 cat >conftest.
$ac_ext <<_ACEOF
25879 cat confdefs.h
>>conftest.
$ac_ext
25880 cat >>conftest.
$ac_ext <<_ACEOF
25881 /* end confdefs.h. */
25882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25884 #define $ac_func innocuous_$ac_func
25886 /* System header to define __stub macros and hopefully few prototypes,
25887 which can conflict with char $ac_func (); below.
25888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25889 <limits.h> exists even on freestanding compilers. */
25892 # include <limits.h>
25894 # include <assert.h>
25899 /* Override any gcc2 internal prototype to avoid an error. */
25904 /* We use char because int might match the return type of a gcc2
25905 builtin and then its argument prototype would still apply. */
25907 /* The GNU C library defines this for functions which it implements
25908 to always fail with ENOSYS. Some functions are actually named
25909 something starting with __ and the normal name is an alias. */
25910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25913 char (*f) () = $ac_func;
25922 return f != $ac_func;
25927 rm -f conftest.
$ac_objext conftest
$ac_exeext
25928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25929 (eval $ac_link) 2>conftest.er1
25931 grep -v '^ *+' conftest.er1
>conftest.err
25933 cat conftest.err
>&5
25934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25935 (exit $ac_status); } &&
25936 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25938 (eval $ac_try) 2>&5
25940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25941 (exit $ac_status); }; } &&
25942 { ac_try
='test -s conftest$ac_exeext'
25943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25944 (eval $ac_try) 2>&5
25946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25947 (exit $ac_status); }; }; then
25948 eval "$as_ac_var=yes"
25950 echo "$as_me: failed program was:" >&5
25951 sed 's/^/| /' conftest.
$ac_ext >&5
25953 eval "$as_ac_var=no"
25955 rm -f conftest.err conftest.
$ac_objext \
25956 conftest
$ac_exeext conftest.
$ac_ext
25958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25960 if test `eval echo '${'$as_ac_var'}'` = yes; then
25961 cat >>confdefs.h
<<_ACEOF
25962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25970 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
25971 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
25973 AFMINSTALL
=afminstall
25977 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
25978 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
25979 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
25980 echo $ECHO_N "(cached) $ECHO_C" >&6
25982 ac_check_lib_save_LIBS
=$LIBS
25984 cat >conftest.
$ac_ext <<_ACEOF
25987 cat confdefs.h
>>conftest.
$ac_ext
25988 cat >>conftest.
$ac_ext <<_ACEOF
25989 /* end confdefs.h. */
25991 /* Override any gcc2 internal prototype to avoid an error. */
25995 /* We use char because int might match the return type of a gcc2
25996 builtin and then its argument prototype would still apply. */
25997 char gdk_im_open ();
26006 rm -f conftest.
$ac_objext conftest
$ac_exeext
26007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26008 (eval $ac_link) 2>conftest.er1
26010 grep -v '^ *+' conftest.er1
>conftest.err
26012 cat conftest.err
>&5
26013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26014 (exit $ac_status); } &&
26015 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26017 (eval $ac_try) 2>&5
26019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26020 (exit $ac_status); }; } &&
26021 { ac_try
='test -s conftest$ac_exeext'
26022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26023 (eval $ac_try) 2>&5
26025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26026 (exit $ac_status); }; }; then
26027 ac_cv_lib_gdk_gdk_im_open
=yes
26029 echo "$as_me: failed program was:" >&5
26030 sed 's/^/| /' conftest.
$ac_ext >&5
26032 ac_cv_lib_gdk_gdk_im_open
=no
26034 rm -f conftest.err conftest.
$ac_objext \
26035 conftest
$ac_exeext conftest.
$ac_ext
26036 LIBS
=$ac_check_lib_save_LIBS
26038 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
26039 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
26040 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
26041 cat >>confdefs.h
<<\_ACEOF
26049 if test "$wxUSE_GPE" = "yes"; then
26050 echo "$as_me:$LINENO: checking for gpewidget library" >&5
26051 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
26054 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26056 for ac_extension
in a so sl dylib
; do
26057 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
26058 ac_find_libraries
=$ac_dir
26064 if test "$ac_find_libraries" != "" ; then
26066 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26068 if test $result = 0; then
26071 ac_path_to_link
=" -L$ac_find_libraries"
26074 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
26076 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26077 echo "${ECHO_T}found at $ac_find_libraries" >&6
26079 echo "$as_me:$LINENO: result: not found" >&5
26080 echo "${ECHO_T}not found" >&6
26086 if test "$wxUSE_MGL" = 1; then
26087 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
26088 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
26089 if test "x$MGL_ROOT" = x
; then
26090 echo "$as_me:$LINENO: result: not found" >&5
26091 echo "${ECHO_T}not found" >&6
26092 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
26093 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
26094 { (exit 1); exit 1; }; }
26096 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
26097 echo "${ECHO_T}$MGL_ROOT" >&6
26100 echo "$as_me:$LINENO: checking for libmgl location" >&5
26101 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
26104 if test "x$wxUSE_SHARED" = xyes
; then
26105 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
26107 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
26111 mgl_os_candidates
="dos32/dj2"
26114 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
26115 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
26116 { (exit 1); exit 1; }; }
26122 for mgl_os_i
in $mgl_os_candidates ; do
26123 if test "x$mgl_os" = x
; then
26124 if test "$wxUSE_DEBUG_FLAG" = yes ; then
26125 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
26126 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
26131 if test "x$mgl_lib_type" = x
; then
26132 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
26133 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
26134 mgl_lib_type
=release
26141 if test "x$mgl_os" = x
; then
26142 echo "$as_me:$LINENO: result: not found" >&5
26143 echo "${ECHO_T}not found" >&6
26144 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
26145 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
26146 { (exit 1); exit 1; }; }
26148 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
26149 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
26151 wxUSE_UNIVERSAL
="yes"
26153 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
26154 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
26156 AFMINSTALL
=afminstall
26161 if test "$wxUSE_MICROWIN" = 1; then
26162 echo "$as_me:$LINENO: checking for MicroWindows" >&5
26163 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
26164 if test "x$MICROWINDOWS" = x
; then
26165 echo "$as_me:$LINENO: result: not found" >&5
26166 echo "${ECHO_T}not found" >&6
26167 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
26168 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
26169 { (exit 1); exit 1; }; }
26171 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
26172 echo "${ECHO_T}$MICROWINDOWS" >&6
26175 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
26176 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
26177 echo "${ECHO_T}MicroWindows' libraries found." >&6
26179 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
26180 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
26181 { (exit 1); exit 1; }; }
26184 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
26185 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
26187 wxUSE_UNIVERSAL
="yes"
26189 AFMINSTALL
=afminstall
26191 GUIDIST
=MICROWIN_DIST
26193 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
26196 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26198 if test "x$ac_path_x_has_been_run" != xyes
; then
26199 echo "$as_me:$LINENO: checking for X" >&5
26200 echo $ECHO_N "checking for X... $ECHO_C" >&6
26202 ac_path_x_has_been_run
=yes
26204 # Check whether --with-x or --without-x was given.
26205 if test "${with_x+set}" = set; then
26209 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
26210 if test "x$with_x" = xno
; then
26211 # The user explicitly disabled X.
26214 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
26215 # Both variables are already set.
26218 if test "${ac_cv_have_x+set}" = set; then
26219 echo $ECHO_N "(cached) $ECHO_C" >&6
26221 # One or both of the vars are not set, and there is no cached value.
26222 ac_x_includes
=no ac_x_libraries
=no
26223 rm -fr conftest.dir
26224 if mkdir conftest.dir
; then
26226 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
26227 cat >Imakefile
<<'_ACEOF'
26229 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
26231 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
26232 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
26233 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
26234 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
26235 for ac_extension
in a so sl
; do
26236 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
26237 test -f $ac_im_libdir/libX11.
$ac_extension; then
26238 ac_im_usrlibdir
=$ac_im_libdir; break
26241 # Screen out bogus values from the imake configuration. They are
26242 # bogus both because they are the default anyway, and because
26243 # using them would break gcc on systems where it needs fixed includes.
26244 case $ac_im_incroot in
26246 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
26248 case $ac_im_usrlibdir in
26249 /usr
/lib
| /lib
) ;;
26250 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
26254 rm -fr conftest.dir
26257 # Standard set of common directories for X headers.
26258 # Check X11 before X11Rn because it is often a symlink to the current release.
26270 /usr/local/X11/include
26271 /usr/local/X11R6/include
26272 /usr/local/X11R5/include
26273 /usr/local/X11R4/include
26275 /usr/local/include/X11
26276 /usr/local/include/X11R6
26277 /usr/local/include/X11R5
26278 /usr/local/include/X11R4
26282 /usr/XFree86/include/X11
26286 /usr/unsupported/include
26287 /usr/athena/include
26288 /usr/local/x11r5/include
26289 /usr/lpp/Xamples/include
26291 /usr/openwin/include
26292 /usr/openwin/share/include'
26294 if test "$ac_x_includes" = no
; then
26295 # Guess where to find include files, by looking for a specified header file.
26296 # First, try using that file with no special directory specified.
26297 cat >conftest.
$ac_ext <<_ACEOF
26300 cat confdefs.h
>>conftest.
$ac_ext
26301 cat >>conftest.
$ac_ext <<_ACEOF
26302 /* end confdefs.h. */
26303 #include <X11/Intrinsic.h>
26305 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26306 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26308 grep -v '^ *+' conftest.er1
>conftest.err
26310 cat conftest.err
>&5
26311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26312 (exit $ac_status); } >/dev
/null
; then
26313 if test -s conftest.err
; then
26314 ac_cpp_err
=$ac_c_preproc_warn_flag
26315 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26322 if test -z "$ac_cpp_err"; then
26323 # We can compile using X headers with no special include directory.
26326 echo "$as_me: failed program was:" >&5
26327 sed 's/^/| /' conftest.
$ac_ext >&5
26329 for ac_dir
in $ac_x_header_dirs; do
26330 if test -r "$ac_dir/X11/Intrinsic.h"; then
26331 ac_x_includes
=$ac_dir
26336 rm -f conftest.err conftest.
$ac_ext
26337 fi # $ac_x_includes = no
26339 if test "$ac_x_libraries" = no
; then
26340 # Check for the libraries.
26341 # See if we find them without any special options.
26342 # Don't add to $LIBS permanently.
26345 cat >conftest.
$ac_ext <<_ACEOF
26348 cat confdefs.h
>>conftest.
$ac_ext
26349 cat >>conftest.
$ac_ext <<_ACEOF
26350 /* end confdefs.h. */
26351 #include <X11/Intrinsic.h>
26360 rm -f conftest.
$ac_objext conftest
$ac_exeext
26361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26362 (eval $ac_link) 2>conftest.er1
26364 grep -v '^ *+' conftest.er1
>conftest.err
26366 cat conftest.err
>&5
26367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26368 (exit $ac_status); } &&
26369 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26371 (eval $ac_try) 2>&5
26373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26374 (exit $ac_status); }; } &&
26375 { ac_try
='test -s conftest$ac_exeext'
26376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26377 (eval $ac_try) 2>&5
26379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26380 (exit $ac_status); }; }; then
26382 # We can link X programs with no special library path.
26385 echo "$as_me: failed program was:" >&5
26386 sed 's/^/| /' conftest.
$ac_ext >&5
26389 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
26391 # Don't even attempt the hair of trying to link an X program!
26392 for ac_extension
in a so sl
; do
26393 if test -r $ac_dir/libXt.
$ac_extension; then
26394 ac_x_libraries
=$ac_dir
26400 rm -f conftest.err conftest.
$ac_objext \
26401 conftest
$ac_exeext conftest.
$ac_ext
26402 fi # $ac_x_libraries = no
26404 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
26405 # Didn't find X anywhere. Cache the known absence of X.
26406 ac_cv_have_x
="have_x=no"
26408 # Record where we found X for the cache.
26409 ac_cv_have_x
="have_x=yes \
26410 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
26415 eval "$ac_cv_have_x"
26418 if test "$have_x" != yes; then
26419 echo "$as_me:$LINENO: result: $have_x" >&5
26420 echo "${ECHO_T}$have_x" >&6
26423 # If each of the values was on the command line, it overrides each guess.
26424 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
26425 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
26426 # Update the cache value to reflect the command line values.
26427 ac_cv_have_x
="have_x=yes \
26428 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
26429 # It might be that x_includes is empty (headers are found in the
26430 # standard search path. Then output the corresponding message
26431 ac_out_x_includes
=$x_includes
26432 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
26433 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
26434 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
26438 if test "$no_x" = yes; then
26439 # Not all programs may use this symbol, but it does not hurt to define it.
26441 cat >>confdefs.h
<<\_ACEOF
26442 #define X_DISPLAY_MISSING 1
26445 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
26447 if test -n "$x_includes"; then
26448 X_CFLAGS
="$X_CFLAGS -I$x_includes"
26451 # It would also be nice to do this for all -L options, not just this one.
26452 if test -n "$x_libraries"; then
26453 X_LIBS
="$X_LIBS -L$x_libraries"
26454 # For Solaris; some versions of Sun CC require a space after -R and
26455 # others require no space. Words are not sufficient . . . .
26456 case `(uname -sr) 2>/dev/null` in
26458 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
26459 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
26460 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
26461 cat >conftest.
$ac_ext <<_ACEOF
26464 cat confdefs.h
>>conftest.
$ac_ext
26465 cat >>conftest.
$ac_ext <<_ACEOF
26466 /* end confdefs.h. */
26476 rm -f conftest.
$ac_objext conftest
$ac_exeext
26477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26478 (eval $ac_link) 2>conftest.er1
26480 grep -v '^ *+' conftest.er1
>conftest.err
26482 cat conftest.err
>&5
26483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26484 (exit $ac_status); } &&
26485 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26487 (eval $ac_try) 2>&5
26489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26490 (exit $ac_status); }; } &&
26491 { ac_try
='test -s conftest$ac_exeext'
26492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26493 (eval $ac_try) 2>&5
26495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26496 (exit $ac_status); }; }; then
26499 echo "$as_me: failed program was:" >&5
26500 sed 's/^/| /' conftest.
$ac_ext >&5
26504 rm -f conftest.err conftest.
$ac_objext \
26505 conftest
$ac_exeext conftest.
$ac_ext
26506 if test $ac_R_nospace = yes; then
26507 echo "$as_me:$LINENO: result: no" >&5
26508 echo "${ECHO_T}no" >&6
26509 X_LIBS
="$X_LIBS -R$x_libraries"
26511 LIBS
="$ac_xsave_LIBS -R $x_libraries"
26512 cat >conftest.
$ac_ext <<_ACEOF
26515 cat confdefs.h
>>conftest.
$ac_ext
26516 cat >>conftest.
$ac_ext <<_ACEOF
26517 /* end confdefs.h. */
26527 rm -f conftest.
$ac_objext conftest
$ac_exeext
26528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26529 (eval $ac_link) 2>conftest.er1
26531 grep -v '^ *+' conftest.er1
>conftest.err
26533 cat conftest.err
>&5
26534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26535 (exit $ac_status); } &&
26536 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26538 (eval $ac_try) 2>&5
26540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26541 (exit $ac_status); }; } &&
26542 { ac_try
='test -s conftest$ac_exeext'
26543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26544 (eval $ac_try) 2>&5
26546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26547 (exit $ac_status); }; }; then
26550 echo "$as_me: failed program was:" >&5
26551 sed 's/^/| /' conftest.
$ac_ext >&5
26555 rm -f conftest.err conftest.
$ac_objext \
26556 conftest
$ac_exeext conftest.
$ac_ext
26557 if test $ac_R_space = yes; then
26558 echo "$as_me:$LINENO: result: yes" >&5
26559 echo "${ECHO_T}yes" >&6
26560 X_LIBS
="$X_LIBS -R $x_libraries"
26562 echo "$as_me:$LINENO: result: neither works" >&5
26563 echo "${ECHO_T}neither works" >&6
26566 LIBS
=$ac_xsave_LIBS
26570 # Check for system-dependent libraries X programs must link with.
26571 # Do this before checking for the system-independent R6 libraries
26572 # (-lICE), since we may need -lsocket or whatever for X linking.
26574 if test "$ISC" = yes; then
26575 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
26577 # Martyn Johnson says this is needed for Ultrix, if the X
26578 # libraries were built with DECnet support. And Karl Berry says
26579 # the Alpha needs dnet_stub (dnet does not exist).
26580 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
26581 cat >conftest.
$ac_ext <<_ACEOF
26584 cat confdefs.h
>>conftest.
$ac_ext
26585 cat >>conftest.
$ac_ext <<_ACEOF
26586 /* end confdefs.h. */
26588 /* Override any gcc2 internal prototype to avoid an error. */
26592 /* We use char because int might match the return type of a gcc2
26593 builtin and then its argument prototype would still apply. */
26594 char XOpenDisplay ();
26603 rm -f conftest.
$ac_objext conftest
$ac_exeext
26604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26605 (eval $ac_link) 2>conftest.er1
26607 grep -v '^ *+' conftest.er1
>conftest.err
26609 cat conftest.err
>&5
26610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26611 (exit $ac_status); } &&
26612 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26614 (eval $ac_try) 2>&5
26616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26617 (exit $ac_status); }; } &&
26618 { ac_try
='test -s conftest$ac_exeext'
26619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26620 (eval $ac_try) 2>&5
26622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26623 (exit $ac_status); }; }; then
26626 echo "$as_me: failed program was:" >&5
26627 sed 's/^/| /' conftest.
$ac_ext >&5
26629 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
26630 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
26631 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
26632 echo $ECHO_N "(cached) $ECHO_C" >&6
26634 ac_check_lib_save_LIBS
=$LIBS
26635 LIBS
="-ldnet $LIBS"
26636 cat >conftest.
$ac_ext <<_ACEOF
26639 cat confdefs.h
>>conftest.
$ac_ext
26640 cat >>conftest.
$ac_ext <<_ACEOF
26641 /* end confdefs.h. */
26643 /* Override any gcc2 internal prototype to avoid an error. */
26647 /* We use char because int might match the return type of a gcc2
26648 builtin and then its argument prototype would still apply. */
26658 rm -f conftest.
$ac_objext conftest
$ac_exeext
26659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26660 (eval $ac_link) 2>conftest.er1
26662 grep -v '^ *+' conftest.er1
>conftest.err
26664 cat conftest.err
>&5
26665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26666 (exit $ac_status); } &&
26667 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26669 (eval $ac_try) 2>&5
26671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26672 (exit $ac_status); }; } &&
26673 { ac_try
='test -s conftest$ac_exeext'
26674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26675 (eval $ac_try) 2>&5
26677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26678 (exit $ac_status); }; }; then
26679 ac_cv_lib_dnet_dnet_ntoa
=yes
26681 echo "$as_me: failed program was:" >&5
26682 sed 's/^/| /' conftest.
$ac_ext >&5
26684 ac_cv_lib_dnet_dnet_ntoa
=no
26686 rm -f conftest.err conftest.
$ac_objext \
26687 conftest
$ac_exeext conftest.
$ac_ext
26688 LIBS
=$ac_check_lib_save_LIBS
26690 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
26691 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
26692 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
26693 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
26696 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
26697 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
26698 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
26699 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
26700 echo $ECHO_N "(cached) $ECHO_C" >&6
26702 ac_check_lib_save_LIBS
=$LIBS
26703 LIBS
="-ldnet_stub $LIBS"
26704 cat >conftest.
$ac_ext <<_ACEOF
26707 cat confdefs.h
>>conftest.
$ac_ext
26708 cat >>conftest.
$ac_ext <<_ACEOF
26709 /* end confdefs.h. */
26711 /* Override any gcc2 internal prototype to avoid an error. */
26715 /* We use char because int might match the return type of a gcc2
26716 builtin and then its argument prototype would still apply. */
26726 rm -f conftest.
$ac_objext conftest
$ac_exeext
26727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26728 (eval $ac_link) 2>conftest.er1
26730 grep -v '^ *+' conftest.er1
>conftest.err
26732 cat conftest.err
>&5
26733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26734 (exit $ac_status); } &&
26735 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26737 (eval $ac_try) 2>&5
26739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26740 (exit $ac_status); }; } &&
26741 { ac_try
='test -s conftest$ac_exeext'
26742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26743 (eval $ac_try) 2>&5
26745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26746 (exit $ac_status); }; }; then
26747 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
26749 echo "$as_me: failed program was:" >&5
26750 sed 's/^/| /' conftest.
$ac_ext >&5
26752 ac_cv_lib_dnet_stub_dnet_ntoa
=no
26754 rm -f conftest.err conftest.
$ac_objext \
26755 conftest
$ac_exeext conftest.
$ac_ext
26756 LIBS
=$ac_check_lib_save_LIBS
26758 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26759 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
26760 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
26761 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
26766 rm -f conftest.err conftest.
$ac_objext \
26767 conftest
$ac_exeext conftest.
$ac_ext
26768 LIBS
="$ac_xsave_LIBS"
26770 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26771 # to get the SysV transport functions.
26772 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26774 # The nsl library prevents programs from opening the X display
26775 # on Irix 5.2, according to T.E. Dickey.
26776 # The functions gethostbyname, getservbyname, and inet_addr are
26777 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26778 echo "$as_me:$LINENO: checking for gethostbyname" >&5
26779 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
26780 if test "${ac_cv_func_gethostbyname+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 gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26791 #define gethostbyname innocuous_gethostbyname
26793 /* System header to define __stub macros and hopefully few prototypes,
26794 which can conflict with char gethostbyname (); 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>
26804 #undef gethostbyname
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. */
26813 char gethostbyname ();
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_gethostbyname) || defined (__stub___gethostbyname)
26820 char (*f) () = gethostbyname;
26829 return f != gethostbyname;
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_gethostbyname
=yes
26857 echo "$as_me: failed program was:" >&5
26858 sed 's/^/| /' conftest.
$ac_ext >&5
26860 ac_cv_func_gethostbyname
=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_gethostbyname" >&5
26866 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
26868 if test $ac_cv_func_gethostbyname = no
; then
26869 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
26870 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
26871 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
26872 echo $ECHO_N "(cached) $ECHO_C" >&6
26874 ac_check_lib_save_LIBS
=$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. */
26889 char gethostbyname ();
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_nsl_gethostbyname
=yes
26921 echo "$as_me: failed program was:" >&5
26922 sed 's/^/| /' conftest.
$ac_ext >&5
26924 ac_cv_lib_nsl_gethostbyname
=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_nsl_gethostbyname" >&5
26931 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
26932 if test $ac_cv_lib_nsl_gethostbyname = yes; then
26933 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
26936 if test $ac_cv_lib_nsl_gethostbyname = no
; then
26937 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
26938 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
26939 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
26940 echo $ECHO_N "(cached) $ECHO_C" >&6
26942 ac_check_lib_save_LIBS
=$LIBS
26944 cat >conftest.
$ac_ext <<_ACEOF
26947 cat confdefs.h
>>conftest.
$ac_ext
26948 cat >>conftest.
$ac_ext <<_ACEOF
26949 /* end confdefs.h. */
26951 /* Override any gcc2 internal prototype to avoid an error. */
26955 /* We use char because int might match the return type of a gcc2
26956 builtin and then its argument prototype would still apply. */
26957 char gethostbyname ();
26966 rm -f conftest.
$ac_objext conftest
$ac_exeext
26967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26968 (eval $ac_link) 2>conftest.er1
26970 grep -v '^ *+' conftest.er1
>conftest.err
26972 cat conftest.err
>&5
26973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26974 (exit $ac_status); } &&
26975 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26977 (eval $ac_try) 2>&5
26979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26980 (exit $ac_status); }; } &&
26981 { ac_try
='test -s conftest$ac_exeext'
26982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26983 (eval $ac_try) 2>&5
26985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26986 (exit $ac_status); }; }; then
26987 ac_cv_lib_bsd_gethostbyname
=yes
26989 echo "$as_me: failed program was:" >&5
26990 sed 's/^/| /' conftest.
$ac_ext >&5
26992 ac_cv_lib_bsd_gethostbyname
=no
26994 rm -f conftest.err conftest.
$ac_objext \
26995 conftest
$ac_exeext conftest.
$ac_ext
26996 LIBS
=$ac_check_lib_save_LIBS
26998 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
26999 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
27000 if test $ac_cv_lib_bsd_gethostbyname = yes; then
27001 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
27007 # lieder@skyler.mavd.honeywell.com says without -lsocket,
27008 # socket/setsockopt and other routines are undefined under SCO ODT
27009 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
27010 # on later versions), says Simon Leinen: it contains gethostby*
27011 # variants that don't use the name server (or something). -lsocket
27012 # must be given before -lnsl if both are needed. We assume that
27013 # if connect needs -lnsl, so does gethostbyname.
27014 echo "$as_me:$LINENO: checking for connect" >&5
27015 echo $ECHO_N "checking for connect... $ECHO_C" >&6
27016 if test "${ac_cv_func_connect+set}" = set; then
27017 echo $ECHO_N "(cached) $ECHO_C" >&6
27019 cat >conftest.
$ac_ext <<_ACEOF
27022 cat confdefs.h
>>conftest.
$ac_ext
27023 cat >>conftest.
$ac_ext <<_ACEOF
27024 /* end confdefs.h. */
27025 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
27026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27027 #define connect innocuous_connect
27029 /* System header to define __stub macros and hopefully few prototypes,
27030 which can conflict with char connect (); below.
27031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27032 <limits.h> exists even on freestanding compilers. */
27035 # include <limits.h>
27037 # include <assert.h>
27042 /* Override any gcc2 internal prototype to avoid an error. */
27047 /* We use char because int might match the return type of a gcc2
27048 builtin and then its argument prototype would still apply. */
27050 /* The GNU C library defines this for functions which it implements
27051 to always fail with ENOSYS. Some functions are actually named
27052 something starting with __ and the normal name is an alias. */
27053 #if defined (__stub_connect) || defined (__stub___connect)
27056 char (*f) () = connect;
27065 return f != connect;
27070 rm -f conftest.
$ac_objext conftest
$ac_exeext
27071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27072 (eval $ac_link) 2>conftest.er1
27074 grep -v '^ *+' conftest.er1
>conftest.err
27076 cat conftest.err
>&5
27077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27078 (exit $ac_status); } &&
27079 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27081 (eval $ac_try) 2>&5
27083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27084 (exit $ac_status); }; } &&
27085 { ac_try
='test -s conftest$ac_exeext'
27086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27087 (eval $ac_try) 2>&5
27089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27090 (exit $ac_status); }; }; then
27091 ac_cv_func_connect
=yes
27093 echo "$as_me: failed program was:" >&5
27094 sed 's/^/| /' conftest.
$ac_ext >&5
27096 ac_cv_func_connect
=no
27098 rm -f conftest.err conftest.
$ac_objext \
27099 conftest
$ac_exeext conftest.
$ac_ext
27101 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
27102 echo "${ECHO_T}$ac_cv_func_connect" >&6
27104 if test $ac_cv_func_connect = no
; then
27105 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
27106 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
27107 if test "${ac_cv_lib_socket_connect+set}" = set; then
27108 echo $ECHO_N "(cached) $ECHO_C" >&6
27110 ac_check_lib_save_LIBS
=$LIBS
27111 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
27112 cat >conftest.
$ac_ext <<_ACEOF
27115 cat confdefs.h
>>conftest.
$ac_ext
27116 cat >>conftest.
$ac_ext <<_ACEOF
27117 /* end confdefs.h. */
27119 /* Override any gcc2 internal prototype to avoid an error. */
27123 /* We use char because int might match the return type of a gcc2
27124 builtin and then its argument prototype would still apply. */
27134 rm -f conftest.
$ac_objext conftest
$ac_exeext
27135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27136 (eval $ac_link) 2>conftest.er1
27138 grep -v '^ *+' conftest.er1
>conftest.err
27140 cat conftest.err
>&5
27141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27142 (exit $ac_status); } &&
27143 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27145 (eval $ac_try) 2>&5
27147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27148 (exit $ac_status); }; } &&
27149 { ac_try
='test -s conftest$ac_exeext'
27150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27151 (eval $ac_try) 2>&5
27153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27154 (exit $ac_status); }; }; then
27155 ac_cv_lib_socket_connect
=yes
27157 echo "$as_me: failed program was:" >&5
27158 sed 's/^/| /' conftest.
$ac_ext >&5
27160 ac_cv_lib_socket_connect
=no
27162 rm -f conftest.err conftest.
$ac_objext \
27163 conftest
$ac_exeext conftest.
$ac_ext
27164 LIBS
=$ac_check_lib_save_LIBS
27166 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
27167 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
27168 if test $ac_cv_lib_socket_connect = yes; then
27169 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
27174 # Guillermo Gomez says -lposix is necessary on A/UX.
27175 echo "$as_me:$LINENO: checking for remove" >&5
27176 echo $ECHO_N "checking for remove... $ECHO_C" >&6
27177 if test "${ac_cv_func_remove+set}" = set; then
27178 echo $ECHO_N "(cached) $ECHO_C" >&6
27180 cat >conftest.
$ac_ext <<_ACEOF
27183 cat confdefs.h
>>conftest.
$ac_ext
27184 cat >>conftest.
$ac_ext <<_ACEOF
27185 /* end confdefs.h. */
27186 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
27187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27188 #define remove innocuous_remove
27190 /* System header to define __stub macros and hopefully few prototypes,
27191 which can conflict with char remove (); below.
27192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27193 <limits.h> exists even on freestanding compilers. */
27196 # include <limits.h>
27198 # include <assert.h>
27203 /* Override any gcc2 internal prototype to avoid an error. */
27208 /* We use char because int might match the return type of a gcc2
27209 builtin and then its argument prototype would still apply. */
27211 /* The GNU C library defines this for functions which it implements
27212 to always fail with ENOSYS. Some functions are actually named
27213 something starting with __ and the normal name is an alias. */
27214 #if defined (__stub_remove) || defined (__stub___remove)
27217 char (*f) () = remove;
27226 return f != remove;
27231 rm -f conftest.
$ac_objext conftest
$ac_exeext
27232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27233 (eval $ac_link) 2>conftest.er1
27235 grep -v '^ *+' conftest.er1
>conftest.err
27237 cat conftest.err
>&5
27238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27239 (exit $ac_status); } &&
27240 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27242 (eval $ac_try) 2>&5
27244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27245 (exit $ac_status); }; } &&
27246 { ac_try
='test -s conftest$ac_exeext'
27247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27248 (eval $ac_try) 2>&5
27250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27251 (exit $ac_status); }; }; then
27252 ac_cv_func_remove
=yes
27254 echo "$as_me: failed program was:" >&5
27255 sed 's/^/| /' conftest.
$ac_ext >&5
27257 ac_cv_func_remove
=no
27259 rm -f conftest.err conftest.
$ac_objext \
27260 conftest
$ac_exeext conftest.
$ac_ext
27262 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
27263 echo "${ECHO_T}$ac_cv_func_remove" >&6
27265 if test $ac_cv_func_remove = no
; then
27266 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
27267 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
27268 if test "${ac_cv_lib_posix_remove+set}" = set; then
27269 echo $ECHO_N "(cached) $ECHO_C" >&6
27271 ac_check_lib_save_LIBS
=$LIBS
27272 LIBS
="-lposix $LIBS"
27273 cat >conftest.
$ac_ext <<_ACEOF
27276 cat confdefs.h
>>conftest.
$ac_ext
27277 cat >>conftest.
$ac_ext <<_ACEOF
27278 /* end confdefs.h. */
27280 /* Override any gcc2 internal prototype to avoid an error. */
27284 /* We use char because int might match the return type of a gcc2
27285 builtin and then its argument prototype would still apply. */
27295 rm -f conftest.
$ac_objext conftest
$ac_exeext
27296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27297 (eval $ac_link) 2>conftest.er1
27299 grep -v '^ *+' conftest.er1
>conftest.err
27301 cat conftest.err
>&5
27302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27303 (exit $ac_status); } &&
27304 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27306 (eval $ac_try) 2>&5
27308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27309 (exit $ac_status); }; } &&
27310 { ac_try
='test -s conftest$ac_exeext'
27311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27312 (eval $ac_try) 2>&5
27314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27315 (exit $ac_status); }; }; then
27316 ac_cv_lib_posix_remove
=yes
27318 echo "$as_me: failed program was:" >&5
27319 sed 's/^/| /' conftest.
$ac_ext >&5
27321 ac_cv_lib_posix_remove
=no
27323 rm -f conftest.err conftest.
$ac_objext \
27324 conftest
$ac_exeext conftest.
$ac_ext
27325 LIBS
=$ac_check_lib_save_LIBS
27327 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
27328 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
27329 if test $ac_cv_lib_posix_remove = yes; then
27330 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
27335 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
27336 echo "$as_me:$LINENO: checking for shmat" >&5
27337 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
27338 if test "${ac_cv_func_shmat+set}" = set; then
27339 echo $ECHO_N "(cached) $ECHO_C" >&6
27341 cat >conftest.
$ac_ext <<_ACEOF
27344 cat confdefs.h
>>conftest.
$ac_ext
27345 cat >>conftest.
$ac_ext <<_ACEOF
27346 /* end confdefs.h. */
27347 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
27348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27349 #define shmat innocuous_shmat
27351 /* System header to define __stub macros and hopefully few prototypes,
27352 which can conflict with char shmat (); below.
27353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27354 <limits.h> exists even on freestanding compilers. */
27357 # include <limits.h>
27359 # include <assert.h>
27364 /* Override any gcc2 internal prototype to avoid an error. */
27369 /* We use char because int might match the return type of a gcc2
27370 builtin and then its argument prototype would still apply. */
27372 /* The GNU C library defines this for functions which it implements
27373 to always fail with ENOSYS. Some functions are actually named
27374 something starting with __ and the normal name is an alias. */
27375 #if defined (__stub_shmat) || defined (__stub___shmat)
27378 char (*f) () = shmat;
27392 rm -f conftest.
$ac_objext conftest
$ac_exeext
27393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27394 (eval $ac_link) 2>conftest.er1
27396 grep -v '^ *+' conftest.er1
>conftest.err
27398 cat conftest.err
>&5
27399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27400 (exit $ac_status); } &&
27401 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27403 (eval $ac_try) 2>&5
27405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27406 (exit $ac_status); }; } &&
27407 { ac_try
='test -s conftest$ac_exeext'
27408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27409 (eval $ac_try) 2>&5
27411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27412 (exit $ac_status); }; }; then
27413 ac_cv_func_shmat
=yes
27415 echo "$as_me: failed program was:" >&5
27416 sed 's/^/| /' conftest.
$ac_ext >&5
27418 ac_cv_func_shmat
=no
27420 rm -f conftest.err conftest.
$ac_objext \
27421 conftest
$ac_exeext conftest.
$ac_ext
27423 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
27424 echo "${ECHO_T}$ac_cv_func_shmat" >&6
27426 if test $ac_cv_func_shmat = no
; then
27427 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
27428 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
27429 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
27430 echo $ECHO_N "(cached) $ECHO_C" >&6
27432 ac_check_lib_save_LIBS
=$LIBS
27434 cat >conftest.
$ac_ext <<_ACEOF
27437 cat confdefs.h
>>conftest.
$ac_ext
27438 cat >>conftest.
$ac_ext <<_ACEOF
27439 /* end confdefs.h. */
27441 /* Override any gcc2 internal prototype to avoid an error. */
27445 /* We use char because int might match the return type of a gcc2
27446 builtin and then its argument prototype would still apply. */
27456 rm -f conftest.
$ac_objext conftest
$ac_exeext
27457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27458 (eval $ac_link) 2>conftest.er1
27460 grep -v '^ *+' conftest.er1
>conftest.err
27462 cat conftest.err
>&5
27463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27464 (exit $ac_status); } &&
27465 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27467 (eval $ac_try) 2>&5
27469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27470 (exit $ac_status); }; } &&
27471 { ac_try
='test -s conftest$ac_exeext'
27472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27473 (eval $ac_try) 2>&5
27475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27476 (exit $ac_status); }; }; then
27477 ac_cv_lib_ipc_shmat
=yes
27479 echo "$as_me: failed program was:" >&5
27480 sed 's/^/| /' conftest.
$ac_ext >&5
27482 ac_cv_lib_ipc_shmat
=no
27484 rm -f conftest.err conftest.
$ac_objext \
27485 conftest
$ac_exeext conftest.
$ac_ext
27486 LIBS
=$ac_check_lib_save_LIBS
27488 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
27489 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
27490 if test $ac_cv_lib_ipc_shmat = yes; then
27491 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
27497 # Check for libraries that X11R6 Xt/Xaw programs need.
27498 ac_save_LDFLAGS
=$LDFLAGS
27499 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
27500 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
27501 # check for ICE first), but we must link in the order -lSM -lICE or
27502 # we get undefined symbols. So assume we have SM if we have ICE.
27503 # These have to be linked with before -lX11, unlike the other
27504 # libraries we check for below, so use a different variable.
27505 # John Interrante, Karl Berry
27506 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
27507 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
27508 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
27509 echo $ECHO_N "(cached) $ECHO_C" >&6
27511 ac_check_lib_save_LIBS
=$LIBS
27512 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
27513 cat >conftest.
$ac_ext <<_ACEOF
27516 cat confdefs.h
>>conftest.
$ac_ext
27517 cat >>conftest.
$ac_ext <<_ACEOF
27518 /* end confdefs.h. */
27520 /* Override any gcc2 internal prototype to avoid an error. */
27524 /* We use char because int might match the return type of a gcc2
27525 builtin and then its argument prototype would still apply. */
27526 char IceConnectionNumber ();
27530 IceConnectionNumber ();
27535 rm -f conftest.
$ac_objext conftest
$ac_exeext
27536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27537 (eval $ac_link) 2>conftest.er1
27539 grep -v '^ *+' conftest.er1
>conftest.err
27541 cat conftest.err
>&5
27542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27543 (exit $ac_status); } &&
27544 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27546 (eval $ac_try) 2>&5
27548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27549 (exit $ac_status); }; } &&
27550 { ac_try
='test -s conftest$ac_exeext'
27551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27552 (eval $ac_try) 2>&5
27554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27555 (exit $ac_status); }; }; then
27556 ac_cv_lib_ICE_IceConnectionNumber
=yes
27558 echo "$as_me: failed program was:" >&5
27559 sed 's/^/| /' conftest.
$ac_ext >&5
27561 ac_cv_lib_ICE_IceConnectionNumber
=no
27563 rm -f conftest.err conftest.
$ac_objext \
27564 conftest
$ac_exeext conftest.
$ac_ext
27565 LIBS
=$ac_check_lib_save_LIBS
27567 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
27568 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
27569 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
27570 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
27573 LDFLAGS
=$ac_save_LDFLAGS
27578 if test "$no_x" = "yes"; then
27579 { { echo "$as_me:$LINENO: error: X11 not found" >&5
27580 echo "$as_me: error: X11 not found" >&2;}
27581 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
27584 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
27585 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
27586 AFMINSTALL
=afminstall
27587 COMPILED_X_PROGRAM
=0
27591 if test "$wxUSE_X11" = 1; then
27592 if test "$wxUSE_NANOX" = "yes"; then
27593 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
27594 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
27595 if test "x$MICROWIN" = x
; then
27596 echo "$as_me:$LINENO: result: not found" >&5
27597 echo "${ECHO_T}not found" >&6
27598 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
27599 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
27600 { (exit 1); exit 1; }; }
27602 echo "$as_me:$LINENO: result: $MICROWIN" >&5
27603 echo "${ECHO_T}$MICROWIN" >&6
27604 cat >>confdefs.h
<<\_ACEOF
27605 #define wxUSE_NANOX 1
27611 if test "$wxUSE_UNICODE" = "yes"; then
27615 if test -z "$PKG_CONFIG"; then
27616 # Extract the first word of "pkg-config", so it can be a program name with args.
27617 set dummy pkg
-config; ac_word
=$2
27618 echo "$as_me:$LINENO: checking for $ac_word" >&5
27619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27620 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27621 echo $ECHO_N "(cached) $ECHO_C" >&6
27623 case $PKG_CONFIG in
27625 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27629 for as_dir
in $PATH
27632 test -z "$as_dir" && as_dir
=.
27633 for ac_exec_ext
in '' $ac_executable_extensions; do
27634 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27635 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27642 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27646 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27648 if test -n "$PKG_CONFIG"; then
27649 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27650 echo "${ECHO_T}$PKG_CONFIG" >&6
27652 echo "$as_me:$LINENO: result: no" >&5
27653 echo "${ECHO_T}no" >&6
27658 if test "$PKG_CONFIG" = "no" ; then
27659 echo "*** The pkg-config script could not be found. Make sure it is"
27660 echo "*** in your path, or set the PKG_CONFIG environment variable"
27661 echo "*** to the full path to pkg-config."
27662 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27664 PKG_CONFIG_MIN_VERSION
=0.9.0
27665 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27666 echo "$as_me:$LINENO: checking for pangox" >&5
27667 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
27669 if $PKG_CONFIG --exists "pangox" ; then
27670 echo "$as_me:$LINENO: result: yes" >&5
27671 echo "${ECHO_T}yes" >&6
27674 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
27675 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
27676 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
27677 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
27678 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
27680 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
27681 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
27682 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
27683 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
27684 echo "${ECHO_T}$PANGOX_LIBS" >&6
27688 ## If we have a custom action on failure, don't print errors, but
27689 ## do set a variable so people can do so.
27690 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
27697 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27698 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27702 if test $succeeded = yes; then
27704 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
27705 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
27709 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
27710 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
27711 { (exit 1); exit 1; }; }
27719 if test -z "$PKG_CONFIG"; then
27720 # Extract the first word of "pkg-config", so it can be a program name with args.
27721 set dummy pkg
-config; ac_word
=$2
27722 echo "$as_me:$LINENO: checking for $ac_word" >&5
27723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27724 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27725 echo $ECHO_N "(cached) $ECHO_C" >&6
27727 case $PKG_CONFIG in
27729 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27733 for as_dir
in $PATH
27736 test -z "$as_dir" && as_dir
=.
27737 for ac_exec_ext
in '' $ac_executable_extensions; do
27738 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27739 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27746 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27750 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27752 if test -n "$PKG_CONFIG"; then
27753 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27754 echo "${ECHO_T}$PKG_CONFIG" >&6
27756 echo "$as_me:$LINENO: result: no" >&5
27757 echo "${ECHO_T}no" >&6
27762 if test "$PKG_CONFIG" = "no" ; then
27763 echo "*** The pkg-config script could not be found. Make sure it is"
27764 echo "*** in your path, or set the PKG_CONFIG environment variable"
27765 echo "*** to the full path to pkg-config."
27766 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27768 PKG_CONFIG_MIN_VERSION
=0.9.0
27769 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27770 echo "$as_me:$LINENO: checking for pangoft2" >&5
27771 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
27773 if $PKG_CONFIG --exists "pangoft2" ; then
27774 echo "$as_me:$LINENO: result: yes" >&5
27775 echo "${ECHO_T}yes" >&6
27778 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
27779 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
27780 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
27781 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
27782 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
27784 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
27785 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
27786 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
27787 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
27788 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
27792 ## If we have a custom action on failure, don't print errors, but
27793 ## do set a variable so people can do so.
27794 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
27801 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27802 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27806 if test $succeeded = yes; then
27808 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
27809 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
27813 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
27814 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
27815 wxUSE_PRINTING_ARCHITECTURE
="no"
27823 if test -z "$PKG_CONFIG"; then
27824 # Extract the first word of "pkg-config", so it can be a program name with args.
27825 set dummy pkg
-config; ac_word
=$2
27826 echo "$as_me:$LINENO: checking for $ac_word" >&5
27827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27828 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27829 echo $ECHO_N "(cached) $ECHO_C" >&6
27831 case $PKG_CONFIG in
27833 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27837 for as_dir
in $PATH
27840 test -z "$as_dir" && as_dir
=.
27841 for ac_exec_ext
in '' $ac_executable_extensions; do
27842 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27843 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27850 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27854 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27856 if test -n "$PKG_CONFIG"; then
27857 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27858 echo "${ECHO_T}$PKG_CONFIG" >&6
27860 echo "$as_me:$LINENO: result: no" >&5
27861 echo "${ECHO_T}no" >&6
27866 if test "$PKG_CONFIG" = "no" ; then
27867 echo "*** The pkg-config script could not be found. Make sure it is"
27868 echo "*** in your path, or set the PKG_CONFIG environment variable"
27869 echo "*** to the full path to pkg-config."
27870 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27872 PKG_CONFIG_MIN_VERSION
=0.9.0
27873 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27874 echo "$as_me:$LINENO: checking for pangoxft" >&5
27875 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
27877 if $PKG_CONFIG --exists "pangoxft" ; then
27878 echo "$as_me:$LINENO: result: yes" >&5
27879 echo "${ECHO_T}yes" >&6
27882 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
27883 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
27884 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
27885 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
27886 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
27888 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
27889 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
27890 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
27891 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
27892 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
27896 ## If we have a custom action on failure, don't print errors, but
27897 ## do set a variable so people can do so.
27898 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
27905 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27906 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27910 if test $succeeded = yes; then
27912 cat >>confdefs.h
<<\_ACEOF
27913 #define HAVE_PANGO_XFT 1
27916 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
27917 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
27921 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
27922 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
27927 save_CFLAGS
="$CFLAGS"
27929 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
27930 LIBS
="$LIBS $PANGOX_LIBS"
27932 for ac_func
in pango_font_family_is_monospace
27934 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27935 echo "$as_me:$LINENO: checking for $ac_func" >&5
27936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27937 if eval "test \"\${$as_ac_var+set}\" = set"; then
27938 echo $ECHO_N "(cached) $ECHO_C" >&6
27940 cat >conftest.
$ac_ext <<_ACEOF
27943 cat confdefs.h
>>conftest.
$ac_ext
27944 cat >>conftest.
$ac_ext <<_ACEOF
27945 /* end confdefs.h. */
27946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27948 #define $ac_func innocuous_$ac_func
27950 /* System header to define __stub macros and hopefully few prototypes,
27951 which can conflict with char $ac_func (); below.
27952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27953 <limits.h> exists even on freestanding compilers. */
27956 # include <limits.h>
27958 # include <assert.h>
27963 /* Override any gcc2 internal prototype to avoid an error. */
27968 /* We use char because int might match the return type of a gcc2
27969 builtin and then its argument prototype would still apply. */
27971 /* The GNU C library defines this for functions which it implements
27972 to always fail with ENOSYS. Some functions are actually named
27973 something starting with __ and the normal name is an alias. */
27974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27977 char (*f) () = $ac_func;
27986 return f != $ac_func;
27991 rm -f conftest.
$ac_objext conftest
$ac_exeext
27992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27993 (eval $ac_link) 2>conftest.er1
27995 grep -v '^ *+' conftest.er1
>conftest.err
27997 cat conftest.err
>&5
27998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27999 (exit $ac_status); } &&
28000 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28002 (eval $ac_try) 2>&5
28004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28005 (exit $ac_status); }; } &&
28006 { ac_try
='test -s conftest$ac_exeext'
28007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28008 (eval $ac_try) 2>&5
28010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28011 (exit $ac_status); }; }; then
28012 eval "$as_ac_var=yes"
28014 echo "$as_me: failed program was:" >&5
28015 sed 's/^/| /' conftest.
$ac_ext >&5
28017 eval "$as_ac_var=no"
28019 rm -f conftest.err conftest.
$ac_objext \
28020 conftest
$ac_exeext conftest.
$ac_ext
28022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28024 if test `eval echo '${'$as_ac_var'}'` = yes; then
28025 cat >>confdefs.h
<<_ACEOF
28026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28032 CFLAGS
="$save_CFLAGS"
28036 wxUSE_UNIVERSAL
="yes"
28038 if test "$wxUSE_NANOX" = "yes"; then
28039 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
28040 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"
28041 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
28043 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
28050 if test "$wxUSE_MOTIF" = 1; then
28051 if test "$wxUSE_UNICODE" = "yes"; then
28052 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
28053 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
28054 { (exit 1); exit 1; }; }
28057 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
28058 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
28061 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
28063 if test -f "$ac_dir/Xm/Xm.h"; then
28064 ac_find_includes
=$ac_dir
28069 if test "$ac_find_includes" != "" ; then
28070 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28071 echo "${ECHO_T}found in $ac_find_includes" >&6
28073 if test "x$ac_find_includes" = "x/usr/include"; then
28074 ac_path_to_include
=""
28076 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
28078 if test $result = 0; then
28079 ac_path_to_include
=""
28081 ac_path_to_include
=" -I$ac_find_includes"
28085 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
28087 cat >conftest.
$ac_ext <<_ACEOF
28090 cat confdefs.h
>>conftest.
$ac_ext
28091 cat >>conftest.
$ac_ext <<_ACEOF
28092 /* end confdefs.h. */
28101 version = xmUseVersion;
28107 rm -f conftest.
$ac_objext
28108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28109 (eval $ac_compile) 2>conftest.er1
28111 grep -v '^ *+' conftest.er1
>conftest.err
28113 cat conftest.err
>&5
28114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28115 (exit $ac_status); } &&
28116 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28118 (eval $ac_try) 2>&5
28120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28121 (exit $ac_status); }; } &&
28122 { ac_try
='test -s conftest.$ac_objext'
28123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28124 (eval $ac_try) 2>&5
28126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28127 (exit $ac_status); }; }; then
28129 echo "$as_me:$LINENO: result: found in default search path" >&5
28130 echo "${ECHO_T}found in default search path" >&6
28131 COMPILED_X_PROGRAM
=1
28134 echo "$as_me: failed program was:" >&5
28135 sed 's/^/| /' conftest.
$ac_ext >&5
28138 echo "$as_me:$LINENO: result: no" >&5
28139 echo "${ECHO_T}no" >&6
28140 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
28141 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
28142 { (exit 1); exit 1; }; }
28146 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28149 if test "$COMPILED_X_PROGRAM" = 0; then
28150 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
28151 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
28154 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28156 for ac_extension
in a so sl dylib
; do
28157 if test -f "$ac_dir/libXm.$ac_extension"; then
28158 ac_find_libraries
=$ac_dir
28164 if test "$ac_find_libraries" != "" ; then
28165 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
28166 echo "${ECHO_T}found at $ac_find_libraries" >&6
28169 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
28171 if test $result = 0; then
28174 ac_path_to_link
=" -L$ac_find_libraries"
28177 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
28179 save_CFLAGS
=$CFLAGS
28180 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28182 cat >conftest.
$ac_ext <<_ACEOF
28185 cat confdefs.h
>>conftest.
$ac_ext
28186 cat >>conftest.
$ac_ext <<_ACEOF
28187 /* end confdefs.h. */
28196 version = xmUseVersion;
28202 rm -f conftest.
$ac_objext
28203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28204 (eval $ac_compile) 2>conftest.er1
28206 grep -v '^ *+' conftest.er1
>conftest.err
28208 cat conftest.err
>&5
28209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28210 (exit $ac_status); } &&
28211 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28213 (eval $ac_try) 2>&5
28215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28216 (exit $ac_status); }; } &&
28217 { ac_try
='test -s conftest.$ac_objext'
28218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28219 (eval $ac_try) 2>&5
28221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28222 (exit $ac_status); }; }; then
28224 echo "$as_me:$LINENO: result: found in default search path" >&5
28225 echo "${ECHO_T}found in default search path" >&6
28226 COMPILED_X_PROGRAM
=1
28229 echo "$as_me: failed program was:" >&5
28230 sed 's/^/| /' conftest.
$ac_ext >&5
28233 echo "$as_me:$LINENO: result: no" >&5
28234 echo "${ECHO_T}no" >&6
28235 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
28236 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
28237 { (exit 1); exit 1; }; }
28241 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28243 CFLAGS
=$save_CFLAGS
28247 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
28248 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
28252 for libp
in "" " -lXp"; do
28253 if test "$libs_found" = "0"; then
28254 for libsm_ice
in "" " -lSM -lICE"; do
28255 if test "$libs_found" = "0"; then
28257 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
28258 save_CFLAGS
=$CFLAGS
28259 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28261 cat >conftest.
$ac_ext <<_ACEOF
28264 cat confdefs.h
>>conftest.
$ac_ext
28265 cat >>conftest.
$ac_ext <<_ACEOF
28266 /* end confdefs.h. */
28269 #include <Xm/List.h>
28275 XmString string = NULL;
28278 XmListAddItem(w, string, position);
28284 rm -f conftest.
$ac_objext conftest
$ac_exeext
28285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28286 (eval $ac_link) 2>conftest.er1
28288 grep -v '^ *+' conftest.er1
>conftest.err
28290 cat conftest.err
>&5
28291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28292 (exit $ac_status); } &&
28293 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28295 (eval $ac_try) 2>&5
28297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28298 (exit $ac_status); }; } &&
28299 { ac_try
='test -s conftest$ac_exeext'
28300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28301 (eval $ac_try) 2>&5
28303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28304 (exit $ac_status); }; }; then
28307 libsm_ice_link
="$libsm_ice"
28308 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
28309 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
28313 echo "$as_me: failed program was:" >&5
28314 sed 's/^/| /' conftest.
$ac_ext >&5
28319 rm -f conftest.err conftest.
$ac_objext \
28320 conftest
$ac_exeext conftest.
$ac_ext
28323 CFLAGS
=$save_CFLAGS
28329 if test "$libs_found" = "0"; then
28330 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
28331 echo "${ECHO_T}can't find the right libraries" >&6
28332 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
28333 echo "$as_me: error: can't link a simple motif program" >&2;}
28334 { (exit 1); exit 1; }; }
28337 save_CFLAGS
=$CFLAGS
28338 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28339 echo "$as_me:$LINENO: checking for Motif 2" >&5
28340 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
28341 cat >conftest.
$ac_ext <<_ACEOF
28344 cat confdefs.h
>>conftest.
$ac_ext
28345 cat >>conftest.
$ac_ext <<_ACEOF
28346 /* end confdefs.h. */
28354 #if XmVersion < 2000
28355 #error "Not Motif 2"
28362 rm -f conftest.
$ac_objext
28363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28364 (eval $ac_compile) 2>conftest.er1
28366 grep -v '^ *+' conftest.er1
>conftest.err
28368 cat conftest.err
>&5
28369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28370 (exit $ac_status); } &&
28371 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28373 (eval $ac_try) 2>&5
28375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28376 (exit $ac_status); }; } &&
28377 { ac_try
='test -s conftest.$ac_objext'
28378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28379 (eval $ac_try) 2>&5
28381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28382 (exit $ac_status); }; }; then
28384 cat >>confdefs.h
<<\_ACEOF
28385 #define __WXMOTIF20__ 1
28388 echo "$as_me:$LINENO: result: found" >&5
28389 echo "${ECHO_T}found" >&6
28392 echo "$as_me: failed program was:" >&5
28393 sed 's/^/| /' conftest.
$ac_ext >&5
28396 cat >>confdefs.h
<<\_ACEOF
28397 #define __WXMOTIF20__ 0
28400 echo "$as_me:$LINENO: result: not found" >&5
28401 echo "${ECHO_T}not found" >&6
28404 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28405 CFLAGS
=$save_CFLAGS
28407 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
28412 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28413 if test "$wxUSE_LIBXPM" = "sys"; then
28414 echo "$as_me:$LINENO: checking for Xpm library" >&5
28415 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
28418 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28420 for ac_extension
in a so sl dylib
; do
28421 if test -f "$ac_dir/libXpm.$ac_extension"; then
28422 ac_find_libraries
=$ac_dir
28428 if test "$ac_find_libraries" != "" ; then
28430 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
28432 if test $result = 0; then
28435 ac_path_to_link
=" -L$ac_find_libraries"
28438 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
28439 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
28440 echo "${ECHO_T}found at $ac_find_libraries" >&6
28442 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
28443 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
28444 if test "${wx_cv_x11_xpm_h+set}" = set; then
28445 echo $ECHO_N "(cached) $ECHO_C" >&6
28448 save_CFLAGS
=$CFLAGS
28449 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28451 cat >conftest.
$ac_ext <<_ACEOF
28454 cat confdefs.h
>>conftest.
$ac_ext
28455 cat >>conftest.
$ac_ext <<_ACEOF
28456 /* end confdefs.h. */
28458 #include <X11/xpm.h>
28465 version = XpmLibraryVersion();
28471 rm -f conftest.
$ac_objext
28472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28473 (eval $ac_compile) 2>conftest.er1
28475 grep -v '^ *+' conftest.er1
>conftest.err
28477 cat conftest.err
>&5
28478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28479 (exit $ac_status); } &&
28480 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28482 (eval $ac_try) 2>&5
28484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28485 (exit $ac_status); }; } &&
28486 { ac_try
='test -s conftest.$ac_objext'
28487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28488 (eval $ac_try) 2>&5
28490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28491 (exit $ac_status); }; }; then
28492 wx_cv_x11_xpm_h
=yes
28494 echo "$as_me: failed program was:" >&5
28495 sed 's/^/| /' conftest.
$ac_ext >&5
28500 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28502 CFLAGS
=$save_CFLAGS
28506 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
28507 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
28509 if test $wx_cv_x11_xpm_h = "yes"; then
28510 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
28511 cat >>confdefs.h
<<\_ACEOF
28512 #define wxHAVE_LIB_XPM 1
28516 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
28517 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
28523 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
28524 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
28525 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
28526 echo $ECHO_N "(cached) $ECHO_C" >&6
28528 ac_check_lib_save_LIBS
=$LIBS
28529 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
28530 cat >conftest.
$ac_ext <<_ACEOF
28533 cat confdefs.h
>>conftest.
$ac_ext
28534 cat >>conftest.
$ac_ext <<_ACEOF
28535 /* end confdefs.h. */
28537 /* Override any gcc2 internal prototype to avoid an error. */
28541 /* We use char because int might match the return type of a gcc2
28542 builtin and then its argument prototype would still apply. */
28543 char XShapeQueryExtension ();
28547 XShapeQueryExtension ();
28552 rm -f conftest.
$ac_objext conftest
$ac_exeext
28553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28554 (eval $ac_link) 2>conftest.er1
28556 grep -v '^ *+' conftest.er1
>conftest.err
28558 cat conftest.err
>&5
28559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28560 (exit $ac_status); } &&
28561 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28563 (eval $ac_try) 2>&5
28565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28566 (exit $ac_status); }; } &&
28567 { ac_try
='test -s conftest$ac_exeext'
28568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28569 (eval $ac_try) 2>&5
28571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28572 (exit $ac_status); }; }; then
28573 ac_cv_lib_Xext_XShapeQueryExtension
=yes
28575 echo "$as_me: failed program was:" >&5
28576 sed 's/^/| /' conftest.
$ac_ext >&5
28578 ac_cv_lib_Xext_XShapeQueryExtension
=no
28580 rm -f conftest.err conftest.
$ac_objext \
28581 conftest
$ac_exeext conftest.
$ac_ext
28582 LIBS
=$ac_check_lib_save_LIBS
28584 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
28585 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
28586 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
28588 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
28594 if test "$wxHAVE_XEXT_LIB" = 1; then
28595 save_CFLAGS
="$CFLAGS"
28596 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28598 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
28599 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
28600 cat >conftest.
$ac_ext <<_ACEOF
28603 cat confdefs.h
>>conftest.
$ac_ext
28604 cat >>conftest.
$ac_ext <<_ACEOF
28605 /* end confdefs.h. */
28607 #include <X11/Xlib.h>
28608 #include <X11/extensions/shape.h>
28614 int dummy1, dummy2;
28615 XShapeQueryExtension((Display*)NULL,
28616 (int*)NULL, (int*)NULL);
28622 rm -f conftest.
$ac_objext
28623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28624 (eval $ac_compile) 2>conftest.er1
28626 grep -v '^ *+' conftest.er1
>conftest.err
28628 cat conftest.err
>&5
28629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28630 (exit $ac_status); } &&
28631 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28633 (eval $ac_try) 2>&5
28635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28636 (exit $ac_status); }; } &&
28637 { ac_try
='test -s conftest.$ac_objext'
28638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28639 (eval $ac_try) 2>&5
28641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28642 (exit $ac_status); }; }; then
28644 cat >>confdefs.h
<<\_ACEOF
28645 #define HAVE_XSHAPE 1
28648 echo "$as_me:$LINENO: result: found" >&5
28649 echo "${ECHO_T}found" >&6
28652 echo "$as_me: failed program was:" >&5
28653 sed 's/^/| /' conftest.
$ac_ext >&5
28656 echo "$as_me:$LINENO: result: not found" >&5
28657 echo "${ECHO_T}not found" >&6
28660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28661 CFLAGS
="$save_CFLAGS"
28666 if test "$wxUSE_MAC" = 1; then
28667 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
28668 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
28669 if test "$GCC" = yes; then
28670 echo "$as_me:$LINENO: result: gcc" >&5
28671 echo "${ECHO_T}gcc" >&6
28672 CPPFLAGS_PASCAL
="-fpascal-strings"
28673 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
28674 echo "$as_me:$LINENO: result: xlc" >&5
28675 echo "${ECHO_T}xlc" >&6
28676 CPPFLAGS_PASCAL
="-qmacpstr"
28678 echo "$as_me:$LINENO: result: none" >&5
28679 echo "${ECHO_T}none" >&6
28682 if test "x$wxUSE_UNIX" = "xyes"; then
28683 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
28685 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
28690 WXBASEPORT
="_carbon"
28693 if test "$wxUSE_COCOA" = 1; then
28698 if test "$wxUSE_PM" = 1; then
28701 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
28702 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
28703 if test "${wx_cv_spbcdata+set}" = set; then
28704 echo $ECHO_N "(cached) $ECHO_C" >&6
28707 cat >conftest.
$ac_ext <<_ACEOF
28710 cat confdefs.h
>>conftest.
$ac_ext
28711 cat >>conftest.
$ac_ext <<_ACEOF
28712 /* end confdefs.h. */
28727 rm -f conftest.
$ac_objext
28728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28729 (eval $ac_compile) 2>conftest.er1
28731 grep -v '^ *+' conftest.er1
>conftest.err
28733 cat conftest.err
>&5
28734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28735 (exit $ac_status); } &&
28736 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28738 (eval $ac_try) 2>&5
28740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28741 (exit $ac_status); }; } &&
28742 { ac_try
='test -s conftest.$ac_objext'
28743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28744 (eval $ac_try) 2>&5
28746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28747 (exit $ac_status); }; }; then
28750 echo "$as_me: failed program was:" >&5
28751 sed 's/^/| /' conftest.
$ac_ext >&5
28756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28760 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
28761 echo "${ECHO_T}$wx_cv_spbcdata" >&6
28763 if test $wx_cv_spbcdata = "yes"; then
28764 cat >>confdefs.h
<<\_ACEOF
28765 #define HAVE_SPBCDATA 1
28771 if test "$TOOLKIT" = "PM" ; then
28774 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
28777 if test "$wxUSE_UNIVERSAL" = "yes"; then
28778 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
28782 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
28783 DISTDIR
="wx\$(TOOLKIT)"
28789 if test "$USE_WIN32" = 1 ; then
28793 GUIDIST
="BASE_DIST"
28803 if test "$TOOLKIT" != "MSW" ; then
28805 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
28807 if test "${ac_cv_header_sql_h+set}" = set; then
28808 echo "$as_me:$LINENO: checking for sql.h" >&5
28809 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28810 if test "${ac_cv_header_sql_h+set}" = set; then
28811 echo $ECHO_N "(cached) $ECHO_C" >&6
28813 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28814 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28816 # Is the header compilable?
28817 echo "$as_me:$LINENO: checking sql.h usability" >&5
28818 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
28819 cat >conftest.
$ac_ext <<_ACEOF
28822 cat confdefs.h
>>conftest.
$ac_ext
28823 cat >>conftest.
$ac_ext <<_ACEOF
28824 /* end confdefs.h. */
28825 $ac_includes_default
28828 rm -f conftest.
$ac_objext
28829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28830 (eval $ac_compile) 2>conftest.er1
28832 grep -v '^ *+' conftest.er1
>conftest.err
28834 cat conftest.err
>&5
28835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28836 (exit $ac_status); } &&
28837 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28839 (eval $ac_try) 2>&5
28841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28842 (exit $ac_status); }; } &&
28843 { ac_try
='test -s conftest.$ac_objext'
28844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28845 (eval $ac_try) 2>&5
28847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28848 (exit $ac_status); }; }; then
28849 ac_header_compiler
=yes
28851 echo "$as_me: failed program was:" >&5
28852 sed 's/^/| /' conftest.
$ac_ext >&5
28854 ac_header_compiler
=no
28856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28857 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28858 echo "${ECHO_T}$ac_header_compiler" >&6
28860 # Is the header present?
28861 echo "$as_me:$LINENO: checking sql.h presence" >&5
28862 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
28863 cat >conftest.
$ac_ext <<_ACEOF
28866 cat confdefs.h
>>conftest.
$ac_ext
28867 cat >>conftest.
$ac_ext <<_ACEOF
28868 /* end confdefs.h. */
28871 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28872 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28874 grep -v '^ *+' conftest.er1
>conftest.err
28876 cat conftest.err
>&5
28877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28878 (exit $ac_status); } >/dev
/null
; then
28879 if test -s conftest.err
; then
28880 ac_cpp_err
=$ac_c_preproc_warn_flag
28881 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28888 if test -z "$ac_cpp_err"; then
28889 ac_header_preproc
=yes
28891 echo "$as_me: failed program was:" >&5
28892 sed 's/^/| /' conftest.
$ac_ext >&5
28894 ac_header_preproc
=no
28896 rm -f conftest.err conftest.
$ac_ext
28897 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28898 echo "${ECHO_T}$ac_header_preproc" >&6
28900 # So? What about this header?
28901 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28903 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
28904 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28905 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
28906 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
28907 ac_header_preproc
=yes
28910 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
28911 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
28912 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
28913 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
28914 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
28915 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
28916 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
28917 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
28918 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
28919 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
28920 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
28921 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
28924 ## ----------------------------------------- ##
28925 ## Report this to wx-dev@lists.wxwidgets.org ##
28926 ## ----------------------------------------- ##
28929 sed "s/^/$as_me: WARNING: /" >&2
28932 echo "$as_me:$LINENO: checking for sql.h" >&5
28933 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28934 if test "${ac_cv_header_sql_h+set}" = set; then
28935 echo $ECHO_N "(cached) $ECHO_C" >&6
28937 ac_cv_header_sql_h
=$ac_header_preproc
28939 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28940 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28943 if test $ac_cv_header_sql_h = yes; then
28948 if test "x$found_sql_h" = "x1" ; then
28949 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
28950 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
28951 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
28952 echo $ECHO_N "(cached) $ECHO_C" >&6
28954 ac_check_lib_save_LIBS
=$LIBS
28955 LIBS
="-liodbc $LIBS"
28956 cat >conftest.
$ac_ext <<_ACEOF
28959 cat confdefs.h
>>conftest.
$ac_ext
28960 cat >>conftest.
$ac_ext <<_ACEOF
28961 /* end confdefs.h. */
28963 /* Override any gcc2 internal prototype to avoid an error. */
28967 /* We use char because int might match the return type of a gcc2
28968 builtin and then its argument prototype would still apply. */
28969 char SQLAllocEnv ();
28978 rm -f conftest.
$ac_objext conftest
$ac_exeext
28979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28980 (eval $ac_link) 2>conftest.er1
28982 grep -v '^ *+' conftest.er1
>conftest.err
28984 cat conftest.err
>&5
28985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28986 (exit $ac_status); } &&
28987 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28989 (eval $ac_try) 2>&5
28991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28992 (exit $ac_status); }; } &&
28993 { ac_try
='test -s conftest$ac_exeext'
28994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28995 (eval $ac_try) 2>&5
28997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28998 (exit $ac_status); }; }; then
28999 ac_cv_lib_iodbc_SQLAllocEnv
=yes
29001 echo "$as_me: failed program was:" >&5
29002 sed 's/^/| /' conftest.
$ac_ext >&5
29004 ac_cv_lib_iodbc_SQLAllocEnv
=no
29006 rm -f conftest.err conftest.
$ac_objext \
29007 conftest
$ac_exeext conftest.
$ac_ext
29008 LIBS
=$ac_check_lib_save_LIBS
29010 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
29011 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
29012 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
29013 ODBC_LINK
=" -liodbc"
29016 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
29017 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
29018 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
29019 echo $ECHO_N "(cached) $ECHO_C" >&6
29021 ac_check_lib_save_LIBS
=$LIBS
29022 LIBS
="-lunixodbc $LIBS"
29023 cat >conftest.
$ac_ext <<_ACEOF
29026 cat confdefs.h
>>conftest.
$ac_ext
29027 cat >>conftest.
$ac_ext <<_ACEOF
29028 /* end confdefs.h. */
29030 /* Override any gcc2 internal prototype to avoid an error. */
29034 /* We use char because int might match the return type of a gcc2
29035 builtin and then its argument prototype would still apply. */
29036 char SQLAllocEnv ();
29045 rm -f conftest.
$ac_objext conftest
$ac_exeext
29046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29047 (eval $ac_link) 2>conftest.er1
29049 grep -v '^ *+' conftest.er1
>conftest.err
29051 cat conftest.err
>&5
29052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29053 (exit $ac_status); } &&
29054 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29056 (eval $ac_try) 2>&5
29058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29059 (exit $ac_status); }; } &&
29060 { ac_try
='test -s conftest$ac_exeext'
29061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29062 (eval $ac_try) 2>&5
29064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29065 (exit $ac_status); }; }; then
29066 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
29068 echo "$as_me: failed program was:" >&5
29069 sed 's/^/| /' conftest.
$ac_ext >&5
29071 ac_cv_lib_unixodbc_SQLAllocEnv
=no
29073 rm -f conftest.err conftest.
$ac_objext \
29074 conftest
$ac_exeext conftest.
$ac_ext
29075 LIBS
=$ac_check_lib_save_LIBS
29077 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
29078 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
29079 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
29080 ODBC_LINK
=" -lunixodbc"
29083 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
29084 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
29085 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
29086 echo $ECHO_N "(cached) $ECHO_C" >&6
29088 ac_check_lib_save_LIBS
=$LIBS
29089 LIBS
="-lodbc $LIBS"
29090 cat >conftest.
$ac_ext <<_ACEOF
29093 cat confdefs.h
>>conftest.
$ac_ext
29094 cat >>conftest.
$ac_ext <<_ACEOF
29095 /* end confdefs.h. */
29097 /* Override any gcc2 internal prototype to avoid an error. */
29101 /* We use char because int might match the return type of a gcc2
29102 builtin and then its argument prototype would still apply. */
29103 char SQLAllocEnv ();
29112 rm -f conftest.
$ac_objext conftest
$ac_exeext
29113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29114 (eval $ac_link) 2>conftest.er1
29116 grep -v '^ *+' conftest.er1
>conftest.err
29118 cat conftest.err
>&5
29119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29120 (exit $ac_status); } &&
29121 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29123 (eval $ac_try) 2>&5
29125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29126 (exit $ac_status); }; } &&
29127 { ac_try
='test -s conftest$ac_exeext'
29128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29129 (eval $ac_try) 2>&5
29131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29132 (exit $ac_status); }; }; then
29133 ac_cv_lib_odbc_SQLAllocEnv
=yes
29135 echo "$as_me: failed program was:" >&5
29136 sed 's/^/| /' conftest.
$ac_ext >&5
29138 ac_cv_lib_odbc_SQLAllocEnv
=no
29140 rm -f conftest.err conftest.
$ac_objext \
29141 conftest
$ac_exeext conftest.
$ac_ext
29142 LIBS
=$ac_check_lib_save_LIBS
29144 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
29145 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
29146 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
29147 ODBC_LINK
=" -lodbc"
29157 if test "x$ODBC_LINK" = "x" ; then
29158 if test "$wxUSE_ODBC" = "sys" ; then
29159 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
29160 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
29161 { (exit 1); exit 1; }; }
29163 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
29164 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
29172 if test "$wxUSE_ODBC" = "builtin" ; then
29173 cat >>confdefs.h
<<\_ACEOF
29174 #define wxUSE_BUILTIN_IODBC 1
29180 if test "$wxUSE_ODBC" != "no" ; then
29181 cat >>confdefs.h
<<\_ACEOF
29182 #define wxUSE_ODBC 1
29185 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
29187 WXODBCFLAG
="-D_IODBC_"
29191 if test "$wxUSE_DISPLAY" = "yes"; then
29192 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
29193 echo "$as_me:$LINENO: checking for Xinerama" >&5
29194 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
29197 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29199 for ac_extension
in a so sl dylib
; do
29200 if test -f "$ac_dir/libXinerama.$ac_extension"; then
29201 ac_find_libraries
=$ac_dir
29207 if test "$ac_find_libraries" != "" ; then
29209 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29211 if test $result = 0; then
29214 ac_path_to_link
=" -L$ac_find_libraries"
29217 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29218 LDFLAGS
="$LDFLAGS $ac_path_to_link"
29220 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
29221 echo "$as_me:$LINENO: result: yes" >&5
29222 echo "${ECHO_T}yes" >&6
29224 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
29225 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
29228 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29230 for ac_extension
in a so sl dylib
; do
29231 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
29232 ac_find_libraries
=$ac_dir
29238 if test "$ac_find_libraries" != "" ; then
29239 echo "$as_me:$LINENO: result: yes" >&5
29240 echo "${ECHO_T}yes" >&6
29242 for ac_header
in X
11/extensions
/xf86vmode.h
29244 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29245 echo "$as_me:$LINENO: checking for $ac_header" >&5
29246 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29248 echo $ECHO_N "(cached) $ECHO_C" >&6
29250 cat >conftest.
$ac_ext <<_ACEOF
29253 cat confdefs.h
>>conftest.
$ac_ext
29254 cat >>conftest.
$ac_ext <<_ACEOF
29255 /* end confdefs.h. */
29257 #if HAVE_X11_XLIB_H
29258 #include <X11/Xlib.h>
29262 #include <$ac_header>
29264 rm -f conftest.
$ac_objext
29265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29266 (eval $ac_compile) 2>conftest.er1
29268 grep -v '^ *+' conftest.er1
>conftest.err
29270 cat conftest.err
>&5
29271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29272 (exit $ac_status); } &&
29273 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29275 (eval $ac_try) 2>&5
29277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29278 (exit $ac_status); }; } &&
29279 { ac_try
='test -s conftest.$ac_objext'
29280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29281 (eval $ac_try) 2>&5
29283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29284 (exit $ac_status); }; }; then
29285 eval "$as_ac_Header=yes"
29287 echo "$as_me: failed program was:" >&5
29288 sed 's/^/| /' conftest.
$ac_ext >&5
29290 eval "$as_ac_Header=no"
29292 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29295 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29296 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29297 cat >>confdefs.h
<<_ACEOF
29298 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29301 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
29308 echo "$as_me:$LINENO: result: no" >&5
29309 echo "${ECHO_T}no" >&6
29313 echo "$as_me:$LINENO: result: no" >&5
29314 echo "${ECHO_T}no" >&6
29315 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
29316 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
29319 elif test "$wxUSE_MSW" = 1; then
29322 for ac_header
in multimon.h ddraw.h
29324 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29325 echo "$as_me:$LINENO: checking for $ac_header" >&5
29326 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29327 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29328 echo $ECHO_N "(cached) $ECHO_C" >&6
29330 cat >conftest.
$ac_ext <<_ACEOF
29333 cat confdefs.h
>>conftest.
$ac_ext
29334 cat >>conftest.
$ac_ext <<_ACEOF
29335 /* end confdefs.h. */
29336 #include <windows.h>
29338 #include <$ac_header>
29340 rm -f conftest.
$ac_objext
29341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29342 (eval $ac_compile) 2>conftest.er1
29344 grep -v '^ *+' conftest.er1
>conftest.err
29346 cat conftest.err
>&5
29347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29348 (exit $ac_status); } &&
29349 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29351 (eval $ac_try) 2>&5
29353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29354 (exit $ac_status); }; } &&
29355 { ac_try
='test -s conftest.$ac_objext'
29356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29357 (eval $ac_try) 2>&5
29359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29360 (exit $ac_status); }; }; then
29361 eval "$as_ac_Header=yes"
29363 echo "$as_me: failed program was:" >&5
29364 sed 's/^/| /' conftest.
$ac_ext >&5
29366 eval "$as_ac_Header=no"
29368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29371 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29372 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29373 cat >>confdefs.h
<<_ACEOF
29374 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29380 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
29381 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
29392 if test "$wxUSE_OPENGL" = "yes"; then
29393 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
29394 OPENGL_LIBS
="-framework OpenGL -framework AGL"
29395 elif test "$wxUSE_MSW" = 1; then
29396 OPENGL_LIBS
="-lopengl32 -lglu32"
29401 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
29403 if test -f "$ac_dir/GL/gl.h"; then
29404 ac_find_includes
=$ac_dir
29409 if test "$ac_find_includes" != "" ; then
29410 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29411 echo "${ECHO_T}found in $ac_find_includes" >&6
29413 if test "x$ac_find_includes" = "x/usr/include"; then
29414 ac_path_to_include
=""
29416 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
29418 if test $result = 0; then
29419 ac_path_to_include
=""
29421 ac_path_to_include
=" -I$ac_find_includes"
29425 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
29428 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29429 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29430 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29431 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29432 echo $ECHO_N "(cached) $ECHO_C" >&6
29434 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29435 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29437 # Is the header compilable?
29438 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
29439 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
29440 cat >conftest.
$ac_ext <<_ACEOF
29443 cat confdefs.h
>>conftest.
$ac_ext
29444 cat >>conftest.
$ac_ext <<_ACEOF
29445 /* end confdefs.h. */
29446 $ac_includes_default
29449 rm -f conftest.
$ac_objext
29450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29451 (eval $ac_compile) 2>conftest.er1
29453 grep -v '^ *+' conftest.er1
>conftest.err
29455 cat conftest.err
>&5
29456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29457 (exit $ac_status); } &&
29458 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29460 (eval $ac_try) 2>&5
29462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29463 (exit $ac_status); }; } &&
29464 { ac_try
='test -s conftest.$ac_objext'
29465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29466 (eval $ac_try) 2>&5
29468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29469 (exit $ac_status); }; }; then
29470 ac_header_compiler
=yes
29472 echo "$as_me: failed program was:" >&5
29473 sed 's/^/| /' conftest.
$ac_ext >&5
29475 ac_header_compiler
=no
29477 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29478 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29479 echo "${ECHO_T}$ac_header_compiler" >&6
29481 # Is the header present?
29482 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
29483 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
29484 cat >conftest.
$ac_ext <<_ACEOF
29487 cat confdefs.h
>>conftest.
$ac_ext
29488 cat >>conftest.
$ac_ext <<_ACEOF
29489 /* end confdefs.h. */
29492 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29493 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29495 grep -v '^ *+' conftest.er1
>conftest.err
29497 cat conftest.err
>&5
29498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29499 (exit $ac_status); } >/dev
/null
; then
29500 if test -s conftest.err
; then
29501 ac_cpp_err
=$ac_c_preproc_warn_flag
29502 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29509 if test -z "$ac_cpp_err"; then
29510 ac_header_preproc
=yes
29512 echo "$as_me: failed program was:" >&5
29513 sed 's/^/| /' conftest.
$ac_ext >&5
29515 ac_header_preproc
=no
29517 rm -f conftest.err conftest.
$ac_ext
29518 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29519 echo "${ECHO_T}$ac_header_preproc" >&6
29521 # So? What about this header?
29522 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29524 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
29525 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29526 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
29527 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
29528 ac_header_preproc
=yes
29531 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
29532 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
29533 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
29534 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
29535 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
29536 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
29537 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
29538 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
29539 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
29540 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
29541 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
29542 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
29545 ## ----------------------------------------- ##
29546 ## Report this to wx-dev@lists.wxwidgets.org ##
29547 ## ----------------------------------------- ##
29550 sed "s/^/$as_me: WARNING: /" >&2
29553 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29554 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29555 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29556 echo $ECHO_N "(cached) $ECHO_C" >&6
29558 ac_cv_header_GL_gl_h
=$ac_header_preproc
29560 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29561 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29564 if test $ac_cv_header_GL_gl_h = yes; then
29568 echo "$as_me:$LINENO: checking for -lGL" >&5
29569 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
29572 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29574 for ac_extension
in a so sl dylib
; do
29575 if test -f "$ac_dir/libGL.$ac_extension"; then
29576 ac_find_libraries
=$ac_dir
29582 if test "$ac_find_libraries" != "" ; then
29583 echo "$as_me:$LINENO: result: yes" >&5
29584 echo "${ECHO_T}yes" >&6
29587 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29589 if test $result = 0; then
29592 ac_path_to_link
=" -L$ac_find_libraries"
29595 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29596 LDFLAGS_GL
="$ac_path_to_link"
29599 echo "$as_me:$LINENO: checking for -lGLU" >&5
29600 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
29603 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29605 for ac_extension
in a so sl dylib
; do
29606 if test -f "$ac_dir/libGLU.$ac_extension"; then
29607 ac_find_libraries
=$ac_dir
29613 if test "$ac_find_libraries" != "" ; then
29615 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29617 if test $result = 0; then
29620 ac_path_to_link
=" -L$ac_find_libraries"
29623 if test "$ac_path_to_link" != " -L/usr/lib" -a \
29624 "$ac_path_to_link" != "$LDFLAGS_GL"; then
29625 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
29629 OPENGL_LIBS
="-lGL -lGLU"
29630 echo "$as_me:$LINENO: result: yes" >&5
29631 echo "${ECHO_T}yes" >&6
29633 echo "$as_me:$LINENO: result: no" >&5
29634 echo "${ECHO_T}no" >&6
29637 echo "$as_me:$LINENO: result: no" >&5
29638 echo "${ECHO_T}no" >&6
29641 if test "$found_gl" != 1; then
29642 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
29643 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
29646 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29648 for ac_extension
in a so sl dylib
; do
29649 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
29650 ac_find_libraries
=$ac_dir
29656 if test "$ac_find_libraries" != "" ; then
29658 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29660 if test $result = 0; then
29663 ac_path_to_link
=" -L$ac_find_libraries"
29666 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
29667 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
29668 echo "$as_me:$LINENO: result: yes" >&5
29669 echo "${ECHO_T}yes" >&6
29671 echo "$as_me:$LINENO: result: no" >&5
29672 echo "${ECHO_T}no" >&6
29680 if test "x$OPENGL_LIBS" = "x"; then
29681 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
29682 echo "$as_me: error: OpenGL libraries not available" >&2;}
29683 { (exit 1); exit 1; }; }
29687 if test "$wxUSE_OPENGL" = "yes"; then
29689 cat >>confdefs.h
<<\_ACEOF
29690 #define wxUSE_OPENGL 1
29693 cat >>confdefs.h
<<\_ACEOF
29694 #define wxUSE_GLCANVAS 1
29697 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
29702 if test -n "$TOOLKIT" ; then
29703 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
29708 if test "$wxUSE_SHARED" = "yes"; then
29712 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
29713 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
29718 if test "$wxUSE_SHARED" = "yes"; then
29721 found_versioning
=no
29724 if test $found_versioning = no
; then
29725 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
29726 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
29727 if test "${wx_cv_version_script+set}" = set; then
29728 echo $ECHO_N "(cached) $ECHO_C" >&6
29731 echo "VER_1 { *; };" >conftest.sym
29732 echo "int main() { return 0; }" >conftest.cpp
29735 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29736 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29738 (eval $ac_try) 2>&5
29740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29741 (exit $ac_status); }; } ; then
29742 if test -s conftest.stderr
; then
29743 wx_cv_version_script
=no
29745 wx_cv_version_script
=yes
29748 wx_cv_version_script
=no
29751 if test $wx_cv_version_script = yes
29753 echo "struct B { virtual ~B() { } }; \
29754 struct D : public B { }; \
29755 void F() { D d; }" > conftest.cpp
29758 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29759 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
29760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29761 (eval $ac_try) 2>&5
29763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29764 (exit $ac_status); }; } &&
29766 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29767 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
29768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29769 (eval $ac_try) 2>&5
29771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29772 (exit $ac_status); }; }
29775 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29776 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
29777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29778 (eval $ac_try) 2>&5
29780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29781 (exit $ac_status); }; }
29783 wx_cv_version_script
=yes
29785 wx_cv_version_script
=no
29790 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29791 rm -f conftest1.output conftest2.output conftest3.output
29794 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
29795 echo "${ECHO_T}$wx_cv_version_script" >&6
29796 if test $wx_cv_version_script = yes ; then
29797 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
29803 *-*-linux* | *-*-gnu* )
29804 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
29805 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29809 if test "$GCC" = yes ; then
29810 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
29812 saveLdflags
="$LDFLAGS"
29813 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
29814 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
29815 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
29816 cat >conftest.
$ac_ext <<_ACEOF
29819 cat confdefs.h
>>conftest.
$ac_ext
29820 cat >>conftest.
$ac_ext <<_ACEOF
29821 /* end confdefs.h. */
29831 rm -f conftest.
$ac_objext conftest
$ac_exeext
29832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29833 (eval $ac_link) 2>conftest.er1
29835 grep -v '^ *+' conftest.er1
>conftest.err
29837 cat conftest.err
>&5
29838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29839 (exit $ac_status); } &&
29840 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29842 (eval $ac_try) 2>&5
29844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29845 (exit $ac_status); }; } &&
29846 { ac_try
='test -s conftest$ac_exeext'
29847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29848 (eval $ac_try) 2>&5
29850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29851 (exit $ac_status); }; }; then
29853 echo "$as_me:$LINENO: result: yes" >&5
29854 echo "${ECHO_T}yes" >&6
29855 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
29856 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29859 echo "$as_me: failed program was:" >&5
29860 sed 's/^/| /' conftest.
$ac_ext >&5
29863 echo "$as_me:$LINENO: result: no" >&5
29864 echo "${ECHO_T}no" >&6
29865 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
29866 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
29867 LDFLAGS
="$saveLdflags -Wl,-R,/"
29868 cat >conftest.
$ac_ext <<_ACEOF
29871 cat confdefs.h
>>conftest.
$ac_ext
29872 cat >>conftest.
$ac_ext <<_ACEOF
29873 /* end confdefs.h. */
29883 rm -f conftest.
$ac_objext conftest
$ac_exeext
29884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29885 (eval $ac_link) 2>conftest.er1
29887 grep -v '^ *+' conftest.er1
>conftest.err
29889 cat conftest.err
>&5
29890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29891 (exit $ac_status); } &&
29892 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29894 (eval $ac_try) 2>&5
29896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29897 (exit $ac_status); }; } &&
29898 { ac_try
='test -s conftest$ac_exeext'
29899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29900 (eval $ac_try) 2>&5
29902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29903 (exit $ac_status); }; }; then
29905 echo "$as_me:$LINENO: result: yes" >&5
29906 echo "${ECHO_T}yes" >&6
29907 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
29908 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
29911 echo "$as_me: failed program was:" >&5
29912 sed 's/^/| /' conftest.
$ac_ext >&5
29915 echo "$as_me:$LINENO: result: no" >&5
29916 echo "${ECHO_T}no" >&6
29919 rm -f conftest.err conftest.
$ac_objext \
29920 conftest
$ac_exeext conftest.
$ac_ext
29923 rm -f conftest.err conftest.
$ac_objext \
29924 conftest
$ac_exeext conftest.
$ac_ext
29925 LDFLAGS
="$saveLdflags"
29927 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
29928 WXCONFIG_RPATH
="-R\$libdir"
29932 powerpc
-*-darwin* )
29933 install_name_tool
=`which install_name_tool`
29934 if test "$install_name_tool" -a -x "$install_name_tool"; then
29935 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
29936 cat <<EOF >change-install-names
29938 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29939 inst_cmd="install_name_tool "
29940 for i in \${libnames} ; do
29941 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
29945 chmod +x change
-install-names
29949 *-*-cygwin* | *-*-mingw32* )
29950 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
29954 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
29955 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
29960 if test $wxUSE_RPATH = "no"; then
29961 SAMPLES_RPATH_FLAG
=''
29962 SAMPLES_RPATH_POSTLINK
=''
29970 config_linkage_component
="-static"
29977 lib_unicode_suffix
=
29979 if test "$wxUSE_UNICODE" = "yes"; then
29980 lib_unicode_suffix
=u
29981 WX_CHARTYPE
="unicode"
29986 WX_DEBUGTYPE
="release"
29988 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
29990 WX_DEBUGTYPE
="debug"
29994 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
29995 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
29998 if test "$wxUSE_DEBUG_INFO" = "yes"; then
30002 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
30004 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
30006 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
30008 if test "$cross_compiling" = "yes"; then
30009 HOST_SUFFIX
="-$host_alias"
30010 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
30011 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
30014 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30015 if test "${TOOLKIT_DIR}" = "os2"; then
30016 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30018 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30023 if test "$wxUSE_COCOA" = 1; then
30027 ac_cpp
='$CPP $CPPFLAGS'
30028 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30029 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30030 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30034 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
30035 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
30036 cat >conftest.
$ac_ext <<_ACEOF
30039 cat confdefs.h
>>conftest.
$ac_ext
30040 cat >>conftest.
$ac_ext <<_ACEOF
30041 /* end confdefs.h. */
30042 #include <AppKit/NSEvent.h>
30043 #include <CoreFoundation/CoreFoundation.h>
30053 rm -f conftest.
$ac_objext
30054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30055 (eval $ac_compile) 2>conftest.er1
30057 grep -v '^ *+' conftest.er1
>conftest.err
30059 cat conftest.err
>&5
30060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30061 (exit $ac_status); } &&
30062 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30064 (eval $ac_try) 2>&5
30066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30067 (exit $ac_status); }; } &&
30068 { ac_try
='test -s conftest.$ac_objext'
30069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30070 (eval $ac_try) 2>&5
30072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30073 (exit $ac_status); }; }; then
30074 echo "$as_me:$LINENO: result: no" >&5
30075 echo "${ECHO_T}no" >&6
30077 echo "$as_me: failed program was:" >&5
30078 sed 's/^/| /' conftest.
$ac_ext >&5
30080 echo "$as_me:$LINENO: result: yes" >&5
30081 echo "${ECHO_T}yes" >&6
30082 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
30083 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
30084 cat >conftest.
$ac_ext <<_ACEOF
30087 cat confdefs.h
>>conftest.
$ac_ext
30088 cat >>conftest.
$ac_ext <<_ACEOF
30089 /* end confdefs.h. */
30090 #define __Point__ 1
30091 #include <AppKit/NSEvent.h>
30092 #include <CoreFoundation/CoreFoundation.h>
30102 rm -f conftest.
$ac_objext
30103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30104 (eval $ac_compile) 2>conftest.er1
30106 grep -v '^ *+' conftest.er1
>conftest.err
30108 cat conftest.err
>&5
30109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30110 (exit $ac_status); } &&
30111 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30113 (eval $ac_try) 2>&5
30115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30116 (exit $ac_status); }; } &&
30117 { ac_try
='test -s conftest.$ac_objext'
30118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30119 (eval $ac_try) 2>&5
30121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30122 (exit $ac_status); }; }; then
30123 echo "$as_me:$LINENO: result: yes" >&5
30124 echo "${ECHO_T}yes" >&6
30125 cat >>confdefs.h
<<\_ACEOF
30126 #define __Point__ 1
30131 echo "$as_me: failed program was:" >&5
30132 sed 's/^/| /' conftest.
$ac_ext >&5
30134 { { echo "$as_me:$LINENO: error: no
30135 See \`config.log' for more details." >&5
30136 echo "$as_me: error: no
30137 See \`config.log' for more details." >&2;}
30138 { (exit 1); exit 1; }; }
30141 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30144 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30146 ac_cpp
='$CPP $CPPFLAGS'
30147 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30148 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30149 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30153 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
30154 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
30155 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
30157 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
30159 # Extract the first word of "Rez", so it can be a program name with args.
30160 set dummy Rez
; ac_word
=$2
30161 echo "$as_me:$LINENO: checking for $ac_word" >&5
30162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30163 if test "${ac_cv_prog_RESCOMP+set}" = set; then
30164 echo $ECHO_N "(cached) $ECHO_C" >&6
30166 if test -n "$RESCOMP"; then
30167 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
30169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30170 for as_dir
in $PATH
30173 test -z "$as_dir" && as_dir
=.
30174 for ac_exec_ext
in '' $ac_executable_extensions; do
30175 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30176 ac_cv_prog_RESCOMP
="Rez"
30177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30183 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
30186 RESCOMP
=$ac_cv_prog_RESCOMP
30187 if test -n "$RESCOMP"; then
30188 echo "$as_me:$LINENO: result: $RESCOMP" >&5
30189 echo "${ECHO_T}$RESCOMP" >&6
30191 echo "$as_me:$LINENO: result: no" >&5
30192 echo "${ECHO_T}no" >&6
30195 # Extract the first word of "DeRez", so it can be a program name with args.
30196 set dummy DeRez
; ac_word
=$2
30197 echo "$as_me:$LINENO: checking for $ac_word" >&5
30198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30199 if test "${ac_cv_prog_DEREZ+set}" = set; then
30200 echo $ECHO_N "(cached) $ECHO_C" >&6
30202 if test -n "$DEREZ"; then
30203 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
30205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30206 for as_dir
in $PATH
30209 test -z "$as_dir" && as_dir
=.
30210 for ac_exec_ext
in '' $ac_executable_extensions; do
30211 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30212 ac_cv_prog_DEREZ
="DeRez"
30213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30219 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
30222 DEREZ
=$ac_cv_prog_DEREZ
30223 if test -n "$DEREZ"; then
30224 echo "$as_me:$LINENO: result: $DEREZ" >&5
30225 echo "${ECHO_T}$DEREZ" >&6
30227 echo "$as_me:$LINENO: result: no" >&5
30228 echo "${ECHO_T}no" >&6
30231 # Extract the first word of "SetFile", so it can be a program name with args.
30232 set dummy SetFile
; ac_word
=$2
30233 echo "$as_me:$LINENO: checking for $ac_word" >&5
30234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30235 if test "${ac_cv_prog_SETFILE+set}" = set; then
30236 echo $ECHO_N "(cached) $ECHO_C" >&6
30238 if test -n "$SETFILE"; then
30239 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
30241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30242 for as_dir
in $PATH
30245 test -z "$as_dir" && as_dir
=.
30246 for ac_exec_ext
in '' $ac_executable_extensions; do
30247 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30248 ac_cv_prog_SETFILE
="SetFile"
30249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30255 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
30258 SETFILE
=$ac_cv_prog_SETFILE
30259 if test -n "$SETFILE"; then
30260 echo "$as_me:$LINENO: result: $SETFILE" >&5
30261 echo "${ECHO_T}$SETFILE" >&6
30263 echo "$as_me:$LINENO: result: no" >&5
30264 echo "${ECHO_T}no" >&6
30268 MACSETFILE
="\$(SETFILE)"
30270 if test "$wxUSE_MAC" = 1; then
30271 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r -o"
30273 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r -o"
30275 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
30276 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
30280 MACRESWXCONFIG
="@true"
30282 if test "$wxUSE_PM" = 1; then
30283 MACRESCOMP
="emxbind -ep"
30291 echo "$as_me:$LINENO: checking for mode_t" >&5
30292 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
30293 if test "${ac_cv_type_mode_t+set}" = set; then
30294 echo $ECHO_N "(cached) $ECHO_C" >&6
30296 cat >conftest.
$ac_ext <<_ACEOF
30299 cat confdefs.h
>>conftest.
$ac_ext
30300 cat >>conftest.
$ac_ext <<_ACEOF
30301 /* end confdefs.h. */
30302 $ac_includes_default
30308 if (sizeof (mode_t))
30314 rm -f conftest.
$ac_objext
30315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30316 (eval $ac_compile) 2>conftest.er1
30318 grep -v '^ *+' conftest.er1
>conftest.err
30320 cat conftest.err
>&5
30321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30322 (exit $ac_status); } &&
30323 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30325 (eval $ac_try) 2>&5
30327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30328 (exit $ac_status); }; } &&
30329 { ac_try
='test -s conftest.$ac_objext'
30330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30331 (eval $ac_try) 2>&5
30333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30334 (exit $ac_status); }; }; then
30335 ac_cv_type_mode_t
=yes
30337 echo "$as_me: failed program was:" >&5
30338 sed 's/^/| /' conftest.
$ac_ext >&5
30340 ac_cv_type_mode_t
=no
30342 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30344 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
30345 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
30346 if test $ac_cv_type_mode_t = yes; then
30350 cat >>confdefs.h
<<_ACEOF
30356 echo "$as_me:$LINENO: checking for off_t" >&5
30357 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
30358 if test "${ac_cv_type_off_t+set}" = set; then
30359 echo $ECHO_N "(cached) $ECHO_C" >&6
30361 cat >conftest.
$ac_ext <<_ACEOF
30364 cat confdefs.h
>>conftest.
$ac_ext
30365 cat >>conftest.
$ac_ext <<_ACEOF
30366 /* end confdefs.h. */
30367 $ac_includes_default
30373 if (sizeof (off_t))
30379 rm -f conftest.
$ac_objext
30380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30381 (eval $ac_compile) 2>conftest.er1
30383 grep -v '^ *+' conftest.er1
>conftest.err
30385 cat conftest.err
>&5
30386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30387 (exit $ac_status); } &&
30388 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30390 (eval $ac_try) 2>&5
30392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30393 (exit $ac_status); }; } &&
30394 { ac_try
='test -s conftest.$ac_objext'
30395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30396 (eval $ac_try) 2>&5
30398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30399 (exit $ac_status); }; }; then
30400 ac_cv_type_off_t
=yes
30402 echo "$as_me: failed program was:" >&5
30403 sed 's/^/| /' conftest.
$ac_ext >&5
30405 ac_cv_type_off_t
=no
30407 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30409 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
30410 echo "${ECHO_T}$ac_cv_type_off_t" >&6
30411 if test $ac_cv_type_off_t = yes; then
30415 cat >>confdefs.h
<<_ACEOF
30421 echo "$as_me:$LINENO: checking for pid_t" >&5
30422 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
30423 if test "${ac_cv_type_pid_t+set}" = set; then
30424 echo $ECHO_N "(cached) $ECHO_C" >&6
30426 cat >conftest.
$ac_ext <<_ACEOF
30429 cat confdefs.h
>>conftest.
$ac_ext
30430 cat >>conftest.
$ac_ext <<_ACEOF
30431 /* end confdefs.h. */
30432 $ac_includes_default
30438 if (sizeof (pid_t))
30444 rm -f conftest.
$ac_objext
30445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30446 (eval $ac_compile) 2>conftest.er1
30448 grep -v '^ *+' conftest.er1
>conftest.err
30450 cat conftest.err
>&5
30451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30452 (exit $ac_status); } &&
30453 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30455 (eval $ac_try) 2>&5
30457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30458 (exit $ac_status); }; } &&
30459 { ac_try
='test -s conftest.$ac_objext'
30460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30461 (eval $ac_try) 2>&5
30463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30464 (exit $ac_status); }; }; then
30465 ac_cv_type_pid_t
=yes
30467 echo "$as_me: failed program was:" >&5
30468 sed 's/^/| /' conftest.
$ac_ext >&5
30470 ac_cv_type_pid_t
=no
30472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30474 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
30475 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
30476 if test $ac_cv_type_pid_t = yes; then
30480 cat >>confdefs.h
<<_ACEOF
30486 echo "$as_me:$LINENO: checking for size_t" >&5
30487 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
30488 if test "${ac_cv_type_size_t+set}" = set; then
30489 echo $ECHO_N "(cached) $ECHO_C" >&6
30491 cat >conftest.
$ac_ext <<_ACEOF
30494 cat confdefs.h
>>conftest.
$ac_ext
30495 cat >>conftest.
$ac_ext <<_ACEOF
30496 /* end confdefs.h. */
30497 $ac_includes_default
30503 if (sizeof (size_t))
30509 rm -f conftest.
$ac_objext
30510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30511 (eval $ac_compile) 2>conftest.er1
30513 grep -v '^ *+' conftest.er1
>conftest.err
30515 cat conftest.err
>&5
30516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30517 (exit $ac_status); } &&
30518 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30520 (eval $ac_try) 2>&5
30522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30523 (exit $ac_status); }; } &&
30524 { ac_try
='test -s conftest.$ac_objext'
30525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30526 (eval $ac_try) 2>&5
30528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30529 (exit $ac_status); }; }; then
30530 ac_cv_type_size_t
=yes
30532 echo "$as_me: failed program was:" >&5
30533 sed 's/^/| /' conftest.
$ac_ext >&5
30535 ac_cv_type_size_t
=no
30537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30539 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
30540 echo "${ECHO_T}$ac_cv_type_size_t" >&6
30541 if test $ac_cv_type_size_t = yes; then
30545 cat >>confdefs.h
<<_ACEOF
30546 #define size_t unsigned
30551 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
30552 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
30553 if test "${ac_cv_type_uid_t+set}" = set; then
30554 echo $ECHO_N "(cached) $ECHO_C" >&6
30556 cat >conftest.
$ac_ext <<_ACEOF
30559 cat confdefs.h
>>conftest.
$ac_ext
30560 cat >>conftest.
$ac_ext <<_ACEOF
30561 /* end confdefs.h. */
30562 #include <sys/types.h>
30565 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
30566 $EGREP "uid_t" >/dev
/null
2>&1; then
30567 ac_cv_type_uid_t
=yes
30569 ac_cv_type_uid_t
=no
30574 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
30575 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
30576 if test $ac_cv_type_uid_t = no
; then
30578 cat >>confdefs.h
<<\_ACEOF
30583 cat >>confdefs.h
<<\_ACEOF
30590 echo "$as_me:$LINENO: checking for ssize_t" >&5
30591 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
30592 if test "${ac_cv_type_ssize_t+set}" = set; then
30593 echo $ECHO_N "(cached) $ECHO_C" >&6
30595 cat >conftest.
$ac_ext <<_ACEOF
30598 cat confdefs.h
>>conftest.
$ac_ext
30599 cat >>conftest.
$ac_ext <<_ACEOF
30600 /* end confdefs.h. */
30601 $ac_includes_default
30607 if (sizeof (ssize_t))
30613 rm -f conftest.
$ac_objext
30614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30615 (eval $ac_compile) 2>conftest.er1
30617 grep -v '^ *+' conftest.er1
>conftest.err
30619 cat conftest.err
>&5
30620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30621 (exit $ac_status); } &&
30622 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30624 (eval $ac_try) 2>&5
30626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30627 (exit $ac_status); }; } &&
30628 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
30634 ac_cv_type_ssize_t
=yes
30636 echo "$as_me: failed program was:" >&5
30637 sed 's/^/| /' conftest.
$ac_ext >&5
30639 ac_cv_type_ssize_t
=no
30641 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30643 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
30644 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
30645 if test $ac_cv_type_ssize_t = yes; then
30647 cat >>confdefs.h
<<_ACEOF
30648 #define HAVE_SSIZE_T 1
30658 ac_cpp
='$CXXCPP $CPPFLAGS'
30659 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30660 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30661 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30663 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
30664 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
30665 if test "${wx_cv_size_t_is_uint+set}" = set; then
30666 echo $ECHO_N "(cached) $ECHO_C" >&6
30669 cat >conftest.
$ac_ext <<_ACEOF
30672 cat confdefs.h
>>conftest.
$ac_ext
30673 cat >>conftest.
$ac_ext <<_ACEOF
30674 /* end confdefs.h. */
30675 #include <stddef.h>
30682 struct Foo { void foo(size_t); void foo(unsigned int); };
30690 rm -f conftest.
$ac_objext
30691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30692 (eval $ac_compile) 2>conftest.er1
30694 grep -v '^ *+' conftest.er1
>conftest.err
30696 cat conftest.err
>&5
30697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30698 (exit $ac_status); } &&
30699 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30701 (eval $ac_try) 2>&5
30703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30704 (exit $ac_status); }; } &&
30705 { ac_try
='test -s conftest.$ac_objext'
30706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30707 (eval $ac_try) 2>&5
30709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30710 (exit $ac_status); }; }; then
30711 wx_cv_size_t_is_uint
=no
30713 echo "$as_me: failed program was:" >&5
30714 sed 's/^/| /' conftest.
$ac_ext >&5
30716 wx_cv_size_t_is_uint
=yes
30719 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30723 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
30724 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
30726 if test "$wx_cv_size_t_is_uint" = "yes"; then
30727 cat >>confdefs.h
<<\_ACEOF
30728 #define wxSIZE_T_IS_UINT 1
30732 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
30733 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
30734 if test "${wx_cv_size_t_is_ulong+set}" = set; then
30735 echo $ECHO_N "(cached) $ECHO_C" >&6
30737 cat >conftest.
$ac_ext <<_ACEOF
30740 cat confdefs.h
>>conftest.
$ac_ext
30741 cat >>conftest.
$ac_ext <<_ACEOF
30742 /* end confdefs.h. */
30743 #include <stddef.h>
30750 struct Foo { void foo(size_t); void foo(unsigned long); };
30758 rm -f conftest.
$ac_objext
30759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30760 (eval $ac_compile) 2>conftest.er1
30762 grep -v '^ *+' conftest.er1
>conftest.err
30764 cat conftest.err
>&5
30765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30766 (exit $ac_status); } &&
30767 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30769 (eval $ac_try) 2>&5
30771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30772 (exit $ac_status); }; } &&
30773 { ac_try
='test -s conftest.$ac_objext'
30774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30775 (eval $ac_try) 2>&5
30777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30778 (exit $ac_status); }; }; then
30779 wx_cv_size_t_is_ulong
=no
30781 echo "$as_me: failed program was:" >&5
30782 sed 's/^/| /' conftest.
$ac_ext >&5
30784 wx_cv_size_t_is_ulong
=yes
30787 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30790 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
30791 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
30793 if test "$wx_cv_size_t_is_ulong" = "yes"; then
30794 cat >>confdefs.h
<<\_ACEOF
30795 #define wxSIZE_T_IS_ULONG 1
30802 ac_cpp
='$CPP $CPPFLAGS'
30803 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30804 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30805 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30809 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
30810 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
30811 if test "${wx_cv_struct_pw_gecos+set}" = set; then
30812 echo $ECHO_N "(cached) $ECHO_C" >&6
30815 cat >conftest.
$ac_ext <<_ACEOF
30818 cat confdefs.h
>>conftest.
$ac_ext
30819 cat >>conftest.
$ac_ext <<_ACEOF
30820 /* end confdefs.h. */
30834 rm -f conftest.
$ac_objext
30835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30836 (eval $ac_compile) 2>conftest.er1
30838 grep -v '^ *+' conftest.er1
>conftest.err
30840 cat conftest.err
>&5
30841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30842 (exit $ac_status); } &&
30843 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30845 (eval $ac_try) 2>&5
30847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30848 (exit $ac_status); }; } &&
30849 { ac_try
='test -s conftest.$ac_objext'
30850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30851 (eval $ac_try) 2>&5
30853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30854 (exit $ac_status); }; }; then
30856 wx_cv_struct_pw_gecos
=yes
30859 echo "$as_me: failed program was:" >&5
30860 sed 's/^/| /' conftest.
$ac_ext >&5
30863 wx_cv_struct_pw_gecos
=no
30867 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30871 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
30872 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
30874 if test "$wx_cv_struct_pw_gecos" = "yes"; then
30875 cat >>confdefs.h
<<\_ACEOF
30876 #define HAVE_PW_GECOS 1
30882 if test "$wxUSE_WCHAR_T" = "yes"; then
30883 cat >>confdefs.h
<<\_ACEOF
30884 #define wxUSE_WCHAR_T 1
30891 for ac_func
in wcslen
30893 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30894 echo "$as_me:$LINENO: checking for $ac_func" >&5
30895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30896 if eval "test \"\${$as_ac_var+set}\" = set"; then
30897 echo $ECHO_N "(cached) $ECHO_C" >&6
30899 cat >conftest.
$ac_ext <<_ACEOF
30902 cat confdefs.h
>>conftest.
$ac_ext
30903 cat >>conftest.
$ac_ext <<_ACEOF
30904 /* end confdefs.h. */
30905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30907 #define $ac_func innocuous_$ac_func
30909 /* System header to define __stub macros and hopefully few prototypes,
30910 which can conflict with char $ac_func (); below.
30911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30912 <limits.h> exists even on freestanding compilers. */
30915 # include <limits.h>
30917 # include <assert.h>
30922 /* Override any gcc2 internal prototype to avoid an error. */
30927 /* We use char because int might match the return type of a gcc2
30928 builtin and then its argument prototype would still apply. */
30930 /* The GNU C library defines this for functions which it implements
30931 to always fail with ENOSYS. Some functions are actually named
30932 something starting with __ and the normal name is an alias. */
30933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30936 char (*f) () = $ac_func;
30945 return f != $ac_func;
30950 rm -f conftest.
$ac_objext conftest
$ac_exeext
30951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30952 (eval $ac_link) 2>conftest.er1
30954 grep -v '^ *+' conftest.er1
>conftest.err
30956 cat conftest.err
>&5
30957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30958 (exit $ac_status); } &&
30959 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30961 (eval $ac_try) 2>&5
30963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30964 (exit $ac_status); }; } &&
30965 { ac_try
='test -s conftest$ac_exeext'
30966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30967 (eval $ac_try) 2>&5
30969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30970 (exit $ac_status); }; }; then
30971 eval "$as_ac_var=yes"
30973 echo "$as_me: failed program was:" >&5
30974 sed 's/^/| /' conftest.
$ac_ext >&5
30976 eval "$as_ac_var=no"
30978 rm -f conftest.err conftest.
$ac_objext \
30979 conftest
$ac_exeext conftest.
$ac_ext
30981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30983 if test `eval echo '${'$as_ac_var'}'` = yes; then
30984 cat >>confdefs.h
<<_ACEOF
30985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30992 if test "$WCSLEN_FOUND" = 0; then
30993 if test "$TOOLKIT" = "MSW"; then
30994 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
30995 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
30996 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
30997 echo $ECHO_N "(cached) $ECHO_C" >&6
30999 ac_check_lib_save_LIBS
=$LIBS
31000 LIBS
="-lmsvcrt $LIBS"
31001 cat >conftest.
$ac_ext <<_ACEOF
31004 cat confdefs.h
>>conftest.
$ac_ext
31005 cat >>conftest.
$ac_ext <<_ACEOF
31006 /* end confdefs.h. */
31008 /* Override any gcc2 internal prototype to avoid an error. */
31012 /* We use char because int might match the return type of a gcc2
31013 builtin and then its argument prototype would still apply. */
31023 rm -f conftest.
$ac_objext conftest
$ac_exeext
31024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31025 (eval $ac_link) 2>conftest.er1
31027 grep -v '^ *+' conftest.er1
>conftest.err
31029 cat conftest.err
>&5
31030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31031 (exit $ac_status); } &&
31032 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31034 (eval $ac_try) 2>&5
31036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31037 (exit $ac_status); }; } &&
31038 { ac_try
='test -s conftest$ac_exeext'
31039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31040 (eval $ac_try) 2>&5
31042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31043 (exit $ac_status); }; }; then
31044 ac_cv_lib_msvcrt_wcslen
=yes
31046 echo "$as_me: failed program was:" >&5
31047 sed 's/^/| /' conftest.
$ac_ext >&5
31049 ac_cv_lib_msvcrt_wcslen
=no
31051 rm -f conftest.err conftest.
$ac_objext \
31052 conftest
$ac_exeext conftest.
$ac_ext
31053 LIBS
=$ac_check_lib_save_LIBS
31055 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
31056 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
31057 if test $ac_cv_lib_msvcrt_wcslen = yes; then
31062 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
31063 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
31064 if test "${ac_cv_lib_w_wcslen+set}" = set; then
31065 echo $ECHO_N "(cached) $ECHO_C" >&6
31067 ac_check_lib_save_LIBS
=$LIBS
31069 cat >conftest.
$ac_ext <<_ACEOF
31072 cat confdefs.h
>>conftest.
$ac_ext
31073 cat >>conftest.
$ac_ext <<_ACEOF
31074 /* end confdefs.h. */
31076 /* Override any gcc2 internal prototype to avoid an error. */
31080 /* We use char because int might match the return type of a gcc2
31081 builtin and then its argument prototype would still apply. */
31091 rm -f conftest.
$ac_objext conftest
$ac_exeext
31092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31093 (eval $ac_link) 2>conftest.er1
31095 grep -v '^ *+' conftest.er1
>conftest.err
31097 cat conftest.err
>&5
31098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31099 (exit $ac_status); } &&
31100 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31102 (eval $ac_try) 2>&5
31104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31105 (exit $ac_status); }; } &&
31106 { ac_try
='test -s conftest$ac_exeext'
31107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31108 (eval $ac_try) 2>&5
31110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31111 (exit $ac_status); }; }; then
31112 ac_cv_lib_w_wcslen
=yes
31114 echo "$as_me: failed program was:" >&5
31115 sed 's/^/| /' conftest.
$ac_ext >&5
31117 ac_cv_lib_w_wcslen
=no
31119 rm -f conftest.err conftest.
$ac_objext \
31120 conftest
$ac_exeext conftest.
$ac_ext
31121 LIBS
=$ac_check_lib_save_LIBS
31123 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
31124 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
31125 if test $ac_cv_lib_w_wcslen = yes; then
31135 if test "$WCSLEN_FOUND" = 1; then
31136 cat >>confdefs.h
<<\_ACEOF
31137 #define HAVE_WCSLEN 1
31142 if test "$USE_HPUX" = 1; then
31143 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
31147 for ac_func
in wcsrtombs
31149 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31150 echo "$as_me:$LINENO: checking for $ac_func" >&5
31151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31152 if eval "test \"\${$as_ac_var+set}\" = set"; then
31153 echo $ECHO_N "(cached) $ECHO_C" >&6
31155 cat >conftest.
$ac_ext <<_ACEOF
31158 cat confdefs.h
>>conftest.
$ac_ext
31159 cat >>conftest.
$ac_ext <<_ACEOF
31160 /* end confdefs.h. */
31161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31163 #define $ac_func innocuous_$ac_func
31165 /* System header to define __stub macros and hopefully few prototypes,
31166 which can conflict with char $ac_func (); below.
31167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31168 <limits.h> exists even on freestanding compilers. */
31171 # include <limits.h>
31173 # include <assert.h>
31178 /* Override any gcc2 internal prototype to avoid an error. */
31183 /* We use char because int might match the return type of a gcc2
31184 builtin and then its argument prototype would still apply. */
31186 /* The GNU C library defines this for functions which it implements
31187 to always fail with ENOSYS. Some functions are actually named
31188 something starting with __ and the normal name is an alias. */
31189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31192 char (*f) () = $ac_func;
31201 return f != $ac_func;
31206 rm -f conftest.
$ac_objext conftest
$ac_exeext
31207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31208 (eval $ac_link) 2>conftest.er1
31210 grep -v '^ *+' conftest.er1
>conftest.err
31212 cat conftest.err
>&5
31213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31214 (exit $ac_status); } &&
31215 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31217 (eval $ac_try) 2>&5
31219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31220 (exit $ac_status); }; } &&
31221 { ac_try
='test -s conftest$ac_exeext'
31222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31223 (eval $ac_try) 2>&5
31225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31226 (exit $ac_status); }; }; then
31227 eval "$as_ac_var=yes"
31229 echo "$as_me: failed program was:" >&5
31230 sed 's/^/| /' conftest.
$ac_ext >&5
31232 eval "$as_ac_var=no"
31234 rm -f conftest.err conftest.
$ac_objext \
31235 conftest
$ac_exeext conftest.
$ac_ext
31237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31239 if test `eval echo '${'$as_ac_var'}'` = yes; then
31240 cat >>confdefs.h
<<_ACEOF
31241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31248 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
31249 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
31255 ac_cpp
='$CXXCPP $CPPFLAGS'
31256 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31257 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31258 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31262 for ac_func
in vsnprintf
31264 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31265 echo "$as_me:$LINENO: checking for $ac_func" >&5
31266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31267 if eval "test \"\${$as_ac_var+set}\" = set"; then
31268 echo $ECHO_N "(cached) $ECHO_C" >&6
31270 cat >conftest.
$ac_ext <<_ACEOF
31273 cat confdefs.h
>>conftest.
$ac_ext
31274 cat >>conftest.
$ac_ext <<_ACEOF
31275 /* end confdefs.h. */
31276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31278 #define $ac_func innocuous_$ac_func
31280 /* System header to define __stub macros and hopefully few prototypes,
31281 which can conflict with char $ac_func (); below.
31282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31283 <limits.h> exists even on freestanding compilers. */
31286 # include <limits.h>
31288 # include <assert.h>
31293 /* Override any gcc2 internal prototype to avoid an error. */
31298 /* We use char because int might match the return type of a gcc2
31299 builtin and then its argument prototype would still apply. */
31301 /* The GNU C library defines this for functions which it implements
31302 to always fail with ENOSYS. Some functions are actually named
31303 something starting with __ and the normal name is an alias. */
31304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31307 char (*f) () = $ac_func;
31316 return f != $ac_func;
31321 rm -f conftest.
$ac_objext conftest
$ac_exeext
31322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31323 (eval $ac_link) 2>conftest.er1
31325 grep -v '^ *+' conftest.er1
>conftest.err
31327 cat conftest.err
>&5
31328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31329 (exit $ac_status); } &&
31330 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31332 (eval $ac_try) 2>&5
31334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31335 (exit $ac_status); }; } &&
31336 { ac_try
='test -s conftest$ac_exeext'
31337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31338 (eval $ac_try) 2>&5
31340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31341 (exit $ac_status); }; }; then
31342 eval "$as_ac_var=yes"
31344 echo "$as_me: failed program was:" >&5
31345 sed 's/^/| /' conftest.
$ac_ext >&5
31347 eval "$as_ac_var=no"
31349 rm -f conftest.err conftest.
$ac_objext \
31350 conftest
$ac_exeext conftest.
$ac_ext
31352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31354 if test `eval echo '${'$as_ac_var'}'` = yes; then
31355 cat >>confdefs.h
<<_ACEOF
31356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31363 if test "$ac_cv_func_vsnprintf" = "yes"; then
31364 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
31365 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
31366 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
31367 echo $ECHO_N "(cached) $ECHO_C" >&6
31370 cat >conftest.
$ac_ext <<_ACEOF
31373 cat confdefs.h
>>conftest.
$ac_ext
31374 cat >>conftest.
$ac_ext <<_ACEOF
31375 /* end confdefs.h. */
31378 #include <stdarg.h>
31386 vsnprintf(buf, 10u, "%s", ap);
31392 rm -f conftest.
$ac_objext
31393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31394 (eval $ac_compile) 2>conftest.er1
31396 grep -v '^ *+' conftest.er1
>conftest.err
31398 cat conftest.err
>&5
31399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31400 (exit $ac_status); } &&
31401 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31403 (eval $ac_try) 2>&5
31405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31406 (exit $ac_status); }; } &&
31407 { ac_try
='test -s conftest.$ac_objext'
31408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31409 (eval $ac_try) 2>&5
31411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31412 (exit $ac_status); }; }; then
31413 wx_cv_func_vsnprintf_decl
=yes
31415 echo "$as_me: failed program was:" >&5
31416 sed 's/^/| /' conftest.
$ac_ext >&5
31419 cat >conftest.
$ac_ext <<_ACEOF
31422 cat confdefs.h
>>conftest.
$ac_ext
31423 cat >>conftest.
$ac_ext <<_ACEOF
31424 /* end confdefs.h. */
31427 #include <stdarg.h>
31428 using namespace std;
31436 vsnprintf(buf, 10u, "%s", ap);
31442 rm -f conftest.
$ac_objext
31443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31444 (eval $ac_compile) 2>conftest.er1
31446 grep -v '^ *+' conftest.er1
>conftest.err
31448 cat conftest.err
>&5
31449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31450 (exit $ac_status); } &&
31451 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31453 (eval $ac_try) 2>&5
31455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31456 (exit $ac_status); }; } &&
31457 { ac_try
='test -s conftest.$ac_objext'
31458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31459 (eval $ac_try) 2>&5
31461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31462 (exit $ac_status); }; }; then
31463 wx_cv_func_vsnprintf_decl
=yes
31465 echo "$as_me: failed program was:" >&5
31466 sed 's/^/| /' conftest.
$ac_ext >&5
31468 wx_cv_func_vsnprintf_decl
=no
31471 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31475 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31479 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
31480 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
31482 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
31483 cat >>confdefs.h
<<\_ACEOF
31484 #define HAVE_VSNPRINTF_DECL 1
31490 if test "$wxUSE_UNICODE" = yes; then
31497 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
31499 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31500 echo "$as_me:$LINENO: checking for $ac_func" >&5
31501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31502 if eval "test \"\${$as_ac_var+set}\" = set"; then
31503 echo $ECHO_N "(cached) $ECHO_C" >&6
31505 cat >conftest.
$ac_ext <<_ACEOF
31508 cat confdefs.h
>>conftest.
$ac_ext
31509 cat >>conftest.
$ac_ext <<_ACEOF
31510 /* end confdefs.h. */
31511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31513 #define $ac_func innocuous_$ac_func
31515 /* System header to define __stub macros and hopefully few prototypes,
31516 which can conflict with char $ac_func (); below.
31517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31518 <limits.h> exists even on freestanding compilers. */
31521 # include <limits.h>
31523 # include <assert.h>
31528 /* Override any gcc2 internal prototype to avoid an error. */
31533 /* We use char because int might match the return type of a gcc2
31534 builtin and then its argument prototype would still apply. */
31536 /* The GNU C library defines this for functions which it implements
31537 to always fail with ENOSYS. Some functions are actually named
31538 something starting with __ and the normal name is an alias. */
31539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31542 char (*f) () = $ac_func;
31551 return f != $ac_func;
31556 rm -f conftest.
$ac_objext conftest
$ac_exeext
31557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31558 (eval $ac_link) 2>conftest.er1
31560 grep -v '^ *+' conftest.er1
>conftest.err
31562 cat conftest.err
>&5
31563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31564 (exit $ac_status); } &&
31565 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31567 (eval $ac_try) 2>&5
31569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31570 (exit $ac_status); }; } &&
31571 { ac_try
='test -s conftest$ac_exeext'
31572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31573 (eval $ac_try) 2>&5
31575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31576 (exit $ac_status); }; }; then
31577 eval "$as_ac_var=yes"
31579 echo "$as_me: failed program was:" >&5
31580 sed 's/^/| /' conftest.
$ac_ext >&5
31582 eval "$as_ac_var=no"
31584 rm -f conftest.err conftest.
$ac_objext \
31585 conftest
$ac_exeext conftest.
$ac_ext
31587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31589 if test `eval echo '${'$as_ac_var'}'` = yes; then
31590 cat >>confdefs.h
<<_ACEOF
31591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31598 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
31599 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
31600 cat >conftest.
$ac_ext <<_ACEOF
31603 cat confdefs.h
>>conftest.
$ac_ext
31604 cat >>conftest.
$ac_ext <<_ACEOF
31605 /* end confdefs.h. */
31615 rm -f conftest.
$ac_objext
31616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31617 (eval $ac_compile) 2>conftest.er1
31619 grep -v '^ *+' conftest.er1
>conftest.err
31621 cat conftest.err
>&5
31622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31623 (exit $ac_status); } &&
31624 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31626 (eval $ac_try) 2>&5
31628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31629 (exit $ac_status); }; } &&
31630 { ac_try
='test -s conftest.$ac_objext'
31631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31632 (eval $ac_try) 2>&5
31634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31635 (exit $ac_status); }; }; then
31636 echo "$as_me:$LINENO: result: yes" >&5
31637 echo "${ECHO_T}yes" >&6
31638 cat >>confdefs.h
<<\_ACEOF
31639 #define HAVE__VSNWPRINTF 1
31643 echo "$as_me: failed program was:" >&5
31644 sed 's/^/| /' conftest.
$ac_ext >&5
31646 echo "$as_me:$LINENO: result: no" >&5
31647 echo "${ECHO_T}no" >&6
31649 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
31653 ac_cpp
='$CPP $CPPFLAGS'
31654 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31655 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31656 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31661 if test "$TOOLKIT" != "MSW"; then
31667 ac_cpp
='$CXXCPP $CPPFLAGS'
31668 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31669 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31670 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31675 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
31676 if test "${with_libiconv_prefix+set}" = set; then
31677 withval
="$with_libiconv_prefix"
31679 for dir
in `echo "$withval" | tr : ' '`; do
31680 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
31681 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
31686 echo "$as_me:$LINENO: checking for iconv" >&5
31687 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
31688 if test "${am_cv_func_iconv+set}" = set; then
31689 echo $ECHO_N "(cached) $ECHO_C" >&6
31692 am_cv_func_iconv
="no, consider installing GNU libiconv"
31694 cat >conftest.
$ac_ext <<_ACEOF
31697 cat confdefs.h
>>conftest.
$ac_ext
31698 cat >>conftest.
$ac_ext <<_ACEOF
31699 /* end confdefs.h. */
31700 #include <stdlib.h>
31705 iconv_t cd = iconv_open("","");
31706 iconv(cd,NULL,NULL,NULL,NULL);
31712 rm -f conftest.
$ac_objext conftest
$ac_exeext
31713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31714 (eval $ac_link) 2>conftest.er1
31716 grep -v '^ *+' conftest.er1
>conftest.err
31718 cat conftest.err
>&5
31719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31720 (exit $ac_status); } &&
31721 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31723 (eval $ac_try) 2>&5
31725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31726 (exit $ac_status); }; } &&
31727 { ac_try
='test -s conftest$ac_exeext'
31728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31729 (eval $ac_try) 2>&5
31731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31732 (exit $ac_status); }; }; then
31733 am_cv_func_iconv
=yes
31735 echo "$as_me: failed program was:" >&5
31736 sed 's/^/| /' conftest.
$ac_ext >&5
31739 rm -f conftest.err conftest.
$ac_objext \
31740 conftest
$ac_exeext conftest.
$ac_ext
31741 if test "$am_cv_func_iconv" != yes; then
31742 am_save_LIBS
="$LIBS"
31743 LIBS
="$LIBS -liconv"
31744 cat >conftest.
$ac_ext <<_ACEOF
31747 cat confdefs.h
>>conftest.
$ac_ext
31748 cat >>conftest.
$ac_ext <<_ACEOF
31749 /* end confdefs.h. */
31750 #include <stdlib.h>
31755 iconv_t cd = iconv_open("","");
31756 iconv(cd,NULL,NULL,NULL,NULL);
31762 rm -f conftest.
$ac_objext conftest
$ac_exeext
31763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31764 (eval $ac_link) 2>conftest.er1
31766 grep -v '^ *+' conftest.er1
>conftest.err
31768 cat conftest.err
>&5
31769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31770 (exit $ac_status); } &&
31771 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31773 (eval $ac_try) 2>&5
31775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31776 (exit $ac_status); }; } &&
31777 { ac_try
='test -s conftest$ac_exeext'
31778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31779 (eval $ac_try) 2>&5
31781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31782 (exit $ac_status); }; }; then
31783 am_cv_lib_iconv
=yes
31784 am_cv_func_iconv
=yes
31786 echo "$as_me: failed program was:" >&5
31787 sed 's/^/| /' conftest.
$ac_ext >&5
31790 rm -f conftest.err conftest.
$ac_objext \
31791 conftest
$ac_exeext conftest.
$ac_ext
31792 LIBS
="$am_save_LIBS"
31796 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
31797 echo "${ECHO_T}$am_cv_func_iconv" >&6
31798 if test "$am_cv_func_iconv" = yes; then
31800 cat >>confdefs.h
<<\_ACEOF
31801 #define HAVE_ICONV 1
31804 echo "$as_me:$LINENO: checking if iconv needs const" >&5
31805 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
31806 if test "${wx_cv_func_iconv_const+set}" = set; then
31807 echo $ECHO_N "(cached) $ECHO_C" >&6
31809 cat >conftest.
$ac_ext <<_ACEOF
31812 cat confdefs.h
>>conftest.
$ac_ext
31813 cat >>conftest.
$ac_ext <<_ACEOF
31814 /* end confdefs.h. */
31816 #include <stdlib.h>
31822 #if defined(__STDC__) || defined(__cplusplus)
31823 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
31836 rm -f conftest.
$ac_objext
31837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31838 (eval $ac_compile) 2>conftest.er1
31840 grep -v '^ *+' conftest.er1
>conftest.err
31842 cat conftest.err
>&5
31843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31844 (exit $ac_status); } &&
31845 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31847 (eval $ac_try) 2>&5
31849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31850 (exit $ac_status); }; } &&
31851 { ac_try
='test -s conftest.$ac_objext'
31852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31853 (eval $ac_try) 2>&5
31855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31856 (exit $ac_status); }; }; then
31857 wx_cv_func_iconv_const
="no"
31859 echo "$as_me: failed program was:" >&5
31860 sed 's/^/| /' conftest.
$ac_ext >&5
31862 wx_cv_func_iconv_const
="yes"
31865 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31868 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
31869 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
31872 if test "x$wx_cv_func_iconv_const" = "xyes"; then
31873 iconv_const
="const"
31877 cat >>confdefs.h
<<_ACEOF
31878 #define ICONV_CONST $iconv_const
31883 if test "$am_cv_lib_iconv" = yes; then
31888 LIBS
="$LIBICONV $LIBS"
31890 ac_cpp
='$CPP $CPPFLAGS'
31891 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31892 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31893 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31896 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
31898 for ac_func
in sigaction
31900 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31901 echo "$as_me:$LINENO: checking for $ac_func" >&5
31902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31903 if eval "test \"\${$as_ac_var+set}\" = set"; then
31904 echo $ECHO_N "(cached) $ECHO_C" >&6
31906 cat >conftest.
$ac_ext <<_ACEOF
31909 cat confdefs.h
>>conftest.
$ac_ext
31910 cat >>conftest.
$ac_ext <<_ACEOF
31911 /* end confdefs.h. */
31912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31914 #define $ac_func innocuous_$ac_func
31916 /* System header to define __stub macros and hopefully few prototypes,
31917 which can conflict with char $ac_func (); below.
31918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31919 <limits.h> exists even on freestanding compilers. */
31922 # include <limits.h>
31924 # include <assert.h>
31929 /* Override any gcc2 internal prototype to avoid an error. */
31934 /* We use char because int might match the return type of a gcc2
31935 builtin and then its argument prototype would still apply. */
31937 /* The GNU C library defines this for functions which it implements
31938 to always fail with ENOSYS. Some functions are actually named
31939 something starting with __ and the normal name is an alias. */
31940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31943 char (*f) () = $ac_func;
31952 return f != $ac_func;
31957 rm -f conftest.
$ac_objext conftest
$ac_exeext
31958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31959 (eval $ac_link) 2>conftest.er1
31961 grep -v '^ *+' conftest.er1
>conftest.err
31963 cat conftest.err
>&5
31964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31965 (exit $ac_status); } &&
31966 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31968 (eval $ac_try) 2>&5
31970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31971 (exit $ac_status); }; } &&
31972 { ac_try
='test -s conftest$ac_exeext'
31973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31974 (eval $ac_try) 2>&5
31976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31977 (exit $ac_status); }; }; then
31978 eval "$as_ac_var=yes"
31980 echo "$as_me: failed program was:" >&5
31981 sed 's/^/| /' conftest.
$ac_ext >&5
31983 eval "$as_ac_var=no"
31985 rm -f conftest.err conftest.
$ac_objext \
31986 conftest
$ac_exeext conftest.
$ac_ext
31988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31990 if test `eval echo '${'$as_ac_var'}'` = yes; then
31991 cat >>confdefs.h
<<_ACEOF
31992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31999 if test "$ac_cv_func_sigaction" = "no"; then
32000 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
32001 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
32002 wxUSE_ON_FATAL_EXCEPTION
=no
32005 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
32009 ac_cpp
='$CXXCPP $CPPFLAGS'
32010 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32011 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32012 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32015 echo "$as_me:$LINENO: checking for sa_handler type" >&5
32016 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
32017 if test "${wx_cv_type_sa_handler+set}" = set; then
32018 echo $ECHO_N "(cached) $ECHO_C" >&6
32021 cat >conftest.
$ac_ext <<_ACEOF
32024 cat confdefs.h
>>conftest.
$ac_ext
32025 cat >>conftest.
$ac_ext <<_ACEOF
32026 /* end confdefs.h. */
32027 #include <signal.h>
32032 extern void testSigHandler(int);
32034 struct sigaction sa;
32035 sa.sa_handler = testSigHandler;
32041 rm -f conftest.
$ac_objext
32042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32043 (eval $ac_compile) 2>conftest.er1
32045 grep -v '^ *+' conftest.er1
>conftest.err
32047 cat conftest.err
>&5
32048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32049 (exit $ac_status); } &&
32050 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32052 (eval $ac_try) 2>&5
32054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32055 (exit $ac_status); }; } &&
32056 { ac_try
='test -s conftest.$ac_objext'
32057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32058 (eval $ac_try) 2>&5
32060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32061 (exit $ac_status); }; }; then
32063 wx_cv_type_sa_handler
=int
32066 echo "$as_me: failed program was:" >&5
32067 sed 's/^/| /' conftest.
$ac_ext >&5
32070 wx_cv_type_sa_handler
=void
32073 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32076 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
32077 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
32080 ac_cpp
='$CPP $CPPFLAGS'
32081 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32082 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32083 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32086 cat >>confdefs.h
<<_ACEOF
32087 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
32093 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
32097 ac_cpp
='$CXXCPP $CPPFLAGS'
32098 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32099 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32100 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32103 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
32104 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
32105 if test "${wx_cv_func_backtrace+set}" = set; then
32106 echo $ECHO_N "(cached) $ECHO_C" >&6
32109 cat >conftest.
$ac_ext <<_ACEOF
32112 cat confdefs.h
>>conftest.
$ac_ext
32113 cat >>conftest.
$ac_ext <<_ACEOF
32114 /* end confdefs.h. */
32115 #include <execinfo.h>
32123 backtrace(trace, 1);
32124 messages = backtrace_symbols(trace, 1);
32130 rm -f conftest.
$ac_objext
32131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32132 (eval $ac_compile) 2>conftest.er1
32134 grep -v '^ *+' conftest.er1
>conftest.err
32136 cat conftest.err
>&5
32137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32138 (exit $ac_status); } &&
32139 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32141 (eval $ac_try) 2>&5
32143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32144 (exit $ac_status); }; } &&
32145 { ac_try
='test -s conftest.$ac_objext'
32146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32147 (eval $ac_try) 2>&5
32149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32150 (exit $ac_status); }; }; then
32151 wx_cv_func_backtrace
=yes
32153 echo "$as_me: failed program was:" >&5
32154 sed 's/^/| /' conftest.
$ac_ext >&5
32156 wx_cv_func_backtrace
=no
32159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32163 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
32164 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
32167 if test "$wx_cv_func_backtrace" = "no"; then
32168 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
32169 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
32170 wxUSE_STACKWALKER
=no
32172 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
32173 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
32174 if test "${wx_cv_func_cxa_demangle+set}" = set; then
32175 echo $ECHO_N "(cached) $ECHO_C" >&6
32178 cat >conftest.
$ac_ext <<_ACEOF
32181 cat confdefs.h
>>conftest.
$ac_ext
32182 cat >>conftest.
$ac_ext <<_ACEOF
32183 /* end confdefs.h. */
32184 #include <cxxabi.h>
32190 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
32196 rm -f conftest.
$ac_objext conftest
$ac_exeext
32197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32198 (eval $ac_link) 2>conftest.er1
32200 grep -v '^ *+' conftest.er1
>conftest.err
32202 cat conftest.err
>&5
32203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32204 (exit $ac_status); } &&
32205 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32207 (eval $ac_try) 2>&5
32209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32210 (exit $ac_status); }; } &&
32211 { ac_try
='test -s conftest$ac_exeext'
32212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32213 (eval $ac_try) 2>&5
32215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32216 (exit $ac_status); }; }; then
32217 wx_cv_func_cxa_demangle
=yes
32219 echo "$as_me: failed program was:" >&5
32220 sed 's/^/| /' conftest.
$ac_ext >&5
32222 wx_cv_func_cxa_demangle
=no
32225 rm -f conftest.err conftest.
$ac_objext \
32226 conftest
$ac_exeext conftest.
$ac_ext
32230 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
32231 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
32233 if test "$wx_cv_func_cxa_demangle" = "yes"; then
32234 cat >>confdefs.h
<<\_ACEOF
32235 #define HAVE_CXA_DEMANGLE 1
32242 ac_cpp
='$CPP $CPPFLAGS'
32243 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32244 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32245 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32249 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
32250 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
32251 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
32252 wxUSE_STACKWALKER
=no
32258 for ac_func
in mkstemp mktemp
32260 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32261 echo "$as_me:$LINENO: checking for $ac_func" >&5
32262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32263 if eval "test \"\${$as_ac_var+set}\" = set"; then
32264 echo $ECHO_N "(cached) $ECHO_C" >&6
32266 cat >conftest.
$ac_ext <<_ACEOF
32269 cat confdefs.h
>>conftest.
$ac_ext
32270 cat >>conftest.
$ac_ext <<_ACEOF
32271 /* end confdefs.h. */
32272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32274 #define $ac_func innocuous_$ac_func
32276 /* System header to define __stub macros and hopefully few prototypes,
32277 which can conflict with char $ac_func (); below.
32278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32279 <limits.h> exists even on freestanding compilers. */
32282 # include <limits.h>
32284 # include <assert.h>
32289 /* Override any gcc2 internal prototype to avoid an error. */
32294 /* We use char because int might match the return type of a gcc2
32295 builtin and then its argument prototype would still apply. */
32297 /* The GNU C library defines this for functions which it implements
32298 to always fail with ENOSYS. Some functions are actually named
32299 something starting with __ and the normal name is an alias. */
32300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32303 char (*f) () = $ac_func;
32312 return f != $ac_func;
32317 rm -f conftest.
$ac_objext conftest
$ac_exeext
32318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32319 (eval $ac_link) 2>conftest.er1
32321 grep -v '^ *+' conftest.er1
>conftest.err
32323 cat conftest.err
>&5
32324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32325 (exit $ac_status); } &&
32326 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32328 (eval $ac_try) 2>&5
32330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32331 (exit $ac_status); }; } &&
32332 { ac_try
='test -s conftest$ac_exeext'
32333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32334 (eval $ac_try) 2>&5
32336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32337 (exit $ac_status); }; }; then
32338 eval "$as_ac_var=yes"
32340 echo "$as_me: failed program was:" >&5
32341 sed 's/^/| /' conftest.
$ac_ext >&5
32343 eval "$as_ac_var=no"
32345 rm -f conftest.err conftest.
$ac_objext \
32346 conftest
$ac_exeext conftest.
$ac_ext
32348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32350 if test `eval echo '${'$as_ac_var'}'` = yes; then
32351 cat >>confdefs.h
<<_ACEOF
32352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32359 echo "$as_me:$LINENO: checking for statfs" >&5
32360 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
32361 if test "${wx_cv_func_statfs+set}" = set; then
32362 echo $ECHO_N "(cached) $ECHO_C" >&6
32364 cat >conftest.
$ac_ext <<_ACEOF
32367 cat confdefs.h
>>conftest.
$ac_ext
32368 cat >>conftest.
$ac_ext <<_ACEOF
32369 /* end confdefs.h. */
32371 #if defined(__BSD__)
32372 #include <sys/param.h>
32373 #include <sys/mount.h>
32375 #include <sys/vfs.h>
32393 rm -f conftest.
$ac_objext
32394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32395 (eval $ac_compile) 2>conftest.er1
32397 grep -v '^ *+' conftest.er1
>conftest.err
32399 cat conftest.err
>&5
32400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32401 (exit $ac_status); } &&
32402 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32404 (eval $ac_try) 2>&5
32406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32407 (exit $ac_status); }; } &&
32408 { ac_try
='test -s conftest.$ac_objext'
32409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32410 (eval $ac_try) 2>&5
32412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32413 (exit $ac_status); }; }; then
32415 wx_cv_func_statfs
=yes
32418 echo "$as_me: failed program was:" >&5
32419 sed 's/^/| /' conftest.
$ac_ext >&5
32422 wx_cv_func_statfs
=no
32426 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32429 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
32430 echo "${ECHO_T}$wx_cv_func_statfs" >&6
32432 if test "$wx_cv_func_statfs" = "yes"; then
32433 wx_cv_type_statvfs_t
="struct statfs"
32434 cat >>confdefs.h
<<\_ACEOF
32435 #define HAVE_STATFS 1
32439 echo "$as_me:$LINENO: checking for statvfs" >&5
32440 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
32441 if test "${wx_cv_func_statvfs+set}" = set; then
32442 echo $ECHO_N "(cached) $ECHO_C" >&6
32444 cat >conftest.
$ac_ext <<_ACEOF
32447 cat confdefs.h
>>conftest.
$ac_ext
32448 cat >>conftest.
$ac_ext <<_ACEOF
32449 /* end confdefs.h. */
32451 #include <stddef.h>
32452 #include <sys/statvfs.h>
32458 statvfs("/", NULL);
32464 rm -f conftest.
$ac_objext
32465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32466 (eval $ac_compile) 2>conftest.er1
32468 grep -v '^ *+' conftest.er1
>conftest.err
32470 cat conftest.err
>&5
32471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32472 (exit $ac_status); } &&
32473 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32475 (eval $ac_try) 2>&5
32477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32478 (exit $ac_status); }; } &&
32479 { ac_try
='test -s conftest.$ac_objext'
32480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32481 (eval $ac_try) 2>&5
32483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32484 (exit $ac_status); }; }; then
32485 wx_cv_func_statvfs
=yes
32487 echo "$as_me: failed program was:" >&5
32488 sed 's/^/| /' conftest.
$ac_ext >&5
32490 wx_cv_func_statvfs
=no
32493 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32496 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
32497 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
32499 if test "$wx_cv_func_statvfs" = "yes"; then
32503 ac_cpp
='$CXXCPP $CPPFLAGS'
32504 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32505 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32506 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32509 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
32510 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
32511 if test "${wx_cv_type_statvfs_t+set}" = set; then
32512 echo $ECHO_N "(cached) $ECHO_C" >&6
32514 cat >conftest.
$ac_ext <<_ACEOF
32517 cat confdefs.h
>>conftest.
$ac_ext
32518 cat >>conftest.
$ac_ext <<_ACEOF
32519 /* end confdefs.h. */
32521 #include <sys/statvfs.h>
32538 rm -f conftest.
$ac_objext
32539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32540 (eval $ac_compile) 2>conftest.er1
32542 grep -v '^ *+' conftest.er1
>conftest.err
32544 cat conftest.err
>&5
32545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32546 (exit $ac_status); } &&
32547 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32549 (eval $ac_try) 2>&5
32551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32552 (exit $ac_status); }; } &&
32553 { ac_try
='test -s conftest.$ac_objext'
32554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32555 (eval $ac_try) 2>&5
32557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32558 (exit $ac_status); }; }; then
32559 wx_cv_type_statvfs_t
=statvfs_t
32561 echo "$as_me: failed program was:" >&5
32562 sed 's/^/| /' conftest.
$ac_ext >&5
32565 cat >conftest.
$ac_ext <<_ACEOF
32568 cat confdefs.h
>>conftest.
$ac_ext
32569 cat >>conftest.
$ac_ext <<_ACEOF
32570 /* end confdefs.h. */
32572 #include <sys/statvfs.h>
32589 rm -f conftest.
$ac_objext
32590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32591 (eval $ac_compile) 2>conftest.er1
32593 grep -v '^ *+' conftest.er1
>conftest.err
32595 cat conftest.err
>&5
32596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32597 (exit $ac_status); } &&
32598 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32600 (eval $ac_try) 2>&5
32602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32603 (exit $ac_status); }; } &&
32604 { ac_try
='test -s conftest.$ac_objext'
32605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32606 (eval $ac_try) 2>&5
32608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32609 (exit $ac_status); }; }; then
32610 wx_cv_type_statvfs_t
="struct statvfs"
32612 echo "$as_me: failed program was:" >&5
32613 sed 's/^/| /' conftest.
$ac_ext >&5
32615 wx_cv_type_statvfs_t
="unknown"
32618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32625 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
32626 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
32629 ac_cpp
='$CPP $CPPFLAGS'
32630 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32631 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32632 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32635 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32636 cat >>confdefs.h
<<\_ACEOF
32637 #define HAVE_STATVFS 1
32642 wx_cv_type_statvfs_t
="unknown"
32646 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32647 cat >>confdefs.h
<<_ACEOF
32648 #define WX_STATFS_T $wx_cv_type_statvfs_t
32652 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
32653 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
32656 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
32659 for ac_func
in fcntl flock
32661 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32662 echo "$as_me:$LINENO: checking for $ac_func" >&5
32663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32664 if eval "test \"\${$as_ac_var+set}\" = set"; then
32665 echo $ECHO_N "(cached) $ECHO_C" >&6
32667 cat >conftest.
$ac_ext <<_ACEOF
32670 cat confdefs.h
>>conftest.
$ac_ext
32671 cat >>conftest.
$ac_ext <<_ACEOF
32672 /* end confdefs.h. */
32673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32675 #define $ac_func innocuous_$ac_func
32677 /* System header to define __stub macros and hopefully few prototypes,
32678 which can conflict with char $ac_func (); below.
32679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32680 <limits.h> exists even on freestanding compilers. */
32683 # include <limits.h>
32685 # include <assert.h>
32690 /* Override any gcc2 internal prototype to avoid an error. */
32695 /* We use char because int might match the return type of a gcc2
32696 builtin and then its argument prototype would still apply. */
32698 /* The GNU C library defines this for functions which it implements
32699 to always fail with ENOSYS. Some functions are actually named
32700 something starting with __ and the normal name is an alias. */
32701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32704 char (*f) () = $ac_func;
32713 return f != $ac_func;
32718 rm -f conftest.
$ac_objext conftest
$ac_exeext
32719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32720 (eval $ac_link) 2>conftest.er1
32722 grep -v '^ *+' conftest.er1
>conftest.err
32724 cat conftest.err
>&5
32725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32726 (exit $ac_status); } &&
32727 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32729 (eval $ac_try) 2>&5
32731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32732 (exit $ac_status); }; } &&
32733 { ac_try
='test -s conftest$ac_exeext'
32734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32735 (eval $ac_try) 2>&5
32737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32738 (exit $ac_status); }; }; then
32739 eval "$as_ac_var=yes"
32741 echo "$as_me: failed program was:" >&5
32742 sed 's/^/| /' conftest.
$ac_ext >&5
32744 eval "$as_ac_var=no"
32746 rm -f conftest.err conftest.
$ac_objext \
32747 conftest
$ac_exeext conftest.
$ac_ext
32749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32751 if test `eval echo '${'$as_ac_var'}'` = yes; then
32752 cat >>confdefs.h
<<_ACEOF
32753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32760 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
32761 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
32762 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
32763 wxUSE_SNGLINST_CHECKER
=no
32768 for ac_func
in timegm
32770 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32771 echo "$as_me:$LINENO: checking for $ac_func" >&5
32772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32773 if eval "test \"\${$as_ac_var+set}\" = set"; then
32774 echo $ECHO_N "(cached) $ECHO_C" >&6
32776 cat >conftest.
$ac_ext <<_ACEOF
32779 cat confdefs.h
>>conftest.
$ac_ext
32780 cat >>conftest.
$ac_ext <<_ACEOF
32781 /* end confdefs.h. */
32782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32784 #define $ac_func innocuous_$ac_func
32786 /* System header to define __stub macros and hopefully few prototypes,
32787 which can conflict with char $ac_func (); below.
32788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32789 <limits.h> exists even on freestanding compilers. */
32792 # include <limits.h>
32794 # include <assert.h>
32799 /* Override any gcc2 internal prototype to avoid an error. */
32804 /* We use char because int might match the return type of a gcc2
32805 builtin and then its argument prototype would still apply. */
32807 /* The GNU C library defines this for functions which it implements
32808 to always fail with ENOSYS. Some functions are actually named
32809 something starting with __ and the normal name is an alias. */
32810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32813 char (*f) () = $ac_func;
32822 return f != $ac_func;
32827 rm -f conftest.
$ac_objext conftest
$ac_exeext
32828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32829 (eval $ac_link) 2>conftest.er1
32831 grep -v '^ *+' conftest.er1
>conftest.err
32833 cat conftest.err
>&5
32834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32835 (exit $ac_status); } &&
32836 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32838 (eval $ac_try) 2>&5
32840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32841 (exit $ac_status); }; } &&
32842 { ac_try
='test -s conftest$ac_exeext'
32843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32844 (eval $ac_try) 2>&5
32846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32847 (exit $ac_status); }; }; then
32848 eval "$as_ac_var=yes"
32850 echo "$as_me: failed program was:" >&5
32851 sed 's/^/| /' conftest.
$ac_ext >&5
32853 eval "$as_ac_var=no"
32855 rm -f conftest.err conftest.
$ac_objext \
32856 conftest
$ac_exeext conftest.
$ac_ext
32858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32860 if test `eval echo '${'$as_ac_var'}'` = yes; then
32861 cat >>confdefs.h
<<_ACEOF
32862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32871 for ac_func
in putenv setenv
32873 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32874 echo "$as_me:$LINENO: checking for $ac_func" >&5
32875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32876 if eval "test \"\${$as_ac_var+set}\" = set"; then
32877 echo $ECHO_N "(cached) $ECHO_C" >&6
32879 cat >conftest.
$ac_ext <<_ACEOF
32882 cat confdefs.h
>>conftest.
$ac_ext
32883 cat >>conftest.
$ac_ext <<_ACEOF
32884 /* end confdefs.h. */
32885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32887 #define $ac_func innocuous_$ac_func
32889 /* System header to define __stub macros and hopefully few prototypes,
32890 which can conflict with char $ac_func (); below.
32891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32892 <limits.h> exists even on freestanding compilers. */
32895 # include <limits.h>
32897 # include <assert.h>
32902 /* Override any gcc2 internal prototype to avoid an error. */
32907 /* We use char because int might match the return type of a gcc2
32908 builtin and then its argument prototype would still apply. */
32910 /* The GNU C library defines this for functions which it implements
32911 to always fail with ENOSYS. Some functions are actually named
32912 something starting with __ and the normal name is an alias. */
32913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32916 char (*f) () = $ac_func;
32925 return f != $ac_func;
32930 rm -f conftest.
$ac_objext conftest
$ac_exeext
32931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32932 (eval $ac_link) 2>conftest.er1
32934 grep -v '^ *+' conftest.er1
>conftest.err
32936 cat conftest.err
>&5
32937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32938 (exit $ac_status); } &&
32939 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32941 (eval $ac_try) 2>&5
32943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32944 (exit $ac_status); }; } &&
32945 { ac_try
='test -s conftest$ac_exeext'
32946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32947 (eval $ac_try) 2>&5
32949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32950 (exit $ac_status); }; }; then
32951 eval "$as_ac_var=yes"
32953 echo "$as_me: failed program was:" >&5
32954 sed 's/^/| /' conftest.
$ac_ext >&5
32956 eval "$as_ac_var=no"
32958 rm -f conftest.err conftest.
$ac_objext \
32959 conftest
$ac_exeext conftest.
$ac_ext
32961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32963 if test `eval echo '${'$as_ac_var'}'` = yes; then
32964 cat >>confdefs.h
<<_ACEOF
32965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32972 HAVE_SOME_SLEEP_FUNC
=0
32973 if test "$USE_BEOS" = 1; then
32974 cat >>confdefs.h
<<\_ACEOF
32975 #define HAVE_SLEEP 1
32978 HAVE_SOME_SLEEP_FUNC
=1
32981 if test "$USE_DARWIN" = 1; then
32982 cat >>confdefs.h
<<\_ACEOF
32983 #define HAVE_USLEEP 1
32986 HAVE_SOME_SLEEP_FUNC
=1
32989 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
32992 for ac_func
in nanosleep
32994 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32995 echo "$as_me:$LINENO: checking for $ac_func" >&5
32996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32997 if eval "test \"\${$as_ac_var+set}\" = set"; then
32998 echo $ECHO_N "(cached) $ECHO_C" >&6
33000 cat >conftest.
$ac_ext <<_ACEOF
33003 cat confdefs.h
>>conftest.
$ac_ext
33004 cat >>conftest.
$ac_ext <<_ACEOF
33005 /* end confdefs.h. */
33006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33008 #define $ac_func innocuous_$ac_func
33010 /* System header to define __stub macros and hopefully few prototypes,
33011 which can conflict with char $ac_func (); below.
33012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33013 <limits.h> exists even on freestanding compilers. */
33016 # include <limits.h>
33018 # include <assert.h>
33023 /* Override any gcc2 internal prototype to avoid an error. */
33028 /* We use char because int might match the return type of a gcc2
33029 builtin and then its argument prototype would still apply. */
33031 /* The GNU C library defines this for functions which it implements
33032 to always fail with ENOSYS. Some functions are actually named
33033 something starting with __ and the normal name is an alias. */
33034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33037 char (*f) () = $ac_func;
33046 return f != $ac_func;
33051 rm -f conftest.
$ac_objext conftest
$ac_exeext
33052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33053 (eval $ac_link) 2>conftest.er1
33055 grep -v '^ *+' conftest.er1
>conftest.err
33057 cat conftest.err
>&5
33058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33059 (exit $ac_status); } &&
33060 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33062 (eval $ac_try) 2>&5
33064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33065 (exit $ac_status); }; } &&
33066 { ac_try
='test -s conftest$ac_exeext'
33067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33068 (eval $ac_try) 2>&5
33070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33071 (exit $ac_status); }; }; then
33072 eval "$as_ac_var=yes"
33074 echo "$as_me: failed program was:" >&5
33075 sed 's/^/| /' conftest.
$ac_ext >&5
33077 eval "$as_ac_var=no"
33079 rm -f conftest.err conftest.
$ac_objext \
33080 conftest
$ac_exeext conftest.
$ac_ext
33082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33083 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33084 if test `eval echo '${'$as_ac_var'}'` = yes; then
33085 cat >>confdefs.h
<<_ACEOF
33086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33088 cat >>confdefs.h
<<\_ACEOF
33089 #define HAVE_NANOSLEEP 1
33094 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
33095 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
33096 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
33097 echo $ECHO_N "(cached) $ECHO_C" >&6
33099 ac_check_lib_save_LIBS
=$LIBS
33100 LIBS
="-lposix4 $LIBS"
33101 cat >conftest.
$ac_ext <<_ACEOF
33104 cat confdefs.h
>>conftest.
$ac_ext
33105 cat >>conftest.
$ac_ext <<_ACEOF
33106 /* end confdefs.h. */
33108 /* Override any gcc2 internal prototype to avoid an error. */
33112 /* We use char because int might match the return type of a gcc2
33113 builtin and then its argument prototype would still apply. */
33123 rm -f conftest.
$ac_objext conftest
$ac_exeext
33124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33125 (eval $ac_link) 2>conftest.er1
33127 grep -v '^ *+' conftest.er1
>conftest.err
33129 cat conftest.err
>&5
33130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33131 (exit $ac_status); } &&
33132 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33134 (eval $ac_try) 2>&5
33136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33137 (exit $ac_status); }; } &&
33138 { ac_try
='test -s conftest$ac_exeext'
33139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33140 (eval $ac_try) 2>&5
33142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33143 (exit $ac_status); }; }; then
33144 ac_cv_lib_posix4_nanosleep
=yes
33146 echo "$as_me: failed program was:" >&5
33147 sed 's/^/| /' conftest.
$ac_ext >&5
33149 ac_cv_lib_posix4_nanosleep
=no
33151 rm -f conftest.err conftest.
$ac_objext \
33152 conftest
$ac_exeext conftest.
$ac_ext
33153 LIBS
=$ac_check_lib_save_LIBS
33155 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
33156 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
33157 if test $ac_cv_lib_posix4_nanosleep = yes; then
33159 cat >>confdefs.h
<<\_ACEOF
33160 #define HAVE_NANOSLEEP 1
33163 POSIX4_LINK
=" -lposix4"
33168 for ac_func
in usleep
33170 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33171 echo "$as_me:$LINENO: checking for $ac_func" >&5
33172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33173 if eval "test \"\${$as_ac_var+set}\" = set"; then
33174 echo $ECHO_N "(cached) $ECHO_C" >&6
33176 cat >conftest.
$ac_ext <<_ACEOF
33179 cat confdefs.h
>>conftest.
$ac_ext
33180 cat >>conftest.
$ac_ext <<_ACEOF
33181 /* end confdefs.h. */
33182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33184 #define $ac_func innocuous_$ac_func
33186 /* System header to define __stub macros and hopefully few prototypes,
33187 which can conflict with char $ac_func (); below.
33188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33189 <limits.h> exists even on freestanding compilers. */
33192 # include <limits.h>
33194 # include <assert.h>
33199 /* Override any gcc2 internal prototype to avoid an error. */
33204 /* We use char because int might match the return type of a gcc2
33205 builtin and then its argument prototype would still apply. */
33207 /* The GNU C library defines this for functions which it implements
33208 to always fail with ENOSYS. Some functions are actually named
33209 something starting with __ and the normal name is an alias. */
33210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33213 char (*f) () = $ac_func;
33222 return f != $ac_func;
33227 rm -f conftest.
$ac_objext conftest
$ac_exeext
33228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33229 (eval $ac_link) 2>conftest.er1
33231 grep -v '^ *+' conftest.er1
>conftest.err
33233 cat conftest.err
>&5
33234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33235 (exit $ac_status); } &&
33236 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33238 (eval $ac_try) 2>&5
33240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33241 (exit $ac_status); }; } &&
33242 { ac_try
='test -s conftest$ac_exeext'
33243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33244 (eval $ac_try) 2>&5
33246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33247 (exit $ac_status); }; }; then
33248 eval "$as_ac_var=yes"
33250 echo "$as_me: failed program was:" >&5
33251 sed 's/^/| /' conftest.
$ac_ext >&5
33253 eval "$as_ac_var=no"
33255 rm -f conftest.err conftest.
$ac_objext \
33256 conftest
$ac_exeext conftest.
$ac_ext
33258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33260 if test `eval echo '${'$as_ac_var'}'` = yes; then
33261 cat >>confdefs.h
<<_ACEOF
33262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33264 cat >>confdefs.h
<<\_ACEOF
33265 #define HAVE_USLEEP 1
33269 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
33270 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
33288 for ac_func
in uname gethostname
33290 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33291 echo "$as_me:$LINENO: checking for $ac_func" >&5
33292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33293 if eval "test \"\${$as_ac_var+set}\" = set"; then
33294 echo $ECHO_N "(cached) $ECHO_C" >&6
33296 cat >conftest.
$ac_ext <<_ACEOF
33299 cat confdefs.h
>>conftest.
$ac_ext
33300 cat >>conftest.
$ac_ext <<_ACEOF
33301 /* end confdefs.h. */
33302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33304 #define $ac_func innocuous_$ac_func
33306 /* System header to define __stub macros and hopefully few prototypes,
33307 which can conflict with char $ac_func (); below.
33308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33309 <limits.h> exists even on freestanding compilers. */
33312 # include <limits.h>
33314 # include <assert.h>
33319 /* Override any gcc2 internal prototype to avoid an error. */
33324 /* We use char because int might match the return type of a gcc2
33325 builtin and then its argument prototype would still apply. */
33327 /* The GNU C library defines this for functions which it implements
33328 to always fail with ENOSYS. Some functions are actually named
33329 something starting with __ and the normal name is an alias. */
33330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33333 char (*f) () = $ac_func;
33342 return f != $ac_func;
33347 rm -f conftest.
$ac_objext conftest
$ac_exeext
33348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33349 (eval $ac_link) 2>conftest.er1
33351 grep -v '^ *+' conftest.er1
>conftest.err
33353 cat conftest.err
>&5
33354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33355 (exit $ac_status); } &&
33356 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33358 (eval $ac_try) 2>&5
33360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33361 (exit $ac_status); }; } &&
33362 { ac_try
='test -s conftest$ac_exeext'
33363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33364 (eval $ac_try) 2>&5
33366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33367 (exit $ac_status); }; }; then
33368 eval "$as_ac_var=yes"
33370 echo "$as_me: failed program was:" >&5
33371 sed 's/^/| /' conftest.
$ac_ext >&5
33373 eval "$as_ac_var=no"
33375 rm -f conftest.err conftest.
$ac_objext \
33376 conftest
$ac_exeext conftest.
$ac_ext
33378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33380 if test `eval echo '${'$as_ac_var'}'` = yes; then
33381 cat >>confdefs.h
<<_ACEOF
33382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33392 ac_cpp
='$CXXCPP $CPPFLAGS'
33393 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33394 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33395 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33399 for ac_func
in strtok_r
33401 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33402 echo "$as_me:$LINENO: checking for $ac_func" >&5
33403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33404 if eval "test \"\${$as_ac_var+set}\" = set"; then
33405 echo $ECHO_N "(cached) $ECHO_C" >&6
33407 cat >conftest.
$ac_ext <<_ACEOF
33410 cat confdefs.h
>>conftest.
$ac_ext
33411 cat >>conftest.
$ac_ext <<_ACEOF
33412 /* end confdefs.h. */
33413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33415 #define $ac_func innocuous_$ac_func
33417 /* System header to define __stub macros and hopefully few prototypes,
33418 which can conflict with char $ac_func (); below.
33419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33420 <limits.h> exists even on freestanding compilers. */
33423 # include <limits.h>
33425 # include <assert.h>
33430 /* Override any gcc2 internal prototype to avoid an error. */
33435 /* We use char because int might match the return type of a gcc2
33436 builtin and then its argument prototype would still apply. */
33438 /* The GNU C library defines this for functions which it implements
33439 to always fail with ENOSYS. Some functions are actually named
33440 something starting with __ and the normal name is an alias. */
33441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33444 char (*f) () = $ac_func;
33453 return f != $ac_func;
33458 rm -f conftest.
$ac_objext conftest
$ac_exeext
33459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33460 (eval $ac_link) 2>conftest.er1
33462 grep -v '^ *+' conftest.er1
>conftest.err
33464 cat conftest.err
>&5
33465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33466 (exit $ac_status); } &&
33467 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33469 (eval $ac_try) 2>&5
33471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33472 (exit $ac_status); }; } &&
33473 { ac_try
='test -s conftest$ac_exeext'
33474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33475 (eval $ac_try) 2>&5
33477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33478 (exit $ac_status); }; }; then
33479 eval "$as_ac_var=yes"
33481 echo "$as_me: failed program was:" >&5
33482 sed 's/^/| /' conftest.
$ac_ext >&5
33484 eval "$as_ac_var=no"
33486 rm -f conftest.err conftest.
$ac_objext \
33487 conftest
$ac_exeext conftest.
$ac_ext
33489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33491 if test `eval echo '${'$as_ac_var'}'` = yes; then
33492 cat >>confdefs.h
<<_ACEOF
33493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33501 ac_cpp
='$CPP $CPPFLAGS'
33502 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33503 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33504 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33509 for ac_func
in inet_addr
33511 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33512 echo "$as_me:$LINENO: checking for $ac_func" >&5
33513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33514 if eval "test \"\${$as_ac_var+set}\" = set"; then
33515 echo $ECHO_N "(cached) $ECHO_C" >&6
33517 cat >conftest.
$ac_ext <<_ACEOF
33520 cat confdefs.h
>>conftest.
$ac_ext
33521 cat >>conftest.
$ac_ext <<_ACEOF
33522 /* end confdefs.h. */
33523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33525 #define $ac_func innocuous_$ac_func
33527 /* System header to define __stub macros and hopefully few prototypes,
33528 which can conflict with char $ac_func (); below.
33529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33530 <limits.h> exists even on freestanding compilers. */
33533 # include <limits.h>
33535 # include <assert.h>
33540 /* 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. */
33548 /* The GNU C library defines this for functions which it implements
33549 to always fail with ENOSYS. Some functions are actually named
33550 something starting with __ and the normal name is an alias. */
33551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33554 char (*f) () = $ac_func;
33563 return f != $ac_func;
33568 rm -f conftest.
$ac_objext conftest
$ac_exeext
33569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33570 (eval $ac_link) 2>conftest.er1
33572 grep -v '^ *+' conftest.er1
>conftest.err
33574 cat conftest.err
>&5
33575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33576 (exit $ac_status); } &&
33577 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33579 (eval $ac_try) 2>&5
33581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33582 (exit $ac_status); }; } &&
33583 { ac_try
='test -s conftest$ac_exeext'
33584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33585 (eval $ac_try) 2>&5
33587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33588 (exit $ac_status); }; }; then
33589 eval "$as_ac_var=yes"
33591 echo "$as_me: failed program was:" >&5
33592 sed 's/^/| /' conftest.
$ac_ext >&5
33594 eval "$as_ac_var=no"
33596 rm -f conftest.err conftest.
$ac_objext \
33597 conftest
$ac_exeext conftest.
$ac_ext
33599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33601 if test `eval echo '${'$as_ac_var'}'` = yes; then
33602 cat >>confdefs.h
<<_ACEOF
33603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33605 cat >>confdefs.h
<<\_ACEOF
33606 #define HAVE_INET_ADDR 1
33611 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
33612 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
33613 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
33614 echo $ECHO_N "(cached) $ECHO_C" >&6
33616 ac_check_lib_save_LIBS
=$LIBS
33618 cat >conftest.
$ac_ext <<_ACEOF
33621 cat confdefs.h
>>conftest.
$ac_ext
33622 cat >>conftest.
$ac_ext <<_ACEOF
33623 /* end confdefs.h. */
33625 /* Override any gcc2 internal prototype to avoid an error. */
33629 /* We use char because int might match the return type of a gcc2
33630 builtin and then its argument prototype would still apply. */
33640 rm -f conftest.
$ac_objext conftest
$ac_exeext
33641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33642 (eval $ac_link) 2>conftest.er1
33644 grep -v '^ *+' conftest.er1
>conftest.err
33646 cat conftest.err
>&5
33647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33648 (exit $ac_status); } &&
33649 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33651 (eval $ac_try) 2>&5
33653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33654 (exit $ac_status); }; } &&
33655 { ac_try
='test -s conftest$ac_exeext'
33656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33657 (eval $ac_try) 2>&5
33659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33660 (exit $ac_status); }; }; then
33661 ac_cv_lib_nsl_inet_addr
=yes
33663 echo "$as_me: failed program was:" >&5
33664 sed 's/^/| /' conftest.
$ac_ext >&5
33666 ac_cv_lib_nsl_inet_addr
=no
33668 rm -f conftest.err conftest.
$ac_objext \
33669 conftest
$ac_exeext conftest.
$ac_ext
33670 LIBS
=$ac_check_lib_save_LIBS
33672 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
33673 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
33674 if test $ac_cv_lib_nsl_inet_addr = yes; then
33678 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
33679 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
33680 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
33681 echo $ECHO_N "(cached) $ECHO_C" >&6
33683 ac_check_lib_save_LIBS
=$LIBS
33684 LIBS
="-lresolv $LIBS"
33685 cat >conftest.
$ac_ext <<_ACEOF
33688 cat confdefs.h
>>conftest.
$ac_ext
33689 cat >>conftest.
$ac_ext <<_ACEOF
33690 /* end confdefs.h. */
33692 /* Override any gcc2 internal prototype to avoid an error. */
33696 /* We use char because int might match the return type of a gcc2
33697 builtin and then its argument prototype would still apply. */
33707 rm -f conftest.
$ac_objext conftest
$ac_exeext
33708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33709 (eval $ac_link) 2>conftest.er1
33711 grep -v '^ *+' conftest.er1
>conftest.err
33713 cat conftest.err
>&5
33714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33715 (exit $ac_status); } &&
33716 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33718 (eval $ac_try) 2>&5
33720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33721 (exit $ac_status); }; } &&
33722 { ac_try
='test -s conftest$ac_exeext'
33723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33724 (eval $ac_try) 2>&5
33726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33727 (exit $ac_status); }; }; then
33728 ac_cv_lib_resolv_inet_addr
=yes
33730 echo "$as_me: failed program was:" >&5
33731 sed 's/^/| /' conftest.
$ac_ext >&5
33733 ac_cv_lib_resolv_inet_addr
=no
33735 rm -f conftest.err conftest.
$ac_objext \
33736 conftest
$ac_exeext conftest.
$ac_ext
33737 LIBS
=$ac_check_lib_save_LIBS
33739 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
33740 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
33741 if test $ac_cv_lib_resolv_inet_addr = yes; then
33745 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
33746 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
33747 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
33748 echo $ECHO_N "(cached) $ECHO_C" >&6
33750 ac_check_lib_save_LIBS
=$LIBS
33751 LIBS
="-lsocket $LIBS"
33752 cat >conftest.
$ac_ext <<_ACEOF
33755 cat confdefs.h
>>conftest.
$ac_ext
33756 cat >>conftest.
$ac_ext <<_ACEOF
33757 /* end confdefs.h. */
33759 /* Override any gcc2 internal prototype to avoid an error. */
33763 /* We use char because int might match the return type of a gcc2
33764 builtin and then its argument prototype would still apply. */
33774 rm -f conftest.
$ac_objext conftest
$ac_exeext
33775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33776 (eval $ac_link) 2>conftest.er1
33778 grep -v '^ *+' conftest.er1
>conftest.err
33780 cat conftest.err
>&5
33781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33782 (exit $ac_status); } &&
33783 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33785 (eval $ac_try) 2>&5
33787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33788 (exit $ac_status); }; } &&
33789 { ac_try
='test -s conftest$ac_exeext'
33790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33791 (eval $ac_try) 2>&5
33793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33794 (exit $ac_status); }; }; then
33795 ac_cv_lib_socket_inet_addr
=yes
33797 echo "$as_me: failed program was:" >&5
33798 sed 's/^/| /' conftest.
$ac_ext >&5
33800 ac_cv_lib_socket_inet_addr
=no
33802 rm -f conftest.err conftest.
$ac_objext \
33803 conftest
$ac_exeext conftest.
$ac_ext
33804 LIBS
=$ac_check_lib_save_LIBS
33806 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
33807 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
33808 if test $ac_cv_lib_socket_inet_addr = yes; then
33828 for ac_func
in inet_aton
33830 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33831 echo "$as_me:$LINENO: checking for $ac_func" >&5
33832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33833 if eval "test \"\${$as_ac_var+set}\" = set"; then
33834 echo $ECHO_N "(cached) $ECHO_C" >&6
33836 cat >conftest.
$ac_ext <<_ACEOF
33839 cat confdefs.h
>>conftest.
$ac_ext
33840 cat >>conftest.
$ac_ext <<_ACEOF
33841 /* end confdefs.h. */
33842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33844 #define $ac_func innocuous_$ac_func
33846 /* System header to define __stub macros and hopefully few prototypes,
33847 which can conflict with char $ac_func (); below.
33848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33849 <limits.h> exists even on freestanding compilers. */
33852 # include <limits.h>
33854 # include <assert.h>
33859 /* Override any gcc2 internal prototype to avoid an error. */
33864 /* We use char because int might match the return type of a gcc2
33865 builtin and then its argument prototype would still apply. */
33867 /* The GNU C library defines this for functions which it implements
33868 to always fail with ENOSYS. Some functions are actually named
33869 something starting with __ and the normal name is an alias. */
33870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33873 char (*f) () = $ac_func;
33882 return f != $ac_func;
33887 rm -f conftest.
$ac_objext conftest
$ac_exeext
33888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33889 (eval $ac_link) 2>conftest.er1
33891 grep -v '^ *+' conftest.er1
>conftest.err
33893 cat conftest.err
>&5
33894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33895 (exit $ac_status); } &&
33896 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33898 (eval $ac_try) 2>&5
33900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33901 (exit $ac_status); }; } &&
33902 { ac_try
='test -s conftest$ac_exeext'
33903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33904 (eval $ac_try) 2>&5
33906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33907 (exit $ac_status); }; }; then
33908 eval "$as_ac_var=yes"
33910 echo "$as_me: failed program was:" >&5
33911 sed 's/^/| /' conftest.
$ac_ext >&5
33913 eval "$as_ac_var=no"
33915 rm -f conftest.err conftest.
$ac_objext \
33916 conftest
$ac_exeext conftest.
$ac_ext
33918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33920 if test `eval echo '${'$as_ac_var'}'` = yes; then
33921 cat >>confdefs.h
<<_ACEOF
33922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33924 cat >>confdefs.h
<<\_ACEOF
33925 #define HAVE_INET_ATON 1
33930 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
33931 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
33932 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
33933 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
33934 echo $ECHO_N "(cached) $ECHO_C" >&6
33936 ac_check_lib_save_LIBS
=$LIBS
33937 LIBS
="-l$INET_LINK $LIBS"
33938 cat >conftest.
$ac_ext <<_ACEOF
33941 cat confdefs.h
>>conftest.
$ac_ext
33942 cat >>conftest.
$ac_ext <<_ACEOF
33943 /* end confdefs.h. */
33945 /* Override any gcc2 internal prototype to avoid an error. */
33949 /* We use char because int might match the return type of a gcc2
33950 builtin and then its argument prototype would still apply. */
33960 rm -f conftest.
$ac_objext conftest
$ac_exeext
33961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33962 (eval $ac_link) 2>conftest.er1
33964 grep -v '^ *+' conftest.er1
>conftest.err
33966 cat conftest.err
>&5
33967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33968 (exit $ac_status); } &&
33969 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33971 (eval $ac_try) 2>&5
33973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33974 (exit $ac_status); }; } &&
33975 { ac_try
='test -s conftest$ac_exeext'
33976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33977 (eval $ac_try) 2>&5
33979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33980 (exit $ac_status); }; }; then
33981 eval "$as_ac_Lib=yes"
33983 echo "$as_me: failed program was:" >&5
33984 sed 's/^/| /' conftest.
$ac_ext >&5
33986 eval "$as_ac_Lib=no"
33988 rm -f conftest.err conftest.
$ac_objext \
33989 conftest
$ac_exeext conftest.
$ac_ext
33990 LIBS
=$ac_check_lib_save_LIBS
33992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
33993 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
33994 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
33995 cat >>confdefs.h
<<\_ACEOF
33996 #define HAVE_INET_ATON 1
34006 if test "x$INET_LINK" != "x"; then
34007 cat >>confdefs.h
<<\_ACEOF
34008 #define HAVE_INET_ADDR 1
34011 INET_LINK
=" -l$INET_LINK"
34019 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
34020 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
34021 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
34022 echo $ECHO_N "(cached) $ECHO_C" >&6
34024 ac_check_lib_save_LIBS
=$LIBS
34026 cat >conftest.
$ac_ext <<_ACEOF
34029 cat confdefs.h
>>conftest.
$ac_ext
34030 cat >>conftest.
$ac_ext <<_ACEOF
34031 /* end confdefs.h. */
34033 /* Override any gcc2 internal prototype to avoid an error. */
34037 /* We use char because int might match the return type of a gcc2
34038 builtin and then its argument prototype would still apply. */
34048 rm -f conftest.
$ac_objext conftest
$ac_exeext
34049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34050 (eval $ac_link) 2>conftest.er1
34052 grep -v '^ *+' conftest.er1
>conftest.err
34054 cat conftest.err
>&5
34055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34056 (exit $ac_status); } &&
34057 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34059 (eval $ac_try) 2>&5
34061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34062 (exit $ac_status); }; } &&
34063 { ac_try
='test -s conftest$ac_exeext'
34064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34065 (eval $ac_try) 2>&5
34067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34068 (exit $ac_status); }; }; then
34069 ac_cv_lib_esd_esd_close
=yes
34071 echo "$as_me: failed program was:" >&5
34072 sed 's/^/| /' conftest.
$ac_ext >&5
34074 ac_cv_lib_esd_esd_close
=no
34076 rm -f conftest.err conftest.
$ac_objext \
34077 conftest
$ac_exeext conftest.
$ac_ext
34078 LIBS
=$ac_check_lib_save_LIBS
34080 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
34081 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
34082 if test $ac_cv_lib_esd_esd_close = yes; then
34085 for ac_header
in esd.h
34087 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34088 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34089 echo "$as_me:$LINENO: checking for $ac_header" >&5
34090 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34091 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34092 echo $ECHO_N "(cached) $ECHO_C" >&6
34094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34095 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34097 # Is the header compilable?
34098 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34099 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34100 cat >conftest.
$ac_ext <<_ACEOF
34103 cat confdefs.h
>>conftest.
$ac_ext
34104 cat >>conftest.
$ac_ext <<_ACEOF
34105 /* end confdefs.h. */
34106 $ac_includes_default
34107 #include <$ac_header>
34109 rm -f conftest.
$ac_objext
34110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34111 (eval $ac_compile) 2>conftest.er1
34113 grep -v '^ *+' conftest.er1
>conftest.err
34115 cat conftest.err
>&5
34116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34117 (exit $ac_status); } &&
34118 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34120 (eval $ac_try) 2>&5
34122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34123 (exit $ac_status); }; } &&
34124 { ac_try
='test -s conftest.$ac_objext'
34125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34126 (eval $ac_try) 2>&5
34128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34129 (exit $ac_status); }; }; then
34130 ac_header_compiler
=yes
34132 echo "$as_me: failed program was:" >&5
34133 sed 's/^/| /' conftest.
$ac_ext >&5
34135 ac_header_compiler
=no
34137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34138 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34139 echo "${ECHO_T}$ac_header_compiler" >&6
34141 # Is the header present?
34142 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34143 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34144 cat >conftest.
$ac_ext <<_ACEOF
34147 cat confdefs.h
>>conftest.
$ac_ext
34148 cat >>conftest.
$ac_ext <<_ACEOF
34149 /* end confdefs.h. */
34150 #include <$ac_header>
34152 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34153 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34155 grep -v '^ *+' conftest.er1
>conftest.err
34157 cat conftest.err
>&5
34158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34159 (exit $ac_status); } >/dev
/null
; then
34160 if test -s conftest.err
; then
34161 ac_cpp_err
=$ac_c_preproc_warn_flag
34162 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34169 if test -z "$ac_cpp_err"; then
34170 ac_header_preproc
=yes
34172 echo "$as_me: failed program was:" >&5
34173 sed 's/^/| /' conftest.
$ac_ext >&5
34175 ac_header_preproc
=no
34177 rm -f conftest.err conftest.
$ac_ext
34178 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34179 echo "${ECHO_T}$ac_header_preproc" >&6
34181 # So? What about this header?
34182 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34184 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34185 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34186 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34187 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34188 ac_header_preproc
=yes
34191 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34192 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34193 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34194 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34195 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34196 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34197 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34198 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34199 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34200 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34201 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34202 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34205 ## ----------------------------------------- ##
34206 ## Report this to wx-dev@lists.wxwidgets.org ##
34207 ## ----------------------------------------- ##
34210 sed "s/^/$as_me: WARNING: /" >&2
34213 echo "$as_me:$LINENO: checking for $ac_header" >&5
34214 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34215 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34216 echo $ECHO_N "(cached) $ECHO_C" >&6
34218 eval "$as_ac_Header=\$ac_header_preproc"
34220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34221 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34224 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34225 cat >>confdefs.h
<<_ACEOF
34226 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34229 EXTRALIBS_ESD
="-lesd"
34240 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
34241 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
34242 cat >conftest.
$ac_ext <<_ACEOF
34245 cat confdefs.h
>>conftest.
$ac_ext
34246 cat >>conftest.
$ac_ext <<_ACEOF
34247 /* end confdefs.h. */
34249 #include <linux/cdrom.h>
34252 #include <sys/cdio.h>
34258 struct cdrom_tocentry entry, old_entry;
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 echo "$as_me:$LINENO: result: yes" >&5
34285 echo "${ECHO_T}yes" >&6
34286 cat >>confdefs.h
<<\_ACEOF
34287 #define HAVE_KNOWN_CDROM_INTERFACE 1
34291 echo "$as_me: failed program was:" >&5
34292 sed 's/^/| /' conftest.
$ac_ext >&5
34294 echo "$as_me:$LINENO: result: no" >&5
34295 echo "${ECHO_T}no" >&6
34297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34300 cat >confcache
<<\_ACEOF
34301 # This file is a shell script that caches the results of configure
34302 # tests run on this system so they can be shared between configure
34303 # scripts and configure runs, see configure's option --config-cache.
34304 # It is not useful on other systems. If it contains results you don't
34305 # want to keep, you may remove or edit it.
34307 # config.status only pays attention to the cache file if you give it
34308 # the --recheck option to rerun configure.
34310 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34311 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34312 # following values.
34316 # The following way of writing the cache mishandles newlines in values,
34317 # but we know of no workaround that is simple, portable, and efficient.
34318 # So, don't put newlines in cache variables' values.
34319 # Ultrix sh set writes to stderr and can't be redirected directly,
34320 # and sets the high bit in the cache file unless we assign to the vars.
34323 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34325 # `set' does not quote correctly, so add quotes (double-quote
34326 # substitution turns \\\\ into \\, and sed turns \\ into \).
34329 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34332 # `set' quotes correctly as required by POSIX, so do not add quotes.
34334 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34341 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34343 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34345 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
34346 if test -w $cache_file; then
34347 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34348 cat confcache
>$cache_file
34350 echo "not updating unwritable cache $cache_file"
34357 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
34363 if test "$wxUSE_THREADS" = "yes" ; then
34364 if test "$USE_BEOS" = 1; then
34365 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
34366 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
34371 if test "$wxUSE_THREADS" = "yes" ; then
34374 THREAD_OPTS
="-pthread"
34376 *-*-solaris2* | *-*-sunos4* )
34377 if test "x$GCC" = "xyes"; then
34378 THREAD_OPTS
="-pthreads $THREAD_OPTS"
34380 THREAD_OPTS
="-mt $THREAD_OPTS"
34384 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
34386 *-*-darwin* | *-*-cygwin* )
34390 THREAD_OPTS
="pthreads"
34393 if test "x$GCC" != "xyes"; then
34399 if test "x$GCC" = "xyes"; then
34405 if test "x$GCC" != "xyes"; then
34406 THREAD_OPTS
="-Ethread"
34411 THREAD_OPTS
="$THREAD_OPTS pthread none"
34414 for flag
in $THREAD_OPTS; do
34417 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
34418 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
34422 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
34423 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
34424 THREADS_CFLAGS
="$flag"
34428 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
34429 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
34430 THREADS_LINK
="-l$flag"
34435 save_CFLAGS
="$CFLAGS"
34436 LIBS
="$THREADS_LINK $LIBS"
34437 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
34439 cat >conftest.
$ac_ext <<_ACEOF
34442 cat confdefs.h
>>conftest.
$ac_ext
34443 cat >>conftest.
$ac_ext <<_ACEOF
34444 /* end confdefs.h. */
34445 #include <pthread.h>
34449 pthread_create(0,0,0,0);
34454 rm -f conftest.
$ac_objext conftest
$ac_exeext
34455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34456 (eval $ac_link) 2>conftest.er1
34458 grep -v '^ *+' conftest.er1
>conftest.err
34460 cat conftest.err
>&5
34461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34462 (exit $ac_status); } &&
34463 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34465 (eval $ac_try) 2>&5
34467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34468 (exit $ac_status); }; } &&
34469 { ac_try
='test -s conftest$ac_exeext'
34470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34471 (eval $ac_try) 2>&5
34473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34474 (exit $ac_status); }; }; then
34477 echo "$as_me: failed program was:" >&5
34478 sed 's/^/| /' conftest.
$ac_ext >&5
34481 rm -f conftest.err conftest.
$ac_objext \
34482 conftest
$ac_exeext conftest.
$ac_ext
34485 CFLAGS
="$save_CFLAGS"
34487 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
34488 echo "${ECHO_T}$THREADS_OK" >&6
34489 if test "x$THREADS_OK" = "xyes"; then
34497 if test "x$THREADS_OK" != "xyes"; then
34499 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
34500 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
34502 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
34503 LIBS
="$THREADS_LINK $LIBS"
34505 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
34506 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
34510 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
34511 flag
="-D_THREAD_SAFE"
34514 flag
="-D_THREAD_SAFE"
34517 flag
="-D_REENTRANT"
34518 if test "x$GCC" != "xyes"; then
34519 flag
="$flag -D_RWSTD_MULTI_THREAD"
34522 *solaris
* | alpha
*-osf*)
34523 flag
="-D_REENTRANT"
34526 echo "$as_me:$LINENO: result: ${flag}" >&5
34527 echo "${ECHO_T}${flag}" >&6
34528 if test "x$flag" != xno
; then
34529 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
34532 if test "x$THREADS_CFLAGS" != "x"; then
34533 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
34534 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
34539 if test "$wxUSE_THREADS" = "yes" ; then
34541 for ac_func
in thr_setconcurrency
34543 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34544 echo "$as_me:$LINENO: checking for $ac_func" >&5
34545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34546 if eval "test \"\${$as_ac_var+set}\" = set"; then
34547 echo $ECHO_N "(cached) $ECHO_C" >&6
34549 cat >conftest.
$ac_ext <<_ACEOF
34552 cat confdefs.h
>>conftest.
$ac_ext
34553 cat >>conftest.
$ac_ext <<_ACEOF
34554 /* end confdefs.h. */
34555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34557 #define $ac_func innocuous_$ac_func
34559 /* System header to define __stub macros and hopefully few prototypes,
34560 which can conflict with char $ac_func (); below.
34561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34562 <limits.h> exists even on freestanding compilers. */
34565 # include <limits.h>
34567 # include <assert.h>
34572 /* Override any gcc2 internal prototype to avoid an error. */
34577 /* We use char because int might match the return type of a gcc2
34578 builtin and then its argument prototype would still apply. */
34580 /* The GNU C library defines this for functions which it implements
34581 to always fail with ENOSYS. Some functions are actually named
34582 something starting with __ and the normal name is an alias. */
34583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34586 char (*f) () = $ac_func;
34595 return f != $ac_func;
34600 rm -f conftest.
$ac_objext conftest
$ac_exeext
34601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34602 (eval $ac_link) 2>conftest.er1
34604 grep -v '^ *+' conftest.er1
>conftest.err
34606 cat conftest.err
>&5
34607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34608 (exit $ac_status); } &&
34609 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34611 (eval $ac_try) 2>&5
34613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34614 (exit $ac_status); }; } &&
34615 { ac_try
='test -s conftest$ac_exeext'
34616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34617 (eval $ac_try) 2>&5
34619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34620 (exit $ac_status); }; }; then
34621 eval "$as_ac_var=yes"
34623 echo "$as_me: failed program was:" >&5
34624 sed 's/^/| /' conftest.
$ac_ext >&5
34626 eval "$as_ac_var=no"
34628 rm -f conftest.err conftest.
$ac_objext \
34629 conftest
$ac_exeext conftest.
$ac_ext
34631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34633 if test `eval echo '${'$as_ac_var'}'` = yes; then
34634 cat >>confdefs.h
<<_ACEOF
34635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34643 for ac_header
in sched.h
34645 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34646 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34647 echo "$as_me:$LINENO: checking for $ac_header" >&5
34648 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34649 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34650 echo $ECHO_N "(cached) $ECHO_C" >&6
34652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34653 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34655 # Is the header compilable?
34656 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34657 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34658 cat >conftest.
$ac_ext <<_ACEOF
34661 cat confdefs.h
>>conftest.
$ac_ext
34662 cat >>conftest.
$ac_ext <<_ACEOF
34663 /* end confdefs.h. */
34664 $ac_includes_default
34665 #include <$ac_header>
34667 rm -f conftest.
$ac_objext
34668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34669 (eval $ac_compile) 2>conftest.er1
34671 grep -v '^ *+' conftest.er1
>conftest.err
34673 cat conftest.err
>&5
34674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34675 (exit $ac_status); } &&
34676 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34678 (eval $ac_try) 2>&5
34680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34681 (exit $ac_status); }; } &&
34682 { ac_try
='test -s conftest.$ac_objext'
34683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34684 (eval $ac_try) 2>&5
34686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34687 (exit $ac_status); }; }; then
34688 ac_header_compiler
=yes
34690 echo "$as_me: failed program was:" >&5
34691 sed 's/^/| /' conftest.
$ac_ext >&5
34693 ac_header_compiler
=no
34695 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34696 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34697 echo "${ECHO_T}$ac_header_compiler" >&6
34699 # Is the header present?
34700 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34701 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34702 cat >conftest.
$ac_ext <<_ACEOF
34705 cat confdefs.h
>>conftest.
$ac_ext
34706 cat >>conftest.
$ac_ext <<_ACEOF
34707 /* end confdefs.h. */
34708 #include <$ac_header>
34710 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34711 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34713 grep -v '^ *+' conftest.er1
>conftest.err
34715 cat conftest.err
>&5
34716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34717 (exit $ac_status); } >/dev
/null
; then
34718 if test -s conftest.err
; then
34719 ac_cpp_err
=$ac_c_preproc_warn_flag
34720 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34727 if test -z "$ac_cpp_err"; then
34728 ac_header_preproc
=yes
34730 echo "$as_me: failed program was:" >&5
34731 sed 's/^/| /' conftest.
$ac_ext >&5
34733 ac_header_preproc
=no
34735 rm -f conftest.err conftest.
$ac_ext
34736 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34737 echo "${ECHO_T}$ac_header_preproc" >&6
34739 # So? What about this header?
34740 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34742 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34743 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34744 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34745 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34746 ac_header_preproc
=yes
34749 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34750 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34751 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34752 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34753 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34754 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34755 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34756 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34757 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34758 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34759 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34760 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34763 ## ----------------------------------------- ##
34764 ## Report this to wx-dev@lists.wxwidgets.org ##
34765 ## ----------------------------------------- ##
34768 sed "s/^/$as_me: WARNING: /" >&2
34771 echo "$as_me:$LINENO: checking for $ac_header" >&5
34772 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34773 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34774 echo $ECHO_N "(cached) $ECHO_C" >&6
34776 eval "$as_ac_Header=\$ac_header_preproc"
34778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34779 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34782 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34783 cat >>confdefs.h
<<_ACEOF
34784 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34791 if test "$ac_cv_header_sched_h" = "yes"; then
34792 echo "$as_me:$LINENO: checking for sched_yield" >&5
34793 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
34794 if test "${ac_cv_func_sched_yield+set}" = set; then
34795 echo $ECHO_N "(cached) $ECHO_C" >&6
34797 cat >conftest.
$ac_ext <<_ACEOF
34800 cat confdefs.h
>>conftest.
$ac_ext
34801 cat >>conftest.
$ac_ext <<_ACEOF
34802 /* end confdefs.h. */
34803 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
34804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34805 #define sched_yield innocuous_sched_yield
34807 /* System header to define __stub macros and hopefully few prototypes,
34808 which can conflict with char sched_yield (); below.
34809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34810 <limits.h> exists even on freestanding compilers. */
34813 # include <limits.h>
34815 # include <assert.h>
34820 /* Override any gcc2 internal prototype to avoid an error. */
34825 /* We use char because int might match the return type of a gcc2
34826 builtin and then its argument prototype would still apply. */
34827 char sched_yield ();
34828 /* The GNU C library defines this for functions which it implements
34829 to always fail with ENOSYS. Some functions are actually named
34830 something starting with __ and the normal name is an alias. */
34831 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
34834 char (*f) () = sched_yield;
34843 return f != sched_yield;
34848 rm -f conftest.
$ac_objext conftest
$ac_exeext
34849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34850 (eval $ac_link) 2>conftest.er1
34852 grep -v '^ *+' conftest.er1
>conftest.err
34854 cat conftest.err
>&5
34855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34856 (exit $ac_status); } &&
34857 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34859 (eval $ac_try) 2>&5
34861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34862 (exit $ac_status); }; } &&
34863 { ac_try
='test -s conftest$ac_exeext'
34864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34865 (eval $ac_try) 2>&5
34867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34868 (exit $ac_status); }; }; then
34869 ac_cv_func_sched_yield
=yes
34871 echo "$as_me: failed program was:" >&5
34872 sed 's/^/| /' conftest.
$ac_ext >&5
34874 ac_cv_func_sched_yield
=no
34876 rm -f conftest.err conftest.
$ac_objext \
34877 conftest
$ac_exeext conftest.
$ac_ext
34879 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
34880 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
34881 if test $ac_cv_func_sched_yield = yes; then
34882 cat >>confdefs.h
<<\_ACEOF
34883 #define HAVE_SCHED_YIELD 1
34888 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
34889 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
34890 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
34891 echo $ECHO_N "(cached) $ECHO_C" >&6
34893 ac_check_lib_save_LIBS
=$LIBS
34894 LIBS
="-lposix4 $LIBS"
34895 cat >conftest.
$ac_ext <<_ACEOF
34898 cat confdefs.h
>>conftest.
$ac_ext
34899 cat >>conftest.
$ac_ext <<_ACEOF
34900 /* end confdefs.h. */
34902 /* Override any gcc2 internal prototype to avoid an error. */
34906 /* We use char because int might match the return type of a gcc2
34907 builtin and then its argument prototype would still apply. */
34908 char sched_yield ();
34917 rm -f conftest.
$ac_objext conftest
$ac_exeext
34918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34919 (eval $ac_link) 2>conftest.er1
34921 grep -v '^ *+' conftest.er1
>conftest.err
34923 cat conftest.err
>&5
34924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34925 (exit $ac_status); } &&
34926 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34928 (eval $ac_try) 2>&5
34930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34931 (exit $ac_status); }; } &&
34932 { ac_try
='test -s conftest$ac_exeext'
34933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34934 (eval $ac_try) 2>&5
34936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34937 (exit $ac_status); }; }; then
34938 ac_cv_lib_posix4_sched_yield
=yes
34940 echo "$as_me: failed program was:" >&5
34941 sed 's/^/| /' conftest.
$ac_ext >&5
34943 ac_cv_lib_posix4_sched_yield
=no
34945 rm -f conftest.err conftest.
$ac_objext \
34946 conftest
$ac_exeext conftest.
$ac_ext
34947 LIBS
=$ac_check_lib_save_LIBS
34949 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
34950 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
34951 if test $ac_cv_lib_posix4_sched_yield = yes; then
34952 cat >>confdefs.h
<<\_ACEOF
34953 #define HAVE_SCHED_YIELD 1
34955 POSIX4_LINK
=" -lposix4"
34957 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
34958 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
34969 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
34970 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
34971 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
34972 echo $ECHO_N "(cached) $ECHO_C" >&6
34974 cat >conftest.
$ac_ext <<_ACEOF
34977 cat confdefs.h
>>conftest.
$ac_ext
34978 cat >>conftest.
$ac_ext <<_ACEOF
34979 /* end confdefs.h. */
34980 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
34981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34982 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
34984 /* System header to define __stub macros and hopefully few prototypes,
34985 which can conflict with char pthread_attr_getschedpolicy (); below.
34986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34987 <limits.h> exists even on freestanding compilers. */
34990 # include <limits.h>
34992 # include <assert.h>
34995 #undef pthread_attr_getschedpolicy
34997 /* Override any gcc2 internal prototype to avoid an error. */
35002 /* We use char because int might match the return type of a gcc2
35003 builtin and then its argument prototype would still apply. */
35004 char pthread_attr_getschedpolicy ();
35005 /* The GNU C library defines this for functions which it implements
35006 to always fail with ENOSYS. Some functions are actually named
35007 something starting with __ and the normal name is an alias. */
35008 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
35011 char (*f) () = pthread_attr_getschedpolicy;
35020 return f != pthread_attr_getschedpolicy;
35025 rm -f conftest.
$ac_objext conftest
$ac_exeext
35026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35027 (eval $ac_link) 2>conftest.er1
35029 grep -v '^ *+' conftest.er1
>conftest.err
35031 cat conftest.err
>&5
35032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35033 (exit $ac_status); } &&
35034 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35036 (eval $ac_try) 2>&5
35038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35039 (exit $ac_status); }; } &&
35040 { ac_try
='test -s conftest$ac_exeext'
35041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35042 (eval $ac_try) 2>&5
35044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35045 (exit $ac_status); }; }; then
35046 ac_cv_func_pthread_attr_getschedpolicy
=yes
35048 echo "$as_me: failed program was:" >&5
35049 sed 's/^/| /' conftest.
$ac_ext >&5
35051 ac_cv_func_pthread_attr_getschedpolicy
=no
35053 rm -f conftest.err conftest.
$ac_objext \
35054 conftest
$ac_exeext conftest.
$ac_ext
35056 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
35057 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
35058 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
35059 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
35060 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
35061 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
35062 echo $ECHO_N "(cached) $ECHO_C" >&6
35064 cat >conftest.
$ac_ext <<_ACEOF
35067 cat confdefs.h
>>conftest.
$ac_ext
35068 cat >>conftest.
$ac_ext <<_ACEOF
35069 /* end confdefs.h. */
35070 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
35071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35072 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
35074 /* System header to define __stub macros and hopefully few prototypes,
35075 which can conflict with char pthread_attr_setschedparam (); below.
35076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35077 <limits.h> exists even on freestanding compilers. */
35080 # include <limits.h>
35082 # include <assert.h>
35085 #undef pthread_attr_setschedparam
35087 /* Override any gcc2 internal prototype to avoid an error. */
35092 /* We use char because int might match the return type of a gcc2
35093 builtin and then its argument prototype would still apply. */
35094 char pthread_attr_setschedparam ();
35095 /* The GNU C library defines this for functions which it implements
35096 to always fail with ENOSYS. Some functions are actually named
35097 something starting with __ and the normal name is an alias. */
35098 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
35101 char (*f) () = pthread_attr_setschedparam;
35110 return f != pthread_attr_setschedparam;
35115 rm -f conftest.
$ac_objext conftest
$ac_exeext
35116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35117 (eval $ac_link) 2>conftest.er1
35119 grep -v '^ *+' conftest.er1
>conftest.err
35121 cat conftest.err
>&5
35122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35123 (exit $ac_status); } &&
35124 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35126 (eval $ac_try) 2>&5
35128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35129 (exit $ac_status); }; } &&
35130 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
35136 ac_cv_func_pthread_attr_setschedparam
=yes
35138 echo "$as_me: failed program was:" >&5
35139 sed 's/^/| /' conftest.
$ac_ext >&5
35141 ac_cv_func_pthread_attr_setschedparam
=no
35143 rm -f conftest.err conftest.
$ac_objext \
35144 conftest
$ac_exeext conftest.
$ac_ext
35146 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
35147 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
35148 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
35149 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
35150 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
35151 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
35152 echo $ECHO_N "(cached) $ECHO_C" >&6
35154 cat >conftest.
$ac_ext <<_ACEOF
35157 cat confdefs.h
>>conftest.
$ac_ext
35158 cat >>conftest.
$ac_ext <<_ACEOF
35159 /* end confdefs.h. */
35160 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
35161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35162 #define sched_get_priority_max innocuous_sched_get_priority_max
35164 /* System header to define __stub macros and hopefully few prototypes,
35165 which can conflict with char sched_get_priority_max (); below.
35166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35167 <limits.h> exists even on freestanding compilers. */
35170 # include <limits.h>
35172 # include <assert.h>
35175 #undef sched_get_priority_max
35177 /* Override any gcc2 internal prototype to avoid an error. */
35182 /* We use char because int might match the return type of a gcc2
35183 builtin and then its argument prototype would still apply. */
35184 char sched_get_priority_max ();
35185 /* The GNU C library defines this for functions which it implements
35186 to always fail with ENOSYS. Some functions are actually named
35187 something starting with __ and the normal name is an alias. */
35188 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
35191 char (*f) () = sched_get_priority_max;
35200 return f != sched_get_priority_max;
35205 rm -f conftest.
$ac_objext conftest
$ac_exeext
35206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35207 (eval $ac_link) 2>conftest.er1
35209 grep -v '^ *+' conftest.er1
>conftest.err
35211 cat conftest.err
>&5
35212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35213 (exit $ac_status); } &&
35214 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35216 (eval $ac_try) 2>&5
35218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35219 (exit $ac_status); }; } &&
35220 { ac_try
='test -s conftest$ac_exeext'
35221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35222 (eval $ac_try) 2>&5
35224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35225 (exit $ac_status); }; }; then
35226 ac_cv_func_sched_get_priority_max
=yes
35228 echo "$as_me: failed program was:" >&5
35229 sed 's/^/| /' conftest.
$ac_ext >&5
35231 ac_cv_func_sched_get_priority_max
=no
35233 rm -f conftest.err conftest.
$ac_objext \
35234 conftest
$ac_exeext conftest.
$ac_ext
35236 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
35237 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
35238 if test $ac_cv_func_sched_get_priority_max = yes; then
35241 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
35242 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
35243 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
35244 echo $ECHO_N "(cached) $ECHO_C" >&6
35246 ac_check_lib_save_LIBS
=$LIBS
35247 LIBS
="-lposix4 $LIBS"
35248 cat >conftest.
$ac_ext <<_ACEOF
35251 cat confdefs.h
>>conftest.
$ac_ext
35252 cat >>conftest.
$ac_ext <<_ACEOF
35253 /* end confdefs.h. */
35255 /* Override any gcc2 internal prototype to avoid an error. */
35259 /* We use char because int might match the return type of a gcc2
35260 builtin and then its argument prototype would still apply. */
35261 char sched_get_priority_max ();
35265 sched_get_priority_max ();
35270 rm -f conftest.
$ac_objext conftest
$ac_exeext
35271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35272 (eval $ac_link) 2>conftest.er1
35274 grep -v '^ *+' conftest.er1
>conftest.err
35276 cat conftest.err
>&5
35277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35278 (exit $ac_status); } &&
35279 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35281 (eval $ac_try) 2>&5
35283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35284 (exit $ac_status); }; } &&
35285 { ac_try
='test -s conftest$ac_exeext'
35286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35287 (eval $ac_try) 2>&5
35289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35290 (exit $ac_status); }; }; then
35291 ac_cv_lib_posix4_sched_get_priority_max
=yes
35293 echo "$as_me: failed program was:" >&5
35294 sed 's/^/| /' conftest.
$ac_ext >&5
35296 ac_cv_lib_posix4_sched_get_priority_max
=no
35298 rm -f conftest.err conftest.
$ac_objext \
35299 conftest
$ac_exeext conftest.
$ac_ext
35300 LIBS
=$ac_check_lib_save_LIBS
35302 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
35303 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
35304 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
35307 POSIX4_LINK
=" -lposix4"
35321 if test "$HAVE_PRIOR_FUNCS" = 1; then
35322 cat >>confdefs.h
<<\_ACEOF
35323 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
35327 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
35328 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
35331 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
35332 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
35333 if test "${ac_cv_func_pthread_cancel+set}" = set; then
35334 echo $ECHO_N "(cached) $ECHO_C" >&6
35336 cat >conftest.
$ac_ext <<_ACEOF
35339 cat confdefs.h
>>conftest.
$ac_ext
35340 cat >>conftest.
$ac_ext <<_ACEOF
35341 /* end confdefs.h. */
35342 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
35343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35344 #define pthread_cancel innocuous_pthread_cancel
35346 /* System header to define __stub macros and hopefully few prototypes,
35347 which can conflict with char pthread_cancel (); below.
35348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35349 <limits.h> exists even on freestanding compilers. */
35352 # include <limits.h>
35354 # include <assert.h>
35357 #undef pthread_cancel
35359 /* Override any gcc2 internal prototype to avoid an error. */
35364 /* We use char because int might match the return type of a gcc2
35365 builtin and then its argument prototype would still apply. */
35366 char pthread_cancel ();
35367 /* The GNU C library defines this for functions which it implements
35368 to always fail with ENOSYS. Some functions are actually named
35369 something starting with __ and the normal name is an alias. */
35370 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
35373 char (*f) () = pthread_cancel;
35382 return f != pthread_cancel;
35387 rm -f conftest.
$ac_objext conftest
$ac_exeext
35388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35389 (eval $ac_link) 2>conftest.er1
35391 grep -v '^ *+' conftest.er1
>conftest.err
35393 cat conftest.err
>&5
35394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35395 (exit $ac_status); } &&
35396 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35398 (eval $ac_try) 2>&5
35400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35401 (exit $ac_status); }; } &&
35402 { ac_try
='test -s conftest$ac_exeext'
35403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35404 (eval $ac_try) 2>&5
35406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35407 (exit $ac_status); }; }; then
35408 ac_cv_func_pthread_cancel
=yes
35410 echo "$as_me: failed program was:" >&5
35411 sed 's/^/| /' conftest.
$ac_ext >&5
35413 ac_cv_func_pthread_cancel
=no
35415 rm -f conftest.err conftest.
$ac_objext \
35416 conftest
$ac_exeext conftest.
$ac_ext
35418 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
35419 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
35420 if test $ac_cv_func_pthread_cancel = yes; then
35421 cat >>confdefs.h
<<\_ACEOF
35422 #define HAVE_PTHREAD_CANCEL 1
35426 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
35427 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
35431 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
35432 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
35433 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
35434 echo $ECHO_N "(cached) $ECHO_C" >&6
35436 cat >conftest.
$ac_ext <<_ACEOF
35439 cat confdefs.h
>>conftest.
$ac_ext
35440 cat >>conftest.
$ac_ext <<_ACEOF
35441 /* end confdefs.h. */
35442 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
35443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35444 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
35446 /* System header to define __stub macros and hopefully few prototypes,
35447 which can conflict with char pthread_attr_setstacksize (); below.
35448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35449 <limits.h> exists even on freestanding compilers. */
35452 # include <limits.h>
35454 # include <assert.h>
35457 #undef pthread_attr_setstacksize
35459 /* Override any gcc2 internal prototype to avoid an error. */
35464 /* We use char because int might match the return type of a gcc2
35465 builtin and then its argument prototype would still apply. */
35466 char pthread_attr_setstacksize ();
35467 /* The GNU C library defines this for functions which it implements
35468 to always fail with ENOSYS. Some functions are actually named
35469 something starting with __ and the normal name is an alias. */
35470 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
35473 char (*f) () = pthread_attr_setstacksize;
35482 return f != pthread_attr_setstacksize;
35487 rm -f conftest.
$ac_objext conftest
$ac_exeext
35488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35489 (eval $ac_link) 2>conftest.er1
35491 grep -v '^ *+' conftest.er1
>conftest.err
35493 cat conftest.err
>&5
35494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35495 (exit $ac_status); } &&
35496 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35498 (eval $ac_try) 2>&5
35500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35501 (exit $ac_status); }; } &&
35502 { ac_try
='test -s conftest$ac_exeext'
35503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35504 (eval $ac_try) 2>&5
35506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35507 (exit $ac_status); }; }; then
35508 ac_cv_func_pthread_attr_setstacksize
=yes
35510 echo "$as_me: failed program was:" >&5
35511 sed 's/^/| /' conftest.
$ac_ext >&5
35513 ac_cv_func_pthread_attr_setstacksize
=no
35515 rm -f conftest.err conftest.
$ac_objext \
35516 conftest
$ac_exeext conftest.
$ac_ext
35518 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
35519 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
35520 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
35521 cat >>confdefs.h
<<\_ACEOF
35522 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
35529 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
35530 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
35531 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
35532 echo $ECHO_N "(cached) $ECHO_C" >&6
35535 cat >conftest.
$ac_ext <<_ACEOF
35538 cat confdefs.h
>>conftest.
$ac_ext
35539 cat >>conftest.
$ac_ext <<_ACEOF
35540 /* end confdefs.h. */
35541 #include <pthread.h>
35546 pthread_mutexattr_t attr;
35547 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
35553 rm -f conftest.
$ac_objext
35554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35555 (eval $ac_compile) 2>conftest.er1
35557 grep -v '^ *+' conftest.er1
>conftest.err
35559 cat conftest.err
>&5
35560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35561 (exit $ac_status); } &&
35562 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35564 (eval $ac_try) 2>&5
35566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35567 (exit $ac_status); }; } &&
35568 { ac_try
='test -s conftest.$ac_objext'
35569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35570 (eval $ac_try) 2>&5
35572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35573 (exit $ac_status); }; }; then
35575 wx_cv_type_pthread_mutexattr_t
=yes
35578 echo "$as_me: failed program was:" >&5
35579 sed 's/^/| /' conftest.
$ac_ext >&5
35582 wx_cv_type_pthread_mutexattr_t
=no
35586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35589 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
35590 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
35592 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
35593 cat >>confdefs.h
<<\_ACEOF
35594 #define HAVE_PTHREAD_MUTEXATTR_T 1
35598 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
35599 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
35600 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
35601 echo $ECHO_N "(cached) $ECHO_C" >&6
35604 cat >conftest.
$ac_ext <<_ACEOF
35607 cat confdefs.h
>>conftest.
$ac_ext
35608 cat >>conftest.
$ac_ext <<_ACEOF
35609 /* end confdefs.h. */
35610 #include <pthread.h>
35615 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
35621 rm -f conftest.
$ac_objext
35622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35623 (eval $ac_compile) 2>conftest.er1
35625 grep -v '^ *+' conftest.er1
>conftest.err
35627 cat conftest.err
>&5
35628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35629 (exit $ac_status); } &&
35630 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35632 (eval $ac_try) 2>&5
35634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35635 (exit $ac_status); }; } &&
35636 { ac_try
='test -s conftest.$ac_objext'
35637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35638 (eval $ac_try) 2>&5
35640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35641 (exit $ac_status); }; }; then
35643 wx_cv_type_pthread_rec_mutex_init
=yes
35646 echo "$as_me: failed program was:" >&5
35647 sed 's/^/| /' conftest.
$ac_ext >&5
35650 wx_cv_type_pthread_rec_mutex_init
=no
35654 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35657 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
35658 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
35659 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
35660 cat >>confdefs.h
<<\_ACEOF
35661 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
35665 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
35666 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
35672 if test "$wxUSE_THREADS" = "yes" ; then
35675 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
35676 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
35677 if test "${wx_cv_cflags_mthread+set}" = set; then
35678 echo $ECHO_N "(cached) $ECHO_C" >&6
35681 CFLAGS_OLD
="$CFLAGS"
35682 CFLAGS
="$CFLAGS -mthreads"
35683 cat >conftest.
$ac_ext <<_ACEOF
35686 cat confdefs.h
>>conftest.
$ac_ext
35687 cat >>conftest.
$ac_ext <<_ACEOF
35688 /* end confdefs.h. */
35698 rm -f conftest.
$ac_objext
35699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35700 (eval $ac_compile) 2>conftest.er1
35702 grep -v '^ *+' conftest.er1
>conftest.err
35704 cat conftest.err
>&5
35705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35706 (exit $ac_status); } &&
35707 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35709 (eval $ac_try) 2>&5
35711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35712 (exit $ac_status); }; } &&
35713 { ac_try
='test -s conftest.$ac_objext'
35714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35715 (eval $ac_try) 2>&5
35717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35718 (exit $ac_status); }; }; then
35719 wx_cv_cflags_mthread
=yes
35721 echo "$as_me: failed program was:" >&5
35722 sed 's/^/| /' conftest.
$ac_ext >&5
35724 wx_cv_cflags_mthread
=no
35727 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35731 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
35732 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
35734 if test "$wx_cv_cflags_mthread" = "yes"; then
35735 CXXFLAGS
="$CXXFLAGS -mthreads"
35736 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
35737 LDFLAGS
="$LDFLAGS -mthreads"
35739 CFLAGS
="$CFLAGS_OLD"
35743 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
35744 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
35745 LDFLAGS
="$LDFLAGS -Zmt"
35751 if test "$wxUSE_THREADS" = "yes"; then
35752 cat >>confdefs.h
<<\_ACEOF
35753 #define wxUSE_THREADS 1
35757 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
35759 if test "$ac_cv_func_strtok_r" = "yes"; then
35760 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
35761 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
35762 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
35763 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
35764 echo "$as_me:$LINENO: result: yes" >&5
35765 echo "${ECHO_T}yes" >&6
35767 echo "$as_me:$LINENO: result: no" >&5
35768 echo "${ECHO_T}no" >&6
35773 if test "$WXGTK20" = 1 ; then
35774 cat >>confdefs.h
<<_ACEOF
35775 #define __WXGTK20__ $WXGTK20
35781 if test "$WXGTK12" = 1 ; then
35782 cat >>confdefs.h
<<_ACEOF
35783 #define __WXGTK12__ $WXGTK12
35788 if test "$WXGTK127" = 1 ; then
35789 cat >>confdefs.h
<<_ACEOF
35790 #define __WXGTK127__ $WXGTK127
35795 if test "$WXGPE" = 1 ; then
35796 cat >>confdefs.h
<<_ACEOF
35797 #define __WXGPE__ $WXGPE
35804 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
35809 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
35810 wxUSE_DEBUG_INFO
=yes
35811 if test "$GCC" = yes; then
35816 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
35817 cat >>confdefs.h
<<\_ACEOF
35821 WXDEBUG_DEFINE
="-D__WXDEBUG__"
35823 if test "$wxUSE_GTK" = 1 ; then
35824 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
35828 if test "$wxUSE_MEM_TRACING" = "yes" ; then
35829 cat >>confdefs.h
<<\_ACEOF
35830 #define wxUSE_MEMORY_TRACING 1
35833 cat >>confdefs.h
<<\_ACEOF
35834 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
35837 cat >>confdefs.h
<<\_ACEOF
35838 #define wxUSE_DEBUG_NEW_ALWAYS 1
35841 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
35844 if test "$wxUSE_DMALLOC" = "yes" ; then
35845 DMALLOC_LIBS
="-ldmallocthcxx"
35849 if test "$wxUSE_PROFILE" = "yes" ; then
35854 CODE_GEN_FLAGS_CXX
=
35855 if test "$GCC" = "yes" ; then
35856 if test "$wxUSE_NO_RTTI" = "yes" ; then
35857 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
35859 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
35860 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
35862 if test "$wxUSE_PERMISSIVE" = "yes" ; then
35863 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
35868 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
35871 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
35877 if test "$wxUSE_OPTIMISE" = "no" ; then
35878 if test "$GCC" = yes ; then
35882 if test "$GCC" = yes ; then
35886 i586
-*-*|i686
-*-* )
35887 OPTIMISE
="${OPTIMISE} "
35896 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
35897 cat >>confdefs.h
<<\_ACEOF
35898 #define WXWIN_COMPATIBILITY_2_2 1
35902 WXWIN_COMPATIBILITY_2_4
="yes"
35905 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
35906 cat >>confdefs.h
<<\_ACEOF
35907 #define WXWIN_COMPATIBILITY_2_4 1
35913 if test "$wxUSE_GUI" = "yes"; then
35914 cat >>confdefs.h
<<\_ACEOF
35915 #define wxUSE_GUI 1
35922 if test "$wxUSE_UNIX" = "yes"; then
35923 cat >>confdefs.h
<<\_ACEOF
35924 #define wxUSE_UNIX 1
35930 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
35934 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
35935 if test "$USE_DARWIN" = 1; then
35937 elif test "$USE_DOS" = 1; then
35941 for ac_func
in dlopen
35943 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35944 echo "$as_me:$LINENO: checking for $ac_func" >&5
35945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35946 if eval "test \"\${$as_ac_var+set}\" = set"; then
35947 echo $ECHO_N "(cached) $ECHO_C" >&6
35949 cat >conftest.
$ac_ext <<_ACEOF
35952 cat confdefs.h
>>conftest.
$ac_ext
35953 cat >>conftest.
$ac_ext <<_ACEOF
35954 /* end confdefs.h. */
35955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35956 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35957 #define $ac_func innocuous_$ac_func
35959 /* System header to define __stub macros and hopefully few prototypes,
35960 which can conflict with char $ac_func (); below.
35961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35962 <limits.h> exists even on freestanding compilers. */
35965 # include <limits.h>
35967 # include <assert.h>
35972 /* Override any gcc2 internal prototype to avoid an error. */
35977 /* We use char because int might match the return type of a gcc2
35978 builtin and then its argument prototype would still apply. */
35980 /* The GNU C library defines this for functions which it implements
35981 to always fail with ENOSYS. Some functions are actually named
35982 something starting with __ and the normal name is an alias. */
35983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35986 char (*f) () = $ac_func;
35995 return f != $ac_func;
36000 rm -f conftest.
$ac_objext conftest
$ac_exeext
36001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36002 (eval $ac_link) 2>conftest.er1
36004 grep -v '^ *+' conftest.er1
>conftest.err
36006 cat conftest.err
>&5
36007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36008 (exit $ac_status); } &&
36009 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36011 (eval $ac_try) 2>&5
36013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36014 (exit $ac_status); }; } &&
36015 { ac_try
='test -s conftest$ac_exeext'
36016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36017 (eval $ac_try) 2>&5
36019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36020 (exit $ac_status); }; }; then
36021 eval "$as_ac_var=yes"
36023 echo "$as_me: failed program was:" >&5
36024 sed 's/^/| /' conftest.
$ac_ext >&5
36026 eval "$as_ac_var=no"
36028 rm -f conftest.err conftest.
$ac_objext \
36029 conftest
$ac_exeext conftest.
$ac_ext
36031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36033 if test `eval echo '${'$as_ac_var'}'` = yes; then
36034 cat >>confdefs.h
<<_ACEOF
36035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36038 cat >>confdefs.h
<<\_ACEOF
36039 #define HAVE_DLOPEN 1
36046 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
36047 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
36048 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
36049 echo $ECHO_N "(cached) $ECHO_C" >&6
36051 ac_check_lib_save_LIBS
=$LIBS
36053 cat >conftest.
$ac_ext <<_ACEOF
36056 cat confdefs.h
>>conftest.
$ac_ext
36057 cat >>conftest.
$ac_ext <<_ACEOF
36058 /* end confdefs.h. */
36060 /* Override any gcc2 internal prototype to avoid an error. */
36064 /* We use char because int might match the return type of a gcc2
36065 builtin and then its argument prototype would still apply. */
36075 rm -f conftest.
$ac_objext conftest
$ac_exeext
36076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36077 (eval $ac_link) 2>conftest.er1
36079 grep -v '^ *+' conftest.er1
>conftest.err
36081 cat conftest.err
>&5
36082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36083 (exit $ac_status); } &&
36084 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36086 (eval $ac_try) 2>&5
36088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36089 (exit $ac_status); }; } &&
36090 { ac_try
='test -s conftest$ac_exeext'
36091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36092 (eval $ac_try) 2>&5
36094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36095 (exit $ac_status); }; }; then
36096 ac_cv_lib_dl_dlopen
=yes
36098 echo "$as_me: failed program was:" >&5
36099 sed 's/^/| /' conftest.
$ac_ext >&5
36101 ac_cv_lib_dl_dlopen
=no
36103 rm -f conftest.err conftest.
$ac_objext \
36104 conftest
$ac_exeext conftest.
$ac_ext
36105 LIBS
=$ac_check_lib_save_LIBS
36107 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
36108 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
36109 if test $ac_cv_lib_dl_dlopen = yes; then
36111 cat >>confdefs.h
<<\_ACEOF
36112 #define HAVE_DLOPEN 1
36116 DL_LINK
=" -ldl$DL_LINK"
36121 for ac_func
in shl_load
36123 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36124 echo "$as_me:$LINENO: checking for $ac_func" >&5
36125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36126 if eval "test \"\${$as_ac_var+set}\" = set"; then
36127 echo $ECHO_N "(cached) $ECHO_C" >&6
36129 cat >conftest.
$ac_ext <<_ACEOF
36132 cat confdefs.h
>>conftest.
$ac_ext
36133 cat >>conftest.
$ac_ext <<_ACEOF
36134 /* end confdefs.h. */
36135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36137 #define $ac_func innocuous_$ac_func
36139 /* System header to define __stub macros and hopefully few prototypes,
36140 which can conflict with char $ac_func (); below.
36141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36142 <limits.h> exists even on freestanding compilers. */
36145 # include <limits.h>
36147 # include <assert.h>
36152 /* Override any gcc2 internal prototype to avoid an error. */
36157 /* We use char because int might match the return type of a gcc2
36158 builtin and then its argument prototype would still apply. */
36160 /* The GNU C library defines this for functions which it implements
36161 to always fail with ENOSYS. Some functions are actually named
36162 something starting with __ and the normal name is an alias. */
36163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36166 char (*f) () = $ac_func;
36175 return f != $ac_func;
36180 rm -f conftest.
$ac_objext conftest
$ac_exeext
36181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36182 (eval $ac_link) 2>conftest.er1
36184 grep -v '^ *+' conftest.er1
>conftest.err
36186 cat conftest.err
>&5
36187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36188 (exit $ac_status); } &&
36189 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36191 (eval $ac_try) 2>&5
36193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36194 (exit $ac_status); }; } &&
36195 { ac_try
='test -s conftest$ac_exeext'
36196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36197 (eval $ac_try) 2>&5
36199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36200 (exit $ac_status); }; }; then
36201 eval "$as_ac_var=yes"
36203 echo "$as_me: failed program was:" >&5
36204 sed 's/^/| /' conftest.
$ac_ext >&5
36206 eval "$as_ac_var=no"
36208 rm -f conftest.err conftest.
$ac_objext \
36209 conftest
$ac_exeext conftest.
$ac_ext
36211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36213 if test `eval echo '${'$as_ac_var'}'` = yes; then
36214 cat >>confdefs.h
<<_ACEOF
36215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36218 cat >>confdefs.h
<<\_ACEOF
36219 #define HAVE_SHL_LOAD 1
36226 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
36227 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
36228 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
36229 echo $ECHO_N "(cached) $ECHO_C" >&6
36231 ac_check_lib_save_LIBS
=$LIBS
36232 LIBS
="-lshl_load $LIBS"
36233 cat >conftest.
$ac_ext <<_ACEOF
36236 cat confdefs.h
>>conftest.
$ac_ext
36237 cat >>conftest.
$ac_ext <<_ACEOF
36238 /* end confdefs.h. */
36240 /* Override any gcc2 internal prototype to avoid an error. */
36244 /* We use char because int might match the return type of a gcc2
36245 builtin and then its argument prototype would still apply. */
36255 rm -f conftest.
$ac_objext conftest
$ac_exeext
36256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36257 (eval $ac_link) 2>conftest.er1
36259 grep -v '^ *+' conftest.er1
>conftest.err
36261 cat conftest.err
>&5
36262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36263 (exit $ac_status); } &&
36264 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36266 (eval $ac_try) 2>&5
36268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36269 (exit $ac_status); }; } &&
36270 { ac_try
='test -s conftest$ac_exeext'
36271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36272 (eval $ac_try) 2>&5
36274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36275 (exit $ac_status); }; }; then
36276 ac_cv_lib_shl_load_dld
=yes
36278 echo "$as_me: failed program was:" >&5
36279 sed 's/^/| /' conftest.
$ac_ext >&5
36281 ac_cv_lib_shl_load_dld
=no
36283 rm -f conftest.err conftest.
$ac_objext \
36284 conftest
$ac_exeext conftest.
$ac_ext
36285 LIBS
=$ac_check_lib_save_LIBS
36287 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
36288 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
36289 if test $ac_cv_lib_shl_load_dld = yes; then
36292 DL_LINK
=" -ldld$DL_LINK"
36308 if test "$HAVE_DL_FUNCS" = 1; then
36310 for ac_func
in dlerror
36312 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36313 echo "$as_me:$LINENO: checking for $ac_func" >&5
36314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36315 if eval "test \"\${$as_ac_var+set}\" = set"; then
36316 echo $ECHO_N "(cached) $ECHO_C" >&6
36318 cat >conftest.
$ac_ext <<_ACEOF
36321 cat confdefs.h
>>conftest.
$ac_ext
36322 cat >>conftest.
$ac_ext <<_ACEOF
36323 /* end confdefs.h. */
36324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36326 #define $ac_func innocuous_$ac_func
36328 /* System header to define __stub macros and hopefully few prototypes,
36329 which can conflict with char $ac_func (); below.
36330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36331 <limits.h> exists even on freestanding compilers. */
36334 # include <limits.h>
36336 # include <assert.h>
36341 /* Override any gcc2 internal prototype to avoid an error. */
36346 /* We use char because int might match the return type of a gcc2
36347 builtin and then its argument prototype would still apply. */
36349 /* The GNU C library defines this for functions which it implements
36350 to always fail with ENOSYS. Some functions are actually named
36351 something starting with __ and the normal name is an alias. */
36352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36355 char (*f) () = $ac_func;
36364 return f != $ac_func;
36369 rm -f conftest.
$ac_objext conftest
$ac_exeext
36370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36371 (eval $ac_link) 2>conftest.er1
36373 grep -v '^ *+' conftest.er1
>conftest.err
36375 cat conftest.err
>&5
36376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36377 (exit $ac_status); } &&
36378 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36380 (eval $ac_try) 2>&5
36382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36383 (exit $ac_status); }; } &&
36384 { ac_try
='test -s conftest$ac_exeext'
36385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36386 (eval $ac_try) 2>&5
36388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36389 (exit $ac_status); }; }; then
36390 eval "$as_ac_var=yes"
36392 echo "$as_me: failed program was:" >&5
36393 sed 's/^/| /' conftest.
$ac_ext >&5
36395 eval "$as_ac_var=no"
36397 rm -f conftest.err conftest.
$ac_objext \
36398 conftest
$ac_exeext conftest.
$ac_ext
36400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36402 if test `eval echo '${'$as_ac_var'}'` = yes; then
36403 cat >>confdefs.h
<<_ACEOF
36404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36406 cat >>confdefs.h
<<\_ACEOF
36407 #define HAVE_DLERROR 1
36412 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
36413 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
36414 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
36415 echo $ECHO_N "(cached) $ECHO_C" >&6
36417 ac_check_lib_save_LIBS
=$LIBS
36419 cat >conftest.
$ac_ext <<_ACEOF
36422 cat confdefs.h
>>conftest.
$ac_ext
36423 cat >>conftest.
$ac_ext <<_ACEOF
36424 /* end confdefs.h. */
36426 /* Override any gcc2 internal prototype to avoid an error. */
36430 /* We use char because int might match the return type of a gcc2
36431 builtin and then its argument prototype would still apply. */
36441 rm -f conftest.
$ac_objext conftest
$ac_exeext
36442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36443 (eval $ac_link) 2>conftest.er1
36445 grep -v '^ *+' conftest.er1
>conftest.err
36447 cat conftest.err
>&5
36448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36449 (exit $ac_status); } &&
36450 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36452 (eval $ac_try) 2>&5
36454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36455 (exit $ac_status); }; } &&
36456 { ac_try
='test -s conftest$ac_exeext'
36457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36458 (eval $ac_try) 2>&5
36460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36461 (exit $ac_status); }; }; then
36462 ac_cv_lib_dl_dlerror
=yes
36464 echo "$as_me: failed program was:" >&5
36465 sed 's/^/| /' conftest.
$ac_ext >&5
36467 ac_cv_lib_dl_dlerror
=no
36469 rm -f conftest.err conftest.
$ac_objext \
36470 conftest
$ac_exeext conftest.
$ac_ext
36471 LIBS
=$ac_check_lib_save_LIBS
36473 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
36474 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
36475 if test $ac_cv_lib_dl_dlerror = yes; then
36476 cat >>confdefs.h
<<\_ACEOF
36477 #define HAVE_DLERROR 1
36490 if test "$HAVE_DL_FUNCS" = 0; then
36491 if test "$HAVE_SHL_FUNCS" = 0; then
36492 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
36493 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
36494 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
36495 wxUSE_DYNAMIC_LOADER
=no
36496 wxUSE_DYNLIB_CLASS
=no
36498 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
36499 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
36506 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
36507 cat >>confdefs.h
<<\_ACEOF
36508 #define wxUSE_DYNAMIC_LOADER 1
36512 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
36513 cat >>confdefs.h
<<\_ACEOF
36514 #define wxUSE_DYNLIB_CLASS 1
36521 if test "$wxUSE_PLUGINS" = "yes" ; then
36522 if test "$wxUSE_SHARED" = "no" ; then
36523 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
36524 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
36527 if test "$wxUSE_MONOLITHIC" = "yes" ; then
36528 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
36529 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
36532 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
36533 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
36534 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
36537 if test "$wxUSE_PLUGINS" = "yes" ; then
36538 cat >>confdefs.h
<<\_ACEOF
36539 #define wxUSE_PLUGINS 1
36546 if test "$wxUSE_STL" = "yes"; then
36547 cat >>confdefs.h
<<\_ACEOF
36548 #define wxUSE_STL 1
36553 if test "$wxUSE_APPLE_IEEE" = "yes"; then
36554 cat >>confdefs.h
<<\_ACEOF
36555 #define wxUSE_APPLE_IEEE 1
36560 if test "$wxUSE_TIMER" = "yes"; then
36561 cat >>confdefs.h
<<\_ACEOF
36562 #define wxUSE_TIMER 1
36567 if test "$USE_UNIX" = "1" ; then
36569 for ac_header
in sys
/soundcard.h
36571 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36572 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36573 echo "$as_me:$LINENO: checking for $ac_header" >&5
36574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36575 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36576 echo $ECHO_N "(cached) $ECHO_C" >&6
36578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36579 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36581 # Is the header compilable?
36582 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36583 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36584 cat >conftest.
$ac_ext <<_ACEOF
36587 cat confdefs.h
>>conftest.
$ac_ext
36588 cat >>conftest.
$ac_ext <<_ACEOF
36589 /* end confdefs.h. */
36590 $ac_includes_default
36591 #include <$ac_header>
36593 rm -f conftest.
$ac_objext
36594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36595 (eval $ac_compile) 2>conftest.er1
36597 grep -v '^ *+' conftest.er1
>conftest.err
36599 cat conftest.err
>&5
36600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36601 (exit $ac_status); } &&
36602 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36604 (eval $ac_try) 2>&5
36606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36607 (exit $ac_status); }; } &&
36608 { ac_try
='test -s conftest.$ac_objext'
36609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36610 (eval $ac_try) 2>&5
36612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36613 (exit $ac_status); }; }; then
36614 ac_header_compiler
=yes
36616 echo "$as_me: failed program was:" >&5
36617 sed 's/^/| /' conftest.
$ac_ext >&5
36619 ac_header_compiler
=no
36621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36622 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36623 echo "${ECHO_T}$ac_header_compiler" >&6
36625 # Is the header present?
36626 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36627 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36628 cat >conftest.
$ac_ext <<_ACEOF
36631 cat confdefs.h
>>conftest.
$ac_ext
36632 cat >>conftest.
$ac_ext <<_ACEOF
36633 /* end confdefs.h. */
36634 #include <$ac_header>
36636 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36637 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36639 grep -v '^ *+' conftest.er1
>conftest.err
36641 cat conftest.err
>&5
36642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36643 (exit $ac_status); } >/dev
/null
; then
36644 if test -s conftest.err
; then
36645 ac_cpp_err
=$ac_c_preproc_warn_flag
36646 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36653 if test -z "$ac_cpp_err"; then
36654 ac_header_preproc
=yes
36656 echo "$as_me: failed program was:" >&5
36657 sed 's/^/| /' conftest.
$ac_ext >&5
36659 ac_header_preproc
=no
36661 rm -f conftest.err conftest.
$ac_ext
36662 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36663 echo "${ECHO_T}$ac_header_preproc" >&6
36665 # So? What about this header?
36666 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36668 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36669 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36671 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36672 ac_header_preproc
=yes
36675 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36676 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36677 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36678 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36679 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36680 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36681 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36682 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36683 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36684 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36685 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36686 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36689 ## ----------------------------------------- ##
36690 ## Report this to wx-dev@lists.wxwidgets.org ##
36691 ## ----------------------------------------- ##
36694 sed "s/^/$as_me: WARNING: /" >&2
36697 echo "$as_me:$LINENO: checking for $ac_header" >&5
36698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36700 echo $ECHO_N "(cached) $ECHO_C" >&6
36702 eval "$as_ac_Header=\$ac_header_preproc"
36704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36705 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36708 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36709 cat >>confdefs.h
<<_ACEOF
36710 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36714 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
36721 if test "$wxUSE_SOUND" = "yes"; then
36722 if test "$USE_UNIX" = "1" ; then
36723 if test "$wxUSE_LIBSDL" != "no"; then
36725 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
36726 if test "${with_sdl_prefix+set}" = set; then
36727 withval
="$with_sdl_prefix"
36728 sdl_prefix
="$withval"
36733 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
36734 if test "${with_sdl_exec_prefix+set}" = set; then
36735 withval
="$with_sdl_exec_prefix"
36736 sdl_exec_prefix
="$withval"
36740 # Check whether --enable-sdltest or --disable-sdltest was given.
36741 if test "${enable_sdltest+set}" = set; then
36742 enableval
="$enable_sdltest"
36748 if test x
$sdl_exec_prefix != x
; then
36749 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
36750 if test x
${SDL_CONFIG+set} != xset
; then
36751 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
36754 if test x
$sdl_prefix != x
; then
36755 sdl_args
="$sdl_args --prefix=$sdl_prefix"
36756 if test x
${SDL_CONFIG+set} != xset
; then
36757 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
36762 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
36763 # Extract the first word of "sdl-config", so it can be a program name with args.
36764 set dummy sdl
-config; ac_word
=$2
36765 echo "$as_me:$LINENO: checking for $ac_word" >&5
36766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36767 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
36768 echo $ECHO_N "(cached) $ECHO_C" >&6
36770 case $SDL_CONFIG in
36772 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
36775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36776 for as_dir
in $PATH
36779 test -z "$as_dir" && as_dir
=.
36780 for ac_exec_ext
in '' $ac_executable_extensions; do
36781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36782 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36789 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
36793 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
36795 if test -n "$SDL_CONFIG"; then
36796 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
36797 echo "${ECHO_T}$SDL_CONFIG" >&6
36799 echo "$as_me:$LINENO: result: no" >&5
36800 echo "${ECHO_T}no" >&6
36803 min_sdl_version
=1.2.0
36804 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
36805 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
36807 if test "$SDL_CONFIG" = "no" ; then
36810 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
36811 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
36813 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
36814 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
36815 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
36816 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
36817 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
36818 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
36819 if test "x$enable_sdltest" = "xyes" ; then
36820 ac_save_CFLAGS
="$CFLAGS"
36821 ac_save_CXXFLAGS
="$CXXFLAGS"
36822 ac_save_LIBS
="$LIBS"
36823 CFLAGS
="$CFLAGS $SDL_CFLAGS"
36824 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
36825 LIBS
="$LIBS $SDL_LIBS"
36827 if test "$cross_compiling" = yes; then
36828 echo $ac_n "cross compiling; assumed OK... $ac_c"
36830 cat >conftest.
$ac_ext <<_ACEOF
36833 cat confdefs.h
>>conftest.
$ac_ext
36834 cat >>conftest.
$ac_ext <<_ACEOF
36835 /* end confdefs.h. */
36838 #include <stdlib.h>
36839 #include <string.h>
36843 my_strdup (char *str)
36849 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
36850 strcpy (new_str, str);
36858 int main (int argc, char *argv[])
36860 int major, minor, micro;
36863 /* This hangs on some systems (?)
36864 system ("touch conf.sdltest");
36866 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
36868 /* HP/UX 9 (%@#!) writes to sscanf strings */
36869 tmp_version = my_strdup("$min_sdl_version");
36870 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
36871 printf("%s, bad version string\n", "$min_sdl_version");
36875 if (($sdl_major_version > major) ||
36876 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
36877 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
36883 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
36884 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
36885 printf("*** best to upgrade to the required version.\n");
36886 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
36887 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
36888 printf("*** config.cache before re-running configure\n");
36895 rm -f conftest
$ac_exeext
36896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36897 (eval $ac_link) 2>&5
36899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36900 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
36901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36902 (eval $ac_try) 2>&5
36904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36905 (exit $ac_status); }; }; then
36908 echo "$as_me: program exited with status $ac_status" >&5
36909 echo "$as_me: failed program was:" >&5
36910 sed 's/^/| /' conftest.
$ac_ext >&5
36912 ( exit $ac_status )
36915 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
36917 CFLAGS
="$ac_save_CFLAGS"
36918 CXXFLAGS
="$ac_save_CXXFLAGS"
36919 LIBS
="$ac_save_LIBS"
36922 if test "x$no_sdl" = x
; then
36923 echo "$as_me:$LINENO: result: yes" >&5
36924 echo "${ECHO_T}yes" >&6
36926 EXTRALIBS_SDL
="$SDL_LIBS"
36927 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
36928 cat >>confdefs.h
<<\_ACEOF
36929 #define wxUSE_LIBSDL 1
36934 echo "$as_me:$LINENO: result: no" >&5
36935 echo "${ECHO_T}no" >&6
36936 if test "$SDL_CONFIG" = "no" ; then
36937 echo "*** The sdl-config script installed by SDL could not be found"
36938 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
36939 echo "*** your path, or set the SDL_CONFIG environment variable to the"
36940 echo "*** full path to sdl-config."
36942 if test -f conf.sdltest
; then
36945 echo "*** Could not run SDL test program, checking why..."
36946 CFLAGS
="$CFLAGS $SDL_CFLAGS"
36947 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
36948 LIBS
="$LIBS $SDL_LIBS"
36949 cat >conftest.
$ac_ext <<_ACEOF
36952 cat confdefs.h
>>conftest.
$ac_ext
36953 cat >>conftest.
$ac_ext <<_ACEOF
36954 /* end confdefs.h. */
36959 int main(int argc, char *argv[])
36962 #define main K_and_R_C_main
36972 rm -f conftest.
$ac_objext conftest
$ac_exeext
36973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36974 (eval $ac_link) 2>conftest.er1
36976 grep -v '^ *+' conftest.er1
>conftest.err
36978 cat conftest.err
>&5
36979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36980 (exit $ac_status); } &&
36981 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36983 (eval $ac_try) 2>&5
36985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36986 (exit $ac_status); }; } &&
36987 { ac_try
='test -s conftest$ac_exeext'
36988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36989 (eval $ac_try) 2>&5
36991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36992 (exit $ac_status); }; }; then
36993 echo "*** The test program compiled, but did not run. This usually means"
36994 echo "*** that the run-time linker is not finding SDL or finding the wrong"
36995 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
36996 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
36997 echo "*** to the installed location Also, make sure you have run ldconfig if that"
36998 echo "*** is required on your system"
37000 echo "*** If you have an old version installed, it is best to remove it, although"
37001 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
37003 echo "$as_me: failed program was:" >&5
37004 sed 's/^/| /' conftest.
$ac_ext >&5
37006 echo "*** The test program failed to compile or link. See the file config.log for the"
37007 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
37008 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
37009 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
37011 rm -f conftest.err conftest.
$ac_objext \
37012 conftest
$ac_exeext conftest.
$ac_ext
37013 CFLAGS
="$ac_save_CFLAGS"
37014 CXXFLAGS
="$ac_save_CXXFLAGS"
37015 LIBS
="$ac_save_LIBS"
37026 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
37032 cat >>confdefs.h
<<\_ACEOF
37033 #define wxUSE_SOUND 1
37036 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
37039 if test "$WXGTK20" = 1; then
37040 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
37041 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37046 if test -z "$PKG_CONFIG"; then
37047 # Extract the first word of "pkg-config", so it can be a program name with args.
37048 set dummy pkg
-config; ac_word
=$2
37049 echo "$as_me:$LINENO: checking for $ac_word" >&5
37050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37051 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
37052 echo $ECHO_N "(cached) $ECHO_C" >&6
37054 case $PKG_CONFIG in
37056 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
37059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37060 for as_dir
in $PATH
37063 test -z "$as_dir" && as_dir
=.
37064 for ac_exec_ext
in '' $ac_executable_extensions; do
37065 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37066 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
37067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37073 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
37077 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
37079 if test -n "$PKG_CONFIG"; then
37080 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
37081 echo "${ECHO_T}$PKG_CONFIG" >&6
37083 echo "$as_me:$LINENO: result: no" >&5
37084 echo "${ECHO_T}no" >&6
37089 if test "$PKG_CONFIG" = "no" ; then
37090 echo "*** The pkg-config script could not be found. Make sure it is"
37091 echo "*** in your path, or set the PKG_CONFIG environment variable"
37092 echo "*** to the full path to pkg-config."
37093 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
37095 PKG_CONFIG_MIN_VERSION
=0.9.0
37096 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
37097 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
37098 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
37100 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
37101 echo "$as_me:$LINENO: result: yes" >&5
37102 echo "${ECHO_T}yes" >&6
37105 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
37106 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
37107 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
37108 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
37109 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
37111 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
37112 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
37113 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
37114 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
37115 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
37117 LIBGNOMEPRINTUI_CFLAGS
=""
37118 LIBGNOMEPRINTUI_LIBS
=""
37119 ## If we have a custom action on failure, don't print errors, but
37120 ## do set a variable so people can do so.
37121 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
37128 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
37129 echo "*** See http://www.freedesktop.org/software/pkgconfig"
37133 if test $succeeded = yes; then
37135 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
37136 cat >>confdefs.h
<<\_ACEOF
37137 #define wxUSE_LIBGNOMEPRINT 1
37143 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
37144 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
37145 wxUSE_LIBGNOMEPRINT
="no"
37155 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
37156 cat >>confdefs.h
<<\_ACEOF
37157 #define wxUSE_CMDLINE_PARSER 1
37162 if test "$wxUSE_STOPWATCH" = "yes"; then
37163 cat >>confdefs.h
<<\_ACEOF
37164 #define wxUSE_STOPWATCH 1
37169 if test "$wxUSE_DATETIME" = "yes"; then
37170 cat >>confdefs.h
<<\_ACEOF
37171 #define wxUSE_DATETIME 1
37176 if test "$wxUSE_FILE" = "yes"; then
37177 cat >>confdefs.h
<<\_ACEOF
37178 #define wxUSE_FILE 1
37183 if test "$wxUSE_FFILE" = "yes"; then
37184 cat >>confdefs.h
<<\_ACEOF
37185 #define wxUSE_FFILE 1
37190 if test "$wxUSE_FILESYSTEM" = "yes"; then
37191 cat >>confdefs.h
<<\_ACEOF
37192 #define wxUSE_FILESYSTEM 1
37197 if test "$wxUSE_FS_ZIP" = "yes"; then
37198 cat >>confdefs.h
<<\_ACEOF
37199 #define wxUSE_FS_ZIP 1
37204 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
37205 cat >>confdefs.h
<<\_ACEOF
37206 #define wxUSE_ARCHIVE_STREAMS 1
37211 if test "$wxUSE_ZIPSTREAM" = "yes"; then
37212 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
37213 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
37214 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
37215 elif test "$wxUSE_ZLIB" = "no"; then
37216 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
37217 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
37219 cat >>confdefs.h
<<\_ACEOF
37220 #define wxUSE_ZIPSTREAM 1
37226 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37227 if test "$USE_UNIX" != 1; then
37228 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
37229 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
37230 wxUSE_ON_FATAL_EXCEPTION
=no
37232 cat >>confdefs.h
<<\_ACEOF
37233 #define wxUSE_ON_FATAL_EXCEPTION 1
37239 if test "$wxUSE_STACKWALKER" = "yes"; then
37240 cat >>confdefs.h
<<\_ACEOF
37241 #define wxUSE_STACKWALKER 1
37246 if test "$wxUSE_DEBUGREPORT" = "yes"; then
37247 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
37248 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
37249 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
37250 wxUSE_DEBUGREPORT
=no
37252 cat >>confdefs.h
<<\_ACEOF
37253 #define wxUSE_DEBUGREPORT 1
37256 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37257 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
37262 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37263 cat >>confdefs.h
<<\_ACEOF
37264 #define wxUSE_SNGLINST_CHECKER 1
37269 if test "$wxUSE_BUSYINFO" = "yes"; then
37270 cat >>confdefs.h
<<\_ACEOF
37271 #define wxUSE_BUSYINFO 1
37276 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
37277 cat >>confdefs.h
<<\_ACEOF
37278 #define wxUSE_STD_IOSTREAM 1
37283 if test "$wxUSE_STD_STRING" = "yes"; then
37284 cat >>confdefs.h
<<\_ACEOF
37285 #define wxUSE_STD_STRING 1
37290 if test "$wxUSE_STDPATHS" = "yes"; then
37291 cat >>confdefs.h
<<\_ACEOF
37292 #define wxUSE_STDPATHS 1
37297 if test "$wxUSE_TEXTBUFFER" = "yes"; then
37298 cat >>confdefs.h
<<\_ACEOF
37299 #define wxUSE_TEXTBUFFER 1
37304 if test "$wxUSE_TEXTFILE" = "yes"; then
37305 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
37306 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
37307 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
37309 cat >>confdefs.h
<<\_ACEOF
37310 #define wxUSE_TEXTFILE 1
37316 if test "$wxUSE_CONFIG" = "yes" ; then
37317 if test "$wxUSE_TEXTFILE" != "yes"; then
37318 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
37319 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
37321 cat >>confdefs.h
<<\_ACEOF
37322 #define wxUSE_CONFIG 1
37325 cat >>confdefs.h
<<\_ACEOF
37326 #define wxUSE_CONFIG_NATIVE 1
37329 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
37333 if test "$wxUSE_INTL" = "yes" ; then
37334 if test "$wxUSE_FILE" != "yes"; then
37335 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
37336 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
37338 cat >>confdefs.h
<<\_ACEOF
37339 #define wxUSE_INTL 1
37342 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
37343 GUIDIST
="$GUIDIST INTL_DIST"
37347 if test "$wxUSE_LOG" = "yes"; then
37348 cat >>confdefs.h
<<\_ACEOF
37349 #define wxUSE_LOG 1
37353 if test "$wxUSE_LOGGUI" = "yes"; then
37354 cat >>confdefs.h
<<\_ACEOF
37355 #define wxUSE_LOGGUI 1
37360 if test "$wxUSE_LOGWINDOW" = "yes"; then
37361 cat >>confdefs.h
<<\_ACEOF
37362 #define wxUSE_LOGWINDOW 1
37367 if test "$wxUSE_LOGDIALOG" = "yes"; then
37368 cat >>confdefs.h
<<\_ACEOF
37369 #define wxUSE_LOG_DIALOG 1
37374 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
37377 if test "$wxUSE_LONGLONG" = "yes"; then
37378 cat >>confdefs.h
<<\_ACEOF
37379 #define wxUSE_LONGLONG 1
37384 if test "$wxUSE_GEOMETRY" = "yes"; then
37385 cat >>confdefs.h
<<\_ACEOF
37386 #define wxUSE_GEOMETRY 1
37391 if test "$wxUSE_STREAMS" = "yes" ; then
37392 cat >>confdefs.h
<<\_ACEOF
37393 #define wxUSE_STREAMS 1
37399 if test "$wxUSE_DATETIME" = "yes"; then
37401 for ac_func
in strptime
37403 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37404 echo "$as_me:$LINENO: checking for $ac_func" >&5
37405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37406 if eval "test \"\${$as_ac_var+set}\" = set"; then
37407 echo $ECHO_N "(cached) $ECHO_C" >&6
37409 cat >conftest.
$ac_ext <<_ACEOF
37412 cat confdefs.h
>>conftest.
$ac_ext
37413 cat >>conftest.
$ac_ext <<_ACEOF
37414 /* end confdefs.h. */
37415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37417 #define $ac_func innocuous_$ac_func
37419 /* System header to define __stub macros and hopefully few prototypes,
37420 which can conflict with char $ac_func (); below.
37421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37422 <limits.h> exists even on freestanding compilers. */
37425 # include <limits.h>
37427 # include <assert.h>
37432 /* Override any gcc2 internal prototype to avoid an error. */
37437 /* We use char because int might match the return type of a gcc2
37438 builtin and then its argument prototype would still apply. */
37440 /* The GNU C library defines this for functions which it implements
37441 to always fail with ENOSYS. Some functions are actually named
37442 something starting with __ and the normal name is an alias. */
37443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37446 char (*f) () = $ac_func;
37455 return f != $ac_func;
37460 rm -f conftest.
$ac_objext conftest
$ac_exeext
37461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37462 (eval $ac_link) 2>conftest.er1
37464 grep -v '^ *+' conftest.er1
>conftest.err
37466 cat conftest.err
>&5
37467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37468 (exit $ac_status); } &&
37469 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37471 (eval $ac_try) 2>&5
37473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37474 (exit $ac_status); }; } &&
37475 { ac_try
='test -s conftest$ac_exeext'
37476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37477 (eval $ac_try) 2>&5
37479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37480 (exit $ac_status); }; }; then
37481 eval "$as_ac_var=yes"
37483 echo "$as_me: failed program was:" >&5
37484 sed 's/^/| /' conftest.
$ac_ext >&5
37486 eval "$as_ac_var=no"
37488 rm -f conftest.err conftest.
$ac_objext \
37489 conftest
$ac_exeext conftest.
$ac_ext
37491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37493 if test `eval echo '${'$as_ac_var'}'` = yes; then
37494 cat >>confdefs.h
<<_ACEOF
37495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37502 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
37503 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
37504 if test "${wx_cv_var_timezone+set}" = set; then
37505 echo $ECHO_N "(cached) $ECHO_C" >&6
37508 cat >conftest.
$ac_ext <<_ACEOF
37511 cat confdefs.h
>>conftest.
$ac_ext
37512 cat >>conftest.
$ac_ext <<_ACEOF
37513 /* end confdefs.h. */
37528 rm -f conftest.
$ac_objext
37529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37530 (eval $ac_compile) 2>conftest.er1
37532 grep -v '^ *+' conftest.er1
>conftest.err
37534 cat conftest.err
>&5
37535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37536 (exit $ac_status); } &&
37537 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37539 (eval $ac_try) 2>&5
37541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37542 (exit $ac_status); }; } &&
37543 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
37550 wx_cv_var_timezone
=timezone
37553 echo "$as_me: failed program was:" >&5
37554 sed 's/^/| /' conftest.
$ac_ext >&5
37557 cat >conftest.
$ac_ext <<_ACEOF
37560 cat confdefs.h
>>conftest.
$ac_ext
37561 cat >>conftest.
$ac_ext <<_ACEOF
37562 /* end confdefs.h. */
37577 rm -f conftest.
$ac_objext
37578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37579 (eval $ac_compile) 2>conftest.er1
37581 grep -v '^ *+' conftest.er1
>conftest.err
37583 cat conftest.err
>&5
37584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37585 (exit $ac_status); } &&
37586 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37588 (eval $ac_try) 2>&5
37590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37591 (exit $ac_status); }; } &&
37592 { ac_try
='test -s conftest.$ac_objext'
37593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37594 (eval $ac_try) 2>&5
37596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37597 (exit $ac_status); }; }; then
37599 wx_cv_var_timezone
=_timezone
37602 echo "$as_me: failed program was:" >&5
37603 sed 's/^/| /' conftest.
$ac_ext >&5
37606 cat >conftest.
$ac_ext <<_ACEOF
37609 cat confdefs.h
>>conftest.
$ac_ext
37610 cat >>conftest.
$ac_ext <<_ACEOF
37611 /* end confdefs.h. */
37626 rm -f conftest.
$ac_objext
37627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37628 (eval $ac_compile) 2>conftest.er1
37630 grep -v '^ *+' conftest.er1
>conftest.err
37632 cat conftest.err
>&5
37633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37634 (exit $ac_status); } &&
37635 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37637 (eval $ac_try) 2>&5
37639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37640 (exit $ac_status); }; } &&
37641 { ac_try
='test -s conftest.$ac_objext'
37642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37643 (eval $ac_try) 2>&5
37645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37646 (exit $ac_status); }; }; then
37648 wx_cv_var_timezone
=__timezone
37651 echo "$as_me: failed program was:" >&5
37652 sed 's/^/| /' conftest.
$ac_ext >&5
37655 if test "$USE_DOS" = 0 ; then
37656 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
37657 echo "$as_me: WARNING: no timezone variable" >&2;}
37662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37674 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
37675 echo "${ECHO_T}$wx_cv_var_timezone" >&6
37677 if test "x$wx_cv_var_timezone" != x
; then
37678 cat >>confdefs.h
<<_ACEOF
37679 #define WX_TIMEZONE $wx_cv_var_timezone
37685 for ac_func
in localtime
37687 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37688 echo "$as_me:$LINENO: checking for $ac_func" >&5
37689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37690 if eval "test \"\${$as_ac_var+set}\" = set"; then
37691 echo $ECHO_N "(cached) $ECHO_C" >&6
37693 cat >conftest.
$ac_ext <<_ACEOF
37696 cat confdefs.h
>>conftest.
$ac_ext
37697 cat >>conftest.
$ac_ext <<_ACEOF
37698 /* end confdefs.h. */
37699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37701 #define $ac_func innocuous_$ac_func
37703 /* System header to define __stub macros and hopefully few prototypes,
37704 which can conflict with char $ac_func (); below.
37705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37706 <limits.h> exists even on freestanding compilers. */
37709 # include <limits.h>
37711 # include <assert.h>
37716 /* Override any gcc2 internal prototype to avoid an error. */
37721 /* We use char because int might match the return type of a gcc2
37722 builtin and then its argument prototype would still apply. */
37724 /* The GNU C library defines this for functions which it implements
37725 to always fail with ENOSYS. Some functions are actually named
37726 something starting with __ and the normal name is an alias. */
37727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37730 char (*f) () = $ac_func;
37739 return f != $ac_func;
37744 rm -f conftest.
$ac_objext conftest
$ac_exeext
37745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37746 (eval $ac_link) 2>conftest.er1
37748 grep -v '^ *+' conftest.er1
>conftest.err
37750 cat conftest.err
>&5
37751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37752 (exit $ac_status); } &&
37753 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37755 (eval $ac_try) 2>&5
37757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37758 (exit $ac_status); }; } &&
37759 { ac_try
='test -s conftest$ac_exeext'
37760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37761 (eval $ac_try) 2>&5
37763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37764 (exit $ac_status); }; }; then
37765 eval "$as_ac_var=yes"
37767 echo "$as_me: failed program was:" >&5
37768 sed 's/^/| /' conftest.
$ac_ext >&5
37770 eval "$as_ac_var=no"
37772 rm -f conftest.err conftest.
$ac_objext \
37773 conftest
$ac_exeext conftest.
$ac_ext
37775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37776 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37777 if test `eval echo '${'$as_ac_var'}'` = yes; then
37778 cat >>confdefs.h
<<_ACEOF
37779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37786 if test "$ac_cv_func_localtime" = "yes"; then
37787 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
37788 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
37789 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
37790 echo $ECHO_N "(cached) $ECHO_C" >&6
37793 cat >conftest.
$ac_ext <<_ACEOF
37796 cat confdefs.h
>>conftest.
$ac_ext
37797 cat >>conftest.
$ac_ext <<_ACEOF
37798 /* end confdefs.h. */
37813 rm -f conftest.
$ac_objext
37814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37815 (eval $ac_compile) 2>conftest.er1
37817 grep -v '^ *+' conftest.er1
>conftest.err
37819 cat conftest.err
>&5
37820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37821 (exit $ac_status); } &&
37822 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37824 (eval $ac_try) 2>&5
37826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37827 (exit $ac_status); }; } &&
37828 { ac_try
='test -s conftest.$ac_objext'
37829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37830 (eval $ac_try) 2>&5
37832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37833 (exit $ac_status); }; }; then
37835 wx_cv_struct_tm_has_gmtoff
=yes
37838 echo "$as_me: failed program was:" >&5
37839 sed 's/^/| /' conftest.
$ac_ext >&5
37841 wx_cv_struct_tm_has_gmtoff
=no
37844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37847 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
37848 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
37851 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
37852 cat >>confdefs.h
<<\_ACEOF
37853 #define WX_GMTOFF_IN_TM 1
37860 for ac_func
in gettimeofday ftime
37862 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37863 echo "$as_me:$LINENO: checking for $ac_func" >&5
37864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37865 if eval "test \"\${$as_ac_var+set}\" = set"; then
37866 echo $ECHO_N "(cached) $ECHO_C" >&6
37868 cat >conftest.
$ac_ext <<_ACEOF
37871 cat confdefs.h
>>conftest.
$ac_ext
37872 cat >>conftest.
$ac_ext <<_ACEOF
37873 /* end confdefs.h. */
37874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37876 #define $ac_func innocuous_$ac_func
37878 /* System header to define __stub macros and hopefully few prototypes,
37879 which can conflict with char $ac_func (); below.
37880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37881 <limits.h> exists even on freestanding compilers. */
37884 # include <limits.h>
37886 # include <assert.h>
37891 /* Override any gcc2 internal prototype to avoid an error. */
37896 /* We use char because int might match the return type of a gcc2
37897 builtin and then its argument prototype would still apply. */
37899 /* The GNU C library defines this for functions which it implements
37900 to always fail with ENOSYS. Some functions are actually named
37901 something starting with __ and the normal name is an alias. */
37902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37905 char (*f) () = $ac_func;
37914 return f != $ac_func;
37919 rm -f conftest.
$ac_objext conftest
$ac_exeext
37920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37921 (eval $ac_link) 2>conftest.er1
37923 grep -v '^ *+' conftest.er1
>conftest.err
37925 cat conftest.err
>&5
37926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37927 (exit $ac_status); } &&
37928 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37930 (eval $ac_try) 2>&5
37932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37933 (exit $ac_status); }; } &&
37934 { ac_try
='test -s conftest$ac_exeext'
37935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37936 (eval $ac_try) 2>&5
37938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37939 (exit $ac_status); }; }; then
37940 eval "$as_ac_var=yes"
37942 echo "$as_me: failed program was:" >&5
37943 sed 's/^/| /' conftest.
$ac_ext >&5
37945 eval "$as_ac_var=no"
37947 rm -f conftest.err conftest.
$ac_objext \
37948 conftest
$ac_exeext conftest.
$ac_ext
37950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37952 if test `eval echo '${'$as_ac_var'}'` = yes; then
37953 cat >>confdefs.h
<<_ACEOF
37954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37961 if test "$ac_cv_func_gettimeofday" = "yes"; then
37962 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
37963 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
37964 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
37965 echo $ECHO_N "(cached) $ECHO_C" >&6
37971 ac_cpp
='$CXXCPP $CPPFLAGS'
37972 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37973 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37974 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37977 cat >conftest.
$ac_ext <<_ACEOF
37980 cat confdefs.h
>>conftest.
$ac_ext
37981 cat >>conftest.
$ac_ext <<_ACEOF
37982 /* end confdefs.h. */
37984 #include <sys/time.h>
37985 #include <unistd.h>
37992 gettimeofday(&tv, NULL);
37998 rm -f conftest.
$ac_objext
37999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38000 (eval $ac_compile) 2>conftest.er1
38002 grep -v '^ *+' conftest.er1
>conftest.err
38004 cat conftest.err
>&5
38005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38006 (exit $ac_status); } &&
38007 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38009 (eval $ac_try) 2>&5
38011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38012 (exit $ac_status); }; } &&
38013 { ac_try
='test -s conftest.$ac_objext'
38014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38015 (eval $ac_try) 2>&5
38017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38018 (exit $ac_status); }; }; then
38019 wx_cv_func_gettimeofday_has_2_args
=yes
38021 echo "$as_me: failed program was:" >&5
38022 sed 's/^/| /' conftest.
$ac_ext >&5
38024 cat >conftest.
$ac_ext <<_ACEOF
38027 cat confdefs.h
>>conftest.
$ac_ext
38028 cat >>conftest.
$ac_ext <<_ACEOF
38029 /* end confdefs.h. */
38031 #include <sys/time.h>
38032 #include <unistd.h>
38045 rm -f conftest.
$ac_objext
38046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38047 (eval $ac_compile) 2>conftest.er1
38049 grep -v '^ *+' conftest.er1
>conftest.err
38051 cat conftest.err
>&5
38052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38053 (exit $ac_status); } &&
38054 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38056 (eval $ac_try) 2>&5
38058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38059 (exit $ac_status); }; } &&
38060 { ac_try
='test -s conftest.$ac_objext'
38061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38062 (eval $ac_try) 2>&5
38064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38065 (exit $ac_status); }; }; then
38066 wx_cv_func_gettimeofday_has_2_args
=no
38068 echo "$as_me: failed program was:" >&5
38069 sed 's/^/| /' conftest.
$ac_ext >&5
38072 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
38073 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
38074 wx_cv_func_gettimeofday_has_2_args
=unknown
38078 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38081 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38083 ac_cpp
='$CPP $CPPFLAGS'
38084 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38085 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38086 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38090 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
38091 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
38093 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
38094 cat >>confdefs.h
<<\_ACEOF
38095 #define WX_GETTIMEOFDAY_NO_TZ 1
38101 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
38105 if test "$wxUSE_SOCKETS" = "yes"; then
38106 if test "$wxUSE_MGL" = "1"; then
38107 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
38108 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
38113 if test "$wxUSE_SOCKETS" = "yes"; then
38114 if test "$TOOLKIT" != "MSW"; then
38115 echo "$as_me:$LINENO: checking for socket" >&5
38116 echo $ECHO_N "checking for socket... $ECHO_C" >&6
38117 if test "${ac_cv_func_socket+set}" = set; then
38118 echo $ECHO_N "(cached) $ECHO_C" >&6
38120 cat >conftest.
$ac_ext <<_ACEOF
38123 cat confdefs.h
>>conftest.
$ac_ext
38124 cat >>conftest.
$ac_ext <<_ACEOF
38125 /* end confdefs.h. */
38126 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
38127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38128 #define socket innocuous_socket
38130 /* System header to define __stub macros and hopefully few prototypes,
38131 which can conflict with char socket (); below.
38132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38133 <limits.h> exists even on freestanding compilers. */
38136 # include <limits.h>
38138 # include <assert.h>
38143 /* Override any gcc2 internal prototype to avoid an error. */
38148 /* We use char because int might match the return type of a gcc2
38149 builtin and then its argument prototype would still apply. */
38151 /* The GNU C library defines this for functions which it implements
38152 to always fail with ENOSYS. Some functions are actually named
38153 something starting with __ and the normal name is an alias. */
38154 #if defined (__stub_socket) || defined (__stub___socket)
38157 char (*f) () = socket;
38166 return f != socket;
38171 rm -f conftest.
$ac_objext conftest
$ac_exeext
38172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38173 (eval $ac_link) 2>conftest.er1
38175 grep -v '^ *+' conftest.er1
>conftest.err
38177 cat conftest.err
>&5
38178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38179 (exit $ac_status); } &&
38180 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38182 (eval $ac_try) 2>&5
38184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38185 (exit $ac_status); }; } &&
38186 { ac_try
='test -s conftest$ac_exeext'
38187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38188 (eval $ac_try) 2>&5
38190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38191 (exit $ac_status); }; }; then
38192 ac_cv_func_socket
=yes
38194 echo "$as_me: failed program was:" >&5
38195 sed 's/^/| /' conftest.
$ac_ext >&5
38197 ac_cv_func_socket
=no
38199 rm -f conftest.err conftest.
$ac_objext \
38200 conftest
$ac_exeext conftest.
$ac_ext
38202 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
38203 echo "${ECHO_T}$ac_cv_func_socket" >&6
38204 if test $ac_cv_func_socket = yes; then
38208 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
38209 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
38210 if test "${ac_cv_lib_socket_socket+set}" = set; then
38211 echo $ECHO_N "(cached) $ECHO_C" >&6
38213 ac_check_lib_save_LIBS
=$LIBS
38214 LIBS
="-lsocket $LIBS"
38215 cat >conftest.
$ac_ext <<_ACEOF
38218 cat confdefs.h
>>conftest.
$ac_ext
38219 cat >>conftest.
$ac_ext <<_ACEOF
38220 /* end confdefs.h. */
38222 /* Override any gcc2 internal prototype to avoid an error. */
38226 /* We use char because int might match the return type of a gcc2
38227 builtin and then its argument prototype would still apply. */
38237 rm -f conftest.
$ac_objext conftest
$ac_exeext
38238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38239 (eval $ac_link) 2>conftest.er1
38241 grep -v '^ *+' conftest.er1
>conftest.err
38243 cat conftest.err
>&5
38244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38245 (exit $ac_status); } &&
38246 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38248 (eval $ac_try) 2>&5
38250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38251 (exit $ac_status); }; } &&
38252 { ac_try
='test -s conftest$ac_exeext'
38253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38254 (eval $ac_try) 2>&5
38256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38257 (exit $ac_status); }; }; then
38258 ac_cv_lib_socket_socket
=yes
38260 echo "$as_me: failed program was:" >&5
38261 sed 's/^/| /' conftest.
$ac_ext >&5
38263 ac_cv_lib_socket_socket
=no
38265 rm -f conftest.err conftest.
$ac_objext \
38266 conftest
$ac_exeext conftest.
$ac_ext
38267 LIBS
=$ac_check_lib_save_LIBS
38269 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
38270 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
38271 if test $ac_cv_lib_socket_socket = yes; then
38272 if test "$INET_LINK" != " -lsocket"; then
38273 INET_LINK
="$INET_LINK -lsocket"
38277 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
38278 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
38291 if test "$wxUSE_SOCKETS" = "yes" ; then
38292 if test "$TOOLKIT" != "MSW"; then
38294 ac_cpp
='$CXXCPP $CPPFLAGS'
38295 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38296 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38297 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38299 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
38300 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
38301 if test "${wx_cv_type_getsockname3+set}" = set; then
38302 echo $ECHO_N "(cached) $ECHO_C" >&6
38305 cat >conftest.
$ac_ext <<_ACEOF
38308 cat confdefs.h
>>conftest.
$ac_ext
38309 cat >>conftest.
$ac_ext <<_ACEOF
38310 /* end confdefs.h. */
38312 #include <sys/types.h>
38313 #include <sys/socket.h>
38320 getsockname(0, 0, &len);
38326 rm -f conftest.
$ac_objext
38327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38328 (eval $ac_compile) 2>conftest.er1
38330 grep -v '^ *+' conftest.er1
>conftest.err
38332 cat conftest.err
>&5
38333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38334 (exit $ac_status); } &&
38335 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38337 (eval $ac_try) 2>&5
38339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38340 (exit $ac_status); }; } &&
38341 { ac_try
='test -s conftest.$ac_objext'
38342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38343 (eval $ac_try) 2>&5
38345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38346 (exit $ac_status); }; }; then
38347 wx_cv_type_getsockname3
=socklen_t
38349 echo "$as_me: failed program was:" >&5
38350 sed 's/^/| /' conftest.
$ac_ext >&5
38353 CFLAGS_OLD
="$CFLAGS"
38354 if test "$GCC" = yes ; then
38355 CFLAGS
="$CFLAGS -Werror"
38358 cat >conftest.
$ac_ext <<_ACEOF
38361 cat confdefs.h
>>conftest.
$ac_ext
38362 cat >>conftest.
$ac_ext <<_ACEOF
38363 /* end confdefs.h. */
38365 #include <sys/types.h>
38366 #include <sys/socket.h>
38373 getsockname(0, 0, &len);
38379 rm -f conftest.
$ac_objext
38380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38381 (eval $ac_compile) 2>conftest.er1
38383 grep -v '^ *+' conftest.er1
>conftest.err
38385 cat conftest.err
>&5
38386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38387 (exit $ac_status); } &&
38388 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38390 (eval $ac_try) 2>&5
38392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38393 (exit $ac_status); }; } &&
38394 { ac_try
='test -s conftest.$ac_objext'
38395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38396 (eval $ac_try) 2>&5
38398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38399 (exit $ac_status); }; }; then
38400 wx_cv_type_getsockname3
=size_t
38402 echo "$as_me: failed program was:" >&5
38403 sed 's/^/| /' conftest.
$ac_ext >&5
38405 cat >conftest.
$ac_ext <<_ACEOF
38408 cat confdefs.h
>>conftest.
$ac_ext
38409 cat >>conftest.
$ac_ext <<_ACEOF
38410 /* end confdefs.h. */
38412 #include <sys/types.h>
38413 #include <sys/socket.h>
38420 getsockname(0, 0, &len);
38426 rm -f conftest.
$ac_objext
38427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38428 (eval $ac_compile) 2>conftest.er1
38430 grep -v '^ *+' conftest.er1
>conftest.err
38432 cat conftest.err
>&5
38433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38434 (exit $ac_status); } &&
38435 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38437 (eval $ac_try) 2>&5
38439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38440 (exit $ac_status); }; } &&
38441 { ac_try
='test -s conftest.$ac_objext'
38442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38443 (eval $ac_try) 2>&5
38445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38446 (exit $ac_status); }; }; then
38447 wx_cv_type_getsockname3
=int
38449 echo "$as_me: failed program was:" >&5
38450 sed 's/^/| /' conftest.
$ac_ext >&5
38452 wx_cv_type_getsockname3
=unknown
38455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38458 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38460 CFLAGS
="$CFLAGS_OLD"
38464 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38467 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
38468 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
38470 if test "$wx_cv_type_getsockname3" = "unknown"; then
38472 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
38473 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
38475 cat >>confdefs.h
<<_ACEOF
38476 #define SOCKLEN_T $wx_cv_type_getsockname3
38480 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
38481 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
38482 if test "${wx_cv_type_getsockopt5+set}" = set; then
38483 echo $ECHO_N "(cached) $ECHO_C" >&6
38486 cat >conftest.
$ac_ext <<_ACEOF
38489 cat confdefs.h
>>conftest.
$ac_ext
38490 cat >>conftest.
$ac_ext <<_ACEOF
38491 /* end confdefs.h. */
38493 #include <sys/types.h>
38494 #include <sys/socket.h>
38501 getsockopt(0, 0, 0, 0, &len);
38507 rm -f conftest.
$ac_objext
38508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38509 (eval $ac_compile) 2>conftest.er1
38511 grep -v '^ *+' conftest.er1
>conftest.err
38513 cat conftest.err
>&5
38514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38515 (exit $ac_status); } &&
38516 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38518 (eval $ac_try) 2>&5
38520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38521 (exit $ac_status); }; } &&
38522 { ac_try
='test -s conftest.$ac_objext'
38523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38524 (eval $ac_try) 2>&5
38526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38527 (exit $ac_status); }; }; then
38528 wx_cv_type_getsockopt5
=socklen_t
38530 echo "$as_me: failed program was:" >&5
38531 sed 's/^/| /' conftest.
$ac_ext >&5
38534 CFLAGS_OLD
="$CFLAGS"
38535 if test "$GCC" = yes ; then
38536 CFLAGS
="$CFLAGS -Werror"
38539 cat >conftest.
$ac_ext <<_ACEOF
38542 cat confdefs.h
>>conftest.
$ac_ext
38543 cat >>conftest.
$ac_ext <<_ACEOF
38544 /* end confdefs.h. */
38546 #include <sys/types.h>
38547 #include <sys/socket.h>
38554 getsockopt(0, 0, 0, 0, &len);
38560 rm -f conftest.
$ac_objext
38561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38562 (eval $ac_compile) 2>conftest.er1
38564 grep -v '^ *+' conftest.er1
>conftest.err
38566 cat conftest.err
>&5
38567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38568 (exit $ac_status); } &&
38569 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38571 (eval $ac_try) 2>&5
38573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38574 (exit $ac_status); }; } &&
38575 { ac_try
='test -s conftest.$ac_objext'
38576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38577 (eval $ac_try) 2>&5
38579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38580 (exit $ac_status); }; }; then
38581 wx_cv_type_getsockopt5
=size_t
38583 echo "$as_me: failed program was:" >&5
38584 sed 's/^/| /' conftest.
$ac_ext >&5
38586 cat >conftest.
$ac_ext <<_ACEOF
38589 cat confdefs.h
>>conftest.
$ac_ext
38590 cat >>conftest.
$ac_ext <<_ACEOF
38591 /* end confdefs.h. */
38593 #include <sys/types.h>
38594 #include <sys/socket.h>
38601 getsockopt(0, 0, 0, 0, &len);
38607 rm -f conftest.
$ac_objext
38608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38609 (eval $ac_compile) 2>conftest.er1
38611 grep -v '^ *+' conftest.er1
>conftest.err
38613 cat conftest.err
>&5
38614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38615 (exit $ac_status); } &&
38616 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38618 (eval $ac_try) 2>&5
38620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38621 (exit $ac_status); }; } &&
38622 { ac_try
='test -s conftest.$ac_objext'
38623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38624 (eval $ac_try) 2>&5
38626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38627 (exit $ac_status); }; }; then
38628 wx_cv_type_getsockopt5
=int
38630 echo "$as_me: failed program was:" >&5
38631 sed 's/^/| /' conftest.
$ac_ext >&5
38633 wx_cv_type_getsockopt5
=unknown
38636 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38639 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38641 CFLAGS
="$CFLAGS_OLD"
38645 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38648 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
38649 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
38651 if test "$wx_cv_type_getsockopt5" = "unknown"; then
38653 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
38654 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
38656 cat >>confdefs.h
<<_ACEOF
38657 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
38662 ac_cpp
='$CPP $CPPFLAGS'
38663 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38664 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38665 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38670 if test "$wxUSE_SOCKETS" = "yes" ; then
38671 cat >>confdefs.h
<<\_ACEOF
38672 #define wxUSE_SOCKETS 1
38675 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
38678 if test "$wxUSE_PROTOCOL" = "yes"; then
38679 if test "$wxUSE_SOCKETS" != "yes"; then
38680 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
38681 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
38686 if test "$wxUSE_PROTOCOL" = "yes"; then
38687 cat >>confdefs.h
<<\_ACEOF
38688 #define wxUSE_PROTOCOL 1
38692 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
38693 cat >>confdefs.h
<<\_ACEOF
38694 #define wxUSE_PROTOCOL_HTTP 1
38698 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
38699 cat >>confdefs.h
<<\_ACEOF
38700 #define wxUSE_PROTOCOL_FTP 1
38704 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
38705 cat >>confdefs.h
<<\_ACEOF
38706 #define wxUSE_PROTOCOL_FILE 1
38711 if test "$wxUSE_FS_INET" = "yes"; then
38712 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
38713 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
38718 if test "$wxUSE_URL" = "yes"; then
38719 if test "$wxUSE_PROTOCOL" != "yes"; then
38720 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
38721 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
38724 if test "$wxUSE_URL" = "yes"; then
38725 cat >>confdefs.h
<<\_ACEOF
38726 #define wxUSE_URL 1
38732 if test "$wxUSE_FS_INET" = "yes"; then
38733 cat >>confdefs.h
<<\_ACEOF
38734 #define wxUSE_FS_INET 1
38740 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
38743 if test "$TOOLKIT" = "MSW"; then
38746 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
38747 if test "$USE_DARWIN" = 1; then
38748 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
38749 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
38751 ac_cpp
='$CXXCPP $CPPFLAGS'
38752 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38753 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38754 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38756 cat >conftest.
$ac_ext <<_ACEOF
38759 cat confdefs.h
>>conftest.
$ac_ext
38760 cat >>conftest.
$ac_ext <<_ACEOF
38761 /* end confdefs.h. */
38762 #include <IOKit/hid/IOHIDLib.h>
38766 IOHIDQueueInterface *qi = NULL;
38767 IOHIDCallbackFunction cb = NULL;
38768 qi->setEventCallout(NULL, cb, NULL, NULL);
38773 rm -f conftest.
$ac_objext
38774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38775 (eval $ac_compile) 2>conftest.er1
38777 grep -v '^ *+' conftest.er1
>conftest.err
38779 cat conftest.err
>&5
38780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38781 (exit $ac_status); } &&
38782 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38784 (eval $ac_try) 2>&5
38786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38787 (exit $ac_status); }; } &&
38788 { ac_try
='test -s conftest.$ac_objext'
38789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38790 (eval $ac_try) 2>&5
38792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38793 (exit $ac_status); }; }; then
38797 echo "$as_me: failed program was:" >&5
38798 sed 's/^/| /' conftest.
$ac_ext >&5
38801 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38803 ac_cpp
='$CPP $CPPFLAGS'
38804 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38805 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38806 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38808 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
38809 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
38814 for ac_header
in linux
/joystick.h
38816 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38817 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38818 echo "$as_me:$LINENO: checking for $ac_header" >&5
38819 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38821 echo $ECHO_N "(cached) $ECHO_C" >&6
38823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38824 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38826 # Is the header compilable?
38827 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38828 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38829 cat >conftest.
$ac_ext <<_ACEOF
38832 cat confdefs.h
>>conftest.
$ac_ext
38833 cat >>conftest.
$ac_ext <<_ACEOF
38834 /* end confdefs.h. */
38835 $ac_includes_default
38836 #include <$ac_header>
38838 rm -f conftest.
$ac_objext
38839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38840 (eval $ac_compile) 2>conftest.er1
38842 grep -v '^ *+' conftest.er1
>conftest.err
38844 cat conftest.err
>&5
38845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38846 (exit $ac_status); } &&
38847 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38849 (eval $ac_try) 2>&5
38851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38852 (exit $ac_status); }; } &&
38853 { ac_try
='test -s conftest.$ac_objext'
38854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38855 (eval $ac_try) 2>&5
38857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38858 (exit $ac_status); }; }; then
38859 ac_header_compiler
=yes
38861 echo "$as_me: failed program was:" >&5
38862 sed 's/^/| /' conftest.
$ac_ext >&5
38864 ac_header_compiler
=no
38866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38867 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38868 echo "${ECHO_T}$ac_header_compiler" >&6
38870 # Is the header present?
38871 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38872 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38873 cat >conftest.
$ac_ext <<_ACEOF
38876 cat confdefs.h
>>conftest.
$ac_ext
38877 cat >>conftest.
$ac_ext <<_ACEOF
38878 /* end confdefs.h. */
38879 #include <$ac_header>
38881 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38882 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38884 grep -v '^ *+' conftest.er1
>conftest.err
38886 cat conftest.err
>&5
38887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38888 (exit $ac_status); } >/dev
/null
; then
38889 if test -s conftest.err
; then
38890 ac_cpp_err
=$ac_c_preproc_warn_flag
38891 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
38898 if test -z "$ac_cpp_err"; then
38899 ac_header_preproc
=yes
38901 echo "$as_me: failed program was:" >&5
38902 sed 's/^/| /' conftest.
$ac_ext >&5
38904 ac_header_preproc
=no
38906 rm -f conftest.err conftest.
$ac_ext
38907 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38908 echo "${ECHO_T}$ac_header_preproc" >&6
38910 # So? What about this header?
38911 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38913 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38914 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38915 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38916 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38917 ac_header_preproc
=yes
38920 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38921 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38922 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38923 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38924 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38925 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38926 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38927 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38928 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38929 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38930 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38931 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38934 ## ----------------------------------------- ##
38935 ## Report this to wx-dev@lists.wxwidgets.org ##
38936 ## ----------------------------------------- ##
38939 sed "s/^/$as_me: WARNING: /" >&2
38942 echo "$as_me:$LINENO: checking for $ac_header" >&5
38943 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38944 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38945 echo $ECHO_N "(cached) $ECHO_C" >&6
38947 eval "$as_ac_Header=\$ac_header_preproc"
38949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38950 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38953 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38954 cat >>confdefs.h
<<_ACEOF
38955 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38964 if test "$wxUSE_JOYSTICK" = "yes"; then
38965 cat >>confdefs.h
<<\_ACEOF
38966 #define wxUSE_JOYSTICK 1
38969 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
38971 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
38972 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
38978 if test "$wxUSE_FONTMAP" = "yes" ; then
38979 cat >>confdefs.h
<<\_ACEOF
38980 #define wxUSE_FONTMAP 1
38985 if test "$wxUSE_UNICODE" = "yes" ; then
38986 cat >>confdefs.h
<<\_ACEOF
38987 #define wxUSE_UNICODE 1
38991 if test "$USE_WIN32" != 1; then
38992 wxUSE_UNICODE_MSLU
=no
38995 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
38996 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
38997 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
38998 if test "${ac_cv_lib_unicows_main+set}" = set; then
38999 echo $ECHO_N "(cached) $ECHO_C" >&6
39001 ac_check_lib_save_LIBS
=$LIBS
39002 LIBS
="-lunicows $LIBS"
39003 cat >conftest.
$ac_ext <<_ACEOF
39006 cat confdefs.h
>>conftest.
$ac_ext
39007 cat >>conftest.
$ac_ext <<_ACEOF
39008 /* end confdefs.h. */
39019 rm -f conftest.
$ac_objext conftest
$ac_exeext
39020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39021 (eval $ac_link) 2>conftest.er1
39023 grep -v '^ *+' conftest.er1
>conftest.err
39025 cat conftest.err
>&5
39026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39027 (exit $ac_status); } &&
39028 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39030 (eval $ac_try) 2>&5
39032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39033 (exit $ac_status); }; } &&
39034 { ac_try
='test -s conftest$ac_exeext'
39035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39036 (eval $ac_try) 2>&5
39038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39039 (exit $ac_status); }; }; then
39040 ac_cv_lib_unicows_main
=yes
39042 echo "$as_me: failed program was:" >&5
39043 sed 's/^/| /' conftest.
$ac_ext >&5
39045 ac_cv_lib_unicows_main
=no
39047 rm -f conftest.err conftest.
$ac_objext \
39048 conftest
$ac_exeext conftest.
$ac_ext
39049 LIBS
=$ac_check_lib_save_LIBS
39051 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
39052 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
39053 if test $ac_cv_lib_unicows_main = yes; then
39055 cat >>confdefs.h
<<\_ACEOF
39056 #define wxUSE_UNICODE_MSLU 1
39062 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
39063 Applications will only run on Windows NT/2000/XP!" >&5
39064 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
39065 Applications will only run on Windows NT/2000/XP!" >&2;}
39066 wxUSE_UNICODE_MSLU
=no
39073 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
39074 cat >>confdefs.h
<<\_ACEOF
39075 #define wxUSE_EXPERIMENTAL_PRINTF 1
39081 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
39082 cat >>confdefs.h
<<\_ACEOF
39083 #define wxUSE_POSTSCRIPT 1
39088 cat >>confdefs.h
<<\_ACEOF
39089 #define wxUSE_AFM_FOR_POSTSCRIPT 1
39093 cat >>confdefs.h
<<\_ACEOF
39094 #define wxUSE_NORMALIZED_PS_FONTS 1
39099 if test "$wxUSE_CONSTRAINTS" = "yes"; then
39100 cat >>confdefs.h
<<\_ACEOF
39101 #define wxUSE_CONSTRAINTS 1
39104 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
39107 if test "$wxUSE_MDI" = "yes"; then
39108 cat >>confdefs.h
<<\_ACEOF
39109 #define wxUSE_MDI 1
39113 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
39114 cat >>confdefs.h
<<\_ACEOF
39115 #define wxUSE_MDI_ARCHITECTURE 1
39118 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
39122 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
39123 cat >>confdefs.h
<<\_ACEOF
39124 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
39127 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
39128 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
39129 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
39133 if test "$wxUSE_HELP" = "yes"; then
39134 cat >>confdefs.h
<<\_ACEOF
39135 #define wxUSE_HELP 1
39138 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
39140 if test "$wxUSE_MSW" = 1; then
39141 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
39142 cat >>confdefs.h
<<\_ACEOF
39143 #define wxUSE_MS_HTML_HELP 1
39149 if test "$wxUSE_WXHTML_HELP" = "yes"; then
39150 if test "$wxUSE_HTML" = "yes"; then
39151 cat >>confdefs.h
<<\_ACEOF
39152 #define wxUSE_WXHTML_HELP 1
39156 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
39157 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
39158 wxUSE_WXHTML_HELP
=no
39163 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
39164 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39165 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
39166 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
39168 cat >>confdefs.h
<<\_ACEOF
39169 #define wxUSE_PRINTING_ARCHITECTURE 1
39173 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
39176 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
39177 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
39178 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
39179 { (exit 1); exit 1; }; }
39183 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
39184 -o "$wxUSE_CLIPBOARD" = "yes" \
39185 -o "$wxUSE_OLE" = "yes" \
39186 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
39188 for ac_header
in ole2.h
39190 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39192 echo "$as_me:$LINENO: checking for $ac_header" >&5
39193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39195 echo $ECHO_N "(cached) $ECHO_C" >&6
39197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39198 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39200 # Is the header compilable?
39201 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39202 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39203 cat >conftest.
$ac_ext <<_ACEOF
39206 cat confdefs.h
>>conftest.
$ac_ext
39207 cat >>conftest.
$ac_ext <<_ACEOF
39208 /* end confdefs.h. */
39209 $ac_includes_default
39210 #include <$ac_header>
39212 rm -f conftest.
$ac_objext
39213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39214 (eval $ac_compile) 2>conftest.er1
39216 grep -v '^ *+' conftest.er1
>conftest.err
39218 cat conftest.err
>&5
39219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39220 (exit $ac_status); } &&
39221 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39223 (eval $ac_try) 2>&5
39225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39226 (exit $ac_status); }; } &&
39227 { ac_try
='test -s conftest.$ac_objext'
39228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39229 (eval $ac_try) 2>&5
39231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39232 (exit $ac_status); }; }; then
39233 ac_header_compiler
=yes
39235 echo "$as_me: failed program was:" >&5
39236 sed 's/^/| /' conftest.
$ac_ext >&5
39238 ac_header_compiler
=no
39240 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39241 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39242 echo "${ECHO_T}$ac_header_compiler" >&6
39244 # Is the header present?
39245 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39246 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39247 cat >conftest.
$ac_ext <<_ACEOF
39250 cat confdefs.h
>>conftest.
$ac_ext
39251 cat >>conftest.
$ac_ext <<_ACEOF
39252 /* end confdefs.h. */
39253 #include <$ac_header>
39255 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39256 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39258 grep -v '^ *+' conftest.er1
>conftest.err
39260 cat conftest.err
>&5
39261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39262 (exit $ac_status); } >/dev
/null
; then
39263 if test -s conftest.err
; then
39264 ac_cpp_err
=$ac_c_preproc_warn_flag
39265 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
39272 if test -z "$ac_cpp_err"; then
39273 ac_header_preproc
=yes
39275 echo "$as_me: failed program was:" >&5
39276 sed 's/^/| /' conftest.
$ac_ext >&5
39278 ac_header_preproc
=no
39280 rm -f conftest.err conftest.
$ac_ext
39281 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39282 echo "${ECHO_T}$ac_header_preproc" >&6
39284 # So? What about this header?
39285 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39287 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39288 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39289 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39290 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39291 ac_header_preproc
=yes
39294 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39295 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39296 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39297 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39298 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39299 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39300 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39301 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39302 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39303 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39304 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39305 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39308 ## ----------------------------------------- ##
39309 ## Report this to wx-dev@lists.wxwidgets.org ##
39310 ## ----------------------------------------- ##
39313 sed "s/^/$as_me: WARNING: /" >&2
39316 echo "$as_me:$LINENO: checking for $ac_header" >&5
39317 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39318 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39319 echo $ECHO_N "(cached) $ECHO_C" >&6
39321 eval "$as_ac_Header=\$ac_header_preproc"
39323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39324 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39327 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39328 cat >>confdefs.h
<<_ACEOF
39329 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39337 if test "$ac_cv_header_ole2_h" = "yes" ; then
39338 if test "$GCC" = yes ; then
39342 ac_cpp
='$CXXCPP $CPPFLAGS'
39343 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39344 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39345 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39348 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
39349 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
39350 cat >conftest.
$ac_ext <<_ACEOF
39353 cat confdefs.h
>>conftest.
$ac_ext
39354 cat >>conftest.
$ac_ext <<_ACEOF
39355 /* end confdefs.h. */
39356 #include <windows.h>
39366 rm -f conftest.
$ac_objext
39367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39368 (eval $ac_compile) 2>conftest.er1
39370 grep -v '^ *+' conftest.er1
>conftest.err
39372 cat conftest.err
>&5
39373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39374 (exit $ac_status); } &&
39375 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39377 (eval $ac_try) 2>&5
39379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39380 (exit $ac_status); }; } &&
39381 { ac_try
='test -s conftest.$ac_objext'
39382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39383 (eval $ac_try) 2>&5
39385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39386 (exit $ac_status); }; }; then
39387 echo "$as_me:$LINENO: result: no" >&5
39388 echo "${ECHO_T}no" >&6
39390 echo "$as_me: failed program was:" >&5
39391 sed 's/^/| /' conftest.
$ac_ext >&5
39393 echo "$as_me:$LINENO: result: yes" >&5
39394 echo "${ECHO_T}yes" >&6
39395 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
39397 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39399 ac_cpp
='$CPP $CPPFLAGS'
39400 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39401 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39402 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39404 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
39405 if test "$wxUSE_OLE" = "yes" ; then
39406 cat >>confdefs.h
<<\_ACEOF
39407 #define wxUSE_OLE 1
39410 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
39414 if test "$wxUSE_DATAOBJ" = "yes" ; then
39415 cat >>confdefs.h
<<\_ACEOF
39416 #define wxUSE_DATAOBJ 1
39421 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
39422 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
39425 wxUSE_DRAG_AND_DROP
=no
39430 if test "$wxUSE_METAFILE" = "yes"; then
39431 cat >>confdefs.h
<<\_ACEOF
39432 #define wxUSE_METAFILE 1
39436 cat >>confdefs.h
<<\_ACEOF
39437 #define wxUSE_ENH_METAFILE 1
39443 if test "$wxUSE_IPC" = "yes"; then
39444 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
39445 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
39446 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
39450 if test "$wxUSE_IPC" = "yes"; then
39451 cat >>confdefs.h
<<\_ACEOF
39452 #define wxUSE_IPC 1
39455 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
39459 if test "$wxUSE_CLIPBOARD" = "yes"; then
39460 if test "$wxUSE_MGL" = 1; then
39461 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
39462 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
39466 if test "$wxUSE_CLIPBOARD" = "yes"; then
39467 cat >>confdefs.h
<<\_ACEOF
39468 #define wxUSE_CLIPBOARD 1
39472 cat >>confdefs.h
<<\_ACEOF
39473 #define wxUSE_DATAOBJ 1
39479 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
39480 if test "$wxUSE_GTK" = 1; then
39481 if test "$WXGTK12" != 1; then
39482 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
39483 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
39484 wxUSE_DRAG_AND_DROP
=no
39488 if test "$wxUSE_MOTIF" = 1; then
39489 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
39490 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
39491 wxUSE_DRAG_AND_DROP
=no
39494 if test "$wxUSE_X11" = 1; then
39495 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
39496 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
39497 wxUSE_DRAG_AND_DROP
=no
39500 if test "$wxUSE_MGL" = 1; then
39501 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
39502 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
39503 wxUSE_DRAG_AND_DROP
=no
39506 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
39507 cat >>confdefs.h
<<\_ACEOF
39508 #define wxUSE_DRAG_AND_DROP 1
39515 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
39516 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
39519 if test "$wxUSE_SPLINES" = "yes" ; then
39520 cat >>confdefs.h
<<\_ACEOF
39521 #define wxUSE_SPLINES 1
39526 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
39527 cat >>confdefs.h
<<\_ACEOF
39528 #define wxUSE_MOUSEWHEEL 1
39535 if test "$wxUSE_CONTROLS" = "yes"; then
39539 if test "$wxUSE_ACCEL" = "yes"; then
39540 cat >>confdefs.h
<<\_ACEOF
39541 #define wxUSE_ACCEL 1
39547 if test "$wxUSE_BUTTON" = "yes"; then
39548 cat >>confdefs.h
<<\_ACEOF
39549 #define wxUSE_BUTTON 1
39555 if test "$wxUSE_BMPBUTTON" = "yes"; then
39556 cat >>confdefs.h
<<\_ACEOF
39557 #define wxUSE_BMPBUTTON 1
39563 if test "$wxUSE_CALCTRL" = "yes"; then
39564 cat >>confdefs.h
<<\_ACEOF
39565 #define wxUSE_CALENDARCTRL 1
39569 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
39572 if test "$wxUSE_CARET" = "yes"; then
39573 cat >>confdefs.h
<<\_ACEOF
39574 #define wxUSE_CARET 1
39578 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
39581 if test "$wxUSE_COMBOBOX" = "yes"; then
39582 cat >>confdefs.h
<<\_ACEOF
39583 #define wxUSE_COMBOBOX 1
39589 if test "$wxUSE_CHOICE" = "yes"; then
39590 cat >>confdefs.h
<<\_ACEOF
39591 #define wxUSE_CHOICE 1
39597 if test "$wxUSE_CHOICEBOOK" = "yes"; then
39598 cat >>confdefs.h
<<\_ACEOF
39599 #define wxUSE_CHOICEBOOK 1
39605 if test "$wxUSE_CHECKBOX" = "yes"; then
39606 cat >>confdefs.h
<<\_ACEOF
39607 #define wxUSE_CHECKBOX 1
39613 if test "$wxUSE_CHECKLST" = "yes"; then
39614 cat >>confdefs.h
<<\_ACEOF
39615 #define wxUSE_CHECKLISTBOX 1
39619 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
39622 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
39623 cat >>confdefs.h
<<\_ACEOF
39624 #define wxUSE_DATEPICKCTRL 1
39630 if test "$wxUSE_DISPLAY" = "yes"; then
39631 cat >>confdefs.h
<<\_ACEOF
39632 #define wxUSE_DISPLAY 1
39635 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
39638 if test "$wxUSE_GAUGE" = "yes"; then
39639 cat >>confdefs.h
<<\_ACEOF
39640 #define wxUSE_GAUGE 1
39646 if test "$wxUSE_GRID" = "yes"; then
39647 cat >>confdefs.h
<<\_ACEOF
39648 #define wxUSE_GRID 1
39652 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
39655 if test "$wxUSE_IMAGLIST" = "yes"; then
39656 cat >>confdefs.h
<<\_ACEOF
39657 #define wxUSE_IMAGLIST 1
39662 if test "$wxUSE_LISTBOOK" = "yes"; then
39663 cat >>confdefs.h
<<\_ACEOF
39664 #define wxUSE_LISTBOOK 1
39670 if test "$wxUSE_LISTBOX" = "yes"; then
39671 cat >>confdefs.h
<<\_ACEOF
39672 #define wxUSE_LISTBOX 1
39676 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
39679 if test "$wxUSE_LISTCTRL" = "yes"; then
39680 if test "$wxUSE_IMAGLIST" = "yes"; then
39681 cat >>confdefs.h
<<\_ACEOF
39682 #define wxUSE_LISTCTRL 1
39686 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
39688 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
39689 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
39693 if test "$wxUSE_NOTEBOOK" = "yes"; then
39694 cat >>confdefs.h
<<\_ACEOF
39695 #define wxUSE_NOTEBOOK 1
39699 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
39703 if test "$wxUSE_RADIOBOX" = "yes"; then
39704 cat >>confdefs.h
<<\_ACEOF
39705 #define wxUSE_RADIOBOX 1
39711 if test "$wxUSE_RADIOBTN" = "yes"; then
39712 cat >>confdefs.h
<<\_ACEOF
39713 #define wxUSE_RADIOBTN 1
39719 if test "$wxUSE_SASH" = "yes"; then
39720 cat >>confdefs.h
<<\_ACEOF
39721 #define wxUSE_SASH 1
39724 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
39727 if test "$wxUSE_SCROLLBAR" = "yes"; then
39728 cat >>confdefs.h
<<\_ACEOF
39729 #define wxUSE_SCROLLBAR 1
39733 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
39736 if test "$wxUSE_SLIDER" = "yes"; then
39737 cat >>confdefs.h
<<\_ACEOF
39738 #define wxUSE_SLIDER 1
39744 if test "$wxUSE_SPINBTN" = "yes"; then
39745 cat >>confdefs.h
<<\_ACEOF
39746 #define wxUSE_SPINBTN 1
39752 if test "$wxUSE_SPINCTRL" = "yes"; then
39753 cat >>confdefs.h
<<\_ACEOF
39754 #define wxUSE_SPINCTRL 1
39760 if test "$wxUSE_SPLITTER" = "yes"; then
39761 cat >>confdefs.h
<<\_ACEOF
39762 #define wxUSE_SPLITTER 1
39765 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
39768 if test "$wxUSE_STATBMP" = "yes"; then
39769 cat >>confdefs.h
<<\_ACEOF
39770 #define wxUSE_STATBMP 1
39776 if test "$wxUSE_STATBOX" = "yes"; then
39777 cat >>confdefs.h
<<\_ACEOF
39778 #define wxUSE_STATBOX 1
39784 if test "$wxUSE_STATTEXT" = "yes"; then
39785 cat >>confdefs.h
<<\_ACEOF
39786 #define wxUSE_STATTEXT 1
39792 if test "$wxUSE_STATLINE" = "yes"; then
39793 cat >>confdefs.h
<<\_ACEOF
39794 #define wxUSE_STATLINE 1
39800 if test "$wxUSE_STATUSBAR" = "yes"; then
39801 cat >>confdefs.h
<<\_ACEOF
39802 #define wxUSE_NATIVE_STATUSBAR 1
39805 cat >>confdefs.h
<<\_ACEOF
39806 #define wxUSE_STATUSBAR 1
39811 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
39814 if test "$wxUSE_TABDIALOG" = "yes"; then
39815 cat >>confdefs.h
<<\_ACEOF
39816 #define wxUSE_TAB_DIALOG 1
39821 if test "$wxUSE_TEXTCTRL" = "yes"; then
39822 cat >>confdefs.h
<<\_ACEOF
39823 #define wxUSE_TEXTCTRL 1
39827 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
39830 if test "$wxUSE_TOGGLEBTN" = "yes"; then
39831 if test "$wxUSE_COCOA" = 1 ; then
39832 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
39833 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
39836 if test "$wxUSE_UNIVERSAL" = "yes"; then
39837 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
39838 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
39842 if test "$wxUSE_TOGGLEBTN" = "yes"; then
39843 cat >>confdefs.h
<<\_ACEOF
39844 #define wxUSE_TOGGLEBTN 1
39851 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
39852 cat >>confdefs.h
<<\_ACEOF
39853 #define wxUSE_TOOLBAR_SIMPLE 1
39856 wxUSE_TOOLBAR
="yes"
39860 if test "$wxUSE_TOOLBAR" = "yes"; then
39861 cat >>confdefs.h
<<\_ACEOF
39862 #define wxUSE_TOOLBAR 1
39867 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
39868 wxUSE_TOOLBAR_NATIVE
="yes"
39871 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
39872 cat >>confdefs.h
<<\_ACEOF
39873 #define wxUSE_TOOLBAR_NATIVE 1
39879 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
39882 if test "$wxUSE_TOOLTIPS" = "yes"; then
39883 if test "$wxUSE_MOTIF" = 1; then
39884 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
39885 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
39887 if test "$wxUSE_UNIVERSAL" = "yes"; then
39888 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
39889 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
39891 cat >>confdefs.h
<<\_ACEOF
39892 #define wxUSE_TOOLTIPS 1
39899 if test "$wxUSE_TREECTRL" = "yes"; then
39900 if test "$wxUSE_IMAGLIST" = "yes"; then
39901 cat >>confdefs.h
<<\_ACEOF
39902 #define wxUSE_TREECTRL 1
39906 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
39908 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
39909 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
39913 if test "$wxUSE_POPUPWIN" = "yes"; then
39914 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
39915 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
39916 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
39918 if test "$wxUSE_PM" = 1; then
39919 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
39920 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
39922 cat >>confdefs.h
<<\_ACEOF
39923 #define wxUSE_POPUPWIN 1
39926 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
39933 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
39934 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
39935 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
39936 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
39938 cat >>confdefs.h
<<\_ACEOF
39939 #define wxUSE_DIALUP_MANAGER 1
39942 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
39946 if test "$wxUSE_TIPWINDOW" = "yes"; then
39947 if test "$wxUSE_PM" = 1; then
39948 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
39949 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
39951 cat >>confdefs.h
<<\_ACEOF
39952 #define wxUSE_TIPWINDOW 1
39958 if test "$USES_CONTROLS" = 1; then
39959 cat >>confdefs.h
<<\_ACEOF
39960 #define wxUSE_CONTROLS 1
39966 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
39967 cat >>confdefs.h
<<\_ACEOF
39968 #define wxUSE_ACCESSIBILITY 1
39971 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
39974 if test "$wxUSE_DRAGIMAGE" = "yes"; then
39975 cat >>confdefs.h
<<\_ACEOF
39976 #define wxUSE_DRAGIMAGE 1
39979 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
39982 if test "$wxUSE_EXCEPTIONS" = "yes"; then
39983 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
39984 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
39985 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
39987 cat >>confdefs.h
<<\_ACEOF
39988 #define wxUSE_EXCEPTIONS 1
39991 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
39996 if test "$wxUSE_HTML" = "yes"; then
39997 cat >>confdefs.h
<<\_ACEOF
39998 #define wxUSE_HTML 1
40002 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
40003 if test "$wxUSE_MAC" = 1; then
40004 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
40007 if test "$wxUSE_WEBKIT" = "yes"; then
40008 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
40009 old_CPPFLAGS
="$CPPFLAGS"
40010 CPPFLAGS
="$CPPFLAGS -x objective-c++"
40011 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
40012 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
40013 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
40014 echo $ECHO_N "(cached) $ECHO_C" >&6
40016 cat >conftest.
$ac_ext <<_ACEOF
40019 cat confdefs.h
>>conftest.
$ac_ext
40020 cat >>conftest.
$ac_ext <<_ACEOF
40021 /* end confdefs.h. */
40022 #include <Carbon/Carbon.h>
40024 #include <WebKit/HIWebView.h>
40026 rm -f conftest.
$ac_objext
40027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40028 (eval $ac_compile) 2>conftest.er1
40030 grep -v '^ *+' conftest.er1
>conftest.err
40032 cat conftest.err
>&5
40033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40034 (exit $ac_status); } &&
40035 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40037 (eval $ac_try) 2>&5
40039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40040 (exit $ac_status); }; } &&
40041 { ac_try
='test -s conftest.$ac_objext'
40042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40043 (eval $ac_try) 2>&5
40045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40046 (exit $ac_status); }; }; then
40047 ac_cv_header_WebKit_HIWebView_h
=yes
40049 echo "$as_me: failed program was:" >&5
40050 sed 's/^/| /' conftest.
$ac_ext >&5
40052 ac_cv_header_WebKit_HIWebView_h
=no
40054 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40056 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
40057 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
40058 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
40060 cat >>confdefs.h
<<\_ACEOF
40061 #define wxUSE_WEBKIT 1
40064 WEBKIT_LINK
="-framework WebKit"
40068 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
40069 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
40075 CPPFLAGS
="$old_CPPFLAGS"
40076 elif test "$wxUSE_COCOA" = 1; then
40077 cat >>confdefs.h
<<\_ACEOF
40078 #define wxUSE_WEBKIT 1
40087 if test "$wxUSE_XRC" = "yes"; then
40088 if test "$wxUSE_XML" != "yes"; then
40089 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
40090 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
40093 cat >>confdefs.h
<<\_ACEOF
40094 #define wxUSE_XRC 1
40098 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
40102 if test "$wxUSE_MENUS" = "yes"; then
40103 cat >>confdefs.h
<<\_ACEOF
40104 #define wxUSE_MENUS 1
40107 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
40110 if test "$wxUSE_METAFILE" = "yes"; then
40111 cat >>confdefs.h
<<\_ACEOF
40112 #define wxUSE_METAFILE 1
40117 if test "$wxUSE_MIMETYPE" = "yes"; then
40118 cat >>confdefs.h
<<\_ACEOF
40119 #define wxUSE_MIMETYPE 1
40124 if test "$wxUSE_MINIFRAME" = "yes"; then
40125 cat >>confdefs.h
<<\_ACEOF
40126 #define wxUSE_MINIFRAME 1
40129 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
40132 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
40133 cat >>confdefs.h
<<\_ACEOF
40134 #define wxUSE_SYSTEM_OPTIONS 1
40137 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
40138 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
40139 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
40144 if test "$wxUSE_VALIDATORS" = "yes"; then
40145 cat >>confdefs.h
<<\_ACEOF
40146 #define wxUSE_VALIDATORS 1
40149 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
40152 if test "$wxUSE_PALETTE" = "yes" ; then
40153 cat >>confdefs.h
<<\_ACEOF
40154 #define wxUSE_PALETTE 1
40159 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
40160 LIBS
=" -lunicows $LIBS"
40164 if test "$wxUSE_IMAGE" = "yes" ; then
40165 cat >>confdefs.h
<<\_ACEOF
40166 #define wxUSE_IMAGE 1
40170 if test "$wxUSE_GIF" = "yes" ; then
40171 cat >>confdefs.h
<<\_ACEOF
40172 #define wxUSE_GIF 1
40177 if test "$wxUSE_PCX" = "yes" ; then
40178 cat >>confdefs.h
<<\_ACEOF
40179 #define wxUSE_PCX 1
40184 if test "$wxUSE_IFF" = "yes" ; then
40185 cat >>confdefs.h
<<\_ACEOF
40186 #define wxUSE_IFF 1
40191 if test "$wxUSE_PNM" = "yes" ; then
40192 cat >>confdefs.h
<<\_ACEOF
40193 #define wxUSE_PNM 1
40198 if test "$wxUSE_XPM" = "yes" ; then
40199 cat >>confdefs.h
<<\_ACEOF
40200 #define wxUSE_XPM 1
40205 if test "$wxUSE_ICO_CUR" = "yes" ; then
40206 cat >>confdefs.h
<<\_ACEOF
40207 #define wxUSE_ICO_CUR 1
40214 if test "$wxUSE_CHOICEDLG" = "yes"; then
40215 cat >>confdefs.h
<<\_ACEOF
40216 #define wxUSE_CHOICEDLG 1
40221 if test "$wxUSE_COLOURDLG" = "yes"; then
40222 cat >>confdefs.h
<<\_ACEOF
40223 #define wxUSE_COLOURDLG 1
40228 if test "$wxUSE_FILEDLG" = "yes"; then
40229 cat >>confdefs.h
<<\_ACEOF
40230 #define wxUSE_FILEDLG 1
40235 if test "$wxUSE_FINDREPLDLG" = "yes"; then
40236 cat >>confdefs.h
<<\_ACEOF
40237 #define wxUSE_FINDREPLDLG 1
40242 if test "$wxUSE_FONTDLG" = "yes"; then
40243 cat >>confdefs.h
<<\_ACEOF
40244 #define wxUSE_FONTDLG 1
40249 if test "$wxUSE_DIRDLG" = "yes"; then
40250 if test "$wxUSE_TREECTRL" != "yes"; then
40251 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
40252 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
40254 cat >>confdefs.h
<<\_ACEOF
40255 #define wxUSE_DIRDLG 1
40261 if test "$wxUSE_MSGDLG" = "yes"; then
40262 cat >>confdefs.h
<<\_ACEOF
40263 #define wxUSE_MSGDLG 1
40268 if test "$wxUSE_NUMBERDLG" = "yes"; then
40269 cat >>confdefs.h
<<\_ACEOF
40270 #define wxUSE_NUMBERDLG 1
40275 if test "$wxUSE_PROGRESSDLG" = "yes"; then
40276 if test "$wxUSE_CONSTRAINTS" != "yes"; then
40277 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
40278 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
40280 cat >>confdefs.h
<<\_ACEOF
40281 #define wxUSE_PROGRESSDLG 1
40287 if test "$wxUSE_SPLASH" = "yes"; then
40288 cat >>confdefs.h
<<\_ACEOF
40289 #define wxUSE_SPLASH 1
40292 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
40295 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
40296 if test "$wxUSE_CONSTRAINTS" != "yes"; then
40297 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
40298 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
40300 cat >>confdefs.h
<<\_ACEOF
40301 #define wxUSE_STARTUP_TIPS 1
40307 if test "$wxUSE_TEXTDLG" = "yes"; then
40308 cat >>confdefs.h
<<\_ACEOF
40309 #define wxUSE_TEXTDLG 1
40314 if test "$wxUSE_WIZARDDLG" = "yes"; then
40315 cat >>confdefs.h
<<\_ACEOF
40316 #define wxUSE_WIZARDDLG 1
40319 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
40323 if test "$wxUSE_MEDIACTRL" = "yes"; then
40324 if test "$wxUSE_GTK" = 1; then
40325 wxUSE_GSTREAMER
="yes"
40330 if test -z "$PKG_CONFIG"; then
40331 # Extract the first word of "pkg-config", so it can be a program name with args.
40332 set dummy pkg
-config; ac_word
=$2
40333 echo "$as_me:$LINENO: checking for $ac_word" >&5
40334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40335 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40336 echo $ECHO_N "(cached) $ECHO_C" >&6
40338 case $PKG_CONFIG in
40340 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
40343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40344 for as_dir
in $PATH
40347 test -z "$as_dir" && as_dir
=.
40348 for ac_exec_ext
in '' $ac_executable_extensions; do
40349 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40350 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40357 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
40361 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
40363 if test -n "$PKG_CONFIG"; then
40364 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
40365 echo "${ECHO_T}$PKG_CONFIG" >&6
40367 echo "$as_me:$LINENO: result: no" >&5
40368 echo "${ECHO_T}no" >&6
40373 if test "$PKG_CONFIG" = "no" ; then
40374 echo "*** The pkg-config script could not be found. Make sure it is"
40375 echo "*** in your path, or set the PKG_CONFIG environment variable"
40376 echo "*** to the full path to pkg-config."
40377 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
40379 PKG_CONFIG_MIN_VERSION
=0.9.0
40380 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
40381 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
40382 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
40384 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
40385 echo "$as_me:$LINENO: result: yes" >&5
40386 echo "${ECHO_T}yes" >&6
40389 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
40390 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
40391 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-0.8"`
40392 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
40393 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
40395 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
40396 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
40397 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-0.8"`
40398 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
40399 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
40401 GSTREAMER_CFLAGS
=""
40403 ## If we have a custom action on failure, don't print errors, but
40404 ## do set a variable so people can do so.
40405 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
40412 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
40413 echo "*** See http://www.freedesktop.org/software/pkgconfig"
40417 if test $succeeded = yes; then
40419 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
40420 LIBS
="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
40424 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
40425 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
40426 wxUSE_GSTREAMER
="no"
40434 if test "x$GST_INSPECT" == "x"; then
40435 # Extract the first word of "gst-inspect", so it can be a program name with args.
40436 set dummy gst
-inspect; ac_word
=$2
40437 echo "$as_me:$LINENO: checking for $ac_word" >&5
40438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40439 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
40440 echo $ECHO_N "(cached) $ECHO_C" >&6
40442 if test -n "$GST_INSPECT"; then
40443 ac_cv_prog_GST_INSPECT
="$GST_INSPECT" # Let the user override the test.
40445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40446 for as_dir
in $PATH
40449 test -z "$as_dir" && as_dir
=.
40450 for ac_exec_ext
in '' $ac_executable_extensions; do
40451 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40452 ac_cv_prog_GST_INSPECT
="gst-inspect"
40453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40461 GST_INSPECT
=$ac_cv_prog_GST_INSPECT
40462 if test -n "$GST_INSPECT"; then
40463 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
40464 echo "${ECHO_T}$GST_INSPECT" >&6
40466 echo "$as_me:$LINENO: result: no" >&5
40467 echo "${ECHO_T}no" >&6
40472 if test "x$GST_INSPECT" != "x"; then
40473 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
40474 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
40475 if $GST_INSPECT xvimagesink
> /dev
/null
2> /dev
/null
; then
40476 echo "$as_me:$LINENO: result: found." >&5
40477 echo "${ECHO_T}found." >&6
40480 echo "$as_me:$LINENO: result: not found." >&5
40481 echo "${ECHO_T}not found." >&6
40483 wxUSE_GSTREAMER
="no"
40484 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
40485 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
40491 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
40492 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
40493 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
40494 echo $ECHO_N "(cached) $ECHO_C" >&6
40496 cat >conftest.
$ac_ext <<_ACEOF
40499 cat confdefs.h
>>conftest.
$ac_ext
40500 cat >>conftest.
$ac_ext <<_ACEOF
40501 /* end confdefs.h. */
40502 #include <gst/gst.h>
40504 #include <gst/xoverlay/xoverlay.h>
40506 rm -f conftest.
$ac_objext
40507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40508 (eval $ac_compile) 2>conftest.er1
40510 grep -v '^ *+' conftest.er1
>conftest.err
40512 cat conftest.err
>&5
40513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40514 (exit $ac_status); } &&
40515 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40517 (eval $ac_try) 2>&5
40519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40520 (exit $ac_status); }; } &&
40521 { ac_try
='test -s conftest.$ac_objext'
40522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40523 (eval $ac_try) 2>&5
40525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40526 (exit $ac_status); }; }; then
40527 ac_cv_header_gst_xoverlay_xoverlay_h
=yes
40529 echo "$as_me: failed program was:" >&5
40530 sed 's/^/| /' conftest.
$ac_ext >&5
40532 ac_cv_header_gst_xoverlay_xoverlay_h
=no
40534 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40536 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
40537 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
40538 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
40542 wxUSE_GSTREAMER
="no"
40543 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
40544 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
40550 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
40551 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
40554 for ac_dir
in $SEARCH_LIB /usr
/lib
;
40556 for ac_extension
in a so sl dylib
; do
40557 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
40558 ac_find_libraries
=$ac_dir
40565 if test "$ac_find_libraries" = "" ; then
40566 echo "$as_me:$LINENO: result: no" >&5
40567 echo "${ECHO_T}no" >&6
40568 wxUSE_GSTREAMER
="no"
40570 echo "$as_me:$LINENO: result: yes" >&5
40571 echo "${ECHO_T}yes" >&6
40574 if test "$wxUSE_GSTREAMER" = "yes"; then
40575 cat >>confdefs.h
<<\_ACEOF
40576 #define wxUSE_GSTREAMER 1
40579 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
40580 echo "${ECHO_T}GStreamer detection successful" >&6
40583 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
40584 cat >>confdefs.h
<<\_ACEOF
40585 #define wxUSE_MEDIACTRL 1
40591 if test "$cross_compiling" = "yes"; then
40594 OSINFO
=`uname -s -r -m`
40595 OSINFO
="\"$OSINFO\""
40598 cat >>confdefs.h
<<_ACEOF
40599 #define WXWIN_OS_DESCRIPTION $OSINFO
40604 if test "x$prefix" != "xNONE"; then
40607 wxPREFIX
=$ac_default_prefix
40610 cat >>confdefs.h
<<_ACEOF
40611 #define wxINSTALL_PREFIX "$wxPREFIX"
40617 CORE_BASE_LIBS
="net base"
40618 CORE_GUI_LIBS
="adv core"
40620 if test "$wxUSE_XML" = "yes" ; then
40621 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
40623 if test "$wxUSE_ODBC" != "no" ; then
40624 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
40625 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
40627 if test "$wxUSE_HTML" = "yes" ; then
40628 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
40630 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
40631 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
40633 if test "$wxUSE_XRC" = "yes" ; then
40634 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
40637 if test "$wxUSE_GUI" != "yes"; then
40648 if test "$wxUSE_MAC" = 1 ; then
40649 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
40650 if test "$USE_DARWIN" = 1; then
40651 LDFLAGS
="$LDFLAGS -framework QuickTime"
40653 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
40656 if test "$USE_DARWIN" = 1; then
40657 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
40659 LDFLAGS
="$LDFLAGS -lCarbonLib"
40662 if test "$wxUSE_COCOA" = 1 ; then
40663 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
40664 if test "$wxUSE_MEDIACTRL" = "yes"; then
40665 LDFLAGS
="$LDFLAGS -framework QuickTime"
40668 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
40669 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
40673 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
40680 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40681 echo "$as_me:$LINENO: checking for $ac_func" >&5
40682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40683 if eval "test \"\${$as_ac_var+set}\" = set"; then
40684 echo $ECHO_N "(cached) $ECHO_C" >&6
40686 cat >conftest.
$ac_ext <<_ACEOF
40689 cat confdefs.h
>>conftest.
$ac_ext
40690 cat >>conftest.
$ac_ext <<_ACEOF
40691 /* end confdefs.h. */
40692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40694 #define $ac_func innocuous_$ac_func
40696 /* System header to define __stub macros and hopefully few prototypes,
40697 which can conflict with char $ac_func (); below.
40698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40699 <limits.h> exists even on freestanding compilers. */
40702 # include <limits.h>
40704 # include <assert.h>
40709 /* Override any gcc2 internal prototype to avoid an error. */
40714 /* We use char because int might match the return type of a gcc2
40715 builtin and then its argument prototype would still apply. */
40717 /* The GNU C library defines this for functions which it implements
40718 to always fail with ENOSYS. Some functions are actually named
40719 something starting with __ and the normal name is an alias. */
40720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40723 char (*f) () = $ac_func;
40732 return f != $ac_func;
40737 rm -f conftest.
$ac_objext conftest
$ac_exeext
40738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40739 (eval $ac_link) 2>conftest.er1
40741 grep -v '^ *+' conftest.er1
>conftest.err
40743 cat conftest.err
>&5
40744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40745 (exit $ac_status); } &&
40746 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40748 (eval $ac_try) 2>&5
40750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40751 (exit $ac_status); }; } &&
40752 { ac_try
='test -s conftest$ac_exeext'
40753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40754 (eval $ac_try) 2>&5
40756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40757 (exit $ac_status); }; }; then
40758 eval "$as_ac_var=yes"
40760 echo "$as_me: failed program was:" >&5
40761 sed 's/^/| /' conftest.
$ac_ext >&5
40763 eval "$as_ac_var=no"
40765 rm -f conftest.err conftest.
$ac_objext \
40766 conftest
$ac_exeext conftest.
$ac_ext
40768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40770 if test `eval echo '${'$as_ac_var'}'` = yes; then
40771 cat >>confdefs.h
<<_ACEOF
40772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40779 for ac_func
in floor
40781 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40782 echo "$as_me:$LINENO: checking for $ac_func" >&5
40783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40784 if eval "test \"\${$as_ac_var+set}\" = set"; then
40785 echo $ECHO_N "(cached) $ECHO_C" >&6
40787 cat >conftest.
$ac_ext <<_ACEOF
40790 cat confdefs.h
>>conftest.
$ac_ext
40791 cat >>conftest.
$ac_ext <<_ACEOF
40792 /* end confdefs.h. */
40793 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40795 #define $ac_func innocuous_$ac_func
40797 /* System header to define __stub macros and hopefully few prototypes,
40798 which can conflict with char $ac_func (); below.
40799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40800 <limits.h> exists even on freestanding compilers. */
40803 # include <limits.h>
40805 # include <assert.h>
40810 /* Override any gcc2 internal prototype to avoid an error. */
40815 /* We use char because int might match the return type of a gcc2
40816 builtin and then its argument prototype would still apply. */
40818 /* The GNU C library defines this for functions which it implements
40819 to always fail with ENOSYS. Some functions are actually named
40820 something starting with __ and the normal name is an alias. */
40821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40824 char (*f) () = $ac_func;
40833 return f != $ac_func;
40838 rm -f conftest.
$ac_objext conftest
$ac_exeext
40839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40840 (eval $ac_link) 2>conftest.er1
40842 grep -v '^ *+' conftest.er1
>conftest.err
40844 cat conftest.err
>&5
40845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40846 (exit $ac_status); } &&
40847 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40849 (eval $ac_try) 2>&5
40851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40852 (exit $ac_status); }; } &&
40853 { ac_try
='test -s conftest$ac_exeext'
40854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40855 (eval $ac_try) 2>&5
40857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40858 (exit $ac_status); }; }; then
40859 eval "$as_ac_var=yes"
40861 echo "$as_me: failed program was:" >&5
40862 sed 's/^/| /' conftest.
$ac_ext >&5
40864 eval "$as_ac_var=no"
40866 rm -f conftest.err conftest.
$ac_objext \
40867 conftest
$ac_exeext conftest.
$ac_ext
40869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40871 if test `eval echo '${'$as_ac_var'}'` = yes; then
40872 cat >>confdefs.h
<<_ACEOF
40873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40879 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
40880 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
40881 if test "$have_cos" = 1 -a "$have_floor" = 1; then
40882 echo "$as_me:$LINENO: result: yes" >&5
40883 echo "${ECHO_T}yes" >&6
40885 echo "$as_me:$LINENO: result: no" >&5
40886 echo "${ECHO_T}no" >&6
40888 # use different functions to avoid configure caching
40894 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40895 echo "$as_me:$LINENO: checking for $ac_func" >&5
40896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40897 if eval "test \"\${$as_ac_var+set}\" = set"; then
40898 echo $ECHO_N "(cached) $ECHO_C" >&6
40900 cat >conftest.
$ac_ext <<_ACEOF
40903 cat confdefs.h
>>conftest.
$ac_ext
40904 cat >>conftest.
$ac_ext <<_ACEOF
40905 /* end confdefs.h. */
40906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40908 #define $ac_func innocuous_$ac_func
40910 /* System header to define __stub macros and hopefully few prototypes,
40911 which can conflict with char $ac_func (); below.
40912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40913 <limits.h> exists even on freestanding compilers. */
40916 # include <limits.h>
40918 # include <assert.h>
40923 /* Override any gcc2 internal prototype to avoid an error. */
40928 /* We use char because int might match the return type of a gcc2
40929 builtin and then its argument prototype would still apply. */
40931 /* The GNU C library defines this for functions which it implements
40932 to always fail with ENOSYS. Some functions are actually named
40933 something starting with __ and the normal name is an alias. */
40934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40937 char (*f) () = $ac_func;
40946 return f != $ac_func;
40951 rm -f conftest.
$ac_objext conftest
$ac_exeext
40952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40953 (eval $ac_link) 2>conftest.er1
40955 grep -v '^ *+' conftest.er1
>conftest.err
40957 cat conftest.err
>&5
40958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40959 (exit $ac_status); } &&
40960 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40962 (eval $ac_try) 2>&5
40964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40965 (exit $ac_status); }; } &&
40966 { ac_try
='test -s conftest$ac_exeext'
40967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40968 (eval $ac_try) 2>&5
40970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40971 (exit $ac_status); }; }; then
40972 eval "$as_ac_var=yes"
40974 echo "$as_me: failed program was:" >&5
40975 sed 's/^/| /' conftest.
$ac_ext >&5
40977 eval "$as_ac_var=no"
40979 rm -f conftest.err conftest.
$ac_objext \
40980 conftest
$ac_exeext conftest.
$ac_ext
40982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40984 if test `eval echo '${'$as_ac_var'}'` = yes; then
40985 cat >>confdefs.h
<<_ACEOF
40986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40993 for ac_func
in ceil
40995 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40996 echo "$as_me:$LINENO: checking for $ac_func" >&5
40997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40998 if eval "test \"\${$as_ac_var+set}\" = set"; then
40999 echo $ECHO_N "(cached) $ECHO_C" >&6
41001 cat >conftest.
$ac_ext <<_ACEOF
41004 cat confdefs.h
>>conftest.
$ac_ext
41005 cat >>conftest.
$ac_ext <<_ACEOF
41006 /* end confdefs.h. */
41007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41009 #define $ac_func innocuous_$ac_func
41011 /* System header to define __stub macros and hopefully few prototypes,
41012 which can conflict with char $ac_func (); below.
41013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41014 <limits.h> exists even on freestanding compilers. */
41017 # include <limits.h>
41019 # include <assert.h>
41024 /* Override any gcc2 internal prototype to avoid an error. */
41029 /* We use char because int might match the return type of a gcc2
41030 builtin and then its argument prototype would still apply. */
41032 /* The GNU C library defines this for functions which it implements
41033 to always fail with ENOSYS. Some functions are actually named
41034 something starting with __ and the normal name is an alias. */
41035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41038 char (*f) () = $ac_func;
41047 return f != $ac_func;
41052 rm -f conftest.
$ac_objext conftest
$ac_exeext
41053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41054 (eval $ac_link) 2>conftest.er1
41056 grep -v '^ *+' conftest.er1
>conftest.err
41058 cat conftest.err
>&5
41059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41060 (exit $ac_status); } &&
41061 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41063 (eval $ac_try) 2>&5
41065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41066 (exit $ac_status); }; } &&
41067 { ac_try
='test -s conftest$ac_exeext'
41068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41069 (eval $ac_try) 2>&5
41071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41072 (exit $ac_status); }; }; then
41073 eval "$as_ac_var=yes"
41075 echo "$as_me: failed program was:" >&5
41076 sed 's/^/| /' conftest.
$ac_ext >&5
41078 eval "$as_ac_var=no"
41080 rm -f conftest.err conftest.
$ac_objext \
41081 conftest
$ac_exeext conftest.
$ac_ext
41083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41085 if test `eval echo '${'$as_ac_var'}'` = yes; then
41086 cat >>confdefs.h
<<_ACEOF
41087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41093 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
41094 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
41095 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
41096 echo "$as_me:$LINENO: result: yes" >&5
41097 echo "${ECHO_T}yes" >&6
41099 echo "$as_me:$LINENO: result: no" >&5
41100 echo "${ECHO_T}no" >&6
41101 # not sure we should warn the user, crash, etc.
41105 if test "$wxUSE_GUI" = "yes"; then
41108 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
41109 dynamic erase event exec font image minimal mobile \
41110 mobile/wxedit mobile/styles propsize render \
41111 richedit rotate shaped vscroll widgets"
41113 if test "$wxUSE_MONOLITHIC" != "yes"; then
41114 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
41116 if test "$TOOLKIT" = "MSW"; then
41117 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
41118 if test "$wxUSE_UNIVERSAL" != "yes"; then
41119 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
41122 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
41123 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
41126 SAMPLES_SUBDIRS
="console"
41130 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
41131 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
41133 if test "$GXX" = yes ; then
41135 CXXWARNINGS
="$CWARNINGS -Wno-ctor-dtor-privacy"
41138 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
41140 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
41141 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
41142 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
41144 if test "x$MWCC" = "xyes"; then
41146 CC
="$CC -cwd source -I-"
41147 CXX
="$CXX -cwd source -I-"
41152 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
41153 EXTRALIBS_XML
="$EXPAT_LINK"
41154 EXTRALIBS_HTML
="$MSPACK_LINK"
41155 EXTRALIBS_ODBC
="$ODBC_LINK"
41156 if test "$wxUSE_GUI" = "yes"; then
41157 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
41159 if test "$wxUSE_OPENGL" = "yes"; then
41160 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
41163 LDFLAGS
="$LDFLAGS $PROFILE"
41165 if test "$wxUSE_GTK" = 1; then
41168 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
41171 WXCONFIG_EXTRALIBS
="$LIBS"
41173 if test "$wxUSE_REGEX" = "builtin" ; then
41174 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
41176 if test "$wxUSE_EXPAT" = "builtin" ; then
41177 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
41179 if test "$wxUSE_ODBC" = "builtin" ; then
41180 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
41182 if test "$wxUSE_LIBTIFF" = "builtin" ; then
41183 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
41185 if test "$wxUSE_LIBJPEG" = "builtin" ; then
41186 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
41188 if test "$wxUSE_LIBPNG" = "builtin" ; then
41189 wxconfig_3rdparty
="png $wxconfig_3rdparty"
41191 if test "$wxUSE_ZLIB" = "builtin" ; then
41192 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
41195 for i
in $wxconfig_3rdparty ; do
41196 WXCONFIG_EXTRALIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_EXTRALIBS"
41200 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
41214 if test $wxUSE_MONOLITHIC = "yes" ; then
41220 if test $wxUSE_PLUGINS = "yes" ; then
41226 if test $wxUSE_ODBC != "no" ; then
41232 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
41238 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
41266 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
41277 TOOLKIT_USER
="GTK+"
41278 if test "$WXGTK20" = 1; then
41279 TOOLKIT_USER
="$TOOLKIT_USER 2"
41284 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
41288 if test "$wxUSE_WINE" = "yes"; then
41289 BAKEFILE_FORCE_PLATFORM
=win32
41295 if test "x$BAKEFILE_HOST" = "x"; then
41296 BAKEFILE_HOST
="${host}"
41299 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
41301 if test -n "$ac_tool_prefix"; then
41302 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
41303 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
41304 echo "$as_me:$LINENO: checking for $ac_word" >&5
41305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41306 if test "${ac_cv_prog_RANLIB+set}" = set; then
41307 echo $ECHO_N "(cached) $ECHO_C" >&6
41309 if test -n "$RANLIB"; then
41310 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
41312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41313 for as_dir
in $PATH
41316 test -z "$as_dir" && as_dir
=.
41317 for ac_exec_ext
in '' $ac_executable_extensions; do
41318 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41319 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
41320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41328 RANLIB
=$ac_cv_prog_RANLIB
41329 if test -n "$RANLIB"; then
41330 echo "$as_me:$LINENO: result: $RANLIB" >&5
41331 echo "${ECHO_T}$RANLIB" >&6
41333 echo "$as_me:$LINENO: result: no" >&5
41334 echo "${ECHO_T}no" >&6
41338 if test -z "$ac_cv_prog_RANLIB"; then
41339 ac_ct_RANLIB
=$RANLIB
41340 # Extract the first word of "ranlib", so it can be a program name with args.
41341 set dummy ranlib
; ac_word
=$2
41342 echo "$as_me:$LINENO: checking for $ac_word" >&5
41343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41344 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
41345 echo $ECHO_N "(cached) $ECHO_C" >&6
41347 if test -n "$ac_ct_RANLIB"; then
41348 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
41350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41351 for as_dir
in $PATH
41354 test -z "$as_dir" && as_dir
=.
41355 for ac_exec_ext
in '' $ac_executable_extensions; do
41356 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41357 ac_cv_prog_ac_ct_RANLIB
="ranlib"
41358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41364 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
41367 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
41368 if test -n "$ac_ct_RANLIB"; then
41369 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
41370 echo "${ECHO_T}$ac_ct_RANLIB" >&6
41372 echo "$as_me:$LINENO: result: no" >&5
41373 echo "${ECHO_T}no" >&6
41376 RANLIB
=$ac_ct_RANLIB
41378 RANLIB
="$ac_cv_prog_RANLIB"
41381 # Find a good install program. We prefer a C program (faster),
41382 # so one script is as good as another. But avoid the broken or
41383 # incompatible versions:
41384 # SysV /etc/install, /usr/sbin/install
41385 # SunOS /usr/etc/install
41386 # IRIX /sbin/install
41388 # AmigaOS /C/install, which installs bootblocks on floppy discs
41389 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
41390 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
41391 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
41392 # OS/2's system install, which has a completely different semantic
41393 # ./install, which can be erroneously created by make from ./install.sh.
41394 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
41395 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
41396 if test -z "$INSTALL"; then
41397 if test "${ac_cv_path_install+set}" = set; then
41398 echo $ECHO_N "(cached) $ECHO_C" >&6
41400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41401 for as_dir
in $PATH
41404 test -z "$as_dir" && as_dir
=.
41405 # Account for people who put trailing slashes in PATH elements.
41407 .
/ | .
// | /cC
/* | \
41408 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
41409 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
41412 # OSF1 and SCO ODT 3.0 have their own names for install.
41413 # Don't use installbsd from OSF since it installs stuff as root
41415 for ac_prog
in ginstall scoinst
install; do
41416 for ac_exec_ext
in '' $ac_executable_extensions; do
41417 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
41418 if test $ac_prog = install &&
41419 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
41420 # AIX install. It has an incompatible calling convention.
41422 elif test $ac_prog = install &&
41423 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
41424 # program-specific install script used by HP pwplus--don't use.
41427 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
41439 if test "${ac_cv_path_install+set}" = set; then
41440 INSTALL
=$ac_cv_path_install
41442 # As a last resort, use the slow shell script. We don't cache a
41443 # path for INSTALL within a source directory, because that will
41444 # break other packages using the cache if that directory is
41445 # removed, or if the path is relative.
41446 INSTALL
=$ac_install_sh
41449 echo "$as_me:$LINENO: result: $INSTALL" >&5
41450 echo "${ECHO_T}$INSTALL" >&6
41452 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
41453 # It thinks the first close brace ends the variable substitution.
41454 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
41456 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
41458 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
41460 echo "$as_me:$LINENO: checking whether ln -s works" >&5
41461 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
41463 if test "$LN_S" = "ln -s"; then
41464 echo "$as_me:$LINENO: result: yes" >&5
41465 echo "${ECHO_T}yes" >&6
41467 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
41468 echo "${ECHO_T}no, using $LN_S" >&6
41472 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41473 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41474 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
41475 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41476 echo $ECHO_N "(cached) $ECHO_C" >&6
41478 cat >conftest.
make <<\_ACEOF
41480 @
echo 'ac_maketemp="$(MAKE)"'
41482 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41483 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41484 if test -n "$ac_maketemp"; then
41485 eval ac_cv_prog_make_
${ac_make}_set
=yes
41487 eval ac_cv_prog_make_
${ac_make}_set
=no
41489 rm -f conftest.
make
41491 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41492 echo "$as_me:$LINENO: result: yes" >&5
41493 echo "${ECHO_T}yes" >&6
41496 echo "$as_me:$LINENO: result: no" >&5
41497 echo "${ECHO_T}no" >&6
41498 SET_MAKE
="MAKE=${MAKE-make}"
41503 if test -n "$ac_tool_prefix"; then
41504 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
41505 set dummy
${ac_tool_prefix}ar; ac_word
=$2
41506 echo "$as_me:$LINENO: checking for $ac_word" >&5
41507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41508 if test "${ac_cv_prog_AR+set}" = set; then
41509 echo $ECHO_N "(cached) $ECHO_C" >&6
41511 if test -n "$AR"; then
41512 ac_cv_prog_AR
="$AR" # Let the user override the test.
41514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41515 for as_dir
in $PATH
41518 test -z "$as_dir" && as_dir
=.
41519 for ac_exec_ext
in '' $ac_executable_extensions; do
41520 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41521 ac_cv_prog_AR
="${ac_tool_prefix}ar"
41522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41531 if test -n "$AR"; then
41532 echo "$as_me:$LINENO: result: $AR" >&5
41533 echo "${ECHO_T}$AR" >&6
41535 echo "$as_me:$LINENO: result: no" >&5
41536 echo "${ECHO_T}no" >&6
41540 if test -z "$ac_cv_prog_AR"; then
41542 # Extract the first word of "ar", so it can be a program name with args.
41543 set dummy
ar; ac_word
=$2
41544 echo "$as_me:$LINENO: checking for $ac_word" >&5
41545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41546 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
41547 echo $ECHO_N "(cached) $ECHO_C" >&6
41549 if test -n "$ac_ct_AR"; then
41550 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
41552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41553 for as_dir
in $PATH
41556 test -z "$as_dir" && as_dir
=.
41557 for ac_exec_ext
in '' $ac_executable_extensions; do
41558 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41559 ac_cv_prog_ac_ct_AR
="ar"
41560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41566 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
41569 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
41570 if test -n "$ac_ct_AR"; then
41571 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
41572 echo "${ECHO_T}$ac_ct_AR" >&6
41574 echo "$as_me:$LINENO: result: no" >&5
41575 echo "${ECHO_T}no" >&6
41580 AR
="$ac_cv_prog_AR"
41583 if test -n "$ac_tool_prefix"; then
41584 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
41585 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
41586 echo "$as_me:$LINENO: checking for $ac_word" >&5
41587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41588 if test "${ac_cv_prog_STRIP+set}" = set; then
41589 echo $ECHO_N "(cached) $ECHO_C" >&6
41591 if test -n "$STRIP"; then
41592 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
41594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41595 for as_dir
in $PATH
41598 test -z "$as_dir" && as_dir
=.
41599 for ac_exec_ext
in '' $ac_executable_extensions; do
41600 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41601 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
41602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41610 STRIP
=$ac_cv_prog_STRIP
41611 if test -n "$STRIP"; then
41612 echo "$as_me:$LINENO: result: $STRIP" >&5
41613 echo "${ECHO_T}$STRIP" >&6
41615 echo "$as_me:$LINENO: result: no" >&5
41616 echo "${ECHO_T}no" >&6
41620 if test -z "$ac_cv_prog_STRIP"; then
41622 # Extract the first word of "strip", so it can be a program name with args.
41623 set dummy strip
; ac_word
=$2
41624 echo "$as_me:$LINENO: checking for $ac_word" >&5
41625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41626 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
41627 echo $ECHO_N "(cached) $ECHO_C" >&6
41629 if test -n "$ac_ct_STRIP"; then
41630 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
41632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41633 for as_dir
in $PATH
41636 test -z "$as_dir" && as_dir
=.
41637 for ac_exec_ext
in '' $ac_executable_extensions; do
41638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41639 ac_cv_prog_ac_ct_STRIP
="strip"
41640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41646 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
41649 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
41650 if test -n "$ac_ct_STRIP"; then
41651 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
41652 echo "${ECHO_T}$ac_ct_STRIP" >&6
41654 echo "$as_me:$LINENO: result: no" >&5
41655 echo "${ECHO_T}no" >&6
41660 STRIP
="$ac_cv_prog_STRIP"
41663 if test -n "$ac_tool_prefix"; then
41664 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
41665 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
41666 echo "$as_me:$LINENO: checking for $ac_word" >&5
41667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41668 if test "${ac_cv_prog_NM+set}" = set; then
41669 echo $ECHO_N "(cached) $ECHO_C" >&6
41671 if test -n "$NM"; then
41672 ac_cv_prog_NM
="$NM" # Let the user override the test.
41674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41675 for as_dir
in $PATH
41678 test -z "$as_dir" && as_dir
=.
41679 for ac_exec_ext
in '' $ac_executable_extensions; do
41680 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41681 ac_cv_prog_NM
="${ac_tool_prefix}nm"
41682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41691 if test -n "$NM"; then
41692 echo "$as_me:$LINENO: result: $NM" >&5
41693 echo "${ECHO_T}$NM" >&6
41695 echo "$as_me:$LINENO: result: no" >&5
41696 echo "${ECHO_T}no" >&6
41700 if test -z "$ac_cv_prog_NM"; then
41702 # Extract the first word of "nm", so it can be a program name with args.
41703 set dummy nm
; ac_word
=$2
41704 echo "$as_me:$LINENO: checking for $ac_word" >&5
41705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41706 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
41707 echo $ECHO_N "(cached) $ECHO_C" >&6
41709 if test -n "$ac_ct_NM"; then
41710 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
41712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41713 for as_dir
in $PATH
41716 test -z "$as_dir" && as_dir
=.
41717 for ac_exec_ext
in '' $ac_executable_extensions; do
41718 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41719 ac_cv_prog_ac_ct_NM
="nm"
41720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41726 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
41729 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
41730 if test -n "$ac_ct_NM"; then
41731 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
41732 echo "${ECHO_T}$ac_ct_NM" >&6
41734 echo "$as_me:$LINENO: result: no" >&5
41735 echo "${ECHO_T}no" >&6
41740 NM
="$ac_cv_prog_NM"
41744 case ${BAKEFILE_HOST} in
41746 INSTALL_DIR
="mkdir -p"
41748 *) INSTALL_DIR
="$INSTALL -d"
41754 case ${BAKEFILE_HOST} in
41755 *-*-cygwin* | *-*-mingw32* )
41756 LDFLAGS_GUI
="-mwindows"
41762 echo "$as_me:$LINENO: checking if make is GNU make" >&5
41763 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
41764 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
41765 echo $ECHO_N "(cached) $ECHO_C" >&6
41768 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
41769 egrep -s GNU
> /dev
/null
); then
41770 bakefile_cv_prog_makeisgnu
="yes"
41772 bakefile_cv_prog_makeisgnu
="no"
41776 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
41777 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
41779 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
41796 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
41797 case "${BAKEFILE_HOST}" in
41798 *-*-cygwin* | *-*-mingw32* )
41804 *-pc-os2_emx | *-pc-os2-emx )
41807 powerpc
-*-darwin* )
41814 powerpc
-apple-macos* )
41823 case "$BAKEFILE_FORCE_PLATFORM" in
41844 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
41845 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
41846 { (exit 1); exit 1; }; }
41861 # Check whether --enable-omf or --disable-omf was given.
41862 if test "${enable_omf+set}" = set; then
41863 enableval
="$enable_omf"
41864 bk_os2_use_omf
="$enableval"
41867 case "${BAKEFILE_HOST}" in
41869 CFLAGS
="$CFLAGS -fno-common"
41870 CXXFLAGS
="$CXXFLAGS -fno-common"
41873 *-pc-os2_emx | *-pc-os2-emx )
41874 if test "x$bk_os2_use_omf" = "xyes" ; then
41877 LDFLAGS
="-Zomf $LDFLAGS"
41878 CFLAGS
="-Zomf $CFLAGS"
41879 CXXFLAGS
="-Zomf $CXXFLAGS"
41887 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
41893 SO_SUFFIX_MODULE
="so"
41898 DLLPREFIX_MODULE
=""
41901 case "${BAKEFILE_HOST}" in
41904 SO_SUFFIX_MODULE
="sl"
41908 SO_SUFFIX_MODULE
="a"
41910 *-*-cygwin* | *-*-mingw32* )
41912 SO_SUFFIX_MODULE
="dll"
41913 DLLIMP_SUFFIX
="dll.a"
41921 *-pc-os2_emx | *-pc-os2-emx )
41923 SO_SUFFIX_MODULE
="dll"
41924 DLLIMP_SUFFIX
=$OS2_LIBEXT
41928 LIBEXT
=".$OS2_LIBEXT"
41930 powerpc
-*-darwin* )
41932 SO_SUFFIX_MODULE
="bundle"
41936 if test "x$DLLIMP_SUFFIX" = "x" ; then
41937 DLLIMP_SUFFIX
="$SO_SUFFIX"
41951 if test "x$GCC" = "xyes"; then
41955 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
41956 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
41958 case "${BAKEFILE_HOST}" in
41960 if test "x$GCC" != "xyes"; then
41961 LDFLAGS
="$LDFLAGS -L/usr/lib"
41963 SHARED_LD_CC
="${CC} -b -o"
41964 SHARED_LD_CXX
="${CXX} -b -o"
41970 if test "x$GCC" != "xyes"; then
41971 echo "$as_me:$LINENO: checking for Intel compiler" >&5
41972 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
41973 if test "${bakefile_cv_prog_icc+set}" = set; then
41974 echo $ECHO_N "(cached) $ECHO_C" >&6
41977 cat >conftest.
$ac_ext <<_ACEOF
41980 cat confdefs.h
>>conftest.
$ac_ext
41981 cat >>conftest.
$ac_ext <<_ACEOF
41982 /* end confdefs.h. */
41988 #ifndef __INTEL_COMPILER
41996 rm -f conftest.
$ac_objext
41997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41998 (eval $ac_compile) 2>conftest.er1
42000 grep -v '^ *+' conftest.er1
>conftest.err
42002 cat conftest.err
>&5
42003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42004 (exit $ac_status); } &&
42005 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42007 (eval $ac_try) 2>&5
42009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42010 (exit $ac_status); }; } &&
42011 { ac_try
='test -s conftest.$ac_objext'
42012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42013 (eval $ac_try) 2>&5
42015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42016 (exit $ac_status); }; }; then
42017 bakefile_cv_prog_icc
=yes
42019 echo "$as_me: failed program was:" >&5
42020 sed 's/^/| /' conftest.
$ac_ext >&5
42022 bakefile_cv_prog_icc
=no
42025 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42028 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
42029 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
42030 if test "$bakefile_cv_prog_icc" = "yes"; then
42037 if test "x$GCC" != xyes
; then
42038 SHARED_LD_CC
="${CC} -G -o"
42039 SHARED_LD_CXX
="${CXX} -G -o"
42046 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
42047 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
42048 if test "${wx_cv_gcc31+set}" = set; then
42049 echo $ECHO_N "(cached) $ECHO_C" >&6
42052 cat >conftest.
$ac_ext <<_ACEOF
42055 cat confdefs.h
>>conftest.
$ac_ext
42056 cat >>conftest.
$ac_ext <<_ACEOF
42057 /* end confdefs.h. */
42063 #if (__GNUC__ < 3) || \
42064 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
42072 rm -f conftest.
$ac_objext
42073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42074 (eval $ac_compile) 2>conftest.er1
42076 grep -v '^ *+' conftest.er1
>conftest.err
42078 cat conftest.err
>&5
42079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42080 (exit $ac_status); } &&
42081 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42083 (eval $ac_try) 2>&5
42085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42086 (exit $ac_status); }; } &&
42087 { ac_try
='test -s conftest.$ac_objext'
42088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42089 (eval $ac_try) 2>&5
42091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42092 (exit $ac_status); }; }; then
42097 echo "$as_me: failed program was:" >&5
42098 sed 's/^/| /' conftest.
$ac_ext >&5
42105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42108 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
42109 echo "${ECHO_T}$wx_cv_gcc31" >&6
42110 if test "$wx_cv_gcc31" = "no"; then
42113 cat <<EOF >shared-ld-sh
42115 #-----------------------------------------------------------------------------
42116 #-- Name: distrib/mac/shared-ld-sh
42117 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
42118 #-- Author: Gilles Depeyrot
42119 #-- Copyright: (c) 2002 Gilles Depeyrot
42120 #-- Licence: any use permitted
42121 #-----------------------------------------------------------------------------
42126 linking_flag="-dynamiclib"
42128 while test ${D}# -gt 0; do
42135 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
42136 # collect these options and values
42137 args="${D}{args} ${D}1 ${D}2"
42141 -l*|-L*|-Wl,*|-flat_namespace|-headerpad_max_install_names)
42142 # collect these options
42143 args="${D}{args} ${D}1"
42146 -dynamiclib|-bundle)
42147 linking_flag="${D}1"
42151 echo "shared-ld: unhandled option '${D}1'"
42155 *.o | *.a | *.dylib)
42156 # collect object files
42157 objects="${D}{objects} ${D}1"
42161 echo "shared-ld: unhandled argument '${D}1'"
42170 # Link one module containing all the others
42172 if test ${D}{verbose} = 1; then
42173 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
42175 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
42177 if test ${D}{status} != 0; then
42182 # Link the shared library from the single module created
42184 if test ${D}{verbose} = 1; then
42185 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
42187 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
42189 if test ${D}{status} != 0; then
42194 # Remove intermediate module
42196 rm -f master.${D}${D}.o
42201 chmod +x shared
-ld-sh
42203 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
42204 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
42205 SHARED_LD_CXX
="$SHARED_LD_CC"
42206 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
42208 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
42209 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
42210 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
42211 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
42214 PIC_FLAG
="-dynamic -fPIC"
42218 if test "x$GCC" != "xyes"; then
42219 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
42220 set dummy makeC
++SharedLib
; ac_word
=$2
42221 echo "$as_me:$LINENO: checking for $ac_word" >&5
42222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42223 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
42224 echo $ECHO_N "(cached) $ECHO_C" >&6
42226 if test -n "$AIX_CXX_LD"; then
42227 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
42229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42230 for as_dir
in $PATH
42233 test -z "$as_dir" && as_dir
=.
42234 for ac_exec_ext
in '' $ac_executable_extensions; do
42235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42236 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
42237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42243 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
42246 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
42247 if test -n "$AIX_CXX_LD"; then
42248 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
42249 echo "${ECHO_T}$AIX_CXX_LD" >&6
42251 echo "$as_me:$LINENO: result: no" >&5
42252 echo "${ECHO_T}no" >&6
42255 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
42256 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
42261 SHARED_LD_CC
="${LD} -nostart -o"
42262 SHARED_LD_CXX
="${LD} -nostart -o"
42266 if test "x$GCC" != "xyes"; then
42271 *-*-cygwin* | *-*-mingw32* )
42273 SHARED_LD_CC
="\$(CC) -shared -o"
42274 SHARED_LD_CXX
="\$(CXX) -shared -o"
42277 *-pc-os2_emx | *-pc-os2-emx )
42278 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42279 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42283 cat <<EOF >dllar.sh
42286 # dllar - a tool to build both a .dll and an .a file
42287 # from a set of object (.o) files for EMX/OS2.
42289 # Written by Andrew Zabolotny, bit@freya.etu.ru
42290 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
42292 # This script will accept a set of files on the command line.
42293 # All the public symbols from the .o files will be exported into
42294 # a .DEF file, then linker will be run (through gcc) against them to
42295 # build a shared library consisting of all given .o files. All libraries
42296 # (.a) will be first decompressed into component .o files then act as
42297 # described above. You can optionally give a description (-d "description")
42298 # which will be put into .DLL. To see the list of accepted options (as well
42299 # as command-line format) simply run this program without options. The .DLL
42300 # is built to be imported by name (there is no guarantee that new versions
42301 # of the library you build will have same ordinals for same symbols).
42303 # dllar is free software; you can redistribute it and/or modify
42304 # it under the terms of the GNU General Public License as published by
42305 # the Free Software Foundation; either version 2, or (at your option)
42306 # any later version.
42308 # dllar is distributed in the hope that it will be useful,
42309 # but WITHOUT ANY WARRANTY; without even the implied warranty of
42310 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
42311 # GNU General Public License for more details.
42313 # You should have received a copy of the GNU General Public License
42314 # along with dllar; see the file COPYING. If not, write to the Free
42315 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
42318 # To successfuly run this program you will need:
42319 # - Current drive should have LFN support (HPFS, ext2, network, etc)
42320 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
42322 # (used to build the .dll)
42324 # (used to create .def file from .o files)
42326 # (used to create .a file from .def file)
42327 # - GNU text utilites (cat, sort, uniq)
42328 # used to process emxexp output
42329 # - GNU file utilities (mv, rm)
42331 # - lxlite (optional, see flag below)
42332 # (used for general .dll cleanup)
42339 # basnam, variant of basename, which does _not_ remove the path, _iff_
42340 # second argument (suffix to remove) is given
42344 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
42347 echo ${D}1 | sed 's/'${D}2'${D}//'
42350 echo "error in basnam ${D}*"
42356 # Cleanup temporary files and output
42359 for i in ${D}inputFiles ; do
42362 rm -rf \`basnam ${D}i !\`
42369 # Kill result in case of failure as there is just to many stupid make/nmake
42370 # things out there which doesn't do this.
42371 if [ ${D}# -eq 0 ]; then
42372 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
42376 # Print usage and exit script with rc=1.
42378 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
42379 echo ' [-name-mangler-script script.sh]'
42380 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
42381 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
42382 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
42383 echo ' [*.o] [*.a]'
42384 echo '*> "output_file" should have no extension.'
42385 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
42386 echo ' The import library name is derived from this and is set to "name".a,'
42387 echo ' unless overridden by -import'
42388 echo '*> "importlib_name" should have no extension.'
42389 echo ' If it has the .o, or .a extension, it is automatically removed.'
42390 echo ' This name is used as the import library name and may be longer and'
42391 echo ' more descriptive than the DLL name which has to follow the old '
42392 echo ' 8.3 convention of FAT.'
42393 echo '*> "script.sh may be given to override the output_file name by a'
42394 echo ' different name. It is mainly useful if the regular make process'
42395 echo ' of some package does not take into account OS/2 restriction of'
42396 echo ' DLL name lengths. It takes the importlib name as input and is'
42397 echo ' supposed to procude a shorter name as output. The script should'
42398 echo ' expect to get importlib_name without extension and should produce'
42399 echo ' a (max.) 8 letter name without extension.'
42400 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
42401 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
42402 echo ' These flags will be put at the start of GCC command line.'
42403 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
42404 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
42405 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
42406 echo ' If the last character of a symbol is "*", all symbols beginning'
42407 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
42408 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
42409 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
42410 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
42411 echo ' C runtime DLLs.'
42412 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
42413 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
42414 echo ' unchanged to GCC at the end of command line.'
42415 echo '*> If you create a DLL from a library and you do not specify -o,'
42416 echo ' the basename for DLL and import library will be set to library name,'
42417 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
42418 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
42419 echo ' library will be renamed into gcc_s.a.'
42422 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
42423 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
42428 # Execute a command.
42429 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
42430 # @Uses Whatever CleanUp() uses.
42436 if [ ${D}rcCmd -ne 0 ]; then
42437 echo "command failed, exit code="${D}rcCmd
42452 CFLAGS="-s -Zcrtdll"
42454 EXPORT_BY_ORDINALS=0
42459 case ${D}curDirS in
42463 curDirS=${D}{curDirS}"/"
42466 # Parse commandline
42469 while [ ${D}1 ]; do
42472 EXPORT_BY_ORDINALS=1;
42482 -name-mangler-script)
42503 exclude_symbols=${D}{exclude_symbols}${D}1" "
42507 library_flags=${D}{library_flags}${D}1" "
42526 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
42529 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
42530 if [ ${D}omfLinking -eq 1 ]; then
42531 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
42533 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
42538 if [ ${D}libsToLink -ne 0 ]; then
42539 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
42541 for file in ${D}1 ; do
42542 if [ -f ${D}file ]; then
42543 inputFiles="${D}{inputFiles} ${D}file"
42547 if [ ${D}found -eq 0 ]; then
42548 echo "ERROR: No file(s) found: "${D}1
42555 done # iterate cmdline words
42558 if [ -z "${D}inputFiles" ]; then
42559 echo "dllar: no input files"
42563 # Now extract all .o files from .a files
42565 for file in ${D}inputFiles ; do
42576 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
42581 dirname=\`basnam ${D}file ${D}suffix\`"_%"
42583 if [ ${D}? -ne 0 ]; then
42584 echo "Failed to create subdirectory ./${D}dirname"
42588 # Append '!' to indicate archive
42589 newInputFiles="${D}newInputFiles ${D}{dirname}!"
42590 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
42593 for subfile in ${D}dirname/*.o* ; do
42594 if [ -f ${D}subfile ]; then
42596 if [ -s ${D}subfile ]; then
42597 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
42598 newInputFiles="${D}newInputFiles ${D}subfile"
42602 if [ ${D}found -eq 0 ]; then
42603 echo "WARNING: there are no files in archive \\'${D}file\\'"
42607 newInputFiles="${D}{newInputFiles} ${D}file"
42611 inputFiles="${D}newInputFiles"
42613 # Output filename(s).
42615 if [ -z ${D}outFile ]; then
42617 set outFile ${D}inputFiles; outFile=${D}2
42620 # If it is an archive, remove the '!' and the '_%' suffixes
42621 case ${D}outFile in
42623 outFile=\`basnam ${D}outFile _%!\`
42628 case ${D}outFile in
42630 outFile=\`basnam ${D}outFile .dll\`
42633 outFile=\`basnam ${D}outFile .DLL\`
42636 outFile=\`basnam ${D}outFile .o\`
42639 outFile=\`basnam ${D}outFile .obj\`
42642 outFile=\`basnam ${D}outFile .a\`
42645 outFile=\`basnam ${D}outFile .lib\`
42650 case ${D}outimpFile in
42652 outimpFile=\`basnam ${D}outimpFile .a\`
42655 outimpFile=\`basnam ${D}outimpFile .lib\`
42660 if [ -z ${D}outimpFile ]; then
42661 outimpFile=${D}outFile
42663 defFile="${D}{outFile}.def"
42664 arcFile="${D}{outimpFile}.a"
42665 arcFile2="${D}{outimpFile}.lib"
42667 #create ${D}dllFile as something matching 8.3 restrictions,
42668 if [ -z ${D}renameScript ] ; then
42669 dllFile="${D}outFile"
42671 dllFile=\`${D}renameScript ${D}outimpFile\`
42674 if [ ${D}do_backup -ne 0 ] ; then
42675 if [ -f ${D}arcFile ] ; then
42676 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
42678 if [ -f ${D}arcFile2 ] ; then
42679 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
42683 # Extract public symbols from all the object files.
42684 tmpdefFile=${D}{defFile}_%
42685 rm -f ${D}tmpdefFile
42686 for file in ${D}inputFiles ; do
42691 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
42696 # Create the def file.
42698 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
42699 dllFile="${D}{dllFile}.dll"
42700 if [ ! -z ${D}description ]; then
42701 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
42703 echo "EXPORTS" >> ${D}defFile
42705 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
42706 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
42708 # Checks if the export is ok or not.
42709 for word in ${D}exclude_symbols; do
42710 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
42711 mv ${D}{tmpdefFile}% ${D}tmpdefFile
42715 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
42716 sed "=" < ${D}tmpdefFile | \\
42720 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
42722 ' > ${D}{tmpdefFile}%
42723 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
42725 rm -f ${D}{tmpdefFile}%
42727 cat ${D}tmpdefFile >> ${D}defFile
42728 rm -f ${D}tmpdefFile
42730 # Do linking, create implib, and apply lxlite.
42732 for file in ${D}inputFiles ; do
42737 gccCmdl="${D}gccCmdl ${D}file"
42741 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
42742 touch "${D}{outFile}.dll"
42744 doCommand "emximp -o ${D}arcFile ${D}defFile"
42745 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
42747 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
42750 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
42752 doCommand "emxomf -s -l ${D}arcFile"
42762 powerpc
-apple-macos* | \
42763 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
42772 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
42773 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
42774 { (exit 1); exit 1; }; }
42777 if test "x$PIC_FLAG" != "x" ; then
42778 PIC_FLAG
="$PIC_FLAG -DPIC"
42781 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
42782 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
42784 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
42785 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
42802 case "${BAKEFILE_HOST}" in
42803 *-*-linux* | *-*-freebsd* )
42804 SONAME_FLAG
="-Wl,-soname,"
42832 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
42833 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
42836 if test "x$GCC" = "xyes"; then
42839 case "${BAKEFILE_HOST}" in
42840 powerpc
-*-darwin* )
42841 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
42844 DEPSFLAG_GCC
="-MMD"
42847 echo "$as_me:$LINENO: result: gcc" >&5
42848 echo "${ECHO_T}gcc" >&6
42849 elif test "x$MWCC" = "xyes"; then
42852 DEPSFLAG_MWCC
="-MM"
42853 echo "$as_me:$LINENO: result: mwcc" >&5
42854 echo "${ECHO_T}mwcc" >&6
42855 elif test "x$SUNCC" = "xyes"; then
42858 DEPSFLAG_SUNCC
="-xM1"
42859 echo "$as_me:$LINENO: result: suncc" >&5
42860 echo "${ECHO_T}suncc" >&6
42862 echo "$as_me:$LINENO: result: none" >&5
42863 echo "${ECHO_T}none" >&6
42866 if test $DEPS_TRACKING = 1 ; then
42872 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
42873 # script. It is used to track C/C++ files dependencies in portable way.
42875 # Permission is given to use this file in any way.
42877 DEPSMODE=${DEPSMODE}
42879 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
42880 DEPSFLAG_MWCC="${DEPSFLAG_MWCC}"
42881 DEPSFLAG_SUNCC="${DEPSFLAG_SUNCC}"
42883 mkdir -p ${D}DEPSDIR
42885 if test ${D}DEPSMODE = gcc ; then
42886 ${D}* ${D}{DEPSFLAG_GCC}
42888 if test ${D}{status} != 0 ; then
42891 # move created file to the location we want it in:
42892 while test ${D}# -gt 0; do
42906 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
42907 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
42908 if test -f ${D}depfile ; then
42909 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
42912 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
42913 if test -f ${D}depfile ; then
42914 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
42919 elif test ${D}DEPSMODE = mwcc ; then
42922 if test ${D}{status} != 0 ; then
42925 # Run mwcc again with -MM and redirect into the dep file we want
42926 # NOTE: We can't use shift here because we need ${D}* to be valid
42928 for arg in ${D}* ; do
42929 if test "${D}prevarg" = "-o"; then
42942 ${D}* ${D}DEPSFLAG_MWCC >${D}{DEPSDIR}/${D}{objfile}.d
42944 elif test ${D}DEPSMODE = suncc; then
42946 # Run compiler again with deps flag and redirect into the dep file.
42947 # It doesn't work if the '-o FILE' option is used, but without it the
42948 # dependency file will contain the wrong name for the object. So it is
42949 # removed from the command line, and the dep file is fixed with sed.
42951 while test ${D}# -gt 0; do
42958 eval arg${D}#=\\${D}1
42959 cmd="${D}cmd \\${D}arg${D}#"
42964 eval "${D}cmd ${D}DEPSFLAG_SUNCC" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
42981 case ${BAKEFILE_HOST} in
42982 *-*-cygwin* | *-*-mingw32* )
42983 if test "$build" != "$host" ; then
42984 RESCOMP
=$host_alias-windres
42986 # Extract the first word of "windres", so it can be a program name with args.
42987 set dummy windres
; ac_word
=$2
42988 echo "$as_me:$LINENO: checking for $ac_word" >&5
42989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42990 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42991 echo $ECHO_N "(cached) $ECHO_C" >&6
42993 if test -n "$RESCOMP"; then
42994 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
42996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42997 for as_dir
in $PATH
43000 test -z "$as_dir" && as_dir
=.
43001 for ac_exec_ext
in '' $ac_executable_extensions; do
43002 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43003 ac_cv_prog_RESCOMP
="windres"
43004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43010 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
43013 RESCOMP
=$ac_cv_prog_RESCOMP
43014 if test -n "$RESCOMP"; then
43015 echo "$as_me:$LINENO: result: $RESCOMP" >&5
43016 echo "${ECHO_T}$RESCOMP" >&6
43018 echo "$as_me:$LINENO: result: no" >&5
43019 echo "${ECHO_T}no" >&6
43025 *-*-darwin* | powerpc
-apple-macos* )
43026 # Extract the first word of "Rez", so it can be a program name with args.
43027 set dummy Rez
; ac_word
=$2
43028 echo "$as_me:$LINENO: checking for $ac_word" >&5
43029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43030 if test "${ac_cv_prog_RESCOMP+set}" = set; then
43031 echo $ECHO_N "(cached) $ECHO_C" >&6
43033 if test -n "$RESCOMP"; then
43034 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
43036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43037 for as_dir
in $PATH
43040 test -z "$as_dir" && as_dir
=.
43041 for ac_exec_ext
in '' $ac_executable_extensions; do
43042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43043 ac_cv_prog_RESCOMP
="Rez"
43044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43050 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
43053 RESCOMP
=$ac_cv_prog_RESCOMP
43054 if test -n "$RESCOMP"; then
43055 echo "$as_me:$LINENO: result: $RESCOMP" >&5
43056 echo "${ECHO_T}$RESCOMP" >&6
43058 echo "$as_me:$LINENO: result: no" >&5
43059 echo "${ECHO_T}no" >&6
43062 # Extract the first word of "SetFile", so it can be a program name with args.
43063 set dummy SetFile
; ac_word
=$2
43064 echo "$as_me:$LINENO: checking for $ac_word" >&5
43065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43066 if test "${ac_cv_prog_SETFILE+set}" = set; then
43067 echo $ECHO_N "(cached) $ECHO_C" >&6
43069 if test -n "$SETFILE"; then
43070 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
43072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43073 for as_dir
in $PATH
43076 test -z "$as_dir" && as_dir
=.
43077 for ac_exec_ext
in '' $ac_executable_extensions; do
43078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43079 ac_cv_prog_SETFILE
="SetFile"
43080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43086 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
43089 SETFILE
=$ac_cv_prog_SETFILE
43090 if test -n "$SETFILE"; then
43091 echo "$as_me:$LINENO: result: $SETFILE" >&5
43092 echo "${ECHO_T}$SETFILE" >&6
43094 echo "$as_me:$LINENO: result: no" >&5
43095 echo "${ECHO_T}no" >&6
43105 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.8"
43108 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.8"
43112 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
43113 if test "${enable_precomp_headers+set}" = set; then
43114 enableval
="$enable_precomp_headers"
43115 bk_use_pch
="$enableval"
43120 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
43121 if test "x$GCC" = "xyes"; then
43122 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
43123 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
43124 cat >conftest.
$ac_ext <<_ACEOF
43127 cat confdefs.h
>>conftest.
$ac_ext
43128 cat >>conftest.
$ac_ext <<_ACEOF
43129 /* end confdefs.h. */
43135 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
43136 #error "no pch support"
43139 #error "no pch support"
43141 #if (__GNUC__ == 3) && \
43142 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
43143 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
43144 #error "no pch support"
43151 rm -f conftest.
$ac_objext
43152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43153 (eval $ac_compile) 2>conftest.er1
43155 grep -v '^ *+' conftest.er1
>conftest.err
43157 cat conftest.err
>&5
43158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43159 (exit $ac_status); } &&
43160 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43162 (eval $ac_try) 2>&5
43164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43165 (exit $ac_status); }; } &&
43166 { ac_try
='test -s conftest.$ac_objext'
43167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43168 (eval $ac_try) 2>&5
43170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43171 (exit $ac_status); }; }; then
43173 echo "$as_me:$LINENO: result: yes" >&5
43174 echo "${ECHO_T}yes" >&6
43178 echo "$as_me: failed program was:" >&5
43179 sed 's/^/| /' conftest.
$ac_ext >&5
43182 echo "$as_me:$LINENO: result: no" >&5
43183 echo "${ECHO_T}no" >&6
43186 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43187 if test $GCC_PCH = 1 ; then
43190 cat <<EOF >bk-make-pch
43193 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
43194 # script. It is used to generated precompiled headers.
43196 # Permission is given to use this file in any way.
43205 while test ${D}{#} -gt 0; do
43208 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
43209 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
43210 headerfile="${D}{incdir}/${D}{header}"
43214 compiler="${D}{compiler} ${D}{1}"
43218 if test "x${D}{headerfile}" = "x" ; then
43219 echo "error: can't find header ${D}{header} in include paths" >2
43221 if test -f ${D}{outfile} ; then
43222 rm -f ${D}{outfile}
43224 mkdir -p \`dirname ${D}{outfile}\`
43226 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
43228 # can do this because gcc is >= 3.4:
43229 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
43234 chmod +x bk
-make-pch
43241 COND_BUILD_DEBUG
="#"
43242 if test "x$BUILD" = "xdebug" ; then
43243 COND_BUILD_DEBUG
=""
43246 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
43247 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
43248 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
43251 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
43252 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
43253 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
43256 COND_BUILD_DEBUG_UNICODE_0
="#"
43257 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
43258 COND_BUILD_DEBUG_UNICODE_0
=""
43261 COND_BUILD_DEBUG_UNICODE_1
="#"
43262 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
43263 COND_BUILD_DEBUG_UNICODE_1
=""
43266 COND_BUILD_RELEASE
="#"
43267 if test "x$BUILD" = "xrelease" ; then
43268 COND_BUILD_RELEASE
=""
43271 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
43272 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
43273 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
43276 COND_BUILD_RELEASE_UNICODE_0
="#"
43277 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
43278 COND_BUILD_RELEASE_UNICODE_0
=""
43281 COND_BUILD_RELEASE_UNICODE_1
="#"
43282 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
43283 COND_BUILD_RELEASE_UNICODE_1
=""
43286 COND_DEBUG_FLAG_1
="#"
43287 if test "x$DEBUG_FLAG" = "x1" ; then
43288 COND_DEBUG_FLAG_1
=""
43291 COND_DEBUG_INFO_0
="#"
43292 if test "x$DEBUG_INFO" = "x0" ; then
43293 COND_DEBUG_INFO_0
=""
43296 COND_DEBUG_INFO_1
="#"
43297 if test "x$DEBUG_INFO" = "x1" ; then
43298 COND_DEBUG_INFO_1
=""
43301 COND_DEPS_TRACKING_0
="#"
43302 if test "x$DEPS_TRACKING" = "x0" ; then
43303 COND_DEPS_TRACKING_0
=""
43306 COND_DEPS_TRACKING_1
="#"
43307 if test "x$DEPS_TRACKING" = "x1" ; then
43308 COND_DEPS_TRACKING_1
=""
43312 if test "x$GCC_PCH" = "x1" ; then
43316 COND_MONOLITHIC_0
="#"
43317 if test "x$MONOLITHIC" = "x0" ; then
43318 COND_MONOLITHIC_0
=""
43321 COND_MONOLITHIC_0_SHARED_0
="#"
43322 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
43323 COND_MONOLITHIC_0_SHARED_0
=""
43326 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
43327 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
43328 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
43331 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
43332 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
43333 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
43336 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
43337 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
43338 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
43341 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
43342 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
43343 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
43346 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
43347 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
43348 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
43351 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
43352 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
43353 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
43356 COND_MONOLITHIC_0_SHARED_1
="#"
43357 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
43358 COND_MONOLITHIC_0_SHARED_1
=""
43361 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
43362 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
43363 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
43366 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
43367 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
43368 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
43371 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
43372 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
43373 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
43376 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
43377 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
43378 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
43381 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
43382 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
43383 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
43386 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
43387 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
43388 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
43391 COND_MONOLITHIC_0_USE_ODBC_1
="#"
43392 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
43393 COND_MONOLITHIC_0_USE_ODBC_1
=""
43396 COND_MONOLITHIC_1
="#"
43397 if test "x$MONOLITHIC" = "x1" ; then
43398 COND_MONOLITHIC_1
=""
43401 COND_MONOLITHIC_1_SHARED_0
="#"
43402 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
43403 COND_MONOLITHIC_1_SHARED_0
=""
43406 COND_MONOLITHIC_1_SHARED_1
="#"
43407 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
43408 COND_MONOLITHIC_1_SHARED_1
=""
43411 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
43412 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
43413 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
43416 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
43417 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
43418 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
43421 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
43422 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
43423 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
43426 COND_PLATFORM_MACOSX_1
="#"
43427 if test "x$PLATFORM_MACOSX" = "x1" ; then
43428 COND_PLATFORM_MACOSX_1
=""
43431 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
43432 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
43433 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
43436 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
43437 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
43438 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
43441 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
43442 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
43443 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
43446 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
43447 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
43448 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
43451 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
43452 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
43453 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
43456 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
43457 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43458 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
43461 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
43462 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
43463 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
43466 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
43467 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
43468 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
43471 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
43472 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
43473 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
43476 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
43477 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
43478 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
43481 COND_PLATFORM_MACOS_1
="#"
43482 if test "x$PLATFORM_MACOS" = "x1" ; then
43483 COND_PLATFORM_MACOS_1
=""
43486 COND_PLATFORM_MAC_1
="#"
43487 if test "x$PLATFORM_MAC" = "x1" ; then
43488 COND_PLATFORM_MAC_1
=""
43491 COND_PLATFORM_MSDOS_1
="#"
43492 if test "x$PLATFORM_MSDOS" = "x1" ; then
43493 COND_PLATFORM_MSDOS_1
=""
43496 COND_PLATFORM_OS2_1
="#"
43497 if test "x$PLATFORM_OS2" = "x1" ; then
43498 COND_PLATFORM_OS2_1
=""
43501 COND_PLATFORM_UNIX_0
="#"
43502 if test "x$PLATFORM_UNIX" = "x0" ; then
43503 COND_PLATFORM_UNIX_0
=""
43506 COND_PLATFORM_UNIX_1
="#"
43507 if test "x$PLATFORM_UNIX" = "x1" ; then
43508 COND_PLATFORM_UNIX_1
=""
43511 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
43512 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
43513 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
43516 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
43517 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
43518 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
43521 COND_PLATFORM_WIN32_0
="#"
43522 if test "x$PLATFORM_WIN32" = "x0" ; then
43523 COND_PLATFORM_WIN32_0
=""
43526 COND_PLATFORM_WIN32_1
="#"
43527 if test "x$PLATFORM_WIN32" = "x1" ; then
43528 COND_PLATFORM_WIN32_1
=""
43532 if test "x$SHARED" = "x0" ; then
43536 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
43537 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
43538 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
43541 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
43542 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
43543 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
43546 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
43547 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
43548 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
43551 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
43552 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
43553 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
43556 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
43557 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43558 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
43561 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
43562 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43563 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
43566 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
43567 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43568 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
43571 COND_SHARED_0_USE_XRC_1
="#"
43572 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
43573 COND_SHARED_0_USE_XRC_1
=""
43576 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
43577 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
43578 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
43581 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
43582 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
43583 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
43586 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
43587 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
43588 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
43591 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
43592 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
43593 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
43597 if test "x$SHARED" = "x1" ; then
43601 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
43602 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
43603 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
43606 COND_SHARED_1_USE_XRC_1
="#"
43607 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
43608 COND_SHARED_1_USE_XRC_1
=""
43612 if test "x$TOOLKIT" = "x" ; then
43616 COND_TOOLKIT_COCOA
="#"
43617 if test "x$TOOLKIT" = "xCOCOA" ; then
43618 COND_TOOLKIT_COCOA
=""
43621 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
43622 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
43623 COND_TOOLKIT_COCOA_USE_GUI_1
=""
43626 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
43627 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43628 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
43631 COND_TOOLKIT_GTK
="#"
43632 if test "x$TOOLKIT" = "xGTK" ; then
43633 COND_TOOLKIT_GTK
=""
43636 COND_TOOLKIT_GTK_USE_GUI_1
="#"
43637 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
43638 COND_TOOLKIT_GTK_USE_GUI_1
=""
43641 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
43642 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43643 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
43646 COND_TOOLKIT_MAC
="#"
43647 if test "x$TOOLKIT" = "xMAC" ; then
43648 COND_TOOLKIT_MAC
=""
43651 COND_TOOLKIT_MAC_USE_GUI_1
="#"
43652 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
43653 COND_TOOLKIT_MAC_USE_GUI_1
=""
43656 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
43657 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43658 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
43661 COND_TOOLKIT_MGL
="#"
43662 if test "x$TOOLKIT" = "xMGL" ; then
43663 COND_TOOLKIT_MGL
=""
43666 COND_TOOLKIT_MGL_USE_GUI_1
="#"
43667 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
43668 COND_TOOLKIT_MGL_USE_GUI_1
=""
43671 COND_TOOLKIT_MOTIF
="#"
43672 if test "x$TOOLKIT" = "xMOTIF" ; then
43673 COND_TOOLKIT_MOTIF
=""
43676 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
43677 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
43678 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
43681 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
43682 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43683 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
43686 COND_TOOLKIT_MSW
="#"
43687 if test "x$TOOLKIT" = "xMSW" ; then
43688 COND_TOOLKIT_MSW
=""
43691 COND_TOOLKIT_MSW_USE_GUI_1
="#"
43692 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
43693 COND_TOOLKIT_MSW_USE_GUI_1
=""
43696 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
43697 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43698 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
43701 COND_TOOLKIT_PM
="#"
43702 if test "x$TOOLKIT" = "xPM" ; then
43706 COND_TOOLKIT_PM_USE_GUI_1
="#"
43707 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
43708 COND_TOOLKIT_PM_USE_GUI_1
=""
43711 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
43712 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43713 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
43716 COND_TOOLKIT_WINCE
="#"
43717 if test "x$TOOLKIT" = "xWINCE" ; then
43718 COND_TOOLKIT_WINCE
=""
43721 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
43722 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
43723 COND_TOOLKIT_WINCE_USE_GUI_1
=""
43726 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
43727 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43728 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
43731 COND_TOOLKIT_X11
="#"
43732 if test "x$TOOLKIT" = "xX11" ; then
43733 COND_TOOLKIT_X11
=""
43736 COND_TOOLKIT_X11_USE_GUI_1
="#"
43737 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
43738 COND_TOOLKIT_X11_USE_GUI_1
=""
43742 if test "x$UNICODE" = "x1" ; then
43746 COND_USE_EXCEPTIONS_0
="#"
43747 if test "x$USE_EXCEPTIONS" = "x0" ; then
43748 COND_USE_EXCEPTIONS_0
=""
43751 COND_USE_EXCEPTIONS_1
="#"
43752 if test "x$USE_EXCEPTIONS" = "x1" ; then
43753 COND_USE_EXCEPTIONS_1
=""
43757 if test "x$USE_GUI" = "x0" ; then
43762 if test "x$USE_GUI" = "x1" ; then
43766 COND_USE_GUI_1_WXUNIV_0
="#"
43767 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43768 COND_USE_GUI_1_WXUNIV_0
=""
43771 COND_USE_GUI_1_WXUNIV_1
="#"
43772 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
43773 COND_USE_GUI_1_WXUNIV_1
=""
43776 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
43777 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43778 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
43781 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
43782 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43783 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
43786 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
43787 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43788 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
43791 COND_USE_ODBC_1
="#"
43792 if test "x$USE_ODBC" = "x1" ; then
43796 COND_USE_OPENGL_1
="#"
43797 if test "x$USE_OPENGL" = "x1" ; then
43798 COND_USE_OPENGL_1
=""
43801 COND_USE_PLUGINS_0
="#"
43802 if test "x$USE_PLUGINS" = "x0" ; then
43803 COND_USE_PLUGINS_0
=""
43806 COND_USE_RTTI_0
="#"
43807 if test "x$USE_RTTI" = "x0" ; then
43811 COND_USE_RTTI_1
="#"
43812 if test "x$USE_RTTI" = "x1" ; then
43816 COND_USE_SOSYMLINKS_1
="#"
43817 if test "x$USE_SOSYMLINKS" = "x1" ; then
43818 COND_USE_SOSYMLINKS_1
=""
43821 COND_USE_SOVERLINUX_1
="#"
43822 if test "x$USE_SOVERLINUX" = "x1" ; then
43823 COND_USE_SOVERLINUX_1
=""
43826 COND_USE_SOVERSION_0
="#"
43827 if test "x$USE_SOVERSION" = "x0" ; then
43828 COND_USE_SOVERSION_0
=""
43831 COND_USE_SOVERSOLARIS_1
="#"
43832 if test "x$USE_SOVERSOLARIS" = "x1" ; then
43833 COND_USE_SOVERSOLARIS_1
=""
43836 COND_USE_THREADS_0
="#"
43837 if test "x$USE_THREADS" = "x0" ; then
43838 COND_USE_THREADS_0
=""
43841 COND_USE_THREADS_1
="#"
43842 if test "x$USE_THREADS" = "x1" ; then
43843 COND_USE_THREADS_1
=""
43847 if test "x$USE_XRC" = "x1" ; then
43851 COND_WITH_PLUGIN_SDL_1
="#"
43852 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
43853 COND_WITH_PLUGIN_SDL_1
=""
43857 if test "x$WXUNIV" = "x0" ; then
43862 if test "x$WXUNIV" = "x1" ; then
43866 COND_WXUSE_EXPAT_BUILTIN
="#"
43867 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
43868 COND_WXUSE_EXPAT_BUILTIN
=""
43871 COND_WXUSE_LIBJPEG_BUILTIN
="#"
43872 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43873 COND_WXUSE_LIBJPEG_BUILTIN
=""
43876 COND_WXUSE_LIBPNG_BUILTIN
="#"
43877 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43878 COND_WXUSE_LIBPNG_BUILTIN
=""
43881 COND_WXUSE_LIBTIFF_BUILTIN
="#"
43882 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43883 COND_WXUSE_LIBTIFF_BUILTIN
=""
43886 COND_WXUSE_ODBC_BUILTIN
="#"
43887 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
43888 COND_WXUSE_ODBC_BUILTIN
=""
43891 COND_WXUSE_REGEX_BUILTIN
="#"
43892 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
43893 COND_WXUSE_REGEX_BUILTIN
=""
43896 COND_WXUSE_ZLIB_BUILTIN
="#"
43897 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
43898 COND_WXUSE_ZLIB_BUILTIN
=""
43903 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
43904 { { 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
43905 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;}
43906 { (exit 1); exit 1; }; }
43910 if test "$wxUSE_WINE" = "yes"; then
43914 if test "$wxUSE_SHARED" = "yes"; then
43916 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
43917 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
43920 *-pc-os2_emx | *-pc-os2-emx )
43921 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43922 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43923 cp -p ${srcdir}/src
/os
2/dllnames.sh .
43924 cp -p ${srcdir}/src
/os
2/dllar.sh .
43929 EXE_LINKER
="$CXX -o"
43932 if test "$wxUSE_OMF" = "yes"; then
43934 *-pc-os2_emx | *-pc-os2-emx )
43935 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
43936 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
43937 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
43942 if test $GCC_PCH = 1 ; then
43943 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
43946 CPPFLAGS
="-DNO_GCC_PRAGMA $CPPFLAGS"
43949 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
44012 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
44013 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
44014 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
44015 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
44016 echo $ECHO_N "(cached) $ECHO_C" >&6
44018 cat >conftest.
make <<\_ACEOF
44020 @
echo 'ac_maketemp="$(MAKE)"'
44022 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
44023 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
44024 if test -n "$ac_maketemp"; then
44025 eval ac_cv_prog_make_
${ac_make}_set
=yes
44027 eval ac_cv_prog_make_
${ac_make}_set
=no
44029 rm -f conftest.
make
44031 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
44032 echo "$as_me:$LINENO: result: yes" >&5
44033 echo "${ECHO_T}yes" >&6
44036 echo "$as_me:$LINENO: result: no" >&5
44037 echo "${ECHO_T}no" >&6
44038 SET_MAKE
="MAKE=${MAKE-make}"
44043 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
44046 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
44049 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
44052 ac_config_files
="$ac_config_files version-script Makefile"
44055 ac_config_commands
="$ac_config_commands wx-config
44061 if test "$wxUSE_GUI" = "yes"; then
44062 SUBDIRS
="samples demos utils contrib"
44063 else SUBDIRS
="samples utils"
44068 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
44069 if test "${with_cppunit_prefix+set}" = set; then
44070 withval
="$with_cppunit_prefix"
44071 cppunit_config_prefix
="$withval"
44073 cppunit_config_prefix
=""
44076 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
44077 if test "${with_cppunit_exec_prefix+set}" = set; then
44078 withval
="$with_cppunit_exec_prefix"
44079 cppunit_config_exec_prefix
="$withval"
44081 cppunit_config_exec_prefix
=""
44084 if test x
$cppunit_config_exec_prefix != x
; then
44085 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
44086 if test x
${CPPUNIT_CONFIG+set} != xset
; then
44087 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
44090 if test x
$cppunit_config_prefix != x
; then
44091 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
44092 if test x
${CPPUNIT_CONFIG+set} != xset
; then
44093 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
44097 # Extract the first word of "cppunit-config", so it can be a program name with args.
44098 set dummy cppunit
-config; ac_word
=$2
44099 echo "$as_me:$LINENO: checking for $ac_word" >&5
44100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44101 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
44102 echo $ECHO_N "(cached) $ECHO_C" >&6
44104 case $CPPUNIT_CONFIG in
44106 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
44109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44110 for as_dir
in $PATH
44113 test -z "$as_dir" && as_dir
=.
44114 for ac_exec_ext
in '' $ac_executable_extensions; do
44115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44116 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44123 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
44127 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
44129 if test -n "$CPPUNIT_CONFIG"; then
44130 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
44131 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
44133 echo "$as_me:$LINENO: result: no" >&5
44134 echo "${ECHO_T}no" >&6
44137 cppunit_version_min
=1.8.0
44139 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
44140 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
44142 if test "$CPPUNIT_CONFIG" = "no" ; then
44145 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
44146 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
44147 cppunit_version
=`$CPPUNIT_CONFIG --version`
44149 cppunit_major_version
=`echo $cppunit_version | \
44150 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44151 cppunit_minor_version
=`echo $cppunit_version | \
44152 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44153 cppunit_micro_version
=`echo $cppunit_version | \
44154 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44156 cppunit_major_min
=`echo $cppunit_version_min | \
44157 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44158 cppunit_minor_min
=`echo $cppunit_version_min | \
44159 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44160 cppunit_micro_min
=`echo $cppunit_version_min | \
44161 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44163 cppunit_version_proper
=`expr \
44164 $cppunit_major_version \> $cppunit_major_min \| \
44165 $cppunit_major_version \= $cppunit_major_min \& \
44166 $cppunit_minor_version \> $cppunit_minor_min \| \
44167 $cppunit_major_version \= $cppunit_major_min \& \
44168 $cppunit_minor_version \= $cppunit_minor_min \& \
44169 $cppunit_micro_version \>= $cppunit_micro_min `
44171 if test "$cppunit_version_proper" = "1" ; then
44172 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
44173 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
44175 echo "$as_me:$LINENO: result: no" >&5
44176 echo "${ECHO_T}no" >&6
44181 if test "x$no_cppunit" = x
; then
44182 SUBDIRS
="$SUBDIRS tests"
44193 for subdir
in `echo $SUBDIRS`; do
44194 if test -d ${srcdir}/${subdir} ; then
44195 if test "$wxUSE_GUI" = "yes"; then
44196 if test ${subdir} = "samples"; then
44197 makefiles
="samples/Makefile.in $makefiles"
44198 for sample
in `echo $SAMPLES_SUBDIRS`; do
44199 if test -d $srcdir/samples
/$sample; then
44200 makefiles
="samples/$sample/Makefile.in $makefiles"
44204 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
44205 eval "disabled=\$$disabled_var"
44206 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
44207 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
44209 else if test ${subdir} = "samples"; then
44210 makefiles
="samples/Makefile.in samples/console/Makefile.in"
44211 elif test ${subdir} = "utils"; then
44213 for util
in HelpGen tex2rtf
; do
44214 if test -d $srcdir/utils
/$util ; then
44215 makefiles
="utils/$util/Makefile.in \
44216 utils/$util/src/Makefile.in \
44220 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
44224 for mkin
in $makefiles ; do
44225 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
44226 ac_config_files
="$ac_config_files $mk"
44233 cat >confcache
<<\_ACEOF
44234 # This file is a shell script that caches the results of configure
44235 # tests run on this system so they can be shared between configure
44236 # scripts and configure runs, see configure's option --config-cache.
44237 # It is not useful on other systems. If it contains results you don't
44238 # want to keep, you may remove or edit it.
44240 # config.status only pays attention to the cache file if you give it
44241 # the --recheck option to rerun configure.
44243 # `ac_cv_env_foo' variables (set or unset) will be overridden when
44244 # loading this file, other *unset* `ac_cv_foo' will be assigned the
44245 # following values.
44249 # The following way of writing the cache mishandles newlines in values,
44250 # but we know of no workaround that is simple, portable, and efficient.
44251 # So, don't put newlines in cache variables' values.
44252 # Ultrix sh set writes to stderr and can't be redirected directly,
44253 # and sets the high bit in the cache file unless we assign to the vars.
44256 case `(ac_space=' '; set | grep ac_space) 2>&1` in
44258 # `set' does not quote correctly, so add quotes (double-quote
44259 # substitution turns \\\\ into \\, and sed turns \\ into \).
44262 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
44265 # `set' quotes correctly as required by POSIX, so do not add quotes.
44267 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
44274 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
44276 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
44278 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
44279 if test -w $cache_file; then
44280 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
44281 cat confcache
>$cache_file
44283 echo "not updating unwritable cache $cache_file"
44288 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
44289 # Let make expand exec_prefix.
44290 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
44292 # VPATH may cause trouble with some makes, so we remove $(srcdir),
44293 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
44294 # trailing colons and then remove the whole line if VPATH becomes empty
44295 # (actually we leave an empty line to preserve line numbers).
44296 if test "x$srcdir" = x.
; then
44297 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
44298 s/:*\$(srcdir):*/:/;
44299 s/:*\${srcdir}:*/:/;
44301 s/^\([^=]*=[ ]*\):*/\1/;
44307 DEFS
=-DHAVE_CONFIG_H
44311 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
44312 # 1. Remove the extension, and $U if already installed.
44313 ac_i
=`echo "$ac_i" |
44314 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
44316 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
44317 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
44319 LIBOBJS
=$ac_libobjs
44321 LTLIBOBJS
=$ac_ltlibobjs
44325 : ${CONFIG_STATUS=./config.status}
44326 ac_clean_files_save
=$ac_clean_files
44327 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
44328 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
44329 echo "$as_me: creating $CONFIG_STATUS" >&6;}
44330 cat >$CONFIG_STATUS <<_ACEOF
44332 # Generated by $as_me.
44333 # Run this file to recreate the current configuration.
44334 # Compiler output produced by configure, useful for debugging
44335 # configure, is in config.log if it exists.
44338 ac_cs_recheck=false
44340 SHELL=\${CONFIG_SHELL-$SHELL}
44343 cat >>$CONFIG_STATUS <<\_ACEOF
44344 ## --------------------- ##
44345 ## M4sh Initialization. ##
44346 ## --------------------- ##
44348 # Be Bourne compatible
44349 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
44352 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
44353 # is contrary to our usage. Disable this feature.
44354 alias -g '${1+"$@"}'='"$@"'
44355 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
44358 DUALCASE
=1; export DUALCASE
# for MKS sh
44360 # Support unset when possible.
44361 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
44368 # Work around bugs in pre-3.0 UWIN ksh.
44369 $as_unset ENV MAIL MAILPATH
44376 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44377 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44378 LC_TELEPHONE LC_TIME
44380 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
44381 eval $as_var=C
; export $as_var
44387 # Required to use basename.
44388 if expr a
: '\(a\)' >/dev
/null
2>&1; then
44394 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
44395 as_basename
=basename
44401 # Name of the executable.
44402 as_me
=`$as_basename "$0" ||
44403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
44404 X"$0" : 'X\(//\)$' \| \
44405 X"$0" : 'X\(/\)$' \| \
44406 . : '\(.\)' 2>/dev/null ||
44408 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
44409 /^X\/\(\/\/\)$/{ s//\1/; q; }
44410 /^X\/\(\/\).*/{ s//\1/; q; }
44414 # PATH needs CR, and LINENO needs CR and PATH.
44415 # Avoid depending upon Character Ranges.
44416 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
44417 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
44418 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
44419 as_cr_digits
='0123456789'
44420 as_cr_alnum
=$as_cr_Letters$as_cr_digits
44422 # The user is always right.
44423 if test "${PATH_SEPARATOR+set}" != set; then
44424 echo "#! /bin/sh" >conf$$.sh
44425 echo "exit 0" >>conf$$.sh
44427 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
44436 as_lineno_1
=$LINENO
44437 as_lineno_2
=$LINENO
44438 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
44439 test "x$as_lineno_1" != "x$as_lineno_2" &&
44440 test "x$as_lineno_3" = "x$as_lineno_2" || {
44441 # Find who we are. Look in the path if we contain no path at all
44444 *[\\/]* ) as_myself
=$0 ;;
44445 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44446 for as_dir
in $PATH
44449 test -z "$as_dir" && as_dir
=.
44450 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
44455 # We did not find ourselves, most probably we were run as `sh COMMAND'
44456 # in which case we are not to be found in the path.
44457 if test "x$as_myself" = x
; then
44460 if test ! -f "$as_myself"; then
44461 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
44462 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
44463 { (exit 1); exit 1; }; }
44465 case $CONFIG_SHELL in
44467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44468 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
44471 test -z "$as_dir" && as_dir
=.
44472 for as_base
in sh bash ksh sh5
; do
44475 if ("$as_dir/$as_base" -c '
44476 as_lineno_1=$LINENO
44477 as_lineno_2=$LINENO
44478 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
44479 test "x$as_lineno_1" != "x$as_lineno_2" &&
44480 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
44481 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
44482 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
44483 CONFIG_SHELL
=$as_dir/$as_base
44484 export CONFIG_SHELL
44485 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
44493 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
44494 # uniformly replaced by the line number. The first 'sed' inserts a
44495 # line-number line before each line; the second 'sed' does the real
44496 # work. The second script uses 'N' to pair each line-number line
44497 # with the numbered line, and appends trailing '-' during
44498 # substitution so that $LINENO is not a special case at line end.
44499 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
44500 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
44501 sed '=' <$as_myself |
44506 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
44509 s,^['$as_cr_digits']*\n,,
44510 ' >$as_me.lineno
&&
44511 chmod +x
$as_me.lineno
||
44512 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
44513 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
44514 { (exit 1); exit 1; }; }
44516 # Don't try to exec as it changes $[0], causing all sort of problems
44517 # (the dirname of $[0] is not the place where we might find the
44518 # original and so on. Autoconf is especially sensible to this).
44520 # Exit status is that of the last command.
44525 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
44526 *c
*,-n*) ECHO_N
= ECHO_C
='
44528 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
44529 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
44532 if expr a
: '\(a\)' >/dev
/null
2>&1; then
44538 rm -f conf$$ conf$$.exe conf$$.
file
44540 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
44541 # We could just check for DJGPP; but this test a) works b) is more generic
44542 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
44543 if test -f conf$$.exe
; then
44544 # Don't use ln at all; we don't have any links
44549 elif ln conf$$.
file conf$$
2>/dev
/null
; then
44554 rm -f conf$$ conf$$.exe conf$$.
file
44556 if mkdir -p .
2>/dev
/null
; then
44559 test -d .
/-p && rmdir .
/-p
44563 as_executable_p
="test -f"
44565 # Sed expression to map a string onto a valid CPP name.
44566 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
44568 # Sed expression to map a string onto a valid variable name.
44569 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
44573 # We need space, tab and new line, in precisely that order.
44583 # Open the log real soon, to keep \$[0] and so on meaningful, and to
44584 # report actual input values of CONFIG_FILES etc. instead of their
44585 # values after options handling. Logging --version etc. is OK.
44589 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
44590 ## Running $as_me. ##
44595 This file was extended by wxWidgets $as_me 2.6.1, which was
44596 generated by GNU Autoconf 2.59. Invocation command line was
44598 CONFIG_FILES = $CONFIG_FILES
44599 CONFIG_HEADERS = $CONFIG_HEADERS
44600 CONFIG_LINKS = $CONFIG_LINKS
44601 CONFIG_COMMANDS = $CONFIG_COMMANDS
44605 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
44609 # Files that config.status was made for.
44610 if test -n "$ac_config_files"; then
44611 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
44614 if test -n "$ac_config_headers"; then
44615 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
44618 if test -n "$ac_config_links"; then
44619 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
44622 if test -n "$ac_config_commands"; then
44623 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
44626 cat >>$CONFIG_STATUS <<\_ACEOF
44629 \`$as_me' instantiates files from templates according to the
44630 current configuration.
44632 Usage: $0 [OPTIONS] [FILE]...
44634 -h, --help print this help, then exit
44635 -V, --version print version number, then exit
44636 -q, --quiet do not print progress messages
44637 -d, --debug don't remove temporary files
44638 --recheck update $as_me by reconfiguring in the same conditions
44639 --file=FILE[:TEMPLATE]
44640 instantiate the configuration file FILE
44641 --header=FILE[:TEMPLATE]
44642 instantiate the configuration header FILE
44644 Configuration files:
44647 Configuration headers:
44650 Configuration commands:
44653 Report bugs to <bug-autoconf@gnu.org>."
44656 cat >>$CONFIG_STATUS <<_ACEOF
44658 wxWidgets config.status 2.6.1
44659 configured by $0, generated by GNU Autoconf 2.59,
44660 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
44662 Copyright (C) 2003 Free Software Foundation, Inc.
44663 This config.status script is free software; the Free Software Foundation
44664 gives unlimited permission to copy, distribute and modify it."
44669 cat >>$CONFIG_STATUS <<\_ACEOF
44670 # If no file are specified by the user, then we need to provide default
44671 # value. By we need to know if files were specified by the user.
44677 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
44678 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
44686 *) # This is not an option, so the user has probably given explicit
44689 ac_need_defaults
=false
;;
44693 # Handling of the options.
44695 cat >>$CONFIG_STATUS <<\_ACEOF
44696 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
44698 --version | --vers* | -V )
44699 echo "$ac_cs_version"; exit 0 ;;
44701 # Conflict between --help and --header
44702 { { echo "$as_me:$LINENO: error: ambiguous option: $1
44703 Try \`$0 --help' for more information." >&5
44704 echo "$as_me: error: ambiguous option: $1
44705 Try \`$0 --help' for more information." >&2;}
44706 { (exit 1); exit 1; }; };;
44707 --help | --hel | -h )
44708 echo "$ac_cs_usage"; exit 0 ;;
44709 --debug | --d* | -d )
44711 --file | --fil | --fi | --f )
44713 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
44714 ac_need_defaults
=false
;;
44715 --header | --heade | --head | --hea )
44717 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
44718 ac_need_defaults
=false
;;
44719 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
44720 | -silent | --silent | --silen | --sile | --sil | --si | --s)
44723 # This is an error.
44724 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
44725 Try \`$0 --help' for more information." >&5
44726 echo "$as_me: error: unrecognized option: $1
44727 Try \`$0 --help' for more information." >&2;}
44728 { (exit 1); exit 1; }; } ;;
44730 *) ac_config_targets
="$ac_config_targets $1" ;;
44736 ac_configure_extra_args
=
44738 if $ac_cs_silent; then
44740 ac_configure_extra_args
="$ac_configure_extra_args --silent"
44744 cat >>$CONFIG_STATUS <<_ACEOF
44745 if \$ac_cs_recheck; then
44746 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
44747 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
44752 cat >>$CONFIG_STATUS <<_ACEOF
44754 # INIT-COMMANDS section.
44757 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44758 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44759 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44767 cat >>$CONFIG_STATUS <<\_ACEOF
44768 for ac_config_target
in $ac_config_targets
44770 case "$ac_config_target" in
44771 # Handling of arguments.
44772 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
44773 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
44774 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
44775 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
44776 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
44777 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
44778 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
44779 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
44780 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
44781 { (exit 1); exit 1; }; };;
44785 # If the user did not use the arguments to specify the items to instantiate,
44786 # then the envvar interface is used. Set only those that are not.
44787 # We use the long form for the default assignment because of an extremely
44788 # bizarre bug on SunOS 4.1.3.
44789 if $ac_need_defaults; then
44790 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
44791 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
44792 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
44795 # Have a temporary directory for convenience. Make it in the build tree
44796 # simply because there is no reason to put it here, and in addition,
44797 # creating and moving files from /tmp can sometimes cause problems.
44798 # Create a temporary directory, and hook for its removal unless debugging.
44801 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
44802 trap '{ (exit 1); exit 1; }' 1 2 13 15
44805 # Create a (secure) tmp directory for tmp files.
44808 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
44809 test -n "$tmp" && test -d "$tmp"
44812 tmp
=.
/confstat$$
-$RANDOM
44813 (umask 077 && mkdir $tmp)
44816 echo "$me: cannot create a temporary directory in ." >&2
44817 { (exit 1); exit 1; }
44822 cat >>$CONFIG_STATUS <<_ACEOF
44825 # CONFIG_FILES section.
44828 # No need to generate the scripts if there are no CONFIG_FILES.
44829 # This happens for instance when ./config.status config.h
44830 if test -n "\$CONFIG_FILES"; then
44831 # Protect against being on the right side of a sed subst in config.status.
44832 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
44833 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
44834 s,@SHELL@,$SHELL,;t t
44835 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
44836 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
44837 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
44838 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
44839 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
44840 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
44841 s,@exec_prefix@,$exec_prefix,;t t
44842 s,@prefix@,$prefix,;t t
44843 s,@program_transform_name@,$program_transform_name,;t t
44844 s,@bindir@,$bindir,;t t
44845 s,@sbindir@,$sbindir,;t t
44846 s,@libexecdir@,$libexecdir,;t t
44847 s,@datadir@,$datadir,;t t
44848 s,@sysconfdir@,$sysconfdir,;t t
44849 s,@sharedstatedir@,$sharedstatedir,;t t
44850 s,@localstatedir@,$localstatedir,;t t
44851 s,@libdir@,$libdir,;t t
44852 s,@includedir@,$includedir,;t t
44853 s,@oldincludedir@,$oldincludedir,;t t
44854 s,@infodir@,$infodir,;t t
44855 s,@mandir@,$mandir,;t t
44856 s,@build_alias@,$build_alias,;t t
44857 s,@host_alias@,$host_alias,;t t
44858 s,@target_alias@,$target_alias,;t t
44859 s,@DEFS@,$DEFS,;t t
44860 s,@ECHO_C@,$ECHO_C,;t t
44861 s,@ECHO_N@,$ECHO_N,;t t
44862 s,@ECHO_T@,$ECHO_T,;t t
44863 s,@LIBS@,$LIBS,;t t
44864 s,@build@,$build,;t t
44865 s,@build_cpu@,$build_cpu,;t t
44866 s,@build_vendor@,$build_vendor,;t t
44867 s,@build_os@,$build_os,;t t
44868 s,@host@,$host,;t t
44869 s,@host_cpu@,$host_cpu,;t t
44870 s,@host_vendor@,$host_vendor,;t t
44871 s,@host_os@,$host_os,;t t
44872 s,@target@,$target,;t t
44873 s,@target_cpu@,$target_cpu,;t t
44874 s,@target_vendor@,$target_vendor,;t t
44875 s,@target_os@,$target_os,;t t
44877 s,@CFLAGS@,$CFLAGS,;t t
44878 s,@LDFLAGS@,$LDFLAGS,;t t
44879 s,@CPPFLAGS@,$CPPFLAGS,;t t
44880 s,@ac_ct_CC@,$ac_ct_CC,;t t
44881 s,@EXEEXT@,$EXEEXT,;t t
44882 s,@OBJEXT@,$OBJEXT,;t t
44884 s,@EGREP@,$EGREP,;t t
44886 s,@CXXFLAGS@,$CXXFLAGS,;t t
44887 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
44888 s,@RANLIB@,$RANLIB,;t t
44889 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
44891 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
44892 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
44893 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
44894 s,@STRIP@,$STRIP,;t t
44895 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
44896 s,@LN_S@,$LN_S,;t t
44897 s,@CXXCPP@,$CXXCPP,;t t
44898 s,@subdirs@,$subdirs,;t t
44899 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
44900 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
44901 s,@GTK_LIBS@,$GTK_LIBS,;t t
44902 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
44903 s,@X_CFLAGS@,$X_CFLAGS,;t t
44904 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
44905 s,@X_LIBS@,$X_LIBS,;t t
44906 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
44907 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
44908 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
44909 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
44910 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
44911 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
44912 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
44913 s,@RESCOMP@,$RESCOMP,;t t
44914 s,@DEREZ@,$DEREZ,;t t
44915 s,@SETFILE@,$SETFILE,;t t
44916 s,@LIBICONV@,$LIBICONV,;t t
44917 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
44918 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
44919 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
44920 s,@SDL_LIBS@,$SDL_LIBS,;t t
44921 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
44922 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
44923 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
44924 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
44925 s,@GST_INSPECT@,$GST_INSPECT,;t t
44926 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
44927 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
44928 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
44929 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
44930 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
44931 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
44932 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
44933 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
44934 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
44935 s,@VENDOR@,$VENDOR,;t t
44936 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
44937 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
44938 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
44939 s,@WXUNIV@,$WXUNIV,;t t
44940 s,@MONOLITHIC@,$MONOLITHIC,;t t
44941 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
44942 s,@EXTRALIBS@,$EXTRALIBS,;t t
44943 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
44944 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
44945 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
44946 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
44947 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
44948 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
44949 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
44950 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
44951 s,@UNICODE@,$UNICODE,;t t
44952 s,@BUILD@,$BUILD,;t t
44953 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
44954 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
44955 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
44956 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
44957 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
44958 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
44959 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
44960 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
44961 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
44962 s,@SET_MAKE@,$SET_MAKE,;t t
44963 s,@MAKE_SET@,$MAKE_SET,;t t
44964 s,@ac_ct_AR@,$ac_ct_AR,;t t
44965 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
44967 s,@ac_ct_NM@,$ac_ct_NM,;t t
44968 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
44969 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
44970 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
44971 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
44972 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
44973 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
44974 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
44975 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
44976 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
44977 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
44978 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
44979 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
44980 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
44981 s,@LIBPREFIX@,$LIBPREFIX,;t t
44982 s,@LIBEXT@,$LIBEXT,;t t
44983 s,@DLLPREFIX@,$DLLPREFIX,;t t
44984 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
44985 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
44986 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
44987 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
44988 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
44989 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
44990 s,@PIC_FLAG@,$PIC_FLAG,;t t
44991 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
44992 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
44993 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
44994 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
44995 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
44996 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
44997 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
44998 s,@GCC_PCH@,$GCC_PCH,;t t
44999 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
45000 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
45001 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
45002 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
45003 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
45004 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
45005 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
45006 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
45007 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
45008 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
45009 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
45010 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
45011 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
45012 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
45013 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
45014 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
45015 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
45016 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
45017 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
45018 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
45019 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
45020 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
45021 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
45022 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
45023 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
45024 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
45025 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
45026 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
45027 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
45028 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
45029 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
45030 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
45031 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
45032 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
45033 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
45034 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
45035 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
45036 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
45037 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
45038 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
45039 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
45040 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
45041 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
45042 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
45043 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
45044 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
45045 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
45046 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
45047 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
45048 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
45049 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
45050 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
45051 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
45052 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
45053 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
45054 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
45055 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
45056 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
45057 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
45058 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
45059 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
45060 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
45061 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
45062 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
45063 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
45064 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
45065 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
45066 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
45067 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
45068 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
45069 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
45070 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
45071 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
45072 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
45073 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
45074 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
45075 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
45076 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
45077 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
45078 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
45079 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
45080 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
45081 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
45082 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
45083 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
45084 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
45085 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
45086 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
45087 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
45088 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
45089 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
45090 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
45091 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
45092 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
45093 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
45094 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
45095 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
45096 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
45097 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
45098 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
45099 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
45100 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
45101 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
45102 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
45103 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
45104 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
45105 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
45106 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
45107 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
45108 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
45109 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
45110 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
45111 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
45112 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
45113 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
45114 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
45115 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
45116 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
45117 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
45118 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
45119 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
45120 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
45121 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
45122 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
45123 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
45124 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
45125 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
45126 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
45127 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
45128 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
45129 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
45130 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
45131 s,@SHARED@,$SHARED,;t t
45132 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
45133 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
45134 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
45135 s,@USE_GUI@,$USE_GUI,;t t
45136 s,@AFMINSTALL@,$AFMINSTALL,;t t
45137 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
45138 s,@TOOLKIT@,$TOOLKIT,;t t
45139 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
45140 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
45141 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
45142 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
45143 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
45144 s,@cross_compiling@,$cross_compiling,;t t
45145 s,@WIDGET_SET@,$WIDGET_SET,;t t
45146 s,@WX_RELEASE@,$WX_RELEASE,;t t
45147 s,@WX_VERSION@,$WX_VERSION,;t t
45148 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
45149 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
45150 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
45151 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
45152 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
45153 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
45154 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
45155 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
45156 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
45157 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
45158 s,@EXE_LINKER@,$EXE_LINKER,;t t
45159 s,@GUIDIST@,$GUIDIST,;t t
45160 s,@DISTDIR@,$DISTDIR,;t t
45161 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
45162 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
45163 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
45164 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
45165 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
45166 s,@RESFLAGS@,$RESFLAGS,;t t
45167 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
45168 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
45169 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
45170 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
45171 s,@MACRESCOMP@,$MACRESCOMP,;t t
45172 s,@MACSETFILE@,$MACSETFILE,;t t
45173 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
45175 s,@DLLTOOL@,$DLLTOOL,;t t
45176 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
45177 s,@LIBOBJS@,$LIBOBJS,;t t
45178 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
45183 cat >>$CONFIG_STATUS <<\_ACEOF
45184 # Split the substitutions into bite-sized pieces for seds with
45185 # small command number limits, like on Digital OSF/1 and HP-UX.
45186 ac_max_sed_lines
=48
45187 ac_sed_frag
=1 # Number of current file.
45188 ac_beg
=1 # First line for current file.
45189 ac_end
=$ac_max_sed_lines # Line after last line for current file.
45192 while $ac_more_lines; do
45193 if test $ac_beg -gt 1; then
45194 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
45196 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
45198 if test ! -s $tmp/subs.frag
; then
45199 ac_more_lines
=false
45201 # The purpose of the label and of the branching condition is to
45202 # speed up the sed processing (if there are no `@' at all, there
45203 # is no need to browse any of the substitutions).
45204 # These are the two extra sed commands mentioned above.
45206 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
45207 if test -z "$ac_sed_cmds"; then
45208 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
45210 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
45212 ac_sed_frag
=`expr $ac_sed_frag + 1`
45214 ac_end
=`expr $ac_end + $ac_max_sed_lines`
45217 if test -z "$ac_sed_cmds"; then
45220 fi # test -n "$CONFIG_FILES"
45223 cat >>$CONFIG_STATUS <<\_ACEOF
45224 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
45225 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
45227 - | *:- | *:-:* ) # input from stdin
45229 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
45230 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
45231 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
45232 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
45233 * ) ac_file_in
=$ac_file.
in ;;
45236 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
45237 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
45238 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45239 X"$ac_file" : 'X\(//\)[^/]' \| \
45240 X"$ac_file" : 'X\(//\)$' \| \
45241 X"$ac_file" : 'X\(/\)' \| \
45242 . : '\(.\)' 2>/dev/null ||
45244 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45245 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45246 /^X\(\/\/\)$/{ s//\1/; q; }
45247 /^X\(\/\).*/{ s//\1/; q; }
45249 { if $as_mkdir_p; then
45254 while test ! -d "$as_dir"; do
45255 as_dirs
="$as_dir $as_dirs"
45256 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
45257 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45258 X"$as_dir" : 'X\(//\)[^/]' \| \
45259 X"$as_dir" : 'X\(//\)$' \| \
45260 X"$as_dir" : 'X\(/\)' \| \
45261 . : '\(.\)' 2>/dev/null ||
45263 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45264 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45265 /^X\(\/\/\)$/{ s//\1/; q; }
45266 /^X\(\/\).*/{ s//\1/; q; }
45269 test ! -n "$as_dirs" || mkdir $as_dirs
45270 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45271 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45272 { (exit 1); exit 1; }; }; }
45276 if test "$ac_dir" != .
; then
45277 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45278 # A "../" for each directory in $ac_dir_suffix.
45279 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45281 ac_dir_suffix
= ac_top_builddir
=
45285 .
) # No --srcdir option. We are building in place.
45287 if test -z "$ac_top_builddir"; then
45290 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
45292 [\\/]* | ?
:[\\/]* ) # Absolute path.
45293 ac_srcdir
=$srcdir$ac_dir_suffix;
45294 ac_top_srcdir
=$srcdir ;;
45295 *) # Relative path.
45296 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
45297 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
45300 # Do not use `cd foo && pwd` to compute absolute paths, because
45301 # the directories may not exist.
45303 .
) ac_abs_builddir
="$ac_dir";;
45306 .
) ac_abs_builddir
=`pwd`;;
45307 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
45308 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
45311 case $ac_abs_builddir in
45312 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45314 case ${ac_top_builddir}.
in
45315 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
45316 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45317 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
45320 case $ac_abs_builddir in
45321 .
) ac_abs_srcdir
=$ac_srcdir;;
45324 .
) ac_abs_srcdir
=$ac_abs_builddir;;
45325 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
45326 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
45329 case $ac_abs_builddir in
45330 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
45332 case $ac_top_srcdir in
45333 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
45334 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
45335 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
45341 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
45342 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
45345 # Let's still pretend it is `configure' which instantiates (i.e., don't
45346 # use $as_me), people would be surprised to read:
45347 # /* config.h. Generated by config.status. */
45348 if test x
"$ac_file" = x
-; then
45351 configure_input
="$ac_file. "
45353 configure_input
=$configure_input"Generated from `echo $ac_file_in |
45354 sed 's,.*/,,'` by configure."
45356 # First look for the input files in the build tree, otherwise in the
45358 ac_file_inputs
=`IFS=:
45359 for f in $ac_file_in; do
45361 -) echo $tmp/stdin ;;
45363 # Absolute (can't be DOS-style, as IFS=:)
45364 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45365 echo "$as_me: error: cannot find input file: $f" >&2;}
45366 { (exit 1); exit 1; }; }
45369 if test -f "$f"; then
45372 elif test -f "$srcdir/$f"; then
45377 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45378 echo "$as_me: error: cannot find input file: $f" >&2;}
45379 { (exit 1); exit 1; }; }
45382 done` || { (exit 1); exit 1; }
45384 if test x
"$ac_file" != x
-; then
45385 { echo "$as_me:$LINENO: creating $ac_file" >&5
45386 echo "$as_me: creating $ac_file" >&6;}
45390 cat >>$CONFIG_STATUS <<_ACEOF
45394 cat >>$CONFIG_STATUS <<\_ACEOF
45396 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
45397 s
,@configure_input@
,$configure_input,;t t
45398 s
,@srcdir@
,$ac_srcdir,;t t
45399 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
45400 s
,@top_srcdir@
,$ac_top_srcdir,;t t
45401 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
45402 s
,@builddir@
,$ac_builddir,;t t
45403 s
,@abs_builddir@
,$ac_abs_builddir,;t t
45404 s
,@top_builddir@
,$ac_top_builddir,;t t
45405 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
45406 s
,@INSTALL@
,$ac_INSTALL,;t t
45407 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
45409 if test x"$ac_file" != x-; then
45410 mv $tmp/out $ac_file
45416 # Run the commands associated with the file.
45418 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
45419 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
45423 cat >>$CONFIG_STATUS <<\_ACEOF
45426 # CONFIG_HEADER section.
45429 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
45430 # NAME is the cpp macro being defined and VALUE is the value it is being given.
45432 # ac_d sets the value in "#define NAME VALUE" lines.
45433 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
45434 ac_dB
='[ ].*$,\1#\2'
45437 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
45438 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
45439 ac_uB
='$,\1#\2define\3'
45443 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
45444 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
45446 - | *:- | *:-:* ) # input from stdin
45448 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
45449 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
45450 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
45451 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
45452 * ) ac_file_in
=$ac_file.
in ;;
45455 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
45456 echo "$as_me: creating $ac_file" >&6;}
45458 # First look for the input files in the build tree, otherwise in the
45460 ac_file_inputs
=`IFS=:
45461 for f in $ac_file_in; do
45463 -) echo $tmp/stdin ;;
45465 # Absolute (can't be DOS-style, as IFS=:)
45466 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45467 echo "$as_me: error: cannot find input file: $f" >&2;}
45468 { (exit 1); exit 1; }; }
45469 # Do quote $f, to prevent DOS paths from being IFS'd.
45472 if test -f "$f"; then
45475 elif test -f "$srcdir/$f"; then
45480 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45481 echo "$as_me: error: cannot find input file: $f" >&2;}
45482 { (exit 1); exit 1; }; }
45485 done` || { (exit 1); exit 1; }
45486 # Remove the trailing spaces.
45487 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
45491 # Transform confdefs.h into two sed scripts, `conftest.defines' and
45492 # `conftest.undefs', that substitutes the proper values into
45493 # config.h.in to produce config.h. The first handles `#define'
45494 # templates, and the second `#undef' templates.
45495 # And first: Protect against being on the right side of a sed subst in
45496 # config.status. Protect against being in an unquoted here document
45497 # in config.status.
45498 rm -f conftest.defines conftest.undefs
45499 # Using a here document instead of a string reduces the quoting nightmare.
45500 # Putting comments in sed scripts is not portable.
45502 # `end' is used to avoid that the second main sed command (meant for
45503 # 0-ary CPP macros) applies to n-ary macro definitions.
45504 # See the Autoconf documentation for `clear'.
45505 cat >confdef2sed.
sed <<\_ACEOF
45510 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
45512 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
45515 # If some macros were called several times there might be several times
45516 # the same #defines, which is useless. Nevertheless, we may not want to
45517 # sort them, since we want the *last* AC-DEFINE to be honored.
45518 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
45519 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
45520 rm -f confdef2sed.sed
45522 # This sed command replaces #undef with comments. This is necessary, for
45523 # example, in the case of _POSIX_SOURCE, which is predefined and required
45524 # on some systems where configure will not decide to define it.
45525 cat >>conftest.undefs <<\_ACEOF
45526 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
45529 # Break up conftest.defines because some shells have a limit on the size
45530 # of here documents, and old seds have small limits too (100 cmds).
45531 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
45532 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
45533 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
45534 echo ' :' >>$CONFIG_STATUS
45535 rm -f conftest.tail
45536 while grep . conftest.defines >/dev/null
45538 # Write a limited-size here document to $tmp/defines.sed.
45539 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
45540 # Speed up: don't consider the non `#define' lines.
45541 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
45542 # Work around the forget-to-reset-the-flag bug.
45543 echo 't clr' >>$CONFIG_STATUS
45544 echo ': clr' >>$CONFIG_STATUS
45545 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
45547 sed -f $tmp/defines.sed $tmp/in >$tmp/out
45549 mv $tmp/out $tmp/in
45551 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
45552 rm -f conftest.defines
45553 mv conftest.
tail conftest.defines
45555 rm -f conftest.defines
45556 echo ' fi # grep' >>$CONFIG_STATUS
45557 echo >>$CONFIG_STATUS
45559 # Break up conftest.undefs because some shells have a limit on the size
45560 # of here documents, and old seds have small limits too (100 cmds).
45561 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
45562 rm -f conftest.
tail
45563 while grep . conftest.undefs
>/dev
/null
45565 # Write a limited-size here document to $tmp/undefs.sed.
45566 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
45567 # Speed up: don't consider the non
`#undef'
45568 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
45569 # Work around the forget-to-reset-the-flag bug.
45570 echo 't clr' >>$CONFIG_STATUS
45571 echo ': clr' >>$CONFIG_STATUS
45572 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
45574 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
45576 mv $tmp/out $tmp/in
45578 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
45579 rm -f conftest.undefs
45580 mv conftest.tail conftest.undefs
45582 rm -f conftest.undefs
45584 cat >>$CONFIG_STATUS <<\_ACEOF
45585 # Let's still pretend it is `configure
' which instantiates (i.e., don't
45586 # use $as_me), people would be surprised to read:
45587 # /* config.h. Generated by config.status. */
45588 if test x
"$ac_file" = x
-; then
45589 echo "/* Generated by configure. */" >$tmp/config.h
45591 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
45593 cat $tmp/in >>$tmp/config.h
45595 if test x
"$ac_file" != x
-; then
45596 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
45597 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
45598 echo "$as_me: $ac_file is unchanged" >&6;}
45600 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
45601 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45602 X"$ac_file" : 'X\(//\)[^/]' \| \
45603 X"$ac_file" : 'X\(//\)$' \| \
45604 X"$ac_file" : 'X\(/\)' \| \
45605 . : '\(.\)' 2>/dev/null ||
45607 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45608 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45609 /^X\(\/\/\)$/{ s//\1/; q; }
45610 /^X\(\/\).*/{ s//\1/; q; }
45612 { if $as_mkdir_p; then
45617 while test ! -d "$as_dir"; do
45618 as_dirs
="$as_dir $as_dirs"
45619 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
45620 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45621 X"$as_dir" : 'X\(//\)[^/]' \| \
45622 X"$as_dir" : 'X\(//\)$' \| \
45623 X"$as_dir" : 'X\(/\)' \| \
45624 . : '\(.\)' 2>/dev/null ||
45626 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45627 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45628 /^X\(\/\/\)$/{ s//\1/; q; }
45629 /^X\(\/\).*/{ s//\1/; q; }
45632 test ! -n "$as_dirs" || mkdir $as_dirs
45633 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45634 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45635 { (exit 1); exit 1; }; }; }
45638 mv $tmp/config.h
$ac_file
45642 rm -f $tmp/config.h
45646 cat >>$CONFIG_STATUS <<\_ACEOF
45649 # CONFIG_COMMANDS section.
45651 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
45652 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
45653 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
45654 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
45655 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45656 X"$ac_dest" : 'X\(//\)[^/]' \| \
45657 X"$ac_dest" : 'X\(//\)$' \| \
45658 X"$ac_dest" : 'X\(/\)' \| \
45659 . : '\(.\)' 2>/dev/null ||
45661 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45662 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45663 /^X\(\/\/\)$/{ s//\1/; q; }
45664 /^X\(\/\).*/{ s//\1/; q; }
45666 { if $as_mkdir_p; then
45671 while test ! -d "$as_dir"; do
45672 as_dirs
="$as_dir $as_dirs"
45673 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
45674 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45675 X"$as_dir" : 'X\(//\)[^/]' \| \
45676 X"$as_dir" : 'X\(//\)$' \| \
45677 X"$as_dir" : 'X\(/\)' \| \
45678 . : '\(.\)' 2>/dev/null ||
45680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45681 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45682 /^X\(\/\/\)$/{ s//\1/; q; }
45683 /^X\(\/\).*/{ s//\1/; q; }
45686 test ! -n "$as_dirs" || mkdir $as_dirs
45687 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45688 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45689 { (exit 1); exit 1; }; }; }
45693 if test "$ac_dir" != .
; then
45694 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45695 # A "../" for each directory in $ac_dir_suffix.
45696 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45698 ac_dir_suffix
= ac_top_builddir
=
45702 .
) # No --srcdir option. We are building in place.
45704 if test -z "$ac_top_builddir"; then
45707 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
45709 [\\/]* | ?
:[\\/]* ) # Absolute path.
45710 ac_srcdir
=$srcdir$ac_dir_suffix;
45711 ac_top_srcdir
=$srcdir ;;
45712 *) # Relative path.
45713 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
45714 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
45717 # Do not use `cd foo && pwd` to compute absolute paths, because
45718 # the directories may not exist.
45720 .
) ac_abs_builddir
="$ac_dir";;
45723 .
) ac_abs_builddir
=`pwd`;;
45724 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
45725 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
45728 case $ac_abs_builddir in
45729 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45731 case ${ac_top_builddir}.
in
45732 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
45733 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45734 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
45737 case $ac_abs_builddir in
45738 .
) ac_abs_srcdir
=$ac_srcdir;;
45741 .
) ac_abs_srcdir
=$ac_abs_builddir;;
45742 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
45743 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
45746 case $ac_abs_builddir in
45747 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
45749 case $ac_top_srcdir in
45750 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
45751 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
45752 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
45757 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
45758 echo "$as_me: executing $ac_dest commands" >&6;}
45760 wx
-config ) rm -f wx
-config
45761 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
45767 cat >>$CONFIG_STATUS <<\_ACEOF
45769 { (exit 0); exit 0; }
45771 chmod +x
$CONFIG_STATUS
45772 ac_clean_files
=$ac_clean_files_save
45775 # configure is writing to config.log, and then calls config.status.
45776 # config.status does its own redirection, appending to config.log.
45777 # Unfortunately, on DOS this fails, as config.log is still kept open
45778 # by configure, so config.status won't be able to write to it; its
45779 # output is simply discarded. So we exec the FD to /dev/null,
45780 # effectively closing config.log, so it can be properly (re)opened and
45781 # appended to by config.status. When coming back to configure, we
45782 # need to make the FD available again.
45783 if test "$no_create" != yes; then
45785 ac_config_status_args
=
45786 test "$silent" = yes &&
45787 ac_config_status_args
="$ac_config_status_args --quiet"
45789 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
45791 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
45792 # would make configure fail if this is the last instruction.
45793 $ac_cs_success || { (exit 1); exit 1; }
45797 # CONFIG_SUBDIRS section.
45799 if test "$no_recursion" != yes; then
45801 # Remove --cache-file and --srcdir arguments so they do not pile up.
45802 ac_sub_configure_args
=
45804 for ac_arg
in $ac_configure_args; do
45805 if test -n "$ac_prev"; then
45810 -cache-file | --cache-file | --cache-fil | --cache-fi \
45811 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
45812 ac_prev
=cache_file
;;
45813 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
45814 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
45817 --config-cache | -C)
45819 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
45821 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
45823 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
45825 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
45827 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
45831 # Always prepend --prefix to ensure using the same prefix
45832 # in subdir configurations.
45833 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
45836 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
45838 # Do not complain, so a configure script can configure whichever
45839 # parts of a large source tree are present.
45840 test -d $srcdir/$ac_dir || continue
45842 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
45843 echo "$as_me: configuring in $ac_dir" >&6;}
45844 { if $as_mkdir_p; then
45849 while test ! -d "$as_dir"; do
45850 as_dirs
="$as_dir $as_dirs"
45851 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
45852 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45853 X"$as_dir" : 'X\(//\)[^/]' \| \
45854 X"$as_dir" : 'X\(//\)$' \| \
45855 X"$as_dir" : 'X\(/\)' \| \
45856 . : '\(.\)' 2>/dev/null ||
45858 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45859 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45860 /^X\(\/\/\)$/{ s//\1/; q; }
45861 /^X\(\/\).*/{ s//\1/; q; }
45864 test ! -n "$as_dirs" || mkdir $as_dirs
45865 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45866 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45867 { (exit 1); exit 1; }; }; }
45871 if test "$ac_dir" != .
; then
45872 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45873 # A "../" for each directory in $ac_dir_suffix.
45874 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45876 ac_dir_suffix
= ac_top_builddir
=
45880 .
) # No --srcdir option. We are building in place.
45882 if test -z "$ac_top_builddir"; then
45885 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
45887 [\\/]* | ?
:[\\/]* ) # Absolute path.
45888 ac_srcdir
=$srcdir$ac_dir_suffix;
45889 ac_top_srcdir
=$srcdir ;;
45890 *) # Relative path.
45891 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
45892 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
45895 # Do not use `cd foo && pwd` to compute absolute paths, because
45896 # the directories may not exist.
45898 .
) ac_abs_builddir
="$ac_dir";;
45901 .
) ac_abs_builddir
=`pwd`;;
45902 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
45903 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
45906 case $ac_abs_builddir in
45907 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45909 case ${ac_top_builddir}.
in
45910 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
45911 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45912 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
45915 case $ac_abs_builddir in
45916 .
) ac_abs_srcdir
=$ac_srcdir;;
45919 .
) ac_abs_srcdir
=$ac_abs_builddir;;
45920 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
45921 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
45924 case $ac_abs_builddir in
45925 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
45927 case $ac_top_srcdir in
45928 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
45929 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
45930 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
45937 # Check for guested configure; otherwise get Cygnus style configure.
45938 if test -f $ac_srcdir/configure.gnu
; then
45939 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
45940 elif test -f $ac_srcdir/configure
; then
45941 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
45942 elif test -f $ac_srcdir/configure.
in; then
45943 ac_sub_configure
=$ac_configure
45945 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
45946 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
45950 # The recursion is here.
45951 if test -n "$ac_sub_configure"; then
45952 # Make the cache file name correct relative to the subdirectory.
45953 case $cache_file in
45954 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
45955 *) # Relative path.
45956 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
45959 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
45960 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
45961 # The eval makes quoting arguments work.
45962 eval $ac_sub_configure $ac_sub_configure_args \
45963 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
45964 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
45965 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
45966 { (exit 1); exit 1; }; }
45975 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
45977 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
45978 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
45980 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
45981 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
45982 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
45984 echo " What level of wxWidgets compatibility should be enabled?"
45985 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
45986 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
45988 echo " Which libraries should wxWidgets use?"
45989 echo " jpeg ${wxUSE_LIBJPEG-none}"
45990 echo " png ${wxUSE_LIBPNG-none}"
45991 echo " regex ${wxUSE_REGEX}"
45992 echo " tiff ${wxUSE_LIBTIFF-none}"
45993 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
45994 echo " xpm ${wxUSE_LIBXPM-none}"
45996 echo " zlib ${wxUSE_ZLIB}"
45997 echo " odbc ${wxUSE_ODBC}"
45998 echo " expat ${wxUSE_EXPAT}"
45999 echo " libmspack ${wxUSE_LIBMSPACK}"
46000 echo " sdl ${wxUSE_LIBSDL}"
46001 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"